diff options
author | Frederick Yin <fred.yin@sjtu.edu.cn> | 2021-10-11 22:56:20 +0800 |
---|---|---|
committer | Frederick Yin <fred.yin@sjtu.edu.cn> | 2021-10-11 22:56:20 +0800 |
commit | 913bafcd0979b00a829875f6a93aa8dc911b5bc4 (patch) | |
tree | a834595f05d0a0c1a666922dfc248f5d5bc54d11 | |
parent | 0441a5607590095619c23567047ed87a17239f40 (diff) |
Add basic progress hints
-rw-r--r-- | leningrade.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/leningrade.py b/leningrade.py index e14939c..a54e6e5 100644 --- a/leningrade.py +++ b/leningrade.py @@ -73,15 +73,18 @@ jojScores = {} # individual if not cli_args.no_individual: + print("Checking individual submissions...") indvScores = gitWorker.checkIndv() # group if not cli_args.no_group: + print("Checking group submissions...") groupScores = gitWorker.checkGroup() tmpScores = giteaWorker.checkReview() for key in groupScores.keys(): groupScores[key] = {**groupScores.get(key, {}), **tmpScores.get(key, {})} # JOJ (This will consume a lot of time when the code is in MATLAB) if not cli_args.no_joj: + print("JOJ is now running (this may take a while)...") jojScores = jojWorker.checkGroupJOJ(JOJ_INFO) # initialize a CanvasWorker instance so that we can output grades |