Skip to main content
CRUCIBLE
CRUCIBLE STUDIO· FOCUS MODE
Next Module →
Predict-First · Broken Fault
MENTAL MOVIE · POOL-QUEUEPREDICT-FIRST · BROKEN FAULT
Incoming BurstRate λ · L = λ × W140+ Waiting WallStarved Pool / FDsFULLFULLFULLFULLSeq Scan / Leak / No Limitcl_waiting Spike -> EMFILE6.8s Cliff503 / OOM KillerCascading Collapse
Why It Fails: Broken: Slow scans, leaks, or unbounded waits fill every slot (L = λW), piling callers into a runaway waiting wall.
STUDY THE BROKEN VISUAL · 10-SECOND PREDICTION

Inspect the crimson fault path above, then tap your hypothesis card on the right to unlock the animated Cryo-Emerald Fixed invariant and Socratic physics breakdown.

A02 · MODULE 01 · L3 → L4 · 35 MIN1-CLICK VISUAL PREDICT-FIRST

Sliding Window & Monotonic Deques: O(N) vs Hidden O(N·K) CPU Death

Why list.pop(0) quietly turns an O(N) sliding window into a quadratic outage at 50K RPS.

11 COMPUTE09 LIMIT05 WAIT13 VERIFYC1: Tail Latency & Fan-OutC2: Correctness & Invariants
STAGE 01 · 1-CLICK VISUAL PREDICT-FIRST
10 SEC · TAP A HYPOTHESIS
60-Second Scene Orientation (No Answer Given): Your API gateway tracks the rolling 60-second peak latency and sliding-window request rate per tenant using a Python list (window.pop(0)). At 50,000 requests/min, gateway CPU pegs at 100%.
UNLABELED PRODUCTION SYMPTOM

Rate-limiter worker CPU climbs quadratically with window size K even though every request only does O(1) business logic.

Which exact data-structure line is burning O(N·K) CPU and what replaces it in O(N) amortized time?
STAGE 02 · 5-BEAT FEYNMAN CONSOLIDATION
STAGE 03 · REAL EXECUTION LAB (COLD-NO-AI · TIER-A-1GB)
LOCKED UNTIL PREDICT-FIRST
Tap a Stage 01 hypothesis card (or click Skip Struggle (Veteran)) to unlock the Execution Lab and Linked Job Workflows without spoiling the solution.
STAGE 04 · PRINCIPAL JUDGMENT GATE & 3-MIN ORAL DIFF-DEFENSE
LOCKED UNTIL PREDICT-FIRST
Stage 04 stays collapsed until you complete Stage 01 so the hardened diff and Principal consequence chain do not spoil your prediction.
KORE & PUCK STUDIO AUDIOConnecting Sliding Window & Monotonic Deques: O(N) vs Hidden O(N·K) CPU Death…