From dfe4b717a9bd39d8cd1f9d603e648921e1393903 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 10 Oct 2021 13:23:38 +0800 Subject: Leningrade: because grades belong to everyone --- config.py.example | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config.py.example (limited to 'config.py.example') diff --git a/config.py.example b/config.py.example new file mode 100644 index 0000000..9b12328 --- /dev/null +++ b/config.py.example @@ -0,0 +1,21 @@ +"""GENERIC""" +HGROUP_NO = 1 +HGROUP_MEMBERS = [("521370910000", "Vladimir Lenin")] +HGROUP = {f"hgroup-{HGROUP_NO}": HGROUP_MEMBERS} +LANGUAGE = "matlab" +HOMEWORK_NO = 2 +EXERCISES = [1, 2, 3, 4, 5, 6] +# TODO: figure out how to reliably obtain these two +MANDATORY_FILES = [f"ex{n}.m" for n in EXERCISES] +OPTIONAL_FILES = [] + +"""GITEA""" +# trailing slash not allowed +GITEA_API_BASE = "https://focs.ji.sjtu.edu.cn/git/api/v1" +GITEA_ORG = "ENGR151-21" +GITEA_TOKEN = "" + +"""JOJ""" +JOJ_COURSE_ID = "vg151_fall_2021_manuel" +JOJ_SESSION_ID = "" +JOJ_HOMEWORK_ID = "615542bfb3c06a0006f45dd6" # h2 -- cgit v1.2.3