sidrefresh's picture
Add files using upload-large-folder tool
09c6e66 verified
|
Raw History Blame Contribute Delete
5.02 kB

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:

{
  "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:

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 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.

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.