Free Web Worker Sandbox + $7.00 Pro Python CLI

AI-Lab Practical Systems Kata & Benchmark Kit

Train on multi-stage systems engineering drills instead of whiteboard puzzles: injected-clock rate limiters, sentinel-safe LRU+TTL caches, DAG wave schedulers, deterministic SHA-256 hash rings, and scaling benchmarks.

Algorithm Puzzles vs. Practical Systems Katas (6 Interview Archetypes)

Interview Archetype Puzzle Format Practical Systems Kata Signal Tested Time-to-Signal Common Failure Traps
1. Quota & Rate Control Sliding window max sum Multi-tenant Token Bucket + RPM/TPM reservation Clock injection & atomic multi-bucket state 20–30 min Draining tokens on rejected oversized calls; wall-clock skew
2. Stateful Caching Classic Doubly-Linked-List LRU LRU + TTL + Snapshot/Rollback Cache Miss-vs-None sentinel safety & eviction order 25–35 min Treating cached None as miss; O(N) expiry scans
3. Workflow Orchestration Course Schedule I / II DAG Scheduler with parallel waves & cycle trace Deterministic tie-breaking & cycle path extraction 20–30 min Unordered sets causing flaky order; recursion limit on 5k nodes
4. Telemetry & Schemas String parsing / bracket check Resilient JSONL aggregator & tool schema validator Defensive parsing under corrupt & partial inputs 20–25 min Crashing on null latencies; Python isinstance(True, int)
5. Routing & Sharding Trie insert/search Prefix Trie with :param LRU & SHA-256 hash ring Backtracking precedence & deterministic hashing 30–40 min Using salted built-in hash(); duplicate physical replicas
6. Distributed Resilience State transition DP Circuit Breaker, Merkle Diff Sync & Retry Budget Bounded retries, subtree pruning & probe caps 30–45 min Half-open probe floods; positional Merkle shift invalidation

Free Interactive Browser Kata 01 — Multi-Tenant Token Bucket Rate Limiter

Edit TokenBucketLimiter below. Tests execute inside an isolated Web Worker with a 1500ms execution timeout and a deterministic injected clock() function.

Ready: click Run 6 Tests to execute against the isolated Web Worker suite.
  • 1. Burst up to capacityWaiting to run
  • 2. Deterministic clock refillWaiting to run
  • 3. consume(n > capacity) no-drain guardWaiting to run
  • 4. Negative clock skew clampWaiting to run
  • 5. Multi-tenant isolationWaiting to run
  • 6. Fractional token accumulationWaiting to run

Free Browser Sandbox vs. $7.00 Pro 10-Kata CLI Bundle

Capability Free Browser Demo (This Page) $7.00 Pro CLI Kit (Polar.sh .zip)
Included Drills 1 single-stage browser drill (01 Token Bucket) All 10 multi-stage systems katas (30 stages total)
Runner & Isolation In-browser Web Worker + 1500ms timeout kata_runner.py CLI (list, init, test, bench, grade-all) with strict subprocess isolation
Scaling Benchmarks Functional correctness only N=100 vs N=5000 median latency & scaling ratio checks to catch O(N^2) traps
Reference Solutions & Traps Kata 01 JS reference toggle Full Python 3.10+ reference solutions + HINTS_AND_TRAPS.md + JSON/Markdown scorecards
AI-Lab Systems Kata & Benchmark Kit (CLI + 10 Drills)
Full Bundle / Pro ($7.00) — Instant digital delivery
Buy on Polar