The other issue with judging sample code is the sheer amount of time it takes. The two of us took around 3 months (full time, effectively, doing nothing else) to select, interview and make offers to around 10 employees out of a pool of over 100 qualified applicants.
You can sort of understand why companies try to develop less time consuming methods, and why experienced developers prefer to hire from their network...