Design a Simulation Platform That Gates Every Autonomy Release
Last updated: November 29, 2026
Quick Overview
Design the infrastructure that runs millions of simulated and log-replay scenarios against each candidate build of the self-driving software, computes pass/fail metrics, and blocks a release when safety-relevant behavior regresses.
Aurora
November 29, 20260
0
0 solved
Design the infrastructure that runs millions of simulated and log-replay scenarios against each candidate build of the self-driving software, computes pass/fail metrics, and blocks a release when safety-relevant behavior regresses.
Aurora relies heavily on virtual testing to cover scenarios that are too rare or dangerous to collect on the road, and its safety case needs evidence tied to specific software versions. The interviewer is checking job orchestration at large scale, determinism, metric design, flaky-test handling, and how results become a release decision engineers trust.
What the Interviewer Expects
- Defines scenario sources: log replay, procedurally varied synthetic scenes, and hand-built tests
- Shards work across a large compute cluster with retries and idempotent jobs
- Requires determinism (fixed seeds, pinned builds, simulated time) and detects nondeterminism
- Compares candidate to baseline with statistical rules rather than raw counts
- Produces traceable evidence per release for the safety case
- Discusses cost control and prioritization
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you handle a scenario that passes 97% of the time on the same build?
- Log replay diverges once the truck behaves differently than in the log: how do you keep other agents realistic?
- How do you give a developer results in 20 minutes on a pull request while full gating takes hours?
- How would you budget GPU versus CPU work in this platform?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Inputs: a build artifact and a test suite version. Outputs: per-scenario metrics (collisions, minimum time to collision, rule compliance, comfort, progress) and a gate decision. Scale: millions of sce...
High-Level Design
Scenario catalog (versioned, each scenario has tags, owner, pass criteria) -> Suite planner (selects scenarios for a tier, expands parameter sweeps) -> Job queue -> Workers on a Kubernetes or batch cl...