codelion commited on
Commit
18da769
·
verified ·
1 Parent(s): 96e9add

card: measured action statistics, manifest schema

Browse files
Files changed (1) hide show
  1. README.md +46 -2
README.md CHANGED
@@ -110,8 +110,24 @@ Ground truth is the reason to prefer this dataset, not a reason to distrust it.
110
 
111
  ## Choosing what to train on
112
 
113
- Half the frames have a nearly still camera, `W` is held ~89% of the time, and `sneak` is essentially
114
- never pressed. With 5.5M frames, signal is the constraint, not quantity.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  `quality_*.jsonl` rank every run with ≥48 frames (32,877 runs, 3,097,088 frames) on six
117
  rank-normalised measures plus length: `control` (does the player act at all), `agreement` (does the
@@ -151,6 +167,34 @@ usage of one shard. Do not try to select shards; select runs.
151
  > exactly the ones the stride corrupted. The corrected top-35% differs from the old one on 20% of its
152
  > selections. If you pulled a selection before that date, re-pull it.
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  ## Layout
155
 
156
  The `.tar` files are **not a WebDataset**. Each holds many run directories:
 
110
 
111
  ## Choosing what to train on
112
 
113
+ With 5.5M frames, signal is the constraint, not quantity. Measured over 171,158 frames sampled from
114
+ 10 shards:
115
+
116
+ | channel | ON-rate | | channel | mean | std | p5 | p95 | exactly 0 |
117
+ |---|---|---|---|---|---|---|---|---|
118
+ | `W` | 65.5% | | `cam_dx` | −0.004 | 0.313 | −0.55 | +0.54 | 31.0% |
119
+ | `S` | 2.6% | | `cam_dy` | +0.000 | 0.185 | −0.31 | +0.31 | 35.6% |
120
+ | `A` | 10.5% | | `speed` | +0.120 | 0.425 | −0.58 | +0.93 | 0.0% |
121
+ | `D` | 9.1% | | `turn_rate` | −0.002 | 0.415 | −0.76 | +0.76 | 0.0% |
122
+ | `jump` | 25.5% |
123
+ | `sneak` | 4.5% |
124
+ | `sprint` | 29.2% |
125
+ | `attack` | 24.6% |
126
+ | `use` | 4.9% |
127
+
128
+ `W` dominates and roughly a third of frames have a perfectly still camera, so a uniform sample is
129
+ mostly "walking forward, looking nowhere". The camera channels are symmetric about zero, as they
130
+ should be.
131
 
132
  `quality_*.jsonl` rank every run with ≥48 frames (32,877 runs, 3,097,088 frames) on six
133
  rank-normalised measures plus length: `control` (does the player act at all), `agreement` (does the
 
167
  > exactly the ones the stride corrupted. The corrected top-35% differs from the old one on 20% of its
168
  > selections. If you pulled a selection before that date, re-pull it.
169
 
170
+ ## Manifest file schema
171
+
172
+ `quality_all.jsonl` / `quality_top{20,35,50}.jsonl` — one JSON object per scored run, sorted by
173
+ `score` descending. `integrity.jsonl` — one object per run, **all** runs, unsorted.
174
+
175
+ | field | in | meaning |
176
+ |---|---|---|
177
+ | `run` | both | run directory name, e.g. `s00123_r0007` |
178
+ | `tar` | both | which shard holds it, e.g. `data/shard_00123.tar` |
179
+ | `frames` / `actions` | both | file count and action-line count |
180
+ | `count_delta` | integrity | `frames - actions`; 0 everywhere in this release |
181
+ | `corrupt_jpeg` | integrity | files failing the FFD9 end-of-image check; 0 everywhere |
182
+ | `framefile_mismatch` | integrity | records whose `frame_file` names the wrong frame; 0 everywhere |
183
+ | `width_ok`, `nan`, `out_of_range`, `nonbinary_keys` | integrity | action-vector sanity |
184
+ | `scored` | both | false if the run is under 48 frames |
185
+ | `score` | quality | the combined rank-normalised ranking value, 0–1 |
186
+ | `control` | quality | how much the player acts: camera magnitude + key-change rate |
187
+ | `agreement` | quality | \|corr\| between the steering signal and horizontal optical flow |
188
+ | `best_lag`, `lag_r` | quality | lag maximising that correlation, and the signed r there |
189
+ | `smooth` | quality | lag-1 autocorrelation of frame difference; low means jittery timing |
190
+ | `motion` | quality | mean optical-flow magnitude; excludes AFK stretches |
191
+ | `detail` | quality | mean Laplacian variance; excludes featureless sky and cave walls |
192
+ | `clean` | quality | 1 − near-duplicate-frame rate |
193
+
194
+ `score` weights these as `(2·control + 2·agreement + 1.5·length + smooth + motion + detail + clean) / 9.5`,
195
+ each rank-normalised across runs first so no raw scale dominates. Every component ships, so you can
196
+ re-weight for your own priorities instead of accepting ours.
197
+
198
  ## Layout
199
 
200
  The `.tar` files are **not a WebDataset**. Each holds many run directories: