File size: 7,813 Bytes
5eec1f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Dancing blob v3 — reference viewing and staged RLVR rubric

The rendered reference supplies proportions and examples, not exact masks to imitate. Every point maps to an observable task requirement. Exact rest/squash silhouette IoU, facial-stroke similarity and ink-area matching are removed. Native keyframes and in-app expressions are both allowed. Historical v1 sources are archived in `tests/legacy_v1/`; old scores remain unchanged.

| Stage | Points | Verification |
|---|---:|---|
| Reference viewing | 5 | Instrumented viewer records ≥3 seconds of focused viewing, ≥10 distinct frames spanning ≥15 frames (0.5 seconds). |
| Scene | 34 | Rounded dome (5), two eyes and smile (5), face in lower half (2), proportions (4), even row (4), common floor (2), full white background (3), loaded vector scene (5), native animation (4). |
| Vertical dance | 25 | Cadence (5), squash depth (5), pinned feet (4), stable width (3), smooth movement with slower squash/faster spring (8). |
| Sideways dance | 20 | Half-spacing rightward hops (10), movement during spring (6), smooth sideways movement (4). |
| Colour | 10 | Shared pastel palette (4), continuous forward colour-wheel cycle once per hop (6). |
| Delivery | 11 | Export matches independently rendered project (4), dimensions (2), FPS (1), duration (2), H.264 (1), no audio (1). |

Each check earns its listed points independently; stages do not require completing earlier stages, except that creative credit requires verifiable native vector artwork. Failed checks emit actionable feedback, such as “move the row half a spacing during spring-back.” The same criteria serve final grading and stage feedback; neither exposes exact reference pixels as a target.

## Measurements

Decode all six seconds at 200×200 and 30fps. Detect filled characters with a broad pastel colour threshold, and inspect dark face geometry separately. Dome geometry checks rounded shoulders, a narrow top, broad lower body and flatter feet. Faces can be drawn as connected strokes; exact eye/smile shapes and layer counts do not matter. At least 85% of full-character observations must show a valid face. Lower-half placement allows 5% drawing tolerance. Layout bands: body width 165–212px, rest height 137–177px, spacing 176–224px, common floor y=455–487. Spacing CV ≤8%. At least 90% of frames show the repeated row.

Measure individual complete hops, not only a clip average. At least eight hops must cover 80% of the clip; at least 90% must satisfy each motion criterion. Period 0.4–0.6s; minimum height 60–76% of resting height; pinned floor SD ≤4px; width ratio ≤1.08. Squash lasts longer than spring. Height must have smaller endpoint slopes and no jump exceeding 30% of amplitude plus one decoded-pixel quantization allowance. Sideways displacement is 40–60% of spacing per hop, with ≤10% backward movement; ≥75% occurs during spring; no frame jump exceeds 20% spacing. Hue makes 0.75–1.25 forward turns per hop, with no frame jump over 20% of a turn and coverage of at least six hue bins. Shared hue holds on ≥95% frames. Broad saturation 0.25–0.80 and brightness 0.75–1.0 permit alternate pastels.

The white-background check examines the entire region outside detected characters: at least 99.5% white pixels on 95% of frames. Native/render correspondence compares the union of foreground pixels at every frame; maximum mean absolute RGB error ≤0.08 accommodates normal compression. Export duration must be within one frame of six seconds and decode to 179–181 frames. Resolution, codec, FPS and audio are graded separately.

## Native and action verification

A pinned source build of Friction rc.3 loads a frozen project without saving it, exports its object/property tree, evaluates scene 0, and independently renders every frame. Creative credit requires editable built-in vector artwork, resolved assets, one scene and no image/video/linked-media objects. Native animation can use keys or valid in-app expressions. A matching MP4 earns delivery credit. An unrelated MP4 cannot earn creative credit for a project: the grader uses the project's independent render to preserve genuine native progress instead.

Explicit terminal requests or recorded shell execution violate the GUI-only requirement and gate final reward to zero; earned diagnostic progress remains. Denied application launchers do not count as terminal use. Missing or ambiguous action evidence is ungraded pending review. The new environment records structured events, including a log-initialization marker, and avoids modal popup dialogs.

Missing tools/native runtime, timeout, interrupted inspection, unsupported state or unexpected exceptions produce `verifier_error` and **no reward file**. Missing/invalid learner deliverables lose applicable points. Never substitute a zero for an infrastructure failure. The harness must stop learner activity before copying final files; the verifier does not globally kill editors or renderers.

## Validation and deployment

Run `python3 tools/selftest-v2.py`. Controls must include acceptable alternate faces/domes, no face, static output, wrong direction, wrong cadence, jumping movement, misplaced face, nonwhite interior background, corrupt/missing native files and reference-copy submissions. A native project with a mismatching export must retain project-derived progress and lose correspondence credit.

Build the pinned `friction-audit-runtime:rc3-sidecar` image before building the task image. `tests/native/runtime-lock.json` records runtime identity. Existing remote snapshots require rebuilding: v2 must fail explicitly if installed without its native inspector. The task Dockerfile installs its missing runtime dependencies and has been built locally as `t23-verifier-v2:validation`. The former reference-copy “oracle” is ineligible; `solution/solve.sh` copies the packaged `solution/oracle/` native project and matching render. This calibration oracle repairs the retained trajectory’s editable artwork; it is supplied only to oracle runs, outside the learner environment. Its provenance is recorded alongside the project.

Remaining limitations: low-resolution segmentation cannot classify every artistic variation; subtle internal background marks and disconnected/overlapping faces need additional controls. Modulo-spacing tracking assumes per-frame motion below half a spacing. These are bounded implementation assumptions, not proof of universal robustness; human-approved alternate drawings should expand calibration before large-scale training.

## Reference viewing (v3)

Total: 105 points; reward is earned points / 105. Existing checks retain their points. Reference viewing earns five points independently, even without a completed native project; the GUI-only gate still applies. Use the Desktop/Menu “Watch Dance Blob Reference” player. Shotcut/Friction remain available for additional inspection but do not emit viewing evidence. Merely opening the viewer, leaving it hidden, watching one static frame, or claiming to have watched earns no points.

The player logs focused, displayed frame indices and dwell times to `/logs/artifacts/reference-viewing.jsonl`. One session must show ≥3 seconds, ≥10 distinct frames and a span ≥15 frames. Missing/uninitialized or malformed recording is an infrastructure error, not a learner zero. The harness must preserve and freeze this log with deliverables. This measures an opportunity to observe, not comprehension. The GUI-only harness must prevent learner shell/file tampering; the local JSONL recorder is not cryptographic evidence. Existing snapshots need rebuilding. Historical scores and the v2 calibration oracle are unchanged; the offline oracle has no viewing evidence and therefore earns at most 100/105 under v3.