Joao97ribeiro Claude Opus 4.7 (1M context) commited on
Commit
2881525
·
1 Parent(s): 6ac0d1d

Add grid-index columns and reorder schema

Browse files

- Add wind_speed_id, wave_hs_id, wave_tp_id to train/test/data CSVs
(split is reproducible from these integer grid IDs)
- Place each *_id column immediately before its value column
- data.csv now ships the raw table with grid IDs in place of the
is_train / wind_group / wave_group columns
- Track train_damage.csv via git-LFS (now exceeds HF 10 MiB limit)
- README: document the new column order

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

.gitattributes CHANGED
@@ -60,7 +60,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  opt1/data.csv filter=lfs diff=lfs merge=lfs -text
62
  opt1/test_damage.csv filter=lfs diff=lfs merge=lfs -text
 
63
  opt2/data.csv filter=lfs diff=lfs merge=lfs -text
64
  opt2/test_damage.csv filter=lfs diff=lfs merge=lfs -text
 
65
  ref/data.csv filter=lfs diff=lfs merge=lfs -text
66
  ref/test_damage.csv filter=lfs diff=lfs merge=lfs -text
 
 
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  opt1/data.csv filter=lfs diff=lfs merge=lfs -text
62
  opt1/test_damage.csv filter=lfs diff=lfs merge=lfs -text
63
+ opt1/train_damage.csv filter=lfs diff=lfs merge=lfs -text
64
  opt2/data.csv filter=lfs diff=lfs merge=lfs -text
65
  opt2/test_damage.csv filter=lfs diff=lfs merge=lfs -text
66
+ opt2/train_damage.csv filter=lfs diff=lfs merge=lfs -text
67
  ref/data.csv filter=lfs diff=lfs merge=lfs -text
68
  ref/test_damage.csv filter=lfs diff=lfs merge=lfs -text
69
+ ref/train_damage.csv filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -46,9 +46,9 @@ turbine baseline (`ref`) and two FLOAT-derived re-designs (`opt1`,
46
  ```
47
  FLOATBench/
48
  ├── ref/ IEA-22 reference turbine baseline
49
- │ ├── data.csv 194,040 rows × 16 cols (full table, is_train flag)
50
- │ ├── train_damage.csv 51,840 rows × 15 cols
51
- │ ├── test_damage.csv 142,200 rows × 15 cols (with regime labels)
52
  │ └── metadata.json counts, split summary
53
  ├── opt1/ FLOAT-derived re-design
54
  │ └── ... same files
@@ -58,12 +58,35 @@ FLOATBench/
58
 
59
  ## Schema
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  **Identifiers**
62
 
63
- | Column | Type | Meaning |
64
- |--------------|------|------------------------------------------------------------------------|
65
- | `sim_id` | int | Unique simulation identifier (ties together the 30 sections of one run) |
66
- | `section_id` | int | Tower section index ∈ {1,...,30}, 1 (base) to 30 (top) |
 
 
 
 
67
 
68
  **Environmental features**
69
 
@@ -74,7 +97,6 @@ FLOATBench/
74
  | `std_wind_speed` | float | Realised 10-min std of hub-height wind speed (m/s) |
75
  | `wave_hs` | float | Significant wave height (m) |
76
  | `wave_tp` | float | Wave peak period (s) |
77
- | `wind_seed_id` | int | Turbulence seed index ∈ {1,...,6} |
78
 
79
  **Tower section geometry**
80
 
@@ -84,19 +106,13 @@ FLOATBench/
84
  | `section_radius_m` | float | Tower section outer radius (m) |
85
  | `section_thickness_m` | float | Tower section wall thickness (m) |
86
 
87
- **Regime labels**
88
 
89
  | Column | Type | Meaning |
90
  |--------------|------|--------------------------------------------------------------------------|
91
  | `wind_group` | str | `In-train` / `Interpolate` / `Extrapolate` (all train rows are `In-train`) |
92
  | `wave_group` | str | `In-train` / `Interpolate` / `Extrapolate` (all train rows are `In-train`) |
93
 
94
- **Split flag** (only in `data.csv`)
95
-
96
- | Column | Type | Meaning |
97
- |------------|------|-----------------------------------------------|
98
- | `is_train` | bool | `True` for train rows, `False` for test rows |
99
-
100
  **Damage targets**
101
 
102
  | Column | Type | Meaning |
@@ -107,21 +123,55 @@ FLOATBench/
107
  Lifetime damage at a section is recovered as
108
  `sum(damage_i * damage_weight_i)` over all conditions.
109
 
110
- ## Split
 
 
 
 
 
 
111
 
112
- The recommended train/test partition is **regime-aware**, an
113
- alpha-shape over the joint wind/wave operating envelope, populating
114
- all nine cells of the `In-train` / `Interpolate` / `Extrapolate` ×
115
- wind/wave grid. Per tower:
116
 
117
- | Subset | Rows | Conditions | Description |
118
- |--------|---------|------------|------------------------------------------------|
119
- | Train | 51,840 | 288 | All `In-train`/`In-train` cell |
120
- | Test | 142,200 | 790 | Spans the remaining 8 wind×wave regime cells |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
 
122
- All rows carry per-row `wind_group` and `wave_group` labels (train
123
- rows are `In-train`/`In-train` by construction) so the regime-aware
124
- evaluation can be reproduced directly.
125
 
126
  ## Quickstart
127
 
 
46
  ```
47
  FLOATBench/
48
  ├── ref/ IEA-22 reference turbine baseline
49
+ │ ├── data.csv 194,040 rows × 16 cols (raw, no split/regime labels)
50
+ │ ├── train_damage.csv 51,840 rows × 18 cols (with regime labels)
51
+ │ ├── test_damage.csv 142,200 rows × 18 cols (with regime labels)
52
  │ └── metadata.json counts, split summary
53
  ├── opt1/ FLOAT-derived re-design
54
  │ └── ... same files
 
58
 
59
  ## Schema
60
 
61
+ Columns appear in the order below. Each `*_id` grid index sits
62
+ immediately before the value it indexes (`wind_speed_id` before
63
+ `wind_speed`, `wave_hs_id` before `wave_hs`, `wave_tp_id` before
64
+ `wave_tp`).
65
+
66
+ `data.csv` (16 cols):
67
+
68
+ ```
69
+ sim_id, wind_speed_id, wind_speed, mean_wind_speed, std_wind_speed,
70
+ wave_hs_id, wave_hs, wave_tp_id, wave_tp, wind_seed_id,
71
+ section_id, section_height_m, section_radius_m, section_thickness_m,
72
+ damage_weight, damage
73
+ ```
74
+
75
+ `train_damage.csv` / `test_damage.csv` (18 cols): same order, with
76
+ `wind_group, wave_group` inserted right before `damage_weight`.
77
+
78
+ The tables below describe each column grouped by category.
79
+
80
  **Identifiers**
81
 
82
+ | Column | Type | Meaning |
83
+ |-----------------|------|------------------------------------------------------------------------|
84
+ | `sim_id` | int | Unique simulation identifier (ties the 30 sections of one run) |
85
+ | `section_id` | int | Tower section index ∈ {1,...,30}, 1 (base) to 30 (top) |
86
+ | `wind_speed_id` | int | Grid index ∈ {1,...,22}, ordered by `wind_speed` ascending |
87
+ | `wave_hs_id` | int | Grid index ∈ {1,...,7} within each `wind_speed` |
88
+ | `wave_tp_id` | int | Grid index ∈ {1,...,7} within each (`wind_speed`, `wave_hs`) |
89
+ | `wind_seed_id` | int | Turbulence seed index ∈ {1,...,6} |
90
 
91
  **Environmental features**
92
 
 
97
  | `std_wind_speed` | float | Realised 10-min std of hub-height wind speed (m/s) |
98
  | `wave_hs` | float | Significant wave height (m) |
99
  | `wave_tp` | float | Wave peak period (s) |
 
100
 
101
  **Tower section geometry**
102
 
 
106
  | `section_radius_m` | float | Tower section outer radius (m) |
107
  | `section_thickness_m` | float | Tower section wall thickness (m) |
108
 
109
+ **Regime labels** (only in `train_damage.csv` and `test_damage.csv`)
110
 
111
  | Column | Type | Meaning |
112
  |--------------|------|--------------------------------------------------------------------------|
113
  | `wind_group` | str | `In-train` / `Interpolate` / `Extrapolate` (all train rows are `In-train`) |
114
  | `wave_group` | str | `In-train` / `Interpolate` / `Extrapolate` (all train rows are `In-train`) |
115
 
 
 
 
 
 
 
116
  **Damage targets**
117
 
118
  | Column | Type | Meaning |
 
123
  Lifetime damage at a section is recovered as
124
  `sum(damage_i * damage_weight_i)` over all conditions.
125
 
126
+ ## Regime-aware split
127
+
128
+ The recommended train/test partition is **regime-aware**: an
129
+ alpha-shape over the joint wind/wave operating envelope partitions
130
+ test points into `In-train` / `Interpolate` / `Extrapolate` regimes
131
+ on both the wind and wave axes, populating all nine cells of the
132
+ 3×3 wind×wave regime grid. Per tower:
133
 
134
+ | Subset | Rows | Conditions | Description |
135
+ |--------|---------|------------|----------------------------------------------|
136
+ | Train | 51,840 | 288 | All `In-train`/`In-train` cell |
137
+ | Test | 142,200 | 790 | Spans the remaining 8 wind×wave regime cells |
138
 
139
+ Train rows carry `wind_group = wave_group = In-train` by
140
+ construction. Test rows carry the assigned regime labels so the
141
+ 9-cell evaluation can be run directly.
142
+
143
+ ### Reproducing the split from grid IDs
144
+
145
+ The partition is **fully determined by the integer grid IDs**
146
+ (`wind_speed_id`, `wave_hs_id`, `wave_tp_id`) shipped on every row.
147
+ A row is in train iff its three IDs all fall in the train sets:
148
+
149
+ ```python
150
+ TRAIN_WS_IDS = {2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14,
151
+ 16, 17, 18, 19, 20, 21} # 18 of 22
152
+ TRAIN_HS_IDS = {2, 3, 5, 6} # 4 of 7
153
+ TRAIN_TP_IDS = {2, 3, 5, 6} # 4 of 7
154
+
155
+ is_train = (df.wind_speed_id.isin(TRAIN_WS_IDS)
156
+ & df.wave_hs_id.isin(TRAIN_HS_IDS)
157
+ & df.wave_tp_id.isin(TRAIN_TP_IDS))
158
+ ```
159
+
160
+ Train cells: 18 × 4 × 4 = 288. Total grid: 22 × 7 × 7 = 1,078.
161
+
162
+ The alpha-shape regime labels (`wind_group`, `wave_group`) are
163
+ derived from the train set's joint wind–wave envelope. Reproducing
164
+ them and producing diagnostic plots requires the FLOATBench code
165
+ repo: <https://github.com/Joao97ribeiro/FLOATBench>
166
+
167
+ ```bash
168
+ python scripts/split/run.py --flagfile=scripts/split/config.cfg \
169
+ --dataset_dir=/path/to/FLOATBench-dataset
170
+ ```
171
 
172
+ This regenerates `train_damage.csv` / `test_damage.csv` byte-for-byte
173
+ identical to the shipped files, plus a `split_metadata.json` and
174
+ plots of the partition and train spacing.
175
 
176
  ## Quickstart
177
 
opt1/data.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1e2a6c2189527d96b03f7b4c2eea15c2f3bd9fb65360d3fb9bcbbe54e35e673
3
- size 39545443
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1687e23dd90c328e3ae77cdebf41972f48440f617e4c75a38f0d5ce390aeac1f
3
+ size 35984604
opt1/test_damage.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c8e55d06a0135f4659fb8fddcfd6754461c6dd303636df23b5f1286303211e3
3
- size 28282999
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de8bd7a48fa6f5a0c1a78f05e8e429cac1e9fe2f73cd358c084142a668398897
3
+ size 29361320
opt1/train_damage.csv CHANGED
The diff for this file is too large to render. See raw diff
 
opt2/data.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:13a16afe3ab6abb3ffaf280c7cbb0dccc24c12f7532a0d5c46d15653b97aae7a
3
- size 39562210
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:456696b3c1011fd734da97c117031aa361ab3b8a0838753b8cff836560c4c5c7
3
+ size 36001467
opt2/test_damage.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:abbc532bcf6fba0c4954a73f7a54cd51d0c29573aaf1863ec905f9bd68991103
3
- size 28294919
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:731a7ff25fc828d1dc4c566135baf99f4339bc856e20f4ad53d9ef0622c73b36
3
+ size 29373368
opt2/train_damage.csv CHANGED
The diff for this file is too large to render. See raw diff
 
ref/data.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:137ab9aa952da9d1f20f4846cdaec05a35bd38618f2d7c132eeb0fe0fabd7faf
3
- size 39544341
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed6f4b9bf0c38d5bef508d61d4c49039fff282178d834bd8cccceb82fe4f6760
3
+ size 35983677
ref/test_damage.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c903a3b8e40b6c4d49b7b47a32737f92d4a646b11455bcdc24209cf85e399ab
3
- size 28280851
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b586ac69135fe186f0c0c8588e614a10abffb4b4c42752f7a444c51b93570aff
3
+ size 29359260
ref/train_damage.csv CHANGED
The diff for this file is too large to render. See raw diff