Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Aggregate pipeline scores #3

Merged
merged 5 commits into from
Nov 22, 2023
Merged

Aggregate pipeline scores #3

merged 5 commits into from
Nov 22, 2023

Conversation

jalafel
Copy link
Contributor

@jalafel jalafel commented Nov 21, 2023

This PR introduces a function in aggregate-results.js which aggregates the test scores.

It outputs a table depending on the scores of the tests in a runner, against the max score (if defined) and computes the weight of the entire assignment:

For example if two runners are weighted to have 1 point each and one fails, the total score at the end would be 50%.

Screenshot 2023-11-20 at 5 53 35 PM

However, if the two runners have two different max scores that are not equivalent to 100, the weight is still distributed:
Screenshot 2023-11-20 at 5 55 11 PM

Screenshot 2023-11-20 at 9 09 40 PM

Screenshot 2023-11-20 at 9 10 41 PM

One thing that needs to be addressed is the max_score from the io runner is not working properly. I will do some digging into this tomorrow to see why/how but the math behind this aggregate function should be working fine!

@jalafel jalafel merged commit 0f7cf89 into main Nov 22, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants