Design Part Genealogy and Test Traceability for a Robot Factory
Last updated: November 29, 2026
Quick Overview
Design the manufacturing software system for a humanoid robot factory that records which serial-numbered parts went into each actuator and robot, captures every station test result, blocks units that fail or skip a required test, and can answer 'which robots in the field contain parts from this bad supplier lot' within seconds.
Figure AI
November 29, 20260
0
0 solved
Design the manufacturing software system for a humanoid robot factory that records which serial-numbered parts went into each actuator and robot, captures every station test result, blocks units that fail or skip a required test, and can answer 'which robots in the field contain parts from this bad supplier lot' within seconds.
Figure AI runs BotQ, its own humanoid manufacturing operation, and hires manufacturing software and quality engineers. This design round checks data modelling for a deep bill of materials, reliable data capture on the factory floor, enforcement of process rules at stations, and fast recall queries that connect factory data to the field fleet.
What the Interviewer Expects
- Models the build as a tree or graph of serialized units and lots
- Makes station check-in and check-out the enforcement point for routing rules
- Keeps stations working when the network or central service is down
- Stores raw test data plus a summarized pass or fail per step
- Answers recall queries by traversing genealogy, with indexes or a precomputed closure
- Links factory serials to field robot IDs and OTA telemetry
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
- A technician replaces a failed actuator during final test. How does genealogy stay correct?
- How do you support a process change mid-production without breaking units already halfway through the line?
- Quality wants to correlate field joint failures with a torque test result from the factory. What do you store to make that possible?
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
Functional: serialize every robot, sub-assembly (actuator, hand, battery pack) and key part; record parent-child installs and removals; define routings (ordered required stations per product revis...
High-Level Design
- Station clients (test rigs, assembly benches) scan serials, run tests, and talk to a local line edge service with its own store.
- Edge service enforces routing rules locally and syncs e...