Measure Whether a GenAI Coding Assistant Speeds Up Delivery Teams
Last updated: November 29, 2026
Quick Overview
A services company is rolling out an AI coding assistant to its delivery teams in waves; design how you would measure its effect on throughput and quality, given that teams cannot be randomized freely because of client contracts.
Infosys
November 29, 20260
0
0 solved
A services company is rolling out an AI coding assistant to its delivery teams in waves; design how you would measure its effect on throughput and quality, given that teams cannot be randomized freely because of client contracts.
Infosys has pushed AI-assisted development across delivery under Topaz, and clients increasingly ask for evidence of the productivity gains in their contracts. A data science interviewer would want a defensible causal design when clean randomization is not possible, plus metrics that capture quality and not only speed.
What the Interviewer Expects
- Define outcome metrics for speed and quality, plus guardrails
- Explain why a naive before and after or adopter versus non-adopter comparison is biased
- Propose a staggered rollout with difference-in-differences or randomized wave order
- Address clustering at the team level and power
- Separate intention-to-treat from usage effects
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- Some clients forbid the tool. How does that affect your control group and generalization?
- Engineers on treated teams start writing smaller pull requests. Is PR count still a good metric?
- How would you estimate the effect per hour of actual tool usage?
- How many teams would you need to detect a 10% throughput change?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Unit of treatment is a delivery team (a client project pod), since tooling is approved per client contract. Outcomes: primary is story points or tickets completed per engineer-week normalized against ...
Approach
Comparing adopters with non-adopters is confounded: teams that opt in tend to be newer, greenfield and more senior. Before and after on one team is confounded with release cycles and seasonality. Best...