Refactor to accept new Library structure

This commit is contained in:
2024-03-08 22:20:13 +01:00
parent b7398db9b1
commit 7e4ee0a9a9
46 changed files with 122 additions and 132 deletions

View File

@@ -4,12 +4,12 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "BestResults.h"
#include "Result.h"
#include "Colors.h"
#include "Statistics.h"
#include "common/Colors.h"
#include "common/CLocale.h"
#include "main/Result.h"
#include "BestResultsExcel.h"
#include "CLocale.h"
#include "Statistics.h"
#include "BestResults.h"
namespace fs = std::filesystem;

View File

@@ -1,10 +1,10 @@
#include <sstream>
#include "BestResultsExcel.h"
#include "Paths.h"
#include <map>
#include <nlohmann/json.hpp>
#include "common/Paths.h"
#include "reports/ReportExcel.h"
#include "Statistics.h"
#include "ReportExcel.h"
#include "BestResultsExcel.h"
namespace platform {
json loadResultData(const std::string& fileName)

View File

@@ -1,9 +1,9 @@
#ifndef BESTRESULTS_EXCEL_H
#define BESTRESULTS_EXCEL_H
#include "ExcelFile.h"
#include <vector>
#include <map>
#include <nlohmann/json.hpp>
#include "reports/ExcelFile.h"
using json = nlohmann::json;

View File

@@ -3,7 +3,7 @@
#include <string>
#include <map>
#include <utility>
#include "DotEnv.h"
#include "common/DotEnv.h"
namespace platform {
class BestScore {
public:

View File

@@ -1,10 +1,10 @@
#include <sstream>
#include "Statistics.h"
#include "Colors.h"
#include "Symbols.h"
#include <boost/math/distributions/chi_squared.hpp>
#include <boost/math/distributions/normal.hpp>
#include "CLocale.h"
#include "common/Colors.h"
#include "common/Symbols.h"
#include "common/CLocale.h"
#include "Statistics.h"
namespace platform {

View File

@@ -1,8 +1,8 @@
#include <iostream>
#include <argparse/argparse.hpp>
#include "Paths.h"
#include "common/Paths.h"
#include "common/Colors.h"
#include "BestResults.h"
#include "Colors.h"
#include "config.h"
void manageArguments(argparse::ArgumentParser& program)
@@ -29,7 +29,7 @@ void manageArguments(argparse::ArgumentParser& program)
int main(int argc, char** argv)
{
argparse::ArgumentParser program("b_best", { project_version.begin(), project_version.end() });
argparse::ArgumentParser program("b_best", { platform_project_version.begin(), platform_project_version.end() });
manageArguments(program);
std::string model, score;
bool build, report, friedman, excel;