add score name to best results excel file name

This commit is contained in:
2024-09-28 18:58:49 +02:00
parent 148a3b831a
commit c58bd9d60d
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ namespace platform {
}
BestResultsExcel::BestResultsExcel(const std::string& score, const std::vector<std::string>& datasets) : score(score), datasets(datasets)
{
file_name = Paths::bestResultsExcel();
file_name = Paths::bestResultsExcel(score);
workbook = workbook_new(getFileName().c_str());
setProperties("Best Results");
int maxDatasetName = (*max_element(datasets.begin(), datasets.end(), [](const std::string& a, const std::string& b) { return a.size() < b.size(); })).size();