The measurement harness prepares, runs and scores each attempt. The coding agent works in a disposable copy, with tools for reading, searching, editing and testing.

The agent receives a working copy, one report and visible tests. It returns edited code for separate hidden and regression checks. Success must meet the recorded budget. A serving interruption remains unscored. This is the required boundary; the Project J audit found disclosure routes.

Figure 6.1. Agent work and scoring have separate roles. Required boundary; pilot disclosure routes need verification.

6.1 What the agent can see

Available to the agentKept outside its view by the isolation contract
One selected bug reportThe other report levels and study conditions
Its assigned code and documentationThe research repository and other attempts
Visible test instructionsHidden-check source, assertions and raw output

The Project J audit found disclosure routes through compiled files, logs and index entries. The boundary is a requirement whose closure must be verified before the main comparison.

6.2 Attempts and retries

A cell is one bug on one documentation version, at one report level and repetition, under recorded model and budget conditions. It may contain several repair passes, each a repair try followed by assessment. Success rates count cells, not individual passes.

A new pass receives only permitted feedback. Pi may also continue an unfinished reply within the same pass, using the cell’s remaining token budget. The Pi explanation shows this distinction.

The run ends on success, a recorded pass limit, a token limit, or an external interruption. Connection failures, timeouts and unrecovered server errors on the current Pi route are unscored interruptions. Their partial records are preserved.

6.3 What establishes success

Visible and hidden checks must pass within the recorded limits, without the agent reaching the hidden scoring assets. Regression results are reported beside that verdict. A passing visible test alone is insufficient.

Missing evidence or staging failures are retained with their reasons. Success rates use the declared eligible population, with calibration attempts excluded and attrition reported.

The harness design appendix gives the implementation contracts and tool limits.

Evidence and source records

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.1; 5. Experiment/0. Plan/2. The Build Harness.md, section 2.4

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, sections 5.1 and 5.11.5

source: 5. Experiment/0. Plan/4. Conditions and Controls.md, section 4.6; operations/brownfield-readiness-2026-09-21/READINESS-VERDICT.md, section 2

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.1; 5. Experiment/1. Harness/scripts/run_cell.py, the staging region of the main function

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, sections 5.2 and 5.11.1; 5. Experiment/1. Harness/ISOLATION-CONTRACT.md, sections 1 and 2; 5. Experiment/6. Metrics/token_ledger_spec.md, sections 3 to 5

source: 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, section 4.5

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.1; 5. Experiment/4. Task Library/Project J/J-M001/task_manifest.json, field withheld_paths

source: 5. Experiment/1. Harness/ISOLATION-CONTRACT.md, section 1; 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.6

source: 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, section 4.6; 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.1

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.2

source: 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, section 4.8

source: 5. Experiment/1. Harness/container/Dockerfile; 5. Experiment/1. Harness/config/pi_runner.json

source: 5. Experiment/0. Plan/2. The Build Harness.md, section 2.4; 5. Experiment/1. Harness/README.md, section 4; 5. Experiment/1. Harness/container/Dockerfile; operations/harness-pi-2026-10-14/pi-search-tools-image-2026-10-23.md; 5. Experiment/0. Plan/Appendix E (Protocol), amendment A11; 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, section 4.1

source: 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, section 13; 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.2

source: 5. Experiment/1. Harness/ISOLATION-CONTRACT.md, section 1; 5. Experiment/1. Harness/README.md, section 5

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.2; 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, sections 4.1 and 4.10

source: 5. Experiment/2. Project Library/Project J - changedetection.io/selection/import_notes.md, section 3; 5. Experiment/1. Harness/README.md, section 5; 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, section 4.10

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.2, subsection on feedback between passes

source: 5. Experiment/1. Harness/README.md, Pi output-limit continuation and retry feedback

source: 5. Experiment/1. Harness/ISOLATION-CONTRACT.md, section 2; 5. Experiment/2. Project Library/Project J - changedetection.io/selection/import_notes.md, section 4; 5. Experiment/0. Plan/Appendix G (Experiment Log), entry of 2026-09-20

source: 5. Experiment/1. Harness/README.md, visible_pass definition; 5. Experiment/1. Harness/scripts/score_cell.py, _sync_metrics_visible_verdict; 5. Experiment/1. Harness/scripts/rederive_dashboard_rows.py; 5. Experiment/5. Run Sets/387-20261024-pi-qwen36-reasoning-off-s11-dgx/cells/H-LAP-L5P__H-M024__full__s11/scoring_summary.json; 5. Experiment/5. Run Sets/387-20261024-pi-qwen36-reasoning-off-s11-dgx/cells/H-LAP-L5P__H-M028__full__s11/scoring_summary.json; 5. Experiment/5. Run Sets/386-20261024-pi-ornith15-35b-reasoning-on-s11-dgx/cells/H-LAP-L3B__H-M026__full__s11/scoring_summary.json

source: 5. Experiment/2. Project Library/Project J - changedetection.io/source_manifest.json, field scoring_interpreter; 5. Experiment/0. Plan/Appendix G (Experiment Log), entry of 2026-09-20

source: 5. Experiment/1. Harness/config/pi_runner.json, tools and container sections; 5. Experiment/1. Harness/container/Dockerfile; 5. Experiment/1. Harness/scripts/pi_backend.py, frozen tool and container contracts

source: 5. Experiment/1. Harness/config/pi_runner.json, tools.contracts; 5. Experiment/1. Harness/scripts/pi_tools.py, tool schema and output caps

source: operations/harness-pi-2026-10-14/pi-search-tools-image-2026-10-23.md; 5. Experiment/1. Harness/container/Dockerfile

source: 5. Experiment/1. Harness/ISOLATION-CONTRACT.md, section 1; operations/brownfield-readiness-2026-09-21/READINESS-VERDICT.md, sections 3.1 and 3.4

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.1; 5. Experiment/1. Harness/ISOLATION-CONTRACT.md, sections 2, 4 and 6

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, sections 5.2 and 5.11.4; 5. Experiment/6. Metrics/metric_definitions.md, sections 6 and 6.1

source: 5. Experiment/1. Harness/README.md, Pi output-limit continuation and retry feedback; 5. Experiment/1. Harness/scripts/run_cell.py; 5. Experiment/11. Detailed Design/06-execution-of-a-cell.md, sections 9 and 10

source: 5. Experiment/6. Metrics/metric_definitions.md, sections 6 and 6.1; 5. Experiment/0. Plan/Appendix E (Protocol), amendment A3

source: 5. Experiment/7. Monitoring/pi_telemetry/README.md; 5. Experiment/0. Plan/Appendix R (The Local-Model Measurement Harness (Pi)), section R.7; 5. Experiment/1. Harness/scripts/tests/test_resume_into.py

source: 5. Experiment/11. Detailed Design/03-fabric-lease-lifecycle.md; 5. Experiment/1. Harness/README.md, Pi output-limit continuation and retry feedback

source: 5. Experiment/1. Harness/README.md, Pi output-limit continuation and retry feedback; 5. Experiment/1. Harness/scripts/run_cell.py

Previous chapter · Next chapter