Fail-to-pass reproduction tests at issue intake
Maintainers using repair agents should add a reproduction stage before patch generation. The stage would localize the suspected bug, retrieve repository context, generate a test, and execute it on the affected revision. ReProAgent reproduced 58.43% of SWT-bench-lite issues and 70.30% of SWT-bench-verified issues at an average cost of $0.14 per case; its tests also improved downstream repair performance.
A practical pilot can use 50 closed issues with known fixes. Accept a generated test only when it fails on the pre-fix commit and passes after the recorded fix, then compare patch success, maintainer review time, and false reproductions with the existing repair-agent workflow. Teams that clear this check can require an executable reproduction artifact in the issue before an autonomous repair run begins.