Fix some output mistakes in b_manage experiments list
This commit is contained in:
Submodule lib/argparse updated: c69d8e1960...9550b0a88c
Submodule lib/catch2 updated: 8ac8190e49...53ddf37af4
2
lib/json
2
lib/json
Submodule lib/json updated: c883fb0f17...8c391e04fe
@@ -206,7 +206,7 @@ namespace platform {
|
||||
//
|
||||
int maxModel = results.maxModelSize();
|
||||
int maxTitle = results.maxTitleSize();
|
||||
std::vector<int> header_lengths = { 3, 10, maxModel, 10, 9, 12, 2, 3, 7, maxTitle };
|
||||
std::vector<int> header_lengths = { 3, 10, maxModel, 11, 10, 12, 2, 3, 7, maxTitle };
|
||||
std::cout << Colors::RESET();
|
||||
std::string arrow_dn = Symbols::down_arrow + " ";
|
||||
std::string arrow_up = Symbols::up_arrow + " ";
|
||||
|
@@ -90,13 +90,13 @@ namespace platform {
|
||||
std::string durationUnit = duration > 3600 ? "h" : duration > 60 ? "m" : "s";
|
||||
oss << data["date"].get<std::string>() << " ";
|
||||
oss << std::setw(maxModel) << std::left << data["model"].get<std::string>() << " ";
|
||||
oss << std::setw(10) << std::left << data["score_name"].get<std::string>() << " ";
|
||||
oss << std::right << std::setw(9) << std::setprecision(7) << std::fixed << score << " ";
|
||||
oss << std::setw(11) << std::left << data["score_name"].get<std::string>() << " ";
|
||||
oss << std::right << std::setw(10) << std::setprecision(7) << std::fixed << score << " ";
|
||||
oss << std::left << std::setw(12) << data["platform"].get<std::string>() << " ";
|
||||
oss << std::left << std::setw(2) << sd << " ";
|
||||
auto completeString = isComplete() ? "C" : "P";
|
||||
oss << std::setw(1) << " " << completeString << " ";
|
||||
oss << std::setw(5) << std::setprecision(2) << std::fixed << durationShow << " " << durationUnit << " ";
|
||||
oss << std::setw(5) << std::right << std::setprecision(2) << std::fixed << durationShow << " " << durationUnit << " ";
|
||||
oss << std::setw(50) << std::left << data["title"].get<std::string>() << " ";
|
||||
return oss.str();
|
||||
}
|
||||
|
Reference in New Issue
Block a user