All studies

Fix commits in public app histories

18.3% of labeled fixes with known test status added a test

A repair can ship without a regression test, and a later commit can revise the same behavior. We measured both in sampled public Git histories.

Tests added in the same commit
Same-commit test
18.3%

A test was detected in 547 of 2,997 labeled fixes whose test status could be determined.

Fix counts by domain

What we measured

Median time to fix
Median
2.3 days

Elapsed time from the Git-attributed start to the fix, among 1,866 commits with an attributable start.

Fix counts by domain
Later repair or reversal
Repair or reversal
6.5%

The recurrence rule matched 134 of 2,047 commits with a known outcome and at least 30 days of follow-up.

Fix counts by domain

Method

The benchmark labeled 3,011 commits in 402 repositories across nine domains. It combined a pinned corpus with GitHub code and commit search. Repository inclusion required application, stack, and AI builder or agent signals.

We read the message and parent diff, assigned the strongest repair label supported by the change, and deduplicated by full commit SHA. A test had to add an assertion in a new file or test case. For recurrence, we looked for a revert, restored file content, or a later same-domain repair on a line attributed to the original fix.

Limits

Search ranking, history caps, and the eligibility rules shape the sample. A repository-level signal establishes that a tool was present. Individual commit authorship is uncertain. Git can point to an earlier edit than the first failure.

The recurrence heuristic can miss changes across files or count an improvement to a valid fix. Git history provides no record of a passing regression test or of deployed behavior. The aggregate tables cover the full benchmark. The row export covers the subset cleared by disclosure and label review.

What to check

Describe the behavior the repair changes. Keep an assertion with the fix and preserve evidence of what happened before and after it.

Report and data

Run npx viberaven.