Telling Failures Apart: Fault Injection, Failure Diagnosis and AI Code Changes

When something a system depends on fails, the people who run it work out what failed from what it reports: error codes, log lines, stored state, HTTP status. Error-handling code produces that evidence and changes like any other code. On Kill Bill, an open-source billing platform, we measured how well failures can be told apart from this evidence and what code changes do to it. We injected 5 to 12 kinds of failure at six code paths through eleven entry points, each case twice, and counted the pairs of failure kinds that leave different evidence. In release 0.24.18, outside one entry whose log is too unstable to measure, 56 of 235 pairs cannot be told apart from what the system states. Of 27 careless edits we planted, eight made failures harder to tell apart; five of these kept the business outcome. The existing tests caught one of the eight and none of those five. Across eleven consecutive releases, we could trace a change in this evidence to the code once; it moved evidence between channels and merged no failures. Two AI models (Claude Sonnet 5.5 and Opus 5.5) made 144 maintenance changes, half with an instruction to keep failures distinguishable. None of the 141 that compiled made any pair harder to tell apart: 0 of 141 (95% interval 0 to 3%). In this system the risk to diagnosis lies in the code as it stands and in tests that do not check evidence, more than in the changes measured.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24429390
Primary Topic
Software System Performance and Reliability
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Telling Failures Apart: Fault Injection, Failure Diagnosis and AI Code Changes

Shirshak Jung Thapa
Zenodo (CERN European Organization for Nuclear Research)
Software System Performance and Reliability
preprint

Telling Failures Apart: Fault Injection, Failure Diagnosis and AI Code Changes

Shirshak Jung Thapa
preprint en

Abstract

When something a system depends on fails, the people who run it work out what failed from what it reports: error codes, log lines, stored state, HTTP status. Error-handling code produces that evidence and changes like any other code. On Kill Bill, an open-source billing platform, we measured how well failures can be told apart from this evidence and what code changes do to it. We injected 5 to 12 kinds of failure at six code paths through eleven entry points, each case twice, and counted the pairs of failure kinds that leave different evidence. In release 0.24.18, outside one entry whose log is too unstable to measure, 56 of 235 pairs cannot be told apart from what the system states. Of 27 careless edits we planted, eight made failures harder to tell apart; five of these kept the business outcome. The existing tests caught one of the eight and none of those five. Across eleven consecutive releases, we could trace a change in this evidence to the code once; it moved evidence between channels and merged no failures. Two AI models (Claude Sonnet 5.5 and Opus 5.5) made 144 maintenance changes, half with an instruction to keep failures distinguishable. None of the 141 that compiled made any pair harder to tell apart: 0 of 141 (95% interval 0 to 3%). In this system the risk to diagnosis lies in the code as it stands and in tests that do not check evidence, more than in the changes measured.

Zenodo (CERN European Organization for Nuclear Research)
Florida Atlantic University (US)
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon