Accuracy, Stability, and Repeated-Run Reliability of Large Language Models on Deterministic Programming Tasks
Not on the map. Why?
Abstract (arXiv)
Run-level pass rate overstates retry-free coverage by up to 17.8 percentage points -- and the gap is largest precisely for mid-performing systems. We investigate this accuracy--stability relationship in large language model (LLM) evaluation for deterministic text-conditioned generation, using programming tasks as a concrete testbed. Standard code-generation benchmarks emphasize single-run accuracy or eventual success under repeated sampling, but many deployment settings also require stability: consistent outcomes across repeated invocations under the same task description. We present a repeated-run evaluation protocol with metrics for run-level accuracy, retry-free coverage, and per-problem variability. On a recency-based benchmark of 100 LeetCode-style problems, we evaluate 16 models from five provider families under two prompt templates with five repeated runs per problem, yielding 16,000 evaluation instances. Although run-level pass rate and perfect stability rate are strongly correlated (r=0.985), pass rate consistently exceeds retry-free coverage -- a gap that reaches 17.8 percentage points and reverses model rankings even among closely matched systems. Prompt effects are model-dependent rather than uniformly beneficial. These results suggest that repeated-run stability analysis is a necessary complement to conventional accuracy reporting for deterministic text-conditioned generation tasks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 13 of its 39 references that are in the map. First posted on arXiv 30 May 2026.
Builds on
13 of 39 references.
References · 13
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
- 2023Let's Sample Step by Step: Adaptive-Consistency for Efficient Reasoning and Coding with LLMscited by 111
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
1 more
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Cross-Model LLM Code Review: Should you use Claude to review Codex or vice versa?cited by 2
- 2026Single Canonical Prompts Underestimate LLM Safety's Surface-Form Sensitivitycited by 1
- 2026The History Is the Detector: Executing CVE Patch History, End-to-Endcited by 0
- 2026Style Over Substance: Content-Invariant Wrappers Flip LLM Safety-Judge Verdictscited by 0
- 2026Style Over Substance: Content-Invariant Wrappers Flip LLM Safety-Judge Verdicts8 Sep 2026
- 2026The History Is the Detector: Executing CVE Patch History, End-to-End4 Sep 2026
- 2026Single Canonical Prompts Underestimate LLM Safety's Surface-Form Sensitivity1 Aug 2026
- 2026Cross-Model LLM Code Review: Should you use Claude to review Codex or vice versa?22 Jul 2026