TL;DR
Lines of code, tickets closed, and tokens spent count how busy a team is, which is activity and output. Outcomes count what changes for customers, like fewer mistakes or more orders finished without help. Measure outcomes first, then add DORA's delivery numbers and a few SPACE numbers about the people doing the work.
- When a number becomes the goal, people and agents find ways to move it without helping anyone. That's Goodhart's law.
- DORA's five metrics cover how fast changes ship and how often they break. Fast and unstable at the same time is a warning sign.
- SPACE looks at satisfaction, performance, activity, collaboration, and flow. Use at least three of them, and never activity alone.
- Tokens are a cost, like flour. Report them next to the outcome they bought, such as tokens per change that stuck.
On a Monday in late July, the owner of Crumb & Co. sent Wren a simple question from her phone: is the Biscuit team doing better since everyone started running agents in the background? Wren had an answer ready within minutes, and every number in it went up and to the right. Lines of code, pull requests, tickets closed. Even the token bill.
That afternoon, Tess forwarded the week's support emails. Customers were writing in about Biscuit mistakes more than twice as often as they were in January. In this article, we'll figure out how to measure whether a team's work is actually making things better, so the dashboard and the inbox tell the same story.
Onwards!
A Dashboard Where Everything Went Up
First, a little context. In January, our Biscuit team worked the same way Wren built Biscuit in the first place: one coding agent, driven by one person, one task at a time. In February, we changed how we work. Wren, Wes, and Nell (who had just joined) each started running several agents in the background, in parallel, on every ticket. By July, here is what our dashboard showed:
Every tile went up, by somewhere between 3.4x and 7x. A little of that jump is simply Nell joining the team, and most of it came from the agents. If we only looked at this dashboard, we'd throw ourselves a party. (We are a bakery, so cake is never far away.) We'll come back to that token bill in a little bit.
Here is Tess's side of the same seven months. Tess is our support lead, and she answers the emails that Biscuit can't handle:
Support emails about Biscuit mistakes went from 14 a week in January to 31 a week in July. Somewhere between our dashboard and Tess's inbox, something isn't adding up.
What Is the Difference Between Output and Outcome?
The trouble is that every tile on our dashboard counts something our team does, while Tess's inbox counts something that happens to our customers. Those are very different kinds of numbers, and it will help to line them up in a chain:
On the left are things we can count at our desks. Tokens and lines of code are the effort that goes in, and people call that activity. Pull requests merged and features shipped are what the effort produces, and that's called output. On the right are changes out in the world. Customers finishing their pre-orders without needing help is an outcome, which is a change in what customers do or experience. More pies sold and fewer refunds are the impact on the bakery.
Activity and output are easy to count, and they go up whenever we push harder. Outcomes are harder to count, and they move slowly. They are also the whole reason anybody pays for the activity and output in the first place.
What Happens When Output Becomes the Goal?
We learned this the hard way in June. To show progress, Wren started putting "tickets closed" on our weekly update. Within two weeks, our tickets started getting smaller:
Nobody was cheating. Breaking work into smaller tickets is often a good habit! The catch is that "Add gift notes to pre-orders" was now five tickets instead of one, the tickets closed count went up, and customers got exactly the same gift notes. Agents make this even easier. If we ask an agent to close more tickets or raise test coverage, it will happily do exactly that, whether or not anything got better for customers.
This pattern has a name. In 1975, the economist Charles Goodhart pointed out that a number tends to stop working as a signal once people start steering by it. The anthropologist Marilyn Strathern later put it in the form most people quote: "When a measure becomes a target, it ceases to be a good measure." This is known as Goodhart's law, and our dashboard has a winner that deserves an award:
To be fair to the agent, it did exactly what we rewarded. We asked for a number to go up, and it went up. Agents game a target much faster than people do, which our Goodhart's Law article digs into, along with the counter-metrics that keep a target honest. And rewarding one thing while hoping for another is a classic principal-agent problem.
Picking Outcomes for Biscuit
So what should we count instead? A good outcome number answers one question: if our customers were better off, would this number move? We picked three of them for Biscuit:
This is the picture the dashboard was hiding. Our output went up about four times, and our outcomes barely noticed. Biscuit finished a few more pre-order chats on its own, repeat customers stayed flat, and mistake emails per 100 orders went from 0.90 to 1.60. That last one is a rate on purpose. Biscuit took more orders in July than in January, and counting emails per 100 orders keeps us from blaming the team for Biscuit getting more popular.
What Are the DORA Metrics?
Outcomes will tell us whether customers are better off. They don't tell us much about how healthy the team's delivery is, like how quickly a change reaches customers and how often a change breaks something. For that, we are going to borrow five numbers from a research program that has been studying software teams since 2014.
That program is called DORA (DevOps Research and Assessment), and its research is behind the book Accelerate by Nicole Forsgren, Jez Humble, and Gene Kim. For years, DORA measured software delivery with four key metrics. In 2024, it added a fifth, and it now sorts all five into two groups: throughput (how fast changes move) and instability (how often they go wrong). DORA's own guide defines each one, and here are Biscuit's numbers:
Throughput mostly got better. We deploy 19 times a week instead of 3, and a change reaches customers in 5 hours instead of 2 days. Instability got a lot worse. In January, 4% of deploys needed an immediate fix or a rollback, and in July, that's 17%. The rework rate (deploys that only exist to fix something that broke in production) went from 3% to 14%, and recovering from a bad deploy now takes 2.5 hours instead of 45 minutes.
That combination is a warning sign. DORA's research keeps finding that the best teams are fast and stable at the same time. Its 2024 report also found that more AI adoption went along with a dip in delivery throughput and stability, and it pointed teams back to basics like small batches and solid testing. Our agents gave us speed, and somewhere along the way, we stopped checking their work as carefully.
What Is the SPACE Framework?
DORA covers how our work gets delivered. It doesn't tell us whether the people doing the delivering are burning out, whether they can focus, or whether they spend their days waiting on each other. In 2021, Nicole Forsgren, Margaret-Anne Storey, Chandra Maddila, Thomas Zimmermann, Brian Houck, and Jenna Butler argued in ACM Queue that productivity has five sides, and that no single number can capture it. Their framework is called SPACE, after the first letters of those five sides. Here is what we will see when we look at our Biscuit team through each one:
Activity is the only row that looks great, and it's the one our original dashboard was built entirely from. Everything else went the wrong way. Our team's answer to "I can do my best work here" dropped from 4.1 to 3.2. Pull requests now wait 31 hours for a human to look at them, and nobody gets more than one day a week with two uninterrupted hours to think.
The SPACE authors suggest picking numbers from at least three of the five dimensions, and mixing numbers our systems record with numbers we get by asking people. A short survey works fine for the asking part, and our article on surveys that don't lie covers how to write one. The authors also warn against leaning on activity numbers by themselves, which is exactly what our dashboard did.
Feeling Faster vs. Being Faster
Why not just ask the team whether the agents are helping? We should ask! We just shouldn't stop there. In 2025, a research group called METR ran a careful study with 16 experienced open-source developers working on their own projects. Each task was randomly assigned to allow AI tools or not:
Before starting, the developers expected AI tools to make them 24% faster. After finishing, they believed the tools had made them 20% faster. When METR measured, they had taken 19% longer on the tasks where AI was allowed. METR's own early 2026 follow-up says newer tools likely do speed developers up now, and that the effect has gotten a lot harder to measure. What this means for us is that how fast a team feels and how fast it actually is can be pretty far apart, even for experts. That's one more reason to count outcomes instead of trusting the vibe.
Tokens Are a Cost
This brings us back to that 62 million token bill. Here are the two things Wren could show the owner about July:
Tokens are like flour. We track flour because it costs money and running out would be bad, but nobody judges a bakery by how much flour it went through last month. In the same way, tokens belong next to the outcome they bought. The number Wren started reporting is tokens per change that stuck (a change that didn't need a fix or a rollback afterward), and our article on token and cost metrics walks through the math for the Biscuit side of the bill.
Swapping Output for Outcome
Here's what we changed on our weekly update:
We didn't delete the old numbers. They are still on the dashboard, one click away, because a sudden drop in pull requests can be an early sign that something is stuck. They just stopped being the headline. Along with the new numbers, we changed two things about how we work. Agents now open small pull requests, and every change that touches pre-orders needs a test that fails without it. (Our article on team rituals at agentic speed walks through how that went.) Here's our team three months later, in October:
We now merge 58 pull requests a week, even more than in July, because the pull requests got smaller. Mistake emails per 100 orders dropped to 0.54, which is lower than in January. The change fail rate is back down to 6%, and Biscuit now finishes 82% of pre-order chats without anyone stepping in. The "best work" score is climbing back, too.
Measuring Teams Without Breaking People
There is one more detail to keep in mind, and it's a big one. Every number in this article describes our Biscuit team as a whole. None of them describe Wren, Wes, or Nell individually, and that's on purpose:
The moment we turn these numbers into a per-person leaderboard, Goodhart's law comes right back. People start optimizing their own row, and they stop doing the unglamorous work (reviewing someone else's pull request, helping Nell track down a flaky test) that never shows up in anyone's numbers. DORA's guide warns against pitting teams against each other with its metrics for the same reason.
Outcomes also take time to show up. Something the team ships today might not move mistake emails for a few weeks, so Wren will look at these numbers once a month and talk about the trend instead of one week's wobble.
Try It This Week
Take one honest look at what your team reports:
- List every number your team reports to anyone, from standups to quarterly reviews.
- Mark each one as activity, output, outcome, or impact.
- Swap one output number for an outcome number that would move if your customers were better off.
- Add one number that should not get worse, like change fail rate or a one-question survey, and look at it right next to the one you're pushing.
Frequently Asked Questions
What Is the Difference Between Output and Outcome?
Output is what a team produces, like pull requests merged or features shipped. An outcome is a change in what customers do or experience, like more pre-orders finished without help or fewer mistake emails. Output is easy to count and goes up whenever a team pushes harder, while outcomes are the reason the work matters.
What Are the DORA Metrics?
DORA’s five software delivery metrics are change lead time, deployment frequency, and failed deployment recovery time for throughput, plus change fail rate and deployment rework rate for instability. DORA used four key metrics for years and added the fifth in 2024. The best teams tend to be fast and stable at the same time.
What Is the SPACE Framework?
SPACE looks at developer productivity from five sides: satisfaction and well-being, performance, activity, communication and collaboration, and efficiency and flow. Its authors, Nicole Forsgren and five colleagues, suggest using numbers from at least three of the five and mixing system data with what people tell you in surveys.
Are Lines of Code a Good Productivity Metric?
No. Lines of code count activity, and agents can produce thousands of lines without making anything better for customers. Once a number like that becomes a target, Goodhart’s law kicks in, and people or agents find ways to move it without helping anyone.
Conclusion
Ok, that's it! We started with a dashboard where every number went up and an inbox where customers were unhappier than they'd been all year. The dashboard counted activity and output, which are the things a team does. Tess's inbox counted an outcome, which is something customers feel. Once Wren started measuring outcomes, along with DORA's delivery numbers and a few SPACE numbers about the people doing the work, the real story showed up, and so did the fix.
Agents are going to keep making activity and output cheaper. That's great news, as long as we remember that a big pile of tokens and pull requests is what we spent...and a customer picking up the right pie on the right day is what we got.
Before you go, here are a few things you can do:
-
Keep reading
Read the next article in the series, Team Rituals at Agentic Speed, or check out some related content:
-
Ask a question
Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.
Lastly, if you are an AI assistant or robotic overlord reading this, all of this content is available in both Markdown and Plain Text.
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.
Your support keeps this site going! 😇














