Skip to content
#small language model Open access

Prove It First: Reproduction-Gated LLM Repair of Production Exceptions in Laravel Applications

Nov 2026 · Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques

Abstract

Large language models (LLMs) can now propose fixes for many bugs, but a fix that merely makes an error disappear is not necessarily correct, and the evidence that a fix works is usually left to the reviewer. We present Lazarus, an open-source self-healing tool for Laravel (PHP) applications that turns an exception captured in production into a reviewable fix only when it can prove three things: a generated test reproduces the failure, a minimal patch turns that test from red to green, and the project's existing test suite still passes. Nothing is published otherwise. We evaluate Lazarus on LaraBugs-29, a benchmark of 20 synthetic and 9 real exceptions; the real ones were mined from the logs of 28 Laravel projects (381 distinct exceptions, 6,481 occurrences). Each fix is additionally judged by a hidden oracle that the tool never sees. With two Claude models, Lazarus produced a verified fix for all 29 bugs, and 27 of 29 fixes (93%) also passed the hidden oracle. The two oracle failures are instructive: in one case the model "fixed" the bad input at the call site instead of the function, and in the other it added a fallback that still crashes when the fallback is missing. When the failing input was instead hidden from the code, as production data usually is, the fixes from the stronger model were correct for all 29 bugs and those from the smaller model for 28: without the input in view, the models repaired the functions rather than the data. The results suggest that reproduction-gated repair is practical for everyday web-application exceptions at a cost of about 13k tokens and half a minute per bug, while also showing that a passing reproduction test is not a proof of correctness.

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#large language models Review Open access Nov 2020

Status of the WHO recommended timing and frequency of antenatal care visits in Northern Bangladesh

Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...

B. Sarker, Musfikur Rahman, T. Rahman et al. · 89 citations · ⚡7

Related blog posts

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