summaryrefslogtreecommitdiff
path: root/settings.example.py
blob: 4f02a8825fcfe5dce3000fa0b700c9f2181423f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
CANVAS_TOKEN = "asdfjkl;"
COURSE_ID = 1903
SID = "asdfjl;"
MOSS_USER_ID = 000000
JOJ_COURSE_ID = "vg101_fall_2020_manuel"
GITEA_BASE_URL = "https://focs.ji.sjtu.edu.cn/git/api/v1"
CANVAS_BASE_URL = "https://umjicanvas.com/api/v1"
ORG_NAME = "vg101"
PROCESS_COUNT = 16
RUBRIC = {
    "indvFailSubmit": [-0.5, 'individual submit missing'],
    "indvUntidy": [-0.25, 'individual branch untidy'],
    "groupFailSubmit": [-2.5, 'group submit missing'],
    "groupUntidy": [-0.25, 'group submit untidy'],
    "jojFailHomework": [-0.5, 'JOJ homework not passed'],
    "jojFailExercise": [-0.25, 'JOJ exercise not passed'],
    "jojFailCompile": [-1, 'JOJ fail to compile'],
    "indvLowCodeQuality": [-0.25, 'individual submit low code quality'],
    "groupLowCodeQuality": [-0.25, 'group submit low code quality'],
    "noReview": [-1, 'not review others\' code'],
}
JOJ_INFO = {
    "lang":
    "c",
    "homeworkID":
    "5f8533bb229b1b0006f11473",
    "problemInfo": [
        [["ex1.c", "assignment.h"], "5f853289229b1b0006f1146a", 10],
        [["ex2.c", "assignment.h"], "5f85330a229b1b0006f1146d", 10],
        [[
            "ex5.c", "prod.c", "prod.h", "sum.c", "sum.h", "exp.c", "exp.h",
            "quorem.c", "quorem.h", "assignment.h"
        ], "5f8539a4229b1b0006f11483", 10],
    ]
}
MANDATORY_FILES = []
OPTIONAL_FILES = [
    "ex3.c", "ex4.c", "ex1.h", "ex2.h", "ex3.h", "ex4.h", "ex5.h", "main.c"
]
PROJ_JOJ_INFO = {
    2: {
        "homeworkID": "5facbf7c9fedcc000661ff9d",
        "problemID": "5facbee89fedcc000661ff8e"
    },
    3: {
        "homeworkID": "5facbf7c9fedcc000661ff9d",
        "problemID": "5facbee89fedcc000661ff8e"
    }
}