It's not just about the code, it's also about the culture.
Non-performing staff could be non-performing for different reasons - not just output - and it's often easier to spot those reasons (and address them) when you're working in the same office.
Source: I've been running a company with hybrid in-office + remote staff for 15 years. Would be happy to expand on the above if asked.
People who consistently deliver code and working features usually don't have a problem getting approved to work remotely. That's the case-by-case part. It's the people whose code is buggy or nonexistent and whose features don't work that are stuck in the office.
But what is there's no code or code that is not used in a working feature? Both ends of the performance spectrum comprise people who don't really code.
I don’t get it. There’s code and working features. That’s the result.