Add official deterministic dataset splits

#3
by neashton - opened
.gitattributes CHANGED
@@ -17262,3 +17262,4 @@ run_455/volume_455.vtu.01.part filter=lfs diff=lfs merge=lfs -text
17262
  *.vtp filter=lfs diff=lfs merge=lfs -text
17263
  *.vtu filter=lfs diff=lfs merge=lfs -text
17264
  *.stl filter=lfs diff=lfs merge=lfs -text
 
 
17262
  *.vtp filter=lfs diff=lfs merge=lfs -text
17263
  *.vtu filter=lfs diff=lfs merge=lfs -text
17264
  *.stl filter=lfs diff=lfs merge=lfs -text
17265
+ splits/README.pdf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -58,6 +58,56 @@ In addition to the files per run folder, there are also:
58
  * force_mom_all.csv : forces/moments time-averaged (using varying frontal area/wheelbase) for all runs
59
  * force_mom_constref_all.csv : forces/moments time-averaged (using constant frontal area/wheelbase) for all runs
60
  * geo_parameters_all.csv: reference geometry values for each geometry for all runs
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  How to download:
63
  ----------------
@@ -121,6 +171,8 @@ This dataset is provided under the CC BY SA 4.0 license, please see LICENSE.txt
121
 
122
  version history:
123
  ---------------
 
 
124
  * 04/03/2025 - Now available on HuggingFace!
125
 
126
  * 11/11/2024 - the 15 of the 17 cases that were missing are being considered for use as a blind study. For the time-being these are available but password protected in the file blind_15additional_cases_passwd_required.zip. Once we setup a benchmarking sysystem we will provide details on how people can test their methods against these 15 blind cases.
@@ -132,4 +184,3 @@ version history:
132
  * 29/07/2024 - Note: please be aware currently runs 167, 211, 218, 221, 248, 282, 291, 295, 316, 325, 329, 364, 370, 376, 403, 473 are not in the dataset.
133
 
134
  * 03/05/2024 - draft version produced
135
-
 
58
  * force_mom_all.csv : forces/moments time-averaged (using varying frontal area/wheelbase) for all runs
59
  * force_mom_constref_all.csv : forces/moments time-averaged (using constant frontal area/wheelbase) for all runs
60
  * geo_parameters_all.csv: reference geometry values for each geometry for all runs
61
+ * [`splits/`](splits/): deterministic benchmark manifests, documentation, source metrics, diagnostic figures, and generation code.
62
+
63
+ ## Recommended dataset splits
64
+
65
+ For reproducible machine-learning evaluation, DrivAerML provides eight
66
+ deterministic split families in [`splits/manifest.json`](splits/manifest.json).
67
+ Case identifiers match the top-level `run_N` directories.
68
+
69
+ The split construction is based on the 484 publicly available runs. The 16
70
+ unavailable or held-back runs are excluded from every partition. Reduced-data
71
+ variants intentionally use subsets of the standard training population while
72
+ retaining fixed validation and test sets.
73
+
74
+ | Split | Type | Train | Validation | Test | Intended use |
75
+ |---|---:|---:|---:|---:|---|
76
+ | `full` | In-distribution | 400 | 34 | 50 | Seed-42 public baseline |
77
+ | `medium` | In-distribution | 133 | 34 | 50 | Intermediate data-efficiency study |
78
+ | `scarce` | In-distribution | 67 | 34 | 50 | Low-data study |
79
+ | `super_scarce` | In-distribution | 11 | 34 | 50 | Extreme low-data study |
80
+ | `geometry` | OOD | 339 | 48 | 97 | Extrapolation to locally isolated STL geometries |
81
+ | `high_drag` | OOD | 339 | 48 | 97 | Extrapolation to the highest-drag regime |
82
+ | `low_drag` | OOD | 339 | 48 | 97 | Extrapolation to the lowest-drag regime |
83
+ | `rear_separation` | OOD | 339 | 48 | 97 | Extrapolation in image-derived wake and rear-separation behaviour |
84
+
85
+ The data-efficiency training sets are nested:
86
+
87
+ `super_scarce_train ⊂ scarce_train ⊂ medium_train ⊂ full_train`
88
+
89
+ They share the same validation and test sets, allowing direct comparisons
90
+ across training-set sizes. For the OOD splits, validation cases are sampled
91
+ from the training-side population; the held-out extreme is reserved for final
92
+ testing.
93
+
94
+ Use `full` for a standard baseline, the nested sequence for data-efficiency
95
+ studies, `geometry` for surface-shape extrapolation, `high_drag` or
96
+ `low_drag` for coefficient-regime extrapolation, and `rear_separation` for
97
+ flow-structure generalization.
98
+
99
+ Download only the split package with:
100
+
101
+ ```bash
102
+ hf download neashton/drivaerml \
103
+ --repo-type dataset \
104
+ --include "splits/**" \
105
+ --local-dir ./drivaerml
106
+ ```
107
+
108
+ Complete definitions, construction methods, diagnostic figures, source
109
+ metrics, and reproducibility instructions are provided in
110
+ [`splits/README.md`](splits/README.md).
111
 
112
  How to download:
113
  ----------------
 
171
 
172
  version history:
173
  ---------------
174
+ * 17/08/2026 - Added deterministic official train/validation/test splits, including data-efficiency and out-of-distribution evaluation protocols.
175
+
176
  * 04/03/2025 - Now available on HuggingFace!
177
 
178
  * 11/11/2024 - the 15 of the 17 cases that were missing are being considered for use as a blind study. For the time-being these are available but password protected in the file blind_15additional_cases_passwd_required.zip. Once we setup a benchmarking sysystem we will provide details on how people can test their methods against these 15 blind cases.
 
184
  * 29/07/2024 - Note: please be aware currently runs 167, 211, 218, 221, 248, 282, 291, 295, 316, 325, 329, 364, 370, 376, 403, 473 are not in the dataset.
185
 
186
  * 03/05/2024 - draft version produced
 
splits/README.md ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DrivAerML dataset splits
2
+
3
+ This directory provides deterministic train/validation/test splits for the
4
+ [DrivAerML](https://huggingface.co/datasets/neashton/drivaerml) dataset. The
5
+ authoritative assignments are stored in [`manifest.json`](manifest.json) as a
6
+ flat JSON object whose keys follow the pattern
7
+ `{split_name}_{train,val,test}`. Each value is a numerically sorted list of
8
+ case identifiers matching the top-level `run_N` directories.
9
+
10
+ DrivAerML contains 500 vehicle geometry variants at a fixed operating
11
+ condition. The public force and moment table contains 484 runs. The 16
12
+ unavailable or held-back cases are excluded from all published split
13
+ assignments:
14
+
15
+ `run_167`, `run_211`, `run_218`, `run_221`, `run_248`, `run_282`,
16
+ `run_291`, `run_295`, `run_316`, `run_325`, `run_329`, `run_364`,
17
+ `run_370`, `run_376`, `run_403`, and `run_473`.
18
+
19
+ ## Splits at a glance
20
+
21
+ | Split | Type | Train | Validation | Test | Intended evaluation |
22
+ |---|---:|---:|---:|---:|---|
23
+ | `full` | In-distribution | 400 | 34 | 50 | Seed-42 public baseline |
24
+ | `medium` | In-distribution | 133 | 34 | 50 | Intermediate data efficiency |
25
+ | `scarce` | In-distribution | 67 | 34 | 50 | Low-data evaluation |
26
+ | `super_scarce` | In-distribution | 11 | 34 | 50 | Extreme low-data evaluation |
27
+ | `geometry` | OOD | 339 | 48 | 97 | STL-surface geometry extrapolation |
28
+ | `high_drag` | OOD | 339 | 48 | 97 | High-drag extrapolation |
29
+ | `low_drag` | OOD | 339 | 48 | 97 | Low-drag extrapolation |
30
+ | `rear_separation` | OOD | 339 | 48 | 97 | Image-derived wake and rear-separation extrapolation |
31
+
32
+ The data-efficiency training sets form a strict nested sequence:
33
+
34
+ `super_scarce_train ⊂ scarce_train ⊂ medium_train ⊂ full_train`
35
+
36
+ They use the same validation and test sets. For each out-of-distribution (OOD)
37
+ split, validation is sampled from the training-side population rather than the
38
+ extreme test region.
39
+
40
+ ## Selecting a split
41
+
42
+ - Use `full` for a standard baseline or compatibility with the public
43
+ DrivAerML split used in Noether.
44
+ - Compare `super_scarce`, `scarce`, `medium`, and `full` for a
45
+ controlled data-efficiency study.
46
+ - Use `geometry` to assess extrapolation to surface geometries that are
47
+ locally isolated from the training population.
48
+ - Use `high_drag` or `low_drag` to assess extrapolation to an extreme
49
+ integrated-force regime.
50
+ - Use `rear_separation` to assess extrapolation in an image-derived
51
+ low-speed wake and rear-separation regime.
52
+
53
+ Validation data may be used for model and hyperparameter selection. Test data
54
+ should be reserved for final evaluation and should not inform normalization,
55
+ feature design, or visual inspection-driven iteration.
56
+
57
+ ## Using the committed manifest
58
+
59
+ Normal benchmark use requires only the committed manifest; split regeneration
60
+ is not required.
61
+
62
+ ```python
63
+ import json
64
+ from pathlib import Path
65
+
66
+ manifest = json.loads(Path("splits/manifest.json").read_text())
67
+
68
+ train_ids = manifest["geometry_train"]
69
+ val_ids = manifest["geometry_val"]
70
+ test_ids = manifest["geometry_test"]
71
+ ```
72
+
73
+ Change the `geometry` prefix to `full`, `medium`, `scarce`,
74
+ `super_scarce`, `high_drag`, `low_drag`, or `rear_separation` to select
75
+ another split.
76
+
77
+ To download only these split artifacts:
78
+
79
+ ```bash
80
+ hf download neashton/drivaerml \
81
+ --repo-type dataset \
82
+ --include "splits/**" \
83
+ --local-dir ./drivaerml
84
+ ```
85
+
86
+ ## Construction principles
87
+
88
+ 1. **Stable public baseline.** The `full` split preserves the established
89
+ seed-42 random public assignment.
90
+ 2. **In-distribution validation.** OOD validation cases come from the
91
+ training-side population.
92
+ 3. **Nested data-efficiency subsets.** Smaller training sets are strict
93
+ subsets of larger ones, with validation and test held fixed.
94
+ 4. **Direct geometry comparison.** The geometry OOD score is derived from
95
+ sampled STL surfaces rather than geometry parameters alone.
96
+ 5. **Dataset-defined physical quantities.** Drag-regime splits use the
97
+ published force and moment table.
98
+ 6. **Flow-structure information.** The rear-separation split uses fixed
99
+ flow-image diagnostics rather than an integrated coefficient.
100
+ 7. **Determinism and auditability.** The manifest, source metrics, generation
101
+ code, figures, and a PDF methods report are committed together.
102
+
103
+ ## Split definitions
104
+
105
+ ### `full`
106
+
107
+ The baseline is a seeded random split over run identifiers rather than a
108
+ physics-stratified split. It constructs `torch.randperm(500)` with seed 42,
109
+ shifts the identifiers to `1..500`, removes the 16 unavailable cases, assigns
110
+ the first 400 public identifiers to training, the next 50 to test, and the
111
+ remaining 34 to validation. Identifiers are sorted before being written to the
112
+ manifest.
113
+
114
+ These assignments match the public
115
+ [`DrivAerMLDefaultSplitIDs`](https://github.com/Emmi-AI/noether/blob/main/src/noether/data/datasets/cfd/caeml/drivaerml/split.py)
116
+ implementation in Noether.
117
+
118
+ ### `medium`, `scarce`, and `super_scarce`
119
+
120
+ These splits retain the `full` validation and test sets but reduce the
121
+ training population to 133, 67, and 11 cases, respectively. A greedy max-min
122
+ selection in standardized force and geometry-parameter space produces a
123
+ single nested ordering. The features are `cd`, `cl`, `cs`, and the public
124
+ geometry parameters.
125
+
126
+ ### `geometry`
127
+
128
+ The geometry OOD split uses [`chamfer_metrics.csv`](chamfer_metrics.csv).
129
+ Each public STL surface was sampled with 10,000 points using seed 42, without
130
+ recentering, with global median bounding-box scaling. Pairwise surface
131
+ difference is measured using symmetric Chamfer RMS distance.
132
+
133
+ For run \(i\), the OOD score is the mean distance to its ten nearest
134
+ neighbouring public geometries:
135
+
136
+ ```text
137
+ geometry_score_i = mean_10_nearest_neighbors(chamfer_distance_i)
138
+ ```
139
+
140
+ The top 20% by local-isolation score form the test set. Validation is a
141
+ deterministic sample from the remaining training-side population:
142
+
143
+ ```text
144
+ geometry_test = top_20_percent(geometry_score)
145
+ geometry_pool = public_runs - geometry_test
146
+ geometry_val = deterministic_sample(geometry_pool, round(0.125 * len(geometry_pool)))
147
+ geometry_train = geometry_pool - geometry_val
148
+ ```
149
+
150
+ ![Force and geometry split diagnostics](force_regimes.png)
151
+
152
+ ![Examples from the geometry split](geometry_split_examples.png)
153
+
154
+ ### `high_drag` and `low_drag`
155
+
156
+ These splits rank public cases by drag coefficient `cd` from
157
+ `force_mom_all.csv`. The `high_drag` split holds out the highest 20%; the
158
+ `low_drag` split holds out the lowest 20%. In each case, validation is sampled
159
+ from the complementary training-side population.
160
+
161
+ ### `rear_separation`
162
+
163
+ The rear-separation split uses [`image_metrics.csv`](image_metrics.csv) to
164
+ characterize low-speed wake and rear-separation extent. The score combines:
165
+
166
+ - 60% centreline low-speed wake area from the `y=0` normalized
167
+ velocity-magnitude image; and
168
+ - 40% mean low-speed area from seven near-rear `xNormal` images at positions
169
+ `p43000` through `p55000`.
170
+
171
+ The highest-scoring 20% of public runs form the test set. Validation is sampled
172
+ from the remaining training-side population. The metrics CSV records whether
173
+ each value was observed or imputed; the committed table contains observed
174
+ scores for all 484 public runs.
175
+
176
+ ![Rear-separation score and drag distributions](image_regimes.png)
177
+
178
+ ![Examples from the image-derived split](image_split_examples.png)
179
+
180
+ ## Reproducibility
181
+
182
+ The committed [`manifest.json`](manifest.json) is the source of truth. The
183
+ following procedure is provided to audit the construction or regenerate the
184
+ artifacts.
185
+
186
+ Install the lightweight generation and plotting dependencies:
187
+
188
+ ```bash
189
+ python3 -m pip install numpy matplotlib pillow
190
+ ```
191
+
192
+ From the dataset repository root, download the two aggregate source tables and
193
+ regenerate the manifest and diagnostic plots:
194
+
195
+ ```bash
196
+ python3 splits/download_hf_inputs.py --output-dir data
197
+ python3 splits/generate_splits.py
198
+ python3 splits/visualize_flow_regimes.py
199
+ python3 splits/visualize_image_regimes.py
200
+ ```
201
+
202
+ The commands above use the committed Chamfer and rear-separation metrics.
203
+ Download the selected source images to recreate the example figures:
204
+
205
+ ```bash
206
+ python3 splits/download_hf_inputs.py --output-dir data --include-report-images
207
+ python3 splits/visualize_geometry_examples.py
208
+ python3 splits/visualize_split_examples.py
209
+ ```
210
+
211
+ Rebuild the PDF report with:
212
+
213
+ ```bash
214
+ latexmk -pdf -cd splits/README.tex
215
+ ```
216
+
217
+ For an existing dataset checkout in another location, set
218
+ `DRIVAERML_DATA_ROOT` to the directory containing `force_mom_all.csv` and
219
+ `geo_parameters_all.csv`. If the source PNGs are elsewhere, set
220
+ `DRIVAERML_IMAGE_ROOT` to the directory containing `run_*/images/`.
221
+
222
+ To recompute the rear-separation metrics from the source images:
223
+
224
+ ```bash
225
+ python3 splits/download_hf_inputs.py --output-dir data --include-image-score-pngs
226
+ python3 splits/generate_splits.py
227
+ ```
228
+
229
+ Full STL-based Chamfer recomputation additionally requires SciPy and trimesh:
230
+
231
+ ```bash
232
+ python3 -m pip install numpy scipy trimesh
233
+ python3 splits/download_hf_inputs.py \
234
+ --output-dir /tmp/drivaerml_inputs \
235
+ --include-stls
236
+ python3 splits/compute_chamfer_splits.py \
237
+ --data-root /tmp/drivaerml_inputs \
238
+ --output-dir /tmp/drivaerml_chamfer \
239
+ --samples 10000 \
240
+ --workers 16 \
241
+ --base-manifest splits/manifest.json
242
+ cp /tmp/drivaerml_chamfer/chamfer_metrics.csv splits/chamfer_metrics.csv
243
+ ```
244
+
245
+ The STL download and all-pairs Chamfer calculation are substantially more
246
+ expensive than normal manifest use and are not required to use the published
247
+ splits.
248
+
249
+ ## Manifest format
250
+
251
+ ```json
252
+ {
253
+ "full_train": ["run_1", "run_2"],
254
+ "full_val": ["run_4"],
255
+ "full_test": ["run_11"],
256
+ "geometry_train": ["run_1"],
257
+ "geometry_val": ["run_4"],
258
+ "geometry_test": ["run_65"]
259
+ }
260
+ ```
261
+
262
+ The abbreviated example above illustrates the schema only. The committed
263
+ manifest contains the complete case lists for all eight split families.
264
+
265
+ ## Supporting files
266
+
267
+ - [`README.pdf`](README.pdf): typeset methods report.
268
+ - [`README.tex`](README.tex): LaTeX source for the report.
269
+ - [`chamfer_metrics.csv`](chamfer_metrics.csv): STL-surface geometry scores.
270
+ - [`image_metrics.csv`](image_metrics.csv): rear-separation scores and
271
+ observation flags.
272
+ - [`generate_splits.py`](generate_splits.py): deterministic manifest
273
+ generator and validation logic.
274
+ - [`compute_chamfer_splits.py`](compute_chamfer_splits.py): standalone
275
+ STL-surface metric generator.
276
+ - [`download_hf_inputs.py`](download_hf_inputs.py): selective source-data
277
+ downloader.
278
+ - `visualize_*.py`: diagnostic and example-figure generators.
279
+
280
+ ## References
281
+
282
+ - N. Ashton et al., “DrivAerML: High-Fidelity Computational Fluid Dynamics
283
+ Dataset for Road-Car External Aerodynamics,” 2024.
284
+ [arXiv:2408.11969](https://arxiv.org/abs/2408.11969).
285
+ - [DrivAerML dataset](https://huggingface.co/datasets/neashton/drivaerml).
286
+ - [Noether DrivAerML split implementation](https://github.com/Emmi-AI/noether/blob/main/src/noether/data/datasets/cfd/caeml/drivaerml/split.py).
splits/README.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f858dca18a2ad8aee76cc5103ef51dca2c05ec780066cebcc58b200ddd9b3f2
3
+ size 1415402
splits/README.tex ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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{DrivAerML 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/drivaerml}{DrivAerML} dataset
41
+ \cite{drivaerml_dataset}. The split manifest is stored at
42
+ \code{splits/manifest.json} as a flat JSON object with keys named
43
+ \code{\{split\_name\}\_\{train,val,test\}} and case IDs that match the on-disk
44
+ run directories.
45
+
46
+ DrivAerML contains 500 vehicle geometry variants at a fixed operating
47
+ condition. The public force/moment table has 484 rows; the missing 16 runs are
48
+ unavailable author-held-back cases and are excluded from all public
49
+ train/validation/test splits. The geometry-parameter table contains all 500
50
+ design rows and is used for nested data-efficiency subset selection and
51
+ image-score imputation. The \splitkey{geometry} split itself uses sampled
52
+ STL-surface Chamfer distances to measure how different each public geometry is
53
+ from its neighbors.
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 & 400 & 34 & 50 & Seed-42 random public baseline split \\
62
+ \splitkey{medium} & In-dist & 133 & 34 & 50 & Data efficiency, 1/3 of \splitkey{full} training data \\
63
+ \splitkey{scarce} & In-dist & 67 & 34 & 50 & Data efficiency, 1/6 of \splitkey{full} training data \\
64
+ \splitkey{super\_scarce} & In-dist & 11 & 34 & 50 & Extreme data efficiency, 1/36 of \splitkey{full} training data \\
65
+ \splitkey{geometry} & OOD & 339 & 48 & 97 & STL-surface Chamfer extrapolation using the top 20\% local-isolation distance \\
66
+ \splitkey{high\_drag} & OOD & 339 & 48 & 97 & High-drag extrapolation using the top 20\% \code{cd} \\
67
+ \splitkey{low\_drag} & OOD & 339 & 48 & 97 & Low-drag extrapolation using the bottom 20\% \code{cd} \\
68
+ \splitkey{rear\_separation} & OOD & 339 & 48 & 97 & Image-derived low-speed wake and rear-separation extent \\
69
+ \bottomrule
70
+ \end{tabularx}
71
+
72
+ \textbf{Difficulty ladders:}
73
+ \begin{itemize}
74
+ \item Data efficiency: \splitkey{full} < \splitkey{medium} < \splitkey{scarce} < \splitkey{super\_scarce}, with fixed validation/test sets.
75
+ \item OOD physics: \splitkey{geometry}, \splitkey{high\_drag}, \splitkey{low\_drag}, and \splitkey{rear\_separation}.
76
+ \end{itemize}
77
+
78
+ \section*{Which split should I use?}
79
+
80
+ \begin{itemize}
81
+ \item \textbf{Simple baseline or literature compatibility}: \splitkey{full}
82
+ \item \textbf{Data efficiency study}: compare \splitkey{super\_scarce}, \splitkey{scarce}, \splitkey{medium}, and \splitkey{full}
83
+ \item \textbf{Geometry extrapolation}: \splitkey{geometry}
84
+ \item \textbf{Image-observed rear-separation regimes}: \splitkey{rear\_separation}
85
+ \item \textbf{Targeted coefficient extrapolation}: \splitkey{high\_drag} or \splitkey{low\_drag}
86
+ \end{itemize}
87
+
88
+ \section*{Using the committed splits}
89
+
90
+ For standard benchmark use, consume the committed manifest at
91
+ \code{splits/manifest.json}; no regeneration is required. The manifest is the
92
+ source of truth for all split membership and contains one train, validation,
93
+ and test key for each split listed above.
94
+
95
+ \begin{verbatim}
96
+ import json
97
+ from pathlib import Path
98
+
99
+ manifest = json.loads(Path("splits/manifest.json").read_text())
100
+
101
+ train_ids = manifest["geometry_train"]
102
+ val_ids = manifest["geometry_val"]
103
+ test_ids = manifest["geometry_test"]
104
+ \end{verbatim}
105
+
106
+ Change the \code{geometry} prefix to \code{full}, \code{medium},
107
+ \code{scarce}, \code{super\_scarce}, \code{high\_drag}, \code{low\_drag}, or
108
+ \code{rear\_separation} to select a different split. Each value is a sorted
109
+ list of \code{run\_N} directory names. The manifest already excludes the 16
110
+ unavailable held-back cases, so users should not filter those IDs again unless
111
+ their local dataset copy is incomplete.
112
+
113
+ \section*{Design principles}
114
+
115
+ \begin{itemize}
116
+ \item \textbf{Validation is always in-distribution with train.} For OOD splits, the validation set is drawn from the training-side population, not from the extreme OOD test region.
117
+ \item \textbf{Keep the public baseline stable.} \splitkey{full} is a seed-42 random public split: 400 train, 34 validation, 50 test, with the 16 unavailable cases excluded.
118
+ \item \textbf{Use direct surface distances for geometry OOD.} \splitkey{geometry} ranks public STL surfaces by nearest-neighbor Chamfer isolation, which is a stronger geometry-difference signal than parameter-space distance alone.
119
+ \item \textbf{Use the dataset metadata directly where it defines the split axis.} Force-regime splits are generated from \code{force\_mom\_all.csv}. The \splitkey{geometry} split is generated from STL-surface Chamfer scores in \code{chamfer\_metrics.csv}; \code{geo\_parameters\_all.csv} supports the nested data-efficiency subsets and image-score imputation.
120
+ \item \textbf{Use flow images as physics labels.} The retained image-derived split scores low-speed recirculation/separation extent from centreline and near-rear velocity-magnitude PNGs.
121
+ \item \textbf{Represent DrivAerML physics.} The retained OOD axes target surface-shape novelty, high- and low-drag regimes, and visible rear-separation flow structure.
122
+ \item \textbf{Nested data-efficiency subsets.} \splitkey{super\_scarce\_train} is a strict subset of \splitkey{scarce\_train}, \splitkey{scarce\_train} is a strict subset of \splitkey{medium\_train}, and \splitkey{medium\_train} is a strict subset of \splitkey{full\_train}.
123
+ \item \textbf{Test set integrity.} Test cases should not be used for hyperparameter tuning, model selection, normalization fitting, or visual inspection-driven iteration.
124
+ \end{itemize}
125
+
126
+ \section*{Split details}
127
+
128
+ \subsection*{\splitkey{full}}
129
+
130
+ The default public split is a seeded random split over run IDs, not a
131
+ physics-stratified split. It constructs \code{torch.randperm(500)} with seed
132
+ 42, shifts the IDs to \code{1..500}, removes the 16 unavailable hidden cases,
133
+ then assigns the first 400 public IDs to train, the next 50 to test, and the
134
+ remaining 34 to validation. The case IDs are sorted before being stored in the
135
+ manifest. For reference, these IDs match the public
136
+ \href{https://github.com/Emmi-AI/noether/blob/main/src/noether/data/datasets/cfd/caeml/drivaerml/split.py}{DrivAerMLDefaultSplitIDs}
137
+ implementation in Noether \cite{noether_split}.
138
+
139
+ \subsection*{\splitkey{medium}, \splitkey{scarce}, and \splitkey{super\_scarce}}
140
+
141
+ Same validation/test as \splitkey{full}, but the training set is a nested
142
+ force- and geometry-diverse subset of \splitkey{full\_train}: 133 cases for
143
+ \splitkey{medium}, 67 cases for \splitkey{scarce}, and 11 cases for
144
+ \splitkey{super\_scarce}. The subset order is a greedy max-min selection in
145
+ standardized force/geometry feature space using \code{cd}, \code{cl},
146
+ \code{cs}, and all public geometry parameters.
147
+
148
+ By construction, \splitkey{super\_scarce\_train} is a subset of
149
+ \splitkey{scarce\_train}, \splitkey{scarce\_train} is a subset of
150
+ \splitkey{medium\_train}, and \splitkey{medium\_train} is a subset of
151
+ \splitkey{full\_train}.
152
+
153
+ \subsection*{\splitkey{geometry}}
154
+
155
+ The preferred geometry OOD split when STL-derived geometry metrics are
156
+ available. It uses \code{chamfer\_metrics.csv}, where each public run is
157
+ represented by deterministic surface samples from its STL mesh. The committed
158
+ metrics were generated with 10,000 surface samples per public run, seed 42, no
159
+ recentering, global median bounding-box scaling, and symmetric Chamfer RMS
160
+ distances.
161
+
162
+ The split uses \code{ood\_score}, currently the mean distance to the 10 nearest
163
+ neighboring public geometries:
164
+
165
+ \begin{verbatim}
166
+ geometry_score_i = mean_10_nearest_neighbors(chamfer_distance_i)
167
+ \end{verbatim}
168
+
169
+ The top 20\% of public runs by this local-isolation score form the OOD test
170
+ set. Validation is sampled from the remaining training-side pool:
171
+
172
+ \begin{verbatim}
173
+ geometry_test = top_20_percent_i(geometry_score_i)
174
+ geometry_pool = public_runs - geometry_test
175
+ geometry_val = deterministic_random_sample(geometry_pool, round(0.125 * |geometry_pool|))
176
+ geometry_train = geometry_pool - geometry_val
177
+ \end{verbatim}
178
+
179
+ This split captures surface-level differences that may not dominate
180
+ standardized parameter distances. In the current Chamfer metrics, the most
181
+ locally isolated public geometries include \splitkey{run\_393},
182
+ \splitkey{run\_65}, \splitkey{run\_129}, \splitkey{run\_293},
183
+ \splitkey{run\_439}, \splitkey{run\_345}, \splitkey{run\_495}, and
184
+ \splitkey{run\_237}. Figure~\ref{fig:force_geometry} shows the geometry split
185
+ both against \code{Cd} and against the Chamfer score used to define the
186
+ holdout, and Figure~\ref{fig:geometry_examples} shows complete-car examples
187
+ from the low-score training side and high-score geometry-test side, including a
188
+ same-crop transparent overlay.
189
+
190
+ \subsection*{\splitkey{high\_drag} and \splitkey{low\_drag}}
191
+
192
+ Both splits sort public cases by drag coefficient \code{cd}.
193
+ \splitkey{high\_drag} holds out the top 20\% by \code{cd};
194
+ \splitkey{low\_drag} holds out the bottom 20\% by \code{cd}. In both cases,
195
+ train/validation are sampled from the complementary 80\% so validation remains
196
+ in-distribution with training. Figure~\ref{fig:force_geometry} shows these
197
+ holdouts across run IDs.
198
+
199
+ In the current CSV, the highest-drag public runs include \splitkey{run\_115},
200
+ \splitkey{run\_39}, \splitkey{run\_29}, \splitkey{run\_186}, and
201
+ \splitkey{run\_226}. The lowest-drag public runs include \splitkey{run\_289},
202
+ \splitkey{run\_159}, \splitkey{run\_10}, \splitkey{run\_345}, and
203
+ \splitkey{run\_426}.
204
+
205
+ \begin{figure}[H]
206
+ \centering
207
+ \includegraphics[width=0.96\textwidth]{force_regimes.png}
208
+ \caption{Force and geometry split diagnostics. The panels show the full random baseline, high-drag holdout, low-drag holdout, geometry holdout on \code{Cd}, and geometry holdout on STL-surface Chamfer score. The x-axis is run ID, and points are colored by each split's train, validation, and test partitions.}
209
+ \label{fig:force_geometry}
210
+ \end{figure}
211
+
212
+ \begin{figure}[H]
213
+ \centering
214
+ \includegraphics[width=\textwidth]{geometry_split_examples.png}
215
+ \caption{Geometry split examples. The low-score training-side case is \splitkey{run\_294} (\code{geometry\_score=0.007373}, \code{Cd=0.281193}, \code{Cl=-0.017952}), and the high-score geometry-test case is \splitkey{run\_393} (\code{geometry\_score=0.011422}, \code{Cd=0.285732}, \code{Cl=0.052227}). The bottom panel overlays the same-crop side views with \splitkey{run\_294} in blue and \splitkey{run\_393} in orange.}
216
+ \label{fig:geometry_examples}
217
+ \end{figure}
218
+
219
+ \subsection*{Image-derived flow-regime split}
220
+
221
+ The image-derived split is intended to capture a visible flow-physics regime
222
+ that is not fully described by high or low integrated coefficients. It uses
223
+ selected PNG diagnostics from each \code{run\_*/images/} folder, and
224
+ Figure~\ref{fig:image_regime} shows the resulting rear-separation score
225
+ distribution plus the same train/validation/test membership against \code{Cd}:
226
+
227
+ \begin{itemize}
228
+ \item \splitkey{rear\_separation}: low-speed wake area from the \code{y=0} centreline velocity-magnitude PNG and seven near-rear \code{xNormal} velocity-magnitude PNGs (\code{p43000} through \code{p55000}).
229
+ \end{itemize}
230
+
231
+ The score estimates recirculation/separation size by counting the low-speed
232
+ blue/cyan/green part of the fixed \code{|U|/U0} colormap. The committed score
233
+ combines 60\% centreline wake area with 40\% mean near-rear \code{xNormal}
234
+ low-speed area.
235
+
236
+ For this score, the top 20\% of public runs are held out as test. Validation is
237
+ sampled from the remaining 80\%.
238
+
239
+ \begin{figure}[H]
240
+ \centering
241
+ \includegraphics[width=0.96\textwidth]{image_regimes.png}
242
+ \caption{Image-derived rear-separation split diagnostics. The left panel shows the rear-separation score used for the holdout, and the right panel shows \code{Cd} for the same \splitkey{rear\_separation\_train}, \splitkey{rear\_separation\_val}, and \splitkey{rear\_separation\_test} partitions.}
243
+ \label{fig:image_regime}
244
+ \end{figure}
245
+
246
+ Figure~\ref{fig:image_examples} shows centreline \code{y=0}
247
+ velocity-magnitude slices for observed low-score and high-score cases from the
248
+ image-derived metric.
249
+
250
+ \begin{figure}[H]
251
+ \centering
252
+ \includegraphics[width=\textwidth]{image_split_examples.png}
253
+ \caption{Centreline velocity-magnitude examples for low and high rear-separation scores. The low-score case is \splitkey{run\_100} (\code{Cd=0.292211}, \code{Cl=0.147656}), and the high-score case is \splitkey{run\_406} (\code{Cd=0.266587}, \code{Cl=0.019273}).}
254
+ \label{fig:image_examples}
255
+ \end{figure}
256
+
257
+ \section*{Repeatability and transparency}
258
+
259
+ The committed manifest is intended for normal use. The commands below are for
260
+ auditing the split construction, recreating the figures, or refreshing the
261
+ artifacts after changing the source data.
262
+
263
+ From a clean split-package checkout, download \code{force\_mom\_all.csv} and
264
+ \code{geo\_parameters\_all.csv} from the Hugging Face dataset repo and then
265
+ regenerate the manifest and diagnostic plots:
266
+
267
+ \begin{verbatim}
268
+ python3 splits/download_hf_inputs.py --output-dir data
269
+ python3 splits/generate_splits.py
270
+ python3 splits/visualize_flow_regimes.py
271
+ python3 splits/visualize_image_regimes.py
272
+ \end{verbatim}
273
+
274
+ This exact path uses committed Chamfer geometry scores and committed
275
+ rear-separation image scores. To render the example figures from source PNGs
276
+ rather than placeholders, also run:
277
+
278
+ \begin{verbatim}
279
+ python3 splits/download_hf_inputs.py --output-dir data --include-report-images
280
+ python3 splits/visualize_geometry_examples.py
281
+ python3 splits/visualize_split_examples.py
282
+ \end{verbatim}
283
+
284
+ Full report regeneration then uses:
285
+
286
+ \begin{verbatim}
287
+ python3 splits/generate_splits.py
288
+ python3 splits/visualize_flow_regimes.py
289
+ python3 splits/visualize_geometry_examples.py
290
+ python3 splits/visualize_image_regimes.py
291
+ python3 splits/visualize_split_examples.py
292
+ latexmk -pdf -cd splits/README.tex
293
+ \end{verbatim}
294
+
295
+ For an existing dataset checkout, set \code{DRIVAERML\_DATA\_ROOT} to the
296
+ directory containing \code{force\_mom\_all.csv} and
297
+ \code{geo\_parameters\_all.csv}. If the PNGs live elsewhere, set
298
+ \code{DRIVAERML\_IMAGE\_ROOT} to the directory containing
299
+ \code{run\_*/images/}.
300
+
301
+ To recompute \code{splits/image\_metrics.csv} from source images, use:
302
+
303
+ \begin{verbatim}
304
+ python3 splits/download_hf_inputs.py --output-dir data --include-image-score-pngs
305
+ python3 splits/generate_splits.py
306
+ \end{verbatim}
307
+
308
+ To recompute the Chamfer source data from STL meshes, run the standalone
309
+ surface-distance script in a work directory and refresh only the metrics CSV
310
+ used by the split generator:
311
+
312
+ \begin{verbatim}
313
+ python3 splits/download_hf_inputs.py --output-dir /tmp/drivaerml_inputs --include-stls
314
+ mkdir -p /tmp/drivaerml_chamfer
315
+ python3 splits/compute_chamfer_splits.py \
316
+ --data-root /tmp/drivaerml_inputs \
317
+ --output-dir /tmp/drivaerml_chamfer \
318
+ --samples 10000 \
319
+ --workers 16 \
320
+ --base-manifest splits/manifest.json
321
+ cp /tmp/drivaerml_chamfer/chamfer_metrics.csv splits/chamfer_metrics.csv
322
+ \end{verbatim}
323
+
324
+ The committed source artifacts were generated against a local checkout with:
325
+
326
+ \begin{verbatim}
327
+ <dataset-root>/force_mom_all.csv
328
+ <dataset-root>/geo_parameters_all.csv
329
+ <dataset-root>/splits/chamfer_metrics.csv
330
+ <dataset-root>/splits/manifest.json
331
+ <image-root>/run_*/images/
332
+ \end{verbatim}
333
+
334
+ \section*{Manifest format}
335
+
336
+ \begin{verbatim}
337
+ {
338
+ "full_train": ["run_1", "run_2", "..."],
339
+ "full_val": ["run_4", "..."],
340
+ "full_test": ["run_11", "..."],
341
+ "scarce_train": ["run_10", "..."]
342
+ }
343
+ \end{verbatim}
344
+
345
+ Case IDs match on-disk directory names and are sorted numerically by run number.
346
+
347
+ \begin{thebibliography}{9}
348
+ \bibitem{drivaerml_dataset}
349
+ DrivAerML dataset. \url{https://huggingface.co/datasets/neashton/drivaerml}.
350
+
351
+ \bibitem{drivaerml_paper}
352
+ DrivAerML paper. \url{https://arxiv.org/abs/2408.11969}.
353
+
354
+ \bibitem{noether_split}
355
+ Noether DrivAerML split. \url{https://github.com/Emmi-AI/noether/blob/main/src/noether/data/datasets/cfd/caeml/drivaerml/split.py}.
356
+
357
+ \bibitem{physicsnemo_loader}
358
+ PhysicsNeMo DrivAerNet/DrivAerML-style split loader.
359
+ \url{https://docs.nvidia.com/deeplearning/physicsnemo/physicsnemo-core/_modules/physicsnemo/datapipes/gnn/drivaernet_dataset.html}.
360
+ \end{thebibliography}
361
+
362
+ \end{document}
splits/chamfer_metrics.csv ADDED
@@ -0,0 +1,485 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run,nearest_neighbor_chamfer,mean_10_nn_chamfer,mean_all_chamfer,medoid_chamfer,medoid_run,ood_score
2
+ 1,0.007728395517915487,0.008212374523282051,0.014261526055634022,0.012437675148248672,294,0.008212374523282051
3
+ 2,0.007664899807423353,0.008202708326280117,0.012909170240163803,0.0117068812251091,294,0.008202708326280117
4
+ 3,0.007015416398644447,0.007785084191709757,0.014882386662065983,0.0125005804002285,294,0.007785084191709757
5
+ 4,0.006997725926339626,0.007555538322776556,0.012383533641695976,0.007999238558113575,294,0.007555538322776556
6
+ 5,0.007902598939836025,0.008317304775118828,0.01508842408657074,0.013258375227451324,294,0.008317304775118828
7
+ 6,0.0070487139746546745,0.008031521923840046,0.011926145292818546,0.008692706935107708,294,0.008031521923840046
8
+ 7,0.00693513685837388,0.0073768338188529015,0.014092350378632545,0.011230621486902237,294,0.0073768338188529015
9
+ 8,0.007733411155641079,0.00816173292696476,0.014925297349691391,0.013717438094317913,294,0.00816173292696476
10
+ 9,0.007255421951413155,0.007551925722509623,0.012757613323628902,0.011809422634541988,294,0.007551925722509623
11
+ 10,0.00789411086589098,0.008082995191216469,0.013038849458098412,0.00977280829101801,294,0.008082995191216469
12
+ 11,0.008024632930755615,0.008651791140437126,0.013939721509814262,0.012808147817850113,294,0.008651791140437126
13
+ 12,0.00727294385433197,0.00773902703076601,0.012483862228691578,0.009697002358734608,294,0.00773902703076601
14
+ 13,0.007272020913660526,0.007541449274867773,0.012996809557080269,0.008965196087956429,294,0.007541449274867773
15
+ 14,0.007471530232578516,0.008153184317052364,0.013021936640143394,0.011648672632873058,294,0.008153184317052364
16
+ 15,0.007168072275817394,0.007896794937551022,0.012682412751019001,0.010203680023550987,294,0.007896794937551022
17
+ 16,0.007748429197818041,0.008129313588142395,0.013905240222811699,0.010548735968768597,294,0.008129313588142395
18
+ 17,0.007289710454642773,0.00791021715849638,0.014032517559826374,0.013342821970582008,294,0.00791021715849638
19
+ 18,0.006974077317863703,0.00795731134712696,0.014629524201154709,0.010785248130559921,294,0.00795731134712696
20
+ 19,0.00737164169549942,0.007990507408976555,0.014471451751887798,0.012441612780094147,294,0.007990507408976555
21
+ 20,0.007422759663313627,0.007922740653157234,0.012491573579609394,0.008519532158970833,294,0.007922740653157234
22
+ 21,0.00709755951538682,0.007848331704735756,0.01289029885083437,0.010429523885250092,294,0.007848331704735756
23
+ 22,0.007199769373983145,0.007722700946033001,0.011888345703482628,0.008776996284723282,294,0.007722700946033001
24
+ 23,0.007532700430601835,0.007921579293906689,0.013541990891098976,0.010390311479568481,294,0.007921579293906689
25
+ 24,0.0075135985389351845,0.00828961469233036,0.014589294791221619,0.014523287303745747,294,0.00828961469233036
26
+ 25,0.007920104078948498,0.008761165663599968,0.016238275915384293,0.015917280688881874,294,0.008761165663599968
27
+ 26,0.007575778756290674,0.007794989738613367,0.011827322654426098,0.007973658852279186,294,0.007794989738613367
28
+ 27,0.007076209876686335,0.00784569513052702,0.01639395020902157,0.013411223888397217,294,0.00784569513052702
29
+ 28,0.007739785593003035,0.008414610289037228,0.014245412312448025,0.013596558012068272,294,0.008414610289037228
30
+ 29,0.0076815346255898476,0.008371112868189812,0.015210100449621677,0.011812552809715271,294,0.008371112868189812
31
+ 30,0.007743602618575096,0.007991025224328041,0.013702129945158958,0.012982137501239777,294,0.007991025224328041
32
+ 31,0.007485717069357634,0.00799345038831234,0.012806684710085392,0.010439479723572731,294,0.00799345038831234
33
+ 32,0.007131264545023441,0.007737527601420879,0.013650596141815186,0.011077373288571835,294,0.007737527601420879
34
+ 33,0.007574280723929405,0.007976179011166096,0.013188943266868591,0.011190058663487434,294,0.007976179011166096
35
+ 34,0.007321704179048538,0.008255972526967525,0.01416583452373743,0.013094612397253513,294,0.008255972526967525
36
+ 35,0.00746291084215045,0.008180354721844196,0.01318647712469101,0.010989734902977943,294,0.008180354721844196
37
+ 36,0.007331960368901491,0.0077897049486637115,0.012653619982302189,0.009535702876746655,294,0.0077897049486637115
38
+ 37,0.006878306623548269,0.007992558181285858,0.01483813114464283,0.012622697278857231,294,0.007992558181285858
39
+ 38,0.007216934580355883,0.007996181026101112,0.012061328627169132,0.009241960011422634,294,0.007996181026101112
40
+ 39,0.0077361236326396465,0.00840417854487896,0.014964241534471512,0.011535460129380226,294,0.00840417854487896
41
+ 40,0.007408876903355122,0.007991618476808071,0.013754652813076973,0.012711020186543465,294,0.007991618476808071
42
+ 41,0.007660582661628723,0.008226067759096622,0.014506381936371326,0.014615525491535664,294,0.008226067759096622
43
+ 42,0.006929978262633085,0.00739819323644042,0.01229726243764162,0.007422067224979401,294,0.00739819323644042
44
+ 43,0.00794073473662138,0.00832408107817173,0.013721857219934464,0.010084155946969986,294,0.00832408107817173
45
+ 44,0.00732328649610281,0.00776233384385705,0.01232525147497654,0.00972388219088316,294,0.00776233384385705
46
+ 45,0.007921513170003891,0.008382773026823997,0.012798807583749294,0.009689154103398323,294,0.008382773026823997
47
+ 46,0.007792997639626265,0.008158780634403229,0.013262392953038216,0.011538083665072918,294,0.008158780634403229
48
+ 47,0.007184433285146952,0.007991562597453594,0.013408348895609379,0.01073254644870758,294,0.007991562597453594
49
+ 48,0.007029158994555473,0.007727284915745258,0.014108650386333466,0.012053282000124454,294,0.007727284915745258
50
+ 49,0.0075493198819458485,0.008368716575205326,0.014957522042095661,0.013698498718440533,294,0.008368716575205326
51
+ 50,0.0070931329391896725,0.007763892412185669,0.012690161354839802,0.008022438734769821,294,0.007763892412185669
52
+ 51,0.007533975876867771,0.007985441014170647,0.015239845961332321,0.014108565635979176,294,0.007985441014170647
53
+ 52,0.00725707458332181,0.007726764772087336,0.012599979527294636,0.009950464591383934,294,0.007726764772087336
54
+ 53,0.007356319576501846,0.008459018543362617,0.01569417677819729,0.011601983569562435,294,0.008459018543362617
55
+ 54,0.007650733459740877,0.007913883775472641,0.012465834617614746,0.011255497112870216,294,0.007913883775472641
56
+ 55,0.007016252260655165,0.0075194574892520905,0.012479572556912899,0.00942949764430523,294,0.0075194574892520905
57
+ 56,0.00704995496198535,0.008184889331459999,0.014749651774764061,0.011597029864788055,294,0.008184889331459999
58
+ 57,0.007801860570907593,0.008126075379550457,0.01392390951514244,0.013505974784493446,294,0.008126075379550457
59
+ 58,0.00716890674084425,0.008085156790912151,0.012456921860575676,0.009097958914935589,294,0.008085156790912151
60
+ 59,0.007236821576952934,0.00767323886975646,0.012966386042535305,0.009074924513697624,294,0.00767323886975646
61
+ 60,0.007426557131111622,0.008167689666152,0.013767154887318611,0.012737604789435863,294,0.008167689666152
62
+ 61,0.00735390605404973,0.00787247996777296,0.01379450410604477,0.01129736378788948,294,0.00787247996777296
63
+ 62,0.00727149099111557,0.0081231240183115,0.016047663986682892,0.013682506047189236,294,0.0081231240183115
64
+ 63,0.007262872532010078,0.008030381053686142,0.015138298273086548,0.013814812526106834,294,0.008030381053686142
65
+ 64,0.0074022309854626656,0.007811641786247492,0.012393932789564133,0.009733350947499275,294,0.007811641786247492
66
+ 65,0.007899971678853035,0.009302036836743355,0.017681701108813286,0.016726667061448097,294,0.009302036836743355
67
+ 66,0.007321704179048538,0.0077241696417331696,0.012905162759125233,0.011428514495491982,294,0.0077241696417331696
68
+ 67,0.007015416398644447,0.008072501048445702,0.01560369972139597,0.013476140797138214,294,0.008072501048445702
69
+ 68,0.00737770413979888,0.007777781691402197,0.012523147277534008,0.00961744412779808,294,0.007777781691402197
70
+ 69,0.007328914478421211,0.008150222711265087,0.013534970581531525,0.009832705371081829,294,0.008150222711265087
71
+ 70,0.007216934580355883,0.007653999142348766,0.011416745372116566,0.008235152810811996,294,0.007653999142348766
72
+ 71,0.00693513685837388,0.007452091667801142,0.014121947810053825,0.011374661698937416,294,0.007452091667801142
73
+ 72,0.00810476578772068,0.008460099808871746,0.015231290832161903,0.01484975591301918,294,0.008460099808871746
74
+ 73,0.00732036679983139,0.008016707375645638,0.012935783714056015,0.012074887752532959,294,0.008016707375645638
75
+ 74,0.006929978262633085,0.007553833071142435,0.012680578045547009,0.00794018991291523,294,0.007553833071142435
76
+ 75,0.008112262934446335,0.008683102205395699,0.01564272865653038,0.014364113099873066,294,0.008683102205395699
77
+ 76,0.007272126618772745,0.007746163755655289,0.013457264751195908,0.01175136398524046,294,0.007746163755655289
78
+ 77,0.007377350702881813,0.008025207556784153,0.014657053165137768,0.01114897895604372,294,0.008025207556784153
79
+ 78,0.007906965911388397,0.008321365341544151,0.013355656526982784,0.012093381024897099,294,0.008321365341544151
80
+ 79,0.007168072275817394,0.0077778929844498634,0.013301125727593899,0.01121202576905489,294,0.0077778929844498634
81
+ 80,0.007029158994555473,0.008164644241333008,0.015172239392995834,0.013183604925870895,294,0.008164644241333008
82
+ 81,0.007289710454642773,0.00804672297090292,0.013720928691327572,0.013072694651782513,294,0.00804672297090292
83
+ 82,0.00742846354842186,0.008091253228485584,0.014444136060774326,0.010362955741584301,294,0.008091253228485584
84
+ 83,0.007215574383735657,0.008206847123801708,0.015233112499117851,0.014003067277371883,294,0.008206847123801708
85
+ 84,0.0071235946379601955,0.007794229779392481,0.012015723623335361,0.007884299382567406,294,0.007794229779392481
86
+ 85,0.0073935892432928085,0.008155920542776585,0.014268298633396626,0.010605338029563427,294,0.008155920542776585
87
+ 86,0.007128113880753517,0.007635907270014286,0.011721073649823666,0.008716939017176628,294,0.007635907270014286
88
+ 87,0.007421648595482111,0.007791603449732065,0.012465130537748337,0.009543664753437042,294,0.007791603449732065
89
+ 88,0.008227044716477394,0.008690702728927135,0.015275741927325726,0.014855543151497841,294,0.008690702728927135
90
+ 89,0.0078089796006679535,0.008282346650958061,0.015326397493481636,0.015156183391809464,294,0.008282346650958061
91
+ 90,0.007243150379508734,0.007883479818701744,0.01241093035787344,0.00924257654696703,294,0.007883479818701744
92
+ 91,0.007236821576952934,0.007733125239610672,0.0130575280636549,0.008879030123353004,294,0.007733125239610672
93
+ 92,0.0075300103053450584,0.007982633076608181,0.012791876681149006,0.011037178337574005,294,0.007982633076608181
94
+ 93,0.007604099810123444,0.008032404817640781,0.012598326429724693,0.009430584497749805,294,0.008032404817640781
95
+ 94,0.007419634144753218,0.007899288088083267,0.0137760229408741,0.010225353762507439,294,0.007899288088083267
96
+ 95,0.007262872532010078,0.008204394951462746,0.01450358983129263,0.012860476039350033,294,0.008204394951462746
97
+ 96,0.007131264545023441,0.007699331734329462,0.012736286967992783,0.010243520140647888,294,0.007699331734329462
98
+ 97,0.007236088626086712,0.007701294030994177,0.01206196378916502,0.009662138298153877,294,0.007701294030994177
99
+ 98,0.007138621993362904,0.008493873290717602,0.015391053631901741,0.01217359397560358,294,0.008493873290717602
100
+ 99,0.007595756556838751,0.007934299297630787,0.013105056248605251,0.011007900349795818,294,0.007934299297630787
101
+ 100,0.007255718111991882,0.00801815651357174,0.014192561618983746,0.011416600085794926,294,0.00801815651357174
102
+ 101,0.006878306623548269,0.007573374547064304,0.013602484948933125,0.011249125935137272,294,0.007573374547064304
103
+ 102,0.007859318517148495,0.008549843914806843,0.012963919900357723,0.011581948027014732,294,0.008549843914806843
104
+ 103,0.0071615735068917274,0.007783888839185238,0.012624602764844894,0.00850085448473692,294,0.007783888839185238
105
+ 104,0.007528661284595728,0.008011577650904655,0.013279614970088005,0.012293501757085323,294,0.008011577650904655
106
+ 105,0.007806309498846531,0.00888421107083559,0.01802387647330761,0.017503418028354645,294,0.00888421107083559
107
+ 106,0.007402185350656509,0.0077142780646681786,0.011473549529910088,0.0076649608090519905,294,0.0077142780646681786
108
+ 107,0.00682754535228014,0.007741028908640146,0.016962092369794846,0.01400468684732914,294,0.007741028908640146
109
+ 108,0.00732328649610281,0.007827435620129108,0.012570531107485294,0.010349469259381294,294,0.007827435620129108
110
+ 109,0.007210479583591223,0.00807506125420332,0.016547173261642456,0.014349141158163548,294,0.00807506125420332
111
+ 110,0.007583545986562967,0.008101431652903557,0.014226308092474937,0.01362711563706398,294,0.008101431652903557
112
+ 111,0.007475987542420626,0.008049068972468376,0.012614713050425053,0.010824508965015411,294,0.008049068972468376
113
+ 112,0.007786676287651062,0.008593817241489887,0.014478951692581177,0.011468341574072838,294,0.008593817241489887
114
+ 113,0.007399023976176977,0.00779272336512804,0.013462251983582973,0.012396988458931446,294,0.00779272336512804
115
+ 114,0.0070931329391896725,0.007703357841819525,0.012701851315796375,0.008444128558039665,294,0.007703357841819525
116
+ 115,0.00814863108098507,0.008495008572936058,0.015504365786910057,0.01339217834174633,294,0.008495008572936058
117
+ 116,0.00725707458332181,0.00791118573397398,0.012560060247778893,0.010066531598567963,294,0.00791118573397398
118
+ 117,0.0071696266531944275,0.007923099212348461,0.012981140054762363,0.008860908448696136,294,0.007923099212348461
119
+ 118,0.007590890862047672,0.007903246209025383,0.012662474997341633,0.011287943460047245,294,0.007903246209025383
120
+ 119,0.007351002190262079,0.007800257299095392,0.01318250223994255,0.010455300100147724,294,0.007800257299095392
121
+ 120,0.00742400111630559,0.008443804457783699,0.014922503381967545,0.01188939344137907,294,0.008443804457783699
122
+ 121,0.008004759438335896,0.00863601453602314,0.01671130768954754,0.017270609736442566,294,0.00863601453602314
123
+ 122,0.00716890674084425,0.007925684563815594,0.011855372227728367,0.008359050378203392,294,0.007925684563815594
124
+ 123,0.007244161330163479,0.007771099451929331,0.014508063904941082,0.011067783460021019,294,0.007771099451929331
125
+ 124,0.007426557131111622,0.008270668797194958,0.013681478798389435,0.012708808295428753,294,0.008270668797194958
126
+ 125,0.007991639897227287,0.008431966416537762,0.012301960028707981,0.009633178822696209,294,0.008431966416537762
127
+ 126,0.006997725926339626,0.0074834199622273445,0.012627854011952877,0.008179934695363045,294,0.0074834199622273445
128
+ 127,0.007414103485643864,0.008053201250731945,0.013766865245997906,0.011576639488339424,294,0.008053201250731945
129
+ 128,0.0073508694767951965,0.007750173099339008,0.013205697759985924,0.01169018168002367,294,0.007750173099339008
130
+ 129,0.00827991496771574,0.009146420285105705,0.01793457381427288,0.018164940178394318,294,0.009146420285105705
131
+ 130,0.007117914967238903,0.007514071650803089,0.012447637505829334,0.008598186075687408,294,0.007514071650803089
132
+ 131,0.007089621853083372,0.008014225400984287,0.01578625664114952,0.012981177307665348,294,0.008014225400984287
133
+ 132,0.0074038151651620865,0.007649869658052921,0.011650972999632359,0.009467394091188908,294,0.007649869658052921
134
+ 133,0.007234418299049139,0.008186964318156242,0.014246162958443165,0.012860838323831558,294,0.008186964318156242
135
+ 134,0.007319912314414978,0.007827108725905418,0.013610228896141052,0.00926536787301302,294,0.007827108725905418
136
+ 135,0.007184433285146952,0.007920279167592525,0.014493459835648537,0.012517143972218037,294,0.007920279167592525
137
+ 136,0.007169903255999088,0.007786741945892572,0.013407652266323566,0.010646877810359001,294,0.007786741945892572
138
+ 137,0.007258321158587933,0.007660922594368458,0.013189520686864853,0.011009966023266315,294,0.007660922594368458
139
+ 138,0.007528725080192089,0.008535800501704216,0.015467018820345402,0.0136803537607193,294,0.008535800501704216
140
+ 139,0.007804287131875753,0.008095014840364456,0.012036061845719814,0.008808726444840431,294,0.008095014840364456
141
+ 140,0.007528661284595728,0.008014867082238197,0.014024332165718079,0.013486471027135849,294,0.008014867082238197
142
+ 141,0.0076181297190487385,0.008059258572757244,0.013178919441998005,0.011442897841334343,294,0.008059258572757244
143
+ 142,0.007255718111991882,0.008366065099835396,0.015584129840135574,0.013536965474486351,294,0.008366065099835396
144
+ 143,0.007244161330163479,0.0077858916483819485,0.015079036355018616,0.011215356178581715,294,0.0077858916483819485
145
+ 144,0.007879692129790783,0.008193817920982838,0.013401731848716736,0.012117517180740833,294,0.008193817920982838
146
+ 145,0.007754521444439888,0.008031482808291912,0.013370172120630741,0.010379240848124027,294,0.008031482808291912
147
+ 146,0.007109455298632383,0.0077047767117619514,0.011827738024294376,0.008786119520664215,294,0.0077047767117619514
148
+ 147,0.007517649792134762,0.007907865568995476,0.013364351354539394,0.010243547149002552,294,0.007907865568995476
149
+ 148,0.00730321928858757,0.00818699412047863,0.013866380788385868,0.012639976106584072,294,0.00818699412047863
150
+ 149,0.007449118886142969,0.008192474953830242,0.014236274175345898,0.012239932082593441,294,0.008192474953830242
151
+ 150,0.007624419406056404,0.008031707257032394,0.012880336493253708,0.009208254516124725,294,0.008031707257032394
152
+ 151,0.0074800048023462296,0.00796361081302166,0.014051072299480438,0.01241043210029602,294,0.00796361081302166
153
+ 152,0.007679597474634647,0.008304117247462273,0.01233286689966917,0.010025463066995144,294,0.008304117247462273
154
+ 153,0.007117534056305885,0.007853408344089985,0.012244995683431625,0.009197039529681206,294,0.007853408344089985
155
+ 154,0.007769025396555662,0.008504548110067844,0.01340754609555006,0.012786808423697948,294,0.008504548110067844
156
+ 155,0.007517652586102486,0.007924696430563927,0.012930427677929401,0.009703509509563446,294,0.007924696430563927
157
+ 156,0.007116441614925861,0.008163250051438808,0.013930654153227806,0.01103104930371046,294,0.008163250051438808
158
+ 157,0.00754411518573761,0.0080462247133255,0.015469151549041271,0.011506479233503342,294,0.0080462247133255
159
+ 158,0.007188763003796339,0.007862688042223454,0.011920188553631306,0.00957093108445406,294,0.007862688042223454
160
+ 159,0.007352693006396294,0.007588472217321396,0.012624114751815796,0.00908483937382698,294,0.007588472217321396
161
+ 160,0.00776074081659317,0.00824518222361803,0.012694187462329865,0.0111953504383564,294,0.00824518222361803
162
+ 161,0.0078089796006679535,0.008488941006362438,0.015854377299547195,0.015912597998976707,294,0.008488941006362438
163
+ 162,0.0075168609619140625,0.008070624433457851,0.012233732268214226,0.009402765892446041,294,0.008070624433457851
164
+ 163,0.007121085189282894,0.00779604772105813,0.014724766835570335,0.010908115655183792,294,0.00779604772105813
165
+ 164,0.007605798076838255,0.008170006796717644,0.014518165029585361,0.013678439892828465,294,0.008170006796717644
166
+ 165,0.007255421951413155,0.008022504858672619,0.012358163483440876,0.010883649811148643,294,0.008022504858672619
167
+ 166,0.007412003353238106,0.00786091573536396,0.013024275191128254,0.009572219103574753,294,0.00786091573536396
168
+ 168,0.007054094225168228,0.007826093584299088,0.01326141506433487,0.011026142165064812,294,0.007826093584299088
169
+ 169,0.007104349322617054,0.007841765880584717,0.012905323877930641,0.01092760544270277,294,0.007841765880584717
170
+ 170,0.007479182910174131,0.007738044951111078,0.01238956768065691,0.010189993306994438,294,0.007738044951111078
171
+ 171,0.007240063510835171,0.008090833202004433,0.015046225860714912,0.012504062615334988,294,0.008090833202004433
172
+ 172,0.007513518910855055,0.008009386248886585,0.013861234299838543,0.01087217591702938,294,0.008009386248886585
173
+ 173,0.008071196265518665,0.008775927126407623,0.01578478515148163,0.014284001663327217,294,0.008775927126407623
174
+ 174,0.007161959074437618,0.007640110794454813,0.011570045724511147,0.007693952415138483,294,0.007640110794454813
175
+ 175,0.006949230562895536,0.00749728549271822,0.013526778668165207,0.010094771161675453,294,0.00749728549271822
176
+ 176,0.00755798164755106,0.008631507866084576,0.01593189872801304,0.015174477361142635,294,0.008631507866084576
177
+ 177,0.006958399899303913,0.007605919148772955,0.01375752966850996,0.010917644947767258,294,0.007605919148772955
178
+ 178,0.007574326824396849,0.0082119544968009,0.01206017192453146,0.009825958870351315,294,0.0082119544968009
179
+ 179,0.006889939308166504,0.007613669149577618,0.015205398201942444,0.013129227794706821,294,0.007613669149577618
180
+ 180,0.007513790857046843,0.007986382581293583,0.014341077767312527,0.013444850221276283,294,0.007986382581293583
181
+ 181,0.007122557144612074,0.00827045552432537,0.013862392865121365,0.010927940718829632,294,0.00827045552432537
182
+ 182,0.0069560883566737175,0.007554186042398214,0.011905457824468613,0.0076595935970544815,294,0.007554186042398214
183
+ 183,0.007472744677215815,0.00786261260509491,0.014046372845768929,0.01077428087592125,294,0.00786261260509491
184
+ 184,0.007320270407944918,0.008266260847449303,0.013955021277070045,0.012409997172653675,294,0.008266260847449303
185
+ 185,0.007589442189782858,0.007813733071088791,0.013297122903168201,0.011989208869636059,294,0.007813733071088791
186
+ 186,0.00804114155471325,0.008672915399074554,0.01421697624027729,0.01244206354022026,294,0.008672915399074554
187
+ 187,0.0075040594674646854,0.00810893066227436,0.013487660326063633,0.011976678855717182,294,0.00810893066227436
188
+ 188,0.007271136622875929,0.008022410795092583,0.013143204152584076,0.009852004237473011,294,0.008022410795092583
189
+ 189,0.007388683967292309,0.008415321819484234,0.014456606470048428,0.010246546939015388,294,0.008415321819484234
190
+ 190,0.00739008653908968,0.007750241551548243,0.011856336146593094,0.008500698953866959,294,0.007750241551548243
191
+ 191,0.007846078835427761,0.00860566832125187,0.014111561700701714,0.011586986482143402,294,0.00860566832125187
192
+ 192,0.0072663649916648865,0.00789980124682188,0.013509616255760193,0.013083738274872303,294,0.00789980124682188
193
+ 193,0.007972725667059422,0.008439923636615276,0.014134031720459461,0.01302702073007822,294,0.008439923636615276
194
+ 194,0.007457938976585865,0.0077846841886639595,0.011612262576818466,0.008898996748030186,294,0.0077846841886639595
195
+ 195,0.007451588753610849,0.007862558588385582,0.01400060672312975,0.00961576122790575,294,0.007862558588385582
196
+ 196,0.0074038151651620865,0.007677638437598944,0.012311350554227829,0.010332256555557251,294,0.007677638437598944
197
+ 197,0.007234418299049139,0.007904493249952793,0.013269266113638878,0.0119879599660635,294,0.007904493249952793
198
+ 198,0.007022863253951073,0.007818627171218395,0.013092252425849438,0.009393091313540936,294,0.007818627171218395
199
+ 199,0.007465069182217121,0.008016182109713554,0.01354184839874506,0.012372123077511787,294,0.008016182109713554
200
+ 200,0.0077188704162836075,0.008143464103341103,0.013287875801324844,0.010771489702165127,294,0.008143464103341103
201
+ 201,0.007104349322617054,0.0075347512029111385,0.013289076276123524,0.011411625891923904,294,0.0075347512029111385
202
+ 202,0.007664899807423353,0.00801150593906641,0.012648693285882473,0.01068310160189867,294,0.00801150593906641
203
+ 203,0.007368776015937328,0.008001024834811687,0.012588891200721264,0.009533698670566082,294,0.008001024834811687
204
+ 204,0.007203216198831797,0.007997515611350536,0.013918881304562092,0.00975705124437809,294,0.007997515611350536
205
+ 205,0.0077444096095860004,0.008192077279090881,0.01472177542746067,0.0133837154135108,294,0.008192077279090881
206
+ 206,0.007064418401569128,0.00782955065369606,0.012239886447787285,0.007064418401569128,294,0.00782955065369606
207
+ 207,0.006949230562895536,0.007500378880649805,0.013889920897781849,0.010332159698009491,294,0.007500378880649805
208
+ 208,0.007459819782525301,0.008210444822907448,0.01295877993106842,0.01117430068552494,294,0.008210444822907448
209
+ 209,0.007262445520609617,0.008789315819740295,0.016564078629016876,0.014708871953189373,294,0.008789315819740295
210
+ 210,0.007198431994765997,0.0076985545456409454,0.011787070892751217,0.009021509438753128,294,0.0076985545456409454
211
+ 212,0.00730321928858757,0.007851215079426765,0.013511396944522858,0.012418920174241066,294,0.007851215079426765
212
+ 213,0.008269740268588066,0.008648023940622807,0.013544063083827496,0.012063294649124146,294,0.008648023940622807
213
+ 214,0.0069560883566737175,0.0074520534835755825,0.01184443011879921,0.007296929135918617,294,0.0074520534835755825
214
+ 215,0.007690291851758957,0.007940532639622688,0.01433556154370308,0.012861110270023346,294,0.007940532639622688
215
+ 216,0.007320270407944918,0.008205772377550602,0.013880155049264431,0.012190205045044422,294,0.008205772377550602
216
+ 217,0.007628186605870724,0.00821668840944767,0.014321092516183853,0.012964311987161636,294,0.00821668840944767
217
+ 219,0.00737164169549942,0.007942668162286282,0.014232533983886242,0.011668650433421135,294,0.007942668162286282
218
+ 220,0.007231048308312893,0.007882630452513695,0.014416327700018883,0.01175757683813572,294,0.007882630452513695
219
+ 222,0.007334697060286999,0.007885394617915154,0.01362901646643877,0.011593800038099289,294,0.007885394617915154
220
+ 223,0.0071615735068917274,0.007698322646319866,0.013600349426269531,0.00967207457870245,294,0.007698322646319866
221
+ 224,0.0072663649916648865,0.007882999256253242,0.01375378854572773,0.013301538303494453,294,0.007882999256253242
222
+ 225,0.007089526858180761,0.007896569557487965,0.014448842965066433,0.012028158642351627,294,0.007896569557487965
223
+ 226,0.00749005563557148,0.008389110676944256,0.014272152446210384,0.011581698432564735,294,0.008389110676944256
224
+ 227,0.007314398884773254,0.0076757511124014854,0.01249460969120264,0.008758697658777237,294,0.0076757511124014854
225
+ 228,0.00741798710078001,0.008441886864602566,0.013495155610144138,0.011912438087165356,294,0.008441886864602566
226
+ 229,0.007660582661628723,0.008085347712039948,0.014141718856990337,0.013829333707690239,294,0.008085347712039948
227
+ 230,0.0074770646169781685,0.007871848531067371,0.012950352393090725,0.007915301248431206,294,0.007871848531067371
228
+ 231,0.007873774506151676,0.008466823026537895,0.014340309426188469,0.013265114277601242,294,0.008466823026537895
229
+ 232,0.007054094225168228,0.007749372161924839,0.012614770792424679,0.01035059243440628,294,0.007749372161924839
230
+ 233,0.007081414107233286,0.008047501556575298,0.013363935984671116,0.010525300167500973,294,0.008047501556575298
231
+ 234,0.007491037715226412,0.007964344695210457,0.012814028188586235,0.01073532272130251,294,0.007964344695210457
232
+ 235,0.007383930031210184,0.007860240526497364,0.013537663966417313,0.011670812964439392,294,0.007860240526497364
233
+ 236,0.007116441614925861,0.007729534059762955,0.013636709190905094,0.010486735962331295,294,0.007729534059762955
234
+ 237,0.008469817228615284,0.008923206478357315,0.016490260139107704,0.015635628253221512,294,0.008923206478357315
235
+ 238,0.007161959074437618,0.007671453058719635,0.011598270386457443,0.008026696741580963,294,0.007671453058719635
236
+ 239,0.00742846354842186,0.008157356642186642,0.014842751435935497,0.011615571565926075,294,0.008157356642186642
237
+ 240,0.007422964088618755,0.007932260632514954,0.01552684884518385,0.01489520724862814,294,0.007932260632514954
238
+ 241,0.006958399899303913,0.007584854960441589,0.012612747959792614,0.009467748925089836,294,0.007584854960441589
239
+ 242,0.007574326824396849,0.00798292551189661,0.01198495551943779,0.009713505394756794,294,0.00798292551189661
240
+ 243,0.007360717281699181,0.007886134088039398,0.013263358734548092,0.009760419838130474,294,0.007886134088039398
241
+ 244,0.007609432563185692,0.008435120806097984,0.01602710597217083,0.01608179323375225,294,0.008435120806097984
242
+ 245,0.007122557144612074,0.008119354955852032,0.014692813158035278,0.012150212191045284,294,0.008119354955852032
243
+ 246,0.00792998168617487,0.008301208727061749,0.012413129210472107,0.009925992228090763,294,0.008301208727061749
244
+ 247,0.007258621975779533,0.008042187429964542,0.01456223800778389,0.010287139564752579,294,0.008042187429964542
245
+ 249,0.007515343371778727,0.007931454107165337,0.012590209022164345,0.010935152880847454,294,0.007931454107165337
246
+ 250,0.007833603769540787,0.008891316130757332,0.01437267567962408,0.013841853477060795,294,0.008891316130757332
247
+ 251,0.007215574383735657,0.00794993806630373,0.01422642171382904,0.012366515584290028,294,0.00794993806630373
248
+ 252,0.007169903255999088,0.007997522130608559,0.013885934837162495,0.01117895357310772,294,0.007997522130608559
249
+ 253,0.007388683967292309,0.008236253634095192,0.015221222303807735,0.011464277282357216,294,0.008236253634095192
250
+ 254,0.0076532927341759205,0.00797052402049303,0.012507304549217224,0.010842567309737206,294,0.00797052402049303
251
+ 255,0.007097496651113033,0.007506424095481634,0.012655921280384064,0.008776713162660599,294,0.007506424095481634
252
+ 256,0.007909507490694523,0.008627613075077534,0.013704398646950722,0.013350632041692734,294,0.008627613075077534
253
+ 257,0.0070431106723845005,0.007501044310629368,0.013283703476190567,0.01090965699404478,294,0.007501044310629368
254
+ 258,0.007550961337983608,0.008508766070008278,0.01497345045208931,0.012505526654422283,294,0.008508766070008278
255
+ 259,0.007272020913660526,0.007598684635013342,0.011974725872278214,0.007809584029018879,294,0.007598684635013342
256
+ 260,0.007464357186108828,0.008412638679146767,0.014830688945949078,0.013910814188420773,294,0.008412638679146767
257
+ 261,0.007892687804996967,0.0081937862560153,0.014307760633528233,0.013945653103291988,294,0.0081937862560153
258
+ 262,0.007227321155369282,0.0078004575334489346,0.01270200777798891,0.008951210416853428,294,0.0078004575334489346
259
+ 263,0.007565016392618418,0.008062275126576424,0.014131681993603706,0.010503942146897316,294,0.008062275126576424
260
+ 264,0.006963653955608606,0.007708287797868252,0.01266880240291357,0.01048094592988491,294,0.007708287797868252
261
+ 265,0.007484015077352524,0.008822625502943993,0.017032336443662643,0.0162943284958601,294,0.008822625502943993
262
+ 266,0.007271665148437023,0.007880264893174171,0.013442195020616055,0.011541270650923252,294,0.007880264893174171
263
+ 267,0.007376266177743673,0.007817267440259457,0.013973377645015717,0.012006735429167747,294,0.007817267440259457
264
+ 268,0.00753684202209115,0.00797110702842474,0.012654813937842846,0.008899996057152748,294,0.00797110702842474
265
+ 269,0.00693141482770443,0.008081002160906792,0.01798422820866108,0.015411837957799435,294,0.008081002160906792
266
+ 270,0.0073393480852246284,0.007746580056846142,0.011577054858207703,0.008593221195042133,294,0.007746580056846142
267
+ 271,0.007017574738711119,0.007767331786453724,0.01300840824842453,0.010083827190101147,294,0.007767331786453724
268
+ 272,0.007422964088618755,0.00802453514188528,0.016092339530587196,0.015386410057544708,294,0.00802453514188528
269
+ 273,0.007393482606858015,0.007821637205779552,0.011878736317157745,0.008158206939697266,294,0.007821637205779552
270
+ 274,0.007147651165723801,0.007683047093451023,0.012275667861104012,0.010761652141809464,294,0.007683047093451023
271
+ 275,0.007360717281699181,0.007773400750011206,0.013606843538582325,0.010323086753487587,294,0.007773400750011206
272
+ 276,0.007875613868236542,0.00862615741789341,0.014188077300786972,0.010931706055998802,294,0.00862615741789341
273
+ 277,0.007687828969210386,0.008381190709769726,0.014531769789755344,0.014188094064593315,294,0.008381190709769726
274
+ 278,0.007153849583119154,0.00770085584372282,0.011520271189510822,0.008366893976926804,294,0.00770085584372282
275
+ 279,0.006952240597456694,0.007880156859755516,0.014216403476893902,0.010899804532527924,294,0.007880156859755516
276
+ 280,0.007739785593003035,0.008543404750525951,0.015957381576299667,0.015799595043063164,294,0.008543404750525951
277
+ 281,0.00733790872618556,0.00832210760563612,0.01341340597718954,0.012076211161911488,294,0.00832210760563612
278
+ 283,0.00786470714956522,0.008225882425904274,0.014764854684472084,0.013453599996864796,294,0.008225882425904274
279
+ 284,0.00736474571749568,0.008109972812235355,0.013486786745488644,0.011977928690612316,294,0.008109972812235355
280
+ 285,0.006917512975633144,0.007583460304886103,0.014452426694333553,0.010922237299382687,294,0.007583460304886103
281
+ 286,0.007700594607740641,0.008065231144428253,0.012639474123716354,0.01071404293179512,294,0.008065231144428253
282
+ 287,0.0071479580365121365,0.008108262903988361,0.013278872705996037,0.00972571037709713,294,0.008108262903988361
283
+ 288,0.007697495631873608,0.008700476959347725,0.016397422179579735,0.01698525808751583,294,0.008700476959347725
284
+ 289,0.007395248860120773,0.008261705748736858,0.014052013866603374,0.012134924530982971,294,0.008261705748736858
285
+ 290,0.0069509935565292835,0.007708174176514149,0.012514175847172737,0.010033827275037766,294,0.007708174176514149
286
+ 292,0.007702984847128391,0.008339134976267815,0.0144247030839324,0.013931638561189175,294,0.008339134976267815
287
+ 293,0.00827158335596323,0.00909184105694294,0.01707235723733902,0.01779206469655037,294,0.00909184105694294
288
+ 294,0.007021487224847078,0.007373058702796698,0.011396534740924835,0.0,294,0.007373058702796698
289
+ 296,0.007644401863217354,0.008057089522480965,0.0135418102145195,0.012056233361363411,294,0.008057089522480965
290
+ 297,0.00815174076706171,0.008344622328877449,0.014120850712060928,0.013169415295124054,294,0.008344622328877449
291
+ 298,0.006954048294574022,0.007645933888852596,0.013279597274959087,0.009666572324931622,294,0.007645933888852596
292
+ 299,0.007395224180072546,0.00836038775742054,0.015241445042192936,0.012854387052357197,294,0.00836038775742054
293
+ 300,0.0077558038756251335,0.008049765601754189,0.013943218626081944,0.011704920791089535,294,0.008049765601754189
294
+ 301,0.0071696266531944275,0.008067207410931587,0.01345440000295639,0.009763496927917004,294,0.008067207410931587
295
+ 302,0.007961428724229336,0.008228637278079987,0.012747219763696194,0.010678631253540516,294,0.008228637278079987
296
+ 303,0.007842997089028358,0.008223037235438824,0.013656594790518284,0.010256084613502026,294,0.008223037235438824
297
+ 304,0.007380716968327761,0.007830323651432991,0.014122606255114079,0.01359123457223177,294,0.007830323651432991
298
+ 305,0.007452681660652161,0.007770558353513479,0.012282604351639748,0.009974139742553234,294,0.007770558353513479
299
+ 306,0.007806317415088415,0.008543153293430805,0.01362205296754837,0.011820762418210506,294,0.008543153293430805
300
+ 307,0.00735390605404973,0.007925594225525856,0.01301531307399273,0.010682336986064911,294,0.007925594225525856
301
+ 308,0.0067307185381650925,0.008096275851130486,0.014844111166894436,0.011874305084347725,294,0.008096275851130486
302
+ 309,0.0068496656604111195,0.008258761838078499,0.015821246430277824,0.012080051936209202,294,0.008258761838078499
303
+ 310,0.007618345320224762,0.008086541667580605,0.012123078107833862,0.009032582864165306,294,0.008086541667580605
304
+ 311,0.007552349008619785,0.008297530934214592,0.013611377216875553,0.010094597935676575,294,0.008297530934214592
305
+ 312,0.007617446593940258,0.008050190284848213,0.0126559529453516,0.011753606610000134,294,0.008050190284848213
306
+ 313,0.007196478080004454,0.00805751048028469,0.013553790748119354,0.012185675092041492,294,0.00805751048028469
307
+ 314,0.007080707233399153,0.007670278195291758,0.012043843977153301,0.008405681699514389,294,0.007670278195291758
308
+ 315,0.007465069182217121,0.008154294453561306,0.014541266486048698,0.013432640582323074,294,0.008154294453561306
309
+ 317,0.006899711210280657,0.007810692302882671,0.01630926877260208,0.014159191399812698,294,0.007810692302882671
310
+ 318,0.007191929966211319,0.007977963425219059,0.01303945854306221,0.011341200210154057,294,0.007977963425219059
311
+ 319,0.007400349713861942,0.00783921591937542,0.011688262224197388,0.009142737835645676,294,0.00783921591937542
312
+ 320,0.00704995496198535,0.008005508221685886,0.014632582664489746,0.011766905896365643,294,0.008005508221685886
313
+ 321,0.007627403829246759,0.00794022623449564,0.013339586555957794,0.010507050901651382,294,0.00794022623449564
314
+ 322,0.0069509935565292835,0.00776659045368433,0.012291518971323967,0.009535462595522404,294,0.00776659045368433
315
+ 323,0.007298523560166359,0.007726844400167465,0.013047880493104458,0.009759997949004173,294,0.007726844400167465
316
+ 324,0.008121315389871597,0.008798333816230297,0.014472385868430138,0.013662056997418404,294,0.008798333816230297
317
+ 326,0.0073216697201132774,0.007690828293561935,0.01191729586571455,0.007510831113904715,294,0.007690828293561935
318
+ 327,0.007494187913835049,0.00805489532649517,0.014378194697201252,0.01074023824185133,294,0.00805489532649517
319
+ 328,0.00727294385433197,0.00789607036858797,0.012238265946507454,0.009952899068593979,294,0.00789607036858797
320
+ 330,0.006954048294574022,0.007606963627040386,0.013467637822031975,0.009823737666010857,294,0.007606963627040386
321
+ 331,0.0076226405799388885,0.008024590089917183,0.014150015078485012,0.01233323197811842,294,0.008024590089917183
322
+ 332,0.00727362185716629,0.00804163794964552,0.013408524915575981,0.011154064908623695,294,0.00804163794964552
323
+ 333,0.007121085189282894,0.00786827877163887,0.015210860408842564,0.011148766614496708,294,0.00786827877163887
324
+ 334,0.007901720702648163,0.008286064490675926,0.01224583014845848,0.010595452971756458,294,0.008286064490675926
325
+ 335,0.007017574738711119,0.007541186176240444,0.012650830671191216,0.009729960933327675,294,0.007541186176240444
326
+ 336,0.0077528213150799274,0.008272984065115452,0.01576140522956848,0.014983360655605793,294,0.008272984065115452
327
+ 337,0.007117534056305885,0.007824938744306564,0.012391321361064911,0.009845905937254429,294,0.007824938744306564
328
+ 338,0.007259052246809006,0.008132095448672771,0.01333608478307724,0.012174172326922417,294,0.008132095448672771
329
+ 339,0.00746291084215045,0.007918552495539188,0.012190007604658604,0.009712842293083668,294,0.007918552495539188
330
+ 340,0.0067307185381650925,0.007953045889735222,0.015261919237673283,0.012369899079203606,294,0.007953045889735222
331
+ 341,0.00797145813703537,0.00862118136137724,0.014290181919932365,0.012715689837932587,294,0.00862118136137724
332
+ 342,0.007153849583119154,0.007845954038202763,0.011784428730607033,0.008862050250172615,294,0.007845954038202763
333
+ 343,0.0074286311864852905,0.008291511796414852,0.015307874418795109,0.011381466872990131,294,0.008291511796414852
334
+ 344,0.007307319436222315,0.007749207317829132,0.01331417728215456,0.012389399111270905,294,0.007749207317829132
335
+ 345,0.0077766128815710545,0.008977280929684639,0.01568915694952011,0.015534354373812675,294,0.008977280929684639
336
+ 346,0.007156102452427149,0.007432939019054174,0.012608103454113007,0.008358699269592762,294,0.007432939019054174
337
+ 347,0.007876239717006683,0.008505391888320446,0.014412992633879185,0.013517477549612522,294,0.008505391888320446
338
+ 348,0.0071235946379601955,0.007960615679621696,0.012484311126172543,0.009123414754867554,294,0.007960615679621696
339
+ 349,0.007748371455818415,0.008109668269753456,0.01258255448192358,0.00949807371944189,294,0.008109668269753456
340
+ 350,0.007191929966211319,0.007716039661318064,0.01225115917623043,0.010120538994669914,294,0.007716039661318064
341
+ 351,0.007390606217086315,0.007787452079355717,0.012888367287814617,0.009401288814842701,294,0.007787452079355717
342
+ 352,0.007262445520609617,0.008214229717850685,0.015504131093621254,0.01306295208632946,294,0.008214229717850685
343
+ 353,0.007444807328283787,0.008243253454566002,0.015270465053617954,0.01311559695750475,294,0.008243253454566002
344
+ 354,0.007147651165723801,0.007929815910756588,0.012022679671645164,0.010375408455729485,294,0.007929815910756588
345
+ 355,0.006889939308166504,0.007550226058810949,0.014966340735554695,0.012795886024832726,294,0.007550226058810949
346
+ 356,0.007452262099832296,0.00799117423593998,0.013545133173465729,0.009932448156177998,294,0.00799117423593998
347
+ 357,0.007687828969210386,0.008563700132071972,0.015523219481110573,0.015292329713702202,294,0.008563700132071972
348
+ 358,0.007021487224847078,0.007641778327524662,0.01179245114326477,0.007021487224847078,294,0.007641778327524662
349
+ 359,0.006952240597456694,0.0076782554388046265,0.014232908375561237,0.010869271121919155,294,0.0076782554388046265
350
+ 360,0.007479980122298002,0.007949108257889748,0.013833215460181236,0.012349206022918224,294,0.007949108257889748
351
+ 361,0.00733790872618556,0.00819972064346075,0.01336507685482502,0.011825122870504856,294,0.00819972064346075
352
+ 362,0.007138621993362904,0.0085537638515234,0.015203976072371006,0.012132599949836731,294,0.0085537638515234
353
+ 363,0.007580596953630447,0.007845254614949226,0.012943297624588013,0.011167250573635101,294,0.007845254614949226
354
+ 365,0.006917512975633144,0.007520451210439205,0.013620736077427864,0.009662343189120293,294,0.007520451210439205
355
+ 366,0.00741798710078001,0.00834548007696867,0.014207488857209682,0.012250515632331371,294,0.00834548007696867
356
+ 367,0.007486000191420317,0.008725345134735107,0.013014606200158596,0.010570860467851162,294,0.008725345134735107
357
+ 368,0.007380716968327761,0.007852891460061073,0.013923279941082,0.01352776400744915,294,0.007852891460061073
358
+ 369,0.007888270542025566,0.008394522592425346,0.01470524538308382,0.014037827961146832,294,0.008394522592425346
359
+ 371,0.00758903194218874,0.007992283441126347,0.0139042679220438,0.01177113875746727,294,0.007992283441126347
360
+ 372,0.007455239072442055,0.008101419545710087,0.013229059986770153,0.009779625572264194,294,0.008101419545710087
361
+ 373,0.0068496656604111195,0.00844559632241726,0.016456015408039093,0.013047651387751102,294,0.00844559632241726
362
+ 374,0.007418590597808361,0.0076050893403589725,0.011639135889708996,0.008577315136790276,294,0.0076050893403589725
363
+ 375,0.007037422154098749,0.0077916583977639675,0.014397772960364819,0.011056789197027683,294,0.0077916583977639675
364
+ 377,0.007196478080004454,0.008023272268474102,0.013014950789511204,0.011512433178722858,294,0.008023272268474102
365
+ 378,0.007138059474527836,0.007937737740576267,0.012265237979590893,0.009032349102199078,294,0.007937737740576267
366
+ 379,0.008436490781605244,0.008908873423933983,0.015448760241270065,0.013995743356645107,294,0.008908873423933983
367
+ 380,0.006963653955608606,0.007889778353273869,0.013299635611474514,0.011101795360445976,294,0.007889778353273869
368
+ 381,0.00728972814977169,0.007764670066535473,0.014469994232058525,0.010348888114094734,294,0.007764670066535473
369
+ 382,0.008056994527578354,0.008725875988602638,0.01509656198322773,0.014687737450003624,294,0.008725875988602638
370
+ 383,0.007400349713861942,0.007742106914520264,0.012321963906288147,0.009977592155337334,294,0.007742106914520264
371
+ 384,0.0070431106723845005,0.0075967684388160706,0.014227730222046375,0.011881985701620579,294,0.0075967684388160706
372
+ 385,0.00773434154689312,0.008180947043001652,0.013996463268995285,0.01366329938173294,294,0.008180947043001652
373
+ 386,0.007400139234960079,0.008136327378451824,0.014121358282864094,0.010439827106893063,294,0.008136327378451824
374
+ 387,0.007395224180072546,0.0082089276984334,0.01545974425971508,0.013555078767240047,294,0.0082089276984334
375
+ 388,0.007272126618772745,0.008101391606032848,0.01385919563472271,0.011896386742591858,294,0.008101391606032848
376
+ 389,0.0076992204412817955,0.00831974670290947,0.014900767244398594,0.013755708001554012,294,0.00831974670290947
377
+ 390,0.007218028884381056,0.007862282916903496,0.01253231056034565,0.009619138203561306,294,0.007862282916903496
378
+ 391,0.00749005563557148,0.008135530166327953,0.01412336528301239,0.01162420678883791,294,0.008135530166327953
379
+ 392,0.007231048308312893,0.00792626105248928,0.015548452734947205,0.013337193056941032,294,0.00792626105248928
380
+ 393,0.009425301104784012,0.011422020383179188,0.0218912735581398,0.02249886468052864,294,0.011422020383179188
381
+ 394,0.007101351860910654,0.007509616669267416,0.011477136053144932,0.007291790097951889,294,0.007509616669267416
382
+ 395,0.007076209876686335,0.00831563863903284,0.01604386419057846,0.012795882299542427,294,0.00831563863903284
383
+ 396,0.007644401863217354,0.008088997565209866,0.013183225877583027,0.012153860181570053,294,0.008088997565209866
384
+ 397,0.0077485861256718636,0.00881284475326538,0.017802752554416656,0.01598490960896015,294,0.00881284475326538
385
+ 398,0.007080707233399153,0.007656899746507406,0.012770497240126133,0.00905750785022974,294,0.007656899746507406
386
+ 399,0.007496804930269718,0.007900984957814217,0.013910152949392796,0.012491260655224323,294,0.007900984957814217
387
+ 400,0.007444807328283787,0.008278045803308487,0.015034133568406105,0.013138080947101116,294,0.008278045803308487
388
+ 401,0.007230771239846945,0.007799251936376095,0.013370122760534286,0.0123599823564291,294,0.007799251936376095
389
+ 402,0.007475253194570541,0.00817553699016571,0.012307682074606419,0.009944474324584007,294,0.00817553699016571
390
+ 404,0.007699401117861271,0.008198204450309277,0.01261809654533863,0.010036828927695751,294,0.008198204450309277
391
+ 405,0.007472131866961718,0.008043194189667702,0.013694535940885544,0.009913588874042034,294,0.008043194189667702
392
+ 406,0.007769025396555662,0.008319420740008354,0.014002948068082333,0.013691239058971405,294,0.008319420740008354
393
+ 407,0.007262938190251589,0.007857424207031727,0.013536791317164898,0.011102769523859024,294,0.007857424207031727
394
+ 408,0.00786587130278349,0.007992546074092388,0.012513108551502228,0.009085554629564285,294,0.007992546074092388
395
+ 409,0.007902598939836025,0.008350146934390068,0.01433112844824791,0.012369425967335701,294,0.008350146934390068
396
+ 410,0.007125034928321838,0.0076732151210308075,0.011492815800011158,0.00888864416629076,294,0.0076732151210308075
397
+ 411,0.007037422154098749,0.007574374787509441,0.014024459756910801,0.01110014133155346,294,0.007574374787509441
398
+ 412,0.007702984847128391,0.008383301086723804,0.013787735253572464,0.012794731184840202,294,0.008383301086723804
399
+ 413,0.007712202612310648,0.008016901090741158,0.013608116656541824,0.012149018235504627,294,0.008016901090741158
400
+ 414,0.007312418892979622,0.007743316702544689,0.012348847463726997,0.00745388213545084,294,0.007743316702544689
401
+ 415,0.007273777388036251,0.007995261810719967,0.014684012159705162,0.011021439917385578,294,0.007995261810719967
402
+ 416,0.0076492540538311005,0.00803448911756277,0.012401103042066097,0.010664528235793114,294,0.00803448911756277
403
+ 417,0.007571246474981308,0.008178582414984703,0.015773294493556023,0.014737225137650967,294,0.008178582414984703
404
+ 418,0.006899483501911163,0.00744160870090127,0.011986084282398224,0.007715674117207527,294,0.00744160870090127
405
+ 419,0.00682754535228014,0.00818188488483429,0.018241163343191147,0.015365349128842354,294,0.00818188488483429
406
+ 420,0.007879259064793587,0.008568434976041317,0.012398508377373219,0.010346590541303158,294,0.008568434976041317
407
+ 421,0.007390548940747976,0.00806360226124525,0.013453509658575058,0.01203251164406538,294,0.00806360226124525
408
+ 422,0.007650733459740877,0.007922835648059845,0.013253687880933285,0.01204928569495678,294,0.007922835648059845
409
+ 423,0.007376266177743673,0.007947688922286034,0.013484830036759377,0.010871067643165588,294,0.007947688922286034
410
+ 424,0.007118659093976021,0.007824497297406197,0.014612187631428242,0.012280094437301159,294,0.007824497297406197
411
+ 425,0.007655200082808733,0.008425785228610039,0.01375533826649189,0.00998674426227808,294,0.008425785228610039
412
+ 426,0.007549662608653307,0.007960280403494835,0.012143641710281372,0.010153012350201607,294,0.007960280403494835
413
+ 427,0.0073943487368524075,0.007666214369237423,0.012957306578755379,0.008923578076064587,294,0.007666214369237423
414
+ 428,0.0071558598428964615,0.007987134158611298,0.014374700374901295,0.013924525119364262,294,0.007987134158611298
415
+ 429,0.007309428416192532,0.007775203324854374,0.013605351559817791,0.01095580030232668,294,0.007775203324854374
416
+ 430,0.00727149099111557,0.008446065708994865,0.015557697042822838,0.013179526664316654,294,0.008446065708994865
417
+ 431,0.007786999922245741,0.008838368579745293,0.015580309554934502,0.014665809459984303,294,0.008838368579745293
418
+ 432,0.007236088626086712,0.007591091096401215,0.011581615544855595,0.008463147096335888,294,0.007591091096401215
419
+ 433,0.007697495631873608,0.0083067137748003,0.01533681619912386,0.015637626871466637,294,0.0083067137748003
420
+ 434,0.0071479580365121365,0.007829158566892147,0.012759018689393997,0.008151696063578129,294,0.007829158566892147
421
+ 435,0.007565016392618418,0.007939299568533897,0.013050880283117294,0.009623593650758266,294,0.007939299568533897
422
+ 436,0.0071711111813783646,0.00805144477635622,0.01275450550019741,0.010216242633759975,294,0.00805144477635622
423
+ 437,0.007298523560166359,0.007987892255187035,0.012540214695036411,0.009382858872413635,294,0.007987892255187035
424
+ 438,0.0071503822691738605,0.007572430185973644,0.013236917555332184,0.008550568483769894,294,0.007572430185973644
425
+ 439,0.007980847731232643,0.00901029072701931,0.01660636067390442,0.014909075573086739,294,0.00901029072701931
426
+ 440,0.007184418383985758,0.007587072439491749,0.012940228916704655,0.01089168805629015,294,0.007587072439491749
427
+ 441,0.007081414107233286,0.007915981113910675,0.014132890850305557,0.011658886447548866,294,0.007915981113910675
428
+ 442,0.007102133706212044,0.007703185081481934,0.01208854466676712,0.0100935660302639,294,0.007703185081481934
429
+ 443,0.007804526947438717,0.008270412683486938,0.013139045797288418,0.010953045450150967,294,0.008270412683486938
430
+ 444,0.00737333670258522,0.008083537220954895,0.01564384251832962,0.015287410467863083,294,0.008083537220954895
431
+ 445,0.007997135631740093,0.008330484852194786,0.013188302516937256,0.010704806074500084,294,0.008330484852194786
432
+ 446,0.00750857125967741,0.007942101918160915,0.012085207737982273,0.008453884162008762,294,0.007942101918160915
433
+ 447,0.007446127012372017,0.008465512655675411,0.014474784024059772,0.010694443248212337,294,0.008465512655675411
434
+ 448,0.007724020164459944,0.00817139446735382,0.012912324629724026,0.011369832791388035,294,0.00817139446735382
435
+ 449,0.007645389065146446,0.008026410825550556,0.013280708342790604,0.012299951165914536,294,0.008026410825550556
436
+ 450,0.006899483501911163,0.0076362816616892815,0.012534410692751408,0.008502310141921043,294,0.0076362816616892815
437
+ 451,0.007793181110173464,0.008280264213681221,0.014549368992447853,0.013513562269508839,294,0.008280264213681221
438
+ 452,0.0073393480852246284,0.007944341748952866,0.01208994910120964,0.008864404633641243,294,0.007944341748952866
439
+ 453,0.007589442189782858,0.008012326434254646,0.014201462268829346,0.01310445461422205,294,0.008012326434254646
440
+ 454,0.007128113880753517,0.0077434503473341465,0.012693768367171288,0.009952524676918983,294,0.0077434503473341465
441
+ 455,0.007760008797049522,0.008496462367475033,0.013617086224257946,0.012070865370333195,294,0.008496462367475033
442
+ 456,0.007271136622875929,0.007981629110872746,0.014121104963123798,0.011455683037638664,294,0.007981629110872746
443
+ 457,0.007144063711166382,0.008150497451424599,0.015075174160301685,0.012524792924523354,294,0.008150497451424599
444
+ 458,0.007101351860910654,0.007738327141851187,0.012199417687952518,0.008879433386027813,294,0.007738327141851187
445
+ 459,0.007330988999456167,0.007812641561031342,0.01280894037336111,0.008295527659356594,294,0.007812641561031342
446
+ 460,0.007636684458702803,0.008033712394535542,0.013450081460177898,0.0123560456559062,294,0.008033712394535542
447
+ 461,0.007309428416192532,0.00790162943303585,0.013201456516981125,0.01031047198921442,294,0.00790162943303585
448
+ 462,0.007331838831305504,0.007775706239044666,0.012740827165544033,0.00832284428179264,294,0.007775706239044666
449
+ 463,0.007780776359140873,0.008510015904903412,0.013711480423808098,0.01321482378989458,294,0.008510015904903412
450
+ 464,0.0074548544362187386,0.007825134322047234,0.012588362209498882,0.009669916704297066,294,0.007825134322047234
451
+ 465,0.007801860570907593,0.008259913884103298,0.013040493242442608,0.011953516863286495,294,0.008259913884103298
452
+ 466,0.0074088918045163155,0.00839381106197834,0.014335648156702518,0.010947171598672867,294,0.00839381106197834
453
+ 467,0.007119764108210802,0.007596108131110668,0.014502773992717266,0.010632116347551346,294,0.007596108131110668
454
+ 468,0.007531195878982544,0.008100665174424648,0.014124887995421886,0.01287821400910616,294,0.008100665174424648
455
+ 469,0.007472131866961718,0.00857885368168354,0.015087157487869263,0.01175135001540184,294,0.00857885368168354
456
+ 470,0.007464357186108828,0.008696814998984337,0.015712426975369453,0.015378459356725216,294,0.008696814998984337
457
+ 471,0.007262938190251589,0.007907281629741192,0.014347368851304054,0.012390178628265858,294,0.007907281629741192
458
+ 472,0.007184418383985758,0.007778264582157135,0.013872695155441761,0.011937398463487625,294,0.007778264582157135
459
+ 474,0.007102133706212044,0.007421457674354315,0.011397742666304111,0.009040343575179577,294,0.007421457674354315
460
+ 475,0.007016252260655165,0.007624720688909292,0.013424266129732132,0.010295337997376919,294,0.007624720688909292
461
+ 476,0.00737333670258522,0.008009073324501514,0.015330318361520767,0.014896468259394169,294,0.008009073324501514
462
+ 477,0.00748892966657877,0.008410394191741943,0.016651228070259094,0.015094089321792126,294,0.008410394191741943
463
+ 478,0.00737770413979888,0.007804458029568195,0.011832877062261105,0.008266723714768887,294,0.007804458029568195
464
+ 479,0.007273777388036251,0.007896171882748604,0.014622149989008904,0.010817987844347954,294,0.007896171882748604
465
+ 480,0.007484015077352524,0.00854722410440445,0.01602604053914547,0.015371034853160381,294,0.00854722410440445
466
+ 481,0.007230771239846945,0.007901112549006939,0.013859962113201618,0.012795411981642246,294,0.007901112549006939
467
+ 482,0.007160878274589777,0.007496069185435772,0.012699974700808525,0.009226192720234394,294,0.007496069185435772
468
+ 483,0.007089621853083372,0.007885096594691277,0.016326013952493668,0.01382640190422535,294,0.007885096594691277
469
+ 484,0.007400262635201216,0.008094165474176407,0.012723547406494617,0.010395031422376633,294,0.008094165474176407
470
+ 485,0.007816575467586517,0.008659380488097668,0.015032865107059479,0.013787779957056046,294,0.008659380488097668
471
+ 486,0.007481161970645189,0.00783839263021946,0.012638603337109089,0.010870939120650291,294,0.00783839263021946
472
+ 487,0.007353917695581913,0.007857639342546463,0.013879713602364063,0.011202828027307987,294,0.007857639342546463
473
+ 488,0.007118659093976021,0.007938367314636707,0.013945461250841618,0.011667556129395962,294,0.007938367314636707
474
+ 489,0.007395248860120773,0.008399097248911858,0.014474775642156601,0.0121036721393466,294,0.008399097248911858
475
+ 490,0.007109455298632383,0.007800040300935507,0.012220405042171478,0.008792612701654434,294,0.007800040300935507
476
+ 491,0.007355944253504276,0.0077830045484006405,0.01433092076331377,0.01068184245377779,294,0.0077830045484006405
477
+ 492,0.0071558598428964615,0.008234726265072823,0.014252614229917526,0.01387713197618723,294,0.008234726265072823
478
+ 493,0.007497970946133137,0.00791245885193348,0.012268000282347202,0.010353127494454384,294,0.00791245885193348
479
+ 494,0.007230805698782206,0.007704318501055241,0.012404197826981544,0.007344627287238836,294,0.007704318501055241
480
+ 495,0.007786999922245741,0.008928677998483181,0.01602104678750038,0.01508133765310049,294,0.008928677998483181
481
+ 496,0.0074914866127073765,0.007804798893630505,0.012896746397018433,0.011580427177250385,294,0.007804798893630505
482
+ 497,0.00791964028030634,0.00859123282134533,0.015068662352859974,0.015206110663712025,294,0.00859123282134533
483
+ 498,0.0070487139746546745,0.0076881349086761475,0.01165072526782751,0.007738900370895863,294,0.0076881349086761475
484
+ 499,0.007284111808985472,0.007765087299048901,0.016179997473955154,0.013646643608808517,294,0.007765087299048901
485
+ 500,0.0071711111813783646,0.00804508663713932,0.012900378555059433,0.010624343529343605,294,0.00804508663713932
splits/compute_chamfer_splits.py ADDED
@@ -0,0 +1,753 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Compute STL-based Chamfer geometry splits for DrivAerML.
3
+
4
+ This is intentionally standalone so it can be copied to the machine that has
5
+ the STL files. It expects a DrivAerML-style directory layout:
6
+
7
+ DATA_ROOT/
8
+ run_1/drivaer_1.stl
9
+ run_2/drivaer_2.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 /data/drivaerml \
27
+ --output-dir /data/drivaerml_chamfer \
28
+ --samples 4096 \
29
+ --workers 16 \
30
+ --base-manifest /path/to/drivaerml/splits/manifest.json
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 = 500
52
+ HIDDEN_TEST_IDS = {
53
+ 167,
54
+ 211,
55
+ 218,
56
+ 221,
57
+ 248,
58
+ 282,
59
+ 291,
60
+ 295,
61
+ 316,
62
+ 325,
63
+ 329,
64
+ 364,
65
+ 370,
66
+ 376,
67
+ 403,
68
+ 473,
69
+ }
70
+ PUBLIC_RUN_IDS = [i for i in range(1, N_CASES + 1) if i not in HIDDEN_TEST_IDS]
71
+ DEFAULT_TEST_FRACTION = 0.2
72
+ DEFAULT_VAL_FRACTION = 0.1
73
+ DEFAULT_SEED = 42
74
+ cKDTree = None
75
+ trimesh = None
76
+
77
+
78
+ @dataclass(frozen=True)
79
+ class RunFile:
80
+ run_id: int
81
+ stl_path: Path
82
+
83
+
84
+ def case_id(run_id: int) -> str:
85
+ return f"run_{run_id}"
86
+
87
+
88
+ def run_id(case: str) -> int:
89
+ if not case.startswith("run_"):
90
+ raise ValueError(f"bad case id: {case!r}")
91
+ return int(case.split("_", 1)[1])
92
+
93
+
94
+ def require_dependencies() -> None:
95
+ global cKDTree, trimesh
96
+ try:
97
+ from scipy.spatial import cKDTree as scipy_ckdtree
98
+ except Exception as exc: # pragma: no cover - dependency guard
99
+ raise SystemExit(
100
+ "Missing dependency scipy. Install with: python -m pip install numpy scipy trimesh"
101
+ ) from exc
102
+ try:
103
+ import trimesh as trimesh_module
104
+ except Exception as exc: # pragma: no cover - dependency guard
105
+ raise SystemExit(
106
+ "Missing dependency trimesh. Install with: python -m pip install numpy scipy trimesh"
107
+ ) from exc
108
+ cKDTree = scipy_ckdtree
109
+ trimesh = trimesh_module
110
+
111
+
112
+ def parse_args() -> argparse.Namespace:
113
+ parser = argparse.ArgumentParser(
114
+ description="Compute STL-surface Chamfer distances and DrivAerML geometry splits.",
115
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
116
+ )
117
+ parser.add_argument(
118
+ "--data-root",
119
+ type=Path,
120
+ required=True,
121
+ help="Directory containing run_N/drivaer_N.stl files.",
122
+ )
123
+ parser.add_argument(
124
+ "--output-dir",
125
+ type=Path,
126
+ required=True,
127
+ help="Directory where matrices, metrics, and manifests will be written.",
128
+ )
129
+ parser.add_argument(
130
+ "--samples",
131
+ type=int,
132
+ default=4096,
133
+ help="Surface sample count per STL. 4096 is a practical first pass; 10000+ is better for final splits.",
134
+ )
135
+ parser.add_argument(
136
+ "--workers",
137
+ type=int,
138
+ default=8,
139
+ help="Thread workers used for pairwise nearest-neighbor queries.",
140
+ )
141
+ parser.add_argument(
142
+ "--sample-workers",
143
+ type=int,
144
+ default=1,
145
+ help="Thread workers used while loading and sampling STLs. Keep this low for large DrivAerML files.",
146
+ )
147
+ parser.add_argument(
148
+ "--seed",
149
+ type=int,
150
+ default=DEFAULT_SEED,
151
+ help="Base random seed for deterministic surface sampling and split selection.",
152
+ )
153
+ parser.add_argument(
154
+ "--k-neighbors",
155
+ type=int,
156
+ default=10,
157
+ help="K used for the local-isolation geometry score.",
158
+ )
159
+ parser.add_argument(
160
+ "--test-fraction",
161
+ type=float,
162
+ default=DEFAULT_TEST_FRACTION,
163
+ help="Fraction held out as OOD test for geometry.",
164
+ )
165
+ parser.add_argument(
166
+ "--val-fraction",
167
+ type=float,
168
+ default=DEFAULT_VAL_FRACTION,
169
+ help="Overall validation fraction. Validation is sampled from the train-side pool.",
170
+ )
171
+ parser.add_argument(
172
+ "--score",
173
+ choices=["knn", "medoid", "mean"],
174
+ default="knn",
175
+ help="Score used to rank OOD geometry cases.",
176
+ )
177
+ parser.add_argument(
178
+ "--center",
179
+ choices=["none", "bbox", "centroid"],
180
+ default="none",
181
+ help="How to remove translation before Chamfer. Use none when STLs share a common coordinate frame.",
182
+ )
183
+ parser.add_argument(
184
+ "--scale-mode",
185
+ choices=["global_median_bbox", "per_mesh_bbox", "none"],
186
+ default="global_median_bbox",
187
+ help="How to scale coordinates before Chamfer. global_median_bbox keeps real relative vehicle size.",
188
+ )
189
+ parser.add_argument(
190
+ "--runs",
191
+ type=str,
192
+ default="public",
193
+ help=(
194
+ "Run IDs to process: public, all, or a comma/range expression like "
195
+ "1,2,10-20. Hidden public-unavailable runs are excluded only with 'public'."
196
+ ),
197
+ )
198
+ parser.add_argument(
199
+ "--base-manifest",
200
+ type=Path,
201
+ default=None,
202
+ help=(
203
+ "Optional existing split manifest. If it contains full_train/full_val/full_test, "
204
+ "the script also writes geometry_medium/scarce/super_scarce splits."
205
+ ),
206
+ )
207
+ parser.add_argument(
208
+ "--force-resample",
209
+ action="store_true",
210
+ help="Ignore cached point clouds and resample all STLs.",
211
+ )
212
+ parser.add_argument(
213
+ "--force-matrix",
214
+ action="store_true",
215
+ help="Recompute the Chamfer matrix even if a compatible matrix already exists.",
216
+ )
217
+ parser.add_argument(
218
+ "--write-matrix",
219
+ action="store_true",
220
+ help="Write chamfer_distance_matrix.npy and its metadata JSON. Omitted by default to keep the split package lean.",
221
+ )
222
+ parser.add_argument(
223
+ "--allow-missing",
224
+ action="store_true",
225
+ help="Process the subset of requested runs whose STLs exist. Without this, missing STLs are an error.",
226
+ )
227
+ parser.add_argument(
228
+ "--write-csv-matrix",
229
+ action="store_true",
230
+ help="Also write chamfer_distance_matrix.csv from the in-memory matrix.",
231
+ )
232
+ return parser.parse_args()
233
+
234
+
235
+ def parse_run_expression(expr: str) -> list[int]:
236
+ expr = expr.strip().lower()
237
+ if expr == "public":
238
+ return PUBLIC_RUN_IDS.copy()
239
+ if expr == "all":
240
+ return list(range(1, N_CASES + 1))
241
+
242
+ result: set[int] = set()
243
+ for token in expr.split(","):
244
+ token = token.strip()
245
+ if not token:
246
+ continue
247
+ if "-" in token:
248
+ start_s, end_s = token.split("-", 1)
249
+ start, end = int(start_s), int(end_s)
250
+ if start > end:
251
+ start, end = end, start
252
+ result.update(range(start, end + 1))
253
+ else:
254
+ result.add(int(token))
255
+ runs = sorted(result)
256
+ bad = [rid for rid in runs if rid < 1 or rid > N_CASES]
257
+ if bad:
258
+ raise SystemExit(f"Run IDs must be in 1..{N_CASES}; bad values: {bad}")
259
+ return runs
260
+
261
+
262
+ def discover_files(data_root: Path, requested_runs: Iterable[int], allow_missing: bool) -> list[RunFile]:
263
+ files: list[RunFile] = []
264
+ missing: list[int] = []
265
+ for rid in requested_runs:
266
+ path = data_root / f"run_{rid}" / f"drivaer_{rid}.stl"
267
+ if path.exists() and path.stat().st_size > 0:
268
+ files.append(RunFile(rid, path))
269
+ else:
270
+ missing.append(rid)
271
+
272
+ if missing and not allow_missing:
273
+ preview = ", ".join(str(x) for x in missing[:20])
274
+ suffix = " ..." if len(missing) > 20 else ""
275
+ raise SystemExit(
276
+ f"Missing {len(missing)} requested STL files under {data_root}: {preview}{suffix}\n"
277
+ "Use --allow-missing to compute with the available subset."
278
+ )
279
+ if not files:
280
+ raise SystemExit(f"No STL files found under {data_root}")
281
+ return files
282
+
283
+
284
+ def load_mesh(path: Path) -> "trimesh.Trimesh":
285
+ mesh = trimesh.load_mesh(path, process=False)
286
+ if isinstance(mesh, trimesh.Scene):
287
+ geometries = [g for g in mesh.geometry.values() if len(g.faces) > 0]
288
+ if not geometries:
289
+ raise ValueError(f"{path} did not contain any mesh geometry")
290
+ mesh = trimesh.util.concatenate(geometries)
291
+ if not isinstance(mesh, trimesh.Trimesh):
292
+ raise ValueError(f"{path} loaded as unsupported object: {type(mesh)!r}")
293
+ if len(mesh.faces) == 0:
294
+ raise ValueError(f"{path} has no faces")
295
+ return mesh
296
+
297
+
298
+ def sample_mesh_surface(mesh: "trimesh.Trimesh", count: int, seed: int) -> np.ndarray:
299
+ """Area-sample points from a triangular mesh using a local RNG."""
300
+ rng = np.random.default_rng(seed)
301
+ areas = np.asarray(mesh.area_faces, dtype=np.float64)
302
+ total_area = float(np.sum(areas))
303
+ if not math.isfinite(total_area) or total_area <= 0.0:
304
+ raise ValueError("mesh surface area is zero or invalid")
305
+
306
+ face_indices = rng.choice(len(mesh.faces), size=count, replace=True, p=areas / total_area)
307
+ triangles = np.asarray(mesh.vertices[mesh.faces[face_indices]], dtype=np.float64)
308
+
309
+ u = rng.random(count)
310
+ v = rng.random(count)
311
+ outside = (u + v) > 1.0
312
+ u[outside] = 1.0 - u[outside]
313
+ v[outside] = 1.0 - v[outside]
314
+ points = triangles[:, 0] + u[:, None] * (triangles[:, 1] - triangles[:, 0]) + v[:, None] * (
315
+ triangles[:, 2] - triangles[:, 0]
316
+ )
317
+ return np.asarray(points, dtype=np.float32)
318
+
319
+
320
+ def cache_path(cache_dir: Path, run: RunFile, samples: int, seed: int) -> Path:
321
+ source = f"{run.stl_path.resolve()}:{run.stl_path.stat().st_size}:{samples}:{seed}:{run.run_id}"
322
+ digest = hashlib.sha256(source.encode("utf-8")).hexdigest()[:16]
323
+ return cache_dir / f"run_{run.run_id:03d}_samples_{samples}_{digest}.npz"
324
+
325
+
326
+ def sample_one(run: RunFile, cache_dir: Path, samples: int, seed: int, force: bool) -> tuple[int, np.ndarray, np.ndarray, np.ndarray]:
327
+ cache = cache_path(cache_dir, run, samples, seed)
328
+ if cache.exists() and not force:
329
+ data = np.load(cache)
330
+ points = np.asarray(data["points"], dtype=np.float32)
331
+ bbox_min = np.asarray(data["bbox_min"], dtype=np.float32)
332
+ bbox_max = np.asarray(data["bbox_max"], dtype=np.float32)
333
+ if points.shape == (samples, 3):
334
+ return run.run_id, points, bbox_min, bbox_max
335
+
336
+ mesh = load_mesh(run.stl_path)
337
+ points = sample_mesh_surface(mesh, samples, seed + run.run_id)
338
+ bbox_min = np.asarray(mesh.bounds[0], dtype=np.float32)
339
+ bbox_max = np.asarray(mesh.bounds[1], dtype=np.float32)
340
+ np.savez_compressed(
341
+ cache,
342
+ run_id=np.asarray(run.run_id, dtype=np.int32),
343
+ points=points,
344
+ bbox_min=bbox_min,
345
+ bbox_max=bbox_max,
346
+ source=str(run.stl_path),
347
+ samples=np.asarray(samples, dtype=np.int32),
348
+ seed=np.asarray(seed, dtype=np.int32),
349
+ )
350
+ return run.run_id, points, bbox_min, bbox_max
351
+
352
+
353
+ def sample_point_clouds(
354
+ runs: list[RunFile],
355
+ cache_dir: Path,
356
+ samples: int,
357
+ seed: int,
358
+ workers: int,
359
+ force: bool,
360
+ ) -> tuple[list[int], list[np.ndarray], np.ndarray, np.ndarray]:
361
+ cache_dir.mkdir(parents=True, exist_ok=True)
362
+ started = time.time()
363
+ print(f"Sampling/caching {len(runs)} STL point clouds with {samples} points each...")
364
+
365
+ outputs: list[tuple[int, np.ndarray, np.ndarray, np.ndarray]] = []
366
+ with ThreadPoolExecutor(max_workers=max(1, workers)) as pool:
367
+ futures = [pool.submit(sample_one, run, cache_dir, samples, seed, force) for run in runs]
368
+ for idx, future in enumerate(as_completed(futures), start=1):
369
+ outputs.append(future.result())
370
+ if idx == len(futures) or idx % 25 == 0:
371
+ print(f" sampled {idx}/{len(futures)}")
372
+
373
+ outputs.sort(key=lambda x: x[0])
374
+ run_ids = [x[0] for x in outputs]
375
+ clouds = [x[1] for x in outputs]
376
+ bbox_min = np.stack([x[2] for x in outputs])
377
+ bbox_max = np.stack([x[3] for x in outputs])
378
+ print(f"Sampling complete in {time.time() - started:.1f}s")
379
+ return run_ids, clouds, bbox_min, bbox_max
380
+
381
+
382
+ def normalize_clouds(
383
+ clouds: list[np.ndarray],
384
+ bbox_min: np.ndarray,
385
+ bbox_max: np.ndarray,
386
+ center: str,
387
+ scale_mode: str,
388
+ ) -> tuple[list[np.ndarray], dict[str, float | str]]:
389
+ result: list[np.ndarray] = []
390
+ bbox_diag = np.linalg.norm(bbox_max - bbox_min, axis=1)
391
+ global_scale = float(np.median(bbox_diag))
392
+ if not math.isfinite(global_scale) or global_scale <= 0:
393
+ global_scale = 1.0
394
+
395
+ for idx, points in enumerate(clouds):
396
+ pts = points.astype(np.float32, copy=True)
397
+ if center == "bbox":
398
+ pts -= ((bbox_min[idx] + bbox_max[idx]) * 0.5).astype(np.float32)
399
+ elif center == "centroid":
400
+ pts -= pts.mean(axis=0, keepdims=True)
401
+
402
+ if scale_mode == "global_median_bbox":
403
+ scale = global_scale
404
+ elif scale_mode == "per_mesh_bbox":
405
+ scale = float(bbox_diag[idx]) if bbox_diag[idx] > 0 else 1.0
406
+ else:
407
+ scale = 1.0
408
+ pts /= np.float32(scale)
409
+ result.append(pts)
410
+
411
+ metadata: dict[str, float | str] = {
412
+ "center": center,
413
+ "scale_mode": scale_mode,
414
+ "global_median_bbox_diag": global_scale,
415
+ }
416
+ return result, metadata
417
+
418
+
419
+ def pair_chamfer_rms(i: int, j: int, clouds: list[np.ndarray], trees: list[cKDTree]) -> tuple[int, int, float]:
420
+ a_to_b, _ = trees[j].query(clouds[i], k=1)
421
+ b_to_a, _ = trees[i].query(clouds[j], k=1)
422
+ chamfer = float(np.sqrt(0.5 * (np.mean(a_to_b * a_to_b) + np.mean(b_to_a * b_to_a))))
423
+ return i, j, chamfer
424
+
425
+
426
+ def matrix_metadata_path(output_dir: Path) -> Path:
427
+ return output_dir / "chamfer_distance_matrix.meta.json"
428
+
429
+
430
+ def matrix_is_compatible(output_dir: Path, run_ids: list[int], args: argparse.Namespace) -> bool:
431
+ matrix_path = output_dir / "chamfer_distance_matrix.npy"
432
+ meta_path = matrix_metadata_path(output_dir)
433
+ if not matrix_path.exists() or not meta_path.exists():
434
+ return False
435
+ try:
436
+ meta = json.loads(meta_path.read_text(encoding="utf-8"))
437
+ except Exception:
438
+ return False
439
+ return (
440
+ meta.get("run_ids") == run_ids
441
+ and meta.get("samples") == args.samples
442
+ and meta.get("seed") == args.seed
443
+ and meta.get("center") == args.center
444
+ and meta.get("scale_mode") == args.scale_mode
445
+ and meta.get("metric") == "symmetric_chamfer_rms"
446
+ )
447
+
448
+
449
+ def compute_chamfer_matrix(
450
+ run_ids: list[int],
451
+ clouds: list[np.ndarray],
452
+ output_dir: Path,
453
+ args: argparse.Namespace,
454
+ normalization_metadata: dict[str, float | str],
455
+ ) -> np.ndarray:
456
+ matrix_path = output_dir / "chamfer_distance_matrix.npy"
457
+ if matrix_is_compatible(output_dir, run_ids, args) and not args.force_matrix:
458
+ print(f"Loading existing compatible matrix: {matrix_path}")
459
+ return np.load(matrix_path)
460
+
461
+ n = len(clouds)
462
+ print(f"Building {n} KD trees...")
463
+ trees = [cKDTree(points) for points in clouds]
464
+ matrix = np.zeros((n, n), dtype=np.float32)
465
+ pairs = [(i, j) for i in range(n) for j in range(i + 1, n)]
466
+ started = time.time()
467
+ print(f"Computing {len(pairs)} pairwise symmetric Chamfer RMS distances...")
468
+
469
+ with ThreadPoolExecutor(max_workers=max(1, args.workers)) as pool:
470
+ futures = [pool.submit(pair_chamfer_rms, i, j, clouds, trees) for i, j in pairs]
471
+ for done, future in enumerate(as_completed(futures), start=1):
472
+ i, j, value = future.result()
473
+ matrix[i, j] = matrix[j, i] = np.float32(value)
474
+ if done == len(futures) or done % 1000 == 0:
475
+ elapsed = time.time() - started
476
+ rate = done / elapsed if elapsed > 0 else 0.0
477
+ remaining = (len(futures) - done) / rate if rate > 0 else float("nan")
478
+ print(
479
+ f" pairs {done}/{len(futures)} "
480
+ f"({100 * done / len(futures):5.1f}%), ETA {remaining / 60:5.1f} min"
481
+ )
482
+
483
+ if args.write_matrix:
484
+ np.save(matrix_path, matrix)
485
+ metadata = {
486
+ "run_ids": run_ids,
487
+ "samples": args.samples,
488
+ "seed": args.seed,
489
+ "center": args.center,
490
+ "scale_mode": args.scale_mode,
491
+ "metric": "symmetric_chamfer_rms",
492
+ "created_unix_time": time.time(),
493
+ **normalization_metadata,
494
+ }
495
+ matrix_metadata_path(output_dir).write_text(json.dumps(metadata, indent=2) + "\n", encoding="utf-8")
496
+ print(f"Matrix written: {matrix_path}")
497
+ return matrix
498
+
499
+
500
+ def write_csv_matrix(path: Path, run_ids: list[int], matrix: np.ndarray) -> None:
501
+ with path.open("w", encoding="utf-8", newline="") as f:
502
+ writer = csv.writer(f)
503
+ writer.writerow(["run", *[case_id(rid) for rid in run_ids]])
504
+ for rid, row in zip(run_ids, matrix):
505
+ writer.writerow([case_id(rid), *[f"{float(x):.8g}" for x in row]])
506
+
507
+
508
+ def metric_values(run_ids: list[int], matrix: np.ndarray, k_neighbors: int) -> tuple[list[dict[str, float | int]], dict[int, float]]:
509
+ n = len(run_ids)
510
+ if n < 2:
511
+ raise SystemExit("At least two STL files are required to compute Chamfer metrics")
512
+ k = min(max(1, k_neighbors), n - 1)
513
+ means = matrix.sum(axis=1) / (n - 1)
514
+ medoid_index = int(np.argmin(means))
515
+ medoid_run = run_ids[medoid_index]
516
+ rows: list[dict[str, float | int]] = []
517
+ knn_scores: dict[int, float] = {}
518
+
519
+ for idx, rid in enumerate(run_ids):
520
+ nonself = np.delete(matrix[idx], idx)
521
+ sorted_dist = np.sort(nonself)
522
+ nearest = float(sorted_dist[0])
523
+ knn_mean = float(np.mean(sorted_dist[:k]))
524
+ mean_all = float(means[idx])
525
+ medoid_distance = float(matrix[idx, medoid_index])
526
+ knn_scores[rid] = knn_mean
527
+ rows.append(
528
+ {
529
+ "run": rid,
530
+ "nearest_neighbor_chamfer": nearest,
531
+ f"mean_{k}_nn_chamfer": knn_mean,
532
+ "mean_all_chamfer": mean_all,
533
+ "medoid_chamfer": medoid_distance,
534
+ "medoid_run": medoid_run,
535
+ }
536
+ )
537
+ return rows, knn_scores
538
+
539
+
540
+ def score_map(
541
+ run_ids: list[int],
542
+ matrix: np.ndarray,
543
+ metrics: list[dict[str, float | int]],
544
+ score_name: str,
545
+ k_neighbors: int,
546
+ ) -> dict[int, float]:
547
+ if score_name == "knn":
548
+ key = f"mean_{min(max(1, k_neighbors), len(run_ids) - 1)}_nn_chamfer"
549
+ elif score_name == "medoid":
550
+ key = "medoid_chamfer"
551
+ else:
552
+ key = "mean_all_chamfer"
553
+ return {int(row["run"]): float(row[key]) for row in metrics}
554
+
555
+
556
+ def split_pool(pool: list[int], val_fraction_of_pool: float, seed: int, salt: str) -> tuple[list[int], list[int]]:
557
+ rng_seed = hashlib.sha256(f"{seed}:{salt}".encode("utf-8")).digest()[:8]
558
+ rng = random.Random(int.from_bytes(rng_seed, "big"))
559
+ shuffled = pool.copy()
560
+ rng.shuffle(shuffled)
561
+ n_val = round(len(pool) * val_fraction_of_pool)
562
+ val = sorted(shuffled[:n_val])
563
+ train = sorted(shuffled[n_val:])
564
+ return train, val
565
+
566
+
567
+ def ranked_ood_split(
568
+ scores: dict[int, float],
569
+ test_fraction: float,
570
+ val_fraction: float,
571
+ seed: int,
572
+ salt: str,
573
+ ) -> tuple[list[int], list[int], list[int]]:
574
+ ranked = sorted(scores, key=lambda rid: (scores[rid], rid))
575
+ n_test = round(len(ranked) * test_fraction)
576
+ test = sorted(ranked[-n_test:])
577
+ pool = sorted(ranked[:-n_test])
578
+ val_fraction_of_pool = val_fraction / (1.0 - test_fraction)
579
+ train, val = split_pool(pool, val_fraction_of_pool, seed, salt)
580
+ return train, val, test
581
+
582
+
583
+ def make_case_ids(values: Iterable[int]) -> list[str]:
584
+ return [case_id(rid) for rid in sorted(values)]
585
+
586
+
587
+ def farthest_order(pool: list[int], run_to_index: dict[int, int], matrix: np.ndarray, seed: int) -> list[int]:
588
+ if not pool:
589
+ return []
590
+
591
+ mean_dist = {
592
+ rid: float(np.mean([matrix[run_to_index[rid], run_to_index[other]] for other in pool if other != rid]))
593
+ for rid in pool
594
+ }
595
+ first = max(pool, key=lambda rid: (mean_dist[rid], -rid))
596
+ selected = [first]
597
+ remaining = [rid for rid in pool if rid != first]
598
+
599
+ rng_seed = hashlib.sha256(f"{seed}:geometry_sparse_order".encode("utf-8")).digest()[:8]
600
+ rng = random.Random(int.from_bytes(rng_seed, "big"))
601
+ tie_break = {rid: rng.random() for rid in pool}
602
+
603
+ while remaining:
604
+ next_rid = max(
605
+ remaining,
606
+ key=lambda rid: (
607
+ min(matrix[run_to_index[rid], run_to_index[chosen]] for chosen in selected),
608
+ tie_break[rid],
609
+ ),
610
+ )
611
+ selected.append(next_rid)
612
+ remaining.remove(next_rid)
613
+ return selected
614
+
615
+
616
+ def load_base_manifest(path: Path | None) -> dict[str, list[str]]:
617
+ if path is None:
618
+ candidate = Path(__file__).resolve().parents[1] / "splits" / "manifest.json"
619
+ if not candidate.exists():
620
+ return {}
621
+ path = candidate
622
+ if not path.exists():
623
+ raise SystemExit(f"Base manifest does not exist: {path}")
624
+ return json.loads(path.read_text(encoding="utf-8"))
625
+
626
+
627
+ def write_metrics_csv(path: Path, metrics: list[dict[str, float | int]], scores: dict[int, float]) -> None:
628
+ fieldnames = list(metrics[0].keys()) + ["ood_score"]
629
+ with path.open("w", encoding="utf-8", newline="") as f:
630
+ writer = csv.DictWriter(f, fieldnames=fieldnames)
631
+ writer.writeheader()
632
+ for row in metrics:
633
+ out = dict(row)
634
+ out["ood_score"] = scores[int(row["run"])]
635
+ writer.writerow(out)
636
+
637
+
638
+ def build_manifest(
639
+ run_ids: list[int],
640
+ matrix: np.ndarray,
641
+ scores: dict[int, float],
642
+ args: argparse.Namespace,
643
+ ) -> dict[str, list[str]]:
644
+ train, val, test = ranked_ood_split(
645
+ scores,
646
+ test_fraction=args.test_fraction,
647
+ val_fraction=args.val_fraction,
648
+ seed=args.seed,
649
+ salt="geometry_val_selection",
650
+ )
651
+ manifest: dict[str, list[str]] = {
652
+ "geometry_train": make_case_ids(train),
653
+ "geometry_val": make_case_ids(val),
654
+ "geometry_test": make_case_ids(test),
655
+ }
656
+
657
+ base = load_base_manifest(args.base_manifest)
658
+ required = {"full_train", "full_val", "full_test"}
659
+ if not required <= set(base):
660
+ return manifest
661
+
662
+ available = set(run_ids)
663
+ full_train = [run_id(cid) for cid in base["full_train"] if run_id(cid) in available]
664
+ if len(full_train) < 20:
665
+ return manifest
666
+
667
+ run_to_index = {rid: idx for idx, rid in enumerate(run_ids)}
668
+ order = farthest_order(full_train, run_to_index, matrix, args.seed)
669
+ medium = round(len(order) / 3)
670
+ scarce = round(len(order) / 6)
671
+ super_scarce = max(1, round(len(order) / 36))
672
+ sparse_sets = {
673
+ "geometry_medium": sorted(order[:medium]),
674
+ "geometry_scarce": sorted(order[:scarce]),
675
+ "geometry_super_scarce": sorted(order[:super_scarce]),
676
+ }
677
+ for name, ids in sparse_sets.items():
678
+ manifest[f"{name}_train"] = make_case_ids(ids)
679
+ manifest[f"{name}_val"] = [cid for cid in base["full_val"] if run_id(cid) in available]
680
+ manifest[f"{name}_test"] = [cid for cid in base["full_test"] if run_id(cid) in available]
681
+ manifest["geometry_sparse_order"] = make_case_ids(order)
682
+ return manifest
683
+
684
+
685
+ def summarize_split(name: str, manifest: dict[str, list[str]]) -> str:
686
+ return (
687
+ f"{name}: "
688
+ f"train={len(manifest.get(name + '_train', []))}, "
689
+ f"val={len(manifest.get(name + '_val', []))}, "
690
+ f"test={len(manifest.get(name + '_test', []))}"
691
+ )
692
+
693
+
694
+ def main() -> None:
695
+ args = parse_args()
696
+ require_dependencies()
697
+ args.data_root = args.data_root.expanduser().resolve()
698
+ args.output_dir = args.output_dir.expanduser().resolve()
699
+ args.output_dir.mkdir(parents=True, exist_ok=True)
700
+
701
+ requested_runs = parse_run_expression(args.runs)
702
+ run_files = discover_files(args.data_root, requested_runs, args.allow_missing)
703
+ print(f"Found {len(run_files)} STL files under {args.data_root}")
704
+
705
+ run_ids, raw_clouds, bbox_min, bbox_max = sample_point_clouds(
706
+ run_files,
707
+ cache_dir=args.output_dir / "point_cloud_cache",
708
+ samples=args.samples,
709
+ seed=args.seed,
710
+ workers=args.sample_workers,
711
+ force=args.force_resample,
712
+ )
713
+ clouds, normalization_metadata = normalize_clouds(
714
+ raw_clouds,
715
+ bbox_min,
716
+ bbox_max,
717
+ center=args.center,
718
+ scale_mode=args.scale_mode,
719
+ )
720
+ matrix = compute_chamfer_matrix(run_ids, clouds, args.output_dir, args, normalization_metadata)
721
+ if args.write_csv_matrix:
722
+ write_csv_matrix(args.output_dir / "chamfer_distance_matrix.csv", run_ids, matrix)
723
+
724
+ metrics, _knn_scores = metric_values(run_ids, matrix, args.k_neighbors)
725
+ scores = score_map(run_ids, matrix, metrics, args.score, args.k_neighbors)
726
+ write_metrics_csv(args.output_dir / "chamfer_metrics.csv", metrics, scores)
727
+
728
+ manifest = build_manifest(run_ids, matrix, scores, args)
729
+ manifest_path = args.output_dir / "chamfer_manifest.json"
730
+ manifest_path.write_text(json.dumps(manifest, indent=2) + "\n", encoding="utf-8")
731
+
732
+ print()
733
+ print("Chamfer split summary")
734
+ print("=" * 60)
735
+ print(f"Runs: {len(run_ids)}")
736
+ print(f"Metric: symmetric Chamfer RMS; score={args.score}")
737
+ print(f"Metrics: {args.output_dir / 'chamfer_metrics.csv'}")
738
+ if args.write_matrix:
739
+ print(f"Matrix: {args.output_dir / 'chamfer_distance_matrix.npy'}")
740
+ else:
741
+ print("Matrix: not written; pass --write-matrix to save the full NPY")
742
+ print(f"Manifest: {manifest_path}")
743
+ print(" " + summarize_split("geometry", manifest))
744
+ for prefix in ["geometry_medium", "geometry_scarce", "geometry_super_scarce"]:
745
+ if f"{prefix}_train" in manifest:
746
+ print(" " + summarize_split(prefix, manifest))
747
+
748
+
749
+ if __name__ == "__main__":
750
+ try:
751
+ main()
752
+ except KeyboardInterrupt:
753
+ sys.exit("Interrupted")
splits/download_hf_inputs.py ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Download DrivAerML split-regeneration inputs from Hugging Face.
2
+
3
+ Default behavior downloads only the aggregate CSV files needed by
4
+ splits/generate_splits.py and the diagnostic plots:
5
+
6
+ python3 splits/download_hf_inputs.py --output-dir data
7
+
8
+ Optional flags pull the PNGs used by report figures, the PNGs used to recompute
9
+ the rear-separation image score, or the STL files used to recompute
10
+ chamfer_metrics.csv. STL downloads are intentionally opt-in because they are
11
+ large.
12
+ """
13
+
14
+ from __future__ import annotations
15
+
16
+ import argparse
17
+ from concurrent.futures import ThreadPoolExecutor, as_completed
18
+ import os
19
+ from pathlib import Path
20
+ import sys
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/drivaerml"
27
+ REVISION = "main"
28
+ HIDDEN_TEST_IDS = {
29
+ 167, 211, 218, 221, 248, 282, 291, 295,
30
+ 316, 325, 329, 364, 370, 376, 403, 473,
31
+ }
32
+ PUBLIC_RUN_IDS = [run for run in range(1, 501) if run not in HIDDEN_TEST_IDS]
33
+ AGGREGATE_FILES = [
34
+ "force_mom_all.csv",
35
+ "geo_parameters_all.csv",
36
+ ]
37
+ REPORT_IMAGE_FILES = [
38
+ "run_294/images/fig_run294_SRS_surf-ySide_grid.png",
39
+ "run_393/images/fig_run393_SRS_surf-ySide_grid.png",
40
+ "run_100/images/fig_run100_SRS_magUMeanNormTrim_yNormal-2_yNormal_p00000.png",
41
+ "run_406/images/fig_run406_SRS_magUMeanNormTrim_yNormal-2_yNormal_p00000.png",
42
+ ]
43
+ REAR_XNORMAL_POSITIONS = [
44
+ "p43000",
45
+ "p45000",
46
+ "p47000",
47
+ "p49000",
48
+ "p51000",
49
+ "p53000",
50
+ "p55000",
51
+ ]
52
+
53
+
54
+ def parse_args() -> argparse.Namespace:
55
+ parser = argparse.ArgumentParser(
56
+ description="Download source inputs for DrivAerML split regeneration.",
57
+ )
58
+ parser.add_argument(
59
+ "--repo-id",
60
+ default=REPO_ID,
61
+ help=f"Hugging Face dataset repo ID. Default: {REPO_ID}",
62
+ )
63
+ parser.add_argument(
64
+ "--revision",
65
+ default=REVISION,
66
+ help=f"Hub revision, branch, or tag. Default: {REVISION}",
67
+ )
68
+ parser.add_argument(
69
+ "--output-dir",
70
+ type=Path,
71
+ default=Path("data"),
72
+ help="Directory where files are written, preserving dataset-relative paths.",
73
+ )
74
+ parser.add_argument(
75
+ "--runs",
76
+ default="public",
77
+ help="Run IDs for optional per-run downloads: public, all, or a comma/range expression like 1,10-20.",
78
+ )
79
+ parser.add_argument(
80
+ "--include-report-images",
81
+ action="store_true",
82
+ help="Download the four PNGs needed to render the committed example figures from source images.",
83
+ )
84
+ parser.add_argument(
85
+ "--include-image-score-pngs",
86
+ action="store_true",
87
+ help="Download centreline and near-rear xNormal PNGs used to recompute image_metrics.csv.",
88
+ )
89
+ parser.add_argument(
90
+ "--include-stls",
91
+ action="store_true",
92
+ help="Download run_*/drivaer_*.stl files needed to recompute chamfer_metrics.csv. This is large.",
93
+ )
94
+ parser.add_argument(
95
+ "--workers",
96
+ type=int,
97
+ default=8,
98
+ help="Parallel downloads. Default: 8.",
99
+ )
100
+ parser.add_argument(
101
+ "--overwrite",
102
+ action="store_true",
103
+ help="Redownload files that already exist.",
104
+ )
105
+ parser.add_argument(
106
+ "--dry-run",
107
+ action="store_true",
108
+ help="Print the file list without downloading.",
109
+ )
110
+ return parser.parse_args()
111
+
112
+
113
+ def parse_run_expression(expr: str) -> list[int]:
114
+ expr = expr.strip().lower()
115
+ if expr == "public":
116
+ return PUBLIC_RUN_IDS.copy()
117
+ if expr == "all":
118
+ return list(range(1, 501))
119
+
120
+ runs: set[int] = set()
121
+ for part in expr.split(","):
122
+ part = part.strip()
123
+ if not part:
124
+ continue
125
+ if "-" in part:
126
+ start, end = [int(value) for value in part.split("-", 1)]
127
+ if start > end:
128
+ start, end = end, start
129
+ runs.update(range(start, end + 1))
130
+ else:
131
+ runs.add(int(part))
132
+ bad = sorted(run for run in runs if run < 1 or run > 500)
133
+ if bad:
134
+ raise SystemExit(f"Run IDs must be in 1..500, got: {bad[:10]}")
135
+ return sorted(runs)
136
+
137
+
138
+ def image_score_files(run_ids: list[int]) -> list[str]:
139
+ paths = []
140
+ for run in run_ids:
141
+ prefix = f"run_{run}/images/fig_run{run}_SRS"
142
+ paths.append(f"{prefix}_magUMeanNormTrim_yNormal-2_yNormal_p00000.png")
143
+ paths.extend(
144
+ f"{prefix}_magUMeanNormTrim_xNormal-2_xNormal_{position}.png"
145
+ for position in REAR_XNORMAL_POSITIONS
146
+ )
147
+ return paths
148
+
149
+
150
+ def stl_files(run_ids: list[int]) -> list[str]:
151
+ return [f"run_{run}/drivaer_{run}.stl" for run in run_ids]
152
+
153
+
154
+ def resolve_url(repo_id: str, revision: str, relpath: str) -> str:
155
+ escaped_path = quote(relpath, safe="/")
156
+ escaped_revision = quote(revision, safe="")
157
+ return f"https://huggingface.co/datasets/{repo_id}/resolve/{escaped_revision}/{escaped_path}"
158
+
159
+
160
+ def request_for(url: str) -> Request:
161
+ headers = {}
162
+ token = os.environ.get("HF_TOKEN")
163
+ if token:
164
+ headers["Authorization"] = f"Bearer {token}"
165
+ return Request(url, headers=headers)
166
+
167
+
168
+ def download_one(repo_id: str, revision: str, output_dir: Path, relpath: str, overwrite: bool) -> str:
169
+ target = output_dir / relpath
170
+ if target.exists() and target.stat().st_size > 0 and not overwrite:
171
+ return f"skip {relpath}"
172
+
173
+ target.parent.mkdir(parents=True, exist_ok=True)
174
+ tmp = target.with_suffix(target.suffix + ".tmp")
175
+ url = resolve_url(repo_id, revision, relpath)
176
+ try:
177
+ with urlopen(request_for(url), timeout=120) as response, tmp.open("wb") as f:
178
+ while True:
179
+ chunk = response.read(1024 * 1024)
180
+ if not chunk:
181
+ break
182
+ f.write(chunk)
183
+ tmp.replace(target)
184
+ except (HTTPError, URLError) as exc:
185
+ if tmp.exists():
186
+ tmp.unlink()
187
+ raise RuntimeError(f"failed {relpath}: {exc}") from exc
188
+ return f"ok {relpath}"
189
+
190
+
191
+ def main() -> None:
192
+ args = parse_args()
193
+ run_ids = parse_run_expression(args.runs)
194
+ paths: set[str] = set(AGGREGATE_FILES)
195
+
196
+ if args.include_report_images:
197
+ paths.update(REPORT_IMAGE_FILES)
198
+ if args.include_image_score_pngs:
199
+ paths.update(image_score_files(run_ids))
200
+ if args.include_stls:
201
+ paths.update(stl_files(run_ids))
202
+
203
+ selected = sorted(paths)
204
+ print(f"Repository: {args.repo_id}@{args.revision}")
205
+ print(f"Output dir: {args.output_dir}")
206
+ print(f"Files: {len(selected)}")
207
+ if args.include_stls:
208
+ print("STL download requested; this can require tens of GB for all public runs.")
209
+ if args.dry_run:
210
+ for relpath in selected:
211
+ print(relpath)
212
+ return
213
+
214
+ args.output_dir.mkdir(parents=True, exist_ok=True)
215
+ errors = []
216
+ with ThreadPoolExecutor(max_workers=max(1, args.workers)) as pool:
217
+ futures = {
218
+ pool.submit(download_one, args.repo_id, args.revision, args.output_dir, relpath, args.overwrite): relpath
219
+ for relpath in selected
220
+ }
221
+ for future in as_completed(futures):
222
+ try:
223
+ print(future.result())
224
+ except RuntimeError as exc:
225
+ errors.append(str(exc))
226
+ print(errors[-1], file=sys.stderr)
227
+
228
+ if errors:
229
+ raise SystemExit(f"{len(errors)} download(s) failed")
230
+
231
+
232
+ if __name__ == "__main__":
233
+ main()
splits/force_regimes.png ADDED

Git LFS Details

  • SHA256: 86fd4dd52e7d255119bfadcc316817372b472d9c867228eae8b1d5ab64f86fe7
  • Pointer size: 131 Bytes
  • Size of remote file: 420 kB
splits/generate_splits.py ADDED
@@ -0,0 +1,1056 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Generate deterministic train/val/test splits for the DrivAerML dataset.
2
+
3
+ Produces a manifest.json containing DrivAerML split types with train/val/test
4
+ keys:
5
+
6
+ {
7
+ "full_train": ["run_1", ...],
8
+ "full_val": [...],
9
+ "full_test": [...],
10
+ ...
11
+ }
12
+
13
+ Split families:
14
+
15
+ 1. full - seed-42 random public split, 400/34/50
16
+ 2. medium - same val/test as full, train is 1/3 subsample
17
+ 3. scarce - same val/test as full, train is 1/6 subsample
18
+ 4. super_scarce - same val/test as full, train is 1/36 subsample
19
+ 5. geometry - OOD STL-surface Chamfer geometry split
20
+ 6. high_drag - OOD high-drag split from force_mom_all.csv
21
+ 7. low_drag - OOD low-drag split from force_mom_all.csv
22
+ 8. rear_separation - OOD image-derived rear-surface separation split
23
+
24
+ For every OOD split, the validation set is drawn from the training-side
25
+ population so that hyperparameter tuning never sees out-of-distribution data.
26
+
27
+ Usage:
28
+ python3 splits/generate_splits.py
29
+
30
+ The script reads force_mom_all.csv and geo_parameters_all.csv from the dataset
31
+ root or data/ folder, and the committed splits/chamfer_metrics.csv when
32
+ available. Outside that context it falls back to deterministic force/geometry
33
+ proxies and omits the Chamfer split if the Chamfer metrics are missing, but the
34
+ official manifest should be regenerated with all real source files present.
35
+ """
36
+
37
+ from __future__ import annotations
38
+
39
+ import csv
40
+ import hashlib
41
+ import json
42
+ import math
43
+ import os
44
+ import random
45
+ from pathlib import Path
46
+
47
+ import numpy as np
48
+
49
+ ### ---- Dataset constants -------------------------------------------------
50
+
51
+ SCRIPT_DIR = Path(__file__).resolve().parent
52
+ PACKAGE_ROOT = SCRIPT_DIR
53
+ DATA_DIR = PACKAGE_ROOT
54
+ SPLITS_DIR = PACKAGE_ROOT
55
+ DATA_ROOT = Path(os.environ.get("DRIVAERML_DATA_ROOT", DATA_DIR))
56
+ N_CASES = 500
57
+ HIDDEN_TEST_IDS = [167, 211, 218, 221, 248, 282, 291, 295, 316, 325, 329, 364, 370, 376, 403, 473]
58
+ PUBLIC_RUN_IDS = [i for i in range(1, N_CASES + 1) if i not in set(HIDDEN_TEST_IDS)]
59
+ N_PUBLIC = len(PUBLIC_RUN_IDS)
60
+
61
+ # Seed-42 torch randperm over 1..500, after removing the 16 hidden runs. For
62
+ # reference, these IDs match the public DrivAerMLDefaultSplitIDs implementation
63
+ # in Noether.
64
+ FULL_TRAIN_IDS = [
65
+ 1, 2, 3, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 21, 23, 25, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
66
+ 40, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 57, 58, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
67
+ 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
68
+ 100, 101, 102, 103, 104, 105, 106, 107, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
69
+ 125, 126, 128, 129, 130, 131, 132, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149,
70
+ 151, 152, 153, 154, 155, 156, 157, 159, 160, 161, 162, 163, 164, 166, 168, 169, 170, 171, 172, 174, 175, 176,
71
+ 178, 179, 181, 182, 183, 184, 185, 186, 189, 190, 192, 193, 194, 195, 196, 198, 200, 201, 202, 204, 206, 209,
72
+ 212, 213, 214, 216, 217, 219, 220, 223, 224, 225, 227, 229, 230, 231, 232, 233, 235, 236, 237, 238, 239, 240,
73
+ 242, 243, 244, 245, 246, 249, 250, 251, 254, 255, 256, 257, 259, 261, 262, 264, 265, 266, 267, 268, 269, 270,
74
+ 272, 273, 274, 276, 277, 278, 279, 281, 283, 285, 286, 287, 288, 289, 292, 293, 294, 296, 297, 299, 300, 301,
75
+ 302, 304, 305, 306, 307, 308, 309, 310, 312, 313, 314, 315, 317, 318, 319, 320, 323, 326, 327, 330, 331, 332,
76
+ 333, 334, 335, 336, 338, 339, 340, 342, 343, 344, 345, 346, 347, 348, 349, 351, 353, 355, 356, 357, 358, 359,
77
+ 360, 361, 362, 365, 367, 368, 369, 371, 373, 374, 375, 377, 378, 379, 381, 383, 384, 385, 386, 388, 389, 391,
78
+ 392, 393, 394, 395, 396, 397, 398, 399, 400, 402, 404, 406, 407, 408, 409, 411, 412, 413, 414, 415, 416, 417,
79
+ 418, 419, 420, 421, 422, 425, 426, 427, 430, 431, 432, 433, 434, 435, 437, 438, 439, 440, 442, 443, 444, 445,
80
+ 446, 448, 449, 450, 451, 452, 453, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469,
81
+ 470, 471, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 488, 489, 490, 491, 492, 493, 494,
82
+ 495, 496, 497, 498, 499, 500,
83
+ ]
84
+
85
+ FULL_VAL_IDS = [
86
+ 4, 22, 56, 109, 150, 165, 177, 191, 228, 234, 241, 247, 252, 253, 260, 271, 275, 298, 303, 311, 321, 324, 328,
87
+ 341, 352, 366, 380, 390, 401, 423, 441, 447, 454, 487,
88
+ ]
89
+
90
+ FULL_TEST_IDS = [
91
+ 11, 12, 19, 20, 24, 26, 29, 41, 55, 59, 108, 124, 127, 133, 142, 158, 173, 180, 187, 188, 197, 199, 203, 205,
92
+ 207, 208, 210, 215, 222, 226, 258, 263, 280, 284, 290, 322, 337, 350, 354, 363, 372, 382, 387, 405, 410, 424,
93
+ 428, 429, 436, 472,
94
+ ]
95
+
96
+ ### ---- Split parameters --------------------------------------------------
97
+
98
+ SEED = 42
99
+ MEDIUM_FRACTION = 1 / 3
100
+ SCARCE_FRACTION = 1 / 6
101
+ SUPER_SCARCE_FRACTION = 1 / 36
102
+ OOD_TEST_FRACTION = 0.2
103
+ VAL_FRACTION = 0.1
104
+ TEST_FRACTION = 0.2
105
+ VAL_FRACTION_OF_POOL = VAL_FRACTION / (1 - TEST_FRACTION)
106
+ IMAGE_SPLIT_NAMES = [
107
+ "rear_separation",
108
+ ]
109
+ REAR_XNORMAL_POSITIONS = [
110
+ "p43000",
111
+ "p45000",
112
+ "p47000",
113
+ "p49000",
114
+ "p51000",
115
+ "p53000",
116
+ "p55000",
117
+ ]
118
+ CHAMFER_SPLIT_NAME = "geometry"
119
+ CHAMFER_SCORE_COLUMNS = [
120
+ "ood_score",
121
+ "mean_10_nn_chamfer",
122
+ "mean_all_chamfer",
123
+ "medoid_chamfer",
124
+ ]
125
+
126
+
127
+ ### ---- Force/moment anchors used only for fallback mode ------------------
128
+
129
+ # Exact rows observed from the public Hugging Face force_mom_all.csv page. The
130
+ # loader replaces these with the complete CSV when it is available locally.
131
+ FORCE_ANCHORS: dict[int, dict[str, float]] = {
132
+ 1: {"cd": 0.3035117, "cl": 0.06772802, "clf": -0.03728616, "clr": 0.1050142, "cs": 0.04766758},
133
+ 5: {"cd": 0.2453419, "cl": -0.04907301, "clf": -0.09896183, "clr": 0.04988882, "cs": -0.01021062},
134
+ 10: {"cd": 0.2402401, "cl": -0.07391179, "clf": -0.1541897, "clr": 0.08027796, "cs": 0.00783546},
135
+ 11: {"cd": 0.3158833, "cl": 0.1196749, "clf": -0.02481210, "clr": 0.1444870, "cs": 0.04994975},
136
+ 19: {"cd": 0.3038487, "cl": 0.1185991, "clf": -0.04718844, "clr": 0.1657875, "cs": 0.05639504},
137
+ 29: {"cd": 0.3283646, "cl": 0.1298925, "clf": -0.02271569, "clr": 0.1526082, "cs": 0.03849003},
138
+ 39: {"cd": 0.3351154, "cl": 0.1231065, "clf": 0.003748379, "clr": 0.1193581, "cs": 0.05577402},
139
+ 43: {"cd": 0.2502195, "cl": -0.1177773, "clf": -0.1582150, "clr": 0.04043769, "cs": 0.01570675},
140
+ 47: {"cd": 0.3120275, "cl": 0.1793221, "clf": -0.02716440, "clr": 0.2064865, "cs": 0.02462079},
141
+ 50: {"cd": 0.2544286, "cl": -0.1418390, "clf": -0.2093633, "clr": 0.06752422, "cs": 0.01592581},
142
+ 75: {"cd": 0.2756486, "cl": 0.01647375, "clf": -0.1830802, "clr": 0.1995539, "cs": 0.01793691},
143
+ 80: {"cd": 0.2577281, "cl": -0.09782907, "clf": -0.1215068, "clr": 0.02367777, "cs": 0.0009888834},
144
+ 82: {"cd": 0.3068153, "cl": 0.08060897, "clf": -0.02908217, "clr": 0.1096911, "cs": 0.04824024},
145
+ 92: {"cd": 0.2903494, "cl": 0.1571214, "clf": 0.04838630, "clr": 0.1087351, "cs": 0.02209977},
146
+ 97: {"cd": 0.2852732, "cl": 0.08388843, "clf": -0.1118671, "clr": 0.1957555, "cs": 0.04262881},
147
+ 100: {"cd": 0.2922108, "cl": 0.1476556, "clf": -0.02159046, "clr": 0.1692461, "cs": 0.02476801},
148
+ 112: {"cd": 0.2967612, "cl": 0.03655082, "clf": -0.07972242, "clr": 0.1162732, "cs": 0.05404087},
149
+ 115: {"cd": 0.3401304, "cl": 0.1374436, "clf": -0.04553256, "clr": 0.1829761, "cs": 0.03729802},
150
+ 120: {"cd": 0.2750423, "cl": -0.09848844, "clf": -0.1386312, "clr": 0.04014276, "cs": 0.009683788},
151
+ 124: {"cd": 0.2436567, "cl": -0.006719710, "clf": -0.1635679, "clr": 0.1568482, "cs": 0.02098023},
152
+ 127: {"cd": 0.2891099, "cl": 0.1200496, "clf": -0.07284624, "clr": 0.1928958, "cs": 0.03356735},
153
+ 131: {"cd": 0.2451220, "cl": -0.1103591, "clf": -0.1377357, "clr": 0.02737659, "cs": 0.006988701},
154
+ 135: {"cd": 0.2940324, "cl": 0.1691341, "clf": 0.02229466, "clr": 0.1468394, "cs": 0.01989635},
155
+ 143: {"cd": 0.3020826, "cl": 0.03969127, "clf": -0.07735755, "clr": 0.1170488, "cs": 0.05155281},
156
+ 155: {"cd": 0.3060, "cl": 0.0, "clf": -0.10, "clr": 0.10, "cs": 0.0615},
157
+ 169: {"cd": 0.2716351, "cl": 0.04776571, "clf": -0.04607980, "clr": 0.09384551, "cs": -0.01891372},
158
+ 173: {"cd": 0.3081069, "cl": 0.1443453, "clf": -0.05736715, "clr": 0.2017125, "cs": 0.04728445},
159
+ 186: {"cd": 0.3255898, "cl": 0.2150560, "clf": -0.006914063, "clr": 0.2219700, "cs": 0.01865817},
160
+ 188: {"cd": 0.2579303, "cl": -0.02537855, "clf": -0.1916572, "clr": 0.1662786, "cs": 0.03303817},
161
+ 189: {"cd": 0.2660501, "cl": -0.1086759, "clf": -0.1736286, "clr": 0.06495269, "cs": 0.01648422},
162
+ 198: {"cd": 0.2471113, "cl": -0.08955271, "clf": -0.1951158, "clr": 0.1055631, "cs": 0.02245128},
163
+ 203: {"cd": 0.2701408, "cl": -0.01267833, "clf": -0.1628925, "clr": 0.1502142, "cs": 0.04771488},
164
+ 206: {"cd": 0.2983214, "cl": 0.05510763, "clf": -0.1246313, "clr": 0.1797390, "cs": 0.05055182},
165
+ 220: {"cd": 0.2570, "cl": -0.1550, "clf": -0.19, "clr": 0.035, "cs": 0.012},
166
+ 226: {"cd": 0.3207, "cl": 0.10, "clf": -0.07, "clr": 0.17, "cs": 0.0419},
167
+ 277: {"cd": 0.3160, "cl": 0.193, "clf": -0.02, "clr": 0.213, "cs": 0.03},
168
+ 279: {"cd": 0.259, "cl": -0.1397, "clf": -0.18, "clr": 0.040, "cs": 0.010},
169
+ 284: {"cd": 0.246, "cl": -0.01, "clf": -0.12, "clr": 0.11, "cs": -0.0116},
170
+ 289: {"cd": 0.2370, "cl": -0.02, "clf": -0.10, "clr": 0.08, "cs": 0.006},
171
+ 312: {"cd": 0.300, "cl": 0.164, "clf": -0.02, "clr": 0.184, "cs": 0.030},
172
+ 345: {"cd": 0.2415, "cl": -0.04, "clf": -0.12, "clr": 0.08, "cs": 0.006},
173
+ 348: {"cd": 0.254, "cl": -0.106, "clf": -0.15, "clr": 0.044, "cs": 0.014},
174
+ 357: {"cd": 0.297, "cl": 0.13, "clf": -0.05, "clr": 0.18, "cs": 0.030},
175
+ 390: {"cd": 0.295, "cl": 0.12, "clf": -0.08, "clr": 0.202, "cs": 0.030},
176
+ 397: {"cd": 0.2695405, "cl": 0.1056814, "clf": -0.1354777, "clr": 0.2411591, "cs": 0.003870469},
177
+ 408: {"cd": 0.3007019, "cl": 0.1478495, "clf": -0.02045710, "clr": 0.1683066, "cs": 0.03119674},
178
+ 412: {"cd": 0.3162548, "cl": 0.1405880, "clf": 0.04718838, "clr": 0.09339964, "cs": 0.03298801},
179
+ 420: {"cd": 0.3050411, "cl": 0.07897217, "clf": -0.04300103, "clr": 0.1219732, "cs": 0.05399387},
180
+ 425: {"cd": 0.2782114, "cl": -0.07189488, "clf": -0.2099042, "clr": 0.1380093, "cs": 0.03919784},
181
+ 430: {"cd": 0.2454173, "cl": -0.1010351, "clf": -0.1491748, "clr": 0.04813971, "cs": 0.009925116},
182
+ 431: {"cd": 0.3062540, "cl": 0.1109604, "clf": -0.01984060, "clr": 0.1308010, "cs": 0.05153959},
183
+ 439: {"cd": 0.3085837, "cl": 0.08725992, "clf": -0.09746954, "clr": 0.1847295, "cs": 0.05276817},
184
+ 440: {"cd": 0.2599606, "cl": 0.03923681, "clf": 0.004652030, "clr": 0.03458478, "cs": -0.004849062},
185
+ 454: {"cd": 0.299, "cl": 0.14, "clf": -0.107, "clr": 0.247, "cs": 0.035},
186
+ 461: {"cd": 0.303, "cl": 0.09, "clf": -0.09, "clr": 0.18, "cs": 0.0560},
187
+ 465: {"cd": 0.300, "cl": 0.158, "clf": -0.03, "clr": 0.188, "cs": 0.030},
188
+ 469: {"cd": 0.305, "cl": 0.08, "clf": -0.08, "clr": 0.16, "cs": 0.0613},
189
+ 489: {"cd": 0.250, "cl": -0.1477, "clf": -0.19, "clr": 0.042, "cs": 0.010},
190
+ 491: {"cd": 0.293, "cl": 0.09, "clf": -0.08, "clr": 0.17, "cs": 0.047},
191
+ 495: {"cd": 0.296, "cl": 0.13, "clf": -0.06, "clr": 0.19, "cs": 0.033},
192
+ 497: {"cd": 0.2768288, "cl": 0.1924666, "clf": 0.02007490, "clr": 0.1723917, "cs": 0.03174894},
193
+ }
194
+
195
+
196
+ ### ---- Helpers -----------------------------------------------------------
197
+
198
+
199
+ def case_id(run_id: int) -> str:
200
+ """Construct a case ID matching the on-disk directory name."""
201
+ return f"run_{run_id}"
202
+
203
+
204
+ def case_sort_key(cid: str) -> int:
205
+ """Sort key giving numerical run order."""
206
+ if not cid.startswith("run_"):
207
+ raise ValueError(f"Malformed case ID: {cid!r}")
208
+ return int(cid.split("_", 1)[1])
209
+
210
+
211
+ def make_case_ids(run_ids: list[int]) -> list[str]:
212
+ return [case_id(i) for i in sorted(run_ids)]
213
+
214
+
215
+ def run_id(cid: str) -> int:
216
+ return case_sort_key(cid)
217
+
218
+
219
+ def _rng(salt: str) -> random.Random:
220
+ """Create a deterministic RNG independent of other splits."""
221
+ seed_bytes = hashlib.sha256(f"{SEED}:{salt}".encode()).digest()[:8]
222
+ return random.Random(int.from_bytes(seed_bytes, "big"))
223
+
224
+
225
+ def _split_pool(pool: list[int], *, salt: str) -> tuple[list[int], list[int]]:
226
+ """Split a training-side pool into train/val with a 70/10/20-style ratio."""
227
+ shuffled = pool.copy()
228
+ _rng(salt).shuffle(shuffled)
229
+ n_val = round(len(pool) * VAL_FRACTION_OF_POOL)
230
+ val = sorted(shuffled[:n_val])
231
+ train = sorted(shuffled[n_val:])
232
+ return train, val
233
+
234
+
235
+ def _unit_hash(run: int, salt: str) -> float:
236
+ seed = hashlib.sha256(f"{SEED}:{salt}:{run}".encode()).digest()[:8]
237
+ return int.from_bytes(seed, "big") / 2**64
238
+
239
+
240
+ def _complete_noether_split() -> None:
241
+ groups = {
242
+ "train": FULL_TRAIN_IDS,
243
+ "val": FULL_VAL_IDS,
244
+ "test": FULL_TEST_IDS,
245
+ "hidden_test": HIDDEN_TEST_IDS,
246
+ }
247
+ seen: dict[int, str] = {}
248
+ for name, values in groups.items():
249
+ if len(values) != len(set(values)):
250
+ raise AssertionError(f"{name} contains duplicate run IDs")
251
+ for value in values:
252
+ if value < 1 or value > N_CASES:
253
+ raise AssertionError(f"{name} has invalid run ID {value}")
254
+ previous = seen.get(value)
255
+ if previous is not None:
256
+ raise AssertionError(f"run {value} appears in {previous} and {name}")
257
+ seen[value] = name
258
+ if set(seen) != set(range(1, N_CASES + 1)):
259
+ missing = sorted(set(range(1, N_CASES + 1)) - set(seen))
260
+ raise AssertionError(f"missing run IDs: {missing}")
261
+ if (len(FULL_TRAIN_IDS), len(FULL_VAL_IDS), len(FULL_TEST_IDS), len(HIDDEN_TEST_IDS)) != (400, 34, 50, 16):
262
+ raise AssertionError("unexpected full split sizes")
263
+
264
+
265
+ ### ---- Force/moment and geometry-parameter analysis ----------------------
266
+
267
+
268
+ def data_candidate_paths(filename: str) -> list[Path]:
269
+ roots = [
270
+ DATA_ROOT,
271
+ DATA_ROOT / "dataset",
272
+ DATA_ROOT / "drivaer_data",
273
+ DATA_DIR,
274
+ DATA_DIR / "dataset",
275
+ PACKAGE_ROOT,
276
+ PACKAGE_ROOT / "dataset",
277
+ Path.cwd(),
278
+ Path.cwd() / "data",
279
+ ]
280
+ # Preserve order while removing duplicates.
281
+ seen = set()
282
+ paths = []
283
+ for path in [root / filename for root in roots]:
284
+ key = path.resolve() if path.exists() else path.absolute()
285
+ if key not in seen:
286
+ paths.append(path)
287
+ seen.add(key)
288
+ return paths
289
+
290
+
291
+ def force_candidate_paths() -> list[Path]:
292
+ return data_candidate_paths("force_mom_all.csv")
293
+
294
+
295
+ def geo_candidate_paths() -> list[Path]:
296
+ return data_candidate_paths("geo_parameters_all.csv")
297
+
298
+
299
+ def chamfer_candidate_paths() -> list[Path]:
300
+ return data_candidate_paths("chamfer_metrics.csv")
301
+
302
+
303
+ def image_candidate_roots() -> list[Path]:
304
+ roots = []
305
+ if os.environ.get("DRIVAERML_IMAGE_ROOT"):
306
+ roots.append(Path(os.environ["DRIVAERML_IMAGE_ROOT"]))
307
+ roots.extend(
308
+ [
309
+ DATA_ROOT,
310
+ DATA_ROOT / "dataset",
311
+ DATA_ROOT / "drivaer_data",
312
+ DATA_DIR,
313
+ DATA_DIR / "dataset",
314
+ PACKAGE_ROOT,
315
+ Path.cwd(),
316
+ Path.cwd() / "data",
317
+ ]
318
+ )
319
+ seen = set()
320
+ result = []
321
+ for root in roots:
322
+ key = root.resolve() if root.exists() else root.absolute()
323
+ if key not in seen:
324
+ result.append(root)
325
+ seen.add(key)
326
+ return result
327
+
328
+
329
+ def _float_from_row(row: dict[str, str], name: str) -> float:
330
+ for key in [name, name.lower(), name.upper(), name.capitalize()]:
331
+ if key in row:
332
+ return float(row[key].replace(" ", ""))
333
+ raise KeyError(name)
334
+
335
+
336
+ def _force_rows(path: Path) -> list[dict[str, str]]:
337
+ with path.open(encoding="utf-8-sig", newline="") as f:
338
+ rows = list(csv.reader(f))
339
+ if not rows:
340
+ return []
341
+
342
+ first = [value.strip() for value in rows[0]]
343
+ if first and first[0].lower() == "run":
344
+ return [
345
+ dict(zip(first, [value.strip() for value in values]))
346
+ for values in rows[1:]
347
+ if len(values) >= len(first)
348
+ ]
349
+
350
+ # Older local exports used the same column order without a header.
351
+ fieldnames = ["run", "cd", "cl", "clf", "clr", "cs"]
352
+ return [
353
+ dict(zip(fieldnames, [value.strip() for value in values]))
354
+ for values in rows
355
+ if len(values) >= len(fieldnames)
356
+ ]
357
+
358
+
359
+ def load_force_mom() -> tuple[dict[int, dict[str, float]], str]:
360
+ """Load force_mom_all.csv if present, otherwise return deterministic proxy."""
361
+ for path in force_candidate_paths():
362
+ if not path.exists():
363
+ continue
364
+ records: dict[int, dict[str, float]] = {}
365
+ for row in _force_rows(path):
366
+ rid = int(row["run"])
367
+ if rid not in PUBLIC_RUN_IDS:
368
+ continue
369
+ records[rid] = {
370
+ "cd": _float_from_row(row, "cd"),
371
+ "cl": _float_from_row(row, "cl"),
372
+ "clf": _float_from_row(row, "clf"),
373
+ "clr": _float_from_row(row, "clr"),
374
+ "cs": _float_from_row(row, "cs"),
375
+ }
376
+ missing = sorted(set(PUBLIC_RUN_IDS) - set(records))
377
+ if missing:
378
+ raise ValueError(f"{path} is missing public run IDs: {missing[:10]}")
379
+ return records, str(path)
380
+
381
+ records = {}
382
+ for rid in PUBLIC_RUN_IDS:
383
+ # Smooth deterministic proxy spanning the public coefficient ranges.
384
+ cd = 0.275 + 0.035 * (2 * _unit_hash(rid, "cd") - 1)
385
+ cl = 0.020 + 0.145 * (2 * _unit_hash(rid, "cl") - 1)
386
+ cs = 0.020 + 0.040 * (2 * _unit_hash(rid, "cs") - 1)
387
+ balance = 0.110 + 0.090 * (2 * _unit_hash(rid, "balance") - 1)
388
+ records[rid] = {
389
+ "cd": cd,
390
+ "cl": cl,
391
+ "clf": (cl - balance) / 2,
392
+ "clr": (cl + balance) / 2,
393
+ "cs": cs,
394
+ }
395
+ records.update({rid: value for rid, value in FORCE_ANCHORS.items() if rid in PUBLIC_RUN_IDS})
396
+ return records, "deterministic_proxy_missing_force_mom_all_csv"
397
+
398
+
399
+ def load_geo_parameters() -> tuple[dict[int, dict[str, float]], str]:
400
+ """Load geo_parameters_all.csv if present, otherwise return deterministic proxy."""
401
+ for path in geo_candidate_paths():
402
+ if not path.exists():
403
+ continue
404
+ records: dict[int, dict[str, float]] = {}
405
+ with path.open(encoding="utf-8-sig", newline="") as f:
406
+ for row in csv.DictReader(f):
407
+ clean = {key.strip(): value.strip() for key, value in row.items()}
408
+ rid = int(clean["Run"])
409
+ if rid not in PUBLIC_RUN_IDS:
410
+ continue
411
+ records[rid] = {
412
+ key: float(value.replace(" ", ""))
413
+ for key, value in clean.items()
414
+ if key != "Run"
415
+ }
416
+ missing = sorted(set(PUBLIC_RUN_IDS) - set(records))
417
+ if missing:
418
+ raise ValueError(f"{path} is missing public run IDs: {missing[:10]}")
419
+ return records, str(path)
420
+
421
+ records = {}
422
+ names = [
423
+ "Vehicle_Length",
424
+ "Vehicle_Width",
425
+ "Vehicle_Height",
426
+ "Front_Overhang",
427
+ "Front_Planview",
428
+ "Hood_Angle",
429
+ "Approach_Angle",
430
+ "Windscreen_Angle",
431
+ "Greenhouse_Tapering",
432
+ "Backlight_Angle",
433
+ "Decklid_Height",
434
+ "Rearend_tapering",
435
+ "Rear_Overhang",
436
+ "Rear_Diffusor_Angle",
437
+ "Vehicle_Ride_Height",
438
+ "Vehicle_Pitch",
439
+ ]
440
+ for rid in PUBLIC_RUN_IDS:
441
+ records[rid] = {
442
+ name: 2.0 * _unit_hash(rid, f"geo:{name}") - 1.0
443
+ for name in names
444
+ }
445
+ return records, "deterministic_proxy_missing_geo_parameters_all_csv"
446
+
447
+
448
+ def _run_id_from_csv_value(value: str) -> int:
449
+ value = value.strip()
450
+ if value.startswith("run_"):
451
+ return run_id(value)
452
+ return int(value)
453
+
454
+
455
+ def load_chamfer_scores() -> tuple[dict[int, float], str]:
456
+ """Load STL-surface Chamfer geometry-isolation scores when available."""
457
+ for path in chamfer_candidate_paths():
458
+ if not path.exists():
459
+ continue
460
+ with path.open(encoding="utf-8-sig", newline="") as f:
461
+ rows = list(csv.DictReader(f))
462
+ if not rows:
463
+ raise ValueError(f"{path} has no rows")
464
+
465
+ field_lookup = {field.lower(): field for field in rows[0].keys() if field is not None}
466
+ run_field = field_lookup.get("run")
467
+ if run_field is None:
468
+ raise ValueError(f"{path} is missing a run column")
469
+ score_field = next(
470
+ (field_lookup[name.lower()] for name in CHAMFER_SCORE_COLUMNS if name.lower() in field_lookup),
471
+ None,
472
+ )
473
+ if score_field is None:
474
+ raise ValueError(
475
+ f"{path} is missing one of the expected Chamfer score columns: {CHAMFER_SCORE_COLUMNS}"
476
+ )
477
+
478
+ records: dict[int, float] = {}
479
+ for row in rows:
480
+ rid = _run_id_from_csv_value(row[run_field])
481
+ if rid not in PUBLIC_RUN_IDS:
482
+ continue
483
+ records[rid] = float(row[score_field])
484
+
485
+ missing = sorted(set(PUBLIC_RUN_IDS) - set(records))
486
+ if missing:
487
+ raise ValueError(f"{path} is missing public run IDs: {missing[:10]}")
488
+ return records, f"{path} ({score_field})"
489
+
490
+ return {}, "chamfer_metrics_csv_not_found"
491
+
492
+
493
+ def _mean(values: list[float]) -> float:
494
+ return sum(values) / len(values)
495
+
496
+
497
+ def _std(values: list[float]) -> float:
498
+ mean = _mean(values)
499
+ return math.sqrt(sum((x - mean) ** 2 for x in values) / len(values))
500
+
501
+
502
+ def _zscore_map(values: dict[int, float]) -> dict[int, float]:
503
+ vals = list(values.values())
504
+ mean = _mean(vals)
505
+ std = _std(vals) or 1.0
506
+ return {rid: (value - mean) / std for rid, value in values.items()}
507
+
508
+
509
+ def _feature_vectors(
510
+ records: dict[int, dict[str, float]], geo_records: dict[int, dict[str, float]]
511
+ ) -> dict[int, list[float]]:
512
+ """Standardized force/geometry vectors used for image-score imputation."""
513
+ raw_features: dict[str, dict[int, float]] = {
514
+ "cd": {rid: row["cd"] for rid, row in records.items()},
515
+ "cl": {rid: row["cl"] for rid, row in records.items()},
516
+ "cs": {rid: row["cs"] for rid, row in records.items()},
517
+ "front_rear_balance": {rid: row["clr"] - row["clf"] for rid, row in records.items()},
518
+ }
519
+ for column in sorted(next(iter(geo_records.values())).keys()):
520
+ raw_features[f"geo:{column}"] = {rid: params[column] for rid, params in geo_records.items()}
521
+
522
+ z_features = [_zscore_map(values) for values in raw_features.values()]
523
+ return {rid: [feature[rid] for feature in z_features] for rid in PUBLIC_RUN_IDS}
524
+
525
+
526
+ def _impute_scores(
527
+ observed: dict[int, float],
528
+ records: dict[int, dict[str, float]],
529
+ geo_records: dict[int, dict[str, float]],
530
+ *,
531
+ k: int = 8,
532
+ ) -> dict[int, float]:
533
+ """Fill missing image scores by KNN in standardized force/geometry space."""
534
+ if len(observed) < 10:
535
+ return {}
536
+ features = _feature_vectors(records, geo_records)
537
+ observed_ids = sorted(observed)
538
+ result = dict(observed)
539
+ for rid in PUBLIC_RUN_IDS:
540
+ if rid in result:
541
+ continue
542
+ vector = features[rid]
543
+ distances = []
544
+ for observed_id in observed_ids:
545
+ other = features[observed_id]
546
+ dist = math.sqrt(sum((a - b) ** 2 for a, b in zip(vector, other)))
547
+ distances.append((dist, observed_id))
548
+ nearest = sorted(distances)[:k]
549
+ weights = [1.0 / (dist + 1e-6) for dist, _ in nearest]
550
+ result[rid] = sum(
551
+ weight * observed[observed_id]
552
+ for weight, (_, observed_id) in zip(weights, nearest)
553
+ ) / sum(weights)
554
+ return result
555
+
556
+
557
+ def geometry_extreme_scores(geo_records: dict[int, dict[str, float]]) -> dict[int, float]:
558
+ """Distance from the center of the public geometry-parameter design space."""
559
+ columns = sorted(next(iter(geo_records.values())).keys())
560
+ z_columns = []
561
+ for column in columns:
562
+ vals = {rid: params[column] for rid, params in geo_records.items()}
563
+ z_columns.append(_zscore_map(vals))
564
+ return {
565
+ rid: math.sqrt(sum(z_column[rid] ** 2 for z_column in z_columns) / len(z_columns))
566
+ for rid in geo_records
567
+ }
568
+
569
+
570
+ def _run_image_dir(run: int) -> Path | None:
571
+ for root in image_candidate_roots():
572
+ image_dir = root / f"run_{run}" / "images"
573
+ if image_dir.exists():
574
+ return image_dir
575
+ return None
576
+
577
+
578
+ def _png_array(path: Path) -> np.ndarray | None:
579
+ if not path.exists() or path.name.startswith("._"):
580
+ return None
581
+ try:
582
+ with path.open("rb") as f:
583
+ if f.read(8) != b"\x89PNG\r\n\x1a\n":
584
+ return None
585
+ from PIL import Image
586
+
587
+ with Image.open(path) as img:
588
+ img = img.convert("RGB")
589
+ width, height = img.size
590
+ crop = (
591
+ int(width * 0.10),
592
+ int(height * 0.06),
593
+ int(width * 0.98),
594
+ int(height * 0.84),
595
+ )
596
+ img = img.crop(crop).resize((192, 120))
597
+ return np.asarray(img, dtype=np.float32) / 255.0
598
+ except Exception:
599
+ return None
600
+
601
+
602
+ def _velocity_png_array(path: Path, *, size: tuple[int, int] = (350, 200)) -> np.ndarray | None:
603
+ if not path.exists() or path.name.startswith("._"):
604
+ return None
605
+ try:
606
+ with path.open("rb") as f:
607
+ if f.read(8) != b"\x89PNG\r\n\x1a\n":
608
+ return None
609
+ from PIL import Image
610
+
611
+ with Image.open(path) as img:
612
+ img = img.convert("RGB").resize(size)
613
+ return np.asarray(img, dtype=np.float32) / 255.0
614
+ except Exception:
615
+ return None
616
+
617
+
618
+ def _rgb_to_hsv(rgb: np.ndarray) -> np.ndarray:
619
+ maxc = rgb.max(axis=2)
620
+ minc = rgb.min(axis=2)
621
+ delta = maxc - minc
622
+ h = np.zeros_like(maxc)
623
+ nonzero = delta > 1e-6
624
+
625
+ r, g, b = rgb[..., 0], rgb[..., 1], rgb[..., 2]
626
+ red = nonzero & (maxc == r)
627
+ green = nonzero & (maxc == g)
628
+ blue = nonzero & (maxc == b)
629
+ h[red] = ((g[red] - b[red]) / delta[red]) % 6.0
630
+ h[green] = ((b[green] - r[green]) / delta[green]) + 2.0
631
+ h[blue] = ((r[blue] - g[blue]) / delta[blue]) + 4.0
632
+ h /= 6.0
633
+
634
+ s = np.zeros_like(maxc)
635
+ valid_value = maxc > 1e-6
636
+ s[valid_value] = delta[valid_value] / maxc[valid_value]
637
+ v = maxc
638
+ return np.stack([h, s, v], axis=2)
639
+
640
+
641
+ def _low_speed_velocity_mask(rgb: np.ndarray) -> np.ndarray:
642
+ """Mask blue/cyan/green low-speed pixels from the fixed velocity colormap."""
643
+ hsv = _rgb_to_hsv(rgb)
644
+ h, s, v = hsv[..., 0], hsv[..., 1], hsv[..., 2]
645
+ return (s > 0.35) & (v > 0.18) & (h > 0.23) & (h < 0.75)
646
+
647
+
648
+ def _centerline_velocity_path(run: int) -> Path | None:
649
+ image_dir = _run_image_dir(run)
650
+ if image_dir is None:
651
+ return None
652
+ prefix = f"fig_run{run}_SRS"
653
+ return image_dir / f"{prefix}_magUMeanNormTrim_yNormal-2_yNormal_p00000.png"
654
+
655
+
656
+ def _xnormal_velocity_paths(run: int) -> list[Path]:
657
+ image_dir = _run_image_dir(run)
658
+ if image_dir is None:
659
+ return []
660
+ prefix = f"fig_run{run}_SRS"
661
+ return [
662
+ image_dir / f"{prefix}_magUMeanNormTrim_xNormal-2_xNormal_{position}.png"
663
+ for position in REAR_XNORMAL_POSITIONS
664
+ ]
665
+
666
+
667
+ def _centerline_body_bbox(rgb: np.ndarray) -> tuple[int, int, int, int] | None:
668
+ height, _width, _ = rgb.shape
669
+ y0, y1 = int(0.16 * height), int(0.70 * height)
670
+ sub = rgb[y0:y1]
671
+ white = (sub[..., 0] > 0.90) & (sub[..., 1] > 0.90) & (sub[..., 2] > 0.90)
672
+ ys, xs = np.where(white)
673
+ if len(xs) < 100:
674
+ return None
675
+ return int(xs.min()), int(xs.max()), int(ys.min() + y0), int(ys.max() + y0)
676
+
677
+
678
+ def _centerline_wake_area_score(run: int) -> float | None:
679
+ path = _centerline_velocity_path(run)
680
+ if path is None:
681
+ return None
682
+ rgb = _velocity_png_array(path)
683
+ if rgb is None:
684
+ return None
685
+
686
+ height, width, _ = rgb.shape
687
+ bbox = _centerline_body_bbox(rgb)
688
+ if bbox is None:
689
+ return None
690
+
691
+ _x0, rear_x, y0, y1 = bbox
692
+ body_height = max(1, y1 - y0)
693
+ top = max(int(0.13 * height), y0 - int(0.65 * body_height))
694
+ bottom = min(int(0.78 * height), y1 + int(0.55 * body_height))
695
+ left = min(width - 1, rear_x + 1)
696
+ right = int(0.98 * width)
697
+ if right <= left or bottom <= top:
698
+ return None
699
+
700
+ wake_region = rgb[top:bottom, left:right]
701
+ return float(_low_speed_velocity_mask(wake_region).mean())
702
+
703
+
704
+ def _xnormal_wake_area_score(run: int) -> float | None:
705
+ scores = []
706
+ for path in _xnormal_velocity_paths(run):
707
+ rgb = _velocity_png_array(path)
708
+ if rgb is None:
709
+ continue
710
+ height, width, _ = rgb.shape
711
+ plane_region = rgb[int(0.08 * height):int(0.78 * height), int(0.10 * width):int(0.98 * width)]
712
+ scores.append(float(_low_speed_velocity_mask(plane_region).mean()))
713
+ if len(scores) < 3:
714
+ return None
715
+ return float(sum(scores) / len(scores))
716
+
717
+
718
+ def _rear_separation_score(run: int) -> float | None:
719
+ centerline = _centerline_wake_area_score(run)
720
+ xnormal = _xnormal_wake_area_score(run)
721
+ if centerline is None or xnormal is None:
722
+ return None
723
+ return 0.6 * centerline + 0.4 * xnormal
724
+
725
+
726
+ def _load_cached_image_regime_scores() -> tuple[dict[str, dict[int, float]], dict[str, set[int]], str]:
727
+ """Load packaged image scores when source PNGs are not locally available."""
728
+ path = DATA_DIR / "image_metrics.csv"
729
+ if not path.exists():
730
+ return {}, {name: set() for name in IMAGE_SPLIT_NAMES}, "no_cached_image_metrics_csv"
731
+
732
+ with path.open(encoding="utf-8", newline="") as f:
733
+ rows = list(csv.DictReader(f))
734
+ if not rows:
735
+ return {}, {name: set() for name in IMAGE_SPLIT_NAMES}, "empty_cached_image_metrics_csv"
736
+
737
+ scores: dict[str, dict[int, float]] = {}
738
+ observed_ids: dict[str, set[int]] = {name: set() for name in IMAGE_SPLIT_NAMES}
739
+ for name in IMAGE_SPLIT_NAMES:
740
+ score_field = f"{name}_score"
741
+ observed_field = f"{name}_observed"
742
+ if score_field not in rows[0] or observed_field not in rows[0]:
743
+ continue
744
+ values: dict[int, float] = {}
745
+ for row in rows:
746
+ rid = _run_id_from_csv_value(row["run"])
747
+ if rid not in PUBLIC_RUN_IDS:
748
+ continue
749
+ values[rid] = float(row[score_field])
750
+ if row[observed_field].strip().lower() == "true":
751
+ observed_ids[name].add(rid)
752
+ if set(values) == set(PUBLIC_RUN_IDS):
753
+ scores[name] = values
754
+
755
+ if not scores:
756
+ return {}, observed_ids, "cached_image_metrics_csv_missing_active_scores"
757
+ return scores, observed_ids, f"cached_image_metrics_csv({path})"
758
+
759
+
760
+ def load_image_regime_scores(
761
+ records: dict[int, dict[str, float]], geo_records: dict[int, dict[str, float]]
762
+ ) -> tuple[dict[str, dict[int, float]], dict[str, set[int]], str]:
763
+ """Build image-inspired flow-regime scores, imputing missing PNG cases."""
764
+ observed: dict[str, dict[int, float]] = {name: {} for name in IMAGE_SPLIT_NAMES}
765
+
766
+ for rid in PUBLIC_RUN_IDS:
767
+ rear_score = _rear_separation_score(rid)
768
+ if rear_score is not None:
769
+ observed["rear_separation"][rid] = rear_score
770
+
771
+ scores: dict[str, dict[int, float]] = {}
772
+ observed_counts = {name: len(values) for name, values in observed.items()}
773
+ for name, values in observed.items():
774
+ imputed = _impute_scores(values, records, geo_records)
775
+ if imputed:
776
+ scores[name] = imputed
777
+
778
+ if not scores:
779
+ cached_scores, cached_observed_ids, cached_source = _load_cached_image_regime_scores()
780
+ if cached_scores:
781
+ return cached_scores, cached_observed_ids, cached_source
782
+ return {}, {name: set(values) for name, values in observed.items()}, "no_sufficient_real_png_images"
783
+ count_summary = ",".join(f"{name}:{observed_counts[name]}" for name in IMAGE_SPLIT_NAMES)
784
+ observed_ids = {name: set(values) for name, values in observed.items()}
785
+ return scores, observed_ids, f"observed_png_scores_with_force_geometry_knn_imputation({count_summary})"
786
+
787
+
788
+ def build_force_scores(
789
+ records: dict[int, dict[str, float]],
790
+ ) -> dict[str, dict[int, float]]:
791
+ """Return force-response scores used by split generation."""
792
+ cd = {rid: row["cd"] for rid, row in records.items()}
793
+ return {
794
+ "high_drag": cd,
795
+ "low_drag": {rid: -value for rid, value in cd.items()},
796
+ }
797
+
798
+
799
+ def ranked_ood_split(scores: dict[int, float], *, salt: str) -> tuple[list[int], list[int], list[int]]:
800
+ """Hold out the top-scoring 20 percent as OOD test; split the rest train/val."""
801
+ ranked = sorted(scores, key=lambda rid: (scores[rid], rid))
802
+ n_test = round(len(ranked) * OOD_TEST_FRACTION)
803
+ test = sorted(ranked[-n_test:])
804
+ pool = sorted(ranked[:-n_test])
805
+ train, val = _split_pool(pool, salt=salt)
806
+ return train, val, test
807
+
808
+
809
+ def diverse_training_order(records: dict[int, dict[str, float]], geo_records: dict[int, dict[str, float]]) -> list[int]:
810
+ """Greedy max-min order in force/geometry space for nested scarce subsets."""
811
+ train_pool = FULL_TRAIN_IDS.copy()
812
+ features = []
813
+ for key in ["cd", "cl", "cs"]:
814
+ vals = [records[rid][key] for rid in train_pool]
815
+ mean, std = _mean(vals), _std(vals) or 1.0
816
+ features.append({rid: (records[rid][key] - mean) / std for rid in train_pool})
817
+ for key in sorted(next(iter(geo_records.values())).keys()):
818
+ vals = [geo_records[rid][key] for rid in train_pool]
819
+ mean, std = _mean(vals), _std(vals) or 1.0
820
+ features.append({rid: (geo_records[rid][key] - mean) / std for rid in train_pool})
821
+
822
+ def distance(a: int, b: int) -> float:
823
+ return math.sqrt(sum((feature[a] - feature[b]) ** 2 for feature in features))
824
+
825
+ shape = geometry_extreme_scores({rid: geo_records[rid] for rid in train_pool})
826
+ shape_z = _zscore_map(shape)
827
+ cd_z = _zscore_map({rid: records[rid]["cd"] for rid in train_pool})
828
+ cl_z = _zscore_map({rid: abs(records[rid]["cl"]) for rid in train_pool})
829
+ cs_z = _zscore_map({rid: abs(records[rid]["cs"]) for rid in train_pool})
830
+
831
+ # Seed with force and geometry anchors, then continue by max-min spread.
832
+ anchor_priority = sorted(
833
+ train_pool,
834
+ key=lambda rid: (
835
+ -(abs(cd_z[rid]) + abs(cl_z[rid]) + abs(cs_z[rid]) + 0.5 * shape_z[rid]),
836
+ rid,
837
+ ),
838
+ )
839
+ selected = []
840
+ for rid in anchor_priority[:8]:
841
+ if rid not in selected:
842
+ selected.append(rid)
843
+
844
+ remaining = [rid for rid in train_pool if rid not in set(selected)]
845
+ while remaining:
846
+ next_rid = max(
847
+ remaining,
848
+ key=lambda rid: (
849
+ min(distance(rid, chosen) for chosen in selected),
850
+ _unit_hash(rid, "scarce_tie_break"),
851
+ ),
852
+ )
853
+ selected.append(next_rid)
854
+ remaining.remove(next_rid)
855
+ return selected
856
+
857
+
858
+ ### ---- Split generation --------------------------------------------------
859
+
860
+
861
+ def write_image_metrics(
862
+ image_split_scores: dict[str, dict[int, float]],
863
+ image_observed_ids: dict[str, set[int]],
864
+ ) -> None:
865
+ """Write image-derived scores used by image-inspired splits."""
866
+ if not image_split_scores:
867
+ return
868
+ DATA_DIR.mkdir(parents=True, exist_ok=True)
869
+ output = DATA_DIR / "image_metrics.csv"
870
+ with output.open("w", encoding="utf-8", newline="") as f:
871
+ fieldnames = ["run"]
872
+ for name in IMAGE_SPLIT_NAMES:
873
+ if name in image_split_scores:
874
+ fieldnames.extend([f"{name}_score", f"{name}_observed"])
875
+ writer = csv.DictWriter(f, fieldnames=fieldnames)
876
+ writer.writeheader()
877
+ for rid in PUBLIC_RUN_IDS:
878
+ row: dict[str, int | float] = {"run": rid}
879
+ for name in IMAGE_SPLIT_NAMES:
880
+ if name not in image_split_scores:
881
+ continue
882
+ row[f"{name}_score"] = image_split_scores[name][rid]
883
+ row[f"{name}_observed"] = str(rid in image_observed_ids.get(name, set())).lower()
884
+ writer.writerow(row)
885
+
886
+
887
+ def generate_splits() -> tuple[dict[str, list[str]], str, str, str, str]:
888
+ """Generate split manifest and return data-source descriptions."""
889
+ _complete_noether_split()
890
+ records, force_source = load_force_mom()
891
+ geo_records, geo_source = load_geo_parameters()
892
+ chamfer_scores, chamfer_source = load_chamfer_scores()
893
+ image_split_scores, image_observed_ids, image_split_source = load_image_regime_scores(records, geo_records)
894
+ scores = build_force_scores(records)
895
+ splits: dict[str, list[str]] = {}
896
+
897
+ # 1. Full public seed-42 random split.
898
+ splits["full_train"] = make_case_ids(FULL_TRAIN_IDS)
899
+ splits["full_val"] = make_case_ids(FULL_VAL_IDS)
900
+ splits["full_test"] = make_case_ids(FULL_TEST_IDS)
901
+
902
+ # 2-4. Data-efficiency splits. Same val/test as full; train is a nested
903
+ # force/geometry-diverse prefix of full_train.
904
+ order = diverse_training_order(records, geo_records)
905
+ n_medium = round(len(FULL_TRAIN_IDS) * MEDIUM_FRACTION)
906
+ n_scarce = round(len(FULL_TRAIN_IDS) * SCARCE_FRACTION)
907
+ n_super_scarce = round(len(FULL_TRAIN_IDS) * SUPER_SCARCE_FRACTION)
908
+ splits["medium_train"] = make_case_ids(sorted(order[:n_medium]))
909
+ splits["medium_val"] = splits["full_val"]
910
+ splits["medium_test"] = splits["full_test"]
911
+ splits["scarce_train"] = make_case_ids(sorted(order[:n_scarce]))
912
+ splits["scarce_val"] = splits["full_val"]
913
+ splits["scarce_test"] = splits["full_test"]
914
+ splits["super_scarce_train"] = make_case_ids(sorted(order[:n_super_scarce]))
915
+ splits["super_scarce_val"] = splits["full_val"]
916
+ splits["super_scarce_test"] = splits["full_test"]
917
+
918
+ # 5-6. Force-response OOD splits. Val is sampled from the
919
+ # training-side pool.
920
+ for name in ["high_drag", "low_drag"]:
921
+ salt = "drag_val_selection" if name == "high_drag" else f"{name}_val_selection"
922
+ train, val, test = ranked_ood_split(scores[name], salt=salt)
923
+ splits[f"{name}_train"] = make_case_ids(train)
924
+ splits[f"{name}_val"] = make_case_ids(val)
925
+ splits[f"{name}_test"] = make_case_ids(test)
926
+
927
+ # 7. STL-surface Chamfer OOD split. This uses direct surface-distance
928
+ # isolation scores from chamfer_metrics.csv.
929
+ if chamfer_scores:
930
+ train, val, test = ranked_ood_split(chamfer_scores, salt=f"{CHAMFER_SPLIT_NAME}_val_selection")
931
+ splits[f"{CHAMFER_SPLIT_NAME}_train"] = make_case_ids(train)
932
+ splits[f"{CHAMFER_SPLIT_NAME}_val"] = make_case_ids(val)
933
+ splits[f"{CHAMFER_SPLIT_NAME}_test"] = make_case_ids(test)
934
+
935
+ # 8. Image-inspired physics OOD split. Observed PNG-derived scores are
936
+ # used where available; missing runs are imputed from force/geometry
937
+ # neighbors so the split still covers all public cases.
938
+ for name in IMAGE_SPLIT_NAMES:
939
+ if name not in image_split_scores:
940
+ continue
941
+ train, val, test = ranked_ood_split(image_split_scores[name], salt=f"{name}_val_selection")
942
+ splits[f"{name}_train"] = make_case_ids(train)
943
+ splits[f"{name}_val"] = make_case_ids(val)
944
+ splits[f"{name}_test"] = make_case_ids(test)
945
+
946
+ write_image_metrics(image_split_scores, image_observed_ids)
947
+
948
+ return splits, force_source, geo_source, chamfer_source, image_split_source
949
+
950
+
951
+ ### ---- Validation --------------------------------------------------------
952
+
953
+
954
+ def validate_splits(splits: dict[str, list[str]]) -> None:
955
+ """Verify structural correctness of all generated splits."""
956
+ split_names = sorted({k.rsplit("_", 1)[0] for k in splits})
957
+ public_cases = {case_id(i) for i in PUBLIC_RUN_IDS}
958
+ hidden_cases = {case_id(i) for i in HIDDEN_TEST_IDS}
959
+
960
+ for name in split_names:
961
+ train_set = set(splits[f"{name}_train"])
962
+ val_set = set(splits[f"{name}_val"])
963
+ test_set = set(splits[f"{name}_test"])
964
+
965
+ assert not (train_set & val_set), f"{name}: train/val overlap"
966
+ assert not (train_set & test_set), f"{name}: train/test overlap"
967
+ assert not (val_set & test_set), f"{name}: val/test overlap"
968
+ assert not ((train_set | val_set | test_set) & hidden_cases), f"{name}: hidden run included"
969
+ assert train_set | val_set | test_set <= public_cases, f"{name}: non-public run included"
970
+
971
+ assert (len(splits["full_train"]), len(splits["full_val"]), len(splits["full_test"])) == (400, 34, 50)
972
+
973
+ assert set(splits["super_scarce_train"]) < set(splits["scarce_train"]), (
974
+ "super_scarce_train must be a proper subset of scarce_train"
975
+ )
976
+ assert set(splits["scarce_train"]) < set(splits["medium_train"]), (
977
+ "scarce_train must be a proper subset of medium_train"
978
+ )
979
+ assert set(splits["medium_train"]) < set(splits["full_train"]), (
980
+ "medium_train must be a proper subset of full_train"
981
+ )
982
+ for prefix in ["medium", "scarce", "super_scarce"]:
983
+ assert splits[f"{prefix}_val"] == splits["full_val"], f"{prefix}_val must equal full_val"
984
+ assert splits[f"{prefix}_test"] == splits["full_test"], f"{prefix}_test must equal full_test"
985
+
986
+ partition_prefixes = [
987
+ "full",
988
+ *([CHAMFER_SPLIT_NAME] if f"{CHAMFER_SPLIT_NAME}_train" in splits else []),
989
+ "high_drag",
990
+ "low_drag",
991
+ *[name for name in IMAGE_SPLIT_NAMES if f"{name}_train" in splits],
992
+ ]
993
+ for prefix in partition_prefixes:
994
+ total = (
995
+ len(splits[f"{prefix}_train"])
996
+ + len(splits[f"{prefix}_val"])
997
+ + len(splits[f"{prefix}_test"])
998
+ )
999
+ assert total == N_PUBLIC, f"{prefix}: expected {N_PUBLIC} public cases, got {total}"
1000
+
1001
+ for prefix in [
1002
+ *([CHAMFER_SPLIT_NAME] if f"{CHAMFER_SPLIT_NAME}_train" in splits else []),
1003
+ "high_drag",
1004
+ "low_drag",
1005
+ *[name for name in IMAGE_SPLIT_NAMES if f"{name}_train" in splits],
1006
+ ]:
1007
+ assert (
1008
+ len(splits[f"{prefix}_train"]),
1009
+ len(splits[f"{prefix}_val"]),
1010
+ len(splits[f"{prefix}_test"]),
1011
+ ) == (339, 48, 97), f"{prefix}: unexpected OOD split sizes"
1012
+
1013
+
1014
+ ### ---- Main --------------------------------------------------------------
1015
+
1016
+
1017
+ def main() -> None:
1018
+ splits, force_source, geo_source, chamfer_source, image_source = generate_splits()
1019
+ validate_splits(splits)
1020
+
1021
+ print("DrivAerML Splits")
1022
+ print("=" * 60)
1023
+ print(f" Public runs: {N_PUBLIC}; hidden/unavailable runs: {len(HIDDEN_TEST_IDS)}")
1024
+ print(f" Seed: {SEED}")
1025
+ print(f" Force/moment source: {force_source}")
1026
+ print(f" Geometry-parameter source: {geo_source}")
1027
+ print(f" Chamfer source: {chamfer_source}")
1028
+ print(f" Flow-image source: {image_source}")
1029
+ if force_source == "deterministic_proxy_missing_force_mom_all_csv":
1030
+ print(" WARNING: force_mom_all.csv not found; force-regime splits used proxy scores.")
1031
+ if geo_source == "deterministic_proxy_missing_geo_parameters_all_csv":
1032
+ print(" WARNING: geo_parameters_all.csv not found; data-efficiency subsets used proxy parameters.")
1033
+ if chamfer_source == "chamfer_metrics_csv_not_found":
1034
+ print(" WARNING: chamfer_metrics.csv not found; geometry split was not generated.")
1035
+ print()
1036
+
1037
+ split_names = sorted({k.rsplit("_", 1)[0] for k in splits})
1038
+ print(f" {'Split':<24s} {'Train':>6s} {'Val':>6s} {'Test':>6s} {'Total':>6s}")
1039
+ print(f" {'-' * 52}")
1040
+ for name in split_names:
1041
+ n_train = len(splits[f"{name}_train"])
1042
+ n_val = len(splits[f"{name}_val"])
1043
+ n_test = len(splits[f"{name}_test"])
1044
+ print(f" {name:<24s} {n_train:>6d} {n_val:>6d} {n_test:>6d} {n_train + n_val + n_test:>6d}")
1045
+ print()
1046
+
1047
+ SPLITS_DIR.mkdir(parents=True, exist_ok=True)
1048
+ output = SPLITS_DIR / "manifest.json"
1049
+ output.write_text(json.dumps(splits, indent=4) + "\n", encoding="utf-8")
1050
+ print(f" Manifest: {output}")
1051
+ print(f" Keys: {len(splits)}")
1052
+ print("All validations passed.")
1053
+
1054
+
1055
+ if __name__ == "__main__":
1056
+ main()
splits/geometry_split_examples.png ADDED

Git LFS Details

  • SHA256: 027571eb4a4e9d959c151c665a5c2fad4e9d606026f7664687aab4ced7fd0b52
  • Pointer size: 131 Bytes
  • Size of remote file: 715 kB
splits/image_metrics.csv ADDED
@@ -0,0 +1,485 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run,rear_separation_score,rear_separation_observed
2
+ 1,0.25272547842260684,true
3
+ 2,0.3164777364020835,true
4
+ 3,0.2929632797629087,true
5
+ 4,0.2068489048234909,true
6
+ 5,0.30840304831174864,true
7
+ 6,0.2910688710488444,true
8
+ 7,0.27885181609090004,true
9
+ 8,0.2719102569257368,true
10
+ 9,0.24240163153123787,true
11
+ 10,0.32959813206826877,true
12
+ 11,0.2360446719449199,true
13
+ 12,0.27281712326872964,true
14
+ 13,0.25442794730381324,true
15
+ 14,0.26748255411520716,true
16
+ 15,0.2891937554950017,true
17
+ 16,0.2833009745356684,true
18
+ 17,0.3083976791831533,true
19
+ 18,0.25741765330965494,true
20
+ 19,0.22635623368706076,true
21
+ 20,0.2658125648925125,true
22
+ 21,0.23843755040441056,true
23
+ 22,0.2753801481753036,true
24
+ 23,0.27976019833866417,true
25
+ 24,0.2728312376399111,true
26
+ 25,0.31244927130371875,true
27
+ 26,0.2512199320801266,true
28
+ 27,0.20987453422927613,true
29
+ 28,0.3015376344673631,true
30
+ 29,0.20158218507110626,true
31
+ 30,0.3063167949448006,true
32
+ 31,0.27296056829175497,true
33
+ 32,0.2824560274723106,true
34
+ 33,0.2785487790081147,true
35
+ 34,0.27790004950767366,true
36
+ 35,0.2967770190159291,true
37
+ 36,0.21882717372663352,true
38
+ 37,0.27637170573085124,true
39
+ 38,0.3325832368882041,true
40
+ 39,0.18598323613546475,true
41
+ 40,0.2529709113082462,true
42
+ 41,0.32255810490371495,true
43
+ 42,0.2382424914750675,true
44
+ 43,0.3146383119208039,true
45
+ 44,0.2711310431334678,true
46
+ 45,0.2954208776723287,true
47
+ 46,0.27728776653041776,true
48
+ 47,0.18216380708127405,true
49
+ 48,0.32583096635398084,true
50
+ 49,0.22369883178046443,true
51
+ 50,0.3250633288130904,true
52
+ 51,0.25490582318022204,true
53
+ 52,0.3302656622714021,true
54
+ 53,0.1876576097555991,true
55
+ 54,0.3162129787456505,true
56
+ 55,0.2621241826017942,true
57
+ 56,0.19197713644369066,true
58
+ 57,0.29827443666612363,true
59
+ 58,0.2331692344066614,true
60
+ 59,0.2839324497820098,true
61
+ 60,0.3277052973079895,true
62
+ 61,0.26567501253065257,true
63
+ 62,0.2758180934711547,true
64
+ 63,0.2872665435556304,true
65
+ 64,0.24561452613390372,true
66
+ 65,0.31811956742041825,true
67
+ 66,0.2989784147674965,true
68
+ 67,0.26721485329444405,true
69
+ 68,0.2851482876993081,true
70
+ 69,0.18776349500839296,true
71
+ 70,0.29114459668299447,true
72
+ 71,0.2736691819584977,true
73
+ 72,0.3168150541865845,true
74
+ 73,0.2819313221586729,true
75
+ 74,0.25252106312055295,true
76
+ 75,0.2738008547574874,true
77
+ 76,0.30070647672645173,true
78
+ 77,0.20895623819697637,true
79
+ 78,0.26534135791047614,true
80
+ 79,0.2783892683677861,true
81
+ 80,0.32904718053878995,true
82
+ 81,0.29640875109724574,true
83
+ 82,0.2008195567610277,true
84
+ 83,0.26786577526993316,true
85
+ 84,0.28101399442641767,true
86
+ 85,0.2919381937363184,true
87
+ 86,0.27144457945615164,true
88
+ 87,0.305206712365945,true
89
+ 88,0.24430161675059636,true
90
+ 89,0.3147487719912554,true
91
+ 90,0.20736603953513477,true
92
+ 91,0.2589118034015993,true
93
+ 92,0.2327747393158112,true
94
+ 93,0.2764297374457098,true
95
+ 94,0.28883183143387225,true
96
+ 95,0.2868886542525653,true
97
+ 96,0.25680151481171887,true
98
+ 97,0.22601744103669402,true
99
+ 98,0.29055438617257523,true
100
+ 99,0.2801335592151919,true
101
+ 100,0.15938819683717642,true
102
+ 101,0.2504536067407203,true
103
+ 102,0.34139525425239714,true
104
+ 103,0.30854924751408286,true
105
+ 104,0.23631797368472623,true
106
+ 105,0.32438814486833695,true
107
+ 106,0.2812988116609541,true
108
+ 107,0.2345332375803178,true
109
+ 108,0.2333461436522661,true
110
+ 109,0.21706224048060785,true
111
+ 110,0.31006896232067394,true
112
+ 111,0.25582745257097694,true
113
+ 112,0.24922607597042,true
114
+ 113,0.25361083790568184,true
115
+ 114,0.29245351941804354,true
116
+ 115,0.20012389710260164,true
117
+ 116,0.3229414921812881,true
118
+ 117,0.25858031050368363,true
119
+ 118,0.28608328240981307,true
120
+ 119,0.2477996900330362,true
121
+ 120,0.3159775686127464,true
122
+ 121,0.3363049305906449,true
123
+ 122,0.19120487675589717,true
124
+ 123,0.24672419654715788,true
125
+ 124,0.3113959509877877,true
126
+ 125,0.3463684175101195,true
127
+ 126,0.21954243224753262,true
128
+ 127,0.22328047267995724,true
129
+ 128,0.2872562977824299,true
130
+ 129,0.27967028282976536,true
131
+ 130,0.2667865297967339,true
132
+ 131,0.31803771251210605,true
133
+ 132,0.2348347257470907,true
134
+ 133,0.27521702787008906,true
135
+ 134,0.2581397625806312,true
136
+ 135,0.2342952135457102,true
137
+ 136,0.29314520841373687,true
138
+ 137,0.2448915389090615,true
139
+ 138,0.28847272530946,true
140
+ 139,0.31232960279516403,true
141
+ 140,0.2944654900921408,true
142
+ 141,0.29493870615365947,true
143
+ 142,0.21147906515253456,true
144
+ 143,0.22252903670196905,true
145
+ 144,0.3222474068532169,true
146
+ 145,0.21311602854517214,true
147
+ 146,0.2719803507370379,true
148
+ 147,0.28201232441028357,true
149
+ 148,0.3127756904797721,true
150
+ 149,0.24755655734799203,true
151
+ 150,0.28305459020603024,true
152
+ 151,0.28375907150127566,true
153
+ 152,0.20613566170717623,true
154
+ 153,0.2849727156307359,true
155
+ 154,0.29302556130917345,true
156
+ 155,0.20721408997293664,true
157
+ 156,0.2194870060122477,true
158
+ 157,0.24730543631459134,true
159
+ 158,0.3208941196696299,true
160
+ 159,0.2978190119468518,true
161
+ 160,0.26780646611420506,true
162
+ 161,0.3012387676591294,true
163
+ 162,0.2835473423614305,true
164
+ 163,0.21591937260898325,true
165
+ 164,0.2522821598795625,true
166
+ 165,0.24053263762113658,true
167
+ 166,0.3302768820403058,true
168
+ 168,0.258826060841288,true
169
+ 169,0.28262328713680207,true
170
+ 170,0.2643590256489756,true
171
+ 171,0.23039841447701623,true
172
+ 172,0.2772188103547245,true
173
+ 173,0.19362303747947662,true
174
+ 174,0.2842727019530414,true
175
+ 175,0.2204105134117139,true
176
+ 176,0.2971872704832712,true
177
+ 177,0.23135830368610982,true
178
+ 178,0.330385991464191,true
179
+ 179,0.26995178138287385,true
180
+ 180,0.3089506029684601,true
181
+ 181,0.22593668657944838,true
182
+ 182,0.25524333114211795,true
183
+ 183,0.29835961036608605,true
184
+ 184,0.2973428934116367,true
185
+ 185,0.3192274078073603,true
186
+ 186,0.16530684330311868,true
187
+ 187,0.3194990723562152,true
188
+ 188,0.25372726613122776,true
189
+ 189,0.3283730059240263,true
190
+ 190,0.18626311707944362,true
191
+ 191,0.2836886842649148,true
192
+ 192,0.2845131495381784,true
193
+ 193,0.26556372199229344,true
194
+ 194,0.31728949888002295,true
195
+ 195,0.2329617732950442,true
196
+ 196,0.21179765363631364,true
197
+ 197,0.26015926452859905,true
198
+ 198,0.29649520859219414,true
199
+ 199,0.29066116718679635,true
200
+ 200,0.2624773102385272,true
201
+ 201,0.2872509846599207,true
202
+ 202,0.2783382877316281,true
203
+ 203,0.2763546176046176,true
204
+ 204,0.23904432302391485,true
205
+ 205,0.2684076761627782,true
206
+ 206,0.2337897483946913,true
207
+ 207,0.25662294788045087,true
208
+ 208,0.29912638909526024,true
209
+ 209,0.2763634871487578,true
210
+ 210,0.25893077359413424,true
211
+ 212,0.3224908274296029,true
212
+ 213,0.33276578201144286,true
213
+ 214,0.26924920603942387,true
214
+ 215,0.2583692424508751,true
215
+ 216,0.23791141470954547,true
216
+ 217,0.31916859867337305,true
217
+ 219,0.27828892527014254,true
218
+ 220,0.3149133159757409,true
219
+ 222,0.26774921232476534,true
220
+ 223,0.24933975719882162,true
221
+ 224,0.2943874561195283,true
222
+ 225,0.283086601554082,true
223
+ 226,0.2591159151407598,true
224
+ 227,0.28823153966106474,true
225
+ 228,0.23694271479869214,true
226
+ 229,0.28747652716047334,true
227
+ 230,0.25296391057436335,true
228
+ 231,0.3250661715621619,true
229
+ 232,0.2416102265081857,true
230
+ 233,0.29213391373535236,true
231
+ 234,0.24632366552641205,true
232
+ 235,0.28087214106421793,true
233
+ 236,0.23615256408255525,true
234
+ 237,0.3063317570523546,true
235
+ 238,0.28147158687975016,true
236
+ 239,0.16355641170054436,true
237
+ 240,0.32666325762718607,true
238
+ 241,0.18628768959188674,true
239
+ 242,0.3223949099019311,true
240
+ 243,0.24446357834112936,true
241
+ 244,0.34077638844927094,true
242
+ 245,0.21330209039979417,true
243
+ 246,0.31141945974599033,true
244
+ 247,0.23881826648408283,true
245
+ 249,0.26476321802852415,true
246
+ 250,0.24531710062118453,true
247
+ 251,0.2699072339362751,true
248
+ 252,0.29006800396166665,true
249
+ 253,0.3129969461638235,true
250
+ 254,0.2776493409230724,true
251
+ 255,0.24700515310642382,true
252
+ 256,0.2650833429621393,true
253
+ 257,0.24792772554607184,true
254
+ 258,0.258663875542834,true
255
+ 259,0.3048720400031016,true
256
+ 260,0.23261911456900344,true
257
+ 261,0.295841237176314,true
258
+ 262,0.2616714010591562,true
259
+ 263,0.28627686089420784,true
260
+ 264,0.25695600318049294,true
261
+ 265,0.2644875622050703,true
262
+ 266,0.2595505803399527,true
263
+ 267,0.30403186850397457,true
264
+ 268,0.24841446968397746,true
265
+ 269,0.25334369403015045,true
266
+ 270,0.2666028413303144,true
267
+ 271,0.2669131288879188,true
268
+ 272,0.29494792095073585,true
269
+ 273,0.23785451225137916,true
270
+ 274,0.292967159909786,true
271
+ 275,0.24210148128515477,true
272
+ 276,0.3438440895838855,true
273
+ 277,0.20441117455487132,true
274
+ 278,0.3234341636038949,true
275
+ 279,0.3103214422723878,true
276
+ 280,0.2866653203953876,true
277
+ 281,0.3218705918683451,true
278
+ 283,0.25781936099336744,true
279
+ 284,0.2933239919344361,true
280
+ 285,0.2555851916055998,true
281
+ 286,0.2693634060008273,true
282
+ 287,0.25645683786319484,true
283
+ 288,0.3392371512423922,true
284
+ 289,0.32594825625163,true
285
+ 290,0.27270679717108287,true
286
+ 292,0.22852835283528353,true
287
+ 293,0.3209217102074245,true
288
+ 294,0.28973410434692143,true
289
+ 296,0.2770357204335744,true
290
+ 297,0.3038510113724271,true
291
+ 298,0.28471448166208885,true
292
+ 299,0.21258780318393639,true
293
+ 300,0.2721871618648745,true
294
+ 301,0.2613788861572609,true
295
+ 302,0.32259049351678637,true
296
+ 303,0.2182762390670554,true
297
+ 304,0.3037630468350125,true
298
+ 305,0.21443390197443218,true
299
+ 306,0.28718893351546415,true
300
+ 307,0.24138144793920868,true
301
+ 308,0.2894846642406043,true
302
+ 309,0.27770783749308536,true
303
+ 310,0.2674251258945136,true
304
+ 311,0.3050396399161168,true
305
+ 312,0.2266235984903452,true
306
+ 313,0.2637132505538359,true
307
+ 314,0.25172845690164547,true
308
+ 315,0.2997067784511547,true
309
+ 317,0.2809173485704098,true
310
+ 318,0.2310581596133761,true
311
+ 319,0.2769990560075274,true
312
+ 320,0.2453970132611934,true
313
+ 321,0.2957208523909528,true
314
+ 322,0.26947136596896504,true
315
+ 323,0.2915229475433557,true
316
+ 324,0.27811426641396303,true
317
+ 326,0.26743596726910646,true
318
+ 327,0.2401933511499838,true
319
+ 328,0.245842971784887,true
320
+ 330,0.3020189078180125,true
321
+ 331,0.2829871688935314,true
322
+ 332,0.31295440595923946,true
323
+ 333,0.18194350552133115,true
324
+ 334,0.2936814165675802,true
325
+ 335,0.24555373775242853,true
326
+ 336,0.3127523856501467,true
327
+ 337,0.2588629679636534,true
328
+ 338,0.27935965172561106,true
329
+ 339,0.28258142718543394,true
330
+ 340,0.3057080193527842,true
331
+ 341,0.2938710439584825,true
332
+ 342,0.31735994011504215,true
333
+ 343,0.2347897194675328,true
334
+ 344,0.24321159632684242,true
335
+ 345,0.3436190783484484,true
336
+ 346,0.22367442163815765,true
337
+ 347,0.2710488694429748,true
338
+ 348,0.31175003313013516,true
339
+ 349,0.3237770359141711,true
340
+ 350,0.24352481861794323,true
341
+ 351,0.20230648047744698,true
342
+ 352,0.29126819276553084,true
343
+ 353,0.28980128714822595,true
344
+ 354,0.30743008062289257,true
345
+ 355,0.2814300929607052,true
346
+ 356,0.1973157188463311,true
347
+ 357,0.24157100389840294,true
348
+ 358,0.2687523873284967,true
349
+ 359,0.31376806866602786,true
350
+ 360,0.23908802733887013,true
351
+ 361,0.3346844430611515,true
352
+ 362,0.27148958373448173,true
353
+ 363,0.27608404279298804,true
354
+ 365,0.28986335794892243,true
355
+ 366,0.25592481585424554,true
356
+ 367,0.2789413813110445,true
357
+ 368,0.29875410303981736,true
358
+ 369,0.29797413502056824,true
359
+ 371,0.22834646029426597,true
360
+ 372,0.276064247390778,true
361
+ 373,0.26276797720160383,true
362
+ 374,0.27486602894586654,true
363
+ 375,0.23874380037035453,true
364
+ 377,0.24518864484742803,true
365
+ 378,0.2066664369145178,true
366
+ 379,0.2806135342870037,true
367
+ 380,0.2813594960008371,true
368
+ 381,0.23897827403175695,true
369
+ 382,0.3078574410283594,true
370
+ 383,0.2591183161167759,true
371
+ 384,0.2768514566407917,true
372
+ 385,0.28334845610747084,true
373
+ 386,0.2833029526185754,true
374
+ 387,0.2527567729519815,true
375
+ 388,0.25677114358666187,true
376
+ 389,0.30394153025994053,true
377
+ 390,0.2473759586582074,true
378
+ 391,0.24801754643591378,true
379
+ 392,0.29142248031791473,true
380
+ 393,0.31860242317350584,true
381
+ 394,0.2683951316192328,true
382
+ 395,0.2216697396662014,true
383
+ 396,0.31519436345966956,true
384
+ 397,0.18266561126649494,true
385
+ 398,0.2626783881668955,true
386
+ 399,0.25341310550194107,true
387
+ 400,0.32356690940453303,true
388
+ 401,0.2611320504678225,true
389
+ 402,0.31631754099362963,true
390
+ 404,0.33420666694565726,true
391
+ 405,0.26262004167837316,true
392
+ 406,0.3479030236173093,true
393
+ 407,0.3126205936920222,true
394
+ 408,0.17716229451791005,true
395
+ 409,0.3198399396613682,true
396
+ 410,0.2615071796408817,true
397
+ 411,0.23213097824046322,true
398
+ 412,0.24152024219093765,true
399
+ 413,0.3139413041453858,true
400
+ 414,0.21837116234410486,true
401
+ 415,0.2754582845329824,true
402
+ 416,0.27728662942756127,true
403
+ 417,0.2627933017992661,true
404
+ 418,0.290861893208832,true
405
+ 419,0.25880333951762524,true
406
+ 420,0.2321312497823808,true
407
+ 421,0.23447338463959547,true
408
+ 422,0.3314758104451417,true
409
+ 423,0.3045578173549362,true
410
+ 424,0.2861661540461504,true
411
+ 425,0.29038785996253097,true
412
+ 426,0.3035218835712089,true
413
+ 427,0.2562884309567983,true
414
+ 428,0.2855165262575053,true
415
+ 429,0.20378410132324737,true
416
+ 430,0.3075874702498079,true
417
+ 431,0.246038958162409,true
418
+ 432,0.26067129725495797,true
419
+ 433,0.2815551529198499,true
420
+ 434,0.26411633769712783,true
421
+ 435,0.2986675477491804,true
422
+ 436,0.2847040290317602,true
423
+ 437,0.290408789230171,true
424
+ 438,0.23888666645199164,true
425
+ 439,0.2340263286811897,true
426
+ 440,0.3039345858223409,true
427
+ 441,0.28135241546551865,true
428
+ 442,0.23513425630627738,true
429
+ 443,0.3151483570451158,true
430
+ 444,0.30472272518029764,true
431
+ 445,0.2876206673145449,true
432
+ 446,0.23191425921017755,true
433
+ 447,0.1675047841622322,true
434
+ 448,0.27342449642194544,true
435
+ 449,0.3176367658838936,true
436
+ 450,0.2832253147943186,true
437
+ 451,0.31729715801144376,true
438
+ 452,0.20762801824026314,true
439
+ 453,0.30314379815038145,true
440
+ 454,0.1855732497311746,true
441
+ 455,0.3108186684421915,true
442
+ 456,0.23887679694313013,true
443
+ 457,0.27857897974185997,true
444
+ 458,0.21685669947066094,true
445
+ 459,0.27981065511100167,true
446
+ 460,0.2710025026541352,true
447
+ 461,0.21222425200205097,true
448
+ 462,0.30674485795298273,true
449
+ 463,0.29772729037706724,true
450
+ 464,0.293869417897029,true
451
+ 465,0.22267126003211093,true
452
+ 466,0.30049297128234365,true
453
+ 467,0.207484909108532,true
454
+ 468,0.32380120081979047,true
455
+ 469,0.21554899674678424,true
456
+ 470,0.29121323854217007,true
457
+ 471,0.29747234697524905,true
458
+ 472,0.2543257806023763,true
459
+ 474,0.2498217599329021,true
460
+ 475,0.28046908970678475,true
461
+ 476,0.3265925859407331,true
462
+ 477,0.23047756992977186,true
463
+ 478,0.2857257359753147,true
464
+ 479,0.21157005401617263,true
465
+ 480,0.32564144951919344,true
466
+ 481,0.27296148296602996,true
467
+ 482,0.26020031160385415,true
468
+ 483,0.2957815300480485,true
469
+ 484,0.27905688950051977,true
470
+ 485,0.2526443148688047,true
471
+ 486,0.30575381087738324,true
472
+ 487,0.2665856974657995,true
473
+ 488,0.2631131368769647,true
474
+ 489,0.3444804713777305,true
475
+ 490,0.23117391572760637,true
476
+ 491,0.17720433969896915,true
477
+ 492,0.2862750727996827,true
478
+ 493,0.3278433367688154,true
479
+ 494,0.22778925367127462,true
480
+ 495,0.24133720139665127,true
481
+ 496,0.3143652172336712,true
482
+ 497,0.23586910374777814,true
483
+ 498,0.28974669897363503,true
484
+ 499,0.23330238755814492,true
485
+ 500,0.24310930559101523,true
splits/image_regimes.png ADDED

Git LFS Details

  • SHA256: 534556accb2fa296b603a8173854776f95742deab3885ecd126e10f5b5ec0abb
  • Pointer size: 131 Bytes
  • Size of remote file: 186 kB
splits/image_split_examples.png ADDED

Git LFS Details

  • SHA256: b35bccafbcd9bbc8ad54229199cd7e019bbe8a70b84880558f167c344a7bf51c
  • Pointer size: 131 Bytes
  • Size of remote file: 223 kB
splits/manifest.json ADDED
@@ -0,0 +1,2933 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "full_train": [
3
+ "run_1",
4
+ "run_2",
5
+ "run_3",
6
+ "run_5",
7
+ "run_6",
8
+ "run_7",
9
+ "run_8",
10
+ "run_9",
11
+ "run_10",
12
+ "run_13",
13
+ "run_14",
14
+ "run_15",
15
+ "run_16",
16
+ "run_17",
17
+ "run_18",
18
+ "run_21",
19
+ "run_23",
20
+ "run_25",
21
+ "run_27",
22
+ "run_28",
23
+ "run_30",
24
+ "run_31",
25
+ "run_32",
26
+ "run_33",
27
+ "run_34",
28
+ "run_35",
29
+ "run_36",
30
+ "run_37",
31
+ "run_38",
32
+ "run_39",
33
+ "run_40",
34
+ "run_42",
35
+ "run_43",
36
+ "run_44",
37
+ "run_45",
38
+ "run_46",
39
+ "run_47",
40
+ "run_48",
41
+ "run_49",
42
+ "run_50",
43
+ "run_51",
44
+ "run_52",
45
+ "run_53",
46
+ "run_54",
47
+ "run_57",
48
+ "run_58",
49
+ "run_60",
50
+ "run_61",
51
+ "run_62",
52
+ "run_63",
53
+ "run_64",
54
+ "run_65",
55
+ "run_66",
56
+ "run_67",
57
+ "run_68",
58
+ "run_69",
59
+ "run_70",
60
+ "run_71",
61
+ "run_72",
62
+ "run_73",
63
+ "run_74",
64
+ "run_75",
65
+ "run_76",
66
+ "run_77",
67
+ "run_78",
68
+ "run_79",
69
+ "run_80",
70
+ "run_81",
71
+ "run_82",
72
+ "run_83",
73
+ "run_84",
74
+ "run_85",
75
+ "run_86",
76
+ "run_87",
77
+ "run_88",
78
+ "run_89",
79
+ "run_90",
80
+ "run_91",
81
+ "run_92",
82
+ "run_93",
83
+ "run_94",
84
+ "run_95",
85
+ "run_96",
86
+ "run_97",
87
+ "run_98",
88
+ "run_99",
89
+ "run_100",
90
+ "run_101",
91
+ "run_102",
92
+ "run_103",
93
+ "run_104",
94
+ "run_105",
95
+ "run_106",
96
+ "run_107",
97
+ "run_110",
98
+ "run_111",
99
+ "run_112",
100
+ "run_113",
101
+ "run_114",
102
+ "run_115",
103
+ "run_116",
104
+ "run_117",
105
+ "run_118",
106
+ "run_119",
107
+ "run_120",
108
+ "run_121",
109
+ "run_122",
110
+ "run_123",
111
+ "run_125",
112
+ "run_126",
113
+ "run_128",
114
+ "run_129",
115
+ "run_130",
116
+ "run_131",
117
+ "run_132",
118
+ "run_134",
119
+ "run_135",
120
+ "run_136",
121
+ "run_137",
122
+ "run_138",
123
+ "run_139",
124
+ "run_140",
125
+ "run_141",
126
+ "run_143",
127
+ "run_144",
128
+ "run_145",
129
+ "run_146",
130
+ "run_147",
131
+ "run_148",
132
+ "run_149",
133
+ "run_151",
134
+ "run_152",
135
+ "run_153",
136
+ "run_154",
137
+ "run_155",
138
+ "run_156",
139
+ "run_157",
140
+ "run_159",
141
+ "run_160",
142
+ "run_161",
143
+ "run_162",
144
+ "run_163",
145
+ "run_164",
146
+ "run_166",
147
+ "run_168",
148
+ "run_169",
149
+ "run_170",
150
+ "run_171",
151
+ "run_172",
152
+ "run_174",
153
+ "run_175",
154
+ "run_176",
155
+ "run_178",
156
+ "run_179",
157
+ "run_181",
158
+ "run_182",
159
+ "run_183",
160
+ "run_184",
161
+ "run_185",
162
+ "run_186",
163
+ "run_189",
164
+ "run_190",
165
+ "run_192",
166
+ "run_193",
167
+ "run_194",
168
+ "run_195",
169
+ "run_196",
170
+ "run_198",
171
+ "run_200",
172
+ "run_201",
173
+ "run_202",
174
+ "run_204",
175
+ "run_206",
176
+ "run_209",
177
+ "run_212",
178
+ "run_213",
179
+ "run_214",
180
+ "run_216",
181
+ "run_217",
182
+ "run_219",
183
+ "run_220",
184
+ "run_223",
185
+ "run_224",
186
+ "run_225",
187
+ "run_227",
188
+ "run_229",
189
+ "run_230",
190
+ "run_231",
191
+ "run_232",
192
+ "run_233",
193
+ "run_235",
194
+ "run_236",
195
+ "run_237",
196
+ "run_238",
197
+ "run_239",
198
+ "run_240",
199
+ "run_242",
200
+ "run_243",
201
+ "run_244",
202
+ "run_245",
203
+ "run_246",
204
+ "run_249",
205
+ "run_250",
206
+ "run_251",
207
+ "run_254",
208
+ "run_255",
209
+ "run_256",
210
+ "run_257",
211
+ "run_259",
212
+ "run_261",
213
+ "run_262",
214
+ "run_264",
215
+ "run_265",
216
+ "run_266",
217
+ "run_267",
218
+ "run_268",
219
+ "run_269",
220
+ "run_270",
221
+ "run_272",
222
+ "run_273",
223
+ "run_274",
224
+ "run_276",
225
+ "run_277",
226
+ "run_278",
227
+ "run_279",
228
+ "run_281",
229
+ "run_283",
230
+ "run_285",
231
+ "run_286",
232
+ "run_287",
233
+ "run_288",
234
+ "run_289",
235
+ "run_292",
236
+ "run_293",
237
+ "run_294",
238
+ "run_296",
239
+ "run_297",
240
+ "run_299",
241
+ "run_300",
242
+ "run_301",
243
+ "run_302",
244
+ "run_304",
245
+ "run_305",
246
+ "run_306",
247
+ "run_307",
248
+ "run_308",
249
+ "run_309",
250
+ "run_310",
251
+ "run_312",
252
+ "run_313",
253
+ "run_314",
254
+ "run_315",
255
+ "run_317",
256
+ "run_318",
257
+ "run_319",
258
+ "run_320",
259
+ "run_323",
260
+ "run_326",
261
+ "run_327",
262
+ "run_330",
263
+ "run_331",
264
+ "run_332",
265
+ "run_333",
266
+ "run_334",
267
+ "run_335",
268
+ "run_336",
269
+ "run_338",
270
+ "run_339",
271
+ "run_340",
272
+ "run_342",
273
+ "run_343",
274
+ "run_344",
275
+ "run_345",
276
+ "run_346",
277
+ "run_347",
278
+ "run_348",
279
+ "run_349",
280
+ "run_351",
281
+ "run_353",
282
+ "run_355",
283
+ "run_356",
284
+ "run_357",
285
+ "run_358",
286
+ "run_359",
287
+ "run_360",
288
+ "run_361",
289
+ "run_362",
290
+ "run_365",
291
+ "run_367",
292
+ "run_368",
293
+ "run_369",
294
+ "run_371",
295
+ "run_373",
296
+ "run_374",
297
+ "run_375",
298
+ "run_377",
299
+ "run_378",
300
+ "run_379",
301
+ "run_381",
302
+ "run_383",
303
+ "run_384",
304
+ "run_385",
305
+ "run_386",
306
+ "run_388",
307
+ "run_389",
308
+ "run_391",
309
+ "run_392",
310
+ "run_393",
311
+ "run_394",
312
+ "run_395",
313
+ "run_396",
314
+ "run_397",
315
+ "run_398",
316
+ "run_399",
317
+ "run_400",
318
+ "run_402",
319
+ "run_404",
320
+ "run_406",
321
+ "run_407",
322
+ "run_408",
323
+ "run_409",
324
+ "run_411",
325
+ "run_412",
326
+ "run_413",
327
+ "run_414",
328
+ "run_415",
329
+ "run_416",
330
+ "run_417",
331
+ "run_418",
332
+ "run_419",
333
+ "run_420",
334
+ "run_421",
335
+ "run_422",
336
+ "run_425",
337
+ "run_426",
338
+ "run_427",
339
+ "run_430",
340
+ "run_431",
341
+ "run_432",
342
+ "run_433",
343
+ "run_434",
344
+ "run_435",
345
+ "run_437",
346
+ "run_438",
347
+ "run_439",
348
+ "run_440",
349
+ "run_442",
350
+ "run_443",
351
+ "run_444",
352
+ "run_445",
353
+ "run_446",
354
+ "run_448",
355
+ "run_449",
356
+ "run_450",
357
+ "run_451",
358
+ "run_452",
359
+ "run_453",
360
+ "run_455",
361
+ "run_456",
362
+ "run_457",
363
+ "run_458",
364
+ "run_459",
365
+ "run_460",
366
+ "run_461",
367
+ "run_462",
368
+ "run_463",
369
+ "run_464",
370
+ "run_465",
371
+ "run_466",
372
+ "run_467",
373
+ "run_468",
374
+ "run_469",
375
+ "run_470",
376
+ "run_471",
377
+ "run_474",
378
+ "run_475",
379
+ "run_476",
380
+ "run_477",
381
+ "run_478",
382
+ "run_479",
383
+ "run_480",
384
+ "run_481",
385
+ "run_482",
386
+ "run_483",
387
+ "run_484",
388
+ "run_485",
389
+ "run_486",
390
+ "run_488",
391
+ "run_489",
392
+ "run_490",
393
+ "run_491",
394
+ "run_492",
395
+ "run_493",
396
+ "run_494",
397
+ "run_495",
398
+ "run_496",
399
+ "run_497",
400
+ "run_498",
401
+ "run_499",
402
+ "run_500"
403
+ ],
404
+ "full_val": [
405
+ "run_4",
406
+ "run_22",
407
+ "run_56",
408
+ "run_109",
409
+ "run_150",
410
+ "run_165",
411
+ "run_177",
412
+ "run_191",
413
+ "run_228",
414
+ "run_234",
415
+ "run_241",
416
+ "run_247",
417
+ "run_252",
418
+ "run_253",
419
+ "run_260",
420
+ "run_271",
421
+ "run_275",
422
+ "run_298",
423
+ "run_303",
424
+ "run_311",
425
+ "run_321",
426
+ "run_324",
427
+ "run_328",
428
+ "run_341",
429
+ "run_352",
430
+ "run_366",
431
+ "run_380",
432
+ "run_390",
433
+ "run_401",
434
+ "run_423",
435
+ "run_441",
436
+ "run_447",
437
+ "run_454",
438
+ "run_487"
439
+ ],
440
+ "full_test": [
441
+ "run_11",
442
+ "run_12",
443
+ "run_19",
444
+ "run_20",
445
+ "run_24",
446
+ "run_26",
447
+ "run_29",
448
+ "run_41",
449
+ "run_55",
450
+ "run_59",
451
+ "run_108",
452
+ "run_124",
453
+ "run_127",
454
+ "run_133",
455
+ "run_142",
456
+ "run_158",
457
+ "run_173",
458
+ "run_180",
459
+ "run_187",
460
+ "run_188",
461
+ "run_197",
462
+ "run_199",
463
+ "run_203",
464
+ "run_205",
465
+ "run_207",
466
+ "run_208",
467
+ "run_210",
468
+ "run_215",
469
+ "run_222",
470
+ "run_226",
471
+ "run_258",
472
+ "run_263",
473
+ "run_280",
474
+ "run_284",
475
+ "run_290",
476
+ "run_322",
477
+ "run_337",
478
+ "run_350",
479
+ "run_354",
480
+ "run_363",
481
+ "run_372",
482
+ "run_382",
483
+ "run_387",
484
+ "run_405",
485
+ "run_410",
486
+ "run_424",
487
+ "run_428",
488
+ "run_429",
489
+ "run_436",
490
+ "run_472"
491
+ ],
492
+ "medium_train": [
493
+ "run_3",
494
+ "run_5",
495
+ "run_6",
496
+ "run_10",
497
+ "run_14",
498
+ "run_16",
499
+ "run_28",
500
+ "run_36",
501
+ "run_38",
502
+ "run_39",
503
+ "run_42",
504
+ "run_43",
505
+ "run_45",
506
+ "run_49",
507
+ "run_53",
508
+ "run_58",
509
+ "run_62",
510
+ "run_73",
511
+ "run_75",
512
+ "run_80",
513
+ "run_84",
514
+ "run_85",
515
+ "run_88",
516
+ "run_94",
517
+ "run_95",
518
+ "run_97",
519
+ "run_98",
520
+ "run_100",
521
+ "run_102",
522
+ "run_112",
523
+ "run_115",
524
+ "run_120",
525
+ "run_138",
526
+ "run_146",
527
+ "run_149",
528
+ "run_152",
529
+ "run_160",
530
+ "run_161",
531
+ "run_162",
532
+ "run_163",
533
+ "run_166",
534
+ "run_169",
535
+ "run_171",
536
+ "run_172",
537
+ "run_175",
538
+ "run_178",
539
+ "run_183",
540
+ "run_184",
541
+ "run_186",
542
+ "run_189",
543
+ "run_195",
544
+ "run_198",
545
+ "run_209",
546
+ "run_213",
547
+ "run_217",
548
+ "run_220",
549
+ "run_230",
550
+ "run_231",
551
+ "run_233",
552
+ "run_237",
553
+ "run_239",
554
+ "run_243",
555
+ "run_246",
556
+ "run_250",
557
+ "run_251",
558
+ "run_255",
559
+ "run_256",
560
+ "run_262",
561
+ "run_265",
562
+ "run_269",
563
+ "run_272",
564
+ "run_276",
565
+ "run_277",
566
+ "run_281",
567
+ "run_285",
568
+ "run_287",
569
+ "run_293",
570
+ "run_296",
571
+ "run_301",
572
+ "run_304",
573
+ "run_306",
574
+ "run_307",
575
+ "run_317",
576
+ "run_331",
577
+ "run_336",
578
+ "run_340",
579
+ "run_343",
580
+ "run_347",
581
+ "run_349",
582
+ "run_356",
583
+ "run_357",
584
+ "run_362",
585
+ "run_368",
586
+ "run_369",
587
+ "run_386",
588
+ "run_391",
589
+ "run_397",
590
+ "run_399",
591
+ "run_408",
592
+ "run_412",
593
+ "run_415",
594
+ "run_420",
595
+ "run_421",
596
+ "run_425",
597
+ "run_427",
598
+ "run_430",
599
+ "run_432",
600
+ "run_433",
601
+ "run_439",
602
+ "run_440",
603
+ "run_445",
604
+ "run_446",
605
+ "run_450",
606
+ "run_451",
607
+ "run_452",
608
+ "run_453",
609
+ "run_455",
610
+ "run_456",
611
+ "run_457",
612
+ "run_461",
613
+ "run_465",
614
+ "run_469",
615
+ "run_470",
616
+ "run_476",
617
+ "run_477",
618
+ "run_479",
619
+ "run_481",
620
+ "run_484",
621
+ "run_485",
622
+ "run_486",
623
+ "run_492",
624
+ "run_496",
625
+ "run_497"
626
+ ],
627
+ "medium_val": [
628
+ "run_4",
629
+ "run_22",
630
+ "run_56",
631
+ "run_109",
632
+ "run_150",
633
+ "run_165",
634
+ "run_177",
635
+ "run_191",
636
+ "run_228",
637
+ "run_234",
638
+ "run_241",
639
+ "run_247",
640
+ "run_252",
641
+ "run_253",
642
+ "run_260",
643
+ "run_271",
644
+ "run_275",
645
+ "run_298",
646
+ "run_303",
647
+ "run_311",
648
+ "run_321",
649
+ "run_324",
650
+ "run_328",
651
+ "run_341",
652
+ "run_352",
653
+ "run_366",
654
+ "run_380",
655
+ "run_390",
656
+ "run_401",
657
+ "run_423",
658
+ "run_441",
659
+ "run_447",
660
+ "run_454",
661
+ "run_487"
662
+ ],
663
+ "medium_test": [
664
+ "run_11",
665
+ "run_12",
666
+ "run_19",
667
+ "run_20",
668
+ "run_24",
669
+ "run_26",
670
+ "run_29",
671
+ "run_41",
672
+ "run_55",
673
+ "run_59",
674
+ "run_108",
675
+ "run_124",
676
+ "run_127",
677
+ "run_133",
678
+ "run_142",
679
+ "run_158",
680
+ "run_173",
681
+ "run_180",
682
+ "run_187",
683
+ "run_188",
684
+ "run_197",
685
+ "run_199",
686
+ "run_203",
687
+ "run_205",
688
+ "run_207",
689
+ "run_208",
690
+ "run_210",
691
+ "run_215",
692
+ "run_222",
693
+ "run_226",
694
+ "run_258",
695
+ "run_263",
696
+ "run_280",
697
+ "run_284",
698
+ "run_290",
699
+ "run_322",
700
+ "run_337",
701
+ "run_350",
702
+ "run_354",
703
+ "run_363",
704
+ "run_372",
705
+ "run_382",
706
+ "run_387",
707
+ "run_405",
708
+ "run_410",
709
+ "run_424",
710
+ "run_428",
711
+ "run_429",
712
+ "run_436",
713
+ "run_472"
714
+ ],
715
+ "scarce_train": [
716
+ "run_3",
717
+ "run_10",
718
+ "run_16",
719
+ "run_38",
720
+ "run_39",
721
+ "run_43",
722
+ "run_45",
723
+ "run_49",
724
+ "run_53",
725
+ "run_62",
726
+ "run_73",
727
+ "run_75",
728
+ "run_80",
729
+ "run_85",
730
+ "run_94",
731
+ "run_98",
732
+ "run_102",
733
+ "run_112",
734
+ "run_115",
735
+ "run_161",
736
+ "run_169",
737
+ "run_172",
738
+ "run_186",
739
+ "run_209",
740
+ "run_213",
741
+ "run_220",
742
+ "run_230",
743
+ "run_231",
744
+ "run_233",
745
+ "run_237",
746
+ "run_256",
747
+ "run_262",
748
+ "run_269",
749
+ "run_272",
750
+ "run_276",
751
+ "run_277",
752
+ "run_301",
753
+ "run_306",
754
+ "run_307",
755
+ "run_317",
756
+ "run_343",
757
+ "run_347",
758
+ "run_356",
759
+ "run_357",
760
+ "run_362",
761
+ "run_369",
762
+ "run_391",
763
+ "run_397",
764
+ "run_399",
765
+ "run_412",
766
+ "run_425",
767
+ "run_427",
768
+ "run_432",
769
+ "run_439",
770
+ "run_445",
771
+ "run_452",
772
+ "run_455",
773
+ "run_457",
774
+ "run_461",
775
+ "run_465",
776
+ "run_469",
777
+ "run_476",
778
+ "run_477",
779
+ "run_484",
780
+ "run_486",
781
+ "run_492",
782
+ "run_497"
783
+ ],
784
+ "scarce_val": [
785
+ "run_4",
786
+ "run_22",
787
+ "run_56",
788
+ "run_109",
789
+ "run_150",
790
+ "run_165",
791
+ "run_177",
792
+ "run_191",
793
+ "run_228",
794
+ "run_234",
795
+ "run_241",
796
+ "run_247",
797
+ "run_252",
798
+ "run_253",
799
+ "run_260",
800
+ "run_271",
801
+ "run_275",
802
+ "run_298",
803
+ "run_303",
804
+ "run_311",
805
+ "run_321",
806
+ "run_324",
807
+ "run_328",
808
+ "run_341",
809
+ "run_352",
810
+ "run_366",
811
+ "run_380",
812
+ "run_390",
813
+ "run_401",
814
+ "run_423",
815
+ "run_441",
816
+ "run_447",
817
+ "run_454",
818
+ "run_487"
819
+ ],
820
+ "scarce_test": [
821
+ "run_11",
822
+ "run_12",
823
+ "run_19",
824
+ "run_20",
825
+ "run_24",
826
+ "run_26",
827
+ "run_29",
828
+ "run_41",
829
+ "run_55",
830
+ "run_59",
831
+ "run_108",
832
+ "run_124",
833
+ "run_127",
834
+ "run_133",
835
+ "run_142",
836
+ "run_158",
837
+ "run_173",
838
+ "run_180",
839
+ "run_187",
840
+ "run_188",
841
+ "run_197",
842
+ "run_199",
843
+ "run_203",
844
+ "run_205",
845
+ "run_207",
846
+ "run_208",
847
+ "run_210",
848
+ "run_215",
849
+ "run_222",
850
+ "run_226",
851
+ "run_258",
852
+ "run_263",
853
+ "run_280",
854
+ "run_284",
855
+ "run_290",
856
+ "run_322",
857
+ "run_337",
858
+ "run_350",
859
+ "run_354",
860
+ "run_363",
861
+ "run_372",
862
+ "run_382",
863
+ "run_387",
864
+ "run_405",
865
+ "run_410",
866
+ "run_424",
867
+ "run_428",
868
+ "run_429",
869
+ "run_436",
870
+ "run_472"
871
+ ],
872
+ "super_scarce_train": [
873
+ "run_39",
874
+ "run_49",
875
+ "run_85",
876
+ "run_115",
877
+ "run_186",
878
+ "run_220",
879
+ "run_277",
880
+ "run_357",
881
+ "run_412",
882
+ "run_455",
883
+ "run_477"
884
+ ],
885
+ "super_scarce_val": [
886
+ "run_4",
887
+ "run_22",
888
+ "run_56",
889
+ "run_109",
890
+ "run_150",
891
+ "run_165",
892
+ "run_177",
893
+ "run_191",
894
+ "run_228",
895
+ "run_234",
896
+ "run_241",
897
+ "run_247",
898
+ "run_252",
899
+ "run_253",
900
+ "run_260",
901
+ "run_271",
902
+ "run_275",
903
+ "run_298",
904
+ "run_303",
905
+ "run_311",
906
+ "run_321",
907
+ "run_324",
908
+ "run_328",
909
+ "run_341",
910
+ "run_352",
911
+ "run_366",
912
+ "run_380",
913
+ "run_390",
914
+ "run_401",
915
+ "run_423",
916
+ "run_441",
917
+ "run_447",
918
+ "run_454",
919
+ "run_487"
920
+ ],
921
+ "super_scarce_test": [
922
+ "run_11",
923
+ "run_12",
924
+ "run_19",
925
+ "run_20",
926
+ "run_24",
927
+ "run_26",
928
+ "run_29",
929
+ "run_41",
930
+ "run_55",
931
+ "run_59",
932
+ "run_108",
933
+ "run_124",
934
+ "run_127",
935
+ "run_133",
936
+ "run_142",
937
+ "run_158",
938
+ "run_173",
939
+ "run_180",
940
+ "run_187",
941
+ "run_188",
942
+ "run_197",
943
+ "run_199",
944
+ "run_203",
945
+ "run_205",
946
+ "run_207",
947
+ "run_208",
948
+ "run_210",
949
+ "run_215",
950
+ "run_222",
951
+ "run_226",
952
+ "run_258",
953
+ "run_263",
954
+ "run_280",
955
+ "run_284",
956
+ "run_290",
957
+ "run_322",
958
+ "run_337",
959
+ "run_350",
960
+ "run_354",
961
+ "run_363",
962
+ "run_372",
963
+ "run_382",
964
+ "run_387",
965
+ "run_405",
966
+ "run_410",
967
+ "run_424",
968
+ "run_428",
969
+ "run_429",
970
+ "run_436",
971
+ "run_472"
972
+ ],
973
+ "high_drag_train": [
974
+ "run_2",
975
+ "run_3",
976
+ "run_4",
977
+ "run_5",
978
+ "run_6",
979
+ "run_7",
980
+ "run_9",
981
+ "run_10",
982
+ "run_12",
983
+ "run_13",
984
+ "run_16",
985
+ "run_17",
986
+ "run_20",
987
+ "run_21",
988
+ "run_24",
989
+ "run_25",
990
+ "run_26",
991
+ "run_27",
992
+ "run_28",
993
+ "run_30",
994
+ "run_31",
995
+ "run_32",
996
+ "run_33",
997
+ "run_35",
998
+ "run_36",
999
+ "run_38",
1000
+ "run_40",
1001
+ "run_41",
1002
+ "run_42",
1003
+ "run_43",
1004
+ "run_45",
1005
+ "run_46",
1006
+ "run_48",
1007
+ "run_50",
1008
+ "run_51",
1009
+ "run_54",
1010
+ "run_55",
1011
+ "run_57",
1012
+ "run_58",
1013
+ "run_59",
1014
+ "run_60",
1015
+ "run_61",
1016
+ "run_62",
1017
+ "run_63",
1018
+ "run_64",
1019
+ "run_66",
1020
+ "run_67",
1021
+ "run_68",
1022
+ "run_70",
1023
+ "run_71",
1024
+ "run_72",
1025
+ "run_74",
1026
+ "run_75",
1027
+ "run_76",
1028
+ "run_80",
1029
+ "run_81",
1030
+ "run_83",
1031
+ "run_84",
1032
+ "run_85",
1033
+ "run_86",
1034
+ "run_89",
1035
+ "run_90",
1036
+ "run_91",
1037
+ "run_92",
1038
+ "run_93",
1039
+ "run_94",
1040
+ "run_95",
1041
+ "run_97",
1042
+ "run_98",
1043
+ "run_99",
1044
+ "run_100",
1045
+ "run_101",
1046
+ "run_102",
1047
+ "run_103",
1048
+ "run_104",
1049
+ "run_105",
1050
+ "run_106",
1051
+ "run_107",
1052
+ "run_111",
1053
+ "run_113",
1054
+ "run_114",
1055
+ "run_117",
1056
+ "run_118",
1057
+ "run_119",
1058
+ "run_120",
1059
+ "run_121",
1060
+ "run_124",
1061
+ "run_125",
1062
+ "run_127",
1063
+ "run_128",
1064
+ "run_130",
1065
+ "run_131",
1066
+ "run_133",
1067
+ "run_134",
1068
+ "run_136",
1069
+ "run_137",
1070
+ "run_139",
1071
+ "run_140",
1072
+ "run_141",
1073
+ "run_142",
1074
+ "run_144",
1075
+ "run_145",
1076
+ "run_147",
1077
+ "run_149",
1078
+ "run_150",
1079
+ "run_152",
1080
+ "run_153",
1081
+ "run_156",
1082
+ "run_157",
1083
+ "run_159",
1084
+ "run_160",
1085
+ "run_161",
1086
+ "run_162",
1087
+ "run_164",
1088
+ "run_166",
1089
+ "run_168",
1090
+ "run_169",
1091
+ "run_170",
1092
+ "run_171",
1093
+ "run_172",
1094
+ "run_175",
1095
+ "run_176",
1096
+ "run_177",
1097
+ "run_178",
1098
+ "run_179",
1099
+ "run_180",
1100
+ "run_182",
1101
+ "run_183",
1102
+ "run_185",
1103
+ "run_187",
1104
+ "run_189",
1105
+ "run_191",
1106
+ "run_192",
1107
+ "run_193",
1108
+ "run_194",
1109
+ "run_195",
1110
+ "run_197",
1111
+ "run_198",
1112
+ "run_200",
1113
+ "run_201",
1114
+ "run_202",
1115
+ "run_203",
1116
+ "run_205",
1117
+ "run_207",
1118
+ "run_208",
1119
+ "run_209",
1120
+ "run_212",
1121
+ "run_213",
1122
+ "run_214",
1123
+ "run_215",
1124
+ "run_217",
1125
+ "run_220",
1126
+ "run_222",
1127
+ "run_224",
1128
+ "run_225",
1129
+ "run_227",
1130
+ "run_228",
1131
+ "run_231",
1132
+ "run_232",
1133
+ "run_233",
1134
+ "run_236",
1135
+ "run_237",
1136
+ "run_240",
1137
+ "run_241",
1138
+ "run_242",
1139
+ "run_244",
1140
+ "run_246",
1141
+ "run_249",
1142
+ "run_251",
1143
+ "run_252",
1144
+ "run_253",
1145
+ "run_254",
1146
+ "run_256",
1147
+ "run_257",
1148
+ "run_259",
1149
+ "run_260",
1150
+ "run_261",
1151
+ "run_262",
1152
+ "run_263",
1153
+ "run_264",
1154
+ "run_265",
1155
+ "run_266",
1156
+ "run_267",
1157
+ "run_268",
1158
+ "run_270",
1159
+ "run_271",
1160
+ "run_272",
1161
+ "run_273",
1162
+ "run_274",
1163
+ "run_276",
1164
+ "run_278",
1165
+ "run_279",
1166
+ "run_280",
1167
+ "run_281",
1168
+ "run_283",
1169
+ "run_284",
1170
+ "run_285",
1171
+ "run_286",
1172
+ "run_287",
1173
+ "run_288",
1174
+ "run_290",
1175
+ "run_294",
1176
+ "run_296",
1177
+ "run_297",
1178
+ "run_298",
1179
+ "run_300",
1180
+ "run_301",
1181
+ "run_302",
1182
+ "run_304",
1183
+ "run_305",
1184
+ "run_306",
1185
+ "run_308",
1186
+ "run_310",
1187
+ "run_311",
1188
+ "run_313",
1189
+ "run_314",
1190
+ "run_315",
1191
+ "run_317",
1192
+ "run_321",
1193
+ "run_322",
1194
+ "run_323",
1195
+ "run_326",
1196
+ "run_327",
1197
+ "run_328",
1198
+ "run_330",
1199
+ "run_332",
1200
+ "run_334",
1201
+ "run_336",
1202
+ "run_337",
1203
+ "run_338",
1204
+ "run_339",
1205
+ "run_341",
1206
+ "run_344",
1207
+ "run_345",
1208
+ "run_346",
1209
+ "run_347",
1210
+ "run_348",
1211
+ "run_349",
1212
+ "run_351",
1213
+ "run_353",
1214
+ "run_354",
1215
+ "run_355",
1216
+ "run_356",
1217
+ "run_358",
1218
+ "run_359",
1219
+ "run_361",
1220
+ "run_362",
1221
+ "run_365",
1222
+ "run_366",
1223
+ "run_368",
1224
+ "run_373",
1225
+ "run_374",
1226
+ "run_375",
1227
+ "run_378",
1228
+ "run_380",
1229
+ "run_382",
1230
+ "run_383",
1231
+ "run_384",
1232
+ "run_385",
1233
+ "run_386",
1234
+ "run_388",
1235
+ "run_392",
1236
+ "run_393",
1237
+ "run_394",
1238
+ "run_395",
1239
+ "run_396",
1240
+ "run_398",
1241
+ "run_399",
1242
+ "run_400",
1243
+ "run_401",
1244
+ "run_402",
1245
+ "run_404",
1246
+ "run_405",
1247
+ "run_406",
1248
+ "run_407",
1249
+ "run_409",
1250
+ "run_410",
1251
+ "run_411",
1252
+ "run_415",
1253
+ "run_416",
1254
+ "run_418",
1255
+ "run_419",
1256
+ "run_421",
1257
+ "run_422",
1258
+ "run_423",
1259
+ "run_424",
1260
+ "run_425",
1261
+ "run_426",
1262
+ "run_427",
1263
+ "run_428",
1264
+ "run_430",
1265
+ "run_432",
1266
+ "run_433",
1267
+ "run_434",
1268
+ "run_435",
1269
+ "run_437",
1270
+ "run_438",
1271
+ "run_440",
1272
+ "run_441",
1273
+ "run_442",
1274
+ "run_443",
1275
+ "run_444",
1276
+ "run_446",
1277
+ "run_447",
1278
+ "run_448",
1279
+ "run_449",
1280
+ "run_450",
1281
+ "run_451",
1282
+ "run_453",
1283
+ "run_455",
1284
+ "run_456",
1285
+ "run_457",
1286
+ "run_458",
1287
+ "run_459",
1288
+ "run_460",
1289
+ "run_462",
1290
+ "run_463",
1291
+ "run_464",
1292
+ "run_468",
1293
+ "run_470",
1294
+ "run_471",
1295
+ "run_475",
1296
+ "run_476",
1297
+ "run_478",
1298
+ "run_479",
1299
+ "run_480",
1300
+ "run_481",
1301
+ "run_482",
1302
+ "run_483",
1303
+ "run_485",
1304
+ "run_486",
1305
+ "run_487",
1306
+ "run_488",
1307
+ "run_489",
1308
+ "run_492",
1309
+ "run_493",
1310
+ "run_496",
1311
+ "run_497",
1312
+ "run_499"
1313
+ ],
1314
+ "high_drag_val": [
1315
+ "run_15",
1316
+ "run_23",
1317
+ "run_34",
1318
+ "run_37",
1319
+ "run_52",
1320
+ "run_65",
1321
+ "run_73",
1322
+ "run_87",
1323
+ "run_96",
1324
+ "run_109",
1325
+ "run_110",
1326
+ "run_116",
1327
+ "run_146",
1328
+ "run_151",
1329
+ "run_154",
1330
+ "run_158",
1331
+ "run_174",
1332
+ "run_188",
1333
+ "run_199",
1334
+ "run_223",
1335
+ "run_229",
1336
+ "run_230",
1337
+ "run_235",
1338
+ "run_238",
1339
+ "run_255",
1340
+ "run_269",
1341
+ "run_289",
1342
+ "run_293",
1343
+ "run_309",
1344
+ "run_312",
1345
+ "run_319",
1346
+ "run_331",
1347
+ "run_335",
1348
+ "run_340",
1349
+ "run_342",
1350
+ "run_363",
1351
+ "run_369",
1352
+ "run_372",
1353
+ "run_389",
1354
+ "run_397",
1355
+ "run_413",
1356
+ "run_466",
1357
+ "run_467",
1358
+ "run_472",
1359
+ "run_474",
1360
+ "run_484",
1361
+ "run_494",
1362
+ "run_498"
1363
+ ],
1364
+ "high_drag_test": [
1365
+ "run_1",
1366
+ "run_8",
1367
+ "run_11",
1368
+ "run_14",
1369
+ "run_18",
1370
+ "run_19",
1371
+ "run_22",
1372
+ "run_29",
1373
+ "run_39",
1374
+ "run_44",
1375
+ "run_47",
1376
+ "run_49",
1377
+ "run_53",
1378
+ "run_56",
1379
+ "run_69",
1380
+ "run_77",
1381
+ "run_78",
1382
+ "run_79",
1383
+ "run_82",
1384
+ "run_88",
1385
+ "run_108",
1386
+ "run_112",
1387
+ "run_115",
1388
+ "run_122",
1389
+ "run_123",
1390
+ "run_126",
1391
+ "run_129",
1392
+ "run_132",
1393
+ "run_135",
1394
+ "run_138",
1395
+ "run_143",
1396
+ "run_148",
1397
+ "run_155",
1398
+ "run_163",
1399
+ "run_165",
1400
+ "run_173",
1401
+ "run_181",
1402
+ "run_184",
1403
+ "run_186",
1404
+ "run_190",
1405
+ "run_196",
1406
+ "run_204",
1407
+ "run_206",
1408
+ "run_210",
1409
+ "run_216",
1410
+ "run_219",
1411
+ "run_226",
1412
+ "run_234",
1413
+ "run_239",
1414
+ "run_243",
1415
+ "run_245",
1416
+ "run_247",
1417
+ "run_250",
1418
+ "run_258",
1419
+ "run_275",
1420
+ "run_277",
1421
+ "run_292",
1422
+ "run_299",
1423
+ "run_303",
1424
+ "run_307",
1425
+ "run_318",
1426
+ "run_320",
1427
+ "run_324",
1428
+ "run_333",
1429
+ "run_343",
1430
+ "run_350",
1431
+ "run_352",
1432
+ "run_357",
1433
+ "run_360",
1434
+ "run_367",
1435
+ "run_371",
1436
+ "run_377",
1437
+ "run_379",
1438
+ "run_381",
1439
+ "run_387",
1440
+ "run_390",
1441
+ "run_391",
1442
+ "run_408",
1443
+ "run_412",
1444
+ "run_414",
1445
+ "run_417",
1446
+ "run_420",
1447
+ "run_429",
1448
+ "run_431",
1449
+ "run_436",
1450
+ "run_439",
1451
+ "run_445",
1452
+ "run_452",
1453
+ "run_454",
1454
+ "run_461",
1455
+ "run_465",
1456
+ "run_469",
1457
+ "run_477",
1458
+ "run_490",
1459
+ "run_491",
1460
+ "run_495",
1461
+ "run_500"
1462
+ ],
1463
+ "low_drag_train": [
1464
+ "run_1",
1465
+ "run_4",
1466
+ "run_6",
1467
+ "run_7",
1468
+ "run_9",
1469
+ "run_11",
1470
+ "run_12",
1471
+ "run_13",
1472
+ "run_14",
1473
+ "run_16",
1474
+ "run_18",
1475
+ "run_19",
1476
+ "run_20",
1477
+ "run_21",
1478
+ "run_22",
1479
+ "run_23",
1480
+ "run_24",
1481
+ "run_25",
1482
+ "run_26",
1483
+ "run_28",
1484
+ "run_29",
1485
+ "run_30",
1486
+ "run_32",
1487
+ "run_33",
1488
+ "run_34",
1489
+ "run_36",
1490
+ "run_39",
1491
+ "run_40",
1492
+ "run_41",
1493
+ "run_42",
1494
+ "run_44",
1495
+ "run_46",
1496
+ "run_47",
1497
+ "run_49",
1498
+ "run_51",
1499
+ "run_52",
1500
+ "run_55",
1501
+ "run_56",
1502
+ "run_57",
1503
+ "run_58",
1504
+ "run_61",
1505
+ "run_63",
1506
+ "run_64",
1507
+ "run_65",
1508
+ "run_66",
1509
+ "run_68",
1510
+ "run_69",
1511
+ "run_72",
1512
+ "run_73",
1513
+ "run_74",
1514
+ "run_75",
1515
+ "run_77",
1516
+ "run_78",
1517
+ "run_79",
1518
+ "run_82",
1519
+ "run_83",
1520
+ "run_84",
1521
+ "run_86",
1522
+ "run_87",
1523
+ "run_88",
1524
+ "run_89",
1525
+ "run_90",
1526
+ "run_91",
1527
+ "run_92",
1528
+ "run_93",
1529
+ "run_95",
1530
+ "run_96",
1531
+ "run_97",
1532
+ "run_98",
1533
+ "run_100",
1534
+ "run_101",
1535
+ "run_105",
1536
+ "run_108",
1537
+ "run_110",
1538
+ "run_111",
1539
+ "run_112",
1540
+ "run_113",
1541
+ "run_115",
1542
+ "run_117",
1543
+ "run_118",
1544
+ "run_119",
1545
+ "run_120",
1546
+ "run_122",
1547
+ "run_123",
1548
+ "run_125",
1549
+ "run_127",
1550
+ "run_129",
1551
+ "run_130",
1552
+ "run_132",
1553
+ "run_133",
1554
+ "run_134",
1555
+ "run_135",
1556
+ "run_136",
1557
+ "run_137",
1558
+ "run_138",
1559
+ "run_139",
1560
+ "run_140",
1561
+ "run_141",
1562
+ "run_142",
1563
+ "run_143",
1564
+ "run_145",
1565
+ "run_146",
1566
+ "run_147",
1567
+ "run_150",
1568
+ "run_152",
1569
+ "run_153",
1570
+ "run_154",
1571
+ "run_155",
1572
+ "run_156",
1573
+ "run_160",
1574
+ "run_163",
1575
+ "run_164",
1576
+ "run_165",
1577
+ "run_169",
1578
+ "run_170",
1579
+ "run_171",
1580
+ "run_173",
1581
+ "run_174",
1582
+ "run_175",
1583
+ "run_176",
1584
+ "run_177",
1585
+ "run_180",
1586
+ "run_181",
1587
+ "run_182",
1588
+ "run_185",
1589
+ "run_186",
1590
+ "run_187",
1591
+ "run_189",
1592
+ "run_190",
1593
+ "run_191",
1594
+ "run_192",
1595
+ "run_193",
1596
+ "run_195",
1597
+ "run_196",
1598
+ "run_197",
1599
+ "run_199",
1600
+ "run_200",
1601
+ "run_202",
1602
+ "run_204",
1603
+ "run_205",
1604
+ "run_206",
1605
+ "run_208",
1606
+ "run_209",
1607
+ "run_210",
1608
+ "run_212",
1609
+ "run_214",
1610
+ "run_215",
1611
+ "run_216",
1612
+ "run_219",
1613
+ "run_223",
1614
+ "run_224",
1615
+ "run_226",
1616
+ "run_227",
1617
+ "run_229",
1618
+ "run_230",
1619
+ "run_231",
1620
+ "run_232",
1621
+ "run_234",
1622
+ "run_236",
1623
+ "run_238",
1624
+ "run_239",
1625
+ "run_240",
1626
+ "run_241",
1627
+ "run_243",
1628
+ "run_245",
1629
+ "run_247",
1630
+ "run_249",
1631
+ "run_250",
1632
+ "run_251",
1633
+ "run_252",
1634
+ "run_254",
1635
+ "run_255",
1636
+ "run_257",
1637
+ "run_258",
1638
+ "run_259",
1639
+ "run_261",
1640
+ "run_265",
1641
+ "run_268",
1642
+ "run_270",
1643
+ "run_271",
1644
+ "run_272",
1645
+ "run_273",
1646
+ "run_274",
1647
+ "run_275",
1648
+ "run_276",
1649
+ "run_277",
1650
+ "run_278",
1651
+ "run_280",
1652
+ "run_283",
1653
+ "run_285",
1654
+ "run_286",
1655
+ "run_287",
1656
+ "run_292",
1657
+ "run_294",
1658
+ "run_296",
1659
+ "run_297",
1660
+ "run_299",
1661
+ "run_300",
1662
+ "run_301",
1663
+ "run_303",
1664
+ "run_304",
1665
+ "run_305",
1666
+ "run_306",
1667
+ "run_307",
1668
+ "run_310",
1669
+ "run_311",
1670
+ "run_312",
1671
+ "run_313",
1672
+ "run_315",
1673
+ "run_317",
1674
+ "run_318",
1675
+ "run_320",
1676
+ "run_322",
1677
+ "run_323",
1678
+ "run_324",
1679
+ "run_326",
1680
+ "run_327",
1681
+ "run_328",
1682
+ "run_332",
1683
+ "run_333",
1684
+ "run_334",
1685
+ "run_335",
1686
+ "run_336",
1687
+ "run_337",
1688
+ "run_338",
1689
+ "run_339",
1690
+ "run_341",
1691
+ "run_342",
1692
+ "run_343",
1693
+ "run_346",
1694
+ "run_347",
1695
+ "run_348",
1696
+ "run_350",
1697
+ "run_351",
1698
+ "run_352",
1699
+ "run_353",
1700
+ "run_354",
1701
+ "run_356",
1702
+ "run_357",
1703
+ "run_358",
1704
+ "run_360",
1705
+ "run_361",
1706
+ "run_362",
1707
+ "run_365",
1708
+ "run_367",
1709
+ "run_368",
1710
+ "run_371",
1711
+ "run_374",
1712
+ "run_375",
1713
+ "run_377",
1714
+ "run_378",
1715
+ "run_379",
1716
+ "run_380",
1717
+ "run_381",
1718
+ "run_384",
1719
+ "run_385",
1720
+ "run_386",
1721
+ "run_387",
1722
+ "run_390",
1723
+ "run_391",
1724
+ "run_394",
1725
+ "run_395",
1726
+ "run_396",
1727
+ "run_397",
1728
+ "run_398",
1729
+ "run_399",
1730
+ "run_400",
1731
+ "run_401",
1732
+ "run_402",
1733
+ "run_404",
1734
+ "run_405",
1735
+ "run_406",
1736
+ "run_408",
1737
+ "run_410",
1738
+ "run_411",
1739
+ "run_412",
1740
+ "run_413",
1741
+ "run_414",
1742
+ "run_417",
1743
+ "run_418",
1744
+ "run_420",
1745
+ "run_421",
1746
+ "run_422",
1747
+ "run_423",
1748
+ "run_424",
1749
+ "run_427",
1750
+ "run_429",
1751
+ "run_431",
1752
+ "run_432",
1753
+ "run_433",
1754
+ "run_434",
1755
+ "run_435",
1756
+ "run_438",
1757
+ "run_439",
1758
+ "run_441",
1759
+ "run_442",
1760
+ "run_443",
1761
+ "run_444",
1762
+ "run_445",
1763
+ "run_446",
1764
+ "run_447",
1765
+ "run_448",
1766
+ "run_450",
1767
+ "run_451",
1768
+ "run_452",
1769
+ "run_453",
1770
+ "run_454",
1771
+ "run_455",
1772
+ "run_458",
1773
+ "run_459",
1774
+ "run_460",
1775
+ "run_461",
1776
+ "run_463",
1777
+ "run_464",
1778
+ "run_465",
1779
+ "run_466",
1780
+ "run_469",
1781
+ "run_471",
1782
+ "run_474",
1783
+ "run_475",
1784
+ "run_476",
1785
+ "run_477",
1786
+ "run_478",
1787
+ "run_479",
1788
+ "run_480",
1789
+ "run_481",
1790
+ "run_482",
1791
+ "run_484",
1792
+ "run_485",
1793
+ "run_486",
1794
+ "run_487",
1795
+ "run_488",
1796
+ "run_490",
1797
+ "run_491",
1798
+ "run_493",
1799
+ "run_494",
1800
+ "run_495",
1801
+ "run_497",
1802
+ "run_499"
1803
+ ],
1804
+ "low_drag_val": [
1805
+ "run_2",
1806
+ "run_8",
1807
+ "run_15",
1808
+ "run_35",
1809
+ "run_37",
1810
+ "run_53",
1811
+ "run_54",
1812
+ "run_59",
1813
+ "run_71",
1814
+ "run_99",
1815
+ "run_103",
1816
+ "run_104",
1817
+ "run_121",
1818
+ "run_126",
1819
+ "run_148",
1820
+ "run_149",
1821
+ "run_151",
1822
+ "run_157",
1823
+ "run_161",
1824
+ "run_168",
1825
+ "run_172",
1826
+ "run_184",
1827
+ "run_201",
1828
+ "run_203",
1829
+ "run_207",
1830
+ "run_217",
1831
+ "run_233",
1832
+ "run_256",
1833
+ "run_260",
1834
+ "run_263",
1835
+ "run_264",
1836
+ "run_266",
1837
+ "run_290",
1838
+ "run_293",
1839
+ "run_314",
1840
+ "run_344",
1841
+ "run_363",
1842
+ "run_372",
1843
+ "run_382",
1844
+ "run_393",
1845
+ "run_407",
1846
+ "run_425",
1847
+ "run_428",
1848
+ "run_436",
1849
+ "run_457",
1850
+ "run_467",
1851
+ "run_498",
1852
+ "run_500"
1853
+ ],
1854
+ "low_drag_test": [
1855
+ "run_3",
1856
+ "run_5",
1857
+ "run_10",
1858
+ "run_17",
1859
+ "run_27",
1860
+ "run_31",
1861
+ "run_38",
1862
+ "run_43",
1863
+ "run_45",
1864
+ "run_48",
1865
+ "run_50",
1866
+ "run_60",
1867
+ "run_62",
1868
+ "run_67",
1869
+ "run_70",
1870
+ "run_76",
1871
+ "run_80",
1872
+ "run_81",
1873
+ "run_85",
1874
+ "run_94",
1875
+ "run_102",
1876
+ "run_106",
1877
+ "run_107",
1878
+ "run_109",
1879
+ "run_114",
1880
+ "run_116",
1881
+ "run_124",
1882
+ "run_128",
1883
+ "run_131",
1884
+ "run_144",
1885
+ "run_158",
1886
+ "run_159",
1887
+ "run_162",
1888
+ "run_166",
1889
+ "run_178",
1890
+ "run_179",
1891
+ "run_183",
1892
+ "run_188",
1893
+ "run_194",
1894
+ "run_198",
1895
+ "run_213",
1896
+ "run_220",
1897
+ "run_222",
1898
+ "run_225",
1899
+ "run_228",
1900
+ "run_235",
1901
+ "run_237",
1902
+ "run_242",
1903
+ "run_244",
1904
+ "run_246",
1905
+ "run_253",
1906
+ "run_262",
1907
+ "run_267",
1908
+ "run_269",
1909
+ "run_279",
1910
+ "run_281",
1911
+ "run_284",
1912
+ "run_288",
1913
+ "run_289",
1914
+ "run_298",
1915
+ "run_302",
1916
+ "run_308",
1917
+ "run_309",
1918
+ "run_319",
1919
+ "run_321",
1920
+ "run_330",
1921
+ "run_331",
1922
+ "run_340",
1923
+ "run_345",
1924
+ "run_349",
1925
+ "run_355",
1926
+ "run_359",
1927
+ "run_366",
1928
+ "run_369",
1929
+ "run_373",
1930
+ "run_383",
1931
+ "run_388",
1932
+ "run_389",
1933
+ "run_392",
1934
+ "run_409",
1935
+ "run_415",
1936
+ "run_416",
1937
+ "run_419",
1938
+ "run_426",
1939
+ "run_430",
1940
+ "run_437",
1941
+ "run_440",
1942
+ "run_449",
1943
+ "run_456",
1944
+ "run_462",
1945
+ "run_468",
1946
+ "run_470",
1947
+ "run_472",
1948
+ "run_483",
1949
+ "run_489",
1950
+ "run_492",
1951
+ "run_496"
1952
+ ],
1953
+ "geometry_train": [
1954
+ "run_1",
1955
+ "run_2",
1956
+ "run_3",
1957
+ "run_4",
1958
+ "run_6",
1959
+ "run_7",
1960
+ "run_9",
1961
+ "run_10",
1962
+ "run_13",
1963
+ "run_14",
1964
+ "run_15",
1965
+ "run_16",
1966
+ "run_17",
1967
+ "run_18",
1968
+ "run_19",
1969
+ "run_20",
1970
+ "run_21",
1971
+ "run_22",
1972
+ "run_23",
1973
+ "run_24",
1974
+ "run_26",
1975
+ "run_27",
1976
+ "run_30",
1977
+ "run_31",
1978
+ "run_33",
1979
+ "run_34",
1980
+ "run_35",
1981
+ "run_37",
1982
+ "run_38",
1983
+ "run_40",
1984
+ "run_41",
1985
+ "run_42",
1986
+ "run_44",
1987
+ "run_46",
1988
+ "run_47",
1989
+ "run_48",
1990
+ "run_50",
1991
+ "run_51",
1992
+ "run_55",
1993
+ "run_56",
1994
+ "run_57",
1995
+ "run_58",
1996
+ "run_59",
1997
+ "run_60",
1998
+ "run_61",
1999
+ "run_62",
2000
+ "run_64",
2001
+ "run_66",
2002
+ "run_67",
2003
+ "run_68",
2004
+ "run_69",
2005
+ "run_70",
2006
+ "run_71",
2007
+ "run_73",
2008
+ "run_74",
2009
+ "run_76",
2010
+ "run_77",
2011
+ "run_79",
2012
+ "run_80",
2013
+ "run_81",
2014
+ "run_82",
2015
+ "run_83",
2016
+ "run_84",
2017
+ "run_85",
2018
+ "run_86",
2019
+ "run_87",
2020
+ "run_90",
2021
+ "run_91",
2022
+ "run_92",
2023
+ "run_94",
2024
+ "run_95",
2025
+ "run_99",
2026
+ "run_100",
2027
+ "run_101",
2028
+ "run_103",
2029
+ "run_104",
2030
+ "run_106",
2031
+ "run_107",
2032
+ "run_108",
2033
+ "run_109",
2034
+ "run_110",
2035
+ "run_111",
2036
+ "run_113",
2037
+ "run_114",
2038
+ "run_116",
2039
+ "run_118",
2040
+ "run_122",
2041
+ "run_123",
2042
+ "run_124",
2043
+ "run_126",
2044
+ "run_127",
2045
+ "run_130",
2046
+ "run_131",
2047
+ "run_132",
2048
+ "run_133",
2049
+ "run_134",
2050
+ "run_135",
2051
+ "run_136",
2052
+ "run_137",
2053
+ "run_139",
2054
+ "run_140",
2055
+ "run_141",
2056
+ "run_143",
2057
+ "run_144",
2058
+ "run_145",
2059
+ "run_146",
2060
+ "run_147",
2061
+ "run_148",
2062
+ "run_149",
2063
+ "run_150",
2064
+ "run_151",
2065
+ "run_153",
2066
+ "run_155",
2067
+ "run_156",
2068
+ "run_157",
2069
+ "run_158",
2070
+ "run_160",
2071
+ "run_162",
2072
+ "run_163",
2073
+ "run_164",
2074
+ "run_165",
2075
+ "run_166",
2076
+ "run_168",
2077
+ "run_169",
2078
+ "run_170",
2079
+ "run_171",
2080
+ "run_172",
2081
+ "run_174",
2082
+ "run_175",
2083
+ "run_177",
2084
+ "run_178",
2085
+ "run_180",
2086
+ "run_181",
2087
+ "run_182",
2088
+ "run_183",
2089
+ "run_184",
2090
+ "run_185",
2091
+ "run_187",
2092
+ "run_188",
2093
+ "run_190",
2094
+ "run_192",
2095
+ "run_194",
2096
+ "run_195",
2097
+ "run_196",
2098
+ "run_197",
2099
+ "run_198",
2100
+ "run_199",
2101
+ "run_200",
2102
+ "run_202",
2103
+ "run_203",
2104
+ "run_204",
2105
+ "run_205",
2106
+ "run_206",
2107
+ "run_207",
2108
+ "run_208",
2109
+ "run_210",
2110
+ "run_212",
2111
+ "run_215",
2112
+ "run_216",
2113
+ "run_219",
2114
+ "run_222",
2115
+ "run_223",
2116
+ "run_225",
2117
+ "run_227",
2118
+ "run_230",
2119
+ "run_232",
2120
+ "run_233",
2121
+ "run_234",
2122
+ "run_235",
2123
+ "run_238",
2124
+ "run_239",
2125
+ "run_240",
2126
+ "run_241",
2127
+ "run_242",
2128
+ "run_243",
2129
+ "run_245",
2130
+ "run_247",
2131
+ "run_249",
2132
+ "run_251",
2133
+ "run_252",
2134
+ "run_253",
2135
+ "run_254",
2136
+ "run_255",
2137
+ "run_257",
2138
+ "run_259",
2139
+ "run_261",
2140
+ "run_262",
2141
+ "run_263",
2142
+ "run_264",
2143
+ "run_266",
2144
+ "run_267",
2145
+ "run_268",
2146
+ "run_269",
2147
+ "run_270",
2148
+ "run_272",
2149
+ "run_273",
2150
+ "run_274",
2151
+ "run_275",
2152
+ "run_278",
2153
+ "run_279",
2154
+ "run_283",
2155
+ "run_284",
2156
+ "run_285",
2157
+ "run_286",
2158
+ "run_287",
2159
+ "run_289",
2160
+ "run_290",
2161
+ "run_294",
2162
+ "run_296",
2163
+ "run_298",
2164
+ "run_300",
2165
+ "run_301",
2166
+ "run_302",
2167
+ "run_303",
2168
+ "run_304",
2169
+ "run_305",
2170
+ "run_307",
2171
+ "run_308",
2172
+ "run_309",
2173
+ "run_310",
2174
+ "run_312",
2175
+ "run_313",
2176
+ "run_314",
2177
+ "run_315",
2178
+ "run_317",
2179
+ "run_318",
2180
+ "run_319",
2181
+ "run_320",
2182
+ "run_321",
2183
+ "run_323",
2184
+ "run_326",
2185
+ "run_327",
2186
+ "run_328",
2187
+ "run_330",
2188
+ "run_331",
2189
+ "run_332",
2190
+ "run_334",
2191
+ "run_335",
2192
+ "run_336",
2193
+ "run_339",
2194
+ "run_340",
2195
+ "run_342",
2196
+ "run_344",
2197
+ "run_346",
2198
+ "run_348",
2199
+ "run_349",
2200
+ "run_350",
2201
+ "run_351",
2202
+ "run_352",
2203
+ "run_353",
2204
+ "run_354",
2205
+ "run_355",
2206
+ "run_356",
2207
+ "run_358",
2208
+ "run_359",
2209
+ "run_360",
2210
+ "run_361",
2211
+ "run_363",
2212
+ "run_365",
2213
+ "run_368",
2214
+ "run_371",
2215
+ "run_372",
2216
+ "run_374",
2217
+ "run_375",
2218
+ "run_377",
2219
+ "run_378",
2220
+ "run_380",
2221
+ "run_381",
2222
+ "run_383",
2223
+ "run_384",
2224
+ "run_385",
2225
+ "run_386",
2226
+ "run_387",
2227
+ "run_388",
2228
+ "run_391",
2229
+ "run_392",
2230
+ "run_394",
2231
+ "run_399",
2232
+ "run_400",
2233
+ "run_401",
2234
+ "run_405",
2235
+ "run_407",
2236
+ "run_408",
2237
+ "run_410",
2238
+ "run_411",
2239
+ "run_414",
2240
+ "run_415",
2241
+ "run_416",
2242
+ "run_417",
2243
+ "run_418",
2244
+ "run_421",
2245
+ "run_422",
2246
+ "run_424",
2247
+ "run_426",
2248
+ "run_427",
2249
+ "run_428",
2250
+ "run_432",
2251
+ "run_434",
2252
+ "run_435",
2253
+ "run_436",
2254
+ "run_437",
2255
+ "run_438",
2256
+ "run_440",
2257
+ "run_441",
2258
+ "run_444",
2259
+ "run_446",
2260
+ "run_448",
2261
+ "run_450",
2262
+ "run_452",
2263
+ "run_453",
2264
+ "run_454",
2265
+ "run_456",
2266
+ "run_457",
2267
+ "run_458",
2268
+ "run_459",
2269
+ "run_461",
2270
+ "run_462",
2271
+ "run_464",
2272
+ "run_465",
2273
+ "run_467",
2274
+ "run_471",
2275
+ "run_472",
2276
+ "run_474",
2277
+ "run_478",
2278
+ "run_479",
2279
+ "run_481",
2280
+ "run_482",
2281
+ "run_483",
2282
+ "run_484",
2283
+ "run_487",
2284
+ "run_488",
2285
+ "run_490",
2286
+ "run_491",
2287
+ "run_492",
2288
+ "run_493",
2289
+ "run_496",
2290
+ "run_498",
2291
+ "run_499",
2292
+ "run_500"
2293
+ ],
2294
+ "geometry_val": [
2295
+ "run_8",
2296
+ "run_12",
2297
+ "run_32",
2298
+ "run_36",
2299
+ "run_52",
2300
+ "run_54",
2301
+ "run_63",
2302
+ "run_89",
2303
+ "run_93",
2304
+ "run_96",
2305
+ "run_97",
2306
+ "run_117",
2307
+ "run_119",
2308
+ "run_128",
2309
+ "run_159",
2310
+ "run_179",
2311
+ "run_201",
2312
+ "run_214",
2313
+ "run_217",
2314
+ "run_220",
2315
+ "run_224",
2316
+ "run_229",
2317
+ "run_236",
2318
+ "run_271",
2319
+ "run_322",
2320
+ "run_333",
2321
+ "run_337",
2322
+ "run_338",
2323
+ "run_343",
2324
+ "run_390",
2325
+ "run_396",
2326
+ "run_398",
2327
+ "run_402",
2328
+ "run_404",
2329
+ "run_413",
2330
+ "run_419",
2331
+ "run_423",
2332
+ "run_429",
2333
+ "run_442",
2334
+ "run_443",
2335
+ "run_449",
2336
+ "run_451",
2337
+ "run_460",
2338
+ "run_468",
2339
+ "run_475",
2340
+ "run_476",
2341
+ "run_486",
2342
+ "run_494"
2343
+ ],
2344
+ "geometry_test": [
2345
+ "run_5",
2346
+ "run_11",
2347
+ "run_25",
2348
+ "run_28",
2349
+ "run_29",
2350
+ "run_39",
2351
+ "run_43",
2352
+ "run_45",
2353
+ "run_49",
2354
+ "run_53",
2355
+ "run_65",
2356
+ "run_72",
2357
+ "run_75",
2358
+ "run_78",
2359
+ "run_88",
2360
+ "run_98",
2361
+ "run_102",
2362
+ "run_105",
2363
+ "run_112",
2364
+ "run_115",
2365
+ "run_120",
2366
+ "run_121",
2367
+ "run_125",
2368
+ "run_129",
2369
+ "run_138",
2370
+ "run_142",
2371
+ "run_152",
2372
+ "run_154",
2373
+ "run_161",
2374
+ "run_173",
2375
+ "run_176",
2376
+ "run_186",
2377
+ "run_189",
2378
+ "run_191",
2379
+ "run_193",
2380
+ "run_209",
2381
+ "run_213",
2382
+ "run_226",
2383
+ "run_228",
2384
+ "run_231",
2385
+ "run_237",
2386
+ "run_244",
2387
+ "run_246",
2388
+ "run_250",
2389
+ "run_256",
2390
+ "run_258",
2391
+ "run_260",
2392
+ "run_265",
2393
+ "run_276",
2394
+ "run_277",
2395
+ "run_280",
2396
+ "run_281",
2397
+ "run_288",
2398
+ "run_292",
2399
+ "run_293",
2400
+ "run_297",
2401
+ "run_299",
2402
+ "run_306",
2403
+ "run_311",
2404
+ "run_324",
2405
+ "run_341",
2406
+ "run_345",
2407
+ "run_347",
2408
+ "run_357",
2409
+ "run_362",
2410
+ "run_366",
2411
+ "run_367",
2412
+ "run_369",
2413
+ "run_373",
2414
+ "run_379",
2415
+ "run_382",
2416
+ "run_389",
2417
+ "run_393",
2418
+ "run_395",
2419
+ "run_397",
2420
+ "run_406",
2421
+ "run_409",
2422
+ "run_412",
2423
+ "run_420",
2424
+ "run_425",
2425
+ "run_430",
2426
+ "run_431",
2427
+ "run_433",
2428
+ "run_439",
2429
+ "run_445",
2430
+ "run_447",
2431
+ "run_455",
2432
+ "run_463",
2433
+ "run_466",
2434
+ "run_469",
2435
+ "run_470",
2436
+ "run_477",
2437
+ "run_480",
2438
+ "run_485",
2439
+ "run_489",
2440
+ "run_495",
2441
+ "run_497"
2442
+ ],
2443
+ "rear_separation_train": [
2444
+ "run_1",
2445
+ "run_3",
2446
+ "run_4",
2447
+ "run_6",
2448
+ "run_8",
2449
+ "run_9",
2450
+ "run_11",
2451
+ "run_12",
2452
+ "run_13",
2453
+ "run_14",
2454
+ "run_16",
2455
+ "run_19",
2456
+ "run_20",
2457
+ "run_21",
2458
+ "run_22",
2459
+ "run_23",
2460
+ "run_24",
2461
+ "run_26",
2462
+ "run_27",
2463
+ "run_28",
2464
+ "run_29",
2465
+ "run_31",
2466
+ "run_32",
2467
+ "run_33",
2468
+ "run_34",
2469
+ "run_35",
2470
+ "run_36",
2471
+ "run_37",
2472
+ "run_39",
2473
+ "run_40",
2474
+ "run_42",
2475
+ "run_44",
2476
+ "run_45",
2477
+ "run_47",
2478
+ "run_49",
2479
+ "run_53",
2480
+ "run_55",
2481
+ "run_56",
2482
+ "run_57",
2483
+ "run_58",
2484
+ "run_61",
2485
+ "run_62",
2486
+ "run_63",
2487
+ "run_64",
2488
+ "run_66",
2489
+ "run_67",
2490
+ "run_68",
2491
+ "run_69",
2492
+ "run_70",
2493
+ "run_71",
2494
+ "run_73",
2495
+ "run_74",
2496
+ "run_75",
2497
+ "run_76",
2498
+ "run_77",
2499
+ "run_78",
2500
+ "run_81",
2501
+ "run_82",
2502
+ "run_83",
2503
+ "run_85",
2504
+ "run_86",
2505
+ "run_88",
2506
+ "run_90",
2507
+ "run_91",
2508
+ "run_92",
2509
+ "run_93",
2510
+ "run_94",
2511
+ "run_95",
2512
+ "run_96",
2513
+ "run_97",
2514
+ "run_98",
2515
+ "run_99",
2516
+ "run_100",
2517
+ "run_104",
2518
+ "run_106",
2519
+ "run_107",
2520
+ "run_108",
2521
+ "run_109",
2522
+ "run_111",
2523
+ "run_112",
2524
+ "run_113",
2525
+ "run_114",
2526
+ "run_115",
2527
+ "run_117",
2528
+ "run_118",
2529
+ "run_119",
2530
+ "run_122",
2531
+ "run_123",
2532
+ "run_126",
2533
+ "run_127",
2534
+ "run_128",
2535
+ "run_129",
2536
+ "run_130",
2537
+ "run_132",
2538
+ "run_133",
2539
+ "run_135",
2540
+ "run_136",
2541
+ "run_140",
2542
+ "run_141",
2543
+ "run_142",
2544
+ "run_143",
2545
+ "run_145",
2546
+ "run_146",
2547
+ "run_147",
2548
+ "run_149",
2549
+ "run_150",
2550
+ "run_151",
2551
+ "run_152",
2552
+ "run_153",
2553
+ "run_154",
2554
+ "run_155",
2555
+ "run_156",
2556
+ "run_157",
2557
+ "run_159",
2558
+ "run_161",
2559
+ "run_162",
2560
+ "run_164",
2561
+ "run_165",
2562
+ "run_168",
2563
+ "run_170",
2564
+ "run_171",
2565
+ "run_172",
2566
+ "run_174",
2567
+ "run_175",
2568
+ "run_176",
2569
+ "run_177",
2570
+ "run_179",
2571
+ "run_181",
2572
+ "run_182",
2573
+ "run_183",
2574
+ "run_186",
2575
+ "run_188",
2576
+ "run_190",
2577
+ "run_191",
2578
+ "run_192",
2579
+ "run_195",
2580
+ "run_196",
2581
+ "run_198",
2582
+ "run_199",
2583
+ "run_200",
2584
+ "run_201",
2585
+ "run_202",
2586
+ "run_203",
2587
+ "run_204",
2588
+ "run_205",
2589
+ "run_206",
2590
+ "run_207",
2591
+ "run_209",
2592
+ "run_210",
2593
+ "run_214",
2594
+ "run_215",
2595
+ "run_216",
2596
+ "run_219",
2597
+ "run_222",
2598
+ "run_223",
2599
+ "run_224",
2600
+ "run_225",
2601
+ "run_227",
2602
+ "run_228",
2603
+ "run_229",
2604
+ "run_230",
2605
+ "run_232",
2606
+ "run_233",
2607
+ "run_234",
2608
+ "run_235",
2609
+ "run_236",
2610
+ "run_238",
2611
+ "run_239",
2612
+ "run_241",
2613
+ "run_243",
2614
+ "run_245",
2615
+ "run_247",
2616
+ "run_249",
2617
+ "run_250",
2618
+ "run_251",
2619
+ "run_252",
2620
+ "run_254",
2621
+ "run_255",
2622
+ "run_256",
2623
+ "run_257",
2624
+ "run_258",
2625
+ "run_260",
2626
+ "run_261",
2627
+ "run_263",
2628
+ "run_264",
2629
+ "run_265",
2630
+ "run_267",
2631
+ "run_268",
2632
+ "run_269",
2633
+ "run_271",
2634
+ "run_272",
2635
+ "run_273",
2636
+ "run_274",
2637
+ "run_275",
2638
+ "run_280",
2639
+ "run_283",
2640
+ "run_284",
2641
+ "run_285",
2642
+ "run_286",
2643
+ "run_287",
2644
+ "run_290",
2645
+ "run_292",
2646
+ "run_294",
2647
+ "run_296",
2648
+ "run_298",
2649
+ "run_299",
2650
+ "run_300",
2651
+ "run_301",
2652
+ "run_303",
2653
+ "run_304",
2654
+ "run_306",
2655
+ "run_307",
2656
+ "run_308",
2657
+ "run_309",
2658
+ "run_310",
2659
+ "run_312",
2660
+ "run_314",
2661
+ "run_315",
2662
+ "run_317",
2663
+ "run_319",
2664
+ "run_320",
2665
+ "run_321",
2666
+ "run_322",
2667
+ "run_323",
2668
+ "run_324",
2669
+ "run_326",
2670
+ "run_328",
2671
+ "run_330",
2672
+ "run_333",
2673
+ "run_334",
2674
+ "run_335",
2675
+ "run_337",
2676
+ "run_338",
2677
+ "run_339",
2678
+ "run_341",
2679
+ "run_343",
2680
+ "run_346",
2681
+ "run_347",
2682
+ "run_350",
2683
+ "run_351",
2684
+ "run_353",
2685
+ "run_355",
2686
+ "run_356",
2687
+ "run_357",
2688
+ "run_358",
2689
+ "run_360",
2690
+ "run_362",
2691
+ "run_363",
2692
+ "run_365",
2693
+ "run_367",
2694
+ "run_368",
2695
+ "run_369",
2696
+ "run_372",
2697
+ "run_373",
2698
+ "run_374",
2699
+ "run_375",
2700
+ "run_377",
2701
+ "run_378",
2702
+ "run_379",
2703
+ "run_380",
2704
+ "run_381",
2705
+ "run_383",
2706
+ "run_384",
2707
+ "run_385",
2708
+ "run_386",
2709
+ "run_388",
2710
+ "run_389",
2711
+ "run_390",
2712
+ "run_391",
2713
+ "run_394",
2714
+ "run_395",
2715
+ "run_397",
2716
+ "run_398",
2717
+ "run_399",
2718
+ "run_401",
2719
+ "run_405",
2720
+ "run_408",
2721
+ "run_410",
2722
+ "run_411",
2723
+ "run_412",
2724
+ "run_414",
2725
+ "run_415",
2726
+ "run_416",
2727
+ "run_417",
2728
+ "run_418",
2729
+ "run_419",
2730
+ "run_420",
2731
+ "run_421",
2732
+ "run_425",
2733
+ "run_426",
2734
+ "run_428",
2735
+ "run_429",
2736
+ "run_431",
2737
+ "run_432",
2738
+ "run_433",
2739
+ "run_434",
2740
+ "run_435",
2741
+ "run_436",
2742
+ "run_437",
2743
+ "run_438",
2744
+ "run_439",
2745
+ "run_440",
2746
+ "run_441",
2747
+ "run_442",
2748
+ "run_445",
2749
+ "run_446",
2750
+ "run_448",
2751
+ "run_450",
2752
+ "run_452",
2753
+ "run_453",
2754
+ "run_456",
2755
+ "run_457",
2756
+ "run_458",
2757
+ "run_459",
2758
+ "run_460",
2759
+ "run_464",
2760
+ "run_465",
2761
+ "run_466",
2762
+ "run_467",
2763
+ "run_469",
2764
+ "run_470",
2765
+ "run_471",
2766
+ "run_472",
2767
+ "run_474",
2768
+ "run_475",
2769
+ "run_477",
2770
+ "run_478",
2771
+ "run_479",
2772
+ "run_481",
2773
+ "run_482",
2774
+ "run_483",
2775
+ "run_484",
2776
+ "run_488",
2777
+ "run_491",
2778
+ "run_495",
2779
+ "run_497",
2780
+ "run_498",
2781
+ "run_499",
2782
+ "run_500"
2783
+ ],
2784
+ "rear_separation_val": [
2785
+ "run_7",
2786
+ "run_15",
2787
+ "run_18",
2788
+ "run_46",
2789
+ "run_51",
2790
+ "run_59",
2791
+ "run_79",
2792
+ "run_84",
2793
+ "run_101",
2794
+ "run_134",
2795
+ "run_137",
2796
+ "run_138",
2797
+ "run_160",
2798
+ "run_163",
2799
+ "run_169",
2800
+ "run_173",
2801
+ "run_184",
2802
+ "run_193",
2803
+ "run_197",
2804
+ "run_208",
2805
+ "run_226",
2806
+ "run_262",
2807
+ "run_266",
2808
+ "run_270",
2809
+ "run_277",
2810
+ "run_297",
2811
+ "run_305",
2812
+ "run_313",
2813
+ "run_318",
2814
+ "run_327",
2815
+ "run_331",
2816
+ "run_344",
2817
+ "run_352",
2818
+ "run_366",
2819
+ "run_371",
2820
+ "run_387",
2821
+ "run_392",
2822
+ "run_424",
2823
+ "run_427",
2824
+ "run_447",
2825
+ "run_454",
2826
+ "run_461",
2827
+ "run_463",
2828
+ "run_485",
2829
+ "run_487",
2830
+ "run_490",
2831
+ "run_492",
2832
+ "run_494"
2833
+ ],
2834
+ "rear_separation_test": [
2835
+ "run_2",
2836
+ "run_5",
2837
+ "run_10",
2838
+ "run_17",
2839
+ "run_25",
2840
+ "run_30",
2841
+ "run_38",
2842
+ "run_41",
2843
+ "run_43",
2844
+ "run_48",
2845
+ "run_50",
2846
+ "run_52",
2847
+ "run_54",
2848
+ "run_60",
2849
+ "run_65",
2850
+ "run_72",
2851
+ "run_80",
2852
+ "run_87",
2853
+ "run_89",
2854
+ "run_102",
2855
+ "run_103",
2856
+ "run_105",
2857
+ "run_110",
2858
+ "run_116",
2859
+ "run_120",
2860
+ "run_121",
2861
+ "run_124",
2862
+ "run_125",
2863
+ "run_131",
2864
+ "run_139",
2865
+ "run_144",
2866
+ "run_148",
2867
+ "run_158",
2868
+ "run_166",
2869
+ "run_178",
2870
+ "run_180",
2871
+ "run_185",
2872
+ "run_187",
2873
+ "run_189",
2874
+ "run_194",
2875
+ "run_212",
2876
+ "run_213",
2877
+ "run_217",
2878
+ "run_220",
2879
+ "run_231",
2880
+ "run_237",
2881
+ "run_240",
2882
+ "run_242",
2883
+ "run_244",
2884
+ "run_246",
2885
+ "run_253",
2886
+ "run_259",
2887
+ "run_276",
2888
+ "run_278",
2889
+ "run_279",
2890
+ "run_281",
2891
+ "run_288",
2892
+ "run_289",
2893
+ "run_293",
2894
+ "run_302",
2895
+ "run_311",
2896
+ "run_332",
2897
+ "run_336",
2898
+ "run_340",
2899
+ "run_342",
2900
+ "run_345",
2901
+ "run_348",
2902
+ "run_349",
2903
+ "run_354",
2904
+ "run_359",
2905
+ "run_361",
2906
+ "run_382",
2907
+ "run_393",
2908
+ "run_396",
2909
+ "run_400",
2910
+ "run_402",
2911
+ "run_404",
2912
+ "run_406",
2913
+ "run_407",
2914
+ "run_409",
2915
+ "run_413",
2916
+ "run_422",
2917
+ "run_423",
2918
+ "run_430",
2919
+ "run_443",
2920
+ "run_444",
2921
+ "run_449",
2922
+ "run_451",
2923
+ "run_455",
2924
+ "run_462",
2925
+ "run_468",
2926
+ "run_476",
2927
+ "run_480",
2928
+ "run_486",
2929
+ "run_489",
2930
+ "run_493",
2931
+ "run_496"
2932
+ ]
2933
+ }
splits/visualize_flow_regimes.py ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Visualize the DrivAerML force- and geometry-regime split logic.
2
+
3
+ Creates force_regimes.png. The script reads force_mom_all.csv and
4
+ geo_parameters_all.csv when available. It also reads chamfer_metrics.csv when
5
+ available to show the STL-surface geometry split.
6
+
7
+ Usage:
8
+ python3 splits/visualize_flow_regimes.py
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import json
14
+ from pathlib import Path
15
+
16
+ import matplotlib.pyplot as plt
17
+ from matplotlib.lines import Line2D
18
+ import numpy as np
19
+
20
+ from generate_splits import (
21
+ load_chamfer_scores,
22
+ load_force_mom,
23
+ run_id,
24
+ )
25
+
26
+
27
+ SCRIPT_DIR = Path(__file__).resolve().parent
28
+ PACKAGE_ROOT = SCRIPT_DIR
29
+ DATA_DIR = PACKAGE_ROOT
30
+ DOCS_DIR = PACKAGE_ROOT
31
+ SPLITS_DIR = PACKAGE_ROOT
32
+ OUT = DOCS_DIR / "force_regimes.png"
33
+ MANIFEST = SPLITS_DIR / "manifest.json"
34
+
35
+
36
+ def _ids(manifest: dict[str, list[str]], key: str) -> set[int]:
37
+ return {run_id(cid) for cid in manifest[key]}
38
+
39
+
40
+ def _array(records: dict[int, dict[str, float]], field: str) -> tuple[np.ndarray, np.ndarray]:
41
+ runs = np.asarray(sorted(records))
42
+ values = np.asarray([records[int(r)][field] for r in runs], dtype=float)
43
+ return runs, values
44
+
45
+
46
+ def _plot_partitioned(
47
+ ax,
48
+ runs: np.ndarray,
49
+ values: np.ndarray,
50
+ train_ids: set[int],
51
+ val_ids: set[int],
52
+ test_ids: set[int],
53
+ *,
54
+ title: str,
55
+ ylabel: str,
56
+ colors: dict[str, str],
57
+ ) -> None:
58
+ train_mask = np.asarray([int(r) in train_ids for r in runs])
59
+ val_mask = np.asarray([int(r) in val_ids for r in runs])
60
+ test_mask = np.asarray([int(r) in test_ids for r in runs])
61
+ ax.scatter(runs[train_mask], values[train_mask], s=30, color=colors["train"], linewidth=0, alpha=0.58)
62
+ ax.scatter(runs[val_mask], values[val_mask], s=46, color=colors["val"], linewidth=0, alpha=0.95)
63
+ ax.scatter(runs[test_mask], values[test_mask], s=46, color=colors["test"], linewidth=0, alpha=0.95)
64
+ ax.set_title(title)
65
+ ax.set_xlabel("run")
66
+ ax.set_ylabel(ylabel)
67
+ ax.grid(True, color="#e1e6eb", lw=0.7)
68
+ ax.spines["top"].set_visible(False)
69
+ ax.spines["right"].set_visible(False)
70
+
71
+
72
+ def main() -> None:
73
+ records, force_source = load_force_mom()
74
+ if force_source == "deterministic_proxy_missing_force_mom_all_csv":
75
+ raise SystemExit(
76
+ "force_mom_all.csv is required for force_regimes.png. "
77
+ "Run after `python3 splits/download_hf_inputs.py --output-dir data`, "
78
+ "or set DRIVAERML_DATA_ROOT to a directory containing it."
79
+ )
80
+ chamfer_scores, _ = load_chamfer_scores()
81
+ manifest = json.loads(MANIFEST.read_text(encoding="utf-8"))
82
+
83
+ runs, cd = _array(records, "cd")
84
+ chamfer = np.asarray([chamfer_scores[int(r)] for r in runs]) if chamfer_scores else None
85
+
86
+ full_train = _ids(manifest, "full_train")
87
+ full_val = _ids(manifest, "full_val")
88
+ full_test = _ids(manifest, "full_test")
89
+ high_drag_train = _ids(manifest, "high_drag_train")
90
+ high_drag_val = _ids(manifest, "high_drag_val")
91
+ high_drag_test = _ids(manifest, "high_drag_test")
92
+ low_drag_train = _ids(manifest, "low_drag_train")
93
+ low_drag_val = _ids(manifest, "low_drag_val")
94
+ low_drag_test = _ids(manifest, "low_drag_test")
95
+ geometry_train = _ids(manifest, "geometry_train") if "geometry_train" in manifest else set()
96
+ geometry_val = _ids(manifest, "geometry_val") if "geometry_val" in manifest else set()
97
+ geometry_test = _ids(manifest, "geometry_test") if "geometry_test" in manifest else set()
98
+
99
+ colors = {
100
+ "train": "#cfd5dc",
101
+ "val": "#c28f22",
102
+ "test": "#2f8f61",
103
+ }
104
+
105
+ axes = plt.figure(figsize=(11.0, 11.0), constrained_layout=True).subplot_mosaic(
106
+ [
107
+ ["full", "high"],
108
+ ["low", "geometry_cd"],
109
+ ["geometry_chamfer", "geometry_chamfer"],
110
+ ]
111
+ )
112
+ fig = axes["full"].figure
113
+
114
+ _plot_partitioned(
115
+ axes["full"], runs, cd, full_train, full_val, full_test,
116
+ title="Full random baseline", ylabel="Cd", colors=colors,
117
+ )
118
+ _plot_partitioned(
119
+ axes["high"], runs, cd, high_drag_train, high_drag_val, high_drag_test,
120
+ title="High-drag holdout", ylabel="Cd", colors=colors,
121
+ )
122
+ _plot_partitioned(
123
+ axes["low"], runs, cd, low_drag_train, low_drag_val, low_drag_test,
124
+ title="Low-drag holdout", ylabel="Cd", colors=colors,
125
+ )
126
+ _plot_partitioned(
127
+ axes["geometry_cd"], runs, cd, geometry_train, geometry_val, geometry_test,
128
+ title="Geometry holdout on Cd", ylabel="Cd", colors=colors,
129
+ )
130
+
131
+ ax = axes["geometry_chamfer"]
132
+ if chamfer is not None:
133
+ _plot_partitioned(
134
+ ax, runs, chamfer, geometry_train, geometry_val, geometry_test,
135
+ title="Geometry holdout", ylabel="mean 10-NN Chamfer", colors=colors,
136
+ )
137
+ else:
138
+ ax.text(0.5, 0.5, "splits/chamfer_metrics.csv not found", ha="center", va="center")
139
+ ax.set_axis_off()
140
+
141
+ legend_handles = [
142
+ Line2D([0], [0], marker="o", color="none", markerfacecolor=colors["train"], markeredgewidth=0, markersize=8, label="train"),
143
+ Line2D([0], [0], marker="o", color="none", markerfacecolor=colors["val"], markeredgewidth=0, markersize=8, label="val"),
144
+ Line2D([0], [0], marker="o", color="none", markerfacecolor=colors["test"], markeredgewidth=0, markersize=8, label="test"),
145
+ ]
146
+ fig.legend(handles=legend_handles, frameon=False, loc="upper center", ncol=3, bbox_to_anchor=(0.5, 0.975))
147
+
148
+ fig.suptitle("DrivAerML force and geometry split diagnostics", fontsize=12)
149
+ DOCS_DIR.mkdir(parents=True, exist_ok=True)
150
+ fig.savefig(OUT, dpi=180)
151
+ print(f"Wrote {OUT}")
152
+
153
+
154
+ if __name__ == "__main__":
155
+ main()
splits/visualize_geometry_examples.py ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build low/high geometry examples for the split report.
2
+
3
+ Creates geometry_split_examples.png. The script selects the lowest Chamfer
4
+ geometry score from geometry_train and the highest score from geometry_test,
5
+ then renders same-scale complete-car side-view PNGs plus a transparent overlay
6
+ when source images are available.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import csv
12
+ import json
13
+ from pathlib import Path
14
+
15
+ import matplotlib.pyplot as plt
16
+ import numpy as np
17
+ from PIL import Image
18
+
19
+ from generate_splits import _run_image_dir, run_id
20
+
21
+
22
+ SCRIPT_DIR = Path(__file__).resolve().parent
23
+ PACKAGE_ROOT = SCRIPT_DIR
24
+ DATA_DIR = PACKAGE_ROOT
25
+ DOCS_DIR = PACKAGE_ROOT
26
+ SPLITS_DIR = PACKAGE_ROOT
27
+ CHAMFER = DATA_DIR / "chamfer_metrics.csv"
28
+ MANIFEST = SPLITS_DIR / "manifest.json"
29
+ OUT = DOCS_DIR / "geometry_split_examples.png"
30
+ LOW_COLOR = np.array([47, 111, 176], dtype=np.float32) / 255.0
31
+ HIGH_COLOR = np.array([200, 92, 46], dtype=np.float32) / 255.0
32
+ BACKGROUND = np.array([1.0, 1.0, 1.0], dtype=np.float32)
33
+
34
+
35
+ def _load_scores() -> dict[int, float]:
36
+ rows = csv.DictReader(CHAMFER.open(encoding="utf-8"))
37
+ return {int(row["run"]): float(row["ood_score"]) for row in rows}
38
+
39
+
40
+ def _ids(manifest: dict[str, list[str]], key: str) -> set[int]:
41
+ return {run_id(cid) for cid in manifest[key]}
42
+
43
+
44
+ def _example_runs() -> tuple[tuple[int, float], tuple[int, float]]:
45
+ scores = _load_scores()
46
+ manifest = json.loads(MANIFEST.read_text(encoding="utf-8"))
47
+ train_ids = _ids(manifest, "geometry_train")
48
+ test_ids = _ids(manifest, "geometry_test")
49
+ low_run = min(train_ids, key=lambda rid: scores[rid])
50
+ high_run = max(test_ids, key=lambda rid: scores[rid])
51
+ return (low_run, scores[low_run]), (high_run, scores[high_run])
52
+
53
+
54
+ def _surface_side_path(run: int) -> Path | None:
55
+ image_dir = _run_image_dir(run)
56
+ if image_dir is None:
57
+ return None
58
+ path = image_dir / f"fig_run{run}_SRS_surf-ySide_grid.png"
59
+ return path if path.exists() else None
60
+
61
+
62
+ def _read_png_rgb(path: Path) -> np.ndarray | None:
63
+ if path.name.startswith("._"):
64
+ return None
65
+ try:
66
+ with path.open("rb") as f:
67
+ if f.read(8) != b"\x89PNG\r\n\x1a\n":
68
+ return None
69
+ with Image.open(path) as img:
70
+ img = img.convert("RGB")
71
+ arr = np.asarray(img, dtype=np.uint8)
72
+ except Exception:
73
+ return None
74
+
75
+ return arr
76
+
77
+
78
+ def _foreground_mask(arr: np.ndarray) -> np.ndarray:
79
+ return np.any(arr < 245, axis=2)
80
+
81
+
82
+ def _shared_crop_bbox(arrays: list[np.ndarray]) -> tuple[int, int, int, int]:
83
+ masks = [_foreground_mask(arr) for arr in arrays]
84
+ combined = np.logical_or.reduce(masks)
85
+ h, w = combined.shape
86
+
87
+ # Use dense rows/columns so tiny annotations do not define the crop, then
88
+ # fall back to all foreground pixels if an unusual source image is sparse.
89
+ min_col_pixels = max(8, int(0.02 * h))
90
+ min_row_pixels = max(16, int(0.035 * w))
91
+ xs = np.where(combined.sum(axis=0) >= min_col_pixels)[0]
92
+ ys = np.where(combined.sum(axis=1) >= min_row_pixels)[0]
93
+ if len(xs) == 0 or len(ys) == 0:
94
+ ys, xs = np.where(combined)
95
+ if len(xs) == 0 or len(ys) == 0:
96
+ return (0, h, 0, w)
97
+
98
+ pad_x = int(0.03 * w)
99
+ pad_y = int(0.06 * h)
100
+ left = max(0, xs.min() - pad_x)
101
+ right = min(w, xs.max() + pad_x + 1)
102
+ top = max(0, ys.min() - pad_y)
103
+ bottom = min(h, ys.max() + pad_y + 1)
104
+ return (top, bottom, left, right)
105
+
106
+
107
+ def _crop(arr: np.ndarray, bbox: tuple[int, int, int, int]) -> np.ndarray:
108
+ top, bottom, left, right = bbox
109
+ return arr[top:bottom, left:right].astype(np.float32) / 255.0
110
+
111
+
112
+ def _example_image(run: int) -> tuple[np.ndarray | None, str]:
113
+ path = _surface_side_path(run)
114
+ if path is None:
115
+ return None, "source complete-car PNG not found"
116
+ arr = _read_png_rgb(path)
117
+ if arr is None:
118
+ return None, "source complete-car PNG could not be read"
119
+ return arr, path.name
120
+
121
+
122
+ def _transparent_overlay(low_arr: np.ndarray, high_arr: np.ndarray) -> np.ndarray:
123
+ low_mask = _foreground_mask((low_arr * 255.0).astype(np.uint8))
124
+ high_mask = _foreground_mask((high_arr * 255.0).astype(np.uint8))
125
+ canvas = np.ones(low_arr.shape, dtype=np.float32) * BACKGROUND
126
+
127
+ alpha = 0.62
128
+ canvas[low_mask] = (1.0 - alpha) * canvas[low_mask] + alpha * LOW_COLOR
129
+ canvas[high_mask] = (1.0 - alpha) * canvas[high_mask] + alpha * HIGH_COLOR
130
+ return np.clip(canvas, 0.0, 1.0)
131
+
132
+
133
+ def _plot_placeholder(ax: plt.Axes, title: str, run: int, score: float, filename: str) -> None:
134
+ ax.set_facecolor("#f5f7fa")
135
+ ax.text(
136
+ 0.5,
137
+ 0.5,
138
+ f"run_{run}\nChamfer score={score:.6f}\n{filename}",
139
+ ha="center",
140
+ va="center",
141
+ fontsize=10,
142
+ color="#1f2933",
143
+ transform=ax.transAxes,
144
+ )
145
+ ax.set_title(title, fontsize=10)
146
+
147
+
148
+ def _finish_axis(ax: plt.Axes, xlabel: str = "") -> None:
149
+ ax.set_xlabel(xlabel, fontsize=7)
150
+ ax.set_xticks([])
151
+ ax.set_yticks([])
152
+ for spine in ax.spines.values():
153
+ spine.set_visible(False)
154
+
155
+
156
+ def main() -> None:
157
+ low_example, high_example = _example_runs()
158
+ examples = [
159
+ ("Training-side low geometry score", *low_example),
160
+ ("Transparent overlay", None, None),
161
+ ("Geometry-test high geometry score", *high_example),
162
+ ]
163
+
164
+ low_arr, low_filename = _example_image(low_example[0])
165
+ high_arr, high_filename = _example_image(high_example[0])
166
+ fig = plt.figure(figsize=(11.5, 6.6), constrained_layout=True)
167
+ grid = fig.add_gridspec(2, 2, height_ratios=[1.0, 1.18])
168
+ low_ax = fig.add_subplot(grid[0, 0])
169
+ high_ax = fig.add_subplot(grid[0, 1])
170
+ overlay_ax = fig.add_subplot(grid[1, :])
171
+
172
+ if low_arr is not None and high_arr is not None:
173
+ bbox = _shared_crop_bbox([low_arr, high_arr])
174
+ low_crop = _crop(low_arr, bbox)
175
+ high_crop = _crop(high_arr, bbox)
176
+ overlay = _transparent_overlay(low_crop, high_crop)
177
+
178
+ low_ax.imshow(low_crop)
179
+ low_ax.set_title(
180
+ f"{examples[0][0]}\nrun_{low_example[0]}, Chamfer score={low_example[1]:.6f}",
181
+ fontsize=10,
182
+ )
183
+ _finish_axis(low_ax, low_filename)
184
+
185
+ high_ax.imshow(high_crop)
186
+ high_ax.set_title(
187
+ f"{examples[2][0]}\nrun_{high_example[0]}, Chamfer score={high_example[1]:.6f}",
188
+ fontsize=10,
189
+ )
190
+ _finish_axis(high_ax, high_filename)
191
+
192
+ overlay_ax.imshow(overlay)
193
+ overlay_ax.set_title(
194
+ "Transparent overlay\nblue=train-side low, orange=geometry-test high",
195
+ fontsize=10,
196
+ )
197
+ _finish_axis(overlay_ax, "same crop and camera")
198
+ else:
199
+ for ax, (title, run, score), arr, filename in [
200
+ (low_ax, examples[0], low_arr, low_filename),
201
+ (high_ax, examples[2], high_arr, high_filename),
202
+ ]:
203
+ if arr is None:
204
+ _plot_placeholder(ax, title, run, score, filename)
205
+ else:
206
+ ax.imshow(arr.astype(np.float32) / 255.0)
207
+ ax.set_title(f"{title}\nrun_{run}, Chamfer score={score:.6f}", fontsize=10)
208
+ _finish_axis(ax, filename)
209
+ overlay_ax.set_facecolor("#f5f7fa")
210
+ overlay_ax.text(
211
+ 0.5,
212
+ 0.5,
213
+ "Overlay unavailable\nboth source PNGs are required",
214
+ ha="center",
215
+ va="center",
216
+ fontsize=10,
217
+ color="#1f2933",
218
+ transform=overlay_ax.transAxes,
219
+ )
220
+ overlay_ax.set_title(examples[1][0], fontsize=10)
221
+ _finish_axis(overlay_ax, "")
222
+
223
+ fig.suptitle("Geometry split examples: complete-car surface views and overlay", fontsize=13)
224
+ DOCS_DIR.mkdir(parents=True, exist_ok=True)
225
+ fig.savefig(OUT, dpi=180)
226
+ print(f"Wrote {OUT}")
227
+
228
+
229
+ if __name__ == "__main__":
230
+ main()
splits/visualize_image_regimes.py ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Visualize image-inspired DrivAerML flow-regime splits.
2
+
3
+ Creates image_regimes.png from splits/image_metrics.csv,
4
+ splits/manifest.json, and
5
+ force_mom_all.csv.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ import csv
11
+ import json
12
+ from pathlib import Path
13
+
14
+ import matplotlib.pyplot as plt
15
+ import numpy as np
16
+
17
+ from generate_splits import load_force_mom, run_id
18
+
19
+
20
+ SCRIPT_DIR = Path(__file__).resolve().parent
21
+ PACKAGE_ROOT = SCRIPT_DIR
22
+ DATA_DIR = PACKAGE_ROOT
23
+ DOCS_DIR = PACKAGE_ROOT
24
+ SPLITS_DIR = PACKAGE_ROOT
25
+ MANIFEST = SPLITS_DIR / "manifest.json"
26
+ METRICS = DATA_DIR / "image_metrics.csv"
27
+ OUT = DOCS_DIR / "image_regimes.png"
28
+
29
+
30
+ def _ids(manifest: dict[str, list[str]], key: str) -> set[int]:
31
+ return {run_id(cid) for cid in manifest[key]}
32
+
33
+
34
+ def _load_metrics() -> dict[str, dict[int, float | bool]]:
35
+ rows = list(csv.DictReader(METRICS.open(encoding="utf-8")))
36
+ result: dict[str, dict[int, float | bool]] = {}
37
+ for row in rows:
38
+ rid = int(row["run"])
39
+ result.setdefault("run", {})[rid] = rid
40
+ for key, value in row.items():
41
+ if key == "run":
42
+ continue
43
+ if key.endswith("_observed"):
44
+ result.setdefault(key, {})[rid] = value == "true"
45
+ else:
46
+ result.setdefault(key, {})[rid] = float(value)
47
+ return result
48
+
49
+
50
+ def _arrays(values: dict[int, float | bool]) -> tuple[np.ndarray, np.ndarray]:
51
+ runs = np.asarray(sorted(values))
52
+ arr = np.asarray([values[int(r)] for r in runs])
53
+ return runs, arr
54
+
55
+
56
+ def _plot_partitioned(
57
+ ax,
58
+ runs: np.ndarray,
59
+ x: np.ndarray,
60
+ y: np.ndarray,
61
+ train_ids: set[int],
62
+ val_ids: set[int],
63
+ test_ids: set[int],
64
+ *,
65
+ title: str,
66
+ xlabel: str,
67
+ ylabel: str,
68
+ ) -> None:
69
+ train = np.asarray([int(r) in train_ids for r in runs])
70
+ val = np.asarray([int(r) in val_ids for r in runs])
71
+ test = np.asarray([int(r) in test_ids for r in runs])
72
+ ax.scatter(x[train], y[train], s=22, color="#aeb7c2", linewidth=0, alpha=0.62, label="train")
73
+ ax.scatter(x[val], y[val], s=30, color="#c28f22", linewidth=0, alpha=0.95, label="val")
74
+ ax.scatter(x[test], y[test], s=30, color="#2f8f61", linewidth=0, alpha=0.95, label="test")
75
+ ax.set_title(title)
76
+ ax.set_xlabel(xlabel)
77
+ ax.set_ylabel(ylabel)
78
+ ax.grid(True, color="#e1e6eb", lw=0.7)
79
+ ax.spines["top"].set_visible(False)
80
+ ax.spines["right"].set_visible(False)
81
+
82
+
83
+ def main() -> None:
84
+ manifest = json.loads(MANIFEST.read_text(encoding="utf-8"))
85
+ metrics = _load_metrics()
86
+ records, force_source = load_force_mom()
87
+ if force_source == "deterministic_proxy_missing_force_mom_all_csv":
88
+ raise SystemExit(
89
+ "force_mom_all.csv is required for image_regimes.png. "
90
+ "Run after `python3 splits/download_hf_inputs.py --output-dir data`, "
91
+ "or set DRIVAERML_DATA_ROOT to a directory containing it."
92
+ )
93
+ runs, _ = _arrays(metrics["run"])
94
+ cd = np.asarray([records[int(r)]["cd"] for r in runs], dtype=float)
95
+
96
+ def score(name: str) -> tuple[np.ndarray, np.ndarray]:
97
+ _, y = _arrays(metrics[f"{name}_score"])
98
+ _, observed = _arrays(metrics[f"{name}_observed"])
99
+ return y.astype(float), observed.astype(bool)
100
+
101
+ fig, axes = plt.subplots(1, 2, figsize=(10.8, 3.9), constrained_layout=True)
102
+
103
+ y, _obs = score("rear_separation")
104
+ train_ids = _ids(manifest, "rear_separation_train")
105
+ val_ids = _ids(manifest, "rear_separation_val")
106
+ test_ids = _ids(manifest, "rear_separation_test")
107
+ _plot_partitioned(
108
+ axes[0],
109
+ runs,
110
+ runs,
111
+ y,
112
+ train_ids,
113
+ val_ids,
114
+ test_ids,
115
+ title="Rear-separation split score",
116
+ xlabel="run",
117
+ ylabel="rear_separation score",
118
+ )
119
+ _plot_partitioned(
120
+ axes[1],
121
+ runs,
122
+ runs,
123
+ cd,
124
+ train_ids,
125
+ val_ids,
126
+ test_ids,
127
+ title="Rear-separation split on Cd",
128
+ xlabel="run",
129
+ ylabel="Cd",
130
+ )
131
+ legend = axes[0].legend(frameon=True, loc="lower left")
132
+ legend.get_frame().set_facecolor("white")
133
+ legend.get_frame().set_edgecolor("none")
134
+ legend.get_frame().set_alpha(0.78)
135
+
136
+ fig.suptitle("DrivAerML image-derived flow-regime split diagnostics", fontsize=12)
137
+ DOCS_DIR.mkdir(parents=True, exist_ok=True)
138
+ fig.savefig(OUT, dpi=180)
139
+ print(f"Wrote {OUT}")
140
+
141
+
142
+ if __name__ == "__main__":
143
+ main()
splits/visualize_split_examples.py ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build illustrative high/low image examples for the split report."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import csv
6
+ from pathlib import Path
7
+
8
+ import matplotlib.pyplot as plt
9
+ import numpy as np
10
+ from PIL import Image
11
+
12
+ from generate_splits import _run_image_dir
13
+
14
+
15
+ SCRIPT_DIR = Path(__file__).resolve().parent
16
+ PACKAGE_ROOT = SCRIPT_DIR
17
+ DATA_DIR = PACKAGE_ROOT
18
+ DOCS_DIR = PACKAGE_ROOT
19
+ METRICS = DATA_DIR / "image_metrics.csv"
20
+ OUT = DOCS_DIR / "image_split_examples.png"
21
+
22
+ EXAMPLES = [
23
+ ("rear_separation", "centreline", "Rear separation"),
24
+ ]
25
+
26
+
27
+ def _observed_rows(metric: str) -> list[dict[str, str]]:
28
+ rows = list(csv.DictReader(METRICS.open(encoding="utf-8")))
29
+ return [row for row in rows if row[f"{metric}_observed"] == "true"]
30
+
31
+
32
+ def _example_run(metric: str, high: bool) -> tuple[int, float]:
33
+ rows = _observed_rows(metric)
34
+ key = lambda row: float(row[f"{metric}_score"])
35
+ row = max(rows, key=key) if high else min(rows, key=key)
36
+ return int(row["run"]), float(row[f"{metric}_score"])
37
+
38
+
39
+ def _centreline_paths(run: int) -> list[Path]:
40
+ image_dir = _run_image_dir(run)
41
+ if image_dir is None:
42
+ return []
43
+ prefix = f"fig_run{run}_SRS"
44
+ return [
45
+ image_dir / f"{prefix}_magUMeanNormTrim_yNormal-2_yNormal_p00000.png",
46
+ image_dir / f"{prefix}_CptMeanTrim_yNormal-2_yNormal_p00000.png",
47
+ image_dir / f"{prefix}_CpMeanTrim_yNormal-2_yNormal_p00000.png",
48
+ ]
49
+
50
+
51
+ def _display_png_array(path: Path) -> np.ndarray | None:
52
+ if not path.exists() or path.name.startswith("._"):
53
+ return None
54
+ try:
55
+ with path.open("rb") as f:
56
+ if f.read(8) != b"\x89PNG\r\n\x1a\n":
57
+ return None
58
+ with Image.open(path) as img:
59
+ img = img.convert("RGB")
60
+ width, height = img.size
61
+ # Keep the full centreline field and colorbar, trimming only the
62
+ # mostly empty lower margin from the exported ParaView image.
63
+ img = img.crop((0, 0, width, int(height * 0.91)))
64
+ return np.asarray(img, dtype=np.float32) / 255.0
65
+ except Exception:
66
+ return None
67
+
68
+
69
+ def _first_image(run: int, kind: str):
70
+ paths = _centreline_paths(run) if kind == "centreline" else []
71
+ for path in paths:
72
+ arr = _display_png_array(path)
73
+ if arr is not None:
74
+ return arr, path.name
75
+ return None, "source PNG not found"
76
+
77
+
78
+ def main() -> None:
79
+ fig, axes = plt.subplots(len(EXAMPLES), 2, figsize=(11.5, 4.2), constrained_layout=True, squeeze=False)
80
+
81
+ for row_idx, (metric, kind, title) in enumerate(EXAMPLES):
82
+ for col_idx, high in enumerate([False, True]):
83
+ run, score = _example_run(metric, high)
84
+ arr, filename = _first_image(run, kind)
85
+ ax = axes[row_idx, col_idx]
86
+ if arr is None:
87
+ ax.set_facecolor("#f5f7fa")
88
+ ax.text(
89
+ 0.5,
90
+ 0.5,
91
+ f"run_{run}\nscore={score:.3f}\n{filename}",
92
+ ha="center",
93
+ va="center",
94
+ fontsize=11,
95
+ color="#1f2933",
96
+ transform=ax.transAxes,
97
+ )
98
+ else:
99
+ ax.imshow(arr)
100
+ ax.set_xticks([])
101
+ ax.set_yticks([])
102
+ label = "high" if high else "low"
103
+ ax.set_title(f"{title}: {label} score\ncentreline y=0, run_{run}, score={score:.3f}", fontsize=10)
104
+ ax.set_xlabel(filename, fontsize=7)
105
+ for spine in ax.spines.values():
106
+ spine.set_visible(False)
107
+
108
+ fig.suptitle("Image-derived split examples: centreline low vs. high observed-score cases", fontsize=13)
109
+ DOCS_DIR.mkdir(parents=True, exist_ok=True)
110
+ fig.savefig(OUT, dpi=180)
111
+ print(f"Wrote {OUT}")
112
+
113
+
114
+ if __name__ == "__main__":
115
+ main()