PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarks
PAIChecker finds PR–issue mismatch in 13.6% of SWE-bench Verified instances. Benchmark maintainers should validate that the issue, patch, and tests describe the same task before trusting agent scores.
The study finds **13.6% of SWE-bench Verified** instances misaligned across five patterns and eleven scenarios. PAIChecker detects mismatches through pattern identification, cross-agent label synthesis, and code-level validation.
Before using repository tasks to compare coding agents, verify that the issue statement and PR oracle cover the same work. Mispaired tasks can penalize correct fixes or reward changes unsupported by the stated problem.
The study finds **13.6% of SWE-bench Verified** instances misaligned across five patterns and eleven scenarios. PAIChecker detects mismatches through pattern identification, cross-agent label synthesis, and code-level validation. Before using repository tasks to compare coding agents, verify that the issue statement and PR oracle cover the same work. Mispaired tasks can penalize correct fixes or reward changes unsupported by the stated problem. Across four LLM backbones, PAIChecker reached up to **92.12% accuracy on SWE-Gym** and **91.67% on SWE-bench Multilingual**. Accuracy remains below perfect, so automated filtering should not replace review of disputed or high-impact cases.
This identifies oracle–prompt alignment as a separate benchmark-integrity requirement from contamination, infrastructure variance, and grader reliability. It narrows how PR-derived coding results should be interpreted: even a sealed, reproducible harness can mis-score agents when the issue and reference change encode different work, so task-generation pipelines need alignment checks before leaderboard use.