mirror of
https://github.com/logos-blockchain/logos-blockchain-simulations.git
synced 2026-02-17 19:53:07 +00:00
aggregate *_coeff_stats.csv files as well
This commit is contained in:
parent
809d43bec9
commit
1e26f26d49
@ -46,9 +46,11 @@ fn aggregate(path: &str) {
|
||||
);
|
||||
add_stats_columns(&mut df, entry.path().join("latency_stats.csv"), "latency_");
|
||||
|
||||
let coeff_stats_path = entry.path().join("coeff_stats.csv");
|
||||
if coeff_stats_path.exists() {
|
||||
add_stats_columns(&mut df, coeff_stats_path, "");
|
||||
for prefix in ["strong", "casual", "weak"] {
|
||||
let coeff_stats_path = entry.path().join(format!("{}_coeff_stats.csv", prefix));
|
||||
if coeff_stats_path.exists() {
|
||||
add_stats_columns(&mut df, coeff_stats_path, &format!("{}_coeff_", prefix));
|
||||
}
|
||||
}
|
||||
|
||||
dataframes.push(df);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user