improved error collection
This commit is contained in:
1 parent
5c0d6d8279
commit
0a06f425ff
2 files changed
+27
-21
No files matched your search
+2
-2
@@ -19,8 +19,8 @@ def errorOutput(students) -> Tuple[PrettyTable, dict, dict]:
|
||||
f = open('./output/conflicts.json')
|
||||
conflicts = json.load(f)
|
||||
f.close()
|
||||
totalCritical = conflicts["Critical"]["Total"]
|
||||
totalAcceptable = conflicts["Acceptable"]["Total"]
|
||||
totalCritical = conflicts["Critical"]["Students"]
|
||||
totalAcceptable = conflicts["Acceptable"]["Students"]
|
||||
|
||||
t = PrettyTable(['Type', 'Error %', 'Success %', 'Error Ratio'])
|
||||
|
||||
|
||||
Reference in new issue
Block a user