AI & Technical question

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?

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 eval framework for a generative feature, separating model quality from product UX and choosing metrics that gate a real ship decision.

How to approach it

  1. Define the golden dataset: real design files and real codebases spanning common component patterns, edge cases like nested auto layout, and known failure cases from support tickets.
  2. Build an annotation pipeline where designers and engineers independently label correctness, since design fidelity and code correctness need different expertise.
  3. Separate model-quality issues, like wrong component mapping, from UX issues, like a correct conversion the user cannot easily review or edit.
  4. Pick offline metrics like structural accuracy against the golden set and editability (can a human fix a wrong section without starting over), plus online metrics like accepted-diff rate.
  5. Set ship thresholds per metric, for example a minimum structural accuracy plus a maximum rate of edits that silently break the design, and require both before shipping.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from Figma

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank