AI & Technical question
Design to Code quality is strong on Figma-owned demos but inconsistent across real customer repositories. How would you design the evaluation system for this product: define the task taxonomy, build the annotation pipeline, choose offline and human-in-the-loop quality measures, and set clear ship/no-ship criteria before expanding availability?
- Figma
- AI & Technical
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Whether you can design a rigorous evaluation system for a generative AI feature whose quality is inconsistent across real-world inputs.
How to approach it
- Define a task taxonomy: component fidelity, layout and spacing accuracy, responsive behavior, and code-style conformance to the target framework and design system.
- Build an annotation pipeline using real customer repositories, not just Figma-owned demos, with human reviewers scoring each taxonomy dimension against a rubric.
- Choose offline measures: pixel or structural diff against the source design, code compile success, and lint or style-guide conformance.
- Add human-in-the-loop measures: designer and engineer satisfaction ratings on a sample of real outputs, since some quality dimensions (does this look right) are hard to automate.
- Set ship or no-ship criteria per taxonomy category, for example component fidelity must clear a higher bar than exact spacing, since fidelity errors are more visible and costly to fix.
- Expand availability only after the offline and human scores are both stable across a rotating sample of real customer repos, not just the original demo set.
What a strong answer includes
- Insists the eval set include real customer repositories, since demo performance is known to be misleadingly strong.
- Breaks the single 'quality' question into named dimensions (fidelity, layout, responsiveness, code style) with separate bars, since averaging them hides real weak spots.
- Uses a mix of automated diff metrics and human review, since visual and code-quality judgment cannot be fully automated yet.
- Names a concrete gate, for example do not expand to a new framework or repo type until component fidelity clears an assumed 90% on that segment.
Common mistakes
- Evaluating only on Figma-owned demos, which is exactly the gap the question flags.
- Reporting one overall quality score instead of dimension-level bars.
- No plan for how the eval set stays representative as customer repos change over time.
Likely follow-up questions
- How would you source a representative sample of real customer repositories for the eval set?
- What would you do if fidelity is strong but code style consistently fails lint checks?
- How often would you refresh the eval set, and why?
More ai & technical questions
- Design an evaluation framework for Figma’s AI-powered Design↔Code roundtripping workflows. How would you define the golden datasets and annotation pipeline, separate model-quality issues from product-UX issues, choose offline and online metrics, and set ship/no-ship thresholds for accuracy, editability, and user trust?Figma · AI & Technical · Hard
- Design the core of Figma’s external platform for agents and developer tools. How should the MCP Server and REST APIs expose file context, permissions, freshness, rate limits, versioning, and observability so partners like Claude or Cursor can build reliably on top of Figma without creating fragility for internal product teams using the same platform?Figma · AI & Technical · Hard
- Teams using Figma’s design-to-code workflow say the output is inconsistent, so they do not trust it for production work. How would you break the problem down across SceneGraph fidelity, component and token mapping, and code generation; what quality metrics or evals would you put in place; and how would you decide which issue to fix first?Figma · AI & Technical · Hard
- Design a simple load balancer for Google.com. What data structures would you use?Google · AI & Technical · Hard
- You’re part of the Google Search web spam team. How would you detect duplicate websites?Google · AI & Technical · Hard
- Build a system to predict if something can go wrong in a cab ride.Lyft · AI & Technical · Hard
More questions from Figma
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture