summaryrefslogtreecommitdiff
path: root/config.py.example
diff options
context:
space:
mode:
authorFrederick Yin <fred.yin@sjtu.edu.cn>2021-10-10 13:23:38 +0800
committerFrederick Yin <fred.yin@sjtu.edu.cn>2021-10-10 13:23:38 +0800
commitdfe4b717a9bd39d8cd1f9d603e648921e1393903 (patch)
tree5c2eb9b9ea22e5c1cf5d7f0d7f18e551203e4e2f /config.py.example
parent799f16f0e53382f4ecd36d8a5c7bff5afaccdd9f (diff)
Leningrade: because grades belong to everyone
Diffstat (limited to 'config.py.example')
-rw-r--r--config.py.example21
1 files changed, 21 insertions, 0 deletions
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