From 913bafcd0979b00a829875f6a93aa8dc911b5bc4 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Mon, 11 Oct 2021 22:56:20 +0800 Subject: Add basic progress hints --- leningrade.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3