New: FixBugs for VS Code is now available. Install from Marketplace 

Validation proof

What a validation proof shows about a Fix, the two kinds of proof, and what neither one covers.

On this page

A validation proof is evidence that the Fix works for this bug. FixBugs runs one focused test, the Reproduction, against your code. The strongest proof is a pair: the test fails without the Fix and passes with it.

Where do you see it?

Select the Validate step. The Validation proof card says what the run proved, and a label names the kind of proof:

  • Before/after proof: FixBugs ran the same test before and after applying the Fix, on a clean baseline. The run shows Run before-fix test failing and Run after-fix test passing.
  • Candidate-applied verification: FixBugs ran the test only with the Fix applied. It shows the Fix passes the test. It does not show that the bug existed before.

FixBugs falls back to the second kind when it cannot prove a clean baseline. The page then shows Clean baseline unavailable and the reason.

What does it not cover?

A validation proof runs one focused Reproduction, not your whole test suite. It shows the Fix passes that test; other behavior is for Review and your own checks.

What can you do with it?

  • Start a run with Start on the Validate page.
  • Question the result in the Assistant with Open in Assistant.
  • Rerun the same test yourself. The Reproduction is a test file for the bug.

Apply Fix and Create Pull Request do not wait for validation.

How does it fit the workflow?

Validation proof follows the Fix. Review comes next.

Next steps