Module 7 · Developer productivity · Chapter 24 · Free
Measure developer output: what improved, what it cost, what to stop
- Measure outcomes, not activity: cycle time, review iterations, escaped defects, developer satisfaction.
- Baseline before the rollout, then compare like with like. Averages across unlike tasks prove nothing.
- Count the costs on the same page as the gains: seats, tokens and extra review time.
The picture: a shopkeeper weighing what the new till earned against what it cost, not counting how many buttons it pressed.
Developer Productivity is 8 percent of the CCAR-P exam. You should be able to:
- Choose outcome metrics and reject vanity and gameable ones.
- Set a baseline and match task classes before comparing periods.
- Net the gains against seat, token and review costs.
- Run the decision meeting: expand, adjust or stop, from one page of numbers.
- The vendor dashboard says prompts per day are up 40 percent and lines of code are up 25 percent. Nobody can say whether Relay work got faster or better.
- Reviewers quietly report heavier pull requests. Two senior developers tell Ruth they are thinking of turning the tool off.
- Finance cannot find the seat and token costs in any report. The renewal decision is due at the next steering group, in four weeks.
- Outcomes worth measuring, and the traps that fake them.
- How a metric travels: logs, task classes, scorecard, decision.
- The pilot scorecard, including the number that got worse.
- The lab: build the scorecard, then audit a broken one.
Next: outcomes before activity.
Step 1: Measure outcomes, not activity
Think of a delivery driver. Trips per day is activity. Parcels delivered on time, undamaged, is the outcome. Nobody renews a courier contract on trips.
For developer output, the outcome set that survives scrutiny is small:
- Cycle time on comparable task classes: ticket picked up to change merged.
- Review iterations: rounds of changes a pull request needs before approval.
- Escaped defects: bugs from the change found after merge, per period.
- Developer satisfaction: a short survey, same questions each time.
Two habits make these numbers mean anything. First, baseline before the rollout: eight weeks of history, pulled before anyone changes how they work. Second, compare like with like: assisted tasks against the same task classes from the baseline period, never against every historical task at once.
Next: how a raw log becomes a decision.
Step 2: A metric's journey to the scorecard
Press Next to follow one metric from raw logs to the decision meeting.
- Tool logs, ticket timestamps and review records. Plenty of data, no meaning yet: a log line is activity until it is tied to a task.
- Each assisted task is classed, for example small fix, standard feature, triage rule change, and paired with baseline tasks of the same class.
- One page: metric, baseline, target, actual, decision. If a metric needs a second page to explain, it does not belong on the card.
- Expand, adjust or stop. The card must make one of the three arguable in the room, with Elena owning the call.
- Seats, tokens and extra review hours sit on the same page as the gains. A gain shown without its cost is marketing, not measurement.
Where the picture breaks down:
- Task classes are a judgement call. Two people will class the same ticket differently at the edges, so class once, together, and write the rules down.
- Eight weeks is short. Treat the first scorecard as a pilot signal, not a verdict for all time.
Trivial tasks drag the baseline average down, so the assisted group looks slow even if every class improved. Like with like is not pedantry. It is the whole comparison.
Next: the pilot scorecard, warts included.
Step 3: The 8-week pilot scorecard
Worked example. All figures made up. Twelve developers, 8 weeks, 140 assisted tasks in matched classes.
Cycle time: 6.2 days at baseline, 4.9 days in the pilot, on the assisted task classes. Saving: 1.3 days per task.
Hours saved: Ruth's team estimates, and labels as an estimate, about 1.5 developer hours saved per task from that shorter cycle: 140 × 1.5 = 210 hours.
Review iterations: 1.8 at baseline, 2.1 in the pilot. Worse, and the chapter says why honestly: assisted changes arrive bigger, so reviewers ask for more rounds. Extra cost: 140 tasks × 0.3 extra rounds × about 25 minutes of reviewer time = about 18 hours.
Escaped defects: flat against baseline. No quality win claimed, and none hidden.
Money costs: seats and tokens for the pilot, made up at $1,900 for the 8 weeks. At a made-up loaded rate of $70 an hour, the net time gain is (210 − 18) × $70 = $13,440 against $1,900 of tool cost.
Decision: expand, with a fix to review load: a shared command that splits large assisted changes before review. Not a victory lap, because review iterations and satisfaction moved the wrong way.
Developer satisfaction, surveyed with the same three questions as the baseline, dipped slightly. The scorecard records it beside the gains. A card that only shows good news teaches the steering group to distrust every future card.
Next: the lab, building the scorecard.
Hands-on lab: the developer productivity scorecard
Part A: build it locally
Do this: fill in this scorecard skeleton for the pilot, using the worked example's made-up numbers. One page, costs included.
DEVELOPER PRODUCTIVITY SCORECARD (all figures made up)
Pilot: 12 developers, 8 weeks, 140 assisted tasks, matched classes
Metric Baseline Target Actual Decision
Cycle time (days) 6.2 5.3 4.9 Expand
Review iterations 1.8 1.8 2.1 Adjust: split big changes
Escaped defects 11 11 11 Hold: no change claimed
Satisfaction (of 5) 3.9 4.1 3.7 Adjust: review load fix
Costs, same period
Seats and tokens (8 weeks) $1,900
Extra review time (about 18 hours) counted above in hours
Net: about 192 hours saved against $1,900 of tool cost.
Recommendation: expand, with the review-load fix first.
- Every row carries a decision, not just a number. A metric nobody acts on is decoration.
- Targets were set at baseline time, before results existed. Moving a target after the fact is the quietest form of gaming.
Break-it lab: audit this broken scorecard
This scorecard reached a steering group at another team (made up). It looks impressive. It is broken three ways.
SCORECARD: AI CODING ROLLOUT, QUARTER RESULTS
Lines of code written: up 25 percent. Output is up.
Assisted task cycle time: 3.1 days, vs 5.8 days average
across all tasks last year.
Tool cost: not tracked this quarter.
Recommendation: expand to all 40 developers.
Do this: find the three faults before opening the reveal: one vanity metric, one unfair comparison, one missing cost.
Hint
Ask of each line: does it measure an outcome, is the comparison like with like, and where is the money?
Reveal the fixes
Fault 1: lines of code count volume, not value. More code can mean more to review and maintain. Replace with cycle time, review iterations, escaped defects and satisfaction.
Fault 2: assisted tasks are compared with all historical tasks, including trivial ones. Class the tasks and compare assisted classes against the same classes at baseline.
Fault 3: seat and token costs are missing, so the expansion recommendation has no net. Add the costs to the same page and net them against the time saved before recommending anything.
Part B: judge three metric proposals
Lab: A scorecard for an AI coding rollout has reached Elena's steering group. This lab runs in your browser and needs JavaScript enabled.
Next: mix-ups and the quiz.
Mix-ups to avoid
- "Usage is impact." No. Seats used and prompts sent show adoption. Outcomes show impact, and the two can move in opposite directions.
- "One blended score is cleaner." No. Blending hides which lever moved, and each lever has a different fix.
- "Compare against all past work for a bigger sample." No. Bigger and unlike is worse than smaller and matched.
- "Costs belong in the finance report." No. A gain shown without its cost, on a different page, in a different meeting, is not a net.
- "A metric that got worse means the rollout failed." No. It means one lever needs a fix. The decision can still be expand, with the fix named.
Chapter quiz
Five questions in the exam's style. Score 70% or more to finish.
Review this chapter in 5 minutes
Watch the whole chapter recapped: Outcome metrics over activity, baselining and like with like, the pilot scorecard net of costs, and the expand decision.
- Outcomes: cycle time by class, review iterations, escaped defects, satisfaction.
- Habits: baseline before rollout, compare like with like, freeze definitions.
- Traps: lines of code, prompts per day, accepting every suggestion.
- Pilot: 6.2 to 4.9 days, review iterations 1.8 to 2.1, defects flat, all made up.
- Net: about 192 hours saved against $1,900 of seats and tokens, made up.
- Decision: expand, with the review-load fix first.
Decision rule: if a metric can rise while the work gets worse, it is activity, not output. Decide only on outcomes, net of costs, against a prior baseline.
Independent exam preparation. Not affiliated with or endorsed by Anthropic.
Review
Glossary
- Cycle time
- Time from picking up a task to its change being merged. Example: 4.9 days for a standard feature.
- Review iterations
- Rounds of requested changes before a pull request is approved. Example: 2.1 in the pilot.
- Escaped defect
- A bug from a change that is found after merge. Example: a triage rule error spotted by Tom's team.
- Task class
- A group of similar tasks compared as a unit. Example: small fixes, kept apart from standard features.
- Baseline
- The before measurement, taken before behaviour changes. Example: eight weeks of ticket history.
- Goodhart trap
- When a measure becomes a target and stops measuring well. Example: prompting more to hit a prompts-per-day goal.
- Scorecard
- One page of metrics with baselines, targets, actuals and decisions. Example: the pilot card in this chapter.
Next: "Write for the steering group: status, risk and the decision you need".