Get the best submissions per team.
get_best( history, metrics = names(metrics), test_name = "quiz", decreasing = FALSE )
list of the submissions history per team as returned by
character vector. names of the metrics
string. name of the test set used:
logical. Should the sort order be increasing or decreasing? Must be of length 1 or with
the same length as
get_best returns a
data.frame where the rows are teams in sorted order of performance.
The best submission per team is retained. The sort is based on possibly several metrics in the order
given by the
In case of ties on the first metric, the second metric is used to break the ties, and so on. Lastly,
the date is used in case of ties. The columns are:
name of the team
total number of submissions
the date of the best submission
the file name of the best submission
the score obtained on the quiz subset
the score obtained on the test set
the rank of the team
the rank difference is set to 0 temporarily.