Add report/build all with totals and ranks

This commit is contained in:
2023-09-23 01:14:02 +02:00
parent c8597a794e
commit cd0bc02a74
3 changed files with 186 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
#ifndef BESTRESULTS_H
#define BESTRESULTS_H
#include <string>
#include <set>
#include <nlohmann/json.hpp>
using namespace std;
using json = nlohmann::json;
@@ -11,8 +12,12 @@ namespace platform {
string build();
void reportSingle();
void reportAll();
void buildAll();
private:
set<string> getModels();
vector<string> loadResultFiles();
json buildTableResults(set<string> models);
void printTableResults(set<string> models, json table);
string bestResultFile();
json loadFile(const string& fileName);
string path;