Stabilize discriminated union reducer noisy edge lab
Medium TypeScript arena: tagged unions, exhaustive checks, and reducer safety
Log in and clear the lower tiers to unlock this mission.
Missing prerequisites: typescript-easy-discriminated-union-edge-lab
The initial discriminated union reducer solution worked on clean data, but production-like noise now exposes weak assumptions. You are working inside a TypeScript monorepo, and the arena only clears when the result is safe, deterministic, and explainable.
Learn to apply tagged unions, exhaustive checks, and reducer safety in a TypeScript monorepo while explaining the invariant, safety constraints, and hidden edge cases.
- Demonstrates tagged unions, exhaustive checks, and reducer safety
- Handles the visible sample and hidden edge cases
- Keeps output deterministic and explainable
- Avoids unsafe dynamic execution
Clear the route first
You can read the mission brief, but the editor, hints, tests, and submit flow stay locked until progression or plan access catches up.
Test Results
Run the visible checks when your first pass is ready.
Clear Protocol
Rewards
Mission Route
Hints
Hints are metered and logged for No Hint Hero runs.
Genie Mentor Core
Hint protocol / contextual guardrails active