workflows.utils.record_scores.load_overall_scores#

workflows.utils.record_scores.load_overall_scores(filename)#

Buildings a dictionary from test set filenames (excluding file extensions) to strings representing scores by reading from a CSV file with these columns: test_set, and score.

Returns an empty dictionary if a FileNotFoundError is raised.

Parameters:

filename (str) – The path to the CSV file. The file extension must be included.

Returns:

A dictionary and an empty string. If a FileNotFoundError was raised, an empty dictionary is returned.

Return type:

dict