diff --git a/scoreboard/main.py b/scoreboard/main.py index 9a4bbad3..59b719c3 100644 --- a/scoreboard/main.py +++ b/scoreboard/main.py @@ -19,7 +19,7 @@ print(directories) -columns = ''.join(['' + task_type + '' for task_type in task_types]) +columns = ''.join(['' + task_type + '' for task_type in task_types]) html_content = f""" @@ -29,22 +29,30 @@

Scoreboard

-

S - Solution, P - Performance, O - Overdue, C - Cheating

+

+ (S)olution - The correctness and completeness of the implemented solution.
+ (A)cceleration - The process of speeding up software to improve performance. + Speedup = T(seq) / T(parallel)
+ (E)fficiency - Optimizing software speed-up by improving CPU utilization and resource management. + Efficiency = Speedup / NumProcs * 100%
+ (D)eadline - The timeliness of the submission in relation to the given deadline.
+ (P)lagiarism - The originality of the work, ensuring no copied content from external sources.
+

- + {columns} - - {''.join(['' for _ in range(len(task_types))])} + + {''.join(['' for _ in range(len(task_types))])} """ for dir in directories: - html_content += f"" + html_content += f"" total_count = 0 for task_type in task_types: if directories[dir].get(task_type) == "done": @@ -54,7 +62,8 @@ html_content += '' total_count += 1 else: - html_content += "" + html_content += '' + html_content += '' html_content += '' html_content += '' html_content += ''
TasksTasksTotal
SPOCSAEDP
{dir}
{dir}1000000