Measuring Determinism in Large Language Models for Software Code Review
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) promise to streamline software code reviews, but their ability to produce consistent assessments remains an open question. In this study, we tested four leading LLMs -- GPT-4o mini, GPT-4o, Claude 3.5 Sonnet, and LLaMA 3.2 90B Vision -- on 70 Java commits from both private and public repositories. By setting each model's temperature to zero, clearing context, and repeating the exact same prompts five times, we measured how consistently each model generated code-review assessments. Our results reveal that even with temperature minimized, LLM responses varied to different degrees. These findings highlight a consideration about the inherently limited consistency (test-retest reliability) of LLMs -- even when the temperature is set to zero -- and the need for caution when using LLM-generated code reviews to make real-world decisions.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Feb 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inferencecited by 47
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studiescited by 12
- 2026Dataset-Level Metrics Attenuate Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Modelscited by 2
- 2026Linear-LLM-SCM: Benchmarking LLMs for Coefficient Elicitation in Linear-Gaussian Causal Modelscited by 1
- 2026TDD Governance for Multi-Agent Code Generation via Prompt Engineeringcited by 1
- 2025SEER: Sustainability Enhanced Engineering of Software Requirementscited by 0
- 2026TDD Governance for Multi-Agent Code Generation via Prompt Engineering29 Apr 2026
- 2026Dataset-Level Metrics Attenuate Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Models15 Apr 2026
- 2026Linear-LLM-SCM: Benchmarking LLMs for Coefficient Elicitation in Linear-Gaussian Causal Models10 Feb 2026
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studies29 Oct 2025
- 2025SEER: Sustainability Enhanced Engineering of Software Requirements10 Oct 2025
- 2025Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference11 Jun 2025