summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoYanZh <32470225+BoYanZh@users.noreply.github.com>2020-10-04 13:22:16 +0800
committerBoYanZh <32470225+BoYanZh@users.noreply.github.com>2020-10-04 13:22:16 +0800
commit8e7ca6a5100846c187c9059df02077e283416277 (patch)
tree2ecd8c95c6389586ac2c24a5eace38c65a3e7a79
parent40140668dee9a9852ef4cf8f46f6a6226f86178d (diff)
fix: typo
-rw-r--r--README.md10
-rw-r--r--VG101GradeHelper.py4
2 files changed, 9 insertions, 5 deletions
diff --git a/README.md b/README.md
index e44a912..60514d2 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,8 @@ optional arguments:
-a, --all check all
-s, --score generate score
-t, --tidy check tidy
- -d, --dir create dir for indiviual submission
- -i, --indv check indiviual submission
+ -d, --dir create dir for individual submission
+ -i, --indv check individual submission
-g, --group check group submission
-j, --joj check joj score
-u, --upload upload score to canvas
@@ -53,4 +53,8 @@ Please modify `JOJ_INFO` for different homework.
- [x] The final group submission, done on the master branch of the group repository, should successfully compile or be interpreted. **(-1 mark)**
- [x] Any group submission that is more than 24 hours late will be rejected. **(-2.5 marks)**
- [x] For each exercise, the final submission must pass at least 25% of the test cases. **(-0.25 mark per exercise, up to -0.5)**
-- [x] For a homework the final submission must pass at least 50% of all the test cases. **(-0.5 mark)** \ No newline at end of file
+- [x] For a homework the final submission must pass at least 50% of all the test cases. **(-0.5 mark)**
+
+## Tips:
+
+You need set a default grade for assignments on canvas before running the script, otherwise you can not get their submissions and edit scores.
diff --git a/VG101GradeHelper.py b/VG101GradeHelper.py
index 4073d94..5530d57 100644
--- a/VG101GradeHelper.py
+++ b/VG101GradeHelper.py
@@ -25,11 +25,11 @@ def parse():
parser.add_argument('-d',
'--dir',
action='store_true',
- help='create dir for indiviual submission')
+ help='create dir for individual submission')
parser.add_argument('-i',
'--indv',
action='store_true',
- help='check indiviual submission')
+ help='check individual submission')
parser.add_argument('-g',
'--group',
action='store_true',