When Policies Change Probabilities: Modular Decision-Making for LLM Code Review
Not on the map. Why?
Abstract (arXiv)
LLM code reviewers often estimate patch risk and make approval decisions in one prompt. A probability should depend on evidence; costs should determine the action taken from it. We test whether four deployed reviewer interfaces preserve this separation using 15,792 responses on 720 candidate patches, with one that passed and one that failed an archived test harness for each of 360 repository issues. In matched calls with the patch and monitor evidence fixed, replacing an equal-cost policy with a 10:1 false-accept policy changes reported failure probabilities by 13.6 to 16.9 percentage points on average. For every reviewer, the actions returned under the high-cost prompt are worse than rejecting all patches. Applying the same high-cost rule to probabilities elicited under equal costs reduces loss for all four systems, showing that probability elicitation itself contributes to the excess loss. We also evaluate a modular pipeline that elicits risk without policy information, combines an independent monitor score, and applies costs in code. Relative to calibrated reviewer-only scores, the pipeline improves average probability accuracy and, at equal costs, reduces mean loss by .073 per issue while accepting 58 to 68% of patches. At 10:1, it accepts none and matches reject-all. Downstream policy can therefore change the probability it is meant to use, motivating separate evaluation of risk, outside evidence, and action.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 10 of its 21 references that are in the map. First posted on arXiv 2 Aug 2026.
Builds on
10 of 21 references.
References · 10
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2024Calibrating Large Language Models with Sample Consistencycited by 72
- 2025Mapping from Meaning: Addressing the Miscalibration of Prompt-Sensitive Language Modelscited by 9
- 2026When Agents Say One Thing and Do Another: Validating Elicited Beliefs from LLMscited by 8
- 2026Beyond Accuracy: Policy Invariance as a Reliability Test for LLM Safety Judgescited by 8
- 2026Are LLM Decisions Faithful to Verbal Confidence?cited by 6
- 2026Same Answer, Different Confidence: Protocol Sensitivity in LLM Confidence Calibrationcited by 6
- 2026SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Reviewcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.