The experiment gives a coding agent a known bug, records its work, and checks whether the repair succeeds. Each attempt starts from a fresh copy of a recorded project version.

The intended process starts with a frozen project and documentation version, adds a known defect and one report, runs the agent under a recorded budget, then scores the edited copy and saves the evidence. Hidden-check isolation is required; the pilot audit found disclosure routes.

Figure 2.1. Each repair leaves a checkable record. Hidden-check isolation is required; pilot disclosure routes need verification.

2.1 The parts

PartIts job
ModelProposes an edit, search or test based on the conversation.
Agent programExecutes supported tool requests and returns their output. Pi is the program used for the exploratory local-model runs.
Measurement harnessPrepares the working copy, supplies the budget, records the work and arranges scoring.
Hidden checksAssess the repair separately from tests available to the agent.

A measured attempt, called a cell, combines one project, bug, documentation version, report detail level and repetition. Repeating those conditions captures variation between attempts.

2.2 A fair comparison

The intended comparison changes documentation while keeping the executable program, task, model, tools and budget equal. Execution order is varied within recorded groups to reduce effects from changing machine conditions.

Hidden checks must remain outside the agent’s view. The Project J pilot audit found possible disclosure through compiled files, logs and documentation indexes. Those records retain this limitation; isolation requires verification before the main comparison.

The final record includes the repair result, file changes, tool activity, token usage and any interruption. A server failure is recorded separately from an unsuccessful repair.

Evidence and source records

source: 5. Experiment/0. Plan/4. Conditions and Controls.md, section 4.4

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

source: operations/BROWNFIELD-DEFECT-EXPERIMENT-PLAN-2026-09-19.md; 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.3

source: 5. Experiment/1. Harness/README.md, section 9; 5. Experiment/1. Harness/config/pi_runner.json; 5. Experiment/0. Plan/Appendix R (The Local-Model Measurement Harness (Pi))

source: 5. Experiment/0. Plan/5. Task Execution and Metrics.md, section 5.11.4; 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