Even on the surface "fairness" isn't really the objective, because there are going to be different hiring managers and interviewers throughout the whole process. The salary negotiation isn't going to be "fair" in this way.
I'd rather have someone who had a rich github history and a record of real accomplishment than someone who had none but could produce a good hacker rank score. Hiring is the most important thing that we do as managers, I'd be selling myself short if I didn't take it all into consideration.
(Manager, rummaging through an apple barrel)
“... apple ...” (toss)
“... apple ...” (toss)
“... apple ...” (toss)
“... fist-sized lump of uncut diamond ...” (pause... toss)
“... apple ...” (toss)
(Days later)
“Yeah, I found 2-3 decent looking apples... most are pretty bruised, though...”