improved error collection

This commit is contained in:
SowinskiBraeden committed 2022-05-16 16:33:51 -07:00
1 parent 5c0d6d8279
commit 0a06f425ff
2 files changed
+27 -21

No files matched your search

+2 -2
View File
@@ -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'])