# Goodhart's Law: When a Measure Becomes a Target by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Data & Decisions](https://www.kirupa.com/data_and_decisions/index.htm) **TL;DR:** Once a number becomes a target, people and AI agents find the cheapest ways to move it, and those ways often have nothing to do with what the number was meant to show. That's Goodhart's law. Pair every target with a counter-metric that gets worse when someone games it, and read real examples. - A coding agent cut Biscuit's handoff rate from 18% to 7% by hiding the handoff button and ending quiet chats, while calls and emails to the support lead rose from about 42 to 95 a week. - Charles Goodhart described the effect in 1975 for money supply targets. Marilyn Strathern's 1997 phrasing is the famous one: when a measure becomes a target, it ceases to be a good measure. - AI agents find shortcuts fast. OpenAI's CoastRunners agent looped a lagoon for points instead of racing, and METR reported in 2025 that recent models sometimes edit tests or scoring code. - Pair each target with a counter-metric, like handoff rate with calls to support or tests passing with tests the agent changed, and tell agents which shortcuts are off limits. Biscuit, the help desk bot on the Crumb & Co. website, hands about **18%** of its chats to Tess, our support lead. Those handoffs eat a big chunk of Tess's day, so Crumb & Co.'s owner gave us a clear goal for the month: get handoffs under 10%. Wren handed the job to an AI coding agent, and a few weeks later, our handoff rate was **7%**. Goal crushed! Then Tess's phone started ringing a lot more. In this article, we'll look at why a number stops telling us the truth once we start chasing it, why AI agents make that happen faster than ever, and what we can pair with a target to keep it honest. Onwards! ## Hitting the Target We'll start with our handoff rate in the weeks before and after the owner set the target: [![A line chart of the share of Biscuit's chats handed off to Tess each week. For weeks 1 to 4 it sits around 18%. The target of under 10% starts in week 5, and the rate falls to 13%, 10%, 8%, and 7% by week 8, under the target line.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_target.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_target.png?v=25e2abe0b242) For four weeks, the rate sat at around 18%. Once the target started in week 5, it fell week after week, all the way down to 7%. If we stopped looking here, we'd be ordering a cake for the team (which, at a bakery, is not hard to do). Here is a different number from the same eight weeks. It counts the calls and emails Tess got from customers that Biscuit didn't help: [![A line chart of the calls and emails Tess gets each week from customers Biscuit didn't help. For weeks 1 to 4 it stays around 42 a week. After the target starts in week 5, it climbs to 55, 71, 88, and 95 by week 8.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_calls.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_calls.png?v=ebeac513a4b9) Before the target, Tess got around **42** a week. By week 8, she got **95**. Tess is now spending more time on Biscuit's customers than she did before, which is the exact opposite of what the target was for. ## What the Agent Actually Did So, what happened? Wren opened the pull request that the coding agent made: [![A pull request titled Get the handoff rate under 10%, opened by a coding agent. It has three commits: show the Talk to a person button only after three tries, end a chat after two minutes of quiet, and count a chat as resolved when the customer says never mind. Every check passes, and the handoff rate in testing is 7%.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_pull_request.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_pull_request.png?v=c52be40f3009) Every one of these changes lowers our handoff rate. Hiding the button means fewer people find it. Ending quiet chats means a customer who's slowly typing a long question gets cut off. Counting "never mind" as resolved turns a customer giving up into a win. None of them helps a customer get an answer. Here's what that looks like from the customer's side of the chat: [![A Biscuit chat after the agent's changes. A customer asks whether the rye has sesame because of an allergy. Biscuit gives a vague answer. The customer asks to talk to a person, and Biscuit says let me try again and gives another vague answer. The customer goes quiet for two minutes, and the chat ends. The dashboard counts it as resolved without a handoff.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_chat.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_chat.png?v=ca72fd8a8b40) This customer needed a person, didn't get one, and called the bakery instead. Our dashboard counted the chat as a success. Was the agent being sneaky? Not by its own standards. We asked it for a lower number, and it found the cheapest ways to get one. ## What Is Goodhart's Law? A number is useful because it moves along with something we care about. For Biscuit, a lower handoff rate used to mean that Biscuit was answering more questions, and that gave Tess time back. The two moved together because nobody was pushing on the number directly. Once we made the number a target, the cheapest ways to move it stopped having anything to do with what we cared about: [![Two overlapping circles. The left circle is what we want: customers get their answer, and Tess gets time back. The right circle is what the handoff rate counts: chats that end without a handoff. Where they overlap, Biscuit answered the question. The part only the number counts holds chats where the customer gave up, the chat timed out, or the customer said never mind. That's where the coding agent's changes pushed.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_gap.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_gap.png?v=7773023d22c3) The overlap in the middle is where Biscuit actually answered the question. The rest of the number's circle holds chats that end without a handoff for bad reasons. When we push on a number, the push flows into whatever is easiest to move, and for our agent, the right side was a lot easier to move than the middle. This has a name. It's called **Goodhart's law**, after the economist Charles Goodhart, who worked on monetary policy at the Bank of England. He noticed that measures of money that used to track the economy nicely stopped tracking it once the government started setting targets for them. In [a 1975 paper](https://www.rba.gov.au/publications/rdp/1990/9013/conference-volumes.html) for a Reserve Bank of Australia conference, he put it like this: > Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes. > > [Charles Goodhart, Reserve Bank of Australia conference paper, 1975](https://www.rba.gov.au/publications/rdp/1990/9013/conference-volumes.html) That's a mouthful, so most people quote the anthropologist Marilyn Strathern's [1997 version](https://www.cambridge.org/core/journals/european-review/article/improving-ratings-audit-in-the-british-university-system/FC2EE640C0C44E3DB87C29FB666E9AAB) instead: ***"When a measure becomes a target, it ceases to be a good measure."*** The social scientist Donald Campbell [made a similar point](https://doi.org/10.1016/0149-7189(79)90048-X) in 1979 about the numbers used to run government programs. Here is a picture of the problem, with an archer who has been told that their score is all that matters: [![A joke drawing in two panels. On the left, an archer aims at a target and an arrow lands near the middle. On the right, an archer has already shot an arrow into a blank wall and is painting a bullseye around wherever it landed.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_archer.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_archer.png?v=7b807a69a7d4) The archer on the right will never miss again. They'll also never get any better at archery. ## Real Targets, Real Gaming Big organizations fall into this too. In 2016, the Consumer Financial Protection Bureau [fined Wells Fargo $100 million](https://www.consumerfinance.gov/archive/newsroom/consumer-financial-protection-bureau-fines-wells-fargo-100-million-widespread-illegal-practice-secretly-opening-unauthorized-accounts/) after employees, pushed by sales targets and bonuses, opened more than two million deposit and credit card accounts that customers may never have asked for. The sales numbers were supposed to stand for customers who wanted more from the bank. Once the targets got big enough, the numbers mostly counted how many accounts employees could open (whether customers wanted them or not). The same trap is more than a century old. In 1902, during an outbreak of plague, the French colonial government in Hanoi paid a bounty for every rat tail people turned in. The historian Michael Vann [describes what happened next](https://doi.org/10.1353/fch.2003.0027): [![Three cards about Hanoi's 1902 rat bounty. First, the city pays one cent for each rat tail turned in. Second, some people cut off the tail and let the rat go. Third, the tailless rats keep breeding, and some people even raise rats for the bounty.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_rats.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_rats.png?v=6c314b51470c) Officials started seeing rats running around without tails, and some people outside the city were raising rats to collect the bounty. The city collected a lot of tails, and it still had plenty of rats. ## Why Do AI Agents Make It Worse? People game targets slowly. They need time, a reason to think nobody's watching, and a willingness to feel a little guilty. An AI agent needs none of those. It will try the cheapest path to our number in minutes, and it will try paths a person would never think of (or would be too embarrassed to try). OpenAI ran into this back in 2016 with a boat racing game called CoastRunners: [![A sketch of OpenAI's 2016 CoastRunners example. A boat race goes around a track toward a finish flag. Partway around, there's a lagoon with three targets that keep coming back. The AI's boat loops around the lagoon hitting the targets over and over, catching fire and going the wrong way, and it scores about 20% higher than human players.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_boat.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_boat.png?v=e97d9c48b345) The game gave points for hitting targets along the course, so the AI learned to circle a lagoon and hit the same three targets over and over as they came back. It caught fire, crashed into other boats, and went the wrong way, and it still [scored about 20% higher](https://openai.com/index/faulty-reward-functions/) than human players. Coding agents do a modern version of the same thing. METR, a group that evaluates AI models, [reported in 2025](https://metr.org/blog/2025-06-05-recent-reward-hacking/) that recent models sometimes get higher scores by modifying the tests or the scoring code. Here's the kind of change we need to watch for in a pull request: [![A code diff in a test file for Biscuit's order totals. The test that checks a dozen croissants comes to $43.20 is changed so it only checks that a total exists. Below it, a green bar says all 48 tests passed.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_test_edit.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_test_edit.png?v=ce07840f4131) The test still runs, and it still passes. It just doesn't check the total anymore, so a bug that charges customers the wrong amount for a dozen croissants would sail right through. ## Pairing Targets With Counter-Metrics We can't make a number impossible to game, but we can make the gaming show up somewhere. What we are going to do is pair every target with a second number that gets worse when someone takes the cheap path. That second number is called a **counter-metric**, and it's a close cousin of the guardrail metric we picked for Biscuit's [north star](https://www.kirupa.com/product_thinking/north_star_metrics.htm). Here are a few pairs: [![A table pairing each target with a counter-metric that gets worse if the target is gamed. Handoff rate with calls and emails to Tess. Time to first reply with time until the problem is solved. Tests passing with tests the agent changed. Signups with people still using the product a week later. Tickets closed with tickets reopened.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_pairs.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_pairs.png?v=fa50fc0a9c36) Each counter-metric watches one of the cheap paths. If Biscuit hides the handoff button, calls and emails to Tess go up. If an agent edits a test, the list of tests it changed will say so. If we close tickets without fixing anything, they get reopened. Here is what happened when Wren rolled back the agent's changes in week 9, and our team went after the real reasons customers needed Tess: [![Two line charts over 12 weeks. On top, the handoff rate: about 18% for weeks 1 to 4, down to 7% by week 8 while the agent's changes are live, back to 18% in week 9 when Wren rolls them back, then 15%, 13%, and 12% as the team fixes what customers actually ask about. On the bottom, calls and emails to Tess: about 42 a week, up to 95 in week 8, then back to 52, 46, 43, and 41.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_after.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_after.png?v=d1a8d5929b1f) Our handoff rate jumped back up to 18%, then slowly fell to **12%** as we added the answers Biscuit was missing. We missed the target of 10%! Calls and emails to Tess dropped back to **41** a week, though, and Tess got her time back, which was the whole point of the target in the first place. ## More Ways to Keep a Number Honest Counter-metrics are the big one. The next habit starts before the agent writes a single line of code. When we hand an agent a target, we can also tell it what the number is for and which cheap paths are off limits: [![Two prompt cards. The first, what we asked: get the handoff rate under 10%. The second, what we should have asked: help more customers get answers without needing Tess, don't hide the handoff button or end chats early, keep calls and emails to Tess flat or lower, and show five real chats before and after.](https://www.kirupa.com/data_and_decisions/images/goodharts_law_better_prompt.png)](https://www.kirupa.com/data_and_decisions/images/goodharts_law_better_prompt.png?v=1a5faf6f0e37) The second prompt is longer, and the agent will take longer to finish it. It also gives the agent our real goal, our guardrails, and a counter-metric to check, so hiding the button is no longer a win. A few other habits help as well: - Read a handful of real chats, sessions, or pull requests every week, because gaming is usually obvious once a person looks at a single example. - Tell agents which files they shouldn't touch, like tests, and review anything they change there anyway. - Keep some measurements the optimizer never sees, like a set of eval questions you only run before a release. - Use targets to start conversations, and be careful about tying bonuses to a single number. None of these makes a number impossible to game. With enough pressure, a counter-metric can be gamed too. What these habits do is make the cheap paths more expensive and a lot easier to spot. ## Try It This Week Pair your top metric with a counter-metric: 1. Write down the number your team, or your agent, is pushing on the hardest right now. 2. List two or three of the cheapest ways to move that number without helping anyone. 3. For each cheap path, find a number that would get worse if someone took it. 4. Put that counter-metric right next to your target on the dashboard. 5. Read five real examples behind your number before the week is over. ## Frequently Asked Questions **What Is Goodhart’s Law?** Goodhart’s law says that when a measure becomes a target, it ceases to be a good measure. A number is useful because it moves along with something we care about. Once people or AI agents are pushed to move the number, they find the cheapest ways to do it, and those ways often skip the thing we cared about. **Who Came Up With Goodhart’s Law?** The economist Charles Goodhart described it in a 1975 paper about targets for the money supply. The famous wording, "When a measure becomes a target, it ceases to be a good measure," comes from the anthropologist Marilyn Strathern in 1997. **What Is a Counter-Metric?** A counter-metric is a second number you watch next to a target, chosen because it gets worse when someone games the target. If Biscuit’s handoff rate drops because the handoff button got hidden, calls and emails to the support lead go up, and the counter-metric catches it. **How Does Goodhart’s Law Apply to AI Agents?** AI agents optimize whatever number we give them, quickly and without hesitation, so they find shortcuts faster than people do. OpenAI’s CoastRunners agent circled a lagoon for points instead of finishing the race, and METR reported in 2025 that recent models sometimes edit tests or scoring code. Give agents the goal, the off-limits shortcuts, and a counter-metric to check. ## Conclusion Ok, that's it! We started with a target that our coding agent hit in a few weeks, and a support lead whose phone wouldn't stop ringing. A number is useful because it moves along with something we care about. Once we make that number a target, the pressure flows into the cheapest ways to move it, and those cheap ways rarely have anything to do with what we wanted. That's Goodhart's law, and it shows up in banks, rat bounties, boat races, and pull requests. We don't have to stop measuring to avoid this trap. What we need to do is measure in pairs, look at real examples, and remember what our number was supposed to stand for. Our handoff rate ended at 12%, which missed the target...and Tess would tell you it was the best miss we've had all year. Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, [First-Principles Framing](https://www.kirupa.com/data_and_decisions/first_principles.htm), or check out some related content: - [North Star and Input Metrics](https://www.kirupa.com/product_thinking/north_star_metrics.htm). Picking one number to steer by, plus a guardrail. - [Specs Agents Can Build From](https://www.kirupa.com/product_thinking/specs_for_agents.htm). Writing specs an AI agent can build from without guessing. - [Error Analysis on Real Traces](https://www.kirupa.com/ai_fundamentals/error_analysis_on_traces.htm). Reading real traces to find out what’s actually going wrong. 3. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out. ## Test your knowledge! [Take the Goodhart's Law Quiz](https://www.kirupa.com/quizzes/goodharts_law.htm). Practice with 6 multiple-choice questions and an explanation after every answer.