Workspace / Regression lab
LOCAL CHECKOUT FIXTURE
RELEASE INTELLIGENCE / HUMAN LED

Confidence.Before liftoff.

Explore the unknown. Challenge the green.
Bring human judgment and test evidence into the same orbit.

01 / INVESTIGATE02 / VERIFY03 / DECIDE
↓ SCROLL TO YOUR MISSION
RELEASE CONFIDENCE, WITH EVIDENCE

Green tests. Hidden regression.

Find the missing test. Reproduce the bug. Verify the fix.

⌘
Checkout shipping calculationPR #42 · checkout.js · 1 line changed
Deliberately seeded bug
—existing tests pass
—regressions reproduced

⌁ The change under review

01 / CONTEXT
BUSINESS REQUIREMENT

Free shipping when the subtotal after discounts is at least $100. Otherwise, shipping costs $10.

checkout.js−1 +1
  const discountedSubtotal = subtotal - discount;
− const shipping = discountedSubtotal >= 10000 ? 0 : 1000;
+ const shipping = subtotal >= 10000 ? 0 : 1000;
  return { shipping, total: discountedSubtotal + shipping };

Amounts in integer cents · No payments or external store involved

Start with what we already test

Three existing checkout tests cover shipping without discounts. Run them against both builds.

Ready when you are.

▣ Checkout under test

Buggy build
● ● ●fieldwork.demo / checkout↗
Actual running checkout · Try the inputs

▥ Test evidence

NO RUN YET
⌁
Every claim starts with a test.

Run the baseline to see what your current suite can—and cannot—catch.

Your two-minute demo

“A green test suite only tells us the tests we wrote passed.”

  1. Run existing tests. Both versions pass. Nobody tested discounts.
  2. Find the gap. Read the requirement: eligibility is calculated after discounts. Be explicit about whether cases are prepared, imported, or generated live.
  3. Prove the regression. The same new tests pass on the correct build and expose the buggy build. Show the $110 − $20 example.
  4. Verify the fix. Switch to the corrected implementation. Rerun the unchanged tests and the original suite.

The bug is deliberately seeded. This prototype supports one checkout rule; it does not analyse arbitrary repositories or approve releases.