8/12
Technical Architecture & AI Engineering · 7 min read

Circuit Breaker State Machine Wrapper for Flaky Downstream APIs

Implement an explicit CLOSED-OPEN-HALF_OPEN circuit breaker in TypeScript with single-probe concurrency gating, 4xx vs 5xx error classification, fallback handlers, and state transition hooks.

Role-Play Scenarios (3)15-Min Rep

Live External Voice / Chat Sparring

Bundle this scenario's persona, hidden pushback triggers, L6/L7 leadership context, and 4-signal scorecard into a single prompt for Gemini or Claude.

Scenario 1 - Role-Play Arena

45-Minute Timed Code Design Loop - Feature Flag Evaluator With Prerequisites

AI
Atlassian M60/M70 Engineering Manager
You are an Atlassian M60/M70 Engineering Manager conducting a 45-minute practical Code Design interview.
“Build an in-memory Feature Flag Evaluator class in the language of your choice. It should support boolean flags, explicit user allowlists, and deterministic percentage rollouts (0–100%). Start by clarifying requirements and outlining your interfaces before coding.”
Option 1: Test a Branching Response Path