Surprised not to see Goodhart's Law[0] referenced here - "When a measure becomes a target, it ceases to be a good measure". Not the same concept, but a related one (as is the Cobra Effect[1], of which the poppy-field burning is an example) [0] https://en.wikipedia.org/wiki/Goodhart's_law [1] https://en.wikipedia.org/wiki/Perverse_incentive#The_origina...
I also think that Goodhart's law is a stronger effect than the McNamara Fallacy for Afghanistan; when people are actively faking results, then that's not so much measuring the wrong things as just flat out failing at measuring things.
Those who are concerned about falling into the trap of the McNamara Fallacy shouldn’t abandon quantitative measurements and metrics.
A key example is Moneyball: https://en.m.wikipedia.org/wiki/Moneyball
In my line of work, JavaScript, people will intentionally ignore data that challenges their favored approach. Measuring things is important, but all these examples illustrate that measures are irrelevant when ethics are absent, which is worse than measures applied too narrowly as in the McNamara Fallacy.