There is bad code in everyone's repo. Several of my repos are from courses in grad school. From a software engineering standpoint, they are horrendous. But, they solved the problem the professor assigned and taught me what the professor intended by the assignment.
It's probably more helpful, in evaluating a developer, to see a progression of thought rather than shiny, functioning code.