rename pp-plot output files

This commit is contained in:
MaxOhn
2022-06-21 07:30:33 +02:00
parent 43b1b297af
commit 64b9412231
4 changed files with 177 additions and 177 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ osu!mania: (close to perfect values)
<img src="./pp-plot/mania_accuracy.svg">
osu!catch: (pretty accurate)
<img src="./pp-plot/fruits_accuracy.svg">
<img src="./pp-plot/catch_accuracy.svg">
osu!taiko: (decently accurate, potentially more imprecise due to non-live changes in osu-tools)
<img src="./pp-plot/taiko_accuracy.svg">
+1 -1
View File
@@ -6,4 +6,4 @@ Small script to plot value differences between `rosu-pp`'s performance attribute
- Rename `.env.example` to `.env` and put proper values for its variables:
- `MAP_PATH` is the path to the folder containing a bunch of `{map_id}.osu` files
- Run `cargo run --release`. The program will read the file at `../pp-gen/output.json`, calculate `rosu-pp` values, and plot the differences in the files `{mode}_accuracy.svg`.
- Run `cargo run --release`. The program will read the file at `../pp-gen/output.json`, calculate `rosu-pp` values, and plot the differences in the files `accuracy_{mode}.svg`.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1 -1
View File
@@ -175,7 +175,7 @@ impl Evaluator {
/// Plot all gathered differences
fn plot(self) -> Result<(), Error> {
let mode = self.mode;
let output_path = format!("{}_accuracy.svg", mode);
let output_path = format!("accuracy_{}.svg", mode);
let dataset = self.to_quartiles();
let kind_list: Vec<_> = dataset.iter().map(|(kind, _)| *kind).collect();