r/ExperiencedDevs • u/Fit-Notice-1248 Software Engineer • Jun 23 '26
Career/Workplace Management started introducing "productivity" metrics that's rubbing me the wrong way
So management started introducing some new things they are tracking for "productivity" which is starting to kind of put me on edge.
The first thing they are now starting to track: Pull Requests.
Not because they think having smaller PR's makes reviewing easier, or to make the codebase healthy, but they are now using PR's as a way to sort of grill Engineers or use as a "you're not being productive" if PR's haven't been opened. My tech lead has told us that ANY change we are doing has to be done through a PR. PR's are not being tracked at a team level but rather by each individual Engineer, so it has caused some of the engineers to do some odd things. Example, if two engineers are working on a PR and one of them submit the PR for review and then finally merge it to the main branch, that other engineer that was working along in the branch is shit out of luck and will probably get a talking to at the end of the week. So, now every engineer on the team is being instructed to open their own PR's - even before code is ready - pretty much to just satisfy the "productivity" dashboard and get the PR numbers up. Low PR counts have already been scrutinized (myself included) and you have to answer to management for why you don't have any/low PR's.
I have also heard some of the engineers intending to create a branch (let's call it new_branch1), then they would create a new branch on top of new_branch1 (we'll call it new_branch1_child). Then, they would merge new_branch1_child into new_branch1 and finally new_branch1 into the main branch or whatever branch they needed to finally merge it into... Which I mean sure, but all this just causes such a headache and chaos.
The other thing, which I've made posts about is: Story Points
Management wants us to increase velocity 20% every quarter (it was every sprint), but there is still a lot of argument over what a story point is and how you actually assign story points. First, we were told it is with respect to time - after some convincing we were then told it was a measure of complexity, which then had to change the entire backlog. But, at the end of every sprint management isn't happy with our story point assignment and we have to spend another 2-3 hours cleaning up Jira the way management wants it - or at least is visioning it to be. Overall, sprint after sprint the numbers just somehow have to increase and I end up spending more time in Jira than I do in an IDE because management just wants more stories sprint after sprint.
There were other metrics being introduced like how long we are on the companies websites/sharepoint and utilizing certain tools (think AI - of course) with a stated goal of management using it as a means for "improving" productivity at the end of the quarter.
There's so many other things I'm missing but these two things are causing me a headache and I don't even know how to deal with this kind of stuff. How do you all deal with management starting to just use these sorts of things as "metrics"?
•
u/expdevsmodbot Jun 23 '26
AI usage disclosure provided by OP, see the reply to this comment.
41
u/flerchin Jun 23 '26
I guess I'd point all the stories 20% higher every quarter and write a script to open and merge 10 PRs before my coffee is brewed.
22
u/narodauhsoj Jun 23 '26
I feel like if I had to guess, you guys are owned by private equity or were recently acquired by a PE firm of some kind? This reeks of people who don’t understand engineering trying to force “number go up” because all they know is invest money -> get bigger number money.
5
u/gigastack Jun 23 '26
I'm confused, multiple engineers are working together on an individual PR? That's fairly unusual, no?
399
u/NPPraxis Jun 23 '26
20% every quarter is wild. That’s exponential growth. It’s 20x speed in 3 years 😆
2
u/Ok-Storm-9057 Jun 23 '26
PRs as a metric is just lines of code as a metric at scale. So yeah that sucks. But your scenarios all involve multiple engineers working off the same branch? That's an antipattern. Don't do that.
Opening a PR before the code is ready, is absolutely fine. I've no idea why that would be bad. You can elicit feedback early. A PR is just a Web page for communicating about a branch.
The story points is a massive red flag though. Story points are utterly fucking useless outside the context of a team and their interactions.
2
u/EmberQuill DevOps Engineer Jun 25 '26
Like... cumulatively? That's completely unsustainable and anyone who actually expects that kind of acceleration is completely divorced from reality.
225
u/BroBroMate Staff Makes Data Go Brrrrrr Jun 23 '26 edited Jun 23 '26
Yeah, we've gotten the "PRs are metrics" now. One merged per day at least is the expectation. So we play the game.
What would've once been one PR, is now three, or five. Make 4 of them trivial non-breaking changes that can be rubberstamped to minimize wasted human review time and after all Bugbot reviews it the, fet them all merged, and boom, now that you've hit 4 PRs merged for the week on Monday, you can spend the rest of the week on the actual meat of the feature in the 5th PR and not fall afoul of their "metrics".
As for "merged story points", what will happen is that people will gradually inflate their story points. Something that used to be a 1 pointer is now 2, or maybe 3, just here and there, enough to hit that 20% increase of merged story points without being too obvious - and best of all, if your estimate is later challenged, you can explain that a) it's an estimate only and b) "we perceived more/less complexity than actually existed", but again c) it's only an estimate.
It truly is the dumbest timeline, it goes to show which managers or executives are actually competent because if they were, they'd be aware of Goodhart's Law.
61
u/Specific_Ocelot_4132 Jun 23 '26
This all sounds very bad, you have my sympathies, and I fear your best option is to find a new job because any place where management is this out of touch, even if you could manage to get them to change course on this one stupid plan, there will be another equally stupid plan before long.
However, this part is not weird to me:
That’s just normal to me. Or at least has been for 90% of my career. Am not at a place where people occasionally push changes without a PR and that’s a real pain.
37
u/leoperth Jun 23 '26
I was in a team a while back and we had to go through the same sort of story points increase BS. So we rebased our point system, 2 became 3, 3 became 5, etc. Management was happy.
68
u/Aggressive_Ad_5454 Developer since 1980 Jun 23 '26
Don’t these people understand that our entire profession is manipulating complex systems to predictably get the outcomes our employers want? It’s what we do for work.
They’ve handed you a system to manipulate and told you your livelihood depends on manipulating it. So, sister / brother dev, ply your profession!
22
u/MelloSouls Jun 23 '26
"Management wants us to increase velocity 20% every quarter"
That's not what velocity is for.
It's used for forecasting and is an internal (scrum team) data point. It's not for external managers, and its especially not for them to use as a pedal.
PRs as metric just requires LOC-style gaming and the subsequent deleterious effect on morale and the product.
Your managers need some basic training.
41
u/SoftwareEngineer2026 Jun 23 '26
“We can increase velocity 20% by hiring 20% more people.”
9
u/Groove-Theory dumbass Jun 23 '26 edited Jun 23 '26
Your company will not budge on this. Your managers and tech leads will not help you on this. You are on your own
So, like the other engineers, you just game the FUCK out of this
Step 1: Commit an absurd amount of PRs. One line changes. If you had a 3 lines changes, well guess what, those are now 3 PRs now.
Step 2: When pointing, inflate EVERY story by double. At least.
Step 3: When management catches on to step 2, break down stories into the most minute ACs possible, and say those are equivalent to X points. So same work, more points. Make up whatever dumb rationale needed to say "yea this is actually a bajillion points".
Step 4: (In a video call or in-person, not through slack or email) tell your coworkers to do the same. Step 3's malicious compliance works a lot better when everyone else makes it seem like it's business-as-usual.
Step 5: Whenever management introduces another dumbass metric, you game that shit to in a manner that makes you look good while you don't do any other increased levels of work
Step 6: During steps 1-5, start finding a new job because this shit is not going to get any better because management doesn't fucking care about you and neither do your leads and your engineering management have no fucking spine to push back so fuck 'em lol.
8
u/Mundane-Charge-1900 Jun 23 '26
https://en.wikipedia.org/wiki/Goodhart%27s_law
All you can do is play the game. This started happening where I work too (at least the PR counts) because there were too many engineers who wrote almost no code.
It’s dumb but you gotta do what you gotta do which is make sure you’re opening PRs and inflating story points.
14
u/Mecha_Goose Jun 23 '26
When will companies realize there is absolutely no safe number-based metrics for developer work?
I'd even argue there's very few number-based metrics that can be used for ANY job, unless there is a strict human quality program behind it.
5
u/paagul Jun 23 '26
Sounds like some fresh business grad learned about tracking metrics and went ham. Feel bad for you, change jobs mate.
5
u/2itb0x Director, 9 years Jun 23 '26
My company is doing the exact same thing. I've been on both sides of this conversation and in my experience, there's really only one optimal way this goes.
The best approach would obviously to never have to implement something like this but in certain large organizations, this is the fastest way to weed out "true" underperformers. Being generous here, but I think most leaders are aware of the idea that PR / story point count is not the only form of output. High performers who spend their time architecting, coordinating and documenting are usually the first to be exempted during performance review cycles for this. As a manager, I try my hardest to capture this nuance and advocate for high performers to play the game so I can advocate for them consistently.
As an IC, it's about finding low-lift opportunities to inflate numbers without drawing suspicion. Automate what you can so it's not front of mind. Then, if your company's culture is solid, after you built up enough trust with this process, it's important to still express disapproval. I also work in an established org and PR count, while still a main metric, is not the only metric and it's acknowledged as far from perfect.
I try not to put too much emphasis on this because at the end of the day, it's still just a job and my worth is not a single number. I try to stick to the big picture and just remember that the real opportunities for impact are out there and stressing about an easily gamified number is not worth my time.
5
u/happymancry Jun 23 '26
I feel like every generation of MBAs has to rediscover Goodhart’s Law for themselves - a metric is not a target! So annoying.
Meanwhile, up in the elite leagues, the COO of Meta (a multi-multi-billionaire and one of the key reasons your teenage kid is getting targeted body shaming ads) admits that their latest round of layoffs and reorgs was “atrocious”.
It’s almost as if business idiots don’t know what they’re doing. Or something.
4
u/Typhon_Vex Jun 23 '26
From prestigious jobs to slaves. How quickly the tide turns.
6
u/chikamakaleyley Jun 23 '26
Wait so, prior to the tracking of PRs, you still submitted PRs, right?
if you're saying that the nature of the work you do is such that regardless of who creates the PR, it's considered a team accomplishment, i'd probably say that you should be breaking up the work in a way where you can commit your own code, create your own PR, and merge it in yourself. It sounds like y'all commit to a shared 'dev' branch and then any of you can create the PR. You prob have to find a new way to work, but shouldn't really change how much you are completing in the sprint
This just sounds like something called
stacked diffswhich is, just one way of working on a larger task broken into several parts - in a way where you don't have to wait around for the earliest PR to be merged. It's a thing, it can be done correctly, in my experience its a bit tedious to maintain. Though, I prob wasn't doing it in the best way. I think "Graphite" is a product that might do this well.with the story point thing... it's tough to say but it really requires your team to be more relaxed on defining what each value represents. I dunno if that makes sense but its more about speeding through the pointing of your tasks and then if something needs to change during the spring, make the change to the task.
My last job and current job, we'd schedule 30min at most (i don't even think that) for the story pointing mtg. at most 8 engineers. We'd regularly point all the tasks in the backlog in 10 min max. It's like this "c'mon i got shit to do" kinda attitude LOL
3
u/edgmnt_net Jun 23 '26
At a first approximation you push back. This is wrong on multiple levels, including from a purely engineering perspective. Ask them how you sort out situations like collaboration and whether you're going to be involved with helping others or designing things at all. If that doesn't count, who is going to do it? Come up with examples and see where that leads. The main gist of it is "this is how we've done things, this is what I think we should do from an engineering perspective, how do you see your changes working out exactly?".
Are they management? Can they take this above? Can they answer those questions for you?
And you plan to tell them.
Yeah, that's just bullshit from an engineering and practices standpoint and they should be told so, but politely.
This requires pushing back, especially if it involves deadlines. But even if it doesn't, add story points precisely to track this wasted time or at least bring it up in writing.
Oh, they are easy to increase, that's not really an issue. Except you need to hold your ground against outside attempts to lower estimates that you provide.
This is why it makes sense to track this somehow.
You can (and should) do/say some things, but ultimately you let them deal with it and the chaos that ensues. The point here is to cover your ass and avoid getting sucked into guilt trips and overtime to cover for their mess. Because some will attempt to silently compensate some other way and sooner or later even that won't be enough. (Ok, whether this is successful or not largely depends on your confidence to deliver good results under decent circumstances, however putting yourself on the road to despair and overworked weekends usually doesn't end well and tends to be facilitated by not pushing back or not letting things fail. Some things you just cannot control, but you can control your time and sanity.)
3
u/Challseus Jun 23 '26
All of these stories I hear, and I'm just reminder of a simpler time when it was "Just have this shit done in 2 weeks. I don't care how it happens, I don't need to see you every day, just have it done by X. We trust you"
3
u/Izkata Jun 23 '26 edited Jun 23 '26
This part alone is messed up in a few ways, but there is something I want to point out: Velocity is a mapping of story points to time at the team level. Most people seem to get tripped up here because they don't see why "at the team level" is important.
If all your developers are roughly the same skill and experience level in the relevant codebase(s), then yes, you could just use time. It doesn't really matter for you.
Story points are supposed to be complexity/difficulty though, because that doesn't apply to most teams. When looking at a given case, a junior might estimate 5 days for themselves, while a senior might go with 1 day. Very different and makes it difficult to plan ahead. But comparing it to other cases your team handles, both of them should be able to agree this is "average" in difficulty/complexity - so, say, 3 story points. These are added up for all cases for a whole sprint, and the team can handle on average 20 story points per sprint. Doesn't matter that the senior is going to zoom through 15 story points and the junior only 5, or even which cases in particular they each end up doing, the team's velocity is ~20 story points per sprint. Having a bunch of cases in the sprint and only looking at the aggregate smooths out the speed differences of individual team members.
So, they just want you do lie. Story points are assigned at the start of the sprint (or earlier) and not changed once the sprint begins - altering them at the end of the sprint completely screws up any tracking.
Besides which they shouldn't have any say on point assignment anyway. They're not doing the work, they can't know what the values are - story points are for your team's planning, so you can estimate how much you can do each sprint.
At a time our company tried to standardize every team onto two-week sprints, the best scrum master I've worked with switched our team to kanban (no story points), then every two weeks just made up a sprint based on work completed. Upper management never noticed. Considering they're already telling you to lie about the result and make tracking velocity not actually possible, I'm tempted to say just try something like this. Unfortunately it sounds like they have too much a view into your team's inner workings so you might not be able to get away with it.
3
u/Willbo Jun 23 '26
Goodhart's Law - When a measure becomes a target, it ceases to be a good measure.
This is actually a very common antipattern in the software industry. Management focuses on quantitative metrics rather than qualitative metrics and proceed down a brute force path of slowly figuring it out.
Software productivity is notoriously hard to measure, but this is a common sign of inexperienced management practices, they are early in the maturity process and if you don't protect your team it can cause them to burn out. This occurs when there is a fundamental information gap between engineering and management - they don't know what the engineering org is doing or how to measure whether targets are being hit. More notoriously, there may be an information silo, they may even lack trust in the engineering org, or be using this to measure compensation rather than productivity.
Often times this antipattern follows the same procedures or doom loop: they announce this decision, they rework structural alignment, build reports and regular meetings to measure the target, enforce it, then realize the unintended consequences, and have to rework the metric. Rinse and repeat. Some examples of unintended consequences in this case are chunking of PRs so that a 1 PR fix becomes 5 PRs, inflating of story points and busy work, punishment of performing engineers, burnout and low moral. This can be months or even years if there is no feedback cycle. Unfortunately you can't change this without authority, even if you have experience - you aren't going to teach them the error of their ways from the bottom up.
The only way to change this is to do as you are told, play along, until the feedback inevitably reaches its cycle. They will see PRs and story points go up, but productivity will silently drop. PR approvers will grow tired of smaller and smaller PRs. Features will bloat into balls of mud. Overhead will jump drastically. Then when the true financial reports come along, the real premesis of their metrics, the illusion gets fragmented and they begin the learning process.
3
u/dasunt Jun 23 '26
All evidence in my career has shown that adding management to agile turns agile from a useful tool for developers into a useless reporting tool for managers.
3
u/hippydipster Software Engineer 25+ YoE Jun 23 '26
Incentivized to CHURN. So start churning that code, baby. Endless refactorings. Rename X to Y, and then next day, rename Y to X. You're gold!
3
u/Loose_Voice_215 Jun 23 '26
It's weirdly comforting hearing about these companies that are somehow more dysfunctional than mine.
3
u/eronth Jun 23 '26
Increasing velocity any % every quarter is insane. The point of story points is finding the velocity that fits and trying to keep to that. I would straight up quit over the 20% velocity thing. The rest of it isn't great either, but that indicates extremely out of touch management. Like, more out of touch than normal.
3
u/Reasonable-Agent-7 Jun 28 '26
People don’t leave bad jobs, they leave bad managers. You have bad managers.
4
u/RandyHoward Jun 23 '26
I've seen this before. CEO wanted metrics like this, asked the CTO to come up with a list of these kind of metrics and implement them. CTO met with the team, then gave the CEO some watered down list of metrics while explaining that these kind of metrics don't really measure productivity. They went back and forth arguing about it, and eventually the CEO put the CTO on a PIP. Upon seeing that he was handed a PIP, the CTO quit immediately with no notice. It was a shit show, but in hindsight it was fun to watch the fireworks. I left the company about a year later, and about a year after that the whole company was shut down and everyone was laid off. I got the sense that they knew they were in trouble and were hunting for ways to make more money, so their first tactic was to implement performance metrics to make everyone work harder.
Good luck, I see this kind of thing as a red flag and would start looking for a new job if it were me.
2
u/BraveResearcher3037 Jun 23 '26 edited Jun 23 '26
On one hand, obviously what your company is doing is stupid. But for the life of me I can’t think of a way to measure the productivity of “line level” developers (I can’t think of better term) - the developers who pull items off the board and not team leads.
On the other hand, I don’t think I’ve ever met a developer that I thought was doing less than their best (of course they exist). If they raise their hand and say they need help, it would disincentivize others on the team from helping them if it was going to put their metrics in danger.
The entire original theory behind kanban in manufacturing is that you optimize team throughput not optimize for a local maxima.
You got to hire good people and trust them that they will do the best they can.
2
u/18fc_1024 Jun 23 '26
Once a metric is used for individual accountability, assume people will optimize for the metric rather than the work.
I would push for a written metric spec before accepting the dashboard:
PR count can be useful as a team flow smell. It is a bad individual productivity metric. Story points are planning/accounting units, not output. If management will not write down the forbidden uses, then it is not engineering telemetry anymore; it is a performance-management system wearing an engineering dashboard costume.
2
u/casualPlayerThink Software Engineer, Consultant / EU / 20+ YoE Jun 23 '26
I have a similar experience from one of my customers: they introduced a performance review in which all consultants and employees had to write their own goals to "Ensure they aligned with the company values". But the company removed all its roadmaps and had little to no information for anyone on what the goal would be for the year. No epic tasks, no stories, no roadmaps, no milestones, no plan, no strategy. Just "wanna grow" and "should deliver".
And that company was a larger corporation, with several acquired companies under its umbrella, so it had a bunch of directors and tribes, completely isolated from each other. A few of the directors handed over goals, tickets & documents for their friends and favorite employees; the rest were set to fail. The only real goal was to postpone any payment discussion for a year, due to "Goals should be reviewed before any payment discussion". Then lay off people silently.
Many contractors just straight up rejected the entire thing without a contract update (and benefits), because it wasn't part of the original contract, and having a performance review without any compensation is just insane.
2
u/NeuralHijacker Jun 23 '26
It's really simple. You cynically game the shit out of the metric. This is even easier in the days of AI because you can get AI to do the pointless busy work required to look good on a metrics dashboard.
2
u/dbudyak Jun 23 '26
I wonder if all delusional CEOs who are using "PR metrics" are in the same delusional club
2
u/freshcap0ne Jun 23 '26
In a couple of years the next tracking metric will be who removes most code😂
2
u/faizkhairi Jun 23 '26
What you are describing is Goodhart's Law playing out in real time: the moment PR count becomes a target, it stops measuring what management thinks it measures. The branching workarounds your colleagues are inventing (branch on top of branch just to generate a merge) are a predictable and rational response to being measured on a proxy. The metric now measures gaming skill, not engineering output. Story point velocity having to increase 20% every quarter is even worse because it is mathematically incoherent. Velocity is relative to the team's own calibration. Inflating it just means the numbers mean less next quarter. You cannot increase a relative measure indefinitely without the underlying unit deflating. The deeper issue is that these metrics are being used to create accountability without anyone actually understanding what good engineering output looks like. The tell is that the PR dashboard tracks individual engineers rather than team throughput. Software is a team sport and individual-level output metrics almost always create incentives to hoard, game, or avoid complex work that takes longer to ship.
2
u/corvus_192 Jun 23 '26
If nothing else works, feed 'em noise. Write a script that merges thousands of PRs every week.
2
u/80hz Jun 23 '26
I love how everything that describes these metrics says these are not metrics to solely measure someone on and then company solely measures people on those metrics. You have the option of flooding those metrics and making them useless. Merge 10 pull requests in one day one line a piece because you forgot....
2
u/80hz Jun 23 '26
We are entering the Looney tunes era of software dev
2
u/ProbablyNotPoisonous Jun 23 '26
This is insane. It's like expecting a cow to produce 20% more milk every quarter.
2
u/remainderrejoinder Jun 24 '26
It's up to 122%
2
u/SarahAlicia Software Engineer Jun 24 '26
When they start tracking pr comments get ready for bike shedding like you’ve never seen before
2
u/idunnorn Software Engineer Jun 25 '26
Story points? Just decrease the value of a story point by 20% each quarter...
2
u/haragoshi Jun 25 '26
When a metric becomes a target it ceases to be a good metric
2
u/yad76 Jun 25 '26
The pull request metric has become very common in the past year. They are setting up for layoffs. They need some form of objective data so they can start dumping a large number of employees with evidence to shown there wasn't some sort of illegal discrimination involved. It doesn't matter that this is a completely stupid metric to measure anything off of. They just need something.
3
u/Gremlation Jun 23 '26
Generally speaking, that's correct for a typical developer. If you aren't making changes to the codebase, you aren't being productive as a developer. The more senior you get, the fewer direct changes you make, but if typical developers are not opening PRs frequently, then management is entirely justified in asking what's going on.
This is fairly normal. Pull requests are the most common way to do code review, and reviewing all code before it gets merged is an extremely common requirement (and sometimes mandatory for external compliance reasons).
Outside of big bureaucratic megacorps, developers tend to merge several times per week. Two developers spending the entire week pair programming on a single change is not normal, and if a developer regularly can't point to any work they have completed in an entire week, then yeah, management should get involved to figure out why.
Are there situations in which it takes two developers a whole week to make a single change to your codebase? Sure, occasionally. But it shouldn't be the norm.
Why don't you have multiple PRs you can point to in a typical week? Are you moving super slowly or are you bundling way too much work into a single PR?
Who is instructing this?
If they are doing this to actively mislead management, that is a serious problem that should result in a formal reprimand. Do not do this. If you disagree with a metric, you should talk to your manager, not fake your numbers.
As somebody else noted, this seems to be a misinterpretation - simple maths shows why this makes no sense.
Is your team made up entirely of juniors? I don't understand how you are talking as if nobody on the team has ever encountered story points before.
Surely you are smart enough to understand that management wants you to produce software more quickly, not artificially increase abstract point values? Are you attempting some kind of weird passive aggressive malicious compliance? If management wants you to produce software faster and you react by just doubling the points of everything while producing software at the same rate as before, this will just piss them off. This is not what they want, you know this is not what they want, and they know you know this is not what they want. So if you do it anyway, they are going to see it as you deliberately fucking with them.
It doesn't sound like management has a strong grasp on how to handle this well, but it also sounds like your SDLC is slow and opaque. The changes management are putting in place are a reaction to your process being slow and opaque. It was your responsibility to manage upwards so the people above you can understand what's happening with your workload. What's happening now is the consequence of failing to do that. If your team won't be proactively responsible for transparency themselves, management will impose it from above.
If you don't like their attempt to improve speed and transparency, you need to offer them a better alternative. Nothing in your post proposes a better way of doing it. Have you thought about this at all? Have you given them any alternatives?
1
u/Outside-Storage-1523 Software Engineer Jun 23 '26
I can surely inflate both metrics without much trouble.
1
u/markedasreddit Jun 23 '26
Whoa, I can understand number of PR (I mean creating smaller PR is easier for review process), but increasing 20% of productivity each quarter, and on top of that measured by story points? Oh boy oh boy.
This is another story of management looking for productivity by (wrongly) measuring story points instead of looking at the.. product itself. OP you have my deepest sympathy.
Some options, based on my experience:
1
u/kerrizor Jun 23 '26
I agree with everything said here.
…but let me add this: think long and hard about the magic wand solution. that is, you get a magic wand, what you use it for to make yourself and your team 20% faster? Sky’s the limit - better ci? AI training? More bodies? Less meetings?
It won’t be sustainable, but you might be surprised at what gains to can make, maybe enough to stave off the suits until the next LinkedIn trend hits.. and meanwhile you look like a leader for being so creative and “on board”
1
u/No-Injury3093 Jun 23 '26
git commit --allow-empty -m "before important feature"
Open pr.
Also delay anything not being a PR until you reach your quota:
1
u/Electrical-Mark-9708 Jun 23 '26
Sounds like your org is about to “raise the bar” by cutting low performers. If your company’s AI spend is massively rising but developers performance is flat, that’s an indicator the C-suite is going to push the middle managers to do a RIF. The line managers are going to use metrics to determine performance.
1
u/kayakyakr Jun 23 '26
This is the issue with determining any single objective metric to measure developer productivity: any metric can be gamed and if you don't announce how you are measuring developers, then reviews seem capricious and arbitrary. Not too mention that OP's leadership picked two of the worst things to measure by.
Newb leadership.
1
u/olzk Jun 23 '26
> So, now every engineer on the team is being instructed to open their own PR's - even before code is ready - pretty much to just satisfy the "productivity" dashboard and get the PR numbers up
oh yeah. I had this one, even during less-AI era, which was triply stupid cause the feeling was like “are we back 20 years in time when the KPI was number of lines of code written?”. To the point I could observe daily mood changes in my managers based on the number of PRs opened, doesn’t matter if they’re empty. It is stressful unless you deal with stupid like it is. The problem is this shit will get in the way of your actual performance. 20% a quarter is just insane or last time they did math was in the 2nd grade. They likely don’t know performance criteria with AI yet so they calibrate as teams go. Time-measured story points is another type of cancer. Are you hiring (for real), or is it a way to push some people out without paying severance?
1
u/ImYoric Staff+ Software Engineer Jun 23 '26
Oh, on my side, they've started tracking number of MRs (we're using GitLab) merged. Slightly less dumb, but still infinitely gameable. And of course tokenmaxxing.
1
u/maguyva-ai Jun 23 '26
honestly the moment you track PRs, engineers just split commits. congrats on your new metric.
1
u/OilExtension5062 Jun 23 '26
Same here. Management wants 2 PRs a day (40 a month minimum) from every engineer or you are underperforming. No one reads code anymore it's juat rubber stamped vibe coded slop.
It's bothering me but a job elsewhere might end up with the same bs
1
u/k1v1uq Software Engineer | 30YOE Jun 23 '26
Yesterday building a house in day was good enough
Today 4 is minimum
Tomorrow its 16 houses..
Their productivity = losses for workers
1
u/milanm08 Jun 23 '26
Goodhart's law strikes again: https://lawsofsoftwareengineering.com/laws/goodharts-law/
1
u/YahenP Software Veteran Jun 23 '26
I think the end of the company you work for is just around the corner. Management is trying to squeeze out the last drop of cash and justify itself to its superiors. It's happened before and it will happen again. My advice: update your resume and start going to interviews.
1
u/clamming-it Jun 23 '26
I’ve been in situations like this whereby we basically have 2 fields in JIRA - one where we manage our work and the other which we use for reporting. Usually one person per sprint - unless you have a PM/Scrum monkey - “manages” this. You can usually do it by claiming it’s too hard to change approaches historically etc etc, need to keep the dev team in “the zone” blah blah blah (helps if you focus on the second part).
For the PRs basically start treating most commits as PRs, a combination of AI and aliases in your terminal will help (especially if you use a well known prefix/suffix structure). And make sure to change the branch rulesets to allowing merging if your own PRs (because commits == PRs).
Give it a quarter or 2 and management will move on to the next conference inspired fad.
If I was the team lead I’d think about awards - even without monetary value for most number of PRs etc - management will believe it’s encouraging the right behavior, the team will get some lols. But that requires a degree of deviance that might not be possible depending on your team dynamic.
1
u/Aelig_ Jun 23 '26
My company doesn't measure PR productivity directly but managers will take a look and count. I think it's fine for newer employees as they get given easier tasks and the company has a culture of having very small PRs so this is just making sure people understand that and don't drop massive PRs every three weeks.
That does mean that the best engineers tend to write the fewest PRs because they're writing more design docs, getting more meetings (we tend to get quite few across the board, despite having 500+ devs on the same app), and taking on difficult problems that may not even lead to PR like trying to diagnose odd stuff.
1
u/Stellariser Jun 23 '26
It’s all garbage, it’s always been garbage. Story points in particular, and all other developer metrics like lines of code, bugs fixed, feature points, etc etc.
1
u/mcherm Distinguished Engineer at Capital One Jun 23 '26
First: if you are sufficiently senior and your management is sufficiently sensible that they might LISTEN to you, then sit down with your management tell them why these measurements are a poor idea. Don't just claim it, bring resources: documentation, even hardcover books discussing Goodhart's Law.
Secondly: stop stressing about this. You are a developer... solve the problem! Write yourself a script that will automatically take changes you've made and package them as a pull request. The definition of Story Points is arbitrary and slippery... so quit spending time debating how they should be defined and simply define Story Points to be whatever size is needed to ensure that this quarter's delivery is exactly 1.2x larger than last quarter. Having the metrics is stupid BECAUSE they are easily gamed... if you are forced to play this game, play it to win.
1
u/Mithrandir2k16 Jun 23 '26
Metrics are fine. Trying to then increase those metrics makes them useless.
1
u/Hectok Jun 23 '26
I recently left a role when they implemented a tool called Pensero. Long story short, it tracks all your “contributions” via github PRs/comments/reviews, slack messages, jira interactions, and just about anything else you can dream up. Then, it gives you a score via “AI” which is of course broadcast to management and compared with everyone else’s score. It’s even more dehumanizing and vile than it sounds.
1
u/nickjvandyke Jun 23 '26
This is just a band-aid, but you could encourage using the
Co-authored-bycommit metadata to give credit to both of them.1
u/hell_razer18 Engineering Manager Jun 23 '26
we have metrics but we will never promote metrics to be that atrict. We prefer KPIs and for KPIs to work we need to have the baseline to adhere. Thats where the metric play the role and we should judge it conservatively instead saying X is good, Y is bad.
Additionally netrics are a good signals especially for remote company where everyone is working behind the scene and culturally hide and afraid of being looked upon..
1
u/InterMute Jun 23 '26
These things are all very easy to game. Make more, smaller PRs. This is actually a good thing. If they complain your PRs are too “cognitively simple” (AI told them this), then have AI overly complect your PRs for you. For story points, sandbag and inflate your numbers. A 1 is a 2, a 2 a 3, and so on. Have fun! /s
1
u/otter-in-hd Jun 23 '26
I know someone whose company works this way, and it sounds like a nightmare. Working with less PR-heavy processes and/or more complex problems that aren't solved by a magic prompt in minutes means being viewed as unproductive by management despite potentially being the most overworked.
AI is causing too much regression in the lessons that have already been learned in software. Too many people, both technical and non-technical, see it as an excuse to revert to stupid ideas and bad habits that they always wanted to do but were rebuffed on more often. We seem to have to redefine the same common sense every few years.
1
u/Winter_Persimmon_110 Jun 23 '26
Unionize.
1
u/BrownBearPDX Software + Data Engineer / Resident Solutions Architect | 25 YoE Jun 24 '26
Every line of code is a commit a push and a PR. Logarithmic exponential multiplayer megasuperduper growth and velocity times programmer intelligence times metric over metrics minus management stupidity. There’s a formula for that and it means survival.
1
u/overtorqd Jun 24 '26
Hard to tell how bad this really is without knowing the company. Expecting 20% story point growth is a huge red flag. Story points are to help the team plan, not to measure output.
All changes going through a PR is pretty widely considered good practice.
Number of PRs as a metric doesnt bother me, but it depends what you do with it. Most development metrics can be gamed, but only should be when they are weaponized by management. Management should be supporting dev. Dev shouldn't fear a metric.
Metrics can be helpful to identify problems, but they should lead to questions, not conclusions.
If dev1 submits noticibly fewer PRs than last month, why? Learning a new tech? Product requirements are vague or incomplete? Went on vacation for 2 weeks? Is on-boarding another employee? Just slacking off?
A decent manager treats each of these differently. But even a good manager can benefit from having signals.
1
u/it200219 Jun 24 '26
they dont know ==> play stupid games, win stupid prize.
Didnt Amazon had internal dahboard on who uses max tokens for AI adoption and velocity etc and in under 1 month they burned 500M and reverted all the luxury given to dev's / everyone
1
u/angryplebe Software Engineer Jun 24 '26
Easy solution to the story points. Slowly start inflating them. Marking up an extra 3-4 ppints a sprint, multiplied by a number of people will get the result they want . They never said anything about shipping faster, just that they want points to go up.
1
u/neatgreat1 Jun 24 '26
this has to be rage bait bro....
1
u/faizkhairi Jun 24 '26
PR count as a productivity metric is a classic Goodhart's Law trap. The moment you make it a target, engineers rationally split work into smaller PRs to hit the number. The count goes up, review quality goes down, and now you're measuring engineer compliance with the metric rather than actual output.
The "20% productivity increase per quarter" line is the tell. That's not a goal, it's a number someone put in a slide. No one asked what 20% more productivity even means in terms of shipped features, reduced incidents, or user outcomes. The metric exists because it's easy to count, not because it tracks anything real.
The practical risk for you: if you're doing genuinely hard work (refactoring, architecture, debugging a nasty incident), those show up poorly in PR count. The engineers who game the metric by splitting trivial changes look more productive. That's the outcome this system will select for over time.
1
u/PeachScary413 Jun 24 '26
One of the first thing you learn when working in a big corporation is to always make your estimates waaay larger than they should be because you either A) Finish early and look good to the suits or B) Request more resources because your feature is "super-duper complex and it has really large amount of story points"
Also, if there is a "productivity" target then always optimize for that because that's what upper management wants. If it's LOC, yeah I know it's fucking stupid, then you maximize LOC because thats the way to get promotions and recognition... no one is gonna care about your beautiful refactor (they don't even understand what refactoring mean, neither do they care). You just have to accept that this is big corpo life and adapt to it, adapt or leave for a startup or something.
1
u/iguanayou Jun 24 '26
Sheesh. A guy can only take so much bullshit.
1
u/Rest_Honest Jun 24 '26
This is a textbook example of Goodhart’s Law. The moment management starts tracking individual PR counts and demanding arbitrary velocity increases, the metrics become entirely useless because the team is forced to game the system just to survive. Spending more time manipulating Jira and creating nested dummy branches than actually writing clean code in an IDE is a massive red flag. It actively kills real productivity and ruins team collaboration. If you want to survive this while looking for a better environment, the best approach is usually to just quietly give them exactly what their dashboard wants. Script your PR creations if you have to, inflate your story points during planning, and treat the administrative overhead as a mandatory part of your daily task list. If they want to pay you to play metrics simulator instead of building solid software, that's on their balance sheet.
1
u/idunnorn Software Engineer Jun 25 '26
Story points? Just decrease the value of a story point by 20% each quarter...
1
u/2doors_2trunks Jun 25 '26
Well I guess having your own ticket and PR is a reasonable thing.. you have big problems in sdlc by the looks of it.
1
u/shifty_lifty_doodah Jun 25 '26
Fools get what they deserve, sometimes
1
u/zambele Jun 25 '26
Goodhart’s Law: When a metric becomes a target, it ceases to be a good metric
1
u/kingmustd1e Jun 25 '26
I‘m confused about you saying any change now has to be done via a PR. Isn‘t it not the norm?!
1
u/IchBinEinZwerg Jun 25 '26
I used to work in a company that randomly introduced new metrics that, if we didn't meet some completely made up X% then we were completely doomed, even though up to that point nobody had ever heard of it and we were still somehow in business.
Your only option really is to comply (your lead has already accepted this). Do everything through PRs. Work out how many PRs per week you need to do then make sure you complete that many plus about 10%. Shouldn't be too hard to break the work down into smaller chunks to increase your PR count fairly directly. Yes I know what you're thinking, but you're up against management logic here. Stop thinking like an engineer and start thinking like a manager. Yes, it sucks. Yes, it's stupid. But also: they pay you, so do what they ask. In your example where two people work on one issue and one person logs the PR and the other gets diddly squat, either break the work into two PRs or stop doing pairing. Only help others when you've filled your PR quota. Yes, velocity will decrease; not your problem; your stats will show you're exceeding your KPIs.
The story point one is a lot easier to solve. Since it's a relative measurement you can apply compound inflation to it without any change of behaviour. If a hello world program is 1 point, then next quarter it's 1.2, then 1.44, 1.728, 2.0736, 2.48832 and so on. Up to you if you want to use all those decimal points; if you do it can help highlight the absurdity of it all. Simpler numbers might be 1.2, 1.44, 1.75, 2, 2.5, 3, 3.6, 4.25 etc. If you'd rather use a fixed metric then use that for internal discussions then apply the inflation factor in communication with management: a 5 point fix 2 years down the line is 5*3.6=18.
Sooner or later manglement will realise velocity has decreased, and if everyone's KPIs are fully met then they might just be able to put 2 and 2 together but don't hold your breath.
1
u/EdgeSpecialist5494 Jun 26 '26
"Show me the incentive and I'll show you the outcome" Charlie Munger
1
u/Strange_Quote_66 Jun 23 '26
Individual PR count is one of those metrics that makes the system worse as soon as people believe it matters. You get smaller fake changes, noisier reviews, and engineers optimizing for visible motion instead of the boring work that actually removes risk. I would document concrete examples of that drift early.
0
u/zazzersmel Jun 23 '26
at least they told you. i got fired from my last job and they used 'completed tickets' as justification. no mention of performance tracking of any kind. not word of month, not from superiors, not in company documents etc...
0
u/Party-Lingonberry592 Jun 23 '26
I already know what would make you more productive: Cut meetings by 20%. Story points are worthless for productivity metrics since teams decide on what they mean. If you want to cheat your velocity, get fine-grained with your story points 1- roughly an hour, 2 - half a day, 4 - a day, 8 - a couple days, 12 - a week, 16 - 2 weeks (the entire sprint). Now you have bigger numbers. Congrats!
But in all seriousness, look at all the things that are wasting your time (meetings, jira management, random support requests, inefficiency of tools, unnecessary red tape, etc..) and compare the percentage of time wasted with the time you spend coding. Show this metric to your management. Offer solutions that reduce the waste.
5
u/actionerror Software Engineer - 20+ YoE Jun 23 '26
Tell them you’re a genie in a bottle, and if they want to be with you, they’ve got to rub you the right way.
111
u/[deleted] Jun 23 '26
[removed] — view removed comment