Each code sample should have multiple things wrong. The best people will find most (not necessarily all) of them. The mediocre will find a few.