P. HERTFELDER
← All research

Study 01 / Sentry retrospective · Independent verification

Can a coding agent’s completion claim be verified?

A second test author detected substantially more rejected implementations and challenged more accepted ones. The experiments did not establish enough benefit over conventional review to justify standalone Sentry.

What did a passing test establish?

An implementer could misunderstand a requirement, write code for that interpretation, and choose a test that confirmed it. A truthful account of that test could still accompany the wrong delivery.

Sentry compared earlier and delivered code with earlier and delivered tests. It recorded what the agent reported, what the verifier observed, and which judgment still belonged to a person. A separate writer saw the assignment and starting code without seeing the proposed patch.

The same deliveries, different warnings

The historical roster contained 298 held-out deliveries. Excluding name or setup failures and cases without comparable writer evidence left 110 behavioral rejections and 153 acceptances. Detection and false-alarm rates use those separate denominators. Both outcomes are judgments of a finite maintainer test suite.

An independent test could reveal a missed requirement or impose a requirement the assignment had left open. Keeping only tests that also passed the maintainer’s known fix removed every accepted-case flag in this sample and discarded genuine detection opportunities. A developer assessing new work would ordinarily lack that fix.

Advance notice failed on fresh tasks

The original claims-form comparison suggested that telling agents how their work would be checked discouraged completion claims on rejected work. The follow-up reused 14 development tasks and added 20 fresh ones. On the fresh tasks the direction reversed. The verifier roster includes the 120 fresh accountability deliveries.

The live check interrupted 20 of 96 eligible sessions. A corrected reader endorsed 7 of those interventions. All 3 resulting status changes moved away from the historical verdict. Correcting the reader afterward cannot reconstruct what would have happened with a different intervention.

Repeated cells, earlier exposure to withheld material, and a reader that missed failed subtests limited the historical evidence. The public records preserve as-run and corrected judgments.

Did reviewers make better decisions?

In an anonymized case, an ordinary reviewer had already found a recommendation pointing in the wrong direction. Later replay confirmed the discrepancy. A worksheet and computed tables left a tool-free local reviewer’s scored judgments unchanged.

The same known claims recurred across stages. One investigator scored them, and the proposed comparison with experienced reviewers on unfamiliar work never ran. The evidence supported retiring Sentry’s standalone verifier. Independent grading of successive saved artifacts carried forward into KernelBench.

Figures

Figure 01

Which deliveries drew a flag?

The same implementations appear in every row. Accepted-case flags measure disagreement with the historical test suite. Reference validation uses the known fix.

Rejected · deliveries

  • Agent-authored8 / 110
  • Independent writer78 / 110
  • Reference-validated43 / 110
Inspect exact values
Which deliveries drew a flag? (deliveries)
GroupRejectedAccepted
Agent-authored8 / 1106 / 153
Independent writer78 / 11020 / 153
Reference-validated43 / 1100 / 153

Source historical_deliveries.csv · comparable = 1 Evidence files ↓

Figure 02

Rejected work reported as complete

The denominator is the rejected work within each arm. The initial and development comparisons reuse task identities.

Form only · deliveries

  • Initial comparison6 / 8
  • Development14 / 16
  • Fresh tasks7 / 13
Inspect exact values
Rejected work reported as complete (deliveries)
GroupForm onlyWith notice
Initial comparison6 / 82 / 8
Development14 / 1610 / 16
Fresh tasks7 / 139 / 14

Source accountability.csv · notice Evidence files ↓

Figure 03

Correct reviewer judgments with supporting evidence

Both structured comparisons use the same known propositions in one anonymized case. The aids were evaluated with one local model.

Ordinary review · judgments

  • Evidence worksheet3 / 12
  • Computed tables3 / 12
Inspect exact values
Correct reviewer judgments with supporting evidence (judgments)
GroupOrdinary reviewWith aid
Evidence worksheet3 / 123 / 12
Computed tables3 / 123 / 12

Source reviewers/verdicts.csv + reads.csv Evidence files ↓

Downloads

References

  1. Test oracles in software engineering
  2. Independent issue-reproduction tests · SWT-Bench