Compare commits

...
2 Commits
Author SHA1 Message Date
christoph fec9b32df1 Make chart naming consistent + simplify menu datafile selection 2026-07-25 17:50:26 +02:00
christoph 062644ab17 Remove filtered results 2026-07-25 17:49:53 +02:00
42 changed files with 28 additions and 120 deletions
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:0872fc81a4819edb0560fec706c20dda993fa1d9e6ae59ac0797a70da074a261
3 size 11043
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:25e82ef4bf870c4c9b0e3081b6a10e982c71a1ba18c2bd175b9aeffc5fd9ee5e
3 size 341
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:f9301d1e99774a5232c9af9ec98050690c93900e3d15958d64d6e7ac8264d6bc
3 size 581502
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:bde743e47bef9f3348e0f9e544038e47341677d1dce0d3ad78127d426de694a2
3 size 518
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:6dd964101c20afcd834c0cbdc5e799d17865214dde268f2870e113ef00d4c64f
3 size 15518
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:4aa71a2421ad57dd561a05f484bf79bc9c84cadd8916839e6efbda1a4eb64e19
3 size 374
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:de2522821c3d6a17923dfed87357baf2373cec7b35822b970751563e60849cdc
3 size 534805
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:9f51e0cf5a365dded877b47e494cd93d382bf4d80c5ba12bd2b02cfb8d5f5f4d
3 size 529
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:57eae6743403084f586a502ea6c989fc1d2d7c7f621a2b065c3704008acbfea4
3 size 13164
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:d51020f9dd5c17748f7645e3251be434a1eb5ebb00aef67e245e412f2ec8c5d3
3 size 333
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:3e0c4486adb9cc0724884ab226cbdea295e598a70635e2e0116fe08394eb5fa0
3 size 560800
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:0a49bfd009742029993d2ca4facbbe7f5ec034642db056777c776fa0dcb265a1
3 size 536
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:f9dc6e4f02aeaf1ada233bb4c6eb81c69173be0a6d11f211be61129d9d752a1f
3 size 18855
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:36b531e9c9738c0f79b6c6205fa77f60971fcd9a68aca62f197b0de168fdbcf7
3 size 397
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:b1cf0d6a21c2c3b569ef5fcc3dfabf922dbd6e7f1fe3b0195931461d950d0dc3
3 size 581464
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:21e2712f3a94749b157d041562f9422a3ff12d8b09bc642fb0bd95b8bdc2df02
3 size 531
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:0938c43346259bf3daf621a8b1520e4c8411c80664afa72c628abf86580bc34e
3 size 12007
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:0f7eff0c31438987ffaffe61a2e716efd0d801d477111b3663199580a37b12df
3 size 328
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:028bdaf2389384e4bb0fd7b3301166df41be95d0646cba1057c5a0cfe366a317
3 size 551945
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:114bec96be8357d4c7a1540ffab91b21ed0c974c1a0b6b43802d1b3303bfc154
3 size 532
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:2537317fc1467e37844d39edd01a1dad09999487dd94a1d6e0864c0369bf296f
3 size 10888
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:cc403d1b884f8b51f6ebd6edb316a8dfe630a161ac1319ac6b2c5adb87736722
3 size 410
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:3b9c956bbe543a2379e61424f49c440ee300e36062fbfec5353ebf00eca53eb9
3 size 562680
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:8bf9fd873c0fe42c4e9588aefb01246374728b7ae7124c0d666cc25cad72d889
3 size 535
+28 -12
View File
@@ -573,24 +573,28 @@ my %handlers = (
die "No plot selected" unless @selected_charts;
# Need to know which chart uses which datafile
my @faults_charts = grep { /heatmap|scatter|sankey/ } @selected_charts;
my @faults_charts =
grep { /heatmap|scatter|sankey|instr_fault_correlation/ }
@selected_charts;
my @resultsdata_charts =
grep {
/result$|combined_comparison|ratio_comparison|ratio_correlation/
} @selected_charts;
grep { /result|combined_comparison|combined_ratio/ } @selected_charts;
# Select if faults.csv or a filtered variant should be used
my $faults_csv;
my $resultsdata_csv;
if (@faults_charts) {
$faults_csv = Util::pick_data_file(
"$local_archive_dir/$selected_experiments[0]", "faults" );
}
# Select if resultsdata.csv or a filtered variant should be used
my $resultsdata_csv;
if (@resultsdata_charts) {
$resultsdata_csv = Util::pick_data_file(
"$local_archive_dir/$selected_experiments[0]",
"resultsdata" );
}
# Plot single-experiment charts
my @single_charts = grep { /single/ } @selected_charts;
foreach my $experiment (@selected_experiments) {
foreach my $chart (@single_charts) {
@@ -600,18 +604,24 @@ my %handlers = (
"$local_charts_dir/$chart.r",
"$local_archive_dir/$experiment"
);
# If the chart is marked in @faults_charts,
# append the $faults_csv to the args
push @r_args, $faults_csv
if defined $faults_csv && $chart =~ /heatmap|scatter|sankey/;
if defined $faults_csv
&& grep { $_ eq $chart } @faults_charts;
# If the chart is marked in @resultsdata_charts,
# append the $resultsdata_csv to the args
push @r_args, $resultsdata_csv
if defined $resultsdata_csv
&& $chart =~ /result$|combined_comparison/;
&& grep { $_ eq $chart } @resultsdata_charts;
system(@r_args);
}
}
my @combined_charts =
grep { /combined|ratio_comparison|ratio_correlation/ }
@selected_charts;
grep { /combined/ } @selected_charts;
my $print_experiments = join " ", @selected_experiments;
my @path_experiments =
map { "$local_archive_dir/$_" } @selected_experiments;
@@ -619,12 +629,18 @@ my %handlers = (
say " - Generating plot $chart for ($print_experiments)...";
my @r_args =
( 'Rscript', "$local_charts_dir/$chart.r", @path_experiments );
# If the chart is marked in @faults_charts,
# append the $faults_csv to the args
push @r_args, $faults_csv
if defined $faults_csv && $chart =~ /heatmap|scatter|sankey/;
if defined $faults_csv
&& grep { $_ eq $chart } @faults_charts;
# If the chart is marked in @resultsdata_charts,
# append the $resultsdata_csv to the args
push @r_args, $resultsdata_csv
if defined $resultsdata_csv
&& $chart =~
/result$|combined_comparison|ratio_comparison|ratio_correlation/;
&& grep { $_ eq $chart } @resultsdata_charts;
system(@r_args);
}
},