Loop 009

The quality streak loop

A realistic product-testing workflow that turns every failure into documented regression coverage and restarts the success streak after each fix.

Ready-to-use prompt

Copy the loop

Test realistic scenarios. When one fails, document it, add regression and benchmark coverage, fix it, and restart the streak. Stop after [N] successful cases in a row.

Verify / stop

The latest [N] realistic cases pass in a row.

Every earlier failure is documented, fixed, and protected by regression and benchmark coverage.

Context and guidance When to use it, steps, safety notes, and related loops
Published
Updated

Use this when

Use this when product quality needs a strict consecutive-success bar and failures should permanently improve the test and benchmark suite.

How to run it

  1. Define realistic scenarios, the quality bar, the value of [N], and the evidence required for a pass.
  2. Run cases one at a time under consistent conditions and preserve the result for review.
  3. On any failure, document it, add regression and benchmark coverage, fix the cause, verify the fix, and reset the streak to zero.
  4. Stop only after [N] consecutive cases meet the original quality bar.

Why it works

Restarting the streak prevents isolated successes from hiding intermittent weaknesses. Converting each failure into durable coverage makes the evaluation stronger after every miss.

Implementation note

Choose [N] before the run and keep the scenario distribution representative. Do not lower the quality bar or avoid difficult cases to preserve the streak.