---
title: "Repeat repairs in auth and deployment | VibeRaven"
description: "A sign-in or deployment fix can leave part of the problem in place. We read paired commits to see what returned and how often a narrow checker matched it."
canonical: "https://viberaven.dev/research/auth-refixes"
---

# 98 of 117 candidate repeat repairs had an identifiable cause

A sign-in or deployment fix can leave part of the problem in place. We read paired commits to see what returned and how often a narrow checker matched it.

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

## What we measured

### Candidate pairs with an identified cause

Reviewers resolved the cause in most of the candidate pairs. Twelve remained unresolved and seven concerned a different fault.

- Identified cause: 98 of 117

- [Repair causes](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/authstudy-causes.csv)

### Largest named causes

Callback-to-session handoff led the named categories. Build, dependencies, and deployment output wiring followed.

- Callback-to-session handoff: 22 pairs
- Build and deploy output wiring: 17 pairs

- [Repair causes](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/authstudy-causes.csv)

### Retrospective prototype matches

The prototype matched the same condition before repair and cleared the warning after it. The denominator includes pairs outside the prototype’s two supported categories.

- Matched in the retrospective replay: 5 of 117

- [Study report](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/studies/auth-refixes/README.md)

## Method

We started from 1,087 original authentication or deployment and environment fixes. The ledger selected 117 candidate repair or revert pairs in 62 repositories. We read both messages and relevant diffs and assigned the main behavior the later commit changed.

The retrospective checker covered callback contracts and build or dependency wiring. It read the parent of the later fix and the fixed revision. A match required the same condition in the same component before the fix, followed by the disappearance of the warning.

## Limits

A later edit in the same file can address a different problem. Some input files were unavailable or exceeded size limits. The available source could not establish historical hosted settings or actual browser session behavior.

The prototype used the known repair history for evaluation. Its matches give a retrospective result for the candidate set. A prospective detection rate would require a separate evaluation.

## What to check

Exercise the full sign-in and return flow in the relevant deployment configuration. Check that the session persists through redirects and refreshes.

## Report and data

- [Study report](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/studies/auth-refixes/README.md)
- [Research repository on GitHub](https://github.com/ohad6k/viberaven-research)
- [Repair causes](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/authstudy-causes.csv)

Source: https://viberaven.dev/research/auth-refixes

Run `npx viberaven`.
