I'll be honest: if you have one person who spends 8 hours a day practicing a talent, and another who spends 10 or 12 hours a day practicing their talent, which is going to be better at that skill? Having lots of open source code to read demonstrates in public the prospect's talent for writing code, has examples of their collaboration with others, etc, but also simply means they spend more time writing code and getting good at it, on a broader variety of projects, with a greater diversity of collaborators.
Yes, it's unfair, and if we're just arguing on a sense of lofty idealism, I agree that you shouldn't have to sacrifice your off-hours. But the truth of it is, people who don't code in their spare time aren't as good at it, and people who do are not only more skilled, but are easier to evaluate.