SafeLLM4SE: Statistical Evaluation and Reporting for LLM-based Software Engineering Systems
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used for software engineering tasks, yet their stochastic behavior challenges the validity, reproducibility, and comparability of their evaluations. Conventional practices such as reporting a single output, an average score, best-of-N, or pass@k performance can obscure variability and estimation uncertainty, potentially leading to misleading conclusions about system reliability. This article presents SafeLLM4SE, a practical methodology and reporting standard for statistically principled evaluation of LLM-based software engineering systems. Rather than treating generated outputs as deterministic artifacts, SafeLLM4SE treats them as realizations of a stochastic process and distinguishes quality, stability, and estimation uncertainty. It combines adaptive sampling with confidence intervals, distribution-aware statistical comparisons, effect sizes, and a minimum reporting standard covering model configuration, reproducibility, evaluation procedures, and resource usage. SafeLLM4SE is also provided as an open-source software package available on PyPI, enabling researchers and practitioners to reproduce and extend the methodology. We illustrate its application by comparing two LLMs on HumanEval, a benchmark of programming problems assessed through functional tests.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 23 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
10 of 23 references.
References · 10
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 807
- 2020Improving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program)cited by 322
- 2021Accounting for Variance in Machine Learning Benchmarkscited by 201
- 2019Show Your Work: Improved Reporting of Experimental Resultscited by 169
- 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 137
- 2018How Many Random Seeds? Statistical Power Analysis in Deep Reinforcement Learning Experimentscited by 60
- 2025Stochasticity in Agentic Evaluations: Quantifying Inconsistency with Intraclass Correlationcited by 11
- 2025Log Probability Tracking of LLM APIscited by 10
- 2026Behavioral Fingerprints for LLM Endpoint Stability and Identitycited by 4
Built on by
Not cited yet.