The "average Yale JD" would not get hired as a judicial clerk. Competition for clerkships is fierce, and generally only the top students get them. Any judge would probably take a "top" Yale JD, but unless the judge is a Yale graduate they'll all pass on the "average Yale JD," in favor of a better-performing graduate from another law school (usually their own).