Skip to content
PKResources
Guides

Running a developer productivity initiative in the age of AI coding tools

A practical playbook for engineering leaders who must prove AI coding tools improve delivery, covering metrics, baselines, pilots, roles, a monthly scorecard and the pitfalls.

by Patrick Kamtchueng Kom · Published

Your company bought AI coding tool licenses. Sooner or later someone asks “Is it working?”, and if you run engineering, that question lands on you.

Vendor dashboards, anecdotes and accepted-suggestion counts don’t answer it. What does: measurement discipline, a controlled comparison, and a monthly review people take seriously.

  1. AskFour questions you could be wrong about
  2. Baseline2–3 months of history, before rollout
  3. PilotPilot vs comparison teams, 8–12 weeks
  4. ReviewOne-page scorecard, monthly

↺ Decide: expand, adjust or stop

Start with the question you’re really answering

“Is AI making us more productive?” is too vague to measure. Split it into questions you could be wrong about. If a metric doesn’t answer one of them, it stays off the scorecard.

🃏 The four questions

Tap a card to flip it

Why “lines of code” and “% of code written by AI” are bad metrics

Neither number should reach your executive team as evidence of success.

✕ Lines of code / % written by AI

  • –Measures volume, not value: the best change in a sprint might delete 2,000 lines
  • –AI makes code nearly free, so line counts mean even less
  • –Rewarding volume gets you bigger PRs, duplication, more to review
  • –% AI answers "are people using it?", not "is the business better off?"
  • –Every vendor counts it differently (rewritten suggestions, pasted chat code, reverted changes)

✓ What to do instead

  • +Track adoption as a leading indicator only
  • +Keep it in a separate, clearly labeled Usage section
  • +Judge success on delivery, quality, experience and cost

🎮 Good metric or vanity metric?

1 / 9 · Score: 0

Where does each number belong on your scorecard?

Choose a small, balanced metric set

Pick metrics that pull against each other, so you can’t improve one by quietly degrading another. Five to seven total; if you can’t explain a number in one sentence, cut it.

1. Flow and delivery metrics

The DORA metrics balance speed and stability. Pick one definition of cycle time and stick with it.

Metric What it tells you
Cycle time / lead time for changes First commit (or PR opened) to production
Deployment frequency How often you ship
Change failure rate Share of deploys causing an incident, rollback or hotfix
Time to restore service How fast you recover
PR review time (diagnostic) Whether faster authoring just moved the bottleneck to review

2. Developer experience signals

Delivery numbers tell you what happened, not where the friction is. SPACE is a good reminder that productivity has several dimensions (satisfaction, performance, activity, communication and collaboration, efficiency and flow).

3. Quality and cost guardrails

Not targets, tripwires: change failure rate, escaped defects or incidents, tool cost per active developer.

Keep it small

A 25-metric dashboard gets looked at once and then ignored. Five to seven numbers, each explainable in a sentence.

Establish a baseline before rollout

The step most organizations skip, and the one that makes everything else credible. You can’t reconstruct “before” afterward: behaviour changes, teams shift, memory lies.

cycle time (longer ↑)tools rolled out to pilot teamsBaseline2–3 months of history + surveyLearning curveoften slower firstSteady state8–12 weeks before concludingcomparison teamspilot teamsthe gap between the two changesis your signal
Baseline first, then compare the size of the change between pilot and comparison teams, not raw values.

✅ Baseline checklist

0 / 4 completed

Run a controlled pilot

A pilot beats a big-bang rollout because it gives you a comparison group. Without one, you can’t separate the tools from everything else going on.

Team selection

Two to four pilot teams, a similar number of comparison teams, matched on type of work, codebase age and stack, size and seniority, and release process.

Duration

At least eight to twelve weeks. The first weeks measure the learning curve, not the steady state; expect some people to be slower at first while they find their footing.

What to compare

Compare each group to its own baseline, then compare the size of the change between groups. That controls for org-wide events like a new CI system, a release freeze or a reorg.

Track core delivery metrics, PR size and review time, survey results at start and end, and lead notes every two weeks. A few teams won’t give you statistical certainty, but they will give a directional signal and a clear map of where the tools help.

The roles involved

Without clear owners, an initiative becomes a license purchase with a Slack channel.

🃏 Who does what

Tap a card to flip it

Monthly review cadence

Once a month, one hour, same people: sponsor, enablement lead, pilot and comparison team leads.

  1. 1

    15 min

    Scorecard walkthrough

    What moved, versus baseline and versus the comparison group.

  2. 2

    20 min

    Team lead context

    What's behind the numbers? What surprised you?

  3. 3

    15 min

    Friction and wins

    What blocks adoption? Which use cases clearly work?

  4. 4

    10 min

    Decisions

    One to three actions with owners. Review them at the start of next month, or this turns into a status update.

One-page scorecard template

One page, outcomes separated from usage, and a comment on every line. A number with no explanation invites the wrong interpretation.

Area Metric Baseline Last month This month Trend Comment
Delivery Median cycle time (PR opened to production)
Delivery Deployments per week
Delivery Median PR review time
Quality Change failure rate
Quality Production incidents
Experience Survey: ease of getting changes merged (1–5)
Experience Survey: time lost to toil (1–5)
Usage Weekly active users of AI tools / licensed seats
Cost Tool cost per active developer

✅ Before you send this month's scorecard

0 / 7 completed

When “we feel faster” but the numbers don’t move

It will probably happen: positive surveys, flat cycle time. Work through it in this order.

  1. 1

    Check where the time goes

    Split cycle time into coding, waiting for review, in review, waiting for deploy. Time saved writing code often gets absorbed by review queues, flaky CI or manual releases. The tools work; fix the constraint.

  2. 2

    Check what the saved time is spent on

    More tests, tech debt, exploring alternatives: real value delivery metrics won't show. Ask leads, and say so in the scorecard.

  3. 3

    Check the feeling itself

    People can feel faster without being faster; time spent prompting, reading and correcting is easy to underestimate. You need both perception and measurement.

  4. 4

    Check your measurement

    Weekly fixed deploys mean deployment frequency can't move. A few very long PRs skew the mean: use the median or look at the distribution.

  5. 5

    Report it honestly

    "Devs say it helps, delivery hasn't moved yet, review looks like the bottleneck, here's our plan" beats a cherry-picked chart.

Pitfalls to avoid

Flip each card for the way out.

🃏 Pitfalls

Tap a card to flip it

🧠 Quick check

Score: 0 / 4

  1. 1. Pilot teams' cycle time improved. What proves the tools did it?

  2. 2. Where does "% of code written by AI" belong?

  3. 3. Surveys are positive but cycle time is flat. First move?

  4. 4. How long should the pilot run before you conclude?

What to do this week

✅ This week

0 / 5 completed

Sources

  1. DORA — DevOps Research and Assessment