File size: 5,024 Bytes
92f480e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Tutorial rubric implementation

| Implemented | Status |
|---|---|
| t44–t52 adapters | Executable criterion rules, independently weighted subfeatures and uncertainty propagation |
| Output contracts | Pinned dimensions, FPS, frames and filenames from existing instructions |
| t52 geometric count | Real-video extraction using temporal maximum, multiple thresholds and fitted geometry; counts instances without assuming eight |
| Geometry/time utilities | Circle fit, contour distance, arc-length prefix reveal, contained fill frontier, per-dot luminance and PTS interpolation |
| Native outcome measurements | Consume evaluated typed role samples; authored keys do not substitute for composited output |
| Reference calibration | Required for tutorial-relative coordinates, timing, widths, colors and effects; currently absent fields yield `needs_review` |

`tasks.engine.evaluate_rubric` executes the predicates. Rules accept only approved metric names. Verified local-cut hash and per-criterion evidence are required for tutorial-derived acceptance thresholds. Exact facts explicitly stated in instructions, such as t52's eight dots, do not require calibration.

Each rubric has 100 points. t50 retains visual-only scoring and excluded appearance properties; delivery/native validity are reported separately. Other tasks use 5 delivery, 5 native reopen and 5 native/video correspondence points, with 85 visual points. These are **new pilot weights**, covered by the implementation authorization, with calibration still required before authoritative scoring; existing runs keep their historical grades.

A null score means evidence remains unresolved. Its score interval shows the established and unresolved points without treating unknowns as failures. Missing submission and invalid candidate properties can fail; missing verifier tools, unsupported features and missing local reference calibration cannot.

Reference manifest shape:

```json
{
  "task_id": "t51",
  "source_hash": "sha256:<verified supplied local tutorial>",
  "local_cut_verified": true,
  "criteria": {
    "contour_style": {
      "reference_evidence": ["local-cut:<timestamp>:canvas-crop:<hash>"],
      "rules": [
        {"metric": "centerline_distance_error", "op": "lte", "target": null}
      ]
    }
  }
}
```

The null target is deliberately invalid until measured and calibrated. It is not a runnable acceptance threshold. Supported operators: `eq`, `true`, `false`, `gte`, `lte`, `between`, `near`, `contains`. Each rule can carry an independent positive weight; failed subfeatures receive proportional deductions.

Run validation:

```sh
python3 -m unittest discover -s implementation/tests -p test_tutorial_adapters.py -v
```

Thirty-five tests include positive, negative and equivalent-construction cases, error handling and the actual historical t52 video regression. [Actual t52 measurements](/Users/sidsantbak/Documents/ChatGPT/StudioWorld/task-quality-audit/friction-verification/implementation/actual-t52-measurements.json) are measurements, not a fully calibrated task score.

Concrete collectors accept `reference.render_roles` (paint RGB with calibrated tolerance, ROI, geometric targets and timestamped motion profiles) and `reference.native_roles` (scene/object/property IDs with reference contours and state timelines). Role maps are verifier annotations, not agent-required names.

| Collector | Implemented measurements |
|---|---|
| t44 | Per-frame angular coverage, connected arc, final coverage and dash intervals |
| t45 | Tracked ball path versus reference PTS, horizontal drift and contact aspect ratios |
| t46 | Separate fill/track frontier, monotonic progression and outside-fill fraction |
| t47–t48 | Role contour distances, entrance trajectories, native evaluated text-state matching |
| t49 | Initial/final contours, stretch-time ratios and blank-gap detection |
| t50 | Per-orbiter paths, reference tail silhouettes and composited occlusion-witness masks |
| t51 | Ordered arc-length prefix coverage, gaps/islands and reveal-time profiles |
| Native | Sampled post-effect paths, Qt world transforms, evaluated text and role timelines |

The collected measurements still require calibrated acceptance rules; producing a number alone does not make it an objective pass/fail threshold. A native label-state match establishes the evaluated string, while rendered readability remains an independent criterion.

[Grounded reference evidence table](/Users/sidsantbak/Documents/ChatGPT/StudioWorld/task-quality-audit/friction-verification/implementation/references/TABLE.md).


The t52 v2 pilot splits exact geometric-instance count (8 points) from circular shape/spacing (12 points). Ordered phase travel and repeated ordered cycles are executable semantic observations, but their full criterion weights remain unresolved through `pending_calibration` until reference direction, waveform and smoothness are established. `provisional_subfeature_points` is diagnostic evidence and never enters the final score.