File size: 2,775 Bytes
f1fc3a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | # Data
PACTBench expects the three game subsets distributed under the dataset
identifier `teawhite/vrising`. Check the dataset card and its current terms
before redistributing any raw game footage; this repository documents the
layout used by the experiments but does not itself grant rights to third-party
game content.
## Processed layout
```text
data/processed/<Boss>/ # V Rising
data/hk/processed/<Boss>/ # Hollow Knight
data/isaac/processed/<Boss>/ # Isaac
<Boss>/
βββ video_fight<N>.mp4
βββ policy_view_fight<N>.jsonl
βββ render_view_fight<N>.jsonl
βββ dataset_manifest.json
```
Each `policy_view` row is a boss decision with an action and observation. Each
`render_view` row supplies the aligned rendered prompt. Video, policy, and
render files are audited together by boss and fight.
## Fight-disjoint splits
| Game | Bosses | Train fights | Validation fights | Test fights | Official test rows |
|---|---:|---:|---:|---:|---:|
| V Rising | 3 | 54 | 9 | 9 | 8,075 |
| Hollow Knight | 3 | 484 | 9 | 30 | 8,360 |
| Isaac | 8 | 4,858 | 24 | 80 | 1,784 |
Splits operate on complete fights. No fight appears in more than one split.
V Rising uses the last three fights per boss for test and the preceding three
for validation. Hollow Knight and Isaac use the last ten fights per boss for
test and the preceding three for validation.
V Rising has two manifests:
- `games/vrising/manifest.json` records the fight-level dataset split.
- `games/vrising/manifest_latent_covered.json` is the canonical L1 training
manifest and retains only fights with the required visual coverage.
## Observation fields and units
Common policy observations include distance, angle, relative geometry,
previous-action timing, fight time, and boss/player state. The exact schema is
checked by the dataset audit and the belief validators.
- V Rising and Hollow Knight distance use engine units.
- Isaac `obs.dp` uses pixels (observed range 24--484; median about 147 px).
- Isaac L1 therefore fixes `distance_norm=1000` and `distance_clamp=1.5`.
## Build and audit
Run from the `pactbench` root:
```bash
bash games/vrising/data/audit_dataset.sh
bash games/vrising/data/build_manifest.sh
bash games/hk/data/audit_dataset.sh
python3 games/hk/data/build_metadata.py
bash games/hk/data/build_manifest.sh
bash games/isaac/data/audit_dataset.sh
python3 games/isaac/data/build_metadata.py
bash games/isaac/data/build_manifest.sh
```
The audit outputs are:
```text
results/vrising/dataset_audit.json
results/hk/dataset_audit.json
results/isaac/dataset_audit.json
```
HK and Isaac metadata are derived from the processed policy/render rows.
V Rising uses the checked-in canonical `ontology.json` and
`skill_library.json`.
|