Player12
An open source football management simulator
Loading...
Searching...
No Matches
lab_report.cpp File Reference
#include "tools/lab_report.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <format>
#include <limits>
#include <utility>

Namespaces

namespace  Lab
 

Functions

std::span< const TargetSpec > Lab::targetTable ()
 
std::vector< ReportRow > Lab::evaluateTargets (const std::map< std::string, Estimate > &metrics, std::span< const Scope > scopes)
 
std::string_view Lab::verdictName (Verdict verdict)
 
std::string_view Lab::tierName (Tier tier)
 
std::string Lab::formatValue (double value, Unit unit)
 
nlohmann::json Lab::toJson (const LabReport &report)
 
LabReport Lab::reportFromJson (const nlohmann::json &json)
 
std::string Lab::toMarkdown (const LabReport &report)