---
title: "Fix commits in public app histories | VibeRaven"
description: "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."
canonical: "https://viberaven.dev/research/fix-commits"
---

# 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.

[All studies](https://viberaven.dev/research)

## What we measured

### Tests added in the same commit

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

- Same-commit test: 18.3%

- [Fix counts by domain](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/fixcommits-summary.csv)

### Median time to fix

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

- Median: 2.3 days

- [Fix counts by domain](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/fixcommits-summary.csv)

### Later repair or reversal

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

- Repair or reversal: 6.5%

- [Fix counts by domain](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/fixcommits-summary.csv)

## 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

- [Study report](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/studies/fix-commits/README.md)
- [Research repository on GitHub](https://github.com/ohad6k/viberaven-research)
- [Fix counts by domain](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/fixcommits-summary.csv)
- [Fix counts by category](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/fixcommits-subclasses.csv)
- [Reviewed commit export](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/fixcommits.csv)

Source: https://viberaven.dev/research/fix-commits

Run `npx viberaven`.
