Preparing your design workspace

Loading the problem and your latest saved attempt…

Design an Agent Evaluation Platform

Design a reusable platform that measures agent quality from online feedback and reproducible offline evaluations without coupling teams to one agent implementation.

Problem statement

For this exercise, assume product teams operate agents that propose edits or other structured actions. Each team integrates through a shared evaluation platform without handing the platform responsibility for model training or production serving.

An integration registers immutable agent, dataset, and metric-definition versions; records a completed agent execution with stable input, output-artifact, and trace references; and may later attach corrected human accept or reject feedback.

Teams also publish immutable offline dataset versions and run an agent version over those cases asynchronously.

Online aggregates and offline results must remain attributable to the exact integration, agent, dataset, and metric versions that produced them, and one team's private cases, traces, and results must not leak to another team.

Retries, delayed feedback, duplicate events, worker failure, and metric-definition changes must not double-count outcomes or make incomparable runs look equivalent. Design the integration contracts, evaluation execution path, metric pipeline, storage, authorization, failure recovery, and comparison experience.

Also take one team whose agent edits design files on a user's request, and propose three or four evaluation criteria for it, meaning the qualities that make one edit better or worse than another.

For each criterion, say which data the platform collects to score it and how that data is collected, and show how the same criterion version is scored both online, on live executions, and offline, on dataset cases. No particular set of criteria is required.

Model training, production inference serving, the implementation of any design editor, and automatic rollout decisions are outside scope, and beyond this one example each team owns the detailed rubric for its own domain.

What to build

  1. An authorized team can register an agent integration and publish immutable agent and metric-definition versions used by later evaluations.
  2. A team can register its evaluation criteria as versioned metric definitions, each naming the data it is scored from and how that data is collected, so the same criterion version scores both online executions and offline cases; for this exercise, you propose three or four criteria for the design-editing agent.
  3. An integration can idempotently record completed executions and attach delayed or corrected accept and reject feedback that updates attributable online metrics exactly once in effect.
  4. A team can publish an immutable offline dataset version, start a reproducible evaluation of one agent version, and inspect durable case and job outcomes.
  5. Authorized users can compare compatible online and offline metric results while seeing their versions, coverage, freshness, and partial or failed status.

At scale

  • For this exercise, assume 250 team-owned integrations and five million online execution records per day, with bursts of 1,000 execution or feedback events per second.
  • For this exercise, support 5,000 offline evaluation jobs per day with as many as 10,000 cases per immutable dataset version and highly skewed demand around a few shared agents.
  • For this exercise, durably accept online events within 300 milliseconds p95, refresh online aggregates within five minutes, and expose offline job progress within ten seconds.
  • For this exercise, retain raw execution and case-attempt evidence for 30 days and versioned aggregate and audit evidence for one year; accepted events and jobs must survive a zone failure.