This is different from finding out how good ordinary programmers are. When you hire a long-term programmer you want someone brilliant. But when people hire freelancers what they often want is just someone who'll reliably implement their plan.
What can you ask freelance programmers to find out if they can do that?