Design a Simulation Regression Gate for Autonomy Software Releases

Last updated: November 29, 2026

Quick Overview

Design the system that runs every candidate autonomy software build against a large suite of log replay and synthetic simulation scenarios, scores safety and comfort, and decides whether the build can advance toward the on-road fleet.

Zoox
System Design
Software Engineer
Zoox
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that runs every candidate autonomy software build against a large suite of log replay and synthetic simulation scenarios, scores safety and comfort, and decides whether the build can advance toward the on-road fleet.

Zoox has to show a software release is at least as safe as the last one before it carries riders, and simulation is where most of that evidence comes from. The interviewer checks orchestration of very large compute jobs, determinism, statistically sound pass/fail rules, and how flaky results are triaged without blocking every release.

What the Interviewer Expects
  • Distinguishes log replay (open and closed loop) from synthetic scenarios and their limits
  • Designs a scheduler that shards tens of thousands of scenarios onto a GPU/CPU cluster
  • Requires deterministic replays so diffs reflect code changes, not noise
  • Defines metrics and gating rules, including statistical comparison to a baseline
  • Provides triage tooling for regressions and flaky scenarios
  • Considers cost and turnaround time per build
Key Topics to Cover
simulation infrastructure
determinism
release gating
distributed job scheduling
safety metrics
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle closed-loop log replay where other agents would react differently to the new ego behavior?
  • How do you keep the gate from being gamed by tuning to the suite?
  • What turnaround time would you target and how do you hit it?
  • How do you decide which scenarios are mandatory versus sampled?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Each candidate build runs a mandatory suite (safety-critical scenarios, prior incidents, regulatory cases) plus a large sampled suite (for example 100k log snippets). Metrics per scenario: collision o...

High-Level Design

A build service publishes a versioned container. A scenario registry stores scenarios with tags, version, and expected outcomes. An orchestrator expands (build x scenario set) into tasks and submits t...


Submit Your Answer
Markdown supported

Related Questions