Reminds me of a story I heard from a friend. Some consulting firm came in to the company and decided, based on number of commits (or some such metric), that one particular engineer was the lowest performing engineer on the team. So, management fired them. Turns out that engineer was the one who everyone side-channeled with to get help when blocked. They were the one who knew the system best and were enabling everyone…
Oh my gosh! Jonny coder over there has been deleting, deleting! our code. Fire him immediately!
Many years ago there was a discussion on HN about that same topic[1] (And since then many more I'm sure).