Skip to content

How Often Does Your Program Fail?

Sep 2026 · arXiv.org · Vol abs/2609.20037 · 0 citations · 34 references
Computer Science

TL;DR

This work study distribution-aware reliability estimation: given a program, its operational input distribution, and a condition of interest, determine how often that condition holds and certify the result with a guaranteed error bound and proves that any instantiation satisfying three invariants returns an interval containing the true rate with confidence 1-delta.

Abstract

Software in production encounters inputs shaped by how it is used in practice. We study distribution-aware reliability estimation: given a program, its operational input distribution, and a condition of interest, determine how often that condition holds and certify the result with a guaranteed error bound. Symbolic and statistical methods offer two ways to answer this question. Symbolic methods reason about entire regions of the input space and can certify rates exactly, but often struggle with complex arithmetic or loops. Statistical methods instead sample inputs and apply concentration bounds. They are broadly applicable, but can require many samples when failures are rare. We bring these approaches together in a framework that includes both as special cases. Each estimator has three components: a mass estimator, a per-leaf confidence bound, and a symbolic closure rule. We prove that any instantiation satisfying three invariants returns an interval containing the true rate with confidence 1-delta, regardless of when it stops. The certified error has two parts: a statistical term, reduced by sampling, and a structural term, reduced by symbolic closure. Pure sampling and pure symbolic execution each reduce only one of these terms. Alternative choices of the components also allow the framework to support rare-event variance-reduction methods.

View source

Similar papers

Review Oct 2026

OneCodeReviewBench: Typed Decisions for Code Review and Search

This work presents OneCodeReviewBench, 1,968 synthetic cases across 12 programming languages and YAML, with Boolean, categorical, and ordered answers, and compares ten model--adapter systems on the same cases and contracts.

Mohamad Mohebifar, A. Bit · 0 citations
#small language model Book Open access Oct 2026

Who Should Own the Loop? Harness Decomposition for Small-Model Repository Repair

The results show that harness-managed control flow can substantially improve the effectiveness of the smallest models and suggest that small models can be useful for repository repair when responsibilities are divided across explicit stages that can be independently assigned to the component best suited to each.

Francesco Dente, Dario Satriani, Donatello Santoro et al. · 0 citations
Preprint Oct 2026

Software Testing Meets Bayesian Workflow: A Literature-Driven Artifact Study of Probabilistic Programs

Automated testing is an effective software quality assurance method, but it is rarely used for probabilistic models. This is despite the heavy use of probabilistic programming for data analytics in research and engineering, where the consequences of errors are dire. A key obstacle is the specification of testable corre...

Oleg Jarma, M. Dall, Raúl Pardo et al. · 0 citations
#artificial intelligence Conference Open access Sep 2026

An Empirical Evaluation of Cost-Efficient Large Language Models on Algorithmic Programming Tasks

This study empirically evaluates whether cost-efficient Large Language Models (LLMs) can be trusted to generate enterprise code to a written specification. Three models (Gemini Flash 3, GPT-5.4 mini and Claude Haiku 4.5) were asked to solve 992 algorithmic problems as Java Spring Boot service methods conforming to a ma...

Chandimal Adikari, N. Herath · 0 citations
#artificial intelligence Preprint Oct 2026

Compiling Expert Procedures into Verified Programs: When a Small Model Is Enough

In procedural tool-use domains, how much of the gap between base models is procedure rather than capability? We build an explicit program from a teacher's traces and run it in front of unchanged small models, including an 8B model. The construction, PLVR , takes the reasoning traces of a teacher, Kimi-K3, clusters thei...

Vishvesh Bhat, Asad Aali, Muhammad Ahmed Mohsin · 1 citation
Preprint Oct 2026

Detection Is Not Enough: Reasoning Traces as Testable Program Hypotheses

When a language model is deployed, no reference solution exists, so the reasoning trace it writes is the only evidence for judging its answer. The reference-free substitutes each fail differently: self-assessment degrades the answer it was meant to protect, sampling agreement measures stability rather than correctness,...

Vaidehi Hegde · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.