Define Success Metrics for an Autonomous Coding Agent Product

Last updated: November 29, 2026

Quick Overview

OpenAI is offering an agent that takes a software task, works in a cloud sandbox, and opens a pull request. Propose a north star metric, its input metrics, and guardrails, and explain how you would measure them given that much of the value happens after the PR leaves the product.

OpenAI
Analytics & Experimentation
Data Scientist
OpenAI
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

0

0 solved


OpenAI is offering an agent that takes a software task, works in a cloud sandbox, and opens a pull request. Propose a north star metric, its input metrics, and guardrails, and explain how you would measure them given that much of the value happens after the PR leaves the product.

Agentic products like Codex are judged by whether the work actually lands, not by how many tasks are started. The interviewer looks for metrics that tie to user value, can be measured with available signals, and resist gaming by the product team.

What the Interviewer Expects
  • Chooses a north star tied to accepted work, not usage volume
  • Breaks it into a funnel of input metrics the team can move
  • Handles delayed and partly unobservable outcomes like merge
  • Includes cost and quality guardrails
  • Considers segment differences across repos and task types
Key Topics to Cover
north star metric
metric trees
funnel metrics
guardrails
delayed outcomes
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • How would you detect that merged agent PRs are later reverted?
  • How would you compare two agent models using these metrics?
  • What metric would mislead you if the agent started taking only easy tasks?
  • How do you weigh time saved against compute cost per task?
Sharpen Your Skills on Codemia

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

Browse Analytics Questions
Sample Answer
Clarify

Users: developers on connected GitHub repos. Value: work they would otherwise have done themselves, merged and kept. Signals we have: task created, run completed, diff viewed, PR opened, PR merged (vi...

Approach

North star: weekly merged agent PRs per active developer that are not reverted within 14 days. It counts only work that landed and stuck, and normalizing per developer prevents growth from masking...


Submit Your Answer
Markdown supported