Global News Digest

arXiv

Accuracy, Stability, and Repeated-Run Reliability of Large Language Models on Deterministic Programming Tasks

Title: Evaluating Large Language Models on Deterministic Programming Tasks: A Focus on Accuracy, Stability, and Consistency

Abstract

Standard metrics for large language model (LLM) evaluation often rely on single-run accuracy or the probability of eventual success through repeated sampling. However, many real-world deployment scenarios demand stability—defined as the ability to produce consistent outputs across multiple invocations of the same prompt. This study explores the relationship between accuracy and stability in deterministic text-conditioned generation, using programming tasks as a primary testbed. We introduce a rigorous evaluation protocol that measures run-level accuracy, retry-free coverage, and variability per problem.

Our analysis involved 16 models from five distinct provider families, tested against a recent benchmark comprising 100 LeetCode-style problems. Each problem was evaluated using two different prompt templates with five repeated runs, resulting in a total of 16,000 evaluation instances.

The findings reveal that relying solely on run-level pass rates can significantly overstate true retry-free coverage, with discrepancies reaching up to 17.8 percentage points. This gap is most pronounced in mid-performing systems. While run-level pass rate and perfect stability rate show a strong positive correlation (r=0.985), the pass rate consistently remains higher than the retry-free coverage. In some cases, this disparity is substantial enough to reverse the ranking of closely matched models. Additionally, the impact of prompt variations was found to be model-specific rather than universally advantageous. These results underscore the necessity of incorporating repeated-run stability analysis alongside traditional accuracy metrics to provide a more complete picture of model performance in deterministic generation tasks.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Schroders Renewable Unit Targets AI Assets as Power Demand Soars
Bloomberg

Schroders Renewable Unit Targets AI Assets as Power Demand Soars

Schroders’ renewable unit targets AI infrastructure, pivoting to meet soaring energy demand from artificial intelligence...

State Street's Paglia on SBI Group Partnership, ETFs
Bloomberg

State Street's Paglia on SBI Group Partnership, ETFs

State Street's Paglia discusses the SBI Group partnership and ETFs, but the source text is missing. Please provide the a...

Nvidia Boss Says Workers Should Be Paid ‘as Much as Possible’
Bloomberg

Nvidia Boss Says Workers Should Be Paid ‘as Much as Possible’

Nvidia CEO Jensen Huang advocates for paying workers “as much as possible,” emphasizing maximum compensation. This stanc...

TSE Talking With Regulator For Easing ETF Listing Rules
Bloomberg

TSE Talking With Regulator For Easing ETF Listing Rules

The Tokyo Stock Exchange is discussing with regulators to ease ETF listing rules. This aims to simplify market access an...

S&P DJI CEO on Japan Markets, Mega IPOs
Bloomberg

S&P DJI CEO on Japan Markets, Mega IPOs

S&P DJI CEO discusses Japan's financial markets and major IPOs.