Datasets:
Add/update downstream bootstrap reference: SCHEMA.md
Browse files
downstream/bootstrap/SCHEMA.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Downstream bootstrap reference — schema
|
| 2 |
+
|
| 3 |
+
The Track-1 (outcome prediction) bootstrap reference is two files:
|
| 4 |
+
|
| 5 |
+
```
|
| 6 |
+
downstream/bootstrap/draws.parquet # zstd
|
| 7 |
+
downstream/bootstrap/draws.meta.json # provenance sidecar
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
This is the companion to the per-method `downstream/<method>.parquet` substrate
|
| 11 |
+
(see `../SCHEMA.md`). The substrate is the raw per-user pairs; this is the
|
| 12 |
+
**Phase-1 per-draw error frame** the skill / rank / fairness CIs reduce from, so a
|
| 13 |
+
consumer can recompute the leaderboard intervals without re-running the (paired,
|
| 14 |
+
1000-draw) bootstrap over the pairs.
|
| 15 |
+
|
| 16 |
+
## `draws.parquet`
|
| 17 |
+
|
| 18 |
+
One row per `(method, task, subgroup_attr, subgroup_value, draw)` — the per-draw
|
| 19 |
+
error `E` only. Unlike Tracks 2/3, the ratio / rank / skill reductions are **not**
|
| 20 |
+
precomputed here; Phase-2 derives all three from `E` (every metric is paired vs the
|
| 21 |
+
`linear` baseline using the same draw indices).
|
| 22 |
+
|
| 23 |
+
| column | type | description |
|
| 24 |
+
|---|---|---|
|
| 25 |
+
| `method` | string | method identifier (8 values; see `draws.meta.json:methods`) |
|
| 26 |
+
| `task` | string | benchmark task name (one of the 32 `BENCHMARK_TASKS`) |
|
| 27 |
+
| `task_type` | string | `binary`, `ordinal`, or `regression` |
|
| 28 |
+
| `domain` | string | task domain: `Demographics`, `Medical conditions`, `Body metrics and biomarkers`, `Mental well-being`, `Sleep and lifestyle` |
|
| 29 |
+
| `subgroup_attr` | string | `all` (global cell), `age_group`, or `sex` |
|
| 30 |
+
| `subgroup_value` | string | `all` for the global cell; otherwise the subgroup level (age bucket, sex value, or `unknown`) |
|
| 31 |
+
| `draw` | int | `-1` for the point estimate (full cohort, no resampling), else the bootstrap-draw index in `[0, n_boot)` |
|
| 32 |
+
| `E` | float32 | per-draw error `E = 1 − metric` for this cell, evaluated on the resampled cohort |
|
| 33 |
+
|
| 34 |
+
### Value semantics
|
| 35 |
+
|
| 36 |
+
- **`E = 1 − metric`**, where the metric is the task's primary cohort-level score:
|
| 37 |
+
binary = **AUPRC**, ordinal = **Spearman ρ**, regression = **Pearson r**. Lower
|
| 38 |
+
`E` is better, so the paired skill score `S = 1 − geomean_task(E_method / E_linear)`
|
| 39 |
+
(domain-balanced, clipped) and the cross-method rank are well-defined per draw.
|
| 40 |
+
- **`draw = -1`** is the point estimate (the metric on the full test cohort); draws
|
| 41 |
+
`0 … n_boot−1` are the paired bootstrap resamples.
|
| 42 |
+
- **Paired resamples** — for each task the same `seed=42` resample indices are reused
|
| 43 |
+
across all methods, so per-draw cross-method comparisons (skill ratios, ranks,
|
| 44 |
+
subgroup disparities) are valid.
|
| 45 |
+
- No NaN-filling: a `(task, subgroup_value)` cell with no eligible cohort simply has
|
| 46 |
+
no rows.
|
| 47 |
+
|
| 48 |
+
## `draws.meta.json`
|
| 49 |
+
|
| 50 |
+
```jsonc
|
| 51 |
+
{
|
| 52 |
+
"n_boot": 1000,
|
| 53 |
+
"seed": 42,
|
| 54 |
+
"methods": ["linear", "multirocket", "lsm2", "toto",
|
| 55 |
+
"chronos2", "xgboost", "wbm", "gru_d"], // 8 entries
|
| 56 |
+
"n_tasks": 32,
|
| 57 |
+
"fairness_attributes": ["age_group", "sex"]
|
| 58 |
+
}
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Conventions
|
| 62 |
+
|
| 63 |
+
- Evaluated against the canonical split `sharable_users_seed42_2026` (`test`).
|
| 64 |
+
- Track-1 baseline for skill / fairness: `linear`.
|
| 65 |
+
- Skill is **domain-balanced macro** (mean over the 5 domains' geomean ratios);
|
| 66 |
+
fairness uses BCa intervals over the `age_group` / `sex` subgroup rows.
|
| 67 |
+
- Format: single Parquet, dictionary-encoded string columns, `float32` `E`, `zstd`
|
| 68 |
+
compression.
|
| 69 |
+
|
| 70 |
+
## Tracks
|
| 71 |
+
|
| 72 |
+
| dir | track | status |
|
| 73 |
+
|---|---|---|
|
| 74 |
+
| `imputation/bootstrap/` | Track 2 — Imputation | live |
|
| 75 |
+
| `forecasting/bootstrap/` | Track 3 — Forecasting | live |
|
| 76 |
+
| `downstream/bootstrap/` | Track 1 — Outcome Prediction (above) | live |
|