LEARN. PRACTICE. EXPLAIN.
Learning paths & interview practiceP
← Build a contract & boundary test harness
BUILD → VERIFY → EXPLAIN · STEP 6 OF 6

Diagnose flaky runs and defend release risk

Classify intermittent failures from evidence instead of adding sleeps.

UNDERSTAND

Bring these concepts with you

BUILD

Your implementation

  1. Implement classifyFlakyFailure(runs) distinguishing deterministic-bug, shared-data, clock-coupling, and product-race.
  2. Run node checks.mjs ./starter.mjs 6 and verify all six groups pass.
  3. Prepare a two-minute walkthrough defending which bugs block release versus which options mitigate risk.
export function classifyFlakyFailure(runs) {
  // Classify root cause and recommend deterministic remediation.
}
Need a hint?
  • 100% failing runs indicate a deterministic defect, not flakiness.
  • Recommend fixture isolation, injected clocks, or condition-based waits—never blind sleeps.

Saved on this device · 0 / 6000 · Do not include passwords or private data.

VERIFY

Acceptance checks

From the folder containing your downloaded files, run:

node checks.mjs ./starter.mjs 6

This runs checks up to this step. Earlier steps must work first. Mark each result only after checking your implementation; the website does not run or grade it.

Record your attempt to enable the checklist and reference comparison.

Compare with the reference

Attempt the step first, then compare decisions and behavior. There can be more than one correct implementation.

After attempting every step, compare against the complete runnable app.

Save reference.mjs beside checks.mjs and run node checks.mjs ./reference.mjs 6.

Attempt every step to unlock the complete reference downloads.

EXPLAIN

Your interviewer asks

A critical checkout test fails 10% of the time in CI. Why is adding retry=3 dangerous, and what evidence do you collect first?

Say your answer aloud, then record the trade-offs and evidence in your notes above.

LOCAL VOICE REHEARSAL

Rehearse your step walkthrough aloud

Target pacing: 02:00 · Stays in this browser only; never uploaded.

00:00/ 02:00
AlifBay Prep