# Requirements vs diff-only testing benchmark

> Compare tests generated from a code diff with tests informed by an independent requirement. Score both against hidden faults and fixed revisions.

Source: https://cueapril.com/benchmarks/requirements-vs-diff-only-testing
Updated: 2026-12-01
Index: https://cueapril.com/llms.txt

## Does an independent acceptance criterion change the tests an agent writes?

Prepare a requirement before revealing the change. Run the same agent twice with equal time and isolated workspaces. Score against the same hidden boundary cases.

A diff explains what changed. An independently supplied requirement can reveal that the implementation and its generated tests agree on the wrong behaviour.

[Download the blank benchmark scorecard](https://cueapril.com/downloads/qa-worksheets/requirements-vs-diff-only-testing.csv)

## How to score the comparison

Additional unique faults found after adding requirements. Keep the underlying case-level observations available so another reviewer can audit the denominator.

Scoring worksheet and illustrative observations

| Record | What to enter |
| --- | --- |
| Workload | Prepare a requirement before revealing the change. Run the same agent twice with equal time and isolated workspaces. Score against the same hidden boundary cases. |
| Measure | Additional unique faults found after adding requirements |
| Worked numbers | Example only: diff-only finds A and B. Adding requirements finds B, C and D. |

## Interpreting the worked example

The second run adds C and D but loses A. Reporting only the difference in totals would hide which check disappeared.

## Making the release decision

Inspect paired failures and identify which requirement supplied the missing expectation. The existing pandas study gives a real example of how changing a brief changes a test.

## Primary documentation

- [Worked example with two AI-written regression tests](/guides/agentic-software-testing)
- [QA metrics for release decisions](/guides/qa-metrics)

By Cue April. Updated 2026-12-01.

## Related

- [QA benchmarks](https://cueapril.com/benchmarks): Evaluate AI-generated tests, report quality and feedback time with defined workloads. Inspect scoring rules, example calculations and evidence limits.
- [Evaluation playbooks](https://cueapril.com/playbooks/blind-qa-vendor-trial): Compare QA vendors using the same hidden faults, scoring rules and evidence requirements. Keep known answers away from test authors during the trial.
- [2027 agentic testing report](https://cueapril.com/guides/agentic-testing-2027): Where agentic QA fits after a Claude Code or Codex pull request, our 2027 outlook for browser and computer-use testing, and what six AI-written tests caught.
