KPIs for Software Engineers
sledgeworx.io
sledgeworx.io
Ex: oh, you're measuring number of commits, well, I'll stop squashing and start breaking commits down to single lines. Boom, I'm a 100x software engineer.
Does anyone have a decent list of individual contributor KPI's that are actually useful or insightful? I've, so far (~20 years of experience), never run into individual KPI's that weren't able to be gamed and were actually meaningful.
> https://en.wikipedia.org/wiki/Goodhart%27s_law
In this sense I do consider many KPIs often to be good metrics to find out whether the company is on the right path, or as an early warning system for problems that the company might become confronted with in the future.
But as soon as you use KPIs to assess managers, they will become gamed, and thus loose a lot of their value.
but when you try to translate that to the individual level, it's almost impossible because it's hard/impossible to properly attribute value to individual actions.
If I had to choose KPIs to measure the performance of teams (yes, teams), I would choose the DORA metrics, or something of the sort.
"When a measure becomes a target, it ceases to be a good measure" https://en.wikipedia.org/wiki/Goodhart%27s_law
> We want to avoid subjective judgements of how much of task X engineer 1 did vs engineer 2.
None of these metrics remove subjective judgments.
> meetings attended
Beginning to think this is some sort of joke.
And KPIs are the truncheon that managers use to smash others' heads in. There should be no metrics, for anyone, only RESULTS. "What gets measured gets managed"... why do they not teach the management class this
They also teach you about leading and lagging KPIs. Results are lagging KPIs: nice to know if you are on track to achieving your goals, but useless if you want to know how to go faster/do better/etc.
If you've upvoted and see this comment, can you please reply?
FWIW, I agree with the rest of the comments here, I think the points on the list can easily be gamed and should not be used/trusted.
Every single KPI listed above can be manipulated, means nothing, shows nothing except many will try to game the system by:
- Needlessly adding lines of code. - Committing excessively. - Closing too many PRs too early or opening too many PRs too soon. - Meeting attended, people will needlessly attend meetings or create meetings. - Prod deployments, people will needlessly push to prod.
And like that for all the listed.
your manager likely has some rubric for how they'll measure your success.
it may not even be explicitly formulated in their mind, but they have some sort of subjective/qualitative set of expectations. instead of going through the work of precisely defining those expectations and communicating them to the employee, they "empower" the employee to "set their own definition of success".
however, this turns into a game of the IC guessing what the manager wants to hear, which results in two problems:
- if you guess correctly, the manager is happy because they didn't have to go through the work of defining and communicating their expectations and they get to pretend that they are generous and letting employees "drive your own development"
- if you guess incorrectly, you better hope that you accidentally meet the secret rubric your manager has in their head because you know that that's what is used to evaluate performance and determine raises/promotions regardless of what's written down in your quarterly KPIs
Someone should read this old story:
https://www.folklore.org/StoryView.py?story=Negative_2000_Li...
One day, put all of them in PCA or tree model, and compare to your own observations on who is the most valuable eng in the org
How much is there to measure if everyone quits after 3 months?
Yep, my manager will be implementing this post...
Maybe the developer who wrote the blog post can set a personal KPI of "99% uptime for blog site".
Should've focused on KPIs for your site availability instead.
- Counting stuff does not work. People will stop doing atomic commits and will start pushing 1-3 lines of code or config all the time. Or will start breaking the issues into much smaller ones so as to seem like they are closing many of them.
- Verifying means trying to engage more of a resource that's already precious and stretched thin i.e. engineer attention and time. You will end up squeezing your already strained people even more unless you hire extra.
- Valuable, okay, but short-term or long-term? I met plenty of "valuable driven engineers with a can-do attitude" whose code I had to fix months later because the product development has ground to a halt. Who's more valuable, the person who makes a customer demo possible that pays $1M one-off investment after the demo, or the person who makes sure the customers with really deep pockets will get their features and start paying $500k a year? (Both are valuable and this was obviously a trick / trap question. Point is, you can't only worship the former group and claim the latter is less valuable.)
- Individually attributable is a solved problem. Just count commits + coding lines and judge by that, if that tickles your fancy. Everything else does require the attention of other engineers which is not an efficient expenditure of time and energy.
---
I'll give you one good KPI: make your programmer happy. Recognize that not all work is glorious because they do recognize that as well BUT periodically give them space and time to go off on small adventures to f.ex. optimize a hot path that's proven to be slower than what's deemed productive, or allow them to automate a process, or write a small library that can be reused between teams, or help engage with others who use their code and are unsure how to do so; things like that.
Programming is a very mentally straining job. Help these people not hate their job. There are many well-documented ways to keep employees happy.
Trying to measure everyone will never work until it gets fully automated, at which point it would be unproductive and illogical to do so -- because if you have such a smart automation then why don't you use it to get your actual work done with it, and not measure your inefficient flesh bag employees?
In a nutshell: by the time you get to being able to gauge programmers in a fully automated matter, you would likely just "hire" a bunch of robots and fire the humans.