File size: 4,863 Bytes
a7841c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# t23 visual reference — rubric v1

`visual-reference.json` is extracted from **the exact six-second clip the
agent receives**, `environment/media/reference.mp4`. Its SHA-256 is stored in
the manifest. Neither Astra's output nor the synthetic oracle is ground truth.
The old constants in `../beats.json` remain for historical v0 reproduction.

The approach follows [Agents' Last Exam, §3.3 and Appendix C.3.3–C.3.6](https://arxiv.org/html/2606.05405v1):
use artifact comparisons and deterministic checks where possible, apply gates,
and aggregate specific checks in code. ALE also describes narrow paired-image
vision questions for cases requiring a model. This task's separable coloured
blobs and dark faces allow deterministic mask comparisons, so v1 needs no
judge API. **The weights and tolerances below are our t23 design choices, not
values prescribed or validated by ALE.**

## Score

Twenty independent checks are worth 0.05 each. The total is zero if a gate
fails: decodable output with visible blobs, 800×800, 30 fps, H.264, no audio,
6 seconds ±1, a saved project of at least 1 KB, and no logged terminal attempt.
Project presence is not a proof of editability or authorship; that still needs
project/trajectory inspection. A missing reference manifest is an evaluator
error and must not produce a successful score.

| Group | Weight | Reference comparisons |
|---|---:|---|
| Drawing and proportions | 0.40 | Rest/squash silhouette, rest/squash face strokes, face placement, facial ink area, body width, rest height |
| Layout | 0.15 | Floor height, white background, row spacing and regularity |
| Motion | 0.35 | Hop period, squash depth, pinned feet, stable width, squash/spring easing, rightward travel, movement during the spring |
| Colour | 0.10 | Saturation/brightness; shared hue cycle direction, coverage and rate |

Foreground IoU must average ≥0.92. Faces are centred to compare the drawing
separately from placement, then measured with a one-pixel-tolerant F1 ≥0.75
on the 64×64 canonical grid. Face centroid error must be ≤0.04 body units;
relative facial ink area error ≤0.25. Width, height and spacing may differ by
8%; floor position by 8 original pixels. The code records all other numeric
tolerances next to the measured result in `visual-score-v1.json`.

The full six seconds are decoded at 200×200 / 30 fps. Every full blob enters
the rest/squash candidate pool; 32 evenly selected observations per pose are
retained separately, because averaging tilted faces erases their features.
Canonical masks remove translation and body scale; separate layout and size
checks retain those requirements. Each candidate drawing is paired with one
reference drawing in the same broad pose, and the mean pair metrics determine
the binary checks. The white background earns no silhouette-overlap credit.

Timing uses a fitted hop period over all frames and 12 phase bins, aligned
once using height, with at most one bin correction for rest plateaus. The same
alignment is used for lateral motion. This permits a different starting phase
and a modest period difference without choosing an arbitrary best reference
frame for each moment. Hue phase is unconstrained; its direction/rate and
palette remain scored.

## Reproduce

From the repository root (Python standard library and ffmpeg only):

```sh
python3 tasks/t23-dance-blob/tests/reference_score.py \
  --build-reference tasks/t23-dance-blob/environment/media/reference.mp4 \
  --output tasks/t23-dance-blob/tests/reference/visual-reference.json
python3 tasks/t23-dance-blob/tools/make-reference-controls.py
python3 tasks/t23-dance-blob/tools/calibrate-reference.py
```

Calibration also reads the historical synthetic variants in `/tmp/blob`;
regenerate those with `tools/make-synthetic-oracle.py` if absent. The reference
project gate in calibration uses the saved Astra project solely to isolate
render scoring; a reference self-check is not an eligible agent submission.

`test_outputs.py` now uses v1; `legacy_v0.py` preserves the historical grader.
`test.sh` exports the complete v1 evidence report. The bundled feature manifest
allows future sandbox grading without network, extra dependencies, or an image
rebuild. This change does not launch or rerun an agent.

Binary thresholds are an explicit acceptance policy, not a universal measure
of aesthetic quality. Near-threshold differences can change a result by 0.05;
pose sampling can miss a brief defect. The synthetic drawing may fail the same
face criteria as the version with its face removed. Reference-derived
ablations, rather than only changes to that already-imperfect stand-in, test
that missing features lose the intended credit. Human-reviewed additional
recreations remain useful for future tolerance calibration; scores across v0
and v1 are not directly comparable as measurements of model progress.