Datasets:

Modalities:
Image
ArXiv:
DOI:
License:

Add deterministic benchmark splits

#1
by neashton - opened
.gitattributes CHANGED
@@ -1116,3 +1116,4 @@ run_20/boundary_20.vtu filter=lfs diff=lfs merge=lfs -text
1116
  run_82/boundary_82.vtu filter=lfs diff=lfs merge=lfs -text
1117
  run_82/volume_82.vtu filter=lfs diff=lfs merge=lfs -text
1118
  run_82/windsor_82.stl filter=lfs diff=lfs merge=lfs -text
 
 
1116
  run_82/boundary_82.vtu filter=lfs diff=lfs merge=lfs -text
1117
  run_82/volume_82.vtu filter=lfs diff=lfs merge=lfs -text
1118
  run_82/windsor_82.stl filter=lfs diff=lfs merge=lfs -text
1119
+ splits/README.pdf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -48,6 +48,49 @@ Each folder (e.g run_1,run_2…run_“i” etc) corresponds to a different geome
48
  * force_mom_all.csv: contains force/moments for all runs in a single file
49
  * force_mom_varref_all.csv: contains force/moments for all runs in a single file using a reference frontal area that is unique to each geometry
50
  * geo_parameters_all.csv: contains all the geometry parameters for all the runs in a single file
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  Downloads:
53
  -----------
@@ -58,12 +101,15 @@ Example 1: Download all files (~8TB)
58
  -------
59
  Please note you’ll need to have git lfs installed first, then you can run the following command:
60
 
 
61
  git clone git@hf.co:datasets/neashton/windsorml
 
62
 
63
  Example 2: only download select files (STL,images & force and moments):
64
  -------
65
  Create the following bash script that could be adapted to loop through only select runs or to change to download different files e.g boundary/volume.
66
 
 
67
  #!/bin/bash
68
 
69
  # Set the path and prefix
@@ -76,8 +122,8 @@ LOCAL_DIR="./windsor_data"
76
  # Create the local directory if it doesn't exist
77
  mkdir -p "$LOCAL_DIR"
78
 
79
- # Loop through the run folders from 1 to 354
80
- for i in $(seq 1 354); do
81
  RUN_DIR="run_$i"
82
  RUN_LOCAL_DIR="$LOCAL_DIR/$RUN_DIR"
83
 
@@ -91,6 +137,7 @@ for i in $(seq 1 354); do
91
  wget "https://huggingface.co/datasets/${HF_OWNER}/${HF_PREFIX}/resolve/main/$RUN_DIR/force_mom_$i.csv" -O "$RUN_LOCAL_DIR/force_mom_$i.csv"
92
 
93
  done
 
94
 
95
  Acknowledgements
96
  -----------
@@ -104,4 +151,6 @@ License
104
  ----
105
  This dataset is provided under the CC BY SA 4.0 license, please see LICENSE.txt for full license text.
106
 
107
-
 
 
 
48
  * force_mom_all.csv: contains force/moments for all runs in a single file
49
  * force_mom_varref_all.csv: contains force/moments for all runs in a single file using a reference frontal area that is unique to each geometry
50
  * geo_parameters_all.csv: contains all the geometry parameters for all the runs in a single file
51
+ * [`splits/`](splits/): deterministic benchmark manifests, methods documentation, derived metrics, diagnostic figures, and generation code
52
+
53
+ ## Recommended dataset splits
54
+
55
+ WindsorML provides eight deterministic train/validation/test split families in
56
+ [`splits/manifest.json`](splits/manifest.json). Identifiers follow the
57
+ `run_N` convention used by the dataset.
58
+
59
+ | Split | Type | Train | Validation | Test | Intended evaluation |
60
+ |---|---:|---:|---:|---:|---|
61
+ | `full` | In-distribution | 284 | 35 | 36 | Seed-42 random baseline, approximately 80/10/10 |
62
+ | `medium` | In-distribution | 95 | 35 | 36 | Intermediate data efficiency |
63
+ | `scarce` | In-distribution | 47 | 35 | 36 | Low-data evaluation |
64
+ | `super_scarce` | In-distribution | 8 | 35 | 36 | Extreme low-data evaluation |
65
+ | `geometry` | OOD | 248 | 36 | 71 | STL-surface geometry extrapolation |
66
+ | `high_drag` | OOD | 248 | 36 | 71 | High-drag extrapolation |
67
+ | `low_drag` | OOD | 248 | 36 | 71 | Low-drag extrapolation |
68
+ | `image_wake` | OOD | 248 | 36 | 71 | Image-derived wake extrapolation |
69
+
70
+ The `full` family is a reproducible seed-42 benchmark. It is not a
71
+ reconstruction of the paper's preliminary 60/20/20 evaluation partition,
72
+ whose case membership was not published. The reduced-data training sets are
73
+ strictly nested and share the same validation and test cases. For the OOD
74
+ families, validation is selected from the training-side population.
75
+
76
+ The aggregate tables and manifest cover `run_0` through `run_354`. At the
77
+ source revision used for this package, per-run STL and image files for
78
+ `run_350` through `run_354` were unavailable. Their geometry and image-wake
79
+ scores are estimated from nearby observed cases and are explicitly identified
80
+ in the distributed metric CSVs.
81
+
82
+ Download only the split package with:
83
+
84
+ ```bash
85
+ hf download neashton/windsorml \
86
+ --type dataset \
87
+ --include "splits/**" \
88
+ --local-dir ./windsorml
89
+ ```
90
+
91
+ Complete definitions, construction methods, missing-data treatment,
92
+ diagnostic figures, and reproducibility instructions are provided in
93
+ [`splits/README.md`](splits/README.md).
94
 
95
  Downloads:
96
  -----------
 
101
  -------
102
  Please note you’ll need to have git lfs installed first, then you can run the following command:
103
 
104
+ ```
105
  git clone git@hf.co:datasets/neashton/windsorml
106
+ ```
107
 
108
  Example 2: only download select files (STL,images & force and moments):
109
  -------
110
  Create the following bash script that could be adapted to loop through only select runs or to change to download different files e.g boundary/volume.
111
 
112
+ ```bash
113
  #!/bin/bash
114
 
115
  # Set the path and prefix
 
122
  # Create the local directory if it doesn't exist
123
  mkdir -p "$LOCAL_DIR"
124
 
125
+ # The currently available per-run folders span 0 to 349.
126
+ for i in $(seq 0 349); do
127
  RUN_DIR="run_$i"
128
  RUN_LOCAL_DIR="$LOCAL_DIR/$RUN_DIR"
129
 
 
137
  wget "https://huggingface.co/datasets/${HF_OWNER}/${HF_PREFIX}/resolve/main/$RUN_DIR/force_mom_$i.csv" -O "$RUN_LOCAL_DIR/force_mom_$i.csv"
138
 
139
  done
140
+ ```
141
 
142
  Acknowledgements
143
  -----------
 
151
  ----
152
  This dataset is provided under the CC BY SA 4.0 license, please see LICENSE.txt for full license text.
153
 
154
+ version history:
155
+ ---------------
156
+ * 17/08/2026 - Added deterministic benchmark train/validation/test splits, including nested data-efficiency and out-of-distribution evaluation protocols; documented current per-run asset coverage.
splits/README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # WindsorML dataset splits
2
+
3
+ This directory provides deterministic train/validation/test assignments for the
4
+ [WindsorML](https://huggingface.co/datasets/neashton/windsorml) dataset. The
5
+ authoritative assignments are stored in [`manifest.json`](manifest.json) as a
6
+ flat JSON object. Keys follow the pattern `{split_name}_{train,val,test}`, and
7
+ each value is a numerically sorted list of identifiers matching the top-level
8
+ `run_N` convention.
9
+
10
+ The aggregate WindsorML tables describe 355 Windsor-body variants, indexed from
11
+ `run_0` through `run_354`. At the source revision used to construct this
12
+ package, per-run STL and image assets were available for `run_0` through
13
+ `run_349`; the treatment of the five remaining cases is documented below.
14
+
15
+ ## Splits at a glance
16
+
17
+ | Split | Type | Train | Validation | Test | Intended evaluation |
18
+ |---|---:|---:|---:|---:|---|
19
+ | `full` | In-distribution | 284 | 35 | 36 | Seed-42 random baseline, approximately 80/10/10 |
20
+ | `medium` | In-distribution | 95 | 35 | 36 | Intermediate data efficiency |
21
+ | `scarce` | In-distribution | 47 | 35 | 36 | Low-data evaluation |
22
+ | `super_scarce` | In-distribution | 8 | 35 | 36 | Extreme low-data evaluation |
23
+ | `geometry` | OOD | 248 | 36 | 71 | STL-surface geometry extrapolation |
24
+ | `high_drag` | OOD | 248 | 36 | 71 | High-drag extrapolation |
25
+ | `low_drag` | OOD | 248 | 36 | 71 | Low-drag extrapolation |
26
+ | `image_wake` | OOD | 248 | 36 | 71 | Image-derived wake extrapolation |
27
+
28
+ The data-efficiency training sets form a strict nested sequence:
29
+
30
+ `super_scarce_train ⊂ scarce_train ⊂ medium_train ⊂ full_train`
31
+
32
+ They use the same validation and test assignments. For every
33
+ out-of-distribution (OOD) family, validation is sampled from the training-side
34
+ population; the held-out extreme is reserved for final testing.
35
+
36
+ ## Relation to the paper split
37
+
38
+ The WindsorML paper reports a 60/20/20 partition for its preliminary machine-
39
+ learning evaluation but does not publish the case-membership lists. The `full`
40
+ family here is therefore a separate, reproducible seed-42 benchmark with an
41
+ approximately 80/10/10 ratio. It should not be described as a reconstruction of
42
+ the paper's preliminary partition.
43
+
44
+ ## Using the committed manifest
45
+
46
+ Normal benchmark use requires only the committed manifest. Regenerating the
47
+ splits is not required.
48
+
49
+ ```python
50
+ import json
51
+ from pathlib import Path
52
+
53
+ manifest = json.loads(Path("splits/manifest.json").read_text())
54
+
55
+ train_ids = manifest["geometry_train"]
56
+ val_ids = manifest["geometry_val"]
57
+ test_ids = manifest["geometry_test"]
58
+ ```
59
+
60
+ Change the `geometry` prefix to `full`, `medium`, `scarce`,
61
+ `super_scarce`, `high_drag`, `low_drag`, or `image_wake` to select another
62
+ family.
63
+
64
+ Download only the split package with:
65
+
66
+ ```bash
67
+ hf download neashton/windsorml \
68
+ --type dataset \
69
+ --include "splits/**" \
70
+ --local-dir ./windsorml
71
+ ```
72
+
73
+ Validation data may be used for model and hyperparameter selection. Test data
74
+ should be reserved for final evaluation and should not inform normalization,
75
+ feature design, or repeated visual inspection during development.
76
+
77
+ ## Construction principles
78
+
79
+ 1. **Reproducible baseline.** The `full` family is a committed seed-42 random
80
+ assignment over all 355 identifiers.
81
+ 2. **In-distribution validation.** OOD validation cases are selected from the
82
+ training-side population rather than the extreme test region.
83
+ 3. **Nested data-efficiency subsets.** Smaller training sets are strict
84
+ subsets of larger sets, with validation and test held fixed.
85
+ 4. **Direct geometry comparison.** The geometry OOD score is computed from STL
86
+ surfaces rather than inferred only from geometry parameters.
87
+ 5. **Dataset-defined physical quantities.** Drag families use the published
88
+ constant-reference-area force table.
89
+ 6. **Flow-structure information.** The image-wake family uses fixed velocity
90
+ views rather than an integrated coefficient.
91
+ 7. **Explicit missing-data treatment.** Observed and estimated metric values
92
+ are identified in the distributed CSVs.
93
+ 8. **Auditability.** The manifest is distributed with the derived metrics,
94
+ scripts, figures, LaTeX source, and PDF methods report used to document it.
95
+
96
+ ## Split definitions
97
+
98
+ ### `full`
99
+
100
+ The baseline constructs `torch.randperm(355)` with seed 42, assigns the first
101
+ 284 entries to training, the next 35 to validation, and the final 36 to testing,
102
+ then sorts each stored list numerically. The identifiers are committed directly
103
+ in the generator, so PyTorch is not a runtime dependency.
104
+
105
+ ### `medium`, `scarce`, and `super_scarce`
106
+
107
+ These families retain `full_val` and `full_test` while reducing the training
108
+ population to 95, 47, and 8 cases. A greedy max-min procedure constructs one
109
+ nested ordering in standardized force/geometry feature space using `cd`, `cl`,
110
+ and the columns present in the aggregate geometry table.
111
+
112
+ The paper defines seven CAD variables. The current root-level
113
+ `geo_parameters_all.csv` contains six of those variables plus `frontal_area`;
114
+ `ratio_length_front_rear` is present in per-run geometry CSVs but absent from
115
+ the aggregate table. The nested selection uses the aggregate columns actually
116
+ available. The STL-based geometry OOD family is independent of this omission.
117
+
118
+ ### `geometry`
119
+
120
+ The geometry family uses [`chamfer_metrics.csv`](chamfer_metrics.csv). Each
121
+ available `run_N/windsor_N.stl` surface is sampled with 4,096 deterministic
122
+ area-weighted points. Point clouds remain in the shared dataset coordinate
123
+ frame and are scaled by the global median STL bounding-box diagonal. Pairwise
124
+ surface difference is measured with symmetric Chamfer RMS distance.
125
+
126
+ For each run, the OOD score is the mean distance to its ten nearest neighbouring
127
+ geometries. The 71 highest-scoring cases form `geometry_test`; 36 validation
128
+ cases are deterministically selected from the complementary population, leaving
129
+ 248 training cases.
130
+
131
+ ### `high_drag` and `low_drag`
132
+
133
+ These families rank all cases by `cd` from the root-level `force_mom_all.csv`,
134
+ whose constant reference area makes the coefficients directly comparable.
135
+ `high_drag` holds out the largest 71 values, while `low_drag` holds out the
136
+ smallest 71. Validation is sampled from the complementary population in both
137
+ cases.
138
+
139
+ ### `image_wake`
140
+
141
+ The image-wake score uses two near-centreline constant-z velocity images and
142
+ three near-base constant-x images for each observed run. A fixed wake crop and
143
+ colour/intensity measure estimate the low-speed area in each view. The 71
144
+ largest scores form `image_wake_test`.
145
+
146
+ ![Split diagnostics](split_diagnostics.png)
147
+
148
+ ![Geometry-score examples](geometry_score_examples.png)
149
+
150
+ ![Image-wake-score examples](wake_score_examples.png)
151
+
152
+ ## Current per-run asset coverage
153
+
154
+ At WindsorML revision `bb721834e681a9a8329c42288c1514d6ce617547`, the
155
+ aggregate force and geometry tables contain all 355 identifiers, but the
156
+ per-run STL and targeted PNG files for `run_350` through `run_354` are absent.
157
+ Their geometry and image-wake scores are estimated from the five nearest
158
+ observed runs in standardized force/aggregate-geometry space.
159
+
160
+ [`chamfer_metrics.csv`](chamfer_metrics.csv) and
161
+ [`image_metrics.csv`](image_metrics.csv) record an observed flag and the
162
+ neighbour identifiers used for every estimate. They contain 350 direct
163
+ observations and five estimated rows each. The committed manifest is the
164
+ versioned benchmark assignment; future metric revisions should be released
165
+ explicitly rather than silently changing this manifest.
166
+
167
+ ## Reproducibility
168
+
169
+ The committed [`manifest.json`](manifest.json) is the source of truth. The
170
+ commands below are provided to audit or rebuild the artifacts. They were
171
+ prepared against the WindsorML revision given above.
172
+
173
+ Install the lightweight generation and plotting dependencies:
174
+
175
+ ```bash
176
+ python3 -m pip install numpy matplotlib pillow
177
+ ```
178
+
179
+ From the dataset repository root, download the aggregate source tables and
180
+ regenerate the manifest and diagnostic plot:
181
+
182
+ ```bash
183
+ python3 splits/download_hf_inputs.py --output-dir data
184
+ python3 splits/generate_splits.py
185
+ python3 splits/visualize_splits.py
186
+ ```
187
+
188
+ The commands above use the committed Chamfer and image metrics. To recompute
189
+ those metrics and recreate the example figures, keep large STL and PNG inputs
190
+ outside the repository:
191
+
192
+ ```bash
193
+ ASSET_ROOT=../windsorml_hf_assets
194
+
195
+ python3 splits/download_hf_inputs.py --output-dir "$ASSET_ROOT" \
196
+ --include-stls --include-wake-images --include-geometry-images \
197
+ --workers 6 --allow-missing
198
+
199
+ python3 splits/compute_chamfer_splits.py --data-root "$ASSET_ROOT" \
200
+ --output-dir /tmp/windsorml_chamfer_4096 --samples 4096 \
201
+ --workers 16 --sample-workers 2 --runs all --allow-missing
202
+
203
+ cp /tmp/windsorml_chamfer_4096/chamfer_metrics.csv \
204
+ splits/chamfer_metrics.csv
205
+
206
+ python3 splits/compute_image_metrics.py --asset-root "$ASSET_ROOT" \
207
+ --data-root "$ASSET_ROOT" --output splits/image_metrics.csv
208
+
209
+ WINDSORML_DATA_ROOT="$ASSET_ROOT" python3 splits/generate_splits.py
210
+ WINDSORML_DATA_ROOT="$ASSET_ROOT" python3 splits/visualize_splits.py
211
+ python3 splits/create_example_figures.py --asset-root "$ASSET_ROOT" \
212
+ --force-root "$ASSET_ROOT"
213
+ ```
214
+
215
+ Full Chamfer recomputation additionally requires SciPy and trimesh:
216
+
217
+ ```bash
218
+ python3 -m pip install scipy trimesh
219
+ ```
220
+
221
+ Rebuild the PDF methods report with:
222
+
223
+ ```bash
224
+ latexmk -pdf -cd splits/README.tex
225
+ ```
226
+
227
+ The generated manifest remains a flat mapping such as:
228
+
229
+ ```json
230
+ {
231
+ "full_train": ["run_0", "run_1"],
232
+ "full_val": ["run_8"],
233
+ "full_test": ["run_7"]
234
+ }
235
+ ```
236
+
237
+ The shortened lists above illustrate the format only; use the committed
238
+ manifest for the complete assignments.
splits/README.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45c2f46a4b6f01a034c525f842784c5e7bae80c0086d74837398e1518cf2f884
3
+ size 1049113
splits/README.tex ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \documentclass[10pt]{article}
2
+
3
+ \usepackage[margin=0.72in]{geometry}
4
+ \usepackage{booktabs}
5
+ \usepackage{caption}
6
+ \usepackage{enumitem}
7
+ \usepackage{float}
8
+ \usepackage[T1]{fontenc}
9
+ \usepackage{graphicx}
10
+ \usepackage{hyperref}
11
+ \usepackage{microtype}
12
+ \usepackage{tabularx}
13
+ \usepackage{xcolor}
14
+
15
+ \hypersetup{
16
+ colorlinks=true,
17
+ linkcolor=blue!55!black,
18
+ urlcolor=blue!55!black,
19
+ citecolor=blue!55!black
20
+ }
21
+
22
+ \setlength{\parindent}{0pt}
23
+ \setlength{\parskip}{0.55em}
24
+ \setlength{\emergencystretch}{2em}
25
+ \setlist[itemize]{leftmargin=1.35em, itemsep=0.22em, topsep=0.25em}
26
+ \captionsetup{font=small, labelfont=bf}
27
+
28
+ \newcommand{\code}[1]{\texttt{#1}}
29
+ \newcommand{\splitkey}[1]{\texttt{#1}}
30
+
31
+ \title{\vspace{-1.2em}\textbf{WindsorML Dataset Splits}}
32
+ \author{}
33
+ \date{}
34
+
35
+ \begin{document}
36
+ \maketitle
37
+ \vspace{-2.0em}
38
+
39
+ Deterministic train/validation/test splits for the
40
+ \href{https://huggingface.co/datasets/neashton/windsorml}{WindsorML dataset}
41
+ \cite{windsorml_dataset}. WindsorML contains 355 Halton-sampled variants of the
42
+ Windsor body, indexed from \code{run\_0} through \code{run\_354}. The associated
43
+ paper reports a 60/20/20 partition for its preliminary ML evaluation but does
44
+ not publish an exact case-membership list \cite{windsorml_paper}. For consistency
45
+ with the AhmedML and DrivAerML split packages, this package instead defines an
46
+ approximately 80/10/10 seed-42 baseline and companion data-efficiency and
47
+ out-of-distribution (OOD) splits.
48
+
49
+ The source of truth is \code{splits/manifest.json}, a flat JSON object with keys
50
+ such as \code{full\_train}, \code{full\_val}, and \code{geometry\_test}. This
51
+ split directory stores the manifest, derived metrics, scripts, figures, and
52
+ this report. The aggregate source tables remain at the dataset root. Large STL
53
+ and PNG reconstruction inputs belong in a sibling asset directory.
54
+
55
+ \section*{Splits at a glance}
56
+
57
+ \begin{tabularx}{\textwidth}{@{}l l r r r X@{}}
58
+ \toprule
59
+ Split & Type & Train & Val & Test & What it tests \\
60
+ \midrule
61
+ \splitkey{full} & In-dist & 284 & 35 & 36 & Seed-42 random baseline, approximately 80/10/10 \\
62
+ \splitkey{medium} & In-dist & 95 & 35 & 36 & Data efficiency, 1/3 of \splitkey{full} training data \\
63
+ \splitkey{scarce} & In-dist & 47 & 35 & 36 & Data efficiency, 1/6 of \splitkey{full} training data \\
64
+ \splitkey{super\_scarce} & In-dist & 8 & 35 & 36 & Extreme data efficiency, 1/36 of \splitkey{full} training data \\
65
+ \splitkey{geometry} & OOD & 248 & 36 & 71 & STL-shape extrapolation using the top 20\% local Chamfer-isolation score \\
66
+ \splitkey{high\_drag} & OOD & 248 & 36 & 71 & High-drag extrapolation using the top 20\% fixed-reference \code{cd} \\
67
+ \splitkey{low\_drag} & OOD & 248 & 36 & 71 & Low-drag extrapolation using the bottom 20\% fixed-reference \code{cd} \\
68
+ \splitkey{image\_wake} & OOD & 248 & 36 & 71 & Low-speed wake extrapolation from near-centreline and near-base velocity PNGs \\
69
+ \bottomrule
70
+ \end{tabularx}
71
+
72
+ \section*{Which split should I use?}
73
+
74
+ \begin{itemize}
75
+ \item \textbf{Standard baseline}: \splitkey{full}
76
+ \item \textbf{Data efficiency}: compare \splitkey{super\_scarce}, \splitkey{scarce}, \splitkey{medium}, and \splitkey{full}
77
+ \item \textbf{Shape extrapolation}: \splitkey{geometry}
78
+ \item \textbf{Aerodynamic-coefficient extrapolation}: \splitkey{high\_drag} or \splitkey{low\_drag}
79
+ \item \textbf{Wake-regime extrapolation}: \splitkey{image\_wake}
80
+ \end{itemize}
81
+
82
+ \section*{Using the committed splits}
83
+
84
+ For the standard use case, read \code{splits/manifest.json}; no STL, PNG, or
85
+ regeneration step is required. Each value is a sorted list of dataset directory
86
+ names.
87
+
88
+ \begin{verbatim}
89
+ import json
90
+ from pathlib import Path
91
+
92
+ manifest = json.loads(Path("splits/manifest.json").read_text())
93
+
94
+ train_ids = manifest["full_train"]
95
+ val_ids = manifest["full_val"]
96
+ test_ids = manifest["full_test"]
97
+ \end{verbatim}
98
+
99
+ Change the \code{full} prefix to \code{medium}, \code{scarce},
100
+ \code{super\_scarce}, \code{geometry}, \code{high\_drag}, \code{low\_drag}, or
101
+ \code{image\_wake} to select another split.
102
+
103
+ \section*{Design principles}
104
+
105
+ \begin{itemize}
106
+ \item \textbf{Validation remains in-distribution with training.} For each OOD split, the test set is the held-out extreme 20\%; validation is the companion-package 10\% sample drawn only from the complementary population.
107
+ \item \textbf{Companion-package ratios.} \splitkey{full} is approximately 80/10/10. OOD families are approximately 70/10/20 so the extreme test regime remains large enough to evaluate separately.
108
+ \item \textbf{Nested data-efficiency subsets.} The 8-case, 47-case, and 95-case training sets are strict nested subsets of \splitkey{full\_train}; all share \splitkey{full\_val} and \splitkey{full\_test}.
109
+ \item \textbf{Use the appropriate source quantity.} Drag splits use the constant-reference-area coefficients in \code{force\_mom\_all.csv}; geometry uses STL-surface Chamfer distance; image wake uses published streamwise-velocity PNGs.
110
+ \item \textbf{Test-set integrity.} Test cases should not be used for normalization fitting, hyperparameter tuning, model selection, or repeated visual inspection during development.
111
+ \end{itemize}
112
+
113
+ Figure~\ref{fig:diagnostics} shows the exact train, validation, and test
114
+ membership against each split-defining quantity. The first panel confirms that
115
+ \splitkey{full} is random with respect to drag; the high- and low-drag panels
116
+ show the expected coefficient tails; the lower panels show the geometry and
117
+ image-wake OOD regions.
118
+
119
+ \begin{figure}[H]
120
+ \centering
121
+ \includegraphics[width=0.99\textwidth]{split_diagnostics.png}
122
+ \caption{WindsorML split diagnostics. Points are colored by train, validation, and test membership. The panels show the full seed-42 baseline on \code{Cd}; high- and low-drag holdouts on \code{Cd}; the STL-Chamfer geometry holdout; the image-wake holdout on its low-speed score; and the image-wake membership on \code{Cd}.}
123
+ \label{fig:diagnostics}
124
+ \end{figure}
125
+
126
+ \section*{Split details}
127
+
128
+ \subsection*{\splitkey{full}}
129
+
130
+ To match the AhmedML and DrivAerML split convention, \splitkey{full} uses an
131
+ approximately 80/10/10 partition: 284 train, 35 validation, and 36 test cases.
132
+ To make the unpublished membership reproducible, this repository constructs
133
+ \code{torch.randperm(355)} with \code{torch.Generator().manual\_seed(42)}, assigns
134
+ the first 284 entries to train, the next 35 to validation, and the final 36 to
135
+ test, then sorts each stored ID list. The resulting IDs are committed directly
136
+ in the generator, so PyTorch is not a runtime dependency.
137
+
138
+ \subsection*{\splitkey{medium}, \splitkey{scarce}, and \splitkey{super\_scarce}}
139
+
140
+ These families keep \splitkey{full\_val} and \splitkey{full\_test} fixed. Their
141
+ training sets are nested, greedy max-min subsets of \splitkey{full\_train} in
142
+ standardized \code{cd}, \code{cl}, and published aggregate geometry-feature
143
+ space. The procedure selects a force/geometry-extreme case first, then repeatedly
144
+ adds the candidate whose nearest selected neighbor is farthest away.
145
+
146
+ The WindsorML paper defines seven CAD variables: front-to-rear length ratio,
147
+ back-fast length ratio, nose-to-windshield height ratio, fast-back height ratio,
148
+ side taper, clearance, and bottom taper angle \cite{windsorml_paper}. The current
149
+ public \code{geo\_parameters\_all.csv} contains six of those variables plus
150
+ \code{frontal\_area}; \code{ratio\_length\_front\_rear} appears in per-run geometry
151
+ CSVs but is absent from the aggregate table. The nested selection uses the
152
+ columns actually present in the aggregate file. The \splitkey{geometry} OOD
153
+ split does not depend on that table omission because it is computed from STLs.
154
+
155
+ \subsection*{\splitkey{geometry}}
156
+
157
+ Each available \code{run\_N/windsor\_N.stl} is sampled with 4096 deterministic,
158
+ area-weighted surface points. Point clouds remain in the common dataset
159
+ coordinate frame and are scaled by the global median STL bounding-box diagonal.
160
+ The symmetric Chamfer RMS distance is calculated for every pair, and each run's
161
+ OOD score is its mean distance to the 10 nearest neighboring STLs. The 71
162
+ highest scores form \splitkey{geometry\_test}; 36 validation cases are sampled
163
+ from the remaining population, leaving 248 training cases.
164
+
165
+ The current highest observed geometry scores include \splitkey{run\_252},
166
+ \splitkey{run\_161}, \splitkey{run\_349}, \splitkey{run\_72}, and
167
+ \splitkey{run\_57}. Figure~\ref{fig:geometry_examples} compares the lowest and
168
+ highest observed score examples and overlays the complete side-view geometry.
169
+
170
+ \begin{figure}[H]
171
+ \centering
172
+ \includegraphics[width=0.98\textwidth]{geometry_score_examples.png}
173
+ \caption{Geometry examples for \splitkey{geometry}. The low-score case is \splitkey{run\_304} with Chamfer score 0.01147, \code{Cd}=0.2823, and \code{Cl}=-0.2293. The high-score case is \splitkey{run\_252} with score 0.02076, \code{Cd}=0.3408, and \code{Cl}=0.8068. The lower panel superimposes both complete-car side views with transparent silhouettes.}
174
+ \label{fig:geometry_examples}
175
+ \end{figure}
176
+
177
+ \subsection*{\splitkey{high\_drag} and \splitkey{low\_drag}}
178
+
179
+ WindsorML publishes both constant-reference-area and case-dependent-reference-area
180
+ force tables. These splits use \code{force\_mom\_all.csv}, whose constant reference
181
+ area makes \code{cd} directly comparable across geometry variants.
182
+ \splitkey{high\_drag} holds out the 71 largest values; \splitkey{low\_drag} holds
183
+ out the 71 smallest. Figure~\ref{fig:diagnostics} shows both tails.
184
+
185
+ The highest-drag runs include \splitkey{run\_303}, \splitkey{run\_192},
186
+ \splitkey{run\_346}, \splitkey{run\_10}, and \splitkey{run\_221}. The lowest-drag
187
+ runs include \splitkey{run\_238}, \splitkey{run\_125}, \splitkey{run\_306},
188
+ \splitkey{run\_133}, and \splitkey{run\_134}.
189
+
190
+ \subsection*{\splitkey{image\_wake}}
191
+
192
+ The paper states that the published images span 10 constant-\(z\) planes from
193
+ \(z=-0.4\) to \(0.4\) m and 80 constant-\(x\) planes from \(x=-0.5\) to
194
+ \(1.0\) m \cite{windsorml_paper}. The image-wake score uses
195
+ \code{view1\_constz} indices 4 and 5, which bracket the centreline, and
196
+ \code{view2\_constx} indices 53, 55, and 57, immediately downstream of the
197
+ Windsor base at \(x=0.48\) m. In fixed wake crops, blue/purple pixels indicate
198
+ lower streamwise velocity than the orange freestream. The score averages the
199
+ low-speed area and color intensity across the centreline and near-base views.
200
+ The 71 largest scores form \splitkey{image\_wake\_test}.
201
+
202
+ The highest observed image-wake scores include \splitkey{run\_8},
203
+ \splitkey{run\_315}, \splitkey{run\_57}, \splitkey{run\_332}, and
204
+ \splitkey{run\_329}. Figure~\ref{fig:wake_examples} shows why the score separates
205
+ the selected examples: the high-score case has a substantially larger low-speed
206
+ region in both views.
207
+
208
+ \begin{figure}[H]
209
+ \centering
210
+ \includegraphics[width=0.99\textwidth]{wake_score_examples.png}
211
+ \caption{Image-wake examples for \splitkey{image\_wake}. The low-score case is \splitkey{run\_161} with score 0.0076, \code{Cd}=0.3226, and \code{Cl}=0.8371. The high-score case is \splitkey{run\_8} with score 0.1519, \code{Cd}=0.3059, and \code{Cl}=-0.2052. The top row shows a near-centreline constant-\(z\) view; the bottom row shows the near-base \code{X-53} plane.}
212
+ \label{fig:wake_examples}
213
+ \end{figure}
214
+
215
+ \section*{Current Hub asset coverage}
216
+
217
+ The aggregate CSVs contain all 355 runs. At Hub revision
218
+ \code{bb721834e681a9a8329c42288c1514d6ce617547}, per-run STLs and targeted
219
+ PNGs were available for \code{run\_0} through
220
+ \code{run\_349}; the same assets for \code{run\_350} through \code{run\_354}
221
+ returned HTTP 404. Their five geometry and image scores are estimated from the
222
+ five nearest observed runs in standardized force/aggregate-geometry space.
223
+ Both \code{splits/chamfer\_metrics.csv} and
224
+ \code{splits/image\_metrics.csv} include
225
+ an observed flag and the neighbor IDs for every estimate. Re-running the metric
226
+ scripts after those Hub files become available can produce a revised metric
227
+ set, which should be released as an explicit benchmark revision rather than
228
+ silently changing the committed manifest.
229
+
230
+ \section*{Repeatability and transparency}
231
+
232
+ The committed manifest is intended for normal benchmark use. The commands below
233
+ are only for auditing or rebuilding the split definitions. Keep large files in
234
+ a sibling directory:
235
+
236
+ \begin{verbatim}
237
+ ASSET_ROOT=../windsorml_hf_assets
238
+
239
+ python3 splits/download_hf_inputs.py --output-dir "$ASSET_ROOT" \
240
+ --include-stls --include-wake-images --include-geometry-images \
241
+ --workers 6 --allow-missing
242
+
243
+ python3 splits/compute_chamfer_splits.py --data-root "$ASSET_ROOT" \
244
+ --output-dir /tmp/windsorml_chamfer_4096 --samples 4096 \
245
+ --workers 16 --sample-workers 2 --runs all --allow-missing
246
+ cp /tmp/windsorml_chamfer_4096/chamfer_metrics.csv \
247
+ splits/chamfer_metrics.csv
248
+
249
+ python3 splits/compute_image_metrics.py --asset-root "$ASSET_ROOT" \
250
+ --data-root "$ASSET_ROOT" --output splits/image_metrics.csv
251
+ WINDSORML_DATA_ROOT="$ASSET_ROOT" python3 splits/generate_splits.py
252
+ WINDSORML_DATA_ROOT="$ASSET_ROOT" python3 splits/visualize_splits.py
253
+ python3 splits/create_example_figures.py --asset-root "$ASSET_ROOT" \
254
+ --force-root "$ASSET_ROOT"
255
+ latexmk -pdf -cd splits/README.tex
256
+ \end{verbatim}
257
+
258
+ The Chamfer script requires \code{numpy}, \code{scipy}, and \code{trimesh}; the
259
+ image and figure scripts require \code{numpy}, \code{Pillow}, and
260
+ \code{matplotlib}. Large reconstruction inputs should remain outside the
261
+ repository; the split directory contains only lightweight derived artifacts.
262
+
263
+ The committed source artifacts are:
264
+
265
+ \begin{verbatim}
266
+ force_mom_all.csv
267
+ geo_parameters_all.csv
268
+ splits/chamfer_metrics.csv
269
+ splits/image_metrics.csv
270
+ <asset-root>/run_*/windsor_*.stl
271
+ <asset-root>/run_*/images/windsor_*.png
272
+ <asset-root>/run_*/images/velocityxavg/*.png
273
+ splits/split_diagnostics.png
274
+ splits/geometry_score_examples.png
275
+ splits/wake_score_examples.png
276
+ splits/manifest.json
277
+ \end{verbatim}
278
+
279
+ \section*{Manifest format}
280
+
281
+ \begin{verbatim}
282
+ {
283
+ "full_train": ["run_0", "run_1", "..."],
284
+ "full_val": ["run_8", "..."],
285
+ "full_test": ["run_7", "..."],
286
+ "geometry_train": ["run_0", "..."]
287
+ }
288
+ \end{verbatim}
289
+
290
+ Case IDs match the on-disk dataset directory names and are sorted numerically.
291
+
292
+ {\small
293
+ \begin{thebibliography}{9}
294
+ \bibitem{windsorml_dataset}
295
+ WindsorML dataset. \url{https://huggingface.co/datasets/neashton/windsorml}.
296
+
297
+ \bibitem{windsorml_paper}
298
+ Ashton, N. et al. ``WindsorML: High-Fidelity Computational Fluid Dynamics Dataset for Automotive Aerodynamics.'' \url{https://arxiv.org/abs/2407.19320}.
299
+ \end{thebibliography}
300
+ }
301
+
302
+ \end{document}
splits/chamfer_metrics.csv ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run,geometry_observed,nearest_neighbor_chamfer,mean_10_nn_chamfer,mean_all_chamfer,medoid_chamfer,medoid_run,ood_score,imputation_neighbors
2
+ 0,True,0.011387518607079983,0.013262450695037842,0.04128580167889595,0.03824697807431221,115,0.013262450695037842,
3
+ 1,True,0.011009939946234226,0.013251036405563354,0.05647054687142372,0.052962712943553925,115,0.013251036405563354,
4
+ 2,True,0.010547779500484467,0.013195875100791454,0.03964688628911972,0.029308414086699486,115,0.013195875100791454,
5
+ 3,True,0.011509324423968792,0.012370792217552662,0.03359327092766762,0.012307984754443169,115,0.012370792217552662,
6
+ 4,True,0.010701311752200127,0.013436922803521156,0.05352438986301422,0.05592511221766472,115,0.013436922803521156,
7
+ 5,True,0.01154999528080225,0.014133569784462452,0.04039603844285011,0.029157301411032677,115,0.014133569784462452,
8
+ 6,True,0.011555272154510021,0.01279392559081316,0.034877147525548935,0.015376703813672066,115,0.01279392559081316,
9
+ 7,True,0.011886964552104473,0.012538546696305275,0.043491609394550323,0.04243140295147896,115,0.012538546696305275,
10
+ 8,True,0.011150975711643696,0.013016683049499989,0.05060537904500961,0.05194465070962906,115,0.013016683049499989,
11
+ 9,True,0.01245274767279625,0.013386750593781471,0.04151185229420662,0.034206323325634,115,0.013386750593781471,
12
+ 10,True,0.010149999521672726,0.014017825946211815,0.04578939452767372,0.04009588807821274,115,0.014017825946211815,
13
+ 11,True,0.011157217435538769,0.013929265551269054,0.03790871426463127,0.02502146176993847,115,0.013929265551269054,
14
+ 12,True,0.011213844642043114,0.013062526471912861,0.05271097272634506,0.05017121136188507,115,0.013062526471912861,
15
+ 13,True,0.011921362020075321,0.013676638714969158,0.047521770000457764,0.03983796015381813,115,0.013676638714969158,
16
+ 14,True,0.012008284218609333,0.014828095212578773,0.03725012391805649,0.020932842046022415,115,0.014828095212578773,
17
+ 15,True,0.010373864322900772,0.012675918638706207,0.04253527149558067,0.03911801055073738,115,0.012675918638706207,
18
+ 16,True,0.010241445153951645,0.011512642726302147,0.038406386971473694,0.025528769940137863,115,0.011512642726302147,
19
+ 17,True,0.011789039708673954,0.01429742295295,0.049125123769044876,0.04818498715758324,115,0.01429742295295,
20
+ 18,True,0.010927367024123669,0.013093682937324047,0.03432627394795418,0.016404666006565094,115,0.013093682937324047,
21
+ 19,True,0.009818362072110176,0.011920268647372723,0.04855955392122269,0.04919042810797691,115,0.011920268647372723,
22
+ 20,True,0.012867278419435024,0.01521618478000164,0.03927508369088173,0.03147498518228531,115,0.01521618478000164,
23
+ 21,True,0.010895133018493652,0.012846298515796661,0.03587749972939491,0.01692228578031063,115,0.012846298515796661,
24
+ 22,True,0.011820620857179165,0.013819458894431591,0.05902153626084328,0.05692881718277931,115,0.013819458894431591,
25
+ 23,True,0.010261948220431805,0.012863698415458202,0.044761836528778076,0.037452731281518936,115,0.012863698415458202,
26
+ 24,True,0.010513492859899998,0.012658089399337769,0.03572552651166916,0.017877204343676567,115,0.012658089399337769,
27
+ 25,True,0.011507011950016022,0.013040557503700256,0.04703732579946518,0.046251993626356125,115,0.013040557503700256,
28
+ 26,True,0.010600236244499683,0.012397149577736855,0.04111762344837189,0.030570050701498985,115,0.012397149577736855,
29
+ 27,True,0.009490364231169224,0.011511269956827164,0.03818701207637787,0.030990643426775932,115,0.011511269956827164,
30
+ 28,True,0.010860958136618137,0.012726997956633568,0.03402654081583023,0.01745646819472313,115,0.012726997956633568,
31
+ 29,True,0.010579857043921947,0.013094527646899223,0.05072718858718872,0.053202178329229355,115,0.013094527646899223,
32
+ 30,True,0.00891837291419506,0.011897267773747444,0.0365508496761322,0.02734348177909851,115,0.011897267773747444,
33
+ 31,True,0.00891837291419506,0.011953024193644524,0.03663557767868042,0.02737654559314251,115,0.011953024193644524,
34
+ 32,True,0.01178054977208376,0.01331239938735962,0.044792160391807556,0.038074690848588943,115,0.01331239938735962,
35
+ 33,True,0.01087418757379055,0.011944858357310295,0.03442177176475525,0.012708167545497417,115,0.011944858357310295,
36
+ 34,True,0.01089719869196415,0.012335582636296749,0.04284502938389778,0.039931099861860275,115,0.012335582636296749,
37
+ 35,True,0.010727709159255028,0.013044538907706738,0.03844863176345825,0.02510569803416729,115,0.013044538907706738,
38
+ 36,True,0.010102402418851852,0.012338834814727306,0.039571456611156464,0.02707541175186634,115,0.012338834814727306,
39
+ 37,True,0.010749096982181072,0.013162517920136452,0.04447801038622856,0.042671091854572296,115,0.013162517920136452,
40
+ 38,True,0.011114558205008507,0.012699991464614868,0.03349260985851288,0.015496421605348587,115,0.012699991464614868,
41
+ 39,True,0.010612605139613152,0.012481985613703728,0.035326529294252396,0.022583890706300735,115,0.012481985613703728,
42
+ 40,True,0.013442505151033401,0.015488195233047009,0.0499306283891201,0.04255947098135948,115,0.015488195233047009,
43
+ 41,True,0.012020748108625412,0.013740424998104572,0.03715561702847481,0.029136115685105324,115,0.013740424998104572,
44
+ 42,True,0.009787488728761673,0.012273909524083138,0.03556263446807861,0.015094316564500332,115,0.012273909524083138,
45
+ 43,True,0.010189495049417019,0.012838209979236126,0.0342094711959362,0.013711540028452873,115,0.012838209979236126,
46
+ 44,True,0.010083073750138283,0.012880918569862843,0.04320306330919266,0.034211959689855576,115,0.012880918569862843,
47
+ 45,True,0.009806604124605656,0.013147053308784962,0.0362202450633049,0.020818931981921196,115,0.013147053308784962,
48
+ 46,True,0.011238104663789272,0.012345580384135246,0.04009832814335823,0.03549583628773689,115,0.012345580384135246,
49
+ 47,True,0.010543610900640488,0.013990441337227821,0.03949408978223801,0.02766445279121399,115,0.013990441337227821,
50
+ 48,True,0.009635820984840393,0.012854931876063347,0.049627549946308136,0.05091949179768562,115,0.012854931876063347,
51
+ 49,True,0.010492951609194279,0.012494039721786976,0.035110633820295334,0.023867812007665634,115,0.012494039721786976,
52
+ 50,True,0.013094361871480942,0.014725496992468834,0.04429764300584793,0.039075013250112534,115,0.014725496992468834,
53
+ 51,True,0.010708970949053764,0.013613102026283741,0.03766370564699173,0.02459827996790409,115,0.013613102026283741,
54
+ 52,True,0.010185126215219498,0.012646054849028587,0.044401030987501144,0.03792896866798401,115,0.012646054849028587,
55
+ 53,True,0.009615394286811352,0.012369819916784763,0.033640820533037186,0.012952952645719051,115,0.012369819916784763,
56
+ 54,True,0.01212071068584919,0.013602484948933125,0.03866367042064667,0.024225788190960884,115,0.013602484948933125,
57
+ 55,True,0.010020468384027481,0.012629804201424122,0.036491185426712036,0.018698325380682945,115,0.012629804201424122,
58
+ 56,True,0.010957827791571617,0.012206071056425571,0.03373796120285988,0.01495303027331829,115,0.012206071056425571,
59
+ 57,True,0.01283231656998396,0.016860544681549072,0.05935328081250191,0.06256767362356186,115,0.016860544681549072,
60
+ 58,True,0.011157868430018425,0.012793394736945629,0.03559685871005058,0.022277958691120148,115,0.012793394736945629,
61
+ 59,True,0.01318379770964384,0.015344934538006783,0.0455981083214283,0.03712679445743561,115,0.015344934538006783,
62
+ 60,True,0.013826809823513031,0.015726733952760696,0.04090641438961029,0.03518194705247879,115,0.015726733952760696,
63
+ 61,True,0.010233980603516102,0.01232092548161745,0.0355406254529953,0.016220910474658012,115,0.01232092548161745,
64
+ 62,True,0.011826787143945694,0.013856202363967896,0.05425432324409485,0.05200326070189476,115,0.013856202363967896,
65
+ 63,True,0.010531350038945675,0.01350613497197628,0.03480927273631096,0.016802148893475533,115,0.01350613497197628,
66
+ 64,True,0.01077455747872591,0.011790520511567593,0.045263614505529404,0.04441678151488304,115,0.011790520511567593,
67
+ 65,True,0.012252600863575935,0.013737152330577374,0.04236595332622528,0.03396288678050041,115,0.013737152330577374,
68
+ 66,True,0.01249685324728489,0.014912483282387257,0.03741711378097534,0.026593979448080063,115,0.014912483282387257,
69
+ 67,True,0.009911531582474709,0.011584421619772911,0.048246826976537704,0.04886375740170479,115,0.011584421619772911,
70
+ 68,True,0.011088039726018906,0.012897312641143799,0.05116324499249458,0.04743942245841026,115,0.012897312641143799,
71
+ 69,True,0.009596668183803558,0.012562038376927376,0.03443862125277519,0.015863623470067978,115,0.012562038376927376,
72
+ 70,True,0.010501796379685402,0.013671675696969032,0.05483553931117058,0.05149687081575394,115,0.013671675696969032,
73
+ 71,True,0.010561534203588963,0.011958612129092216,0.03407052159309387,0.011373537592589855,115,0.011958612129092216,
74
+ 72,True,0.012064927257597446,0.01746426895260811,0.0536867156624794,0.055677641183137894,115,0.01746426895260811,
75
+ 73,True,0.01219950057566166,0.013178017921745777,0.03901924565434456,0.027651270851492882,115,0.013178017921745777,
76
+ 74,True,0.011096742004156113,0.012258653528988361,0.04066529497504234,0.03689809516072273,115,0.012258653528988361,
77
+ 75,True,0.011933083645999432,0.012702187523245811,0.034044984728097916,0.012212133966386318,115,0.012702187523245811,
78
+ 76,True,0.011845076456665993,0.012540718540549278,0.03514784574508667,0.020117679610848427,115,0.012540718540549278,
79
+ 77,True,0.009935575537383556,0.011647654697299004,0.03725145757198334,0.029301010072231293,115,0.011647654697299004,
80
+ 78,True,0.011292885057628155,0.012916048988699913,0.05399074777960777,0.05127245932817459,115,0.012916048988699913,
81
+ 79,True,0.012450383976101875,0.014197349548339844,0.04292396828532219,0.03206207603216171,115,0.014197349548339844,
82
+ 80,True,0.0100817596539855,0.012955896556377411,0.03556123003363609,0.021370509639382362,115,0.012955896556377411,
83
+ 81,True,0.012341976165771484,0.014487706124782562,0.04217182844877243,0.03359149768948555,115,0.014487706124782562,
84
+ 82,True,0.010895133018493652,0.012638302519917488,0.036285754293203354,0.017733542248606682,115,0.012638302519917488,
85
+ 83,True,0.011798141524195671,0.012458031997084618,0.04144105687737465,0.038182228803634644,115,0.012458031997084618,
86
+ 84,True,0.010541833937168121,0.013724635355174541,0.048521652817726135,0.048178184777498245,115,0.013724635355174541,
87
+ 85,True,0.01056189276278019,0.011936021968722343,0.03667242452502251,0.02660462073981762,115,0.011936021968722343,
88
+ 86,True,0.011124493554234505,0.012513640336692333,0.04937281832098961,0.044036876410245895,115,0.012513640336692333,
89
+ 87,True,0.00975774135440588,0.013487035408616066,0.04493710398674011,0.04266781732439995,115,0.013487035408616066,
90
+ 88,True,0.011564011685550213,0.012671425938606262,0.05236012488603592,0.049248307943344116,115,0.012671425938606262,
91
+ 89,True,0.012682211585342884,0.013258358463644981,0.0408281646668911,0.030973348766565323,115,0.013258358463644981,
92
+ 90,True,0.012353197671473026,0.013780256733298302,0.04926513135433197,0.05062468349933624,115,0.013780256733298302,
93
+ 91,True,0.011570622213184834,0.012393051758408546,0.03738311305642128,0.023241683840751648,115,0.012393051758408546,
94
+ 92,True,0.011966320686042309,0.013744816184043884,0.03661346435546875,0.02215883694589138,115,0.013744816184043884,
95
+ 93,True,0.011912383139133453,0.013699990697205067,0.04908175766468048,0.04860259220004082,115,0.013699990697205067,
96
+ 94,True,0.010244164615869522,0.014857937581837177,0.038308035582304,0.028338411822915077,115,0.014857937581837177,
97
+ 95,True,0.011466301046311855,0.01242103148251772,0.035481881350278854,0.021633205935359,115,0.01242103148251772,
98
+ 96,True,0.01010688953101635,0.011791740544140339,0.03680938109755516,0.027401022613048553,115,0.011791740544140339,
99
+ 97,True,0.012686400674283504,0.014529144391417503,0.03613593429327011,0.01922997646033764,115,0.014529144391417503,
100
+ 98,True,0.011088039726018906,0.012999529018998146,0.05207730084657669,0.04869169369339943,115,0.012999529018998146,
101
+ 99,True,0.011436245404183865,0.013331407681107521,0.04183586686849594,0.03174901753664017,115,0.013331407681107521,
102
+ 100,True,0.009818362072110176,0.012100779451429844,0.047362636774778366,0.04740758612751961,115,0.012100779451429844,
103
+ 101,True,0.011471334844827652,0.012772241607308388,0.034339938312768936,0.016530731692910194,115,0.012772241607308388,
104
+ 102,True,0.011596080847084522,0.013860282488167286,0.053731102496385574,0.05707959458231926,115,0.013860282488167286,
105
+ 103,True,0.01035719271749258,0.012929211370646954,0.05235666409134865,0.047744665294885635,115,0.012929211370646954,
106
+ 104,True,0.010796640999615192,0.012631116434931755,0.04068189486861229,0.03709409013390541,115,0.012631116434931755,
107
+ 105,True,0.0100531792268157,0.011926176026463509,0.03434721753001213,0.01334389392286539,115,0.011926176026463509,
108
+ 106,True,0.011132863350212574,0.012581197544932365,0.04408402368426323,0.03647174686193466,115,0.012581197544932365,
109
+ 107,True,0.010860958136618137,0.014010705053806305,0.035445064306259155,0.02054925262928009,115,0.014010705053806305,
110
+ 108,True,0.011005599051713943,0.012304537929594517,0.04542159661650658,0.04458223283290863,115,0.012304537929594517,
111
+ 109,True,0.011570622213184834,0.01351388543844223,0.03919278457760811,0.025375599041581154,115,0.01351388543844223,
112
+ 110,True,0.011305093765258789,0.013941806741058826,0.04612043872475624,0.043763935565948486,115,0.013941806741058826,
113
+ 111,True,0.012151926755905151,0.0140449870377779,0.036646053194999695,0.025562480092048645,115,0.0140449870377779,
114
+ 112,True,0.01062745600938797,0.012553276494145393,0.03512924537062645,0.021872323006391525,115,0.012553276494145393,
115
+ 113,True,0.01051503885537386,0.012661074288189411,0.04500167816877365,0.03771154209971428,115,0.012661074288189411,
116
+ 114,True,0.012120991945266724,0.01341661810874939,0.03733058273792267,0.028018714860081673,115,0.01341661810874939,
117
+ 115,True,0.011344105936586857,0.012205136939883232,0.03324690833687782,0.0,115,0.012205136939883232,
118
+ 116,True,0.01154999528080225,0.012807686813175678,0.040530506521463394,0.030588621273636818,115,0.012807686813175678,
119
+ 117,True,0.011316826567053795,0.013888314366340637,0.04133453592658043,0.03822266682982445,115,0.013888314366340637,
120
+ 118,True,0.010711164213716984,0.012846855446696281,0.036766134202480316,0.021720854565501213,115,0.012846855446696281,
121
+ 119,True,0.010786758735775948,0.01345351804047823,0.05020881071686745,0.05150604620575905,115,0.01345351804047823,
122
+ 120,True,0.010313023813068867,0.011776452884078026,0.03637032210826874,0.02507195807993412,115,0.011776452884078026,
123
+ 121,True,0.012049195356667042,0.014113077893853188,0.04673044756054878,0.04172993078827858,115,0.014113077893853188,
124
+ 122,True,0.010655068792402744,0.011746600270271301,0.03463897481560707,0.014070238918066025,115,0.011746600270271301,
125
+ 123,True,0.013049191795289516,0.016235236078500748,0.04737371951341629,0.04109608754515648,115,0.016235236078500748,
126
+ 124,True,0.010637951083481312,0.012449810281395912,0.04254832863807678,0.03268899396061897,115,0.012449810281395912,
127
+ 125,True,0.010728846304118633,0.013685730285942554,0.04924720153212547,0.05023272708058357,115,0.013685730285942554,
128
+ 126,True,0.011006438173353672,0.012406667694449425,0.03748086094856262,0.02209119312465191,115,0.012406667694449425,
129
+ 127,True,0.011202402412891388,0.01314001064747572,0.03522178903222084,0.016391508281230927,115,0.01314001064747572,
130
+ 128,True,0.011054269969463348,0.013230616226792336,0.03496325761079788,0.021032189950346947,115,0.013230616226792336,
131
+ 129,True,0.010368946008384228,0.013217074796557426,0.05466533452272415,0.05747315287590027,115,0.013217074796557426,
132
+ 130,True,0.011144586838781834,0.016579296439886093,0.04248950257897377,0.03769192844629288,115,0.016579296439886093,
133
+ 131,True,0.010257620364427567,0.012890520505607128,0.03450895845890045,0.016388066112995148,115,0.012890520505607128,
134
+ 132,True,0.011820620857179165,0.014143119566142559,0.05895627290010452,0.05683860927820206,115,0.014143119566142559,
135
+ 133,True,0.008977980352938175,0.01239490695297718,0.03419160842895508,0.014237464405596256,115,0.01239490695297718,
136
+ 134,True,0.008977980352938175,0.012424565851688385,0.03431066498160362,0.014466220512986183,115,0.012424565851688385,
137
+ 135,True,0.011512091383337975,0.01235582958906889,0.041123490780591965,0.03198293596506119,115,0.01235582958906889,
138
+ 136,True,0.009806604124605656,0.01313829980790615,0.03665979579091072,0.02207012288272381,115,0.01313829980790615,
139
+ 137,True,0.010009367018938065,0.011877383105456829,0.03822449594736099,0.030873961746692657,115,0.011877383105456829,
140
+ 138,True,0.012453647330403328,0.013798588886857033,0.03656229376792908,0.01947282999753952,115,0.013798588886857033,
141
+ 139,True,0.012064927257597446,0.01568509265780449,0.055819056928157806,0.05893253535032272,115,0.01568509265780449,
142
+ 140,True,0.012245526537299156,0.015722651034593582,0.0531228631734848,0.050245728343725204,115,0.015722651034593582,
143
+ 141,True,0.010986309498548508,0.012282474897801876,0.03902708739042282,0.03232970088720322,115,0.012282474897801876,
144
+ 142,True,0.009596668183803558,0.013266334310173988,0.03515924513339996,0.017106257379055023,115,0.013266334310173988,
145
+ 143,True,0.011254915967583656,0.014398915693163872,0.05278405919671059,0.04863034188747406,115,0.014398915693163872,
146
+ 144,True,0.01117666345089674,0.012004807591438293,0.04408888891339302,0.04191946983337402,115,0.012004807591438293,
147
+ 145,True,0.010241445153951645,0.011722841300070286,0.038930706679821014,0.026286469772458076,115,0.011722841300070286,
148
+ 146,True,0.011198735795915127,0.012161582708358765,0.04190019890666008,0.03823016211390495,115,0.012161582708358765,
149
+ 147,True,0.011114558205008507,0.013118120841681957,0.03401997685432434,0.017511438578367233,115,0.013118120841681957,
150
+ 148,True,0.010452451184391975,0.014239570125937462,0.05472499504685402,0.05575217679142952,115,0.014239570125937462,
151
+ 149,True,0.010244164615869522,0.014521496370434761,0.03801584243774414,0.028677064925432205,115,0.014521496370434761,
152
+ 150,True,0.010412571020424366,0.012611362151801586,0.04948479309678078,0.044354718178510666,115,0.012611362151801586,
153
+ 151,True,0.011106288060545921,0.012374402955174446,0.03611917048692703,0.025719447061419487,115,0.012374402955174446,
154
+ 152,True,0.012558629736304283,0.015218393877148628,0.056405872106552124,0.05400558188557625,115,0.015218393877148628,
155
+ 153,True,0.011324729770421982,0.01268951315432787,0.03472497686743736,0.013177075423300266,115,0.01268951315432787,
156
+ 154,True,0.012373057194054127,0.013892313465476036,0.04877462610602379,0.050152041018009186,115,0.013892313465476036,
157
+ 155,True,0.009405845776200294,0.013131680898368359,0.0363728329539299,0.02164560928940773,115,0.013131680898368359,
158
+ 156,True,0.012030777521431446,0.013563198037445545,0.042833585292100906,0.039977412670850754,115,0.013563198037445545,
159
+ 157,True,0.010786758735775948,0.012179022654891014,0.04952722415328026,0.05095836892724037,115,0.012179022654891014,
160
+ 158,True,0.011466301046311855,0.012827962636947632,0.03513617813587189,0.02099422551691532,115,0.012827962636947632,
161
+ 159,True,0.011146847158670425,0.012747588567435741,0.050024114549160004,0.04562506824731827,115,0.012747588567435741,
162
+ 160,True,0.01305298786610365,0.01514745969325304,0.046699684113264084,0.0424322709441185,115,0.01514745969325304,
163
+ 161,True,0.018420280888676643,0.02056705951690674,0.045143913477659225,0.037030551582574844,115,0.02056705951690674,
164
+ 162,True,0.011556282639503479,0.012481031008064747,0.0535031296312809,0.050655756145715714,115,0.012481031008064747,
165
+ 163,True,0.010687686502933502,0.012675154022872448,0.043521225452423096,0.03669895604252815,115,0.012675154022872448,
166
+ 164,True,0.011482239700853825,0.012933204881846905,0.043600138276815414,0.04083477333188057,115,0.012933204881846905,
167
+ 165,True,0.010727709159255028,0.012398188933730125,0.03909281641244888,0.025408009067177773,115,0.012398188933730125,
168
+ 166,True,0.010419626720249653,0.01218860037624836,0.037100959569215775,0.02212364412844181,115,0.01218860037624836,
169
+ 167,True,0.01283231656998396,0.016761206090450287,0.058479223400354385,0.06172690913081169,115,0.016761206090450287,
170
+ 168,True,0.010313023813068867,0.011503527872264385,0.03552965819835663,0.022787833586335182,115,0.011503527872264385,
171
+ 169,True,0.011144586838781834,0.015656711533665657,0.04249955713748932,0.03857419267296791,115,0.015656711533665657,
172
+ 170,True,0.012198257260024548,0.01366309355944395,0.05225250869989395,0.04892798885703087,115,0.01366309355944395,
173
+ 171,True,0.010531350038945675,0.013090958818793297,0.03484949469566345,0.01673760823905468,115,0.013090958818793297,
174
+ 172,True,0.01077455747872591,0.011996537446975708,0.04606221988797188,0.045876313000917435,115,0.011996537446975708,
175
+ 173,True,0.010824659839272499,0.012162536382675171,0.039930980652570724,0.027981828898191452,115,0.012162536382675171,
176
+ 174,True,0.010474460199475288,0.011733836494386196,0.04024439677596092,0.03554348275065422,115,0.011733836494386196,
177
+ 175,True,0.011718209832906723,0.013124123215675354,0.03573346510529518,0.02355922944843769,115,0.013124123215675354,
178
+ 176,True,0.011150975711643696,0.012073131278157234,0.04867120832204819,0.04922817274928093,115,0.012073131278157234,
179
+ 177,True,0.010725480504333973,0.01221168041229248,0.038389693945646286,0.02937665395438671,115,0.01221168041229248,
180
+ 178,True,0.010882734321057796,0.014331286773085594,0.049880314618349075,0.0454464890062809,115,0.014331286773085594,
181
+ 179,True,0.011066574603319168,0.013516383245587349,0.039088595658540726,0.029932457953691483,115,0.013516383245587349,
182
+ 180,True,0.010257620364427567,0.01270800270140171,0.034352853894233704,0.01651644892990589,115,0.01270800270140171,
183
+ 181,True,0.010185126215219498,0.013393069617450237,0.045568399131298065,0.039775196462869644,115,0.013393069617450237,
184
+ 182,True,0.012008284218609333,0.014705139212310314,0.03770122677087784,0.021265292540192604,115,0.014705139212310314,
185
+ 183,True,0.011036478914320469,0.013367380015552044,0.04739425703883171,0.04849841445684433,115,0.013367380015552044,
186
+ 184,True,0.011202785186469555,0.01378795225173235,0.04123876243829727,0.02947722189128399,115,0.01378795225173235,
187
+ 185,True,0.011240500025451183,0.013475057668983936,0.04389216750860214,0.04277810454368591,115,0.013475057668983936,
188
+ 186,True,0.012003510259091854,0.013280823826789856,0.03449511528015137,0.014400873333215714,115,0.013280823826789856,
189
+ 187,True,0.010612605139613152,0.013568488880991936,0.03614788129925728,0.023641621693968773,115,0.013568488880991936,
190
+ 188,True,0.010672987438738346,0.012702137231826782,0.04947040230035782,0.04503004252910614,115,0.012702137231826782,
191
+ 189,True,0.010230462066829205,0.012498101219534874,0.03648863732814789,0.02787650190293789,115,0.012498101219534874,
192
+ 190,True,0.013241295702755451,0.014919057488441467,0.03855970874428749,0.020917855203151703,115,0.014919057488441467,
193
+ 191,True,0.010635514743626118,0.012073850259184837,0.04554098844528198,0.038576751947402954,115,0.012073850259184837,
194
+ 192,True,0.0100817596539855,0.013272775337100029,0.036253493279218674,0.022750940173864365,115,0.013272775337100029,
195
+ 193,True,0.01211816631257534,0.013326202519237995,0.04144291579723358,0.032227516174316406,115,0.013326202519237995,
196
+ 194,True,0.011000615544617176,0.013441729359328747,0.03670767322182655,0.020291252061724663,115,0.013441729359328747,
197
+ 195,True,0.010661275126039982,0.011801479384303093,0.03853250667452812,0.031795937567949295,115,0.011801479384303093,
198
+ 196,True,0.011712548322975636,0.013665346428751945,0.034441106021404266,0.017575571313500404,115,0.013665346428751945,
199
+ 197,True,0.009635820984840393,0.012657602317631245,0.04843341186642647,0.04926977679133415,115,0.012657602317631245,
200
+ 198,True,0.011646391823887825,0.013224964961409569,0.03828059136867523,0.02720075286924839,115,0.013224964961409569,
201
+ 199,True,0.011276314966380596,0.012461191974580288,0.04938031733036041,0.044777557253837585,115,0.012461191974580288,
202
+ 200,True,0.011039580218493938,0.012896743603050709,0.03611478954553604,0.019840989261865616,115,0.012896743603050709,
203
+ 201,True,0.010412571020424366,0.01231597550213337,0.05202009901404381,0.04782242700457573,115,0.01231597550213337,
204
+ 202,True,0.01280540507286787,0.015459747985005379,0.04415055736899376,0.03639183193445206,115,0.015459747985005379,
205
+ 203,True,0.009740781970322132,0.012180924415588379,0.038558851927518845,0.0264649149030447,115,0.012180924415588379,
206
+ 204,True,0.011013309471309185,0.012449001893401146,0.03636184707283974,0.019064398482441902,115,0.012449001893401146,
207
+ 205,True,0.010979089885950089,0.012767809443175793,0.03401358053088188,0.01519929151982069,115,0.012767809443175793,
208
+ 206,True,0.010522228665649891,0.01222753431648016,0.034479472786188126,0.02045099437236786,115,0.01222753431648016,
209
+ 207,True,0.009490364231169224,0.011576822027564049,0.037580423057079315,0.02959495224058628,115,0.011576822027564049,
210
+ 208,True,0.010942158289253712,0.01269763894379139,0.03406064584851265,0.013745017349720001,115,0.01269763894379139,
211
+ 209,True,0.010205645114183426,0.012283327989280224,0.05150964483618736,0.04842327907681465,115,0.012283327989280224,
212
+ 210,True,0.0111441221088171,0.013149726204574108,0.03496525436639786,0.019649464637041092,115,0.013149726204574108,
213
+ 211,True,0.011271598748862743,0.014107773080468178,0.054515041410923004,0.05497254803776741,115,0.014107773080468178,
214
+ 212,True,0.010997823439538479,0.013203771784901619,0.03889762610197067,0.026685936376452446,115,0.013203771784901619,
215
+ 213,True,0.01110097300261259,0.012658951804041862,0.03571835905313492,0.016832424327731133,115,0.012658951804041862,
216
+ 214,True,0.010649324394762516,0.011970316991209984,0.03439358249306679,0.018259264528751373,115,0.011970316991209984,
217
+ 215,True,0.009976808913052082,0.012285393662750721,0.05011482536792755,0.04521547257900238,115,0.012285393662750721,
218
+ 216,True,0.011340286582708359,0.012645264156162739,0.03935270756483078,0.03383920341730118,115,0.012645264156162739,
219
+ 217,True,0.011070487089455128,0.012318954803049564,0.033772289752960205,0.012765946798026562,115,0.012318954803049564,
220
+ 218,True,0.011546914465725422,0.012736926786601543,0.04443148896098137,0.03738434985280037,115,0.012736926786601543,
221
+ 219,True,0.010561534203588963,0.011837254278361797,0.03442114591598511,0.012909213081002235,115,0.011837254278361797,
222
+ 220,True,0.010635731741786003,0.012454918585717678,0.045806530863046646,0.04608357697725296,115,0.012454918585717678,
223
+ 221,True,0.011233671568334103,0.014110866002738476,0.04061080142855644,0.030217427760362625,115,0.014110866002738476,
224
+ 222,True,0.011054269969463348,0.01239706389605999,0.03369778022170067,0.017263950780034065,115,0.01239706389605999,
225
+ 223,True,0.010176853276789188,0.013461530208587646,0.054060645401477814,0.05687972530722618,115,0.013461530208587646,
226
+ 224,True,0.011681165546178818,0.014684329740703106,0.045220471918582916,0.03817956894636154,115,0.014684329740703106,
227
+ 225,True,0.011928336694836617,0.012519342824816704,0.039323996752500534,0.03342495113611221,115,0.012519342824816704,
228
+ 226,True,0.01226238813251257,0.013434773311018944,0.05500947684049606,0.05209263041615486,115,0.013434773311018944,
229
+ 227,True,0.010456500574946404,0.012848381884396076,0.039728373289108276,0.02838985063135624,115,0.012848381884396076,
230
+ 228,True,0.010452451184391975,0.014583887532353401,0.056108295917510986,0.05671598017215729,115,0.014583887532353401,
231
+ 229,True,0.009813087992370129,0.015702825039625168,0.044126514345407486,0.03595707565546036,115,0.015702825039625168,
232
+ 230,True,0.00906071811914444,0.012099077925086021,0.035993386059999466,0.018316885456442833,115,0.012099077925086021,
233
+ 231,True,0.00906071811914444,0.012084267102181911,0.03605188429355621,0.018270432949066162,115,0.012084267102181911,
234
+ 232,True,0.011155190877616405,0.01303872186690569,0.051846228539943695,0.05419588088989258,115,0.01303872186690569,
235
+ 233,True,0.01056189276278019,0.011728049255907536,0.0369771309196949,0.028287455439567566,115,0.011728049255907536,
236
+ 234,True,0.009976808913052082,0.01243998296558857,0.049456458538770676,0.044221341609954834,115,0.01243998296558857,
237
+ 235,True,0.01094004325568676,0.01285687368363142,0.0360732264816761,0.01902812346816063,115,0.01285687368363142,
238
+ 236,True,0.014029739424586296,0.01643403433263302,0.05013445019721985,0.046524424105882645,115,0.01643403433263302,
239
+ 237,True,0.010635514743626118,0.011981664225459099,0.043528638780117035,0.035495150834321976,115,0.011981664225459099,
240
+ 238,True,0.011863150633871555,0.013959606178104877,0.049818553030490875,0.051034703850746155,115,0.013959606178104877,
241
+ 239,True,0.011522319167852402,0.013937093317508698,0.04053499549627304,0.026303449645638466,115,0.013937093317508698,
242
+ 240,True,0.012121381238102913,0.01411188580095768,0.03704553470015526,0.02357340417802334,115,0.01411188580095768,
243
+ 241,True,0.008687633089721203,0.012430744245648384,0.04445510730147362,0.0420556403696537,115,0.012430744245648384,
244
+ 242,True,0.008687633089721203,0.012520653195679188,0.044566646218299866,0.0422024205327034,115,0.012520653195679188,
245
+ 243,True,0.011008847504854202,0.012339677661657333,0.053139396011829376,0.05516323074698448,115,0.012339677661657333,
246
+ 244,True,0.012496504932641983,0.014537133276462555,0.037879884243011475,0.029946357011795044,115,0.014537133276462555,
247
+ 245,True,0.01010688953101635,0.012392330914735794,0.03788420185446739,0.028807079419493675,115,0.012392330914735794,
248
+ 246,True,0.011395073495805264,0.013997353613376617,0.03485090658068657,0.01850779540836811,115,0.013997353613376617,
249
+ 247,True,0.011009939946234226,0.012569794431328773,0.05475323647260666,0.05140521749854088,115,0.012569794431328773,
250
+ 248,True,0.010730068199336529,0.014027643017470837,0.04074784368276596,0.02872745878994465,115,0.014027643017470837,
251
+ 249,True,0.009740781970322132,0.011995026841759682,0.03809308260679245,0.025761662051081657,115,0.011995026841759682,
252
+ 250,True,0.013217703439295292,0.013814510777592659,0.04188578575849533,0.03925831988453865,115,0.013814510777592659,
253
+ 251,True,0.010711164213716984,0.012626878917217255,0.03766096010804176,0.024730894714593887,115,0.012626878917217255,
254
+ 252,True,0.016418002545833588,0.02076105773448944,0.06270488351583481,0.06630561500787735,115,0.02076105773448944,
255
+ 253,True,0.010882734321057796,0.013657523319125175,0.04896315187215805,0.044239237904548645,115,0.013657523319125175,
256
+ 254,True,0.011897294782102108,0.014278125949203968,0.04060998186469078,0.03495761379599571,115,0.014278125949203968,
257
+ 255,True,0.010020468384027481,0.013040557503700256,0.03634899854660034,0.01684168167412281,115,0.013040557503700256,
258
+ 256,True,0.011649984866380692,0.01296100951731205,0.04864790663123131,0.04313497617840767,115,0.01296100951731205,
259
+ 257,True,0.011798141524195671,0.012957748956978321,0.043602023273706436,0.04230928421020508,115,0.012957748956978321,
260
+ 258,True,0.0097475191578269,0.011975283734500408,0.03902320936322212,0.03145936131477356,115,0.011975283734500408,
261
+ 259,True,0.010251523926854134,0.012965837493538857,0.034284114837646484,0.018798062577843666,115,0.012965837493538857,
262
+ 260,True,0.01166519708931446,0.013790704309940338,0.03524676337838173,0.022790051996707916,115,0.013790704309940338,
263
+ 261,True,0.01045903842896223,0.012394639663398266,0.04938921704888344,0.044955264776945114,115,0.012394639663398266,
264
+ 262,True,0.01062745600938797,0.012275119312107563,0.03504301607608795,0.022800203412771225,115,0.012275119312107563,
265
+ 263,True,0.010809299536049366,0.013124307617545128,0.036081597208976746,0.017160814255475998,115,0.013124307617545128,
266
+ 264,True,0.012283185496926308,0.01487396378070116,0.06037301570177078,0.05840545892715454,115,0.01487396378070116,
267
+ 265,True,0.0100531792268157,0.011971680447459221,0.033522047102451324,0.011344105936586857,115,0.011971680447459221,
268
+ 266,True,0.010977273806929588,0.012782896868884563,0.044856954365968704,0.03696770220994949,115,0.012782896868884563,
269
+ 267,True,0.011178532615303993,0.012657621875405312,0.03832468017935753,0.02248370088636875,115,0.012657621875405312,
270
+ 268,True,0.011387518607079983,0.01425898540765047,0.0417192280292511,0.03857724368572235,115,0.01425898540765047,
271
+ 269,True,0.00925192330032587,0.012465608306229115,0.03533808887004852,0.016398821026086807,115,0.012465608306229115,
272
+ 270,True,0.008847367949783802,0.011549782939255238,0.034924887120723724,0.02052030712366104,115,0.011549782939255238,
273
+ 271,True,0.008847367949783802,0.01161869801580906,0.03496517613530159,0.02049800381064415,115,0.01161869801580906,
274
+ 272,True,0.010708970949053764,0.013310831971466541,0.03751038759946823,0.02409629337489605,115,0.013310831971466541,
275
+ 273,True,0.010501796379685402,0.013268527574837208,0.0551399402320385,0.05207718163728714,115,0.013268527574837208,
276
+ 274,True,0.010923683643341064,0.01208130456507206,0.04626765847206116,0.039218656718730927,115,0.01208130456507206,
277
+ 275,True,0.010373864322900772,0.012491529807448387,0.04235491156578064,0.03927897661924362,115,0.012491529807448387,
278
+ 276,True,0.010547779500484467,0.012995016761124134,0.039333123713731766,0.02857396751642227,115,0.012995016761124134,
279
+ 277,True,0.0115548986941576,0.01333839911967516,0.03702012822031975,0.02304554171860218,115,0.01333839911967516,
280
+ 278,True,0.01120274979621172,0.013039144687354565,0.05413883924484253,0.055428482592105865,115,0.013039144687354565,
281
+ 279,True,0.012085411697626114,0.013203551061451435,0.03607137128710747,0.015723925083875656,115,0.013203551061451435,
282
+ 280,True,0.011213844642043114,0.01289965957403183,0.05266663804650307,0.049437202513217926,115,0.01289965957403183,
283
+ 281,True,0.010513492859899998,0.012483803555369377,0.03507862240076065,0.015295181423425674,115,0.012483803555369377,
284
+ 282,True,0.010797296650707722,0.012911362573504448,0.050191380083560944,0.051360197365283966,115,0.012911362573504448,
285
+ 283,True,0.010600236244499683,0.01268988847732544,0.0404302142560482,0.02826869674026966,115,0.01268988847732544,
286
+ 284,True,0.009969743900001049,0.011618790216743946,0.03943400830030441,0.03375086560845375,115,0.011618790216743946,
287
+ 285,True,0.010251523926854134,0.012621292844414711,0.03416774794459343,0.018709402531385422,115,0.012621292844414711,
288
+ 286,True,0.01096393819898367,0.012457977049052715,0.04942759498953819,0.050696395337581635,115,0.012457977049052715,
289
+ 287,True,0.01245274767279625,0.016533926129341125,0.04514744132757187,0.03738575056195259,115,0.016533926129341125,
290
+ 288,True,0.013128777034580708,0.016062511131167412,0.05091457813978195,0.04679878056049347,115,0.016062511131167412,
291
+ 289,True,0.011066574603319168,0.012151261791586876,0.038694195449352264,0.03103378601372242,115,0.012151261791586876,
292
+ 290,True,0.010804703459143639,0.013417380861938,0.03763315826654434,0.024790428578853607,115,0.013417380861938,
293
+ 291,True,0.01045903842896223,0.012026458978652954,0.051004912704229355,0.04688442125916481,115,0.012026458978652954,
294
+ 292,True,0.010189495049417019,0.011801889166235924,0.03346363827586174,0.01180744543671608,115,0.011801889166235924,
295
+ 293,True,0.01089719869196415,0.012222721241414547,0.044584304094314575,0.042574238032102585,115,0.012222721241414547,
296
+ 294,True,0.010102402418851852,0.012273113243281841,0.03828580304980278,0.024594739079475403,115,0.012273113243281841,
297
+ 295,True,0.013040930032730103,0.015214851126074791,0.05039377883076668,0.05136299878358841,115,0.015214851126074791,
298
+ 296,True,0.011521357111632824,0.012697065249085426,0.03340018168091774,0.013147085905075073,115,0.012697065249085426,
299
+ 297,True,0.010176853276789188,0.01335055660456419,0.05460084229707718,0.057311080396175385,115,0.01335055660456419,
300
+ 298,True,0.012169672176241875,0.013953819870948792,0.038616131991147995,0.031737152487039566,115,0.013953819870948792,
301
+ 299,True,0.012781797908246517,0.015323931351304054,0.059158194810152054,0.057180408388376236,115,0.015323931351304054,
302
+ 300,True,0.010261948220431805,0.012234617955982685,0.044580042362213135,0.03728487715125084,115,0.012234617955982685,
303
+ 301,True,0.010703259147703648,0.013531466014683247,0.03593996912240982,0.021165892481803894,115,0.013531466014683247,
304
+ 302,True,0.010083073750138283,0.013041864149272442,0.044611670076847076,0.03630490228533745,115,0.013041864149272442,
305
+ 303,True,0.009405845776200294,0.013082899153232574,0.036452535539865494,0.022471297532320023,115,0.013082899153232574,
306
+ 304,True,0.008950324729084969,0.011465239338576794,0.03918894752860069,0.03263053670525551,115,0.011465239338576794,
307
+ 305,True,0.008950324729084969,0.011510076932609081,0.03916098549962044,0.03256355971097946,115,0.011510076932609081,
308
+ 306,True,0.010579857043921947,0.013348412699997425,0.05074436590075493,0.05280083417892456,115,0.013348412699997425,
309
+ 307,True,0.010205645114183426,0.011971231549978256,0.04945077747106552,0.045483339577913284,115,0.011971231549978256,
310
+ 308,True,0.011157217435538769,0.013653297908604145,0.03701554983854294,0.023330308496952057,115,0.013653297908604145,
311
+ 309,True,0.010917933657765388,0.013347593136131763,0.054036032408475876,0.05038435012102127,115,0.013347593136131763,
312
+ 310,True,0.010149999521672726,0.014423495158553123,0.04466211050748825,0.03794422000646591,115,0.014423495158553123,
313
+ 311,True,0.011316826567053795,0.014650714583694935,0.04422733187675476,0.04285261407494545,115,0.014650714583694935,
314
+ 312,True,0.010456500574946404,0.01253217738121748,0.03880474716424942,0.026873651891946793,115,0.01253217738121748,
315
+ 313,True,0.011094027198851109,0.012603993527591228,0.03928833082318306,0.025501983240246773,115,0.012603993527591228,
316
+ 314,True,0.00975774135440588,0.012279989197850227,0.045283980667591095,0.04332670196890831,115,0.012279989197850227,
317
+ 315,True,0.010635731741786003,0.01289568841457367,0.04870691895484924,0.050001200288534164,115,0.01289568841457367,
318
+ 316,True,0.010008910670876503,0.01172915380448103,0.034417394548654556,0.02002383954823017,115,0.01172915380448103,
319
+ 317,True,0.009787488728761673,0.012721158564090729,0.03541651740670204,0.014879558235406876,115,0.012721158564090729,
320
+ 318,True,0.012245526537299156,0.014163553714752197,0.05396442487835884,0.05155310779809952,115,0.014163553714752197,
321
+ 319,True,0.0111441221088171,0.01384173147380352,0.03692283853888512,0.024165784940123558,115,0.01384173147380352,
322
+ 320,True,0.012102073058485985,0.013329913839697838,0.050624918192625046,0.05184781551361084,115,0.013329913839697838,
323
+ 321,True,0.010143120773136616,0.011902468279004097,0.03876736760139465,0.027204077690839767,115,0.011902468279004097,
324
+ 322,True,0.010474460199475288,0.012151897884905338,0.04005836695432663,0.03409339860081673,115,0.012151897884905338,
325
+ 323,True,0.01096393819898367,0.013003364205360413,0.05046512931585312,0.05190979689359665,115,0.013003364205360413,
326
+ 324,True,0.011233394965529442,0.013234411366283894,0.03864045441150665,0.031151296570897102,115,0.013234411366283894,
327
+ 325,True,0.010796640999615192,0.011942858807742596,0.039283543825149536,0.034196142107248306,115,0.011942858807742596,
328
+ 326,True,0.011364756152033806,0.013643475249409676,0.03446687385439873,0.014515629969537258,115,0.013643475249409676,
329
+ 327,True,0.010997493751347065,0.01240344438701868,0.043978720903396606,0.0369742251932621,115,0.01240344438701868,
330
+ 328,True,0.009615394286811352,0.012176346965134144,0.03393471986055374,0.012691551819443703,115,0.012176346965134144,
331
+ 329,True,0.011005302891135216,0.012086203321814537,0.04513982683420181,0.04459952190518379,115,0.012086203321814537,
332
+ 330,True,0.011522319167852402,0.01481376588344574,0.040498871356248856,0.025172986090183258,115,0.01481376588344574,
333
+ 331,True,0.011233671568334103,0.013948437757790089,0.0399288572371006,0.02888569049537182,115,0.013948437757790089,
334
+ 332,True,0.01094853039830923,0.01182685699313879,0.04225220903754234,0.03928939625620842,115,0.01182685699313879,
335
+ 333,True,0.010957827791571617,0.01235399954020977,0.033662308007478714,0.014501894824206829,115,0.01235399954020977,
336
+ 334,True,0.010522228665649891,0.012528657913208008,0.035171423107385635,0.021934935823082924,115,0.012528657913208008,
337
+ 335,True,0.011681165546178818,0.014869233593344688,0.04404989629983902,0.03693223372101784,115,0.014869233593344688,
338
+ 336,True,0.010230462066829205,0.012407016940414906,0.03827652335166931,0.03185355290770531,115,0.012407016940414906,
339
+ 337,True,0.012450383976101875,0.0141285490244627,0.04317630082368851,0.03249995410442352,115,0.0141285490244627,
340
+ 338,True,0.01040648203343153,0.012462783604860306,0.03390531241893768,0.011931288056075573,115,0.012462783604860306,
341
+ 339,True,0.009813087992370129,0.016127776354551315,0.04468565434217453,0.03703887388110161,115,0.016127776354551315,
342
+ 340,True,0.011102366261184216,0.013403205201029778,0.044372882694005966,0.043686240911483765,115,0.013403205201029778,
343
+ 341,True,0.010543610900640488,0.013400626368820667,0.03904144838452339,0.028493301942944527,115,0.013400626368820667,
344
+ 342,True,0.010541833937168121,0.01337279099971056,0.04860565811395645,0.04838969185948372,115,0.01337279099971056,
345
+ 343,True,0.010492951609194279,0.012373487465083599,0.03531397134065628,0.024326510727405548,115,0.012373487465083599,
346
+ 344,True,0.011077499948441982,0.012256180867552757,0.04672115668654442,0.041085973381996155,115,0.012256180867552757,
347
+ 345,True,0.01137775182723999,0.012188037857413292,0.034527674317359924,0.016077488660812378,115,0.012188037857413292,
348
+ 346,True,0.012414089404046535,0.013443263247609138,0.0486348420381546,0.044714704155921936,115,0.013443263247609138,
349
+ 347,True,0.010977273806929588,0.01249057799577713,0.043742112815380096,0.03610444813966751,115,0.01249057799577713,
350
+ 348,True,0.00925192330032587,0.012694220058619976,0.03584397956728935,0.017420483753085136,115,0.012694220058619976,
351
+ 349,True,0.013966660015285015,0.018003711476922035,0.05483357980847359,0.05684798210859299,115,0.018003711476922035,
352
+ 350,False,0.01106477677822113,0.013206787593662738,0.03651430830359459,0.022525833174586295,115,0.013206787593662738,290;92;276;210;28
353
+ 351,False,0.010699992440640927,0.012531449273228645,0.035466445982456206,0.020056487433612345,115,0.012531449273228645,85;33;200;343;63
354
+ 352,False,0.01099071241915226,0.013177142478525639,0.04898545369505882,0.049662868678569796,115,0.013177142478525639,243;282;87;90;183
355
+ 353,False,0.010996765270829201,0.012637670524418354,0.041707663983106616,0.03496098667383194,115,0.012637670524418354,114;118;174;278;322
356
+ 354,False,0.010281649231910706,0.012723585218191147,0.041948963701725,0.03695052452385426,115,0.012723585218191147,30;64;187;15;125
splits/compute_chamfer_splits.py ADDED
@@ -0,0 +1,818 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Compute STL-based Chamfer geometry splits for WindsorML.
3
+
4
+ This is intentionally standalone so it can be copied to the machine that has
5
+ the STL files. It expects a WindsorML-style directory layout:
6
+
7
+ DATA_ROOT/
8
+ run_0/windsor_0.stl
9
+ run_1/windsor_1.stl
10
+ ...
11
+
12
+ Outputs:
13
+ - sampled point clouds cached as NPZ files
14
+ - chamfer_metrics.csv with nearest-neighbor and outlier scores
15
+ - chamfer_manifest.json with geometry_{train,val,test}
16
+ - optional chamfer_distance_matrix.npy, a symmetric NxN float32 matrix
17
+ - optional sparse train subsets when a base manifest with full_train exists
18
+
19
+ Install dependencies on the data machine:
20
+
21
+ python -m pip install numpy scipy trimesh
22
+
23
+ Example:
24
+
25
+ python compute_chamfer_splits.py \
26
+ --data-root ../windsorml_hf_assets \
27
+ --output-dir /tmp/windsorml_chamfer \
28
+ --samples 4096 \
29
+ --workers 16 \
30
+ --allow-missing
31
+ """
32
+
33
+ from __future__ import annotations
34
+
35
+ import argparse
36
+ import csv
37
+ import hashlib
38
+ import json
39
+ import math
40
+ import random
41
+ import sys
42
+ import time
43
+ from concurrent.futures import ThreadPoolExecutor, as_completed
44
+ from dataclasses import dataclass
45
+ from pathlib import Path
46
+ from typing import Iterable
47
+
48
+ import numpy as np
49
+
50
+
51
+ N_CASES = 355
52
+ PUBLIC_RUN_IDS = list(range(N_CASES))
53
+ DEFAULT_TEST_FRACTION = 0.2
54
+ DEFAULT_VAL_FRACTION = 0.1
55
+ DEFAULT_SEED = 42
56
+ cKDTree = None
57
+ trimesh = None
58
+
59
+
60
+ @dataclass(frozen=True)
61
+ class RunFile:
62
+ run_id: int
63
+ stl_path: Path
64
+
65
+
66
+ def case_id(run_id: int) -> str:
67
+ return f"run_{run_id}"
68
+
69
+
70
+ def run_id(case: str) -> int:
71
+ if not case.startswith("run_"):
72
+ raise ValueError(f"bad case id: {case!r}")
73
+ return int(case.split("_", 1)[1])
74
+
75
+
76
+ def require_dependencies() -> None:
77
+ global cKDTree, trimesh
78
+ try:
79
+ from scipy.spatial import cKDTree as scipy_ckdtree
80
+ except Exception as exc: # pragma: no cover - dependency guard
81
+ raise SystemExit(
82
+ "Missing dependency scipy. Install with: python -m pip install numpy scipy trimesh"
83
+ ) from exc
84
+ try:
85
+ import trimesh as trimesh_module
86
+ except Exception as exc: # pragma: no cover - dependency guard
87
+ raise SystemExit(
88
+ "Missing dependency trimesh. Install with: python -m pip install numpy scipy trimesh"
89
+ ) from exc
90
+ cKDTree = scipy_ckdtree
91
+ trimesh = trimesh_module
92
+
93
+
94
+ def parse_args() -> argparse.Namespace:
95
+ parser = argparse.ArgumentParser(
96
+ description="Compute STL-surface Chamfer distances and WindsorML geometry splits.",
97
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
98
+ )
99
+ parser.add_argument(
100
+ "--data-root",
101
+ type=Path,
102
+ required=True,
103
+ help="Directory containing run_N/windsor_N.stl files and aggregate CSVs.",
104
+ )
105
+ parser.add_argument(
106
+ "--output-dir",
107
+ type=Path,
108
+ required=True,
109
+ help="Directory where matrices, metrics, and manifests will be written.",
110
+ )
111
+ parser.add_argument(
112
+ "--samples",
113
+ type=int,
114
+ default=4096,
115
+ help="Surface sample count per STL. 4096 is a practical first pass; 10000+ is better for final splits.",
116
+ )
117
+ parser.add_argument(
118
+ "--workers",
119
+ type=int,
120
+ default=8,
121
+ help="Thread workers used for pairwise nearest-neighbor queries.",
122
+ )
123
+ parser.add_argument(
124
+ "--sample-workers",
125
+ type=int,
126
+ default=1,
127
+ help="Thread workers used while loading and sampling STLs.",
128
+ )
129
+ parser.add_argument(
130
+ "--seed",
131
+ type=int,
132
+ default=DEFAULT_SEED,
133
+ help="Base random seed for deterministic surface sampling and split selection.",
134
+ )
135
+ parser.add_argument(
136
+ "--k-neighbors",
137
+ type=int,
138
+ default=10,
139
+ help="K used for the local-isolation geometry score.",
140
+ )
141
+ parser.add_argument(
142
+ "--test-fraction",
143
+ type=float,
144
+ default=DEFAULT_TEST_FRACTION,
145
+ help="Fraction held out as OOD test for geometry.",
146
+ )
147
+ parser.add_argument(
148
+ "--val-fraction",
149
+ type=float,
150
+ default=DEFAULT_VAL_FRACTION,
151
+ help="Overall validation fraction. Validation is sampled from the train-side pool.",
152
+ )
153
+ parser.add_argument(
154
+ "--score",
155
+ choices=["knn", "medoid", "mean"],
156
+ default="knn",
157
+ help="Score used to rank OOD geometry cases.",
158
+ )
159
+ parser.add_argument(
160
+ "--center",
161
+ choices=["none", "bbox", "centroid"],
162
+ default="none",
163
+ help="How to remove translation before Chamfer. Use none when STLs share a common coordinate frame.",
164
+ )
165
+ parser.add_argument(
166
+ "--scale-mode",
167
+ choices=["global_median_bbox", "per_mesh_bbox", "none"],
168
+ default="global_median_bbox",
169
+ help="How to scale coordinates before Chamfer. global_median_bbox keeps real relative vehicle size.",
170
+ )
171
+ parser.add_argument(
172
+ "--runs",
173
+ type=str,
174
+ default="public",
175
+ help=(
176
+ "Run IDs to process: public, all, or a comma/range expression like "
177
+ "0,1,10-20. For WindsorML, public and all both mean 0..354."
178
+ ),
179
+ )
180
+ parser.add_argument(
181
+ "--base-manifest",
182
+ type=Path,
183
+ default=None,
184
+ help=(
185
+ "Optional existing split manifest. If it contains full_train/full_val/full_test, "
186
+ "the script also writes geometry_medium/scarce/super_scarce splits."
187
+ ),
188
+ )
189
+ parser.add_argument(
190
+ "--force-resample",
191
+ action="store_true",
192
+ help="Ignore cached point clouds and resample all STLs.",
193
+ )
194
+ parser.add_argument(
195
+ "--force-matrix",
196
+ action="store_true",
197
+ help="Recompute the Chamfer matrix even if a compatible matrix already exists.",
198
+ )
199
+ parser.add_argument(
200
+ "--write-matrix",
201
+ action="store_true",
202
+ help="Write chamfer_distance_matrix.npy and its metadata JSON. Omitted by default to keep the split package lean.",
203
+ )
204
+ parser.add_argument(
205
+ "--allow-missing",
206
+ action="store_true",
207
+ help="Process the subset of requested runs whose STLs exist. Without this, missing STLs are an error.",
208
+ )
209
+ parser.add_argument(
210
+ "--write-csv-matrix",
211
+ action="store_true",
212
+ help="Also write chamfer_distance_matrix.csv from the in-memory matrix.",
213
+ )
214
+ return parser.parse_args()
215
+
216
+
217
+ def parse_run_expression(expr: str) -> list[int]:
218
+ expr = expr.strip().lower()
219
+ if expr == "public":
220
+ return PUBLIC_RUN_IDS.copy()
221
+ if expr == "all":
222
+ return list(range(N_CASES))
223
+
224
+ result: set[int] = set()
225
+ for token in expr.split(","):
226
+ token = token.strip()
227
+ if not token:
228
+ continue
229
+ if "-" in token:
230
+ start_s, end_s = token.split("-", 1)
231
+ start, end = int(start_s), int(end_s)
232
+ if start > end:
233
+ start, end = end, start
234
+ result.update(range(start, end + 1))
235
+ else:
236
+ result.add(int(token))
237
+ runs = sorted(result)
238
+ bad = [rid for rid in runs if rid < 0 or rid >= N_CASES]
239
+ if bad:
240
+ raise SystemExit(f"Run IDs must be in 0..{N_CASES - 1}; bad values: {bad}")
241
+ return runs
242
+
243
+
244
+ def discover_files(data_root: Path, requested_runs: Iterable[int], allow_missing: bool) -> list[RunFile]:
245
+ files: list[RunFile] = []
246
+ missing: list[int] = []
247
+ for rid in requested_runs:
248
+ path = data_root / f"run_{rid}" / f"windsor_{rid}.stl"
249
+ if path.exists() and path.stat().st_size > 0:
250
+ files.append(RunFile(rid, path))
251
+ else:
252
+ missing.append(rid)
253
+
254
+ if missing and not allow_missing:
255
+ preview = ", ".join(str(x) for x in missing[:20])
256
+ suffix = " ..." if len(missing) > 20 else ""
257
+ raise SystemExit(
258
+ f"Missing {len(missing)} requested STL files under {data_root}: {preview}{suffix}\n"
259
+ "Use --allow-missing to compute with the available subset."
260
+ )
261
+ if not files:
262
+ raise SystemExit(f"No STL files found under {data_root}")
263
+ return files
264
+
265
+
266
+ def load_mesh(path: Path) -> "trimesh.Trimesh":
267
+ mesh = trimesh.load_mesh(path, process=False)
268
+ if isinstance(mesh, trimesh.Scene):
269
+ geometries = [g for g in mesh.geometry.values() if len(g.faces) > 0]
270
+ if not geometries:
271
+ raise ValueError(f"{path} did not contain any mesh geometry")
272
+ mesh = trimesh.util.concatenate(geometries)
273
+ if not isinstance(mesh, trimesh.Trimesh):
274
+ raise ValueError(f"{path} loaded as unsupported object: {type(mesh)!r}")
275
+ if len(mesh.faces) == 0:
276
+ raise ValueError(f"{path} has no faces")
277
+ return mesh
278
+
279
+
280
+ def sample_mesh_surface(mesh: "trimesh.Trimesh", count: int, seed: int) -> np.ndarray:
281
+ """Area-sample points from a triangular mesh using a local RNG."""
282
+ rng = np.random.default_rng(seed)
283
+ areas = np.asarray(mesh.area_faces, dtype=np.float64)
284
+ total_area = float(np.sum(areas))
285
+ if not math.isfinite(total_area) or total_area <= 0.0:
286
+ raise ValueError("mesh surface area is zero or invalid")
287
+
288
+ face_indices = rng.choice(len(mesh.faces), size=count, replace=True, p=areas / total_area)
289
+ triangles = np.asarray(mesh.vertices[mesh.faces[face_indices]], dtype=np.float64)
290
+
291
+ u = rng.random(count)
292
+ v = rng.random(count)
293
+ outside = (u + v) > 1.0
294
+ u[outside] = 1.0 - u[outside]
295
+ v[outside] = 1.0 - v[outside]
296
+ points = triangles[:, 0] + u[:, None] * (triangles[:, 1] - triangles[:, 0]) + v[:, None] * (
297
+ triangles[:, 2] - triangles[:, 0]
298
+ )
299
+ return np.asarray(points, dtype=np.float32)
300
+
301
+
302
+ def cache_path(cache_dir: Path, run: RunFile, samples: int, seed: int) -> Path:
303
+ source = f"{run.stl_path.resolve()}:{run.stl_path.stat().st_size}:{samples}:{seed}:{run.run_id}"
304
+ digest = hashlib.sha256(source.encode("utf-8")).hexdigest()[:16]
305
+ return cache_dir / f"run_{run.run_id:03d}_samples_{samples}_{digest}.npz"
306
+
307
+
308
+ def sample_one(run: RunFile, cache_dir: Path, samples: int, seed: int, force: bool) -> tuple[int, np.ndarray, np.ndarray, np.ndarray]:
309
+ cache = cache_path(cache_dir, run, samples, seed)
310
+ if cache.exists() and not force:
311
+ data = np.load(cache)
312
+ points = np.asarray(data["points"], dtype=np.float32)
313
+ bbox_min = np.asarray(data["bbox_min"], dtype=np.float32)
314
+ bbox_max = np.asarray(data["bbox_max"], dtype=np.float32)
315
+ if points.shape == (samples, 3):
316
+ return run.run_id, points, bbox_min, bbox_max
317
+
318
+ mesh = load_mesh(run.stl_path)
319
+ points = sample_mesh_surface(mesh, samples, seed + run.run_id)
320
+ bbox_min = np.asarray(mesh.bounds[0], dtype=np.float32)
321
+ bbox_max = np.asarray(mesh.bounds[1], dtype=np.float32)
322
+ np.savez_compressed(
323
+ cache,
324
+ run_id=np.asarray(run.run_id, dtype=np.int32),
325
+ points=points,
326
+ bbox_min=bbox_min,
327
+ bbox_max=bbox_max,
328
+ source=str(run.stl_path),
329
+ samples=np.asarray(samples, dtype=np.int32),
330
+ seed=np.asarray(seed, dtype=np.int32),
331
+ )
332
+ return run.run_id, points, bbox_min, bbox_max
333
+
334
+
335
+ def sample_point_clouds(
336
+ runs: list[RunFile],
337
+ cache_dir: Path,
338
+ samples: int,
339
+ seed: int,
340
+ workers: int,
341
+ force: bool,
342
+ ) -> tuple[list[int], list[np.ndarray], np.ndarray, np.ndarray]:
343
+ cache_dir.mkdir(parents=True, exist_ok=True)
344
+ started = time.time()
345
+ print(f"Sampling/caching {len(runs)} STL point clouds with {samples} points each...")
346
+
347
+ outputs: list[tuple[int, np.ndarray, np.ndarray, np.ndarray]] = []
348
+ with ThreadPoolExecutor(max_workers=max(1, workers)) as pool:
349
+ futures = [pool.submit(sample_one, run, cache_dir, samples, seed, force) for run in runs]
350
+ for idx, future in enumerate(as_completed(futures), start=1):
351
+ outputs.append(future.result())
352
+ if idx == len(futures) or idx % 25 == 0:
353
+ print(f" sampled {idx}/{len(futures)}")
354
+
355
+ outputs.sort(key=lambda x: x[0])
356
+ run_ids = [x[0] for x in outputs]
357
+ clouds = [x[1] for x in outputs]
358
+ bbox_min = np.stack([x[2] for x in outputs])
359
+ bbox_max = np.stack([x[3] for x in outputs])
360
+ print(f"Sampling complete in {time.time() - started:.1f}s")
361
+ return run_ids, clouds, bbox_min, bbox_max
362
+
363
+
364
+ def normalize_clouds(
365
+ clouds: list[np.ndarray],
366
+ bbox_min: np.ndarray,
367
+ bbox_max: np.ndarray,
368
+ center: str,
369
+ scale_mode: str,
370
+ ) -> tuple[list[np.ndarray], dict[str, float | str]]:
371
+ result: list[np.ndarray] = []
372
+ bbox_diag = np.linalg.norm(bbox_max - bbox_min, axis=1)
373
+ global_scale = float(np.median(bbox_diag))
374
+ if not math.isfinite(global_scale) or global_scale <= 0:
375
+ global_scale = 1.0
376
+
377
+ for idx, points in enumerate(clouds):
378
+ pts = points.astype(np.float32, copy=True)
379
+ if center == "bbox":
380
+ pts -= ((bbox_min[idx] + bbox_max[idx]) * 0.5).astype(np.float32)
381
+ elif center == "centroid":
382
+ pts -= pts.mean(axis=0, keepdims=True)
383
+
384
+ if scale_mode == "global_median_bbox":
385
+ scale = global_scale
386
+ elif scale_mode == "per_mesh_bbox":
387
+ scale = float(bbox_diag[idx]) if bbox_diag[idx] > 0 else 1.0
388
+ else:
389
+ scale = 1.0
390
+ pts /= np.float32(scale)
391
+ result.append(pts)
392
+
393
+ metadata: dict[str, float | str] = {
394
+ "center": center,
395
+ "scale_mode": scale_mode,
396
+ "global_median_bbox_diag": global_scale,
397
+ }
398
+ return result, metadata
399
+
400
+
401
+ def pair_chamfer_rms(i: int, j: int, clouds: list[np.ndarray], trees: list[cKDTree]) -> tuple[int, int, float]:
402
+ a_to_b, _ = trees[j].query(clouds[i], k=1)
403
+ b_to_a, _ = trees[i].query(clouds[j], k=1)
404
+ chamfer = float(np.sqrt(0.5 * (np.mean(a_to_b * a_to_b) + np.mean(b_to_a * b_to_a))))
405
+ return i, j, chamfer
406
+
407
+
408
+ def matrix_metadata_path(output_dir: Path) -> Path:
409
+ return output_dir / "chamfer_distance_matrix.meta.json"
410
+
411
+
412
+ def matrix_is_compatible(output_dir: Path, run_ids: list[int], args: argparse.Namespace) -> bool:
413
+ matrix_path = output_dir / "chamfer_distance_matrix.npy"
414
+ meta_path = matrix_metadata_path(output_dir)
415
+ if not matrix_path.exists() or not meta_path.exists():
416
+ return False
417
+ try:
418
+ meta = json.loads(meta_path.read_text(encoding="utf-8"))
419
+ except Exception:
420
+ return False
421
+ return (
422
+ meta.get("run_ids") == run_ids
423
+ and meta.get("samples") == args.samples
424
+ and meta.get("seed") == args.seed
425
+ and meta.get("center") == args.center
426
+ and meta.get("scale_mode") == args.scale_mode
427
+ and meta.get("metric") == "symmetric_chamfer_rms"
428
+ )
429
+
430
+
431
+ def compute_chamfer_matrix(
432
+ run_ids: list[int],
433
+ clouds: list[np.ndarray],
434
+ output_dir: Path,
435
+ args: argparse.Namespace,
436
+ normalization_metadata: dict[str, float | str],
437
+ ) -> np.ndarray:
438
+ matrix_path = output_dir / "chamfer_distance_matrix.npy"
439
+ if matrix_is_compatible(output_dir, run_ids, args) and not args.force_matrix:
440
+ print(f"Loading existing compatible matrix: {matrix_path}")
441
+ return np.load(matrix_path)
442
+
443
+ n = len(clouds)
444
+ print(f"Building {n} KD trees...")
445
+ trees = [cKDTree(points) for points in clouds]
446
+ matrix = np.zeros((n, n), dtype=np.float32)
447
+ pairs = [(i, j) for i in range(n) for j in range(i + 1, n)]
448
+ started = time.time()
449
+ print(f"Computing {len(pairs)} pairwise symmetric Chamfer RMS distances...")
450
+
451
+ with ThreadPoolExecutor(max_workers=max(1, args.workers)) as pool:
452
+ futures = [pool.submit(pair_chamfer_rms, i, j, clouds, trees) for i, j in pairs]
453
+ for done, future in enumerate(as_completed(futures), start=1):
454
+ i, j, value = future.result()
455
+ matrix[i, j] = matrix[j, i] = np.float32(value)
456
+ if done == len(futures) or done % 1000 == 0:
457
+ elapsed = time.time() - started
458
+ rate = done / elapsed if elapsed > 0 else 0.0
459
+ remaining = (len(futures) - done) / rate if rate > 0 else float("nan")
460
+ print(
461
+ f" pairs {done}/{len(futures)} "
462
+ f"({100 * done / len(futures):5.1f}%), ETA {remaining / 60:5.1f} min"
463
+ )
464
+
465
+ if args.write_matrix:
466
+ np.save(matrix_path, matrix)
467
+ metadata = {
468
+ "run_ids": run_ids,
469
+ "samples": args.samples,
470
+ "seed": args.seed,
471
+ "center": args.center,
472
+ "scale_mode": args.scale_mode,
473
+ "metric": "symmetric_chamfer_rms",
474
+ "created_unix_time": time.time(),
475
+ **normalization_metadata,
476
+ }
477
+ matrix_metadata_path(output_dir).write_text(json.dumps(metadata, indent=2) + "\n", encoding="utf-8")
478
+ print(f"Matrix written: {matrix_path}")
479
+ return matrix
480
+
481
+
482
+ def write_csv_matrix(path: Path, run_ids: list[int], matrix: np.ndarray) -> None:
483
+ with path.open("w", encoding="utf-8", newline="") as f:
484
+ writer = csv.writer(f)
485
+ writer.writerow(["run", *[case_id(rid) for rid in run_ids]])
486
+ for rid, row in zip(run_ids, matrix):
487
+ writer.writerow([case_id(rid), *[f"{float(x):.8g}" for x in row]])
488
+
489
+
490
+ def metric_values(run_ids: list[int], matrix: np.ndarray, k_neighbors: int) -> tuple[list[dict[str, float | int]], dict[int, float]]:
491
+ n = len(run_ids)
492
+ if n < 2:
493
+ raise SystemExit("At least two STL files are required to compute Chamfer metrics")
494
+ k = min(max(1, k_neighbors), n - 1)
495
+ means = matrix.sum(axis=1) / (n - 1)
496
+ medoid_index = int(np.argmin(means))
497
+ medoid_run = run_ids[medoid_index]
498
+ rows: list[dict[str, float | int]] = []
499
+ knn_scores: dict[int, float] = {}
500
+
501
+ for idx, rid in enumerate(run_ids):
502
+ nonself = np.delete(matrix[idx], idx)
503
+ sorted_dist = np.sort(nonself)
504
+ nearest = float(sorted_dist[0])
505
+ knn_mean = float(np.mean(sorted_dist[:k]))
506
+ mean_all = float(means[idx])
507
+ medoid_distance = float(matrix[idx, medoid_index])
508
+ knn_scores[rid] = knn_mean
509
+ rows.append(
510
+ {
511
+ "run": rid,
512
+ "nearest_neighbor_chamfer": nearest,
513
+ f"mean_{k}_nn_chamfer": knn_mean,
514
+ "mean_all_chamfer": mean_all,
515
+ "medoid_chamfer": medoid_distance,
516
+ "medoid_run": medoid_run,
517
+ }
518
+ )
519
+ return rows, knn_scores
520
+
521
+
522
+ def score_map(
523
+ run_ids: list[int],
524
+ matrix: np.ndarray,
525
+ metrics: list[dict[str, float | int]],
526
+ score_name: str,
527
+ k_neighbors: int,
528
+ ) -> dict[int, float]:
529
+ if score_name == "knn":
530
+ key = f"mean_{min(max(1, k_neighbors), len(run_ids) - 1)}_nn_chamfer"
531
+ elif score_name == "medoid":
532
+ key = "medoid_chamfer"
533
+ else:
534
+ key = "mean_all_chamfer"
535
+ return {int(row["run"]): float(row[key]) for row in metrics}
536
+
537
+
538
+ def split_pool(pool: list[int], val_fraction_of_pool: float, seed: int, salt: str) -> tuple[list[int], list[int]]:
539
+ rng_seed = hashlib.sha256(f"{seed}:{salt}".encode("utf-8")).digest()[:8]
540
+ rng = random.Random(int.from_bytes(rng_seed, "big"))
541
+ shuffled = pool.copy()
542
+ rng.shuffle(shuffled)
543
+ n_val = round(len(pool) * val_fraction_of_pool)
544
+ val = sorted(shuffled[:n_val])
545
+ train = sorted(shuffled[n_val:])
546
+ return train, val
547
+
548
+
549
+ def ranked_ood_split(
550
+ scores: dict[int, float],
551
+ test_fraction: float,
552
+ val_fraction: float,
553
+ seed: int,
554
+ salt: str,
555
+ ) -> tuple[list[int], list[int], list[int]]:
556
+ ranked = sorted(scores, key=lambda rid: (scores[rid], rid))
557
+ n_test = round(len(ranked) * test_fraction)
558
+ test = sorted(ranked[-n_test:])
559
+ pool = sorted(ranked[:-n_test])
560
+ val_fraction_of_pool = val_fraction / (1.0 - test_fraction)
561
+ train, val = split_pool(pool, val_fraction_of_pool, seed, salt)
562
+ return train, val, test
563
+
564
+
565
+ def make_case_ids(values: Iterable[int]) -> list[str]:
566
+ return [case_id(rid) for rid in sorted(values)]
567
+
568
+
569
+ def farthest_order(pool: list[int], run_to_index: dict[int, int], matrix: np.ndarray, seed: int) -> list[int]:
570
+ if not pool:
571
+ return []
572
+
573
+ mean_dist = {
574
+ rid: float(np.mean([matrix[run_to_index[rid], run_to_index[other]] for other in pool if other != rid]))
575
+ for rid in pool
576
+ }
577
+ first = max(pool, key=lambda rid: (mean_dist[rid], -rid))
578
+ selected = [first]
579
+ remaining = [rid for rid in pool if rid != first]
580
+
581
+ rng_seed = hashlib.sha256(f"{seed}:geometry_sparse_order".encode("utf-8")).digest()[:8]
582
+ rng = random.Random(int.from_bytes(rng_seed, "big"))
583
+ tie_break = {rid: rng.random() for rid in pool}
584
+
585
+ while remaining:
586
+ next_rid = max(
587
+ remaining,
588
+ key=lambda rid: (
589
+ min(matrix[run_to_index[rid], run_to_index[chosen]] for chosen in selected),
590
+ tie_break[rid],
591
+ ),
592
+ )
593
+ selected.append(next_rid)
594
+ remaining.remove(next_rid)
595
+ return selected
596
+
597
+
598
+ def load_base_manifest(path: Path | None) -> dict[str, list[str]]:
599
+ if path is None:
600
+ candidate = Path(__file__).resolve().parents[1] / "splits" / "manifest.json"
601
+ if not candidate.exists():
602
+ return {}
603
+ path = candidate
604
+ if not path.exists():
605
+ raise SystemExit(f"Base manifest does not exist: {path}")
606
+ return json.loads(path.read_text(encoding="utf-8"))
607
+
608
+
609
+ def _clean_row(row: dict[str, str]) -> dict[str, str]:
610
+ return {key.strip(): value.strip() for key, value in row.items() if key is not None}
611
+
612
+
613
+ def load_imputation_features(data_root: Path) -> dict[int, list[float]]:
614
+ tables: list[dict[int, dict[str, float]]] = []
615
+ for filename in ["force_mom_all.csv", "geo_parameters_all.csv"]:
616
+ path = data_root / filename
617
+ if not path.exists():
618
+ raise SystemExit(f"Missing {path}; aggregate CSVs are required to impute absent STL scores")
619
+ records: dict[int, dict[str, float]] = {}
620
+ with path.open(encoding="utf-8-sig", newline="") as f:
621
+ for raw in csv.DictReader(f):
622
+ row = _clean_row(raw)
623
+ records[int(row["run"])] = {key: float(value) for key, value in row.items() if key != "run"}
624
+ tables.append(records)
625
+
626
+ missing = sorted(set(PUBLIC_RUN_IDS) - set(tables[0]) | (set(PUBLIC_RUN_IDS) - set(tables[1])))
627
+ if missing:
628
+ raise SystemExit(f"Aggregate CSVs are missing WindsorML runs: {missing}")
629
+ fields = [sorted(next(iter(table.values())).keys()) for table in tables]
630
+ return {
631
+ run: [value for table, names in zip(tables, fields) for name in names for value in [table[run][name]]]
632
+ for run in PUBLIC_RUN_IDS
633
+ }
634
+
635
+
636
+ def complete_metrics(
637
+ requested_runs: list[int],
638
+ metrics: list[dict[str, float | int]],
639
+ scores: dict[int, float],
640
+ data_root: Path,
641
+ neighbor_count: int = 5,
642
+ ) -> tuple[list[dict[str, float | int | str | bool]], dict[int, float], int]:
643
+ rows_by_run = {int(row["run"]): row for row in metrics}
644
+ observed_runs = sorted(rows_by_run)
645
+ missing_runs = sorted(set(requested_runs) - set(observed_runs))
646
+ complete_scores = scores.copy()
647
+ complete_rows: dict[int, dict[str, float | int | str | bool]] = {}
648
+ for run in observed_runs:
649
+ complete_rows[run] = {
650
+ **rows_by_run[run],
651
+ "geometry_observed": True,
652
+ "imputation_neighbors": "",
653
+ }
654
+
655
+ if missing_runs:
656
+ features = load_imputation_features(data_root)
657
+ all_matrix = np.asarray([features[run] for run in PUBLIC_RUN_IDS], dtype=float)
658
+ means = all_matrix.mean(axis=0)
659
+ stds = all_matrix.std(axis=0)
660
+ stds[stds == 0.0] = 1.0
661
+ standardized = (all_matrix - means) / stds
662
+ numeric_fields = [key for key in metrics[0] if key not in {"run", "medoid_run"}]
663
+ for run in missing_runs:
664
+ nearest = sorted(
665
+ observed_runs,
666
+ key=lambda candidate: (float(np.linalg.norm(standardized[candidate] - standardized[run])), candidate),
667
+ )[: max(1, min(neighbor_count, len(observed_runs)))]
668
+ row: dict[str, float | int | str | bool] = {
669
+ "run": run,
670
+ "geometry_observed": False,
671
+ "medoid_run": int(metrics[0]["medoid_run"]),
672
+ "imputation_neighbors": ";".join(str(value) for value in nearest),
673
+ }
674
+ for field in numeric_fields:
675
+ row[field] = float(np.mean([float(rows_by_run[candidate][field]) for candidate in nearest]))
676
+ complete_scores[run] = float(np.mean([scores[candidate] for candidate in nearest]))
677
+ complete_rows[run] = row
678
+ return [complete_rows[run] for run in sorted(complete_rows)], complete_scores, len(missing_runs)
679
+
680
+
681
+ def write_metrics_csv(
682
+ path: Path,
683
+ metrics: list[dict[str, float | int | str | bool]],
684
+ scores: dict[int, float],
685
+ ) -> None:
686
+ metric_fields = [key for key in metrics[0] if key not in {"run", "geometry_observed", "imputation_neighbors"}]
687
+ fieldnames = ["run", "geometry_observed", *metric_fields, "ood_score", "imputation_neighbors"]
688
+ with path.open("w", encoding="utf-8", newline="") as f:
689
+ writer = csv.DictWriter(f, fieldnames=fieldnames)
690
+ writer.writeheader()
691
+ for row in metrics:
692
+ out = dict(row)
693
+ out["ood_score"] = scores[int(row["run"])]
694
+ writer.writerow(out)
695
+
696
+
697
+ def build_manifest(
698
+ run_ids: list[int],
699
+ matrix: np.ndarray,
700
+ scores: dict[int, float],
701
+ args: argparse.Namespace,
702
+ ) -> dict[str, list[str]]:
703
+ train, val, test = ranked_ood_split(
704
+ scores,
705
+ test_fraction=args.test_fraction,
706
+ val_fraction=args.val_fraction,
707
+ seed=args.seed,
708
+ salt="geometry_val_selection",
709
+ )
710
+ manifest: dict[str, list[str]] = {
711
+ "geometry_train": make_case_ids(train),
712
+ "geometry_val": make_case_ids(val),
713
+ "geometry_test": make_case_ids(test),
714
+ }
715
+
716
+ base = load_base_manifest(args.base_manifest)
717
+ required = {"full_train", "full_val", "full_test"}
718
+ if not required <= set(base):
719
+ return manifest
720
+
721
+ available = set(run_ids)
722
+ full_train = [run_id(cid) for cid in base["full_train"] if run_id(cid) in available]
723
+ if len(full_train) < 20:
724
+ return manifest
725
+
726
+ run_to_index = {rid: idx for idx, rid in enumerate(run_ids)}
727
+ order = farthest_order(full_train, run_to_index, matrix, args.seed)
728
+ medium = round(len(order) / 3)
729
+ scarce = round(len(order) / 6)
730
+ super_scarce = max(1, round(len(order) / 36))
731
+ sparse_sets = {
732
+ "geometry_medium": sorted(order[:medium]),
733
+ "geometry_scarce": sorted(order[:scarce]),
734
+ "geometry_super_scarce": sorted(order[:super_scarce]),
735
+ }
736
+ for name, ids in sparse_sets.items():
737
+ manifest[f"{name}_train"] = make_case_ids(ids)
738
+ manifest[f"{name}_val"] = [cid for cid in base["full_val"] if run_id(cid) in available]
739
+ manifest[f"{name}_test"] = [cid for cid in base["full_test"] if run_id(cid) in available]
740
+ manifest["geometry_sparse_order"] = make_case_ids(order)
741
+ return manifest
742
+
743
+
744
+ def summarize_split(name: str, manifest: dict[str, list[str]]) -> str:
745
+ return (
746
+ f"{name}: "
747
+ f"train={len(manifest.get(name + '_train', []))}, "
748
+ f"val={len(manifest.get(name + '_val', []))}, "
749
+ f"test={len(manifest.get(name + '_test', []))}"
750
+ )
751
+
752
+
753
+ def main() -> None:
754
+ args = parse_args()
755
+ require_dependencies()
756
+ args.data_root = args.data_root.expanduser().resolve()
757
+ args.output_dir = args.output_dir.expanduser().resolve()
758
+ args.output_dir.mkdir(parents=True, exist_ok=True)
759
+
760
+ requested_runs = parse_run_expression(args.runs)
761
+ run_files = discover_files(args.data_root, requested_runs, args.allow_missing)
762
+ print(f"Found {len(run_files)} STL files under {args.data_root}")
763
+
764
+ run_ids, raw_clouds, bbox_min, bbox_max = sample_point_clouds(
765
+ run_files,
766
+ cache_dir=args.output_dir / "point_cloud_cache",
767
+ samples=args.samples,
768
+ seed=args.seed,
769
+ workers=args.sample_workers,
770
+ force=args.force_resample,
771
+ )
772
+ clouds, normalization_metadata = normalize_clouds(
773
+ raw_clouds,
774
+ bbox_min,
775
+ bbox_max,
776
+ center=args.center,
777
+ scale_mode=args.scale_mode,
778
+ )
779
+ matrix = compute_chamfer_matrix(run_ids, clouds, args.output_dir, args, normalization_metadata)
780
+ if args.write_csv_matrix:
781
+ write_csv_matrix(args.output_dir / "chamfer_distance_matrix.csv", run_ids, matrix)
782
+
783
+ metrics, _knn_scores = metric_values(run_ids, matrix, args.k_neighbors)
784
+ observed_scores = score_map(run_ids, matrix, metrics, args.score, args.k_neighbors)
785
+ complete_rows, scores, missing_count = complete_metrics(
786
+ requested_runs,
787
+ metrics,
788
+ observed_scores,
789
+ args.data_root,
790
+ )
791
+ write_metrics_csv(args.output_dir / "chamfer_metrics.csv", complete_rows, scores)
792
+
793
+ manifest = build_manifest(run_ids, matrix, scores, args)
794
+ manifest_path = args.output_dir / "chamfer_manifest.json"
795
+ manifest_path.write_text(json.dumps(manifest, indent=2) + "\n", encoding="utf-8")
796
+
797
+ print()
798
+ print("Chamfer split summary")
799
+ print("=" * 60)
800
+ print(f"Runs: {len(requested_runs)} ({len(run_ids)} observed STL, {missing_count} imputed)")
801
+ print(f"Metric: symmetric Chamfer RMS; score={args.score}")
802
+ print(f"Metrics: {args.output_dir / 'chamfer_metrics.csv'}")
803
+ if args.write_matrix:
804
+ print(f"Matrix: {args.output_dir / 'chamfer_distance_matrix.npy'}")
805
+ else:
806
+ print("Matrix: not written; pass --write-matrix to save the full NPY")
807
+ print(f"Manifest: {manifest_path}")
808
+ print(" " + summarize_split("geometry", manifest))
809
+ for prefix in ["geometry_medium", "geometry_scarce", "geometry_super_scarce"]:
810
+ if f"{prefix}_train" in manifest:
811
+ print(" " + summarize_split(prefix, manifest))
812
+
813
+
814
+ if __name__ == "__main__":
815
+ try:
816
+ main()
817
+ except KeyboardInterrupt:
818
+ sys.exit("Interrupted")
splits/compute_image_metrics.py ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Compute WindsorML image-derived wake scores from velocity PNGs.
2
+
3
+ The score measures the area and intensity of low streamwise velocity in two
4
+ near-centreline z-constant views and three x-constant planes immediately behind
5
+ the body. Missing image scores can be imputed from the five nearest observed
6
+ cases in standardized force/geometry feature space; the CSV records whether
7
+ each score was observed or imputed.
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import argparse
13
+ import csv
14
+ import os
15
+ from pathlib import Path
16
+
17
+ import numpy as np
18
+ from PIL import Image
19
+
20
+
21
+ N_CASES = 355
22
+ RUN_IDS = list(range(N_CASES))
23
+ SCRIPT_DIR = Path(__file__).resolve().parent
24
+ REPOSITORY_ROOT = SCRIPT_DIR.parent
25
+ DATA_DIR = SCRIPT_DIR
26
+ DEFAULT_ASSET_ROOT = Path(os.environ.get("WINDSORML_ASSET_ROOT", REPOSITORY_ROOT.parent / "windsorml_hf_assets"))
27
+ CENTERLINE_Z_INDICES = (4, 5)
28
+ NEAR_WAKE_X_INDICES = (53, 55, 57)
29
+
30
+
31
+ def parse_args() -> argparse.Namespace:
32
+ parser = argparse.ArgumentParser(description="Compute WindsorML velocity-image wake metrics.")
33
+ parser.add_argument("--asset-root", type=Path, default=DEFAULT_ASSET_ROOT, help="Directory containing run_*/images assets.")
34
+ parser.add_argument("--data-root", type=Path, default=REPOSITORY_ROOT, help="Directory containing aggregate force/geometry CSVs.")
35
+ parser.add_argument("--output", type=Path, default=DATA_DIR / "image_metrics.csv", help="CSV output path.")
36
+ parser.add_argument("--neighbors", type=int, default=5, help="Nearest observed cases used to impute a missing score.")
37
+ parser.add_argument("--no-impute", action="store_true", help="Leave missing scores blank instead of imputing them.")
38
+ return parser.parse_args()
39
+
40
+
41
+ def clean_row(row: dict[str, str]) -> dict[str, str]:
42
+ return {key.strip(): value.strip() for key, value in row.items() if key is not None}
43
+
44
+
45
+ def load_features(data_root: Path) -> tuple[dict[int, list[float]], list[str]]:
46
+ force: dict[int, dict[str, float]] = {}
47
+ with (data_root / "force_mom_all.csv").open(encoding="utf-8-sig", newline="") as f:
48
+ for raw in csv.DictReader(f):
49
+ row = clean_row(raw)
50
+ force[int(row["run"])] = {key: float(value) for key, value in row.items() if key != "run"}
51
+
52
+ geometry: dict[int, dict[str, float]] = {}
53
+ with (data_root / "geo_parameters_all.csv").open(encoding="utf-8-sig", newline="") as f:
54
+ for raw in csv.DictReader(f):
55
+ row = clean_row(raw)
56
+ geometry[int(row["run"])] = {key: float(value) for key, value in row.items() if key != "run"}
57
+
58
+ missing = sorted(set(RUN_IDS) - set(force) | (set(RUN_IDS) - set(geometry)))
59
+ if missing:
60
+ raise ValueError(f"Aggregate CSVs are missing WindsorML runs: {missing}")
61
+ force_fields = [field for field in ("cd", "cs", "cl", "cmy") if field in next(iter(force.values()))]
62
+ geometry_fields = sorted(next(iter(geometry.values())).keys())
63
+ labels = [f"force:{field}" for field in force_fields] + [f"geometry:{field}" for field in geometry_fields]
64
+ features = {
65
+ run: [force[run][field] for field in force_fields] + [geometry[run][field] for field in geometry_fields]
66
+ for run in RUN_IDS
67
+ }
68
+ return features, labels
69
+
70
+
71
+ def valid_png(path: Path) -> bool:
72
+ if path.name.startswith("._"):
73
+ return False
74
+ try:
75
+ with path.open("rb") as f:
76
+ return f.read(8) == b"\x89PNG\r\n\x1a\n"
77
+ except OSError:
78
+ return False
79
+
80
+
81
+ def read_rgb(path: Path) -> np.ndarray:
82
+ with Image.open(path) as image:
83
+ return np.asarray(image.convert("RGB"), dtype=np.float32) / 255.0
84
+
85
+
86
+ def image_path(asset_root: Path, run: int, view: str, index: int) -> Path:
87
+ return asset_root / f"run_{run}" / "images" / "velocityxavg" / f"{view}_scan_{index:04d}.png"
88
+
89
+
90
+ def low_speed_score(rgb: np.ndarray, crop: tuple[float, float, float, float]) -> tuple[float, float]:
91
+ height, width, _ = rgb.shape
92
+ x0, x1, y0, y1 = crop
93
+ region = rgb[int(y0 * height):int(y1 * height), int(x0 * width):int(x1 * width)]
94
+ # The published velocity color map is orange at freestream and blue/purple
95
+ # at low speed. B-R therefore gives a stable low-speed signal while
96
+ # excluding the neutral gray body.
97
+ coolness = np.clip(region[:, :, 2] - region[:, :, 0], 0.0, 1.0)
98
+ area_fraction = float(np.mean(coolness > 0.03))
99
+ intensity = float(np.mean(coolness))
100
+ return area_fraction, 0.75 * area_fraction + 0.25 * intensity
101
+
102
+
103
+ def observed_run_score(asset_root: Path, run: int) -> tuple[float, float, float, int] | None:
104
+ z_paths = [image_path(asset_root, run, "view1_constz", index) for index in CENTERLINE_Z_INDICES]
105
+ x_paths = [image_path(asset_root, run, "view2_constx", index) for index in NEAR_WAKE_X_INDICES]
106
+ paths = z_paths + x_paths
107
+ if not all(valid_png(path) for path in paths):
108
+ return None
109
+
110
+ centreline = [low_speed_score(read_rgb(path), (0.43, 0.89, 0.47, 0.97)) for path in z_paths]
111
+ near_base = [low_speed_score(read_rgb(path), (0.23, 0.77, 0.43, 0.96)) for path in x_paths]
112
+ centreline_area = float(np.mean([value[0] for value in centreline]))
113
+ near_base_area = float(np.mean([value[0] for value in near_base]))
114
+ centreline_score = float(np.mean([value[1] for value in centreline]))
115
+ near_base_score = float(np.mean([value[1] for value in near_base]))
116
+ return 0.5 * centreline_score + 0.5 * near_base_score, centreline_area, near_base_area, len(paths)
117
+
118
+
119
+ def nearest_observed(
120
+ features: dict[int, list[float]],
121
+ observed_runs: list[int],
122
+ target_run: int,
123
+ count: int,
124
+ ) -> list[int]:
125
+ runs = RUN_IDS
126
+ matrix = np.asarray([features[run] for run in runs], dtype=float)
127
+ means = matrix.mean(axis=0)
128
+ stds = matrix.std(axis=0)
129
+ stds[stds == 0.0] = 1.0
130
+ standardized = (matrix - means) / stds
131
+ target = standardized[target_run]
132
+ ranked = sorted(observed_runs, key=lambda run: (float(np.linalg.norm(standardized[run] - target)), run))
133
+ return ranked[: max(1, min(count, len(ranked)))]
134
+
135
+
136
+ def main() -> None:
137
+ args = parse_args()
138
+ features, _ = load_features(args.data_root)
139
+ values: dict[int, tuple[float, float, float, int]] = {}
140
+ observed: dict[int, bool] = {}
141
+ neighbors: dict[int, list[int]] = {}
142
+ for run in RUN_IDS:
143
+ value = observed_run_score(args.asset_root, run)
144
+ if value is not None:
145
+ values[run] = value
146
+ observed[run] = True
147
+
148
+ observed_runs = sorted(values)
149
+ missing_runs = sorted(set(RUN_IDS) - set(observed_runs))
150
+ if not observed_runs:
151
+ raise SystemExit(f"No complete targeted velocity-image sets found under {args.asset_root}")
152
+ if missing_runs and args.no_impute:
153
+ for run in missing_runs:
154
+ observed[run] = False
155
+ neighbors[run] = []
156
+ else:
157
+ for run in missing_runs:
158
+ nearest = nearest_observed(features, observed_runs, run, args.neighbors)
159
+ array = np.asarray([values[neighbor] for neighbor in nearest], dtype=float)
160
+ values[run] = tuple(float(value) for value in array.mean(axis=0)) # type: ignore[assignment]
161
+ observed[run] = False
162
+ neighbors[run] = nearest
163
+
164
+ args.output.parent.mkdir(parents=True, exist_ok=True)
165
+ with args.output.open("w", encoding="utf-8", newline="") as f:
166
+ fieldnames = [
167
+ "run",
168
+ "image_wake_score",
169
+ "image_wake_observed",
170
+ "centreline_low_speed_area",
171
+ "near_base_low_speed_area",
172
+ "velocity_images",
173
+ "velocity_slices",
174
+ "imputation_neighbors",
175
+ ]
176
+ writer = csv.DictWriter(f, fieldnames=fieldnames)
177
+ writer.writeheader()
178
+ for run in RUN_IDS:
179
+ value = values.get(run)
180
+ writer.writerow(
181
+ {
182
+ "run": run,
183
+ "image_wake_score": "" if value is None else value[0],
184
+ "image_wake_observed": str(observed.get(run, False)).lower(),
185
+ "centreline_low_speed_area": "" if value is None else value[1],
186
+ "near_base_low_speed_area": "" if value is None else value[2],
187
+ "velocity_images": 0 if value is None or not observed.get(run, False) else int(value[3]),
188
+ "velocity_slices": "Z-4;Z-5;X-53;X-55;X-57",
189
+ "imputation_neighbors": ";".join(str(value) for value in neighbors.get(run, [])),
190
+ }
191
+ )
192
+ print(f"Wrote {args.output}")
193
+ print(f"Observed: {len(observed_runs)}; imputed/missing: {len(missing_runs)}")
194
+
195
+
196
+ if __name__ == "__main__":
197
+ main()
splits/create_example_figures.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Create WindsorML geometry and image-wake examples for the report."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import csv
7
+ import os
8
+ from pathlib import Path
9
+
10
+ import matplotlib.pyplot as plt
11
+ import numpy as np
12
+ from PIL import Image
13
+
14
+
15
+ SCRIPT_DIR = Path(__file__).resolve().parent
16
+ REPOSITORY_ROOT = SCRIPT_DIR.parent
17
+ DATA_DIR = SCRIPT_DIR
18
+ DOCS_DIR = SCRIPT_DIR
19
+ DEFAULT_ASSET_ROOT = Path(os.environ.get("WINDSORML_ASSET_ROOT", REPOSITORY_ROOT.parent / "windsorml_hf_assets"))
20
+
21
+
22
+ def parse_args() -> argparse.Namespace:
23
+ parser = argparse.ArgumentParser(description="Create WindsorML report example figures.")
24
+ parser.add_argument("--data-root", type=Path, default=DATA_DIR, help="Directory containing force and metric CSVs.")
25
+ parser.add_argument("--force-root", type=Path, default=REPOSITORY_ROOT, help="Directory containing force_mom_all.csv.")
26
+ parser.add_argument("--asset-root", type=Path, default=DEFAULT_ASSET_ROOT, help="Directory containing run_*/ PNG assets.")
27
+ parser.add_argument("--output-dir", type=Path, default=DOCS_DIR, help="Directory for report figures.")
28
+ return parser.parse_args()
29
+
30
+
31
+ def clean_row(row: dict[str, str]) -> dict[str, str]:
32
+ return {key.strip(): value.strip() for key, value in row.items() if key is not None}
33
+
34
+
35
+ def load_force(force_root: Path) -> dict[int, dict[str, float]]:
36
+ candidates = [
37
+ force_root / "force_mom_all.csv",
38
+ force_root / "data" / "force_mom_all.csv",
39
+ REPOSITORY_ROOT / "force_mom_all.csv",
40
+ REPOSITORY_ROOT / "data" / "force_mom_all.csv",
41
+ ]
42
+ force_path = next((path for path in candidates if path.exists()), candidates[0])
43
+ with force_path.open(encoding="utf-8-sig", newline="") as f:
44
+ return {
45
+ int(clean_row(raw)["run"]): {
46
+ "cd": float(clean_row(raw)["cd"]),
47
+ "cl": float(clean_row(raw)["cl"]),
48
+ }
49
+ for raw in csv.DictReader(f)
50
+ }
51
+
52
+
53
+ def load_metric(path: Path, column: str, observed_column: str) -> tuple[dict[int, float], set[int]]:
54
+ scores: dict[int, float] = {}
55
+ observed: set[int] = set()
56
+ with path.open(encoding="utf-8-sig", newline="") as f:
57
+ for raw in csv.DictReader(f):
58
+ row = clean_row(raw)
59
+ if row.get(column, ""):
60
+ run = int(row["run"])
61
+ scores[run] = float(row[column])
62
+ if row.get(observed_column, "true").lower() == "true":
63
+ observed.add(run)
64
+ return scores, observed
65
+
66
+
67
+ def low_high(scores: dict[int, float], observed: set[int]) -> tuple[int, int]:
68
+ ordered = sorted(observed, key=lambda run: (scores[run], run))
69
+ if not ordered:
70
+ raise ValueError("No observed metric cases are available for examples")
71
+ return ordered[0], ordered[-1]
72
+
73
+
74
+ def read_rgb(path: Path) -> np.ndarray:
75
+ with Image.open(path) as image:
76
+ return np.asarray(image.convert("RGB"), dtype=np.float32) / 255.0
77
+
78
+
79
+ def velocity_path(asset_root: Path, run: int, view: str, index: int) -> Path:
80
+ return asset_root / f"run_{run}" / "images" / "velocityxavg" / f"{view}_scan_{index:04d}.png"
81
+
82
+
83
+ def wake_crop(rgb: np.ndarray, view: str) -> np.ndarray:
84
+ height, width, _ = rgb.shape
85
+ if view == "view1_constz":
86
+ return rgb[int(0.37 * height):int(0.98 * height), int(0.04 * width):int(0.94 * width)]
87
+ return rgb[int(0.28 * height):int(0.98 * height), int(0.14 * width):int(0.86 * width)]
88
+
89
+
90
+ def make_wake_examples(data_root: Path, asset_root: Path, output_dir: Path, force: dict[int, dict[str, float]]) -> tuple[int, int]:
91
+ scores, observed = load_metric(data_root / "image_metrics.csv", "image_wake_score", "image_wake_observed")
92
+ low_run, high_run = low_high(scores, observed)
93
+ views = [("view1_constz", 5, "near-centreline z-plane"), ("view2_constx", 53, "near-base x-plane")]
94
+ fig, axes = plt.subplots(2, 2, figsize=(11.0, 6.2), constrained_layout=True)
95
+ for row, (view, index, label) in enumerate(views):
96
+ for col, (score_label, run) in enumerate([("Low wake score", low_run), ("High wake score", high_run)]):
97
+ axes[row, col].imshow(wake_crop(read_rgb(velocity_path(asset_root, run, view, index)), view))
98
+ axes[row, col].set_axis_off()
99
+ axes[row, col].set_title(
100
+ f"{score_label}: run_{run}\n{label}, score={scores[run]:.4f}, "
101
+ f"Cd={force[run]['cd']:.4f}, Cl={force[run]['cl']:.4f}",
102
+ fontsize=9,
103
+ )
104
+ fig.suptitle("Image-wake split examples from streamwise-velocity PNGs", fontsize=12)
105
+ output_dir.mkdir(parents=True, exist_ok=True)
106
+ fig.savefig(output_dir / "wake_score_examples.png", dpi=180)
107
+ plt.close(fig)
108
+ return low_run, high_run
109
+
110
+
111
+ def geometry_path(asset_root: Path, run: int) -> Path:
112
+ return asset_root / f"run_{run}" / "images" / f"windsor_{run}.png"
113
+
114
+
115
+ def transparent_silhouette(rgb: np.ndarray, color: str, alpha: float) -> np.ndarray:
116
+ color_rgb = np.asarray([int(color[index:index + 2], 16) for index in (1, 3, 5)], dtype=np.float32) / 255.0
117
+ brightness = rgb.mean(axis=2)
118
+ mask = brightness > 0.08
119
+ rgba = np.zeros((*rgb.shape[:2], 4), dtype=np.float32)
120
+ rgba[:, :, :3] = color_rgb
121
+ rgba[:, :, 3] = mask.astype(np.float32) * alpha
122
+ return rgba
123
+
124
+
125
+ def content_bounds(images: list[np.ndarray], padding: int = 20) -> tuple[slice, slice]:
126
+ mask = np.zeros(images[0].shape[:2], dtype=bool)
127
+ for rgb in images:
128
+ mask |= rgb.mean(axis=2) > 0.08
129
+ rows, cols = np.where(mask)
130
+ if len(rows) == 0:
131
+ return slice(0, images[0].shape[0]), slice(0, images[0].shape[1])
132
+ y0, y1 = max(0, int(rows.min()) - padding), min(images[0].shape[0], int(rows.max()) + padding + 1)
133
+ x0, x1 = max(0, int(cols.min()) - padding), min(images[0].shape[1], int(cols.max()) + padding + 1)
134
+ return slice(y0, y1), slice(x0, x1)
135
+
136
+
137
+ def make_geometry_examples(data_root: Path, asset_root: Path, output_dir: Path, force: dict[int, dict[str, float]]) -> tuple[int, int]:
138
+ scores, observed = load_metric(data_root / "chamfer_metrics.csv", "ood_score", "geometry_observed")
139
+ available = {run for run in observed if geometry_path(asset_root, run).exists()}
140
+ low_run, high_run = low_high(scores, available)
141
+ low_rgb = read_rgb(geometry_path(asset_root, low_run))
142
+ high_rgb = read_rgb(geometry_path(asset_root, high_run))
143
+ union_y, union_x = content_bounds([low_rgb, high_rgb], padding=28)
144
+ low_y, low_x = content_bounds([low_rgb], padding=28)
145
+ high_y, high_x = content_bounds([high_rgb], padding=28)
146
+
147
+ fig = plt.figure(figsize=(11.0, 5.8), constrained_layout=True)
148
+ grid = fig.add_gridspec(2, 2, height_ratios=(1.0, 1.15))
149
+ axes = [fig.add_subplot(grid[0, 0]), fig.add_subplot(grid[0, 1]), fig.add_subplot(grid[1, :])]
150
+ for ax, rgb, label, run in [
151
+ (axes[0], low_rgb[low_y, low_x], "Low geometry score", low_run),
152
+ (axes[1], high_rgb[high_y, high_x], "High geometry score", high_run),
153
+ ]:
154
+ ax.imshow(rgb)
155
+ ax.set_axis_off()
156
+ ax.set_title(
157
+ f"{label}: run_{run}\nscore={scores[run]:.5f}, Cd={force[run]['cd']:.4f}, Cl={force[run]['cl']:.4f}",
158
+ fontsize=9,
159
+ )
160
+ axes[2].imshow(transparent_silhouette(low_rgb[union_y, union_x], "#6b7280", 0.55))
161
+ axes[2].imshow(transparent_silhouette(high_rgb[union_y, union_x], "#008c95", 0.55))
162
+ axes[2].set_axis_off()
163
+ axes[2].set_title(f"Transparent side-view overlay: run_{low_run} (gray) and run_{high_run} (teal)", fontsize=10)
164
+ fig.suptitle("STL-Chamfer geometry split examples", fontsize=12)
165
+ output_dir.mkdir(parents=True, exist_ok=True)
166
+ fig.savefig(output_dir / "geometry_score_examples.png", dpi=180)
167
+ plt.close(fig)
168
+ return low_run, high_run
169
+
170
+
171
+ def main() -> None:
172
+ args = parse_args()
173
+ force = load_force(args.force_root)
174
+ wake_runs = make_wake_examples(args.data_root, args.asset_root, args.output_dir, force)
175
+ geometry_runs = make_geometry_examples(args.data_root, args.asset_root, args.output_dir, force)
176
+ print(f"Wrote {args.output_dir / 'wake_score_examples.png'} using runs {wake_runs}")
177
+ print(f"Wrote {args.output_dir / 'geometry_score_examples.png'} using runs {geometry_runs}")
178
+
179
+
180
+ if __name__ == "__main__":
181
+ main()
splits/download_hf_inputs.py ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Download WindsorML inputs needed to regenerate the split package.
2
+
3
+ Default behavior downloads the two small aggregate CSV files used by the split
4
+ generator. Large per-run
5
+ assets should be kept outside this repository, for example:
6
+
7
+ python3 splits/download_hf_inputs.py \
8
+ --output-dir ../windsorml_hf_assets \
9
+ --include-stls --include-wake-images --include-geometry-images \
10
+ --workers 6 --allow-missing
11
+ """
12
+
13
+ from __future__ import annotations
14
+
15
+ import argparse
16
+ from concurrent.futures import ThreadPoolExecutor, as_completed
17
+ import os
18
+ from pathlib import Path
19
+ import random
20
+ import time
21
+ from urllib.error import HTTPError, URLError
22
+ from urllib.parse import quote
23
+ from urllib.request import Request, urlopen
24
+
25
+
26
+ REPO_ID = "neashton/windsorml"
27
+ REVISION = "main"
28
+ N_CASES = 355
29
+ RUN_IDS = list(range(N_CASES))
30
+ AGGREGATE_FILES = [
31
+ "force_mom_all.csv",
32
+ "geo_parameters_all.csv",
33
+ ]
34
+
35
+ # z ranges from -0.4 to 0.4 over 10 images; indices 4 and 5 bracket z=0.
36
+ # x ranges from -0.5 to 1.0 over 80 images; indices 53, 55, and 57 are
37
+ # immediately behind the Windsor base at x=0.48 m.
38
+ WAKE_IMAGE_PATHS = [
39
+ *(f"images/velocityxavg/view1_constz_scan_{index:04d}.png" for index in (4, 5)),
40
+ *(f"images/velocityxavg/view2_constx_scan_{index:04d}.png" for index in (53, 55, 57)),
41
+ ]
42
+
43
+
44
+ def parse_args() -> argparse.Namespace:
45
+ parser = argparse.ArgumentParser(description="Download WindsorML split-regeneration inputs.")
46
+ parser.add_argument("--repo-id", default=REPO_ID, help=f"Hugging Face dataset repository. Default: {REPO_ID}")
47
+ parser.add_argument("--revision", default=REVISION, help=f"Hub branch, tag, or revision. Default: {REVISION}")
48
+ parser.add_argument("--output-dir", type=Path, default=Path("data"), help="Directory where files are written.")
49
+ parser.add_argument("--include-stls", action="store_true", help="Download run_*/windsor_*.stl files.")
50
+ parser.add_argument(
51
+ "--include-wake-images",
52
+ action="store_true",
53
+ help="Download the five velocity PNGs per run used by the image_wake score.",
54
+ )
55
+ parser.add_argument(
56
+ "--include-geometry-images",
57
+ action="store_true",
58
+ help="Download run_*/images/windsor_*.png side-view geometry images for the report.",
59
+ )
60
+ parser.add_argument("--runs", default="all", help="Run IDs for per-run downloads: all or a comma/range expression.")
61
+ parser.add_argument("--workers", type=int, default=4, help="Parallel download workers.")
62
+ parser.add_argument("--retries", type=int, default=6, help="Retries for throttling and transient failures.")
63
+ parser.add_argument("--retry-sleep", type=float, default=4.0, help="Initial retry delay in seconds.")
64
+ parser.add_argument("--overwrite", action="store_true", help="Redownload existing non-empty files.")
65
+ parser.add_argument(
66
+ "--allow-missing",
67
+ action="store_true",
68
+ help="Finish successfully when a requested Hub file returns 404; all misses are still reported.",
69
+ )
70
+ parser.add_argument("--dry-run", action="store_true", help="Print the requested file list without downloading.")
71
+ return parser.parse_args()
72
+
73
+
74
+ def parse_run_expression(expr: str) -> list[int]:
75
+ expr = expr.strip().lower()
76
+ if expr == "all":
77
+ return RUN_IDS.copy()
78
+ result: set[int] = set()
79
+ for token in expr.split(","):
80
+ token = token.strip()
81
+ if not token:
82
+ continue
83
+ if "-" in token:
84
+ start_s, end_s = token.split("-", 1)
85
+ start, end = int(start_s), int(end_s)
86
+ if start > end:
87
+ start, end = end, start
88
+ result.update(range(start, end + 1))
89
+ else:
90
+ result.add(int(token))
91
+ runs = sorted(result)
92
+ invalid = [run for run in runs if run not in RUN_IDS]
93
+ if invalid:
94
+ raise SystemExit(f"Run IDs must be in 0..{N_CASES - 1}; invalid values: {invalid}")
95
+ return runs
96
+
97
+
98
+ def hub_url(repo_id: str, revision: str, rel_path: str) -> str:
99
+ encoded = "/".join(quote(part) for part in rel_path.split("/"))
100
+ return f"https://huggingface.co/datasets/{repo_id}/resolve/{quote(revision, safe='')}/{encoded}"
101
+
102
+
103
+ def retry_delay(base: float, attempt: int, retry_after: str | None = None) -> float:
104
+ if retry_after:
105
+ try:
106
+ return max(base, float(retry_after))
107
+ except ValueError:
108
+ pass
109
+ return base * (2**attempt) + random.random()
110
+
111
+
112
+ def download_one(
113
+ repo_id: str,
114
+ revision: str,
115
+ output_dir: Path,
116
+ rel_path: str,
117
+ overwrite: bool,
118
+ retries: int,
119
+ retry_sleep: float,
120
+ ) -> tuple[str, str]:
121
+ destination = output_dir / rel_path
122
+ if destination.exists() and destination.stat().st_size > 0 and not overwrite:
123
+ return rel_path, "exists"
124
+ destination.parent.mkdir(parents=True, exist_ok=True)
125
+ headers: dict[str, str] = {}
126
+ if os.environ.get("HF_TOKEN"):
127
+ headers["Authorization"] = f"Bearer {os.environ['HF_TOKEN']}"
128
+
129
+ for attempt in range(retries + 1):
130
+ request = Request(hub_url(repo_id, revision, rel_path), headers=headers)
131
+ part = destination.with_name(destination.name + ".part")
132
+ try:
133
+ with urlopen(request, timeout=180) as response, part.open("wb") as output:
134
+ while chunk := response.read(1024 * 1024):
135
+ output.write(chunk)
136
+ part.replace(destination)
137
+ return rel_path, "ok"
138
+ except HTTPError as exc:
139
+ part.unlink(missing_ok=True)
140
+ retryable = exc.code == 429 or 500 <= exc.code <= 599
141
+ if retryable and attempt < retries:
142
+ time.sleep(retry_delay(retry_sleep, attempt, exc.headers.get("Retry-After")))
143
+ continue
144
+ return rel_path, f"http_{exc.code}"
145
+ except (OSError, URLError) as exc:
146
+ part.unlink(missing_ok=True)
147
+ if attempt < retries:
148
+ time.sleep(retry_delay(retry_sleep, attempt))
149
+ continue
150
+ reason = getattr(exc, "reason", str(exc))
151
+ return rel_path, f"error:{reason}"
152
+ return rel_path, "failed"
153
+
154
+
155
+ def requested_files(args: argparse.Namespace) -> list[str]:
156
+ files = AGGREGATE_FILES.copy()
157
+ for run in parse_run_expression(args.runs):
158
+ if args.include_stls:
159
+ files.append(f"run_{run}/windsor_{run}.stl")
160
+ if args.include_wake_images:
161
+ files.extend(f"run_{run}/{path}" for path in WAKE_IMAGE_PATHS)
162
+ if args.include_geometry_images:
163
+ files.append(f"run_{run}/images/windsor_{run}.png")
164
+ return files
165
+
166
+
167
+ def main() -> None:
168
+ args = parse_args()
169
+ files = requested_files(args)
170
+ print(f"Repository: {args.repo_id}@{args.revision}")
171
+ print(f"Output dir: {args.output_dir}")
172
+ print(f"Files: {len(files)}")
173
+ if args.dry_run:
174
+ for path in files:
175
+ print(path)
176
+ return
177
+
178
+ failures: list[tuple[str, str]] = []
179
+ counts: dict[str, int] = {}
180
+ with ThreadPoolExecutor(max_workers=max(1, args.workers)) as pool:
181
+ futures = [
182
+ pool.submit(
183
+ download_one,
184
+ args.repo_id,
185
+ args.revision,
186
+ args.output_dir,
187
+ path,
188
+ args.overwrite,
189
+ args.retries,
190
+ args.retry_sleep,
191
+ )
192
+ for path in files
193
+ ]
194
+ for future in as_completed(futures):
195
+ path, status = future.result()
196
+ counts[status] = counts.get(status, 0) + 1
197
+ if status not in {"ok", "exists"}:
198
+ failures.append((path, status))
199
+ print(f"{status:<12s} {path}")
200
+
201
+ print("Summary: " + ", ".join(f"{key}={value}" for key, value in sorted(counts.items())))
202
+ if failures and not args.allow_missing:
203
+ raise SystemExit(f"{len(failures)} downloads failed; rerun with --allow-missing only if the Hub mirror is incomplete.")
204
+
205
+
206
+ if __name__ == "__main__":
207
+ main()
splits/generate_splits.py ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Generate deterministic train/validation/test splits for WindsorML.
2
+
3
+ Split families:
4
+ 1. full - seed-42 random split, approximately 80/10/10
5
+ 2. medium - same val/test as full, train is 1/3 subsample
6
+ 3. scarce - same val/test as full, train is 1/6 subsample
7
+ 4. super_scarce - same val/test as full, train is 1/36 subsample
8
+ 5. geometry - OOD STL-Chamfer local-isolation split
9
+ 6. high_drag - OOD high-drag split from fixed-reference force coefficients
10
+ 7. low_drag - OOD low-drag split from fixed-reference force coefficients
11
+ 8. image_wake - OOD image-derived low-speed wake split
12
+
13
+ For every OOD split, validation is drawn from the training-side population so
14
+ model selection does not see the held-out extreme regime.
15
+ """
16
+
17
+ from __future__ import annotations
18
+
19
+ import csv
20
+ import hashlib
21
+ import json
22
+ import math
23
+ import os
24
+ import random
25
+ from pathlib import Path
26
+
27
+ import numpy as np
28
+
29
+
30
+ SCRIPT_DIR = Path(__file__).resolve().parent
31
+ REPOSITORY_ROOT = SCRIPT_DIR.parent
32
+ PACKAGE_ROOT = SCRIPT_DIR
33
+ DATA_DIR = SCRIPT_DIR
34
+ SPLITS_DIR = SCRIPT_DIR
35
+ DATA_ROOT = Path(os.environ.get("WINDSORML_DATA_ROOT", REPOSITORY_ROOT))
36
+ CHAMFER_METRICS = "chamfer_metrics.csv"
37
+ IMAGE_METRICS = "image_metrics.csv"
38
+
39
+ N_CASES = 355
40
+ RUN_IDS = list(range(N_CASES))
41
+ SEED = 42
42
+ FULL_TRAIN_COUNT = 284
43
+ FULL_VAL_COUNT = 35
44
+ FULL_TEST_COUNT = 36
45
+ MEDIUM_FRACTION = 1 / 3
46
+ SCARCE_FRACTION = 1 / 6
47
+ SUPER_SCARCE_FRACTION = 1 / 36
48
+ OOD_TEST_FRACTION = 0.2
49
+ VAL_FRACTION = 0.1
50
+ VAL_FRACTION_OF_POOL = VAL_FRACTION / (1 - OOD_TEST_FRACTION)
51
+
52
+
53
+ def case_id(run: int) -> str:
54
+ return f"run_{run}"
55
+
56
+
57
+ def run_id(case: str) -> int:
58
+ if not case.startswith("run_"):
59
+ raise ValueError(f"Malformed case ID: {case!r}")
60
+ return int(case.split("_", 1)[1])
61
+
62
+
63
+ def make_case_ids(values: list[int]) -> list[str]:
64
+ return [case_id(value) for value in sorted(values)]
65
+
66
+
67
+ def _rng(salt: str) -> random.Random:
68
+ seed_bytes = hashlib.sha256(f"{SEED}:{salt}".encode("utf-8")).digest()[:8]
69
+ return random.Random(int.from_bytes(seed_bytes, "big"))
70
+
71
+
72
+ def _unit_hash(run: int, salt: str) -> float:
73
+ seed = hashlib.sha256(f"{SEED}:{salt}:{run}".encode("utf-8")).digest()[:8]
74
+ return int.from_bytes(seed, "big") / 2**64
75
+
76
+
77
+ # Generated once with torch.randperm(355, generator=torch.Generator().manual_seed(42)).
78
+ # The IDs are committed so split regeneration does not require PyTorch.
79
+ FULL_TRAIN_IDS = [
80
+ 0, 1, 2, 3, 4, 5, 6, 9, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 24, 26, 29, 30, 31, 33, 34, 35,
81
+ 36, 38, 39, 40, 41, 42, 45, 48, 49, 52, 53, 54, 55, 59, 60, 61, 62, 63, 64, 65, 67, 68, 70, 71, 72, 73,
82
+ 74, 75, 76, 78, 79, 80, 81, 82, 84, 86, 87, 88, 90, 91, 92, 93, 96, 101, 102, 103, 105, 106, 107, 108,
83
+ 109, 110, 111, 112, 114, 115, 116, 117, 118, 119, 120, 121, 122, 124, 126, 127, 128, 129, 131, 132, 133,
84
+ 134, 135, 138, 140, 141, 142, 143, 144, 145, 146, 147, 150, 151, 152, 153, 154, 155, 157, 158, 159, 160,
85
+ 161, 162, 163, 164, 165, 166, 167, 169, 170, 171, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
86
+ 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
87
+ 205, 206, 207, 208, 209, 211, 212, 213, 214, 215, 217, 218, 219, 220, 221, 223, 224, 225, 226, 227, 228,
88
+ 229, 230, 231, 233, 234, 235, 237, 238, 239, 240, 241, 243, 245, 246, 247, 248, 249, 251, 252, 254, 255,
89
+ 258, 259, 260, 261, 262, 263, 264, 265, 266, 268, 269, 271, 272, 275, 276, 277, 278, 280, 281, 282, 284,
90
+ 285, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 301, 302, 303, 304, 306, 307, 308, 309,
91
+ 310, 311, 312, 313, 314, 315, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 332,
92
+ 334, 335, 337, 338, 339, 340, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353,
93
+ ]
94
+ FULL_VAL_IDS = [
95
+ 8, 11, 25, 27, 37, 43, 44, 46, 50, 51, 56, 57, 77, 83, 94, 99, 137, 149, 156, 168, 210, 222, 236, 242,
96
+ 244, 250, 267, 273, 274, 279, 287, 300, 305, 317, 331,
97
+ ]
98
+ FULL_TEST_IDS = [
99
+ 7, 18, 23, 28, 32, 47, 58, 66, 69, 85, 89, 95, 97, 98, 100, 104, 113, 123, 125, 130, 136, 139, 148, 172,
100
+ 216, 232, 253, 256, 257, 270, 283, 299, 333, 336, 341, 354,
101
+ ]
102
+
103
+
104
+ def _split_pool(pool: list[int], *, salt: str) -> tuple[list[int], list[int]]:
105
+ shuffled = pool.copy()
106
+ _rng(salt).shuffle(shuffled)
107
+ n_val = round(len(pool) * VAL_FRACTION_OF_POOL)
108
+ return sorted(shuffled[n_val:]), sorted(shuffled[:n_val])
109
+
110
+
111
+ def _candidate_paths(filename: str) -> list[Path]:
112
+ roots = [
113
+ DATA_ROOT,
114
+ DATA_ROOT / "data",
115
+ DATA_DIR,
116
+ PACKAGE_ROOT,
117
+ REPOSITORY_ROOT,
118
+ REPOSITORY_ROOT / "data",
119
+ Path.cwd(),
120
+ Path.cwd() / "data",
121
+ ]
122
+ paths: list[Path] = []
123
+ seen: set[Path] = set()
124
+ for root in roots:
125
+ path = root / filename
126
+ key = path.resolve() if path.exists() else path.absolute()
127
+ if key not in seen:
128
+ paths.append(path)
129
+ seen.add(key)
130
+ return paths
131
+
132
+
133
+ def _clean_row(row: dict[str, str]) -> dict[str, str]:
134
+ return {key.strip(): value.strip() for key, value in row.items() if key is not None}
135
+
136
+
137
+ def load_table(filename: str) -> tuple[dict[int, dict[str, float]], str]:
138
+ for path in _candidate_paths(filename):
139
+ if not path.exists():
140
+ continue
141
+ records: dict[int, dict[str, float]] = {}
142
+ with path.open(encoding="utf-8-sig", newline="") as f:
143
+ for raw in csv.DictReader(f):
144
+ row = _clean_row(raw)
145
+ records[int(row["run"])] = {key: float(value) for key, value in row.items() if key != "run"}
146
+ missing = sorted(set(RUN_IDS) - set(records))
147
+ if missing:
148
+ raise ValueError(f"{path} is missing WindsorML runs: {missing}")
149
+ return records, str(path)
150
+ raise FileNotFoundError(f"{filename} not found; run splits/download_hf_inputs.py")
151
+
152
+
153
+ def load_force_mom() -> tuple[dict[int, dict[str, float]], str]:
154
+ records, source = load_table("force_mom_all.csv")
155
+ required = {"cd", "cl"}
156
+ if not required <= set(next(iter(records.values()))):
157
+ raise ValueError(f"{source} must contain {sorted(required)}")
158
+ return records, source
159
+
160
+
161
+ def load_geo_parameters() -> tuple[dict[int, dict[str, float]], str]:
162
+ return load_table("geo_parameters_all.csv")
163
+
164
+
165
+ def _standardized_matrix(records: dict[int, dict[str, float]], fields: list[str], runs: list[int]) -> np.ndarray:
166
+ matrix = np.asarray([[records[run][field] for field in fields] for run in runs], dtype=float)
167
+ means = matrix.mean(axis=0)
168
+ stds = matrix.std(axis=0)
169
+ stds[stds == 0.0] = 1.0
170
+ return (matrix - means) / stds
171
+
172
+
173
+ def load_metric_scores(filename: str, column: str) -> tuple[dict[int, float], str]:
174
+ for path in _candidate_paths(filename):
175
+ if not path.exists():
176
+ continue
177
+ scores: dict[int, float] = {}
178
+ with path.open(encoding="utf-8-sig", newline="") as f:
179
+ for raw in csv.DictReader(f):
180
+ row = _clean_row(raw)
181
+ if row.get(column, ""):
182
+ scores[int(row["run"])] = float(row[column])
183
+ missing = sorted(set(RUN_IDS) - set(scores))
184
+ if missing:
185
+ raise ValueError(f"{path} is missing {column} for runs: {missing}")
186
+ return scores, str(path)
187
+ raise FileNotFoundError(f"{filename} not found; compute it before running this generator")
188
+
189
+
190
+ def force_scores(records: dict[int, dict[str, float]]) -> dict[str, dict[int, float]]:
191
+ cd = {run: row["cd"] for run, row in records.items()}
192
+ return {"high_drag": cd, "low_drag": {run: -value for run, value in cd.items()}}
193
+
194
+
195
+ def ranked_ood_split(scores: dict[int, float], *, salt: str) -> tuple[list[int], list[int], list[int]]:
196
+ ranked = sorted(scores, key=lambda run: (scores[run], run))
197
+ n_test = round(len(ranked) * OOD_TEST_FRACTION)
198
+ test = sorted(ranked[-n_test:])
199
+ train, val = _split_pool(sorted(ranked[:-n_test]), salt=salt)
200
+ return train, val, test
201
+
202
+
203
+ def diverse_training_order(
204
+ force_records: dict[int, dict[str, float]],
205
+ geo_records: dict[int, dict[str, float]],
206
+ ) -> list[int]:
207
+ feature_rows: dict[int, list[float]] = {run: [] for run in FULL_TRAIN_IDS}
208
+ for field in ["cd", "cl"]:
209
+ values = np.asarray([force_records[run][field] for run in FULL_TRAIN_IDS], dtype=float)
210
+ mean, std = float(values.mean()), float(values.std()) or 1.0
211
+ for run in FULL_TRAIN_IDS:
212
+ feature_rows[run].append((force_records[run][field] - mean) / std)
213
+ for field in sorted(next(iter(geo_records.values())).keys()):
214
+ values = np.asarray([geo_records[run][field] for run in FULL_TRAIN_IDS], dtype=float)
215
+ mean, std = float(values.mean()), float(values.std()) or 1.0
216
+ for run in FULL_TRAIN_IDS:
217
+ feature_rows[run].append((geo_records[run][field] - mean) / std)
218
+
219
+ def distance(a: int, b: int) -> float:
220
+ return math.sqrt(sum((x - y) ** 2 for x, y in zip(feature_rows[a], feature_rows[b])))
221
+
222
+ first = max(
223
+ FULL_TRAIN_IDS,
224
+ key=lambda run: (
225
+ math.sqrt(sum(value * value for value in feature_rows[run])),
226
+ _unit_hash(run, "sparse_first_tie_break"),
227
+ ),
228
+ )
229
+ selected = [first]
230
+ remaining = [run for run in FULL_TRAIN_IDS if run != first]
231
+ while remaining:
232
+ next_run = max(
233
+ remaining,
234
+ key=lambda run: (
235
+ min(distance(run, chosen) for chosen in selected),
236
+ _unit_hash(run, "sparse_tie_break"),
237
+ ),
238
+ )
239
+ selected.append(next_run)
240
+ remaining.remove(next_run)
241
+ return selected
242
+
243
+
244
+ def generate_splits() -> tuple[dict[str, list[str]], tuple[str, str, str, str]]:
245
+ force_records, force_source = load_force_mom()
246
+ geo_records, geo_source = load_geo_parameters()
247
+ geometry_scores, geometry_source = load_metric_scores(CHAMFER_METRICS, "ood_score")
248
+ image_scores, image_source = load_metric_scores(IMAGE_METRICS, "image_wake_score")
249
+
250
+ splits: dict[str, list[str]] = {
251
+ "full_train": make_case_ids(FULL_TRAIN_IDS),
252
+ "full_val": make_case_ids(FULL_VAL_IDS),
253
+ "full_test": make_case_ids(FULL_TEST_IDS),
254
+ }
255
+ order = diverse_training_order(force_records, geo_records)
256
+ sizes = {
257
+ "medium": round(len(FULL_TRAIN_IDS) * MEDIUM_FRACTION),
258
+ "scarce": round(len(FULL_TRAIN_IDS) * SCARCE_FRACTION),
259
+ "super_scarce": max(1, round(len(FULL_TRAIN_IDS) * SUPER_SCARCE_FRACTION)),
260
+ }
261
+ for name, size in sizes.items():
262
+ splits[f"{name}_train"] = make_case_ids(order[:size])
263
+ splits[f"{name}_val"] = splits["full_val"]
264
+ splits[f"{name}_test"] = splits["full_test"]
265
+
266
+ score_families = {**force_scores(force_records), "geometry": geometry_scores, "image_wake": image_scores}
267
+ for name, scores in score_families.items():
268
+ train, val, test = ranked_ood_split(scores, salt=f"{name}_val_selection")
269
+ splits[f"{name}_train"] = make_case_ids(train)
270
+ splits[f"{name}_val"] = make_case_ids(val)
271
+ splits[f"{name}_test"] = make_case_ids(test)
272
+ return splits, (force_source, geo_source, geometry_source, image_source)
273
+
274
+
275
+ def validate_splits(splits: dict[str, list[str]]) -> None:
276
+ all_cases = {case_id(run) for run in RUN_IDS}
277
+ families = sorted({key.rsplit("_", 1)[0] for key in splits})
278
+ for name in families:
279
+ train = set(splits[f"{name}_train"])
280
+ val = set(splits[f"{name}_val"])
281
+ test = set(splits[f"{name}_test"])
282
+ assert not (train & val), f"{name}: train/val overlap"
283
+ assert not (train & test), f"{name}: train/test overlap"
284
+ assert not (val & test), f"{name}: val/test overlap"
285
+ assert train | val | test <= all_cases, f"{name}: invalid run included"
286
+
287
+ assert (len(splits["full_train"]), len(splits["full_val"]), len(splits["full_test"])) == (284, 35, 36)
288
+ for name in ["medium", "scarce", "super_scarce"]:
289
+ assert splits[f"{name}_val"] == splits["full_val"]
290
+ assert splits[f"{name}_test"] == splits["full_test"]
291
+ assert set(splits["super_scarce_train"]) < set(splits["scarce_train"])
292
+ assert set(splits["scarce_train"]) < set(splits["medium_train"])
293
+ assert set(splits["medium_train"]) < set(splits["full_train"])
294
+
295
+ for name in ["full"]:
296
+ sizes = tuple(len(splits[f"{name}_{part}"]) for part in ("train", "val", "test"))
297
+ assert sizes == (284, 35, 36), f"{name}: unexpected sizes {sizes}"
298
+ assert set().union(*(set(splits[f"{name}_{part}"]) for part in ("train", "val", "test"))) == all_cases
299
+ for name in ["geometry", "high_drag", "low_drag", "image_wake"]:
300
+ sizes = tuple(len(splits[f"{name}_{part}"]) for part in ("train", "val", "test"))
301
+ assert sizes == (248, 36, 71), f"{name}: unexpected sizes {sizes}"
302
+ assert set().union(*(set(splits[f"{name}_{part}"]) for part in ("train", "val", "test"))) == all_cases
303
+
304
+
305
+ def main() -> None:
306
+ splits, sources = generate_splits()
307
+ validate_splits(splits)
308
+ SPLITS_DIR.mkdir(parents=True, exist_ok=True)
309
+ output = SPLITS_DIR / "manifest.json"
310
+ output.write_text(json.dumps(splits, indent=4) + "\n", encoding="utf-8")
311
+
312
+ print("WindsorML Splits")
313
+ print("=" * 60)
314
+ print(f" Runs: {N_CASES}")
315
+ print(f" Seed: {SEED}")
316
+ for label, source in zip(["Force/moment", "Geometry parameters", "STL-Chamfer", "Image wake"], sources):
317
+ print(f" {label} source: {source}")
318
+ print()
319
+ print(f" {'Split':<18s} {'Train':>6s} {'Val':>6s} {'Test':>6s} {'Total':>6s}")
320
+ print(f" {'-' * 46}")
321
+ for name in sorted({key.rsplit('_', 1)[0] for key in splits}):
322
+ sizes = [len(splits[f"{name}_{part}"]) for part in ("train", "val", "test")]
323
+ print(f" {name:<18s} {sizes[0]:>6d} {sizes[1]:>6d} {sizes[2]:>6d} {sum(sizes):>6d}")
324
+ print(f"\n Manifest: {output}")
325
+ print("All validations passed.")
326
+
327
+
328
+ if __name__ == "__main__":
329
+ main()
splits/geometry_score_examples.png ADDED

Git LFS Details

  • SHA256: 6e2f84a06b9f3f9d5bad3abd7613620b71e05deef88f5496b0a6e1a29f57fe23
  • Pointer size: 131 Bytes
  • Size of remote file: 150 kB
splits/image_metrics.csv ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run,image_wake_score,image_wake_observed,centreline_low_speed_area,near_base_low_speed_area,velocity_images,velocity_slices,imputation_neighbors
2
+ 0,0.03877850197553976,true,0.017176292940732352,0.07971135083288218,5,Z-4;Z-5;X-53;X-55;X-57,
3
+ 1,0.11175936664484712,true,0.08548508871272179,0.19430046392552472,5,Z-4;Z-5;X-53;X-55;X-57,
4
+ 2,0.09873744056086073,true,0.06457468227003901,0.18223418724559404,5,Z-4;Z-5;X-53;X-55;X-57,
5
+ 3,0.08169155164058886,true,0.041891856465752275,0.162432775737966,5,Z-4;Z-5;X-53;X-55;X-57,
6
+ 4,0.1411331040509459,true,0.12026996560546957,0.2325063845055756,5,Z-4;Z-5;X-53;X-55;X-57,
7
+ 5,0.07873306510890984,true,0.06081225619730716,0.13623920497194467,5,Z-4;Z-5;X-53;X-55;X-57,
8
+ 6,0.12151503228719832,true,0.10129608657354977,0.20262331733081673,5,Z-4;Z-5;X-53;X-55;X-57,
9
+ 7,0.05002508720802104,true,0.020810525984648297,0.10428599214549579,5,Z-4;Z-5;X-53;X-55;X-57,
10
+ 8,0.1518974509004773,true,0.1640849796568936,0.21578119174160604,5,Z-4;Z-5;X-53;X-55;X-57,
11
+ 9,0.08149589080663742,true,0.046530137158676224,0.15720720625832516,5,Z-4;Z-5;X-53;X-55;X-57,
12
+ 10,0.037527198759745944,true,0.015276991317478294,0.07869530688810386,5,Z-4;Z-5;X-53;X-55;X-57,
13
+ 11,0.040076591087224445,true,0.014278448890566672,0.08580817623973863,5,Z-4;Z-5;X-53;X-55;X-57,
14
+ 12,0.05403811270348723,true,0.02534525607147351,0.10974384036524217,5,Z-4;Z-5;X-53;X-55;X-57,
15
+ 13,0.11065698891961617,true,0.0940451847657397,0.18295026299879716,5,Z-4;Z-5;X-53;X-55;X-57,
16
+ 14,0.12324622247217319,true,0.08974219831382912,0.21846166593289618,5,Z-4;Z-5;X-53;X-55;X-57,
17
+ 15,0.0841924513580682,true,0.05569580764229688,0.1549717691452662,5,Z-4;Z-5;X-53;X-55;X-57,
18
+ 16,0.06787510302763539,true,0.036777505138207295,0.13295514309929216,5,Z-4;Z-5;X-53;X-55;X-57,
19
+ 17,0.1124978464872093,true,0.07775103812759532,0.20352209842916938,5,Z-4;Z-5;X-53;X-55;X-57,
20
+ 18,0.10872274575436655,true,0.08579311899668637,0.18622294967317368,5,Z-4;Z-5;X-53;X-55;X-57,
21
+ 19,0.10837345432470852,true,0.09971766075248521,0.1713613233428197,5,Z-4;Z-5;X-53;X-55;X-57,
22
+ 20,0.02379629945378361,true,0.010788138081456315,0.04859583007700729,5,Z-4;Z-5;X-53;X-55;X-57,
23
+ 21,0.05247670391271904,true,0.025336867161612348,0.1058994446515854,5,Z-4;Z-5;X-53;X-55;X-57,
24
+ 22,0.1257161544265483,true,0.10228964808523133,0.21222721467035446,5,Z-4;Z-5;X-53;X-55;X-57,
25
+ 23,0.10456202550119444,true,0.07003560043622331,0.19151620860428423,5,Z-4;Z-5;X-53;X-55;X-57,
26
+ 24,0.09177046851439355,true,0.06491364665911664,0.16477199398097533,5,Z-4;Z-5;X-53;X-55;X-57,
27
+ 25,0.13336812455381072,true,0.10849534415502705,0.22500732015074243,5,Z-4;Z-5;X-53;X-55;X-57,
28
+ 26,0.07648182974591561,true,0.04880877479971478,0.14255482740243133,5,Z-4;Z-5;X-53;X-55;X-57,
29
+ 27,0.06056268883688161,true,0.030405341638354094,0.12105106832070477,5,Z-4;Z-5;X-53;X-55;X-57,
30
+ 28,0.11182376590032649,true,0.07797255777861667,0.2016736989265885,5,Z-4;Z-5;X-53;X-55;X-57,
31
+ 29,0.04996005956841298,true,0.02431944968751311,0.10054776494908195,5,Z-4;Z-5;X-53;X-55;X-57,
32
+ 30,0.0735869680878733,true,0.045347563021685335,0.1388630840409479,5,Z-4;Z-5;X-53;X-55;X-57,
33
+ 31,0.0735869680878733,true,0.045347563021685335,0.1388630840409479,5,Z-4;Z-5;X-53;X-55;X-57,
34
+ 32,0.03280933105366002,true,0.01330140304517428,0.06858331735890365,5,Z-4;Z-5;X-53;X-55;X-57,
35
+ 33,0.1147474142375048,true,0.09026283503208757,0.19678938539522847,5,Z-4;Z-5;X-53;X-55;X-57,
36
+ 34,0.10837076182813471,true,0.09111168784866407,0.18054096791702567,5,Z-4;Z-5;X-53;X-55;X-57,
37
+ 35,0.13082252836391298,true,0.10162220544440251,0.22541766989595904,5,Z-4;Z-5;X-53;X-55;X-57,
38
+ 36,0.07711185794124864,true,0.03528506564321966,0.15739468637805965,5,Z-4;Z-5;X-53;X-55;X-57,
39
+ 37,0.12040165516783553,true,0.08471540623296003,0.21635276034633968,5,Z-4;Z-5;X-53;X-55;X-57,
40
+ 38,0.06384989630477943,true,0.03339520154355941,0.12623380526362724,5,Z-4;Z-5;X-53;X-55;X-57,
41
+ 39,0.0486665890940582,true,0.0199244473805629,0.10169427258766801,5,Z-4;Z-5;X-53;X-55;X-57,
42
+ 40,0.12000091811883898,true,0.11656495113460005,0.18352646594356917,5,Z-4;Z-5;X-53;X-55;X-57,
43
+ 41,0.10954779773112451,true,0.07649375026215344,0.1974615051353403,5,Z-4;Z-5;X-53;X-55;X-57,
44
+ 42,0.0864340931187311,true,0.04963062581267565,0.16659651961063118,5,Z-4;Z-5;X-53;X-55;X-57,
45
+ 43,0.11710611799551775,true,0.0918672140430351,0.20104665867594096,5,Z-4;Z-5;X-53;X-55;X-57,
46
+ 44,0.11741473943438584,true,0.1077867434251919,0.18592902016710308,5,Z-4;Z-5;X-53;X-55;X-57,
47
+ 45,0.13480146053800168,true,0.11731549641374103,0.21976602200188042,5,Z-4;Z-5;X-53;X-55;X-57,
48
+ 46,0.09238860778873452,true,0.07580454888637222,0.1553707436922068,5,Z-4;Z-5;X-53;X-55;X-57,
49
+ 47,0.13630857952330844,true,0.11212721781804455,0.22856536982384593,5,Z-4;Z-5;X-53;X-55;X-57,
50
+ 48,0.07885151380175778,true,0.06786890231114467,0.1290336488195423,5,Z-4;Z-5;X-53;X-55;X-57,
51
+ 49,0.09587273576451748,true,0.07033104735539616,0.16952050730575619,5,Z-4;Z-5;X-53;X-55;X-57,
52
+ 50,0.1086000717094707,true,0.08689704710372886,0.18472324914984437,5,Z-4;Z-5;X-53;X-55;X-57,
53
+ 51,0.028638593641467345,true,0.011562277169581813,0.059908394545241335,5,Z-4;Z-5;X-53;X-55;X-57,
54
+ 52,0.12017025598562592,true,0.09471393817373433,0.20566667439056674,5,Z-4;Z-5;X-53;X-55;X-57,
55
+ 53,0.06736326455884638,true,0.0320485193574095,0.13646853458657124,5,Z-4;Z-5;X-53;X-55;X-57,
56
+ 54,0.08899690085965162,true,0.056762247808397295,0.16571992717064413,5,Z-4;Z-5;X-53;X-55;X-57,
57
+ 55,0.0889997142956714,true,0.06134285474602576,0.1613349988870562,5,Z-4;Z-5;X-53;X-55;X-57,
58
+ 56,0.0776363381771215,true,0.047480181200453,0.14683176151967028,5,Z-4;Z-5;X-53;X-55;X-57,
59
+ 57,0.14678789583013013,true,0.14559031710079273,0.2212780807653121,5,Z-4;Z-5;X-53;X-55;X-57,
60
+ 58,0.12289359760059965,true,0.10661150958432952,0.20095635926246583,5,Z-4;Z-5;X-53;X-55;X-57,
61
+ 59,0.11737335128424334,true,0.09052918292017953,0.20300164799940457,5,Z-4;Z-5;X-53;X-55;X-57,
62
+ 60,0.04219869369997156,true,0.021015005662514158,0.08393674547151249,5,Z-4;Z-5;X-53;X-55;X-57,
63
+ 61,0.100282112579657,true,0.06817693259510926,0.18271924816961124,5,Z-4;Z-5;X-53;X-55;X-57,
64
+ 62,0.11021172526122912,true,0.07710745144918418,0.19835509015546804,5,Z-4;Z-5;X-53;X-55;X-57,
65
+ 63,0.13280532165981462,true,0.10024537561343903,0.23173525841009837,5,Z-4;Z-5;X-53;X-55;X-57,
66
+ 64,0.09825685733150205,true,0.08062345329474435,0.16511212645288317,5,Z-4;Z-5;X-53;X-55;X-57,
67
+ 65,0.027033384499960223,true,0.009792741495742628,0.05769809521602696,5,Z-4;Z-5;X-53;X-55;X-57,
68
+ 66,0.021395560258590525,true,0.006491967618807936,0.046768917060058944,5,Z-4;Z-5;X-53;X-55;X-57,
69
+ 67,0.07937118795997246,true,0.05306955454888637,0.14534764923101554,5,Z-4;Z-5;X-53;X-55;X-57,
70
+ 68,0.060493257890865765,true,0.033144582861457154,0.11814280929480092,5,Z-4;Z-5;X-53;X-55;X-57,
71
+ 69,0.09800567093988338,true,0.0753088167442641,0.1697869116406898,5,Z-4;Z-5;X-53;X-55;X-57,
72
+ 70,0.10525043418019739,true,0.08614361813682311,0.17722755522413003,5,Z-4;Z-5;X-53;X-55;X-57,
73
+ 71,0.0774752205907227,true,0.04714383834570697,0.14659456757043318,5,Z-4;Z-5;X-53;X-55;X-57,
74
+ 72,0.024929177170606567,true,0.012876190176586554,0.049562862365016065,5,Z-4;Z-5;X-53;X-55;X-57,
75
+ 73,0.03488587328954691,true,0.013417799169497924,0.07371549786504379,5,Z-4;Z-5;X-53;X-55;X-57,
76
+ 74,0.05287973111282907,true,0.022294314416341596,0.10985085148976477,5,Z-4;Z-5;X-53;X-55;X-57,
77
+ 75,0.11071795472249302,true,0.0898929365378969,0.18719602064668706,5,Z-4;Z-5;X-53;X-55;X-57,
78
+ 76,0.09593664206860215,true,0.07208616459041148,0.16803246284979612,5,Z-4;Z-5;X-53;X-55;X-57,
79
+ 77,0.06820266365094887,true,0.04031657648588566,0.13026160849516658,5,Z-4;Z-5;X-53;X-55;X-57,
80
+ 78,0.09141185260539715,true,0.0673469548257204,0.16130677154318607,5,Z-4;Z-5;X-53;X-55;X-57,
81
+ 79,0.10475319494756317,true,0.07744746445199446,0.18480849291964127,5,Z-4;Z-5;X-53;X-55;X-57,
82
+ 80,0.03089286085824469,true,0.012036774883603876,0.0650078538020196,5,Z-4;Z-5;X-53;X-55;X-57,
83
+ 81,0.11646828531348012,true,0.08933402541839688,0.20171807624331972,5,Z-4;Z-5;X-53;X-55;X-57,
84
+ 82,0.0635174847087025,true,0.03285621408497966,0.12585294677320033,5,Z-4;Z-5;X-53;X-55;X-57,
85
+ 83,0.11226157269532708,true,0.08270547586091187,0.198247517292759,5,Z-4;Z-5;X-53;X-55;X-57,
86
+ 84,0.14158110948788227,true,0.16245150161486516,0.19140119271060443,5,Z-4;Z-5;X-53;X-55;X-57,
87
+ 85,0.11011414348554606,true,0.07359249821735665,0.20180317957856997,5,Z-4;Z-5;X-53;X-55;X-57,
88
+ 86,0.0951495419861941,true,0.07152305901598087,0.16661955087627647,5,Z-4;Z-5;X-53;X-55;X-57,
89
+ 87,0.1392124306640168,true,0.11965049704290928,0.22827354683597456,5,Z-4;Z-5;X-53;X-55;X-57,
90
+ 88,0.11251064448176903,true,0.07881040015100038,0.20262542384901602,5,Z-4;Z-5;X-53;X-55;X-57,
91
+ 89,0.037273550796595174,true,0.012872520028522294,0.08017843613493232,5,Z-4;Z-5;X-53;X-55;X-57,
92
+ 90,0.10965789404712134,true,0.08300039847321841,0.19129446245517503,5,Z-4;Z-5;X-53;X-55;X-57,
93
+ 91,0.06869256058099894,true,0.033613837506815986,0.13814897437139742,5,Z-4;Z-5;X-53;X-55;X-57,
94
+ 92,0.1282584040083785,true,0.09629839352376159,0.22431553957410413,5,Z-4;Z-5;X-53;X-55;X-57,
95
+ 93,0.11659601072901604,true,0.0915395222515834,0.2002488500166064,5,Z-4;Z-5;X-53;X-55;X-57,
96
+ 94,0.031217667332913472,true,0.014406904072815738,0.0634175729961219,5,Z-4;Z-5;X-53;X-55;X-57,
97
+ 95,0.09881762232848125,true,0.08141437020259218,0.1658362069752435,5,Z-4;Z-5;X-53;X-55;X-57,
98
+ 96,0.07895083426743557,true,0.044906883100541084,0.15263676393865536,5,Z-4;Z-5;X-53;X-55;X-57,
99
+ 97,0.11671080268668668,true,0.07830654125246425,0.21341163963652732,5,Z-4;Z-5;X-53;X-55;X-57,
100
+ 98,0.06140261442234819,true,0.03612395662933601,0.117495686903987,5,Z-4;Z-5;X-53;X-55;X-57,
101
+ 99,0.1253222270225043,true,0.09875214965815192,0.21477834864420978,5,Z-4;Z-5;X-53;X-55;X-57,
102
+ 100,0.10706458130642578,true,0.09580869091061617,0.17267410548460102,5,Z-4;Z-5;X-53;X-55;X-57,
103
+ 101,0.1088789903516427,true,0.08006716370957594,0.19236569717677407,5,Z-4;Z-5;X-53;X-55;X-57,
104
+ 102,0.10889502211591183,true,0.10489361813682313,0.1665753139940919,5,Z-4;Z-5;X-53;X-55;X-57,
105
+ 103,0.10314205073133266,true,0.07663714819009271,0.1814894628448809,5,Z-4;Z-5;X-53;X-55;X-57,
106
+ 104,0.12122839287928402,true,0.09890262572878655,0.2042046103257309,5,Z-4;Z-5;X-53;X-55;X-57,
107
+ 105,0.08678587044067,true,0.06704180822952058,0.14991570416339278,5,Z-4;Z-5;X-53;X-55;X-57,
108
+ 106,0.06300079452833014,true,0.029460016358374228,0.12814554074673262,5,Z-4;Z-5;X-53;X-55;X-57,
109
+ 107,0.09877503950233699,true,0.07149789228639739,0.17544684517301887,5,Z-4;Z-5;X-53;X-55;X-57,
110
+ 108,0.11726449357680534,true,0.10636429889685836,0.1873865903264471,5,Z-4;Z-5;X-53;X-55;X-57,
111
+ 109,0.0992969279563608,true,0.0758976133551445,0.17252440225790666,5,Z-4;Z-5;X-53;X-55;X-57,
112
+ 110,0.08545225765863493,true,0.047275701522587144,0.16639288951803566,5,Z-4;Z-5;X-53;X-55;X-57,
113
+ 111,0.10206148511414065,true,0.06801282454595026,0.18712524163519176,5,Z-4;Z-5;X-53;X-55;X-57,
114
+ 112,0.12127582805526732,true,0.08924043664275827,0.21433906938238997,5,Z-4;Z-5;X-53;X-55;X-57,
115
+ 113,0.10638624418967622,true,0.08291467430057464,0.18330106849624794,5,Z-4;Z-5;X-53;X-55;X-57,
116
+ 114,0.11040535995463215,true,0.08769766368860367,0.18856399356528908,5,Z-4;Z-5;X-53;X-55;X-57,
117
+ 115,0.09841083574947809,true,0.07903401702948701,0.16706360491268132,5,Z-4;Z-5;X-53;X-55;X-57,
118
+ 116,0.056621158442902594,true,0.02911371167316807,0.11246138927683931,5,Z-4;Z-5;X-53;X-55;X-57,
119
+ 117,0.11140887819658418,true,0.08805995973323266,0.19044904648453712,5,Z-4;Z-5;X-53;X-55;X-57,
120
+ 118,0.0823874921786826,true,0.048604557275282075,0.15748821578610694,5,Z-4;Z-5;X-53;X-55;X-57,
121
+ 119,0.13938621810917812,true,0.13765283545153306,0.20946444583474647,5,Z-4;Z-5;X-53;X-55;X-57,
122
+ 120,0.07044177118575651,true,0.03698198481607315,0.13915322181425985,5,Z-4;Z-5;X-53;X-55;X-57,
123
+ 121,0.03085697108023839,true,0.011745522419361604,0.06517763916888027,5,Z-4;Z-5;X-53;X-55;X-57,
124
+ 122,0.09526653244956712,true,0.07264324063587937,0.1658098052804794,5,Z-4;Z-5;X-53;X-55;X-57,
125
+ 123,0.12235069890145045,true,0.08671904492261232,0.21914333522217797,5,Z-4;Z-5;X-53;X-55;X-57,
126
+ 124,0.12126480326711288,true,0.10219317562182795,0.20125239528673575,5,Z-4;Z-5;X-53;X-55;X-57,
127
+ 125,0.05839690081578837,true,0.03320540245795059,0.1130141396523262,5,Z-4;Z-5;X-53;X-55;X-57,
128
+ 126,0.12427556440495094,true,0.09476741747409925,0.21621471318701457,5,Z-4;Z-5;X-53;X-55;X-57,
129
+ 127,0.06251337807737567,true,0.03144556646113837,0.12449845557107357,5,Z-4;Z-5;X-53;X-55;X-57,
130
+ 128,0.11731091200935242,true,0.0862136131034772,0.20720780310514827,5,Z-4;Z-5;X-53;X-55;X-57,
131
+ 129,0.08275240985421875,true,0.06267380772618598,0.14307738435039544,5,Z-4;Z-5;X-53;X-55;X-57,
132
+ 130,0.10252373293072059,true,0.07520133383666794,0.1810367018665858,5,Z-4;Z-5;X-53;X-55;X-57,
133
+ 131,0.04057678705962092,true,0.018161727695985907,0.08321112016913938,5,Z-4;Z-5;X-53;X-55;X-57,
134
+ 132,0.09409362948598816,true,0.06599004865567719,0.16945099220518048,5,Z-4;Z-5;X-53;X-55;X-57,
135
+ 133,0.0772225980356767,true,0.05523310683276708,0.1379630390316757,5,Z-4;Z-5;X-53;X-55;X-57,
136
+ 134,0.0772225980356767,true,0.05523310683276708,0.1379630390316757,5,Z-4;Z-5;X-53;X-55;X-57,
137
+ 135,0.0552449130630971,true,0.02751614865148274,0.11067351706385069,5,Z-4;Z-5;X-53;X-55;X-57,
138
+ 136,0.11806124882341407,true,0.0943403695314794,0.20105115258143272,5,Z-4;Z-5;X-53;X-55;X-57,
139
+ 137,0.10847272660735664,true,0.08146050920682857,0.18990598609276685,5,Z-4;Z-5;X-53;X-55;X-57,
140
+ 138,0.10182114024487765,true,0.06704128392265425,0.18783050392830536,5,Z-4;Z-5;X-53;X-55;X-57,
141
+ 139,0.02855358071625331,true,0.015298750052430688,0.05595642596887549,5,Z-4;Z-5;X-53;X-55;X-57,
142
+ 140,0.10928731488109017,true,0.08246298393523763,0.19060015405669764,5,Z-4;Z-5;X-53;X-55;X-57,
143
+ 141,0.06554771557759262,true,0.03812182794345875,0.12593411794114528,5,Z-4;Z-5;X-53;X-55;X-57,
144
+ 142,0.11264486714335228,true,0.08710493477622583,0.19467107069404857,5,Z-4;Z-5;X-53;X-55;X-57,
145
+ 143,0.11521976581717802,true,0.09030713896229184,0.19795541343579437,5,Z-4;Z-5;X-53;X-55;X-57,
146
+ 144,0.0836744080058199,true,0.045985906631433246,0.16325052610292026,5,Z-4;Z-5;X-53;X-55;X-57,
147
+ 145,0.1044851853453729,true,0.07380064804328677,0.18757350870799516,5,Z-4;Z-5;X-53;X-55;X-57,
148
+ 146,0.11702218158719813,true,0.08879739734071557,0.20380998924973545,5,Z-4;Z-5;X-53;X-55;X-57,
149
+ 147,0.053165118404289766,true,0.02719055408749633,0.10574300056665341,5,Z-4;Z-5;X-53;X-55;X-57,
150
+ 148,0.11784197986302969,true,0.12107163080407701,0.17415470690959034,5,Z-4;Z-5;X-53;X-55;X-57,
151
+ 149,0.032369672674472334,true,0.013348066356277003,0.06746840749330654,5,Z-4;Z-5;X-53;X-55;X-57,
152
+ 150,0.07620329891833336,true,0.04052026970345204,0.15007495693925715,5,Z-4;Z-5;X-53;X-55;X-57,
153
+ 151,0.1253168997380211,true,0.08857351830879577,0.2249074711880973,5,Z-4;Z-5;X-53;X-55;X-57,
154
+ 152,0.0449787438329796,true,0.02339535883561931,0.08905614643391045,5,Z-4;Z-5;X-53;X-55;X-57,
155
+ 153,0.12302710829401428,true,0.11572081707982049,0.19229913120167738,5,Z-4;Z-5;X-53;X-55;X-57,
156
+ 154,0.11411546374098203,true,0.09456608363743131,0.19081024413843753,5,Z-4;Z-5;X-53;X-55;X-57,
157
+ 155,0.12372695953978927,true,0.09431677572249486,0.21492060883993339,5,Z-4;Z-5;X-53;X-55;X-57,
158
+ 156,0.06890746921527743,true,0.04116044838723208,0.13116488349901098,5,Z-4;Z-5;X-53;X-55;X-57,
159
+ 157,0.11224952635623109,true,0.10451637934650393,0.17548504336969883,5,Z-4;Z-5;X-53;X-55;X-57,
160
+ 158,0.09671192046394925,true,0.07523384086237993,0.16680773316874406,5,Z-4;Z-5;X-53;X-55;X-57,
161
+ 159,0.1200738490604276,true,0.08365132544775807,0.2166155133830612,5,Z-4;Z-5;X-53;X-55;X-57,
162
+ 160,0.1027239565415993,true,0.07973527746319366,0.1772129500312818,5,Z-4;Z-5;X-53;X-55;X-57,
163
+ 161,0.007594402539493079,true,0.002353351369489535,0.0166801132745053,5,Z-4;Z-5;X-53;X-55;X-57,
164
+ 162,0.11528737331157862,true,0.0916941927771486,0.19682547707370915,5,Z-4;Z-5;X-53;X-55;X-57,
165
+ 163,0.05131789932191742,true,0.02477402374061491,0.10302559208960287,5,Z-4;Z-5;X-53;X-55;X-57,
166
+ 164,0.10311385078679494,true,0.07805277672916405,0.1799748762596101,5,Z-4;Z-5;X-53;X-55;X-57,
167
+ 165,0.1323239933943378,true,0.10114062958768508,0.2297476882718195,5,Z-4;Z-5;X-53;X-55;X-57,
168
+ 166,0.08218959304579927,true,0.0544188582693679,0.151206859384995,5,Z-4;Z-5;X-53;X-55;X-57,
169
+ 167,0.03256425613969208,true,0.012507340296128518,0.06879565439338947,5,Z-4;Z-5;X-53;X-55;X-57,
170
+ 168,0.11552474705667401,true,0.0867971666456944,0.20225271056229288,5,Z-4;Z-5;X-53;X-55;X-57,
171
+ 169,0.030627865425466083,true,0.014135313116060567,0.06235139391820108,5,Z-4;Z-5;X-53;X-55;X-57,
172
+ 170,0.11185861833003269,true,0.07153275869300785,0.20786896895062393,5,Z-4;Z-5;X-53;X-55;X-57,
173
+ 171,0.11646168301093043,true,0.08574776645274947,0.20557103846432015,5,Z-4;Z-5;X-53;X-55;X-57,
174
+ 172,0.11785654385823052,true,0.10305618472379514,0.19211572368379473,5,Z-4;Z-5;X-53;X-55;X-57,
175
+ 173,0.11875486858725896,true,0.10898924122310305,0.1882614975518748,5,Z-4;Z-5;X-53;X-55;X-57,
176
+ 174,0.08166061870674615,true,0.05135821693720901,0.15299473159798363,5,Z-4;Z-5;X-53;X-55;X-57,
177
+ 175,0.12819267467970624,true,0.09958684618933769,0.2206987882605145,5,Z-4;Z-5;X-53;X-55;X-57,
178
+ 176,0.12222614814114212,true,0.1215505851264628,0.18416375791611986,5,Z-4;Z-5;X-53;X-55;X-57,
179
+ 177,0.12232992545296116,true,0.09800710960110734,0.20816992018402544,5,Z-4;Z-5;X-53;X-55;X-57,
180
+ 178,0.05575219335115485,true,0.032364676397802106,0.10714313299643086,5,Z-4;Z-5;X-53;X-55;X-57,
181
+ 179,0.11469493903505179,true,0.10468074954909609,0.1823437261919558,5,Z-4;Z-5;X-53;X-55;X-57,
182
+ 180,0.1099099709917311,true,0.07791907847825175,0.19688530219056824,5,Z-4;Z-5;X-53;X-55;X-57,
183
+ 181,0.11086113009573031,true,0.07392884107210268,0.20327058015617724,5,Z-4;Z-5;X-53;X-55;X-57,
184
+ 182,0.0636894285430119,true,0.028815905373096765,0.13049079767524652,5,Z-4;Z-5;X-53;X-55;X-57,
185
+ 183,0.040819810061526796,true,0.019446017365043415,0.0826193289896928,5,Z-4;Z-5;X-53;X-55;X-57,
186
+ 184,0.1031332472870779,true,0.07461646952728493,0.18346537691579054,5,Z-4;Z-5;X-53;X-55;X-57,
187
+ 185,0.1075489198745446,true,0.08482944297638523,0.18408118240270868,5,Z-4;Z-5;X-53;X-55;X-57,
188
+ 186,0.0864859424105302,true,0.05126908476993415,0.16499331882644466,5,Z-4;Z-5;X-53;X-55;X-57,
189
+ 187,0.062390095274532986,true,0.037175191896313076,0.11887222632993272,5,Z-4;Z-5;X-53;X-55;X-57,
190
+ 188,0.12064304966270878,true,0.09292185730464325,0.20889610722458504,5,Z-4;Z-5;X-53;X-55;X-57,
191
+ 189,0.05256823788539468,true,0.026734931420661884,0.10477231698043254,5,Z-4;Z-5;X-53;X-55;X-57,
192
+ 190,0.11895961037449893,true,0.10600278931252884,0.19165186837631684,5,Z-4;Z-5;X-53;X-55;X-57,
193
+ 191,0.13620216794628806,true,0.10909069460173651,0.23494109824028495,5,Z-4;Z-5;X-53;X-55;X-57,
194
+ 192,0.061690546350893494,true,0.02617392307369657,0.126862249859741,5,Z-4;Z-5;X-53;X-55;X-57,
195
+ 193,0.03165982479238247,true,0.010002202088838556,0.06894858761465603,5,Z-4;Z-5;X-53;X-55;X-57,
196
+ 194,0.06530614816145165,true,0.0346918124239755,0.12838357730324945,5,Z-4;Z-5;X-53;X-55;X-57,
197
+ 195,0.09339953426492997,true,0.05854017239209765,0.17505390931158282,5,Z-4;Z-5;X-53;X-55;X-57,
198
+ 196,0.124276889582019,true,0.08982975756050501,0.22089792444761827,5,Z-4;Z-5;X-53;X-55;X-57,
199
+ 197,0.08605707162685367,true,0.07661827314290508,0.13830555889087603,5,Z-4;Z-5;X-53;X-55;X-57,
200
+ 198,0.13740447977243408,true,0.11368860366595361,0.22958618854320925,5,Z-4;Z-5;X-53;X-55;X-57,
201
+ 199,0.05643961511017226,true,0.023984155446499726,0.11709811670251258,5,Z-4;Z-5;X-53;X-55;X-57,
202
+ 200,0.10452134508025404,true,0.07994368944255693,0.18148145807572372,5,Z-4;Z-5;X-53;X-55;X-57,
203
+ 201,0.09490991550740706,true,0.05974555387777358,0.1776831248933575,5,Z-4;Z-5;X-53;X-55;X-57,
204
+ 202,0.022876765987344144,true,0.00938273352627826,0.04769704897865465,5,Z-4;Z-5;X-53;X-55;X-57,
205
+ 203,0.06208140339697418,true,0.031162178599890945,0.12421281170325338,5,Z-4;Z-5;X-53;X-55;X-57,
206
+ 204,0.12851937035992747,true,0.11098920976469108,0.21050099322333096,5,Z-4;Z-5;X-53;X-55;X-57,
207
+ 205,0.10124148644354578,true,0.08852318484962879,0.16486706816903543,5,Z-4;Z-5;X-53;X-55;X-57,
208
+ 206,0.07431450167250214,true,0.040753324105532486,0.145091496617985,5,Z-4;Z-5;X-53;X-55;X-57,
209
+ 207,0.06027253060787138,true,0.03043863512436559,0.12024048011762796,5,Z-4;Z-5;X-53;X-55;X-57,
210
+ 208,0.09170374695747124,true,0.05761450861960489,0.171611296835799,5,Z-4;Z-5;X-53;X-55;X-57,
211
+ 209,0.04642838103341257,true,0.01827445367224529,0.09780423564636054,5,Z-4;Z-5;X-53;X-55;X-57,
212
+ 210,0.11300417154216047,true,0.08437984983851349,0.19816283526114856,5,Z-4;Z-5;X-53;X-55;X-57,
213
+ 211,0.08810785361993798,true,0.06567887253051466,0.15477010513632333,5,Z-4;Z-5;X-53;X-55;X-57,
214
+ 212,0.11904144575511114,true,0.07882639151042323,0.21874969718800885,5,Z-4;Z-5;X-53;X-55;X-57,
215
+ 213,0.10104412456610734,true,0.06995774086657439,0.1828011215102893,5,Z-4;Z-5;X-53;X-55;X-57,
216
+ 214,0.11096548774381476,true,0.08303316765236357,0.19466039766850565,5,Z-4;Z-5;X-53;X-55;X-57,
217
+ 215,0.0788100281751737,true,0.04386927981208842,0.1531042705443454,5,Z-4;Z-5;X-53;X-55;X-57,
218
+ 216,0.1334411659407847,true,0.1027552325825259,0.23103041742062466,5,Z-4;Z-5;X-53;X-55;X-57,
219
+ 217,0.07260450842814184,true,0.04274516589069251,0.1388694035955457,5,Z-4;Z-5;X-53;X-55;X-57,
220
+ 218,0.04409001290773808,true,0.020713004907512267,0.089484893104734,5,Z-4;Z-5;X-53;X-55;X-57,
221
+ 219,0.10193375882623112,true,0.08079175579883394,0.17431185316725542,5,Z-4;Z-5;X-53;X-55;X-57,
222
+ 220,0.1322792752661082,true,0.11280121429470241,0.21807378571513836,5,Z-4;Z-5;X-53;X-55;X-57,
223
+ 221,0.020665027691196144,true,0.009709901010863638,0.041980801193131904,5,Z-4;Z-5;X-53;X-55;X-57,
224
+ 222,0.11329585996897264,true,0.08557684241432825,0.19782916277838516,5,Z-4;Z-5;X-53;X-55;X-57,
225
+ 223,0.11212104407345774,true,0.11369568180864896,0.16622268284753514,5,Z-4;Z-5;X-53;X-55;X-57,
226
+ 224,0.11578229195825296,true,0.08244122520028523,0.20713112584269508,5,Z-4;Z-5;X-53;X-55;X-57,
227
+ 225,0.10469596659789121,true,0.08301481691204228,0.17909027905046584,5,Z-4;Z-5;X-53;X-55;X-57,
228
+ 226,0.07410949356687435,true,0.05062156579002559,0.1348562055568546,5,Z-4;Z-5;X-53;X-55;X-57,
229
+ 227,0.1129557881839366,true,0.08921159976511053,0.19319355882908482,5,Z-4;Z-5;X-53;X-55;X-57,
230
+ 228,0.10298347639193206,true,0.08221865693553124,0.17521386426018026,5,Z-4;Z-5;X-53;X-55;X-57,
231
+ 229,0.017401005781848198,true,0.006753596745102974,0.03659569806853346,5,Z-4;Z-5;X-53;X-55;X-57,
232
+ 230,0.09162675690238684,true,0.05731539155236777,0.17189019984538156,5,Z-4;Z-5;X-53;X-55;X-57,
233
+ 231,0.09162675690238684,true,0.05731539155236777,0.17189019984538156,5,Z-4;Z-5;X-53;X-55;X-57,
234
+ 232,0.12460270169614786,true,0.12294078478251752,0.18847860936094554,5,Z-4;Z-5;X-53;X-55;X-57,
235
+ 233,0.11656580846106801,true,0.0946347678369196,0.19701773196802866,5,Z-4;Z-5;X-53;X-55;X-57,
236
+ 234,0.09444277604056493,true,0.07565590788976972,0.16074685900582172,5,Z-4;Z-5;X-53;X-55;X-57,
237
+ 235,0.06941988005211253,true,0.037853907134767835,0.13568856111465707,5,Z-4;Z-5;X-53;X-55;X-57,
238
+ 236,0.11301003691738293,true,0.08173524600478169,0.2007405113643146,5,Z-4;Z-5;X-53;X-55;X-57,
239
+ 237,0.11165959035726175,true,0.08314117486682605,0.19634645483519655,5,Z-4;Z-5;X-53;X-55;X-57,
240
+ 238,0.046909420082338796,true,0.025670064175160438,0.09163073297705089,5,Z-4;Z-5;X-53;X-55;X-57,
241
+ 239,0.0929033365618617,true,0.06479803699509248,0.16760020531530717,5,Z-4;Z-5;X-53;X-55;X-57,
242
+ 240,0.10802682724724849,true,0.08512121974749381,0.18489893276766298,5,Z-4;Z-5;X-53;X-55;X-57,
243
+ 241,0.09457972852734786,true,0.06880347930036491,0.16783627578817137,5,Z-4;Z-5;X-53;X-55;X-57,
244
+ 242,0.09457972852734786,true,0.06880347930036491,0.16783627578817137,5,Z-4;Z-5;X-53;X-55;X-57,
245
+ 243,0.12458652545562734,true,0.13347253680634202,0.17744719485503993,5,Z-4;Z-5;X-53;X-55;X-57,
246
+ 244,0.03545187798270505,true,0.016560756679669476,0.07200528595633468,5,Z-4;Z-5;X-53;X-55;X-57,
247
+ 245,0.10778467527794149,true,0.09142810704248983,0.1783206977350014,5,Z-4;Z-5;X-53;X-55;X-57,
248
+ 246,0.11120413979869492,true,0.08334696531185773,0.19469129326876153,5,Z-4;Z-5;X-53;X-55;X-57,
249
+ 247,0.0761977346120205,true,0.04704081204647456,0.14356988830538334,5,Z-4;Z-5;X-53;X-55;X-57,
250
+ 248,0.12626685232274112,true,0.09120475231743636,0.22442423591318617,5,Z-4;Z-5;X-53;X-55;X-57,
251
+ 249,0.1004129345448971,true,0.07493865609664024,0.1762681064016386,5,Z-4;Z-5;X-53;X-55;X-57,
252
+ 250,0.130279000162781,true,0.10182930665659998,0.22383469168648548,5,Z-4;Z-5;X-53;X-55;X-57,
253
+ 251,0.08446097760792386,true,0.054284373558156115,0.1570872751555137,5,Z-4;Z-5;X-53;X-55;X-57,
254
+ 252,0.011901983196702423,true,0.005624764061910155,0.024211477575060508,5,Z-4;Z-5;X-53;X-55;X-57,
255
+ 253,0.03348005681851174,true,0.012312560295289626,0.0713583040000674,5,Z-4;Z-5;X-53;X-55;X-57,
256
+ 254,0.051450399306145485,true,0.0263752569103645,0.10219773043729212,5,Z-4;Z-5;X-53;X-55;X-57,
257
+ 255,0.09665305046714232,true,0.06668265802608951,0.1752124599147141,5,Z-4;Z-5;X-53;X-55;X-57,
258
+ 256,0.08611829204135558,true,0.06201318107461935,0.15345044170175776,5,Z-4;Z-5;X-53;X-55;X-57,
259
+ 257,0.06643002611626736,true,0.03610665450274737,0.1300957552956112,5,Z-4;Z-5;X-53;X-55;X-57,
260
+ 258,0.11768990150310236,true,0.10456566419193825,0.18996524947143945,5,Z-4;Z-5;X-53;X-55;X-57,
261
+ 259,0.10193656087217387,true,0.07719972945765698,0.17755729553958813,5,Z-4;Z-5;X-53;X-55;X-57,
262
+ 260,0.11166841368830147,true,0.08106911413111867,0.1981016057988233,5,Z-4;Z-5;X-53;X-55;X-57,
263
+ 261,0.06804334497697756,true,0.035068264753995215,0.1351445176810605,5,Z-4;Z-5;X-53;X-55;X-57,
264
+ 262,0.1282397203001044,true,0.10241023866448555,0.21842768077261468,5,Z-4;Z-5;X-53;X-55;X-57,
265
+ 263,0.12559461623755475,true,0.10683879661088042,0.207390789319391,5,Z-4;Z-5;X-53;X-55;X-57,
266
+ 264,0.08958525704789233,true,0.06040041315381066,0.16378291346914758,5,Z-4;Z-5;X-53;X-55;X-57,
267
+ 265,0.06823763002782127,true,0.04256978524390755,0.12809975908453528,5,Z-4;Z-5;X-53;X-55;X-57,
268
+ 266,0.0988361866374742,true,0.06386450861960488,0.18335611883852207,5,Z-4;Z-5;X-53;X-55;X-57,
269
+ 267,0.11369022821697158,true,0.0799269116228346,0.20432187317215658,5,Z-4;Z-5;X-53;X-55;X-57,
270
+ 268,0.04491716985698301,true,0.019270898871691623,0.09298030897004601,5,Z-4;Z-5;X-53;X-55;X-57,
271
+ 269,0.09183969044571688,true,0.05797208590243698,0.17166101066530162,5,Z-4;Z-5;X-53;X-55;X-57,
272
+ 270,0.07673089219848768,true,0.05044382576234219,0.1416521141367734,5,Z-4;Z-5;X-53;X-55;X-57,
273
+ 271,0.07685297196386627,true,0.050692085063545986,0.14171067534271295,5,Z-4;Z-5;X-53;X-55;X-57,
274
+ 272,0.02956161946521775,true,0.008160836374313158,0.06561087974519557,5,Z-4;Z-5;X-53;X-55;X-57,
275
+ 273,0.11887381619657401,true,0.09728461473931463,0.20012217805555732,5,Z-4;Z-5;X-53;X-55;X-57,
276
+ 274,0.09943659543488009,true,0.07852334214168868,0.17038389889836122,5,Z-4;Z-5;X-53;X-55;X-57,
277
+ 275,0.07654632925467197,true,0.04663919298687136,0.14495330902411332,5,Z-4;Z-5;X-53;X-55;X-57,
278
+ 276,0.12153607808304527,true,0.0863669728618766,0.21729802527962272,5,Z-4;Z-5;X-53;X-55;X-57,
279
+ 277,0.05538832007730167,true,0.02971037288704333,0.10887721877806496,5,Z-4;Z-5;X-53;X-55;X-57,
280
+ 278,0.12593731282998633,true,0.13078965857136865,0.18371745692696914,5,Z-4;Z-5;X-53;X-55;X-57,
281
+ 279,0.10689673356976143,true,0.07350022020888386,0.1938458772981236,5,Z-4;Z-5;X-53;X-55;X-57,
282
+ 280,0.10170931995005764,true,0.07581582148399815,0.17862010418839014,5,Z-4;Z-5;X-53;X-55;X-57,
283
+ 281,0.10620971424215192,true,0.07820089341890021,0.18751354315658944,5,Z-4;Z-5;X-53;X-55;X-57,
284
+ 282,0.11966178451009413,true,0.08824661297764355,0.2111475538759584,5,Z-4;Z-5;X-53;X-55;X-57,
285
+ 283,0.08756619781604275,true,0.0587976070634621,0.16030111975485747,5,Z-4;Z-5;X-53;X-55;X-57,
286
+ 284,0.07009269806451113,true,0.03799075122687807,0.13738416783051796,5,Z-4;Z-5;X-53;X-55;X-57,
287
+ 285,0.043393069808168476,true,0.01905226290843505,0.08928996995402876,5,Z-4;Z-5;X-53;X-55;X-57,
288
+ 286,0.13561512842999912,true,0.13860628748794096,0.20025741652395004,5,Z-4;Z-5;X-53;X-55;X-57,
289
+ 287,0.10402599271995613,true,0.08785783943626525,0.17231290783070052,5,Z-4;Z-5;X-53;X-55;X-57,
290
+ 288,0.024576829199911242,true,0.009625225451952518,0.05164677060227462,5,Z-4;Z-5;X-53;X-55;X-57,
291
+ 289,0.07748873843453238,true,0.03978964808523132,0.1539154204856086,5,Z-4;Z-5;X-53;X-55;X-57,
292
+ 290,0.09694306830849139,true,0.0664228639738266,0.1759170200350946,5,Z-4;Z-5;X-53;X-55;X-57,
293
+ 291,0.06397016668613743,true,0.03034976511052389,0.12966209341565607,5,Z-4;Z-5;X-53;X-55;X-57,
294
+ 292,0.09681203521787272,true,0.07197343861415209,0.17025820997913846,5,Z-4;Z-5;X-53;X-55;X-57,
295
+ 293,0.1186769283804774,true,0.10934550773876935,0.18782404393916094,5,Z-4;Z-5;X-53;X-55;X-57,
296
+ 294,0.10031813812785403,true,0.08091549221928611,0.17018981835493566,5,Z-4;Z-5;X-53;X-55;X-57,
297
+ 295,0.11007863523155118,true,0.08741139213959145,0.18778261574790875,5,Z-4;Z-5;X-53;X-55;X-57,
298
+ 296,0.06390492255266063,true,0.03303945933475945,0.1267713887080794,5,Z-4;Z-5;X-53;X-55;X-57,
299
+ 297,0.1411457646142668,true,0.14164779161947905,0.21139387607072566,5,Z-4;Z-5;X-53;X-55;X-57,
300
+ 298,0.1294709457549593,true,0.10954841449603625,0.21406859244560442,5,Z-4;Z-5;X-53;X-55;X-57,
301
+ 299,0.1282373050714672,true,0.0929677341554465,0.22761518968143124,5,Z-4;Z-5;X-53;X-55;X-57,
302
+ 300,0.10393543023770158,true,0.08403066146554256,0.17600507249582384,5,Z-4;Z-5;X-53;X-55;X-57,
303
+ 301,0.032097486455123586,true,0.01023420787718636,0.06993078683369952,5,Z-4;Z-5;X-53;X-55;X-57,
304
+ 302,0.09804089594790345,true,0.06740856088251332,0.17786358328576113,5,Z-4;Z-5;X-53;X-55;X-57,
305
+ 303,0.03884935142211383,true,0.019766368860366597,0.0769064516332889,5,Z-4;Z-5;X-53;X-55;X-57,
306
+ 304,0.10335981293818944,true,0.08192923954532108,0.17675344819474903,5,Z-4;Z-5;X-53;X-55;X-57,
307
+ 305,0.10331781000416648,true,0.08175438320540246,0.17680976244794266,5,Z-4;Z-5;X-53;X-55;X-57,
308
+ 306,0.06956608438861775,true,0.04817279057086531,0.12599633044529687,5,Z-4;Z-5;X-53;X-55;X-57,
309
+ 307,0.09275279033566275,true,0.07286921689526446,0.15906501487552935,5,Z-4;Z-5;X-53;X-55;X-57,
310
+ 308,0.11245820870432753,true,0.0860555345832809,0.19502524662061818,5,Z-4;Z-5;X-53;X-55;X-57,
311
+ 309,0.07666789195725376,true,0.04173666163332075,0.15010444819404686,5,Z-4;Z-5;X-53;X-55;X-57,
312
+ 310,0.10493311516794514,true,0.07779114760286901,0.18450304778074797,5,Z-4;Z-5;X-53;X-55;X-57,
313
+ 311,0.048871869288865076,true,0.02521758734952393,0.09648794264091376,5,Z-4;Z-5;X-53;X-55;X-57,
314
+ 312,0.04407594596186509,true,0.018449047858730756,0.09170600589403792,5,Z-4;Z-5;X-53;X-55;X-57,
315
+ 313,0.10313505386296537,true,0.08616930917327292,0.1719397732403376,5,Z-4;Z-5;X-53;X-55;X-57,
316
+ 314,0.12283602599806681,true,0.08766804035065642,0.2197706563419188,5,Z-4;Z-5;X-53;X-55;X-57,
317
+ 315,0.15178309543403534,true,0.14813084602155951,0.2311172059704343,5,Z-4;Z-5;X-53;X-55;X-57,
318
+ 316,0.06195709271896449,true,0.03177954993498595,0.12309523358127052,5,Z-4;Z-5;X-53;X-55;X-57,
319
+ 317,0.10697451175981638,true,0.08227030116186401,0.18542373666837295,5,Z-4;Z-5;X-53;X-55;X-57,
320
+ 318,0.029146808945027546,true,0.011447453965857137,0.061157419402858265,5,Z-4;Z-5;X-53;X-55;X-57,
321
+ 319,0.09625215675529361,true,0.06402599513443227,0.17660458757533437,5,Z-4;Z-5;X-53;X-55;X-57,
322
+ 320,0.06897607469256113,true,0.04186852481020091,0.1307140886043685,5,Z-4;Z-5;X-53;X-55;X-57,
323
+ 321,0.11159337353769058,true,0.08011304056037918,0.1991191945236144,5,Z-4;Z-5;X-53;X-55;X-57,
324
+ 322,0.12264011822194198,true,0.12038452665576108,0.18648120880440344,5,Z-4;Z-5;X-53;X-55;X-57,
325
+ 323,0.09338573686152463,true,0.08198009731135439,0.1513576860880623,5,Z-4;Z-5;X-53;X-55;X-57,
326
+ 324,0.1251450883054189,true,0.08999517637682983,0.2228339551072885,5,Z-4;Z-5;X-53;X-55;X-57,
327
+ 325,0.09895334705824667,true,0.06487956671280568,0.18256856190109053,5,Z-4;Z-5;X-53;X-55;X-57,
328
+ 326,0.05230520585596135,true,0.029461851432406358,0.10129965151167257,5,Z-4;Z-5;X-53;X-55;X-57,
329
+ 327,0.029668715621972073,true,0.013215416719097354,0.060795379141678096,5,Z-4;Z-5;X-53;X-55;X-57,
330
+ 328,0.0852884873779044,true,0.05520138626735456,0.15814938163158263,5,Z-4;Z-5;X-53;X-55;X-57,
331
+ 329,0.14328075907284382,true,0.13258488528165766,0.22649522417215592,5,Z-4;Z-5;X-53;X-55;X-57,
332
+ 330,0.10680867634282874,true,0.08709707017323098,0.18020743586880886,5,Z-4;Z-5;X-53;X-55;X-57,
333
+ 331,0.028175941332423383,true,0.011202078352418102,0.059098508514897646,5,Z-4;Z-5;X-53;X-55;X-57,
334
+ 332,0.14610598411905268,true,0.11915607566796696,0.2488098523260525,5,Z-4;Z-5;X-53;X-55;X-57,
335
+ 333,0.0999342212750803,true,0.07884579086447716,0.17137620940476114,5,Z-4;Z-5;X-53;X-55;X-57,
336
+ 334,0.07726168114384421,true,0.04758530472715071,0.1457478876888757,5,Z-4;Z-5;X-53;X-55;X-57,
337
+ 335,0.12753877712196687,true,0.09823098863302714,0.22031441890642212,5,Z-4;Z-5;X-53;X-55;X-57,
338
+ 336,0.056761434172213736,true,0.030508105784153347,0.11136459546775586,5,Z-4;Z-5;X-53;X-55;X-57,
339
+ 337,0.09458153661377325,true,0.06066440166100415,0.1760488880743685,5,Z-4;Z-5;X-53;X-55;X-57,
340
+ 338,0.11969436618322073,true,0.0815776917914517,0.2177805583818008,5,Z-4;Z-5;X-53;X-55;X-57,
341
+ 339,0.01360788985497658,true,0.0051806761461348095,0.028850873257119502,5,Z-4;Z-5;X-53;X-55;X-57,
342
+ 340,0.06428744817040424,true,0.0316469002978063,0.12838835207783442,5,Z-4;Z-5;X-53;X-55;X-57,
343
+ 341,0.11202422881370679,true,0.08915445031668134,0.19121371259086994,5,Z-4;Z-5;X-53;X-55;X-57,
344
+ 342,0.11443533801931678,true,0.11710839520154356,0.16865276224220604,5,Z-4;Z-5;X-53;X-55;X-57,
345
+ 343,0.1183993486170461,true,0.08436674216685541,0.21159750616332115,5,Z-4;Z-5;X-53;X-55;X-57,
346
+ 344,0.06973862608045184,true,0.04104143072857682,0.13331971118231142,5,Z-4;Z-5;X-53;X-55;X-57,
347
+ 345,0.06106400185138944,true,0.032772849293234346,0.11992913672777676,5,Z-4;Z-5;X-53;X-55;X-57,
348
+ 346,0.04384205959007187,true,0.021267721572081708,0.08798982692144303,5,Z-4;Z-5;X-53;X-55;X-57,
349
+ 347,0.09366410838419317,true,0.0722319218992492,0.1619988329889176,5,Z-4;Z-5;X-53;X-55;X-57,
350
+ 348,0.09711378813277914,true,0.07221304685206158,0.17066027408610462,5,Z-4;Z-5;X-53;X-55;X-57,
351
+ 349,0.0239805662501483,true,0.007243037204815235,0.05259554639922312,5,Z-4;Z-5;X-53;X-55;X-57,
352
+ 350,0.11431309756848043,false,0.08228812759531899,0.2034734238153117,0,Z-4;Z-5;X-53;X-55;X-57,290;92;276;210;28
353
+ 351,0.11611751461603312,false,0.08568222809445912,0.20468135752458835,0,Z-4;Z-5;X-53;X-55;X-57,85;33;200;343;63
354
+ 352,0.10678768894767728,false,0.08876321253303134,0.17815641740236815,0,Z-4;Z-5;X-53;X-55;X-57,243;282;87;90;183
355
+ 353,0.10460618037839783,false,0.08776692462564491,0.17384912133615044,0,Z-4;Z-5;X-53;X-55;X-57,114;118;174;278;322
356
+ 354,0.07536465457355299,false,0.05040948366259805,0.13816666912427125,0,Z-4;Z-5;X-53;X-55;X-57,30;64;187;15;125
splits/manifest.json ADDED
@@ -0,0 +1,2188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "full_train": [
3
+ "run_0",
4
+ "run_1",
5
+ "run_2",
6
+ "run_3",
7
+ "run_4",
8
+ "run_5",
9
+ "run_6",
10
+ "run_9",
11
+ "run_10",
12
+ "run_12",
13
+ "run_13",
14
+ "run_14",
15
+ "run_15",
16
+ "run_16",
17
+ "run_17",
18
+ "run_19",
19
+ "run_20",
20
+ "run_21",
21
+ "run_22",
22
+ "run_24",
23
+ "run_26",
24
+ "run_29",
25
+ "run_30",
26
+ "run_31",
27
+ "run_33",
28
+ "run_34",
29
+ "run_35",
30
+ "run_36",
31
+ "run_38",
32
+ "run_39",
33
+ "run_40",
34
+ "run_41",
35
+ "run_42",
36
+ "run_45",
37
+ "run_48",
38
+ "run_49",
39
+ "run_52",
40
+ "run_53",
41
+ "run_54",
42
+ "run_55",
43
+ "run_59",
44
+ "run_60",
45
+ "run_61",
46
+ "run_62",
47
+ "run_63",
48
+ "run_64",
49
+ "run_65",
50
+ "run_67",
51
+ "run_68",
52
+ "run_70",
53
+ "run_71",
54
+ "run_72",
55
+ "run_73",
56
+ "run_74",
57
+ "run_75",
58
+ "run_76",
59
+ "run_78",
60
+ "run_79",
61
+ "run_80",
62
+ "run_81",
63
+ "run_82",
64
+ "run_84",
65
+ "run_86",
66
+ "run_87",
67
+ "run_88",
68
+ "run_90",
69
+ "run_91",
70
+ "run_92",
71
+ "run_93",
72
+ "run_96",
73
+ "run_101",
74
+ "run_102",
75
+ "run_103",
76
+ "run_105",
77
+ "run_106",
78
+ "run_107",
79
+ "run_108",
80
+ "run_109",
81
+ "run_110",
82
+ "run_111",
83
+ "run_112",
84
+ "run_114",
85
+ "run_115",
86
+ "run_116",
87
+ "run_117",
88
+ "run_118",
89
+ "run_119",
90
+ "run_120",
91
+ "run_121",
92
+ "run_122",
93
+ "run_124",
94
+ "run_126",
95
+ "run_127",
96
+ "run_128",
97
+ "run_129",
98
+ "run_131",
99
+ "run_132",
100
+ "run_133",
101
+ "run_134",
102
+ "run_135",
103
+ "run_138",
104
+ "run_140",
105
+ "run_141",
106
+ "run_142",
107
+ "run_143",
108
+ "run_144",
109
+ "run_145",
110
+ "run_146",
111
+ "run_147",
112
+ "run_150",
113
+ "run_151",
114
+ "run_152",
115
+ "run_153",
116
+ "run_154",
117
+ "run_155",
118
+ "run_157",
119
+ "run_158",
120
+ "run_159",
121
+ "run_160",
122
+ "run_161",
123
+ "run_162",
124
+ "run_163",
125
+ "run_164",
126
+ "run_165",
127
+ "run_166",
128
+ "run_167",
129
+ "run_169",
130
+ "run_170",
131
+ "run_171",
132
+ "run_173",
133
+ "run_174",
134
+ "run_175",
135
+ "run_176",
136
+ "run_177",
137
+ "run_178",
138
+ "run_179",
139
+ "run_180",
140
+ "run_181",
141
+ "run_182",
142
+ "run_183",
143
+ "run_184",
144
+ "run_185",
145
+ "run_186",
146
+ "run_187",
147
+ "run_188",
148
+ "run_189",
149
+ "run_190",
150
+ "run_191",
151
+ "run_192",
152
+ "run_193",
153
+ "run_194",
154
+ "run_195",
155
+ "run_196",
156
+ "run_197",
157
+ "run_198",
158
+ "run_199",
159
+ "run_200",
160
+ "run_201",
161
+ "run_202",
162
+ "run_203",
163
+ "run_204",
164
+ "run_205",
165
+ "run_206",
166
+ "run_207",
167
+ "run_208",
168
+ "run_209",
169
+ "run_211",
170
+ "run_212",
171
+ "run_213",
172
+ "run_214",
173
+ "run_215",
174
+ "run_217",
175
+ "run_218",
176
+ "run_219",
177
+ "run_220",
178
+ "run_221",
179
+ "run_223",
180
+ "run_224",
181
+ "run_225",
182
+ "run_226",
183
+ "run_227",
184
+ "run_228",
185
+ "run_229",
186
+ "run_230",
187
+ "run_231",
188
+ "run_233",
189
+ "run_234",
190
+ "run_235",
191
+ "run_237",
192
+ "run_238",
193
+ "run_239",
194
+ "run_240",
195
+ "run_241",
196
+ "run_243",
197
+ "run_245",
198
+ "run_246",
199
+ "run_247",
200
+ "run_248",
201
+ "run_249",
202
+ "run_251",
203
+ "run_252",
204
+ "run_254",
205
+ "run_255",
206
+ "run_258",
207
+ "run_259",
208
+ "run_260",
209
+ "run_261",
210
+ "run_262",
211
+ "run_263",
212
+ "run_264",
213
+ "run_265",
214
+ "run_266",
215
+ "run_268",
216
+ "run_269",
217
+ "run_271",
218
+ "run_272",
219
+ "run_275",
220
+ "run_276",
221
+ "run_277",
222
+ "run_278",
223
+ "run_280",
224
+ "run_281",
225
+ "run_282",
226
+ "run_284",
227
+ "run_285",
228
+ "run_286",
229
+ "run_288",
230
+ "run_289",
231
+ "run_290",
232
+ "run_291",
233
+ "run_292",
234
+ "run_293",
235
+ "run_294",
236
+ "run_295",
237
+ "run_296",
238
+ "run_297",
239
+ "run_298",
240
+ "run_301",
241
+ "run_302",
242
+ "run_303",
243
+ "run_304",
244
+ "run_306",
245
+ "run_307",
246
+ "run_308",
247
+ "run_309",
248
+ "run_310",
249
+ "run_311",
250
+ "run_312",
251
+ "run_313",
252
+ "run_314",
253
+ "run_315",
254
+ "run_316",
255
+ "run_318",
256
+ "run_319",
257
+ "run_320",
258
+ "run_321",
259
+ "run_322",
260
+ "run_323",
261
+ "run_324",
262
+ "run_325",
263
+ "run_326",
264
+ "run_327",
265
+ "run_328",
266
+ "run_329",
267
+ "run_330",
268
+ "run_332",
269
+ "run_334",
270
+ "run_335",
271
+ "run_337",
272
+ "run_338",
273
+ "run_339",
274
+ "run_340",
275
+ "run_342",
276
+ "run_343",
277
+ "run_344",
278
+ "run_345",
279
+ "run_346",
280
+ "run_347",
281
+ "run_348",
282
+ "run_349",
283
+ "run_350",
284
+ "run_351",
285
+ "run_352",
286
+ "run_353"
287
+ ],
288
+ "full_val": [
289
+ "run_8",
290
+ "run_11",
291
+ "run_25",
292
+ "run_27",
293
+ "run_37",
294
+ "run_43",
295
+ "run_44",
296
+ "run_46",
297
+ "run_50",
298
+ "run_51",
299
+ "run_56",
300
+ "run_57",
301
+ "run_77",
302
+ "run_83",
303
+ "run_94",
304
+ "run_99",
305
+ "run_137",
306
+ "run_149",
307
+ "run_156",
308
+ "run_168",
309
+ "run_210",
310
+ "run_222",
311
+ "run_236",
312
+ "run_242",
313
+ "run_244",
314
+ "run_250",
315
+ "run_267",
316
+ "run_273",
317
+ "run_274",
318
+ "run_279",
319
+ "run_287",
320
+ "run_300",
321
+ "run_305",
322
+ "run_317",
323
+ "run_331"
324
+ ],
325
+ "full_test": [
326
+ "run_7",
327
+ "run_18",
328
+ "run_23",
329
+ "run_28",
330
+ "run_32",
331
+ "run_47",
332
+ "run_58",
333
+ "run_66",
334
+ "run_69",
335
+ "run_85",
336
+ "run_89",
337
+ "run_95",
338
+ "run_97",
339
+ "run_98",
340
+ "run_100",
341
+ "run_104",
342
+ "run_113",
343
+ "run_123",
344
+ "run_125",
345
+ "run_130",
346
+ "run_136",
347
+ "run_139",
348
+ "run_148",
349
+ "run_172",
350
+ "run_216",
351
+ "run_232",
352
+ "run_253",
353
+ "run_256",
354
+ "run_257",
355
+ "run_270",
356
+ "run_283",
357
+ "run_299",
358
+ "run_333",
359
+ "run_336",
360
+ "run_341",
361
+ "run_354"
362
+ ],
363
+ "medium_train": [
364
+ "run_3",
365
+ "run_4",
366
+ "run_5",
367
+ "run_10",
368
+ "run_13",
369
+ "run_17",
370
+ "run_21",
371
+ "run_22",
372
+ "run_26",
373
+ "run_29",
374
+ "run_31",
375
+ "run_34",
376
+ "run_36",
377
+ "run_40",
378
+ "run_45",
379
+ "run_48",
380
+ "run_52",
381
+ "run_65",
382
+ "run_70",
383
+ "run_74",
384
+ "run_80",
385
+ "run_84",
386
+ "run_91",
387
+ "run_96",
388
+ "run_102",
389
+ "run_103",
390
+ "run_105",
391
+ "run_107",
392
+ "run_109",
393
+ "run_121",
394
+ "run_129",
395
+ "run_132",
396
+ "run_133",
397
+ "run_134",
398
+ "run_141",
399
+ "run_142",
400
+ "run_143",
401
+ "run_147",
402
+ "run_153",
403
+ "run_154",
404
+ "run_161",
405
+ "run_163",
406
+ "run_164",
407
+ "run_165",
408
+ "run_167",
409
+ "run_169",
410
+ "run_175",
411
+ "run_176",
412
+ "run_178",
413
+ "run_179",
414
+ "run_188",
415
+ "run_189",
416
+ "run_192",
417
+ "run_194",
418
+ "run_196",
419
+ "run_198",
420
+ "run_200",
421
+ "run_204",
422
+ "run_219",
423
+ "run_221",
424
+ "run_223",
425
+ "run_225",
426
+ "run_226",
427
+ "run_243",
428
+ "run_248",
429
+ "run_252",
430
+ "run_254",
431
+ "run_258",
432
+ "run_261",
433
+ "run_262",
434
+ "run_269",
435
+ "run_271",
436
+ "run_275",
437
+ "run_285",
438
+ "run_286",
439
+ "run_288",
440
+ "run_293",
441
+ "run_294",
442
+ "run_298",
443
+ "run_303",
444
+ "run_306",
445
+ "run_309",
446
+ "run_310",
447
+ "run_311",
448
+ "run_315",
449
+ "run_322",
450
+ "run_327",
451
+ "run_329",
452
+ "run_335",
453
+ "run_337",
454
+ "run_340",
455
+ "run_342",
456
+ "run_346",
457
+ "run_352",
458
+ "run_353"
459
+ ],
460
+ "medium_val": [
461
+ "run_8",
462
+ "run_11",
463
+ "run_25",
464
+ "run_27",
465
+ "run_37",
466
+ "run_43",
467
+ "run_44",
468
+ "run_46",
469
+ "run_50",
470
+ "run_51",
471
+ "run_56",
472
+ "run_57",
473
+ "run_77",
474
+ "run_83",
475
+ "run_94",
476
+ "run_99",
477
+ "run_137",
478
+ "run_149",
479
+ "run_156",
480
+ "run_168",
481
+ "run_210",
482
+ "run_222",
483
+ "run_236",
484
+ "run_242",
485
+ "run_244",
486
+ "run_250",
487
+ "run_267",
488
+ "run_273",
489
+ "run_274",
490
+ "run_279",
491
+ "run_287",
492
+ "run_300",
493
+ "run_305",
494
+ "run_317",
495
+ "run_331"
496
+ ],
497
+ "medium_test": [
498
+ "run_7",
499
+ "run_18",
500
+ "run_23",
501
+ "run_28",
502
+ "run_32",
503
+ "run_47",
504
+ "run_58",
505
+ "run_66",
506
+ "run_69",
507
+ "run_85",
508
+ "run_89",
509
+ "run_95",
510
+ "run_97",
511
+ "run_98",
512
+ "run_100",
513
+ "run_104",
514
+ "run_113",
515
+ "run_123",
516
+ "run_125",
517
+ "run_130",
518
+ "run_136",
519
+ "run_139",
520
+ "run_148",
521
+ "run_172",
522
+ "run_216",
523
+ "run_232",
524
+ "run_253",
525
+ "run_256",
526
+ "run_257",
527
+ "run_270",
528
+ "run_283",
529
+ "run_299",
530
+ "run_333",
531
+ "run_336",
532
+ "run_341",
533
+ "run_354"
534
+ ],
535
+ "scarce_train": [
536
+ "run_3",
537
+ "run_13",
538
+ "run_17",
539
+ "run_36",
540
+ "run_40",
541
+ "run_45",
542
+ "run_48",
543
+ "run_52",
544
+ "run_70",
545
+ "run_84",
546
+ "run_91",
547
+ "run_107",
548
+ "run_121",
549
+ "run_129",
550
+ "run_132",
551
+ "run_133",
552
+ "run_134",
553
+ "run_147",
554
+ "run_161",
555
+ "run_165",
556
+ "run_169",
557
+ "run_175",
558
+ "run_178",
559
+ "run_179",
560
+ "run_188",
561
+ "run_189",
562
+ "run_198",
563
+ "run_221",
564
+ "run_252",
565
+ "run_254",
566
+ "run_258",
567
+ "run_261",
568
+ "run_262",
569
+ "run_271",
570
+ "run_275",
571
+ "run_286",
572
+ "run_288",
573
+ "run_303",
574
+ "run_306",
575
+ "run_309",
576
+ "run_310",
577
+ "run_311",
578
+ "run_315",
579
+ "run_327",
580
+ "run_335",
581
+ "run_340",
582
+ "run_346"
583
+ ],
584
+ "scarce_val": [
585
+ "run_8",
586
+ "run_11",
587
+ "run_25",
588
+ "run_27",
589
+ "run_37",
590
+ "run_43",
591
+ "run_44",
592
+ "run_46",
593
+ "run_50",
594
+ "run_51",
595
+ "run_56",
596
+ "run_57",
597
+ "run_77",
598
+ "run_83",
599
+ "run_94",
600
+ "run_99",
601
+ "run_137",
602
+ "run_149",
603
+ "run_156",
604
+ "run_168",
605
+ "run_210",
606
+ "run_222",
607
+ "run_236",
608
+ "run_242",
609
+ "run_244",
610
+ "run_250",
611
+ "run_267",
612
+ "run_273",
613
+ "run_274",
614
+ "run_279",
615
+ "run_287",
616
+ "run_300",
617
+ "run_305",
618
+ "run_317",
619
+ "run_331"
620
+ ],
621
+ "scarce_test": [
622
+ "run_7",
623
+ "run_18",
624
+ "run_23",
625
+ "run_28",
626
+ "run_32",
627
+ "run_47",
628
+ "run_58",
629
+ "run_66",
630
+ "run_69",
631
+ "run_85",
632
+ "run_89",
633
+ "run_95",
634
+ "run_97",
635
+ "run_98",
636
+ "run_100",
637
+ "run_104",
638
+ "run_113",
639
+ "run_123",
640
+ "run_125",
641
+ "run_130",
642
+ "run_136",
643
+ "run_139",
644
+ "run_148",
645
+ "run_172",
646
+ "run_216",
647
+ "run_232",
648
+ "run_253",
649
+ "run_256",
650
+ "run_257",
651
+ "run_270",
652
+ "run_283",
653
+ "run_299",
654
+ "run_333",
655
+ "run_336",
656
+ "run_341",
657
+ "run_354"
658
+ ],
659
+ "super_scarce_train": [
660
+ "run_132",
661
+ "run_252",
662
+ "run_271",
663
+ "run_303",
664
+ "run_306",
665
+ "run_315",
666
+ "run_335",
667
+ "run_340"
668
+ ],
669
+ "super_scarce_val": [
670
+ "run_8",
671
+ "run_11",
672
+ "run_25",
673
+ "run_27",
674
+ "run_37",
675
+ "run_43",
676
+ "run_44",
677
+ "run_46",
678
+ "run_50",
679
+ "run_51",
680
+ "run_56",
681
+ "run_57",
682
+ "run_77",
683
+ "run_83",
684
+ "run_94",
685
+ "run_99",
686
+ "run_137",
687
+ "run_149",
688
+ "run_156",
689
+ "run_168",
690
+ "run_210",
691
+ "run_222",
692
+ "run_236",
693
+ "run_242",
694
+ "run_244",
695
+ "run_250",
696
+ "run_267",
697
+ "run_273",
698
+ "run_274",
699
+ "run_279",
700
+ "run_287",
701
+ "run_300",
702
+ "run_305",
703
+ "run_317",
704
+ "run_331"
705
+ ],
706
+ "super_scarce_test": [
707
+ "run_7",
708
+ "run_18",
709
+ "run_23",
710
+ "run_28",
711
+ "run_32",
712
+ "run_47",
713
+ "run_58",
714
+ "run_66",
715
+ "run_69",
716
+ "run_85",
717
+ "run_89",
718
+ "run_95",
719
+ "run_97",
720
+ "run_98",
721
+ "run_100",
722
+ "run_104",
723
+ "run_113",
724
+ "run_123",
725
+ "run_125",
726
+ "run_130",
727
+ "run_136",
728
+ "run_139",
729
+ "run_148",
730
+ "run_172",
731
+ "run_216",
732
+ "run_232",
733
+ "run_253",
734
+ "run_256",
735
+ "run_257",
736
+ "run_270",
737
+ "run_283",
738
+ "run_299",
739
+ "run_333",
740
+ "run_336",
741
+ "run_341",
742
+ "run_354"
743
+ ],
744
+ "high_drag_train": [
745
+ "run_0",
746
+ "run_1",
747
+ "run_3",
748
+ "run_4",
749
+ "run_5",
750
+ "run_6",
751
+ "run_7",
752
+ "run_8",
753
+ "run_9",
754
+ "run_12",
755
+ "run_13",
756
+ "run_15",
757
+ "run_16",
758
+ "run_18",
759
+ "run_19",
760
+ "run_21",
761
+ "run_22",
762
+ "run_26",
763
+ "run_27",
764
+ "run_30",
765
+ "run_31",
766
+ "run_33",
767
+ "run_35",
768
+ "run_37",
769
+ "run_39",
770
+ "run_41",
771
+ "run_42",
772
+ "run_43",
773
+ "run_44",
774
+ "run_45",
775
+ "run_46",
776
+ "run_47",
777
+ "run_48",
778
+ "run_49",
779
+ "run_51",
780
+ "run_53",
781
+ "run_54",
782
+ "run_55",
783
+ "run_56",
784
+ "run_57",
785
+ "run_60",
786
+ "run_61",
787
+ "run_64",
788
+ "run_65",
789
+ "run_67",
790
+ "run_69",
791
+ "run_70",
792
+ "run_71",
793
+ "run_73",
794
+ "run_77",
795
+ "run_78",
796
+ "run_79",
797
+ "run_82",
798
+ "run_83",
799
+ "run_84",
800
+ "run_86",
801
+ "run_87",
802
+ "run_90",
803
+ "run_91",
804
+ "run_92",
805
+ "run_93",
806
+ "run_94",
807
+ "run_95",
808
+ "run_96",
809
+ "run_97",
810
+ "run_99",
811
+ "run_100",
812
+ "run_101",
813
+ "run_102",
814
+ "run_104",
815
+ "run_105",
816
+ "run_106",
817
+ "run_107",
818
+ "run_108",
819
+ "run_109",
820
+ "run_110",
821
+ "run_111",
822
+ "run_112",
823
+ "run_113",
824
+ "run_114",
825
+ "run_115",
826
+ "run_117",
827
+ "run_118",
828
+ "run_122",
829
+ "run_124",
830
+ "run_126",
831
+ "run_130",
832
+ "run_131",
833
+ "run_132",
834
+ "run_133",
835
+ "run_134",
836
+ "run_135",
837
+ "run_136",
838
+ "run_137",
839
+ "run_138",
840
+ "run_141",
841
+ "run_142",
842
+ "run_143",
843
+ "run_144",
844
+ "run_145",
845
+ "run_146",
846
+ "run_147",
847
+ "run_150",
848
+ "run_152",
849
+ "run_153",
850
+ "run_154",
851
+ "run_155",
852
+ "run_156",
853
+ "run_157",
854
+ "run_158",
855
+ "run_159",
856
+ "run_160",
857
+ "run_161",
858
+ "run_162",
859
+ "run_165",
860
+ "run_166",
861
+ "run_168",
862
+ "run_172",
863
+ "run_173",
864
+ "run_175",
865
+ "run_177",
866
+ "run_178",
867
+ "run_179",
868
+ "run_180",
869
+ "run_183",
870
+ "run_184",
871
+ "run_185",
872
+ "run_186",
873
+ "run_188",
874
+ "run_189",
875
+ "run_190",
876
+ "run_191",
877
+ "run_195",
878
+ "run_197",
879
+ "run_198",
880
+ "run_200",
881
+ "run_201",
882
+ "run_202",
883
+ "run_203",
884
+ "run_204",
885
+ "run_206",
886
+ "run_207",
887
+ "run_208",
888
+ "run_209",
889
+ "run_210",
890
+ "run_211",
891
+ "run_213",
892
+ "run_215",
893
+ "run_216",
894
+ "run_217",
895
+ "run_218",
896
+ "run_220",
897
+ "run_223",
898
+ "run_225",
899
+ "run_226",
900
+ "run_227",
901
+ "run_228",
902
+ "run_229",
903
+ "run_230",
904
+ "run_231",
905
+ "run_232",
906
+ "run_233",
907
+ "run_234",
908
+ "run_235",
909
+ "run_236",
910
+ "run_237",
911
+ "run_238",
912
+ "run_239",
913
+ "run_241",
914
+ "run_242",
915
+ "run_244",
916
+ "run_245",
917
+ "run_246",
918
+ "run_247",
919
+ "run_248",
920
+ "run_249",
921
+ "run_250",
922
+ "run_251",
923
+ "run_253",
924
+ "run_255",
925
+ "run_256",
926
+ "run_257",
927
+ "run_258",
928
+ "run_259",
929
+ "run_262",
930
+ "run_263",
931
+ "run_264",
932
+ "run_265",
933
+ "run_268",
934
+ "run_270",
935
+ "run_271",
936
+ "run_272",
937
+ "run_273",
938
+ "run_276",
939
+ "run_277",
940
+ "run_278",
941
+ "run_280",
942
+ "run_283",
943
+ "run_286",
944
+ "run_287",
945
+ "run_288",
946
+ "run_289",
947
+ "run_290",
948
+ "run_292",
949
+ "run_294",
950
+ "run_295",
951
+ "run_296",
952
+ "run_298",
953
+ "run_300",
954
+ "run_301",
955
+ "run_302",
956
+ "run_304",
957
+ "run_306",
958
+ "run_307",
959
+ "run_308",
960
+ "run_309",
961
+ "run_312",
962
+ "run_313",
963
+ "run_314",
964
+ "run_316",
965
+ "run_317",
966
+ "run_319",
967
+ "run_320",
968
+ "run_321",
969
+ "run_322",
970
+ "run_323",
971
+ "run_325",
972
+ "run_326",
973
+ "run_328",
974
+ "run_329",
975
+ "run_330",
976
+ "run_331",
977
+ "run_332",
978
+ "run_333",
979
+ "run_336",
980
+ "run_337",
981
+ "run_341",
982
+ "run_342",
983
+ "run_343",
984
+ "run_344",
985
+ "run_345",
986
+ "run_347",
987
+ "run_348",
988
+ "run_349",
989
+ "run_350",
990
+ "run_351",
991
+ "run_353",
992
+ "run_354"
993
+ ],
994
+ "high_drag_val": [
995
+ "run_24",
996
+ "run_28",
997
+ "run_29",
998
+ "run_32",
999
+ "run_34",
1000
+ "run_38",
1001
+ "run_40",
1002
+ "run_58",
1003
+ "run_59",
1004
+ "run_68",
1005
+ "run_76",
1006
+ "run_98",
1007
+ "run_116",
1008
+ "run_120",
1009
+ "run_125",
1010
+ "run_129",
1011
+ "run_148",
1012
+ "run_164",
1013
+ "run_174",
1014
+ "run_176",
1015
+ "run_182",
1016
+ "run_187",
1017
+ "run_205",
1018
+ "run_214",
1019
+ "run_219",
1020
+ "run_254",
1021
+ "run_260",
1022
+ "run_269",
1023
+ "run_274",
1024
+ "run_275",
1025
+ "run_281",
1026
+ "run_282",
1027
+ "run_284",
1028
+ "run_297",
1029
+ "run_305",
1030
+ "run_334"
1031
+ ],
1032
+ "high_drag_test": [
1033
+ "run_2",
1034
+ "run_10",
1035
+ "run_11",
1036
+ "run_14",
1037
+ "run_17",
1038
+ "run_20",
1039
+ "run_23",
1040
+ "run_25",
1041
+ "run_36",
1042
+ "run_50",
1043
+ "run_52",
1044
+ "run_62",
1045
+ "run_63",
1046
+ "run_66",
1047
+ "run_72",
1048
+ "run_74",
1049
+ "run_75",
1050
+ "run_80",
1051
+ "run_81",
1052
+ "run_85",
1053
+ "run_88",
1054
+ "run_89",
1055
+ "run_103",
1056
+ "run_119",
1057
+ "run_121",
1058
+ "run_123",
1059
+ "run_127",
1060
+ "run_128",
1061
+ "run_139",
1062
+ "run_140",
1063
+ "run_149",
1064
+ "run_151",
1065
+ "run_163",
1066
+ "run_167",
1067
+ "run_169",
1068
+ "run_170",
1069
+ "run_171",
1070
+ "run_181",
1071
+ "run_192",
1072
+ "run_193",
1073
+ "run_194",
1074
+ "run_196",
1075
+ "run_199",
1076
+ "run_212",
1077
+ "run_221",
1078
+ "run_222",
1079
+ "run_224",
1080
+ "run_240",
1081
+ "run_243",
1082
+ "run_252",
1083
+ "run_261",
1084
+ "run_266",
1085
+ "run_267",
1086
+ "run_279",
1087
+ "run_285",
1088
+ "run_291",
1089
+ "run_293",
1090
+ "run_299",
1091
+ "run_303",
1092
+ "run_310",
1093
+ "run_311",
1094
+ "run_315",
1095
+ "run_318",
1096
+ "run_324",
1097
+ "run_327",
1098
+ "run_335",
1099
+ "run_338",
1100
+ "run_339",
1101
+ "run_340",
1102
+ "run_346",
1103
+ "run_352"
1104
+ ],
1105
+ "low_drag_train": [
1106
+ "run_1",
1107
+ "run_2",
1108
+ "run_3",
1109
+ "run_4",
1110
+ "run_6",
1111
+ "run_8",
1112
+ "run_9",
1113
+ "run_10",
1114
+ "run_11",
1115
+ "run_12",
1116
+ "run_13",
1117
+ "run_14",
1118
+ "run_16",
1119
+ "run_17",
1120
+ "run_18",
1121
+ "run_20",
1122
+ "run_21",
1123
+ "run_22",
1124
+ "run_23",
1125
+ "run_24",
1126
+ "run_27",
1127
+ "run_28",
1128
+ "run_29",
1129
+ "run_32",
1130
+ "run_33",
1131
+ "run_34",
1132
+ "run_35",
1133
+ "run_36",
1134
+ "run_39",
1135
+ "run_41",
1136
+ "run_42",
1137
+ "run_43",
1138
+ "run_44",
1139
+ "run_45",
1140
+ "run_47",
1141
+ "run_49",
1142
+ "run_50",
1143
+ "run_52",
1144
+ "run_53",
1145
+ "run_54",
1146
+ "run_56",
1147
+ "run_57",
1148
+ "run_59",
1149
+ "run_61",
1150
+ "run_62",
1151
+ "run_63",
1152
+ "run_64",
1153
+ "run_65",
1154
+ "run_66",
1155
+ "run_67",
1156
+ "run_69",
1157
+ "run_70",
1158
+ "run_71",
1159
+ "run_72",
1160
+ "run_73",
1161
+ "run_74",
1162
+ "run_75",
1163
+ "run_78",
1164
+ "run_79",
1165
+ "run_80",
1166
+ "run_81",
1167
+ "run_83",
1168
+ "run_84",
1169
+ "run_85",
1170
+ "run_86",
1171
+ "run_87",
1172
+ "run_88",
1173
+ "run_89",
1174
+ "run_90",
1175
+ "run_91",
1176
+ "run_92",
1177
+ "run_93",
1178
+ "run_94",
1179
+ "run_97",
1180
+ "run_99",
1181
+ "run_101",
1182
+ "run_102",
1183
+ "run_103",
1184
+ "run_104",
1185
+ "run_106",
1186
+ "run_107",
1187
+ "run_108",
1188
+ "run_109",
1189
+ "run_110",
1190
+ "run_113",
1191
+ "run_114",
1192
+ "run_115",
1193
+ "run_117",
1194
+ "run_119",
1195
+ "run_120",
1196
+ "run_121",
1197
+ "run_122",
1198
+ "run_123",
1199
+ "run_126",
1200
+ "run_127",
1201
+ "run_128",
1202
+ "run_129",
1203
+ "run_130",
1204
+ "run_131",
1205
+ "run_132",
1206
+ "run_136",
1207
+ "run_137",
1208
+ "run_138",
1209
+ "run_139",
1210
+ "run_140",
1211
+ "run_142",
1212
+ "run_145",
1213
+ "run_146",
1214
+ "run_148",
1215
+ "run_149",
1216
+ "run_150",
1217
+ "run_151",
1218
+ "run_152",
1219
+ "run_153",
1220
+ "run_154",
1221
+ "run_155",
1222
+ "run_157",
1223
+ "run_159",
1224
+ "run_160",
1225
+ "run_162",
1226
+ "run_163",
1227
+ "run_164",
1228
+ "run_167",
1229
+ "run_168",
1230
+ "run_169",
1231
+ "run_170",
1232
+ "run_171",
1233
+ "run_172",
1234
+ "run_173",
1235
+ "run_175",
1236
+ "run_176",
1237
+ "run_177",
1238
+ "run_179",
1239
+ "run_180",
1240
+ "run_181",
1241
+ "run_182",
1242
+ "run_183",
1243
+ "run_184",
1244
+ "run_185",
1245
+ "run_186",
1246
+ "run_188",
1247
+ "run_190",
1248
+ "run_191",
1249
+ "run_192",
1250
+ "run_193",
1251
+ "run_194",
1252
+ "run_196",
1253
+ "run_199",
1254
+ "run_200",
1255
+ "run_201",
1256
+ "run_202",
1257
+ "run_208",
1258
+ "run_209",
1259
+ "run_210",
1260
+ "run_213",
1261
+ "run_214",
1262
+ "run_215",
1263
+ "run_216",
1264
+ "run_219",
1265
+ "run_221",
1266
+ "run_222",
1267
+ "run_223",
1268
+ "run_224",
1269
+ "run_227",
1270
+ "run_229",
1271
+ "run_230",
1272
+ "run_233",
1273
+ "run_235",
1274
+ "run_236",
1275
+ "run_237",
1276
+ "run_239",
1277
+ "run_240",
1278
+ "run_241",
1279
+ "run_242",
1280
+ "run_243",
1281
+ "run_244",
1282
+ "run_246",
1283
+ "run_247",
1284
+ "run_248",
1285
+ "run_249",
1286
+ "run_251",
1287
+ "run_254",
1288
+ "run_255",
1289
+ "run_258",
1290
+ "run_259",
1291
+ "run_260",
1292
+ "run_261",
1293
+ "run_262",
1294
+ "run_263",
1295
+ "run_264",
1296
+ "run_266",
1297
+ "run_269",
1298
+ "run_275",
1299
+ "run_276",
1300
+ "run_279",
1301
+ "run_280",
1302
+ "run_281",
1303
+ "run_282",
1304
+ "run_283",
1305
+ "run_284",
1306
+ "run_285",
1307
+ "run_286",
1308
+ "run_288",
1309
+ "run_290",
1310
+ "run_291",
1311
+ "run_292",
1312
+ "run_295",
1313
+ "run_296",
1314
+ "run_297",
1315
+ "run_299",
1316
+ "run_300",
1317
+ "run_302",
1318
+ "run_303",
1319
+ "run_305",
1320
+ "run_307",
1321
+ "run_308",
1322
+ "run_309",
1323
+ "run_310",
1324
+ "run_311",
1325
+ "run_312",
1326
+ "run_313",
1327
+ "run_314",
1328
+ "run_315",
1329
+ "run_317",
1330
+ "run_319",
1331
+ "run_321",
1332
+ "run_322",
1333
+ "run_324",
1334
+ "run_325",
1335
+ "run_327",
1336
+ "run_330",
1337
+ "run_332",
1338
+ "run_334",
1339
+ "run_337",
1340
+ "run_338",
1341
+ "run_339",
1342
+ "run_340",
1343
+ "run_341",
1344
+ "run_342",
1345
+ "run_343",
1346
+ "run_345",
1347
+ "run_346",
1348
+ "run_347",
1349
+ "run_348",
1350
+ "run_350",
1351
+ "run_351",
1352
+ "run_352",
1353
+ "run_353"
1354
+ ],
1355
+ "low_drag_val": [
1356
+ "run_7",
1357
+ "run_25",
1358
+ "run_37",
1359
+ "run_40",
1360
+ "run_51",
1361
+ "run_58",
1362
+ "run_60",
1363
+ "run_82",
1364
+ "run_96",
1365
+ "run_111",
1366
+ "run_112",
1367
+ "run_124",
1368
+ "run_143",
1369
+ "run_161",
1370
+ "run_165",
1371
+ "run_198",
1372
+ "run_203",
1373
+ "run_204",
1374
+ "run_207",
1375
+ "run_212",
1376
+ "run_220",
1377
+ "run_231",
1378
+ "run_232",
1379
+ "run_250",
1380
+ "run_252",
1381
+ "run_253",
1382
+ "run_267",
1383
+ "run_272",
1384
+ "run_273",
1385
+ "run_278",
1386
+ "run_289",
1387
+ "run_293",
1388
+ "run_298",
1389
+ "run_318",
1390
+ "run_329",
1391
+ "run_335"
1392
+ ],
1393
+ "low_drag_test": [
1394
+ "run_0",
1395
+ "run_5",
1396
+ "run_15",
1397
+ "run_19",
1398
+ "run_26",
1399
+ "run_30",
1400
+ "run_31",
1401
+ "run_38",
1402
+ "run_46",
1403
+ "run_48",
1404
+ "run_55",
1405
+ "run_68",
1406
+ "run_76",
1407
+ "run_77",
1408
+ "run_95",
1409
+ "run_98",
1410
+ "run_100",
1411
+ "run_105",
1412
+ "run_116",
1413
+ "run_118",
1414
+ "run_125",
1415
+ "run_133",
1416
+ "run_134",
1417
+ "run_135",
1418
+ "run_141",
1419
+ "run_144",
1420
+ "run_147",
1421
+ "run_156",
1422
+ "run_158",
1423
+ "run_166",
1424
+ "run_174",
1425
+ "run_178",
1426
+ "run_187",
1427
+ "run_189",
1428
+ "run_195",
1429
+ "run_197",
1430
+ "run_205",
1431
+ "run_206",
1432
+ "run_211",
1433
+ "run_217",
1434
+ "run_218",
1435
+ "run_225",
1436
+ "run_226",
1437
+ "run_228",
1438
+ "run_234",
1439
+ "run_238",
1440
+ "run_245",
1441
+ "run_256",
1442
+ "run_257",
1443
+ "run_265",
1444
+ "run_268",
1445
+ "run_270",
1446
+ "run_271",
1447
+ "run_274",
1448
+ "run_277",
1449
+ "run_287",
1450
+ "run_294",
1451
+ "run_301",
1452
+ "run_304",
1453
+ "run_306",
1454
+ "run_316",
1455
+ "run_320",
1456
+ "run_323",
1457
+ "run_326",
1458
+ "run_328",
1459
+ "run_331",
1460
+ "run_333",
1461
+ "run_336",
1462
+ "run_344",
1463
+ "run_349",
1464
+ "run_354"
1465
+ ],
1466
+ "geometry_train": [
1467
+ "run_0",
1468
+ "run_1",
1469
+ "run_4",
1470
+ "run_6",
1471
+ "run_7",
1472
+ "run_8",
1473
+ "run_9",
1474
+ "run_12",
1475
+ "run_13",
1476
+ "run_15",
1477
+ "run_16",
1478
+ "run_18",
1479
+ "run_21",
1480
+ "run_22",
1481
+ "run_25",
1482
+ "run_26",
1483
+ "run_27",
1484
+ "run_28",
1485
+ "run_29",
1486
+ "run_30",
1487
+ "run_31",
1488
+ "run_33",
1489
+ "run_35",
1490
+ "run_36",
1491
+ "run_37",
1492
+ "run_38",
1493
+ "run_39",
1494
+ "run_41",
1495
+ "run_42",
1496
+ "run_44",
1497
+ "run_45",
1498
+ "run_46",
1499
+ "run_48",
1500
+ "run_49",
1501
+ "run_51",
1502
+ "run_52",
1503
+ "run_53",
1504
+ "run_54",
1505
+ "run_55",
1506
+ "run_56",
1507
+ "run_62",
1508
+ "run_63",
1509
+ "run_64",
1510
+ "run_67",
1511
+ "run_68",
1512
+ "run_70",
1513
+ "run_71",
1514
+ "run_74",
1515
+ "run_76",
1516
+ "run_77",
1517
+ "run_78",
1518
+ "run_80",
1519
+ "run_82",
1520
+ "run_83",
1521
+ "run_84",
1522
+ "run_85",
1523
+ "run_87",
1524
+ "run_88",
1525
+ "run_90",
1526
+ "run_92",
1527
+ "run_93",
1528
+ "run_96",
1529
+ "run_98",
1530
+ "run_100",
1531
+ "run_101",
1532
+ "run_102",
1533
+ "run_103",
1534
+ "run_104",
1535
+ "run_105",
1536
+ "run_106",
1537
+ "run_108",
1538
+ "run_109",
1539
+ "run_112",
1540
+ "run_113",
1541
+ "run_114",
1542
+ "run_115",
1543
+ "run_116",
1544
+ "run_118",
1545
+ "run_119",
1546
+ "run_120",
1547
+ "run_122",
1548
+ "run_124",
1549
+ "run_125",
1550
+ "run_126",
1551
+ "run_127",
1552
+ "run_129",
1553
+ "run_131",
1554
+ "run_133",
1555
+ "run_135",
1556
+ "run_136",
1557
+ "run_137",
1558
+ "run_138",
1559
+ "run_141",
1560
+ "run_142",
1561
+ "run_144",
1562
+ "run_145",
1563
+ "run_146",
1564
+ "run_147",
1565
+ "run_150",
1566
+ "run_151",
1567
+ "run_153",
1568
+ "run_155",
1569
+ "run_157",
1570
+ "run_158",
1571
+ "run_159",
1572
+ "run_162",
1573
+ "run_163",
1574
+ "run_164",
1575
+ "run_165",
1576
+ "run_166",
1577
+ "run_168",
1578
+ "run_170",
1579
+ "run_171",
1580
+ "run_172",
1581
+ "run_173",
1582
+ "run_174",
1583
+ "run_175",
1584
+ "run_176",
1585
+ "run_177",
1586
+ "run_179",
1587
+ "run_180",
1588
+ "run_181",
1589
+ "run_183",
1590
+ "run_184",
1591
+ "run_185",
1592
+ "run_186",
1593
+ "run_187",
1594
+ "run_188",
1595
+ "run_189",
1596
+ "run_191",
1597
+ "run_192",
1598
+ "run_193",
1599
+ "run_194",
1600
+ "run_195",
1601
+ "run_196",
1602
+ "run_197",
1603
+ "run_198",
1604
+ "run_199",
1605
+ "run_200",
1606
+ "run_201",
1607
+ "run_203",
1608
+ "run_204",
1609
+ "run_205",
1610
+ "run_206",
1611
+ "run_207",
1612
+ "run_208",
1613
+ "run_209",
1614
+ "run_210",
1615
+ "run_212",
1616
+ "run_213",
1617
+ "run_214",
1618
+ "run_215",
1619
+ "run_216",
1620
+ "run_217",
1621
+ "run_219",
1622
+ "run_222",
1623
+ "run_223",
1624
+ "run_226",
1625
+ "run_227",
1626
+ "run_230",
1627
+ "run_232",
1628
+ "run_233",
1629
+ "run_237",
1630
+ "run_241",
1631
+ "run_242",
1632
+ "run_243",
1633
+ "run_245",
1634
+ "run_247",
1635
+ "run_249",
1636
+ "run_250",
1637
+ "run_251",
1638
+ "run_253",
1639
+ "run_255",
1640
+ "run_256",
1641
+ "run_257",
1642
+ "run_258",
1643
+ "run_259",
1644
+ "run_260",
1645
+ "run_261",
1646
+ "run_262",
1647
+ "run_263",
1648
+ "run_265",
1649
+ "run_269",
1650
+ "run_270",
1651
+ "run_271",
1652
+ "run_272",
1653
+ "run_273",
1654
+ "run_274",
1655
+ "run_275",
1656
+ "run_276",
1657
+ "run_278",
1658
+ "run_279",
1659
+ "run_280",
1660
+ "run_281",
1661
+ "run_282",
1662
+ "run_283",
1663
+ "run_284",
1664
+ "run_285",
1665
+ "run_286",
1666
+ "run_289",
1667
+ "run_290",
1668
+ "run_291",
1669
+ "run_293",
1670
+ "run_294",
1671
+ "run_296",
1672
+ "run_297",
1673
+ "run_300",
1674
+ "run_301",
1675
+ "run_302",
1676
+ "run_303",
1677
+ "run_304",
1678
+ "run_305",
1679
+ "run_306",
1680
+ "run_307",
1681
+ "run_308",
1682
+ "run_309",
1683
+ "run_312",
1684
+ "run_313",
1685
+ "run_314",
1686
+ "run_315",
1687
+ "run_316",
1688
+ "run_317",
1689
+ "run_320",
1690
+ "run_321",
1691
+ "run_323",
1692
+ "run_324",
1693
+ "run_325",
1694
+ "run_326",
1695
+ "run_327",
1696
+ "run_328",
1697
+ "run_329",
1698
+ "run_334",
1699
+ "run_336",
1700
+ "run_338",
1701
+ "run_340",
1702
+ "run_341",
1703
+ "run_342",
1704
+ "run_343",
1705
+ "run_344",
1706
+ "run_345",
1707
+ "run_346",
1708
+ "run_347",
1709
+ "run_348",
1710
+ "run_350",
1711
+ "run_351",
1712
+ "run_352",
1713
+ "run_353",
1714
+ "run_354"
1715
+ ],
1716
+ "geometry_val": [
1717
+ "run_2",
1718
+ "run_3",
1719
+ "run_19",
1720
+ "run_23",
1721
+ "run_24",
1722
+ "run_32",
1723
+ "run_34",
1724
+ "run_43",
1725
+ "run_58",
1726
+ "run_61",
1727
+ "run_65",
1728
+ "run_69",
1729
+ "run_73",
1730
+ "run_75",
1731
+ "run_86",
1732
+ "run_89",
1733
+ "run_91",
1734
+ "run_95",
1735
+ "run_99",
1736
+ "run_128",
1737
+ "run_134",
1738
+ "run_156",
1739
+ "run_218",
1740
+ "run_220",
1741
+ "run_225",
1742
+ "run_231",
1743
+ "run_234",
1744
+ "run_235",
1745
+ "run_266",
1746
+ "run_267",
1747
+ "run_277",
1748
+ "run_292",
1749
+ "run_319",
1750
+ "run_322",
1751
+ "run_332",
1752
+ "run_333"
1753
+ ],
1754
+ "geometry_test": [
1755
+ "run_5",
1756
+ "run_10",
1757
+ "run_11",
1758
+ "run_14",
1759
+ "run_17",
1760
+ "run_20",
1761
+ "run_40",
1762
+ "run_47",
1763
+ "run_50",
1764
+ "run_57",
1765
+ "run_59",
1766
+ "run_60",
1767
+ "run_66",
1768
+ "run_72",
1769
+ "run_79",
1770
+ "run_81",
1771
+ "run_94",
1772
+ "run_97",
1773
+ "run_107",
1774
+ "run_110",
1775
+ "run_111",
1776
+ "run_117",
1777
+ "run_121",
1778
+ "run_123",
1779
+ "run_130",
1780
+ "run_132",
1781
+ "run_139",
1782
+ "run_140",
1783
+ "run_143",
1784
+ "run_148",
1785
+ "run_149",
1786
+ "run_152",
1787
+ "run_154",
1788
+ "run_160",
1789
+ "run_161",
1790
+ "run_167",
1791
+ "run_169",
1792
+ "run_178",
1793
+ "run_182",
1794
+ "run_190",
1795
+ "run_202",
1796
+ "run_211",
1797
+ "run_221",
1798
+ "run_224",
1799
+ "run_228",
1800
+ "run_229",
1801
+ "run_236",
1802
+ "run_238",
1803
+ "run_239",
1804
+ "run_240",
1805
+ "run_244",
1806
+ "run_246",
1807
+ "run_248",
1808
+ "run_252",
1809
+ "run_254",
1810
+ "run_264",
1811
+ "run_268",
1812
+ "run_287",
1813
+ "run_288",
1814
+ "run_295",
1815
+ "run_298",
1816
+ "run_299",
1817
+ "run_310",
1818
+ "run_311",
1819
+ "run_318",
1820
+ "run_330",
1821
+ "run_331",
1822
+ "run_335",
1823
+ "run_337",
1824
+ "run_339",
1825
+ "run_349"
1826
+ ],
1827
+ "image_wake_train": [
1828
+ "run_0",
1829
+ "run_1",
1830
+ "run_2",
1831
+ "run_3",
1832
+ "run_5",
1833
+ "run_7",
1834
+ "run_9",
1835
+ "run_11",
1836
+ "run_12",
1837
+ "run_13",
1838
+ "run_16",
1839
+ "run_17",
1840
+ "run_18",
1841
+ "run_19",
1842
+ "run_20",
1843
+ "run_21",
1844
+ "run_23",
1845
+ "run_24",
1846
+ "run_26",
1847
+ "run_27",
1848
+ "run_28",
1849
+ "run_29",
1850
+ "run_30",
1851
+ "run_31",
1852
+ "run_32",
1853
+ "run_33",
1854
+ "run_34",
1855
+ "run_36",
1856
+ "run_38",
1857
+ "run_39",
1858
+ "run_41",
1859
+ "run_42",
1860
+ "run_46",
1861
+ "run_48",
1862
+ "run_49",
1863
+ "run_50",
1864
+ "run_51",
1865
+ "run_53",
1866
+ "run_54",
1867
+ "run_55",
1868
+ "run_56",
1869
+ "run_59",
1870
+ "run_60",
1871
+ "run_61",
1872
+ "run_62",
1873
+ "run_64",
1874
+ "run_66",
1875
+ "run_67",
1876
+ "run_68",
1877
+ "run_69",
1878
+ "run_70",
1879
+ "run_71",
1880
+ "run_72",
1881
+ "run_73",
1882
+ "run_74",
1883
+ "run_75",
1884
+ "run_76",
1885
+ "run_78",
1886
+ "run_79",
1887
+ "run_80",
1888
+ "run_81",
1889
+ "run_82",
1890
+ "run_83",
1891
+ "run_85",
1892
+ "run_86",
1893
+ "run_88",
1894
+ "run_89",
1895
+ "run_91",
1896
+ "run_93",
1897
+ "run_94",
1898
+ "run_96",
1899
+ "run_97",
1900
+ "run_100",
1901
+ "run_102",
1902
+ "run_103",
1903
+ "run_105",
1904
+ "run_106",
1905
+ "run_107",
1906
+ "run_108",
1907
+ "run_109",
1908
+ "run_110",
1909
+ "run_111",
1910
+ "run_113",
1911
+ "run_114",
1912
+ "run_115",
1913
+ "run_116",
1914
+ "run_117",
1915
+ "run_118",
1916
+ "run_120",
1917
+ "run_121",
1918
+ "run_122",
1919
+ "run_125",
1920
+ "run_127",
1921
+ "run_128",
1922
+ "run_129",
1923
+ "run_130",
1924
+ "run_131",
1925
+ "run_132",
1926
+ "run_134",
1927
+ "run_135",
1928
+ "run_137",
1929
+ "run_138",
1930
+ "run_139",
1931
+ "run_141",
1932
+ "run_142",
1933
+ "run_143",
1934
+ "run_144",
1935
+ "run_145",
1936
+ "run_146",
1937
+ "run_147",
1938
+ "run_149",
1939
+ "run_150",
1940
+ "run_152",
1941
+ "run_154",
1942
+ "run_156",
1943
+ "run_157",
1944
+ "run_158",
1945
+ "run_160",
1946
+ "run_161",
1947
+ "run_162",
1948
+ "run_163",
1949
+ "run_164",
1950
+ "run_166",
1951
+ "run_167",
1952
+ "run_168",
1953
+ "run_169",
1954
+ "run_170",
1955
+ "run_171",
1956
+ "run_174",
1957
+ "run_178",
1958
+ "run_179",
1959
+ "run_180",
1960
+ "run_181",
1961
+ "run_182",
1962
+ "run_183",
1963
+ "run_184",
1964
+ "run_185",
1965
+ "run_186",
1966
+ "run_187",
1967
+ "run_189",
1968
+ "run_192",
1969
+ "run_193",
1970
+ "run_194",
1971
+ "run_195",
1972
+ "run_197",
1973
+ "run_199",
1974
+ "run_200",
1975
+ "run_202",
1976
+ "run_203",
1977
+ "run_205",
1978
+ "run_206",
1979
+ "run_207",
1980
+ "run_208",
1981
+ "run_210",
1982
+ "run_211",
1983
+ "run_213",
1984
+ "run_215",
1985
+ "run_217",
1986
+ "run_218",
1987
+ "run_219",
1988
+ "run_221",
1989
+ "run_222",
1990
+ "run_223",
1991
+ "run_224",
1992
+ "run_226",
1993
+ "run_228",
1994
+ "run_229",
1995
+ "run_230",
1996
+ "run_233",
1997
+ "run_234",
1998
+ "run_236",
1999
+ "run_237",
2000
+ "run_238",
2001
+ "run_241",
2002
+ "run_242",
2003
+ "run_244",
2004
+ "run_245",
2005
+ "run_247",
2006
+ "run_249",
2007
+ "run_251",
2008
+ "run_252",
2009
+ "run_253",
2010
+ "run_255",
2011
+ "run_256",
2012
+ "run_257",
2013
+ "run_259",
2014
+ "run_260",
2015
+ "run_261",
2016
+ "run_264",
2017
+ "run_266",
2018
+ "run_267",
2019
+ "run_268",
2020
+ "run_269",
2021
+ "run_270",
2022
+ "run_271",
2023
+ "run_272",
2024
+ "run_274",
2025
+ "run_275",
2026
+ "run_277",
2027
+ "run_279",
2028
+ "run_280",
2029
+ "run_281",
2030
+ "run_284",
2031
+ "run_285",
2032
+ "run_287",
2033
+ "run_289",
2034
+ "run_290",
2035
+ "run_291",
2036
+ "run_294",
2037
+ "run_295",
2038
+ "run_296",
2039
+ "run_300",
2040
+ "run_301",
2041
+ "run_303",
2042
+ "run_304",
2043
+ "run_305",
2044
+ "run_306",
2045
+ "run_308",
2046
+ "run_309",
2047
+ "run_310",
2048
+ "run_311",
2049
+ "run_313",
2050
+ "run_316",
2051
+ "run_318",
2052
+ "run_319",
2053
+ "run_321",
2054
+ "run_323",
2055
+ "run_326",
2056
+ "run_327",
2057
+ "run_328",
2058
+ "run_330",
2059
+ "run_331",
2060
+ "run_333",
2061
+ "run_334",
2062
+ "run_337",
2063
+ "run_339",
2064
+ "run_340",
2065
+ "run_341",
2066
+ "run_342",
2067
+ "run_344",
2068
+ "run_345",
2069
+ "run_346",
2070
+ "run_347",
2071
+ "run_349",
2072
+ "run_351",
2073
+ "run_352",
2074
+ "run_353",
2075
+ "run_354"
2076
+ ],
2077
+ "image_wake_val": [
2078
+ "run_10",
2079
+ "run_15",
2080
+ "run_43",
2081
+ "run_44",
2082
+ "run_65",
2083
+ "run_77",
2084
+ "run_90",
2085
+ "run_95",
2086
+ "run_98",
2087
+ "run_101",
2088
+ "run_133",
2089
+ "run_140",
2090
+ "run_201",
2091
+ "run_209",
2092
+ "run_214",
2093
+ "run_225",
2094
+ "run_227",
2095
+ "run_231",
2096
+ "run_235",
2097
+ "run_239",
2098
+ "run_240",
2099
+ "run_246",
2100
+ "run_254",
2101
+ "run_265",
2102
+ "run_283",
2103
+ "run_288",
2104
+ "run_292",
2105
+ "run_302",
2106
+ "run_307",
2107
+ "run_312",
2108
+ "run_317",
2109
+ "run_320",
2110
+ "run_325",
2111
+ "run_336",
2112
+ "run_348",
2113
+ "run_350"
2114
+ ],
2115
+ "image_wake_test": [
2116
+ "run_4",
2117
+ "run_6",
2118
+ "run_8",
2119
+ "run_14",
2120
+ "run_22",
2121
+ "run_25",
2122
+ "run_35",
2123
+ "run_37",
2124
+ "run_40",
2125
+ "run_45",
2126
+ "run_47",
2127
+ "run_52",
2128
+ "run_57",
2129
+ "run_58",
2130
+ "run_63",
2131
+ "run_84",
2132
+ "run_87",
2133
+ "run_92",
2134
+ "run_99",
2135
+ "run_104",
2136
+ "run_112",
2137
+ "run_119",
2138
+ "run_123",
2139
+ "run_124",
2140
+ "run_126",
2141
+ "run_136",
2142
+ "run_148",
2143
+ "run_151",
2144
+ "run_153",
2145
+ "run_155",
2146
+ "run_159",
2147
+ "run_165",
2148
+ "run_172",
2149
+ "run_173",
2150
+ "run_175",
2151
+ "run_176",
2152
+ "run_177",
2153
+ "run_188",
2154
+ "run_190",
2155
+ "run_191",
2156
+ "run_196",
2157
+ "run_198",
2158
+ "run_204",
2159
+ "run_212",
2160
+ "run_216",
2161
+ "run_220",
2162
+ "run_232",
2163
+ "run_243",
2164
+ "run_248",
2165
+ "run_250",
2166
+ "run_258",
2167
+ "run_262",
2168
+ "run_263",
2169
+ "run_273",
2170
+ "run_276",
2171
+ "run_278",
2172
+ "run_282",
2173
+ "run_286",
2174
+ "run_293",
2175
+ "run_297",
2176
+ "run_298",
2177
+ "run_299",
2178
+ "run_314",
2179
+ "run_315",
2180
+ "run_322",
2181
+ "run_324",
2182
+ "run_329",
2183
+ "run_332",
2184
+ "run_335",
2185
+ "run_338",
2186
+ "run_343"
2187
+ ]
2188
+ }
splits/split_diagnostics.png ADDED

Git LFS Details

  • SHA256: b4b566a1f1d25da5c9efc1c07390591c95b6c6dedd6524cbbc09cee4ef178fc9
  • Pointer size: 131 Bytes
  • Size of remote file: 435 kB
splits/visualize_splits.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Create WindsorML train/validation/test diagnostic plots."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import csv
6
+ import json
7
+ from pathlib import Path
8
+
9
+ import matplotlib.pyplot as plt
10
+ from matplotlib.lines import Line2D
11
+ import numpy as np
12
+
13
+ from generate_splits import load_force_mom, run_id
14
+
15
+
16
+ PACKAGE_ROOT = Path(__file__).resolve().parent
17
+ DATA_DIR = PACKAGE_ROOT
18
+ DOCS_DIR = PACKAGE_ROOT
19
+ MANIFEST = PACKAGE_ROOT / "manifest.json"
20
+ OUT = DOCS_DIR / "split_diagnostics.png"
21
+
22
+
23
+ def ids(manifest: dict[str, list[str]], key: str) -> set[int]:
24
+ return {run_id(case) for case in manifest[key]}
25
+
26
+
27
+ def load_scores(path: Path, column: str) -> dict[int, float]:
28
+ with path.open(encoding="utf-8-sig", newline="") as f:
29
+ return {int(row["run"]): float(row[column]) for row in csv.DictReader(f) if row.get(column, "")}
30
+
31
+
32
+ def arrays(values: dict[int, float]) -> tuple[np.ndarray, np.ndarray]:
33
+ runs = np.asarray(sorted(values))
34
+ return runs, np.asarray([values[int(run)] for run in runs], dtype=float)
35
+
36
+
37
+ def plot_partitioned(
38
+ ax,
39
+ runs: np.ndarray,
40
+ values: np.ndarray,
41
+ train_ids: set[int],
42
+ val_ids: set[int],
43
+ test_ids: set[int],
44
+ *,
45
+ title: str,
46
+ ylabel: str,
47
+ colors: dict[str, str],
48
+ ) -> None:
49
+ masks = {
50
+ "train": np.asarray([int(run) in train_ids for run in runs]),
51
+ "val": np.asarray([int(run) in val_ids for run in runs]),
52
+ "test": np.asarray([int(run) in test_ids for run in runs]),
53
+ }
54
+ sizes = {"train": 30, "val": 48, "test": 48}
55
+ alpha = {"train": 0.58, "val": 0.95, "test": 0.95}
56
+ for part in ("train", "val", "test"):
57
+ ax.scatter(runs[masks[part]], values[masks[part]], s=sizes[part], color=colors[part], linewidth=0, alpha=alpha[part])
58
+ ax.set_title(title)
59
+ ax.set_xlabel("run ID")
60
+ ax.set_ylabel(ylabel)
61
+ ax.grid(True, color="#e1e6eb", lw=0.7)
62
+ ax.spines["top"].set_visible(False)
63
+ ax.spines["right"].set_visible(False)
64
+
65
+
66
+ def main() -> None:
67
+ manifest = json.loads(MANIFEST.read_text(encoding="utf-8"))
68
+ force_records, _ = load_force_mom()
69
+ geometry_scores = load_scores(DATA_DIR / "chamfer_metrics.csv", "ood_score")
70
+ image_scores = load_scores(DATA_DIR / "image_metrics.csv", "image_wake_score")
71
+ runs, cd = arrays({run: values["cd"] for run, values in force_records.items()})
72
+ _, geometry = arrays(geometry_scores)
73
+ _, image_wake = arrays(image_scores)
74
+
75
+ colors = {"train": "#cfd5dc", "val": "#c28f22", "test": "#2f8f61"}
76
+ fig, axes = plt.subplots(2, 3, figsize=(14.0, 8.2), constrained_layout=True)
77
+ panels = [
78
+ ("full", cd, "Full seed-42 baseline", "Cd"),
79
+ ("high_drag", cd, "High-drag holdout", "Cd"),
80
+ ("low_drag", cd, "Low-drag holdout", "Cd"),
81
+ ("geometry", geometry, "STL-Chamfer geometry holdout", "mean 10-NN Chamfer"),
82
+ ("image_wake", image_wake, "Image-wake holdout", "low-speed wake score"),
83
+ ("image_wake", cd, "Image-wake holdout on Cd", "Cd"),
84
+ ]
85
+ for ax, (prefix, values, title, ylabel) in zip(axes.flat, panels):
86
+ plot_partitioned(
87
+ ax,
88
+ runs,
89
+ values,
90
+ ids(manifest, f"{prefix}_train"),
91
+ ids(manifest, f"{prefix}_val"),
92
+ ids(manifest, f"{prefix}_test"),
93
+ title=title,
94
+ ylabel=ylabel,
95
+ colors=colors,
96
+ )
97
+ handles = [
98
+ Line2D([0], [0], marker="o", color="none", markerfacecolor=colors[part], markeredgewidth=0, markersize=8, label=part)
99
+ for part in ("train", "val", "test")
100
+ ]
101
+ fig.legend(handles=handles, frameon=False, loc="upper center", ncol=3, bbox_to_anchor=(0.5, 0.995))
102
+ fig.suptitle("WindsorML split diagnostics", fontsize=13)
103
+ DOCS_DIR.mkdir(parents=True, exist_ok=True)
104
+ fig.savefig(OUT, dpi=180)
105
+ plt.close(fig)
106
+ print(f"Wrote {OUT}")
107
+
108
+
109
+ if __name__ == "__main__":
110
+ main()
splits/wake_score_examples.png ADDED

Git LFS Details

  • SHA256: 8f9a887e872c79e0901a8c8eed4cf0b517ea0329e4facdac48116ee0e5a476cf
  • Pointer size: 131 Bytes
  • Size of remote file: 331 kB