Some corporations really ride the AI hype train. A few days ago, I heard that some companies are not just forcing developers to use GitHub Copilot, but also check how much developers are using AI daily.
I'm always amazed by how little understanding some managers have of what developers really do.
If you want to measure something, measure the actual output. Do not measure some arbitrary parameter you don't even understand. Although many of us do not work in creative fields, never underestimate the human capability to find novel ways to abuse the system.
Why would you write code with quick autocomplete like:
if(!isAdmin)
{
throw new UnauthorizedException();
}
When you can type:
Check if the user is an admin; if not, the user should not be able to continue.
It's slower, more cumbersome, but at the end of the day, the dashboard says your productivity is up!
And no, I do not have a silver bullet for measuring the dev productivity. But, I'm 100% sure this isn't it. Every proxy metric eventually measures bullshit per minute, not output.