I guess my opinion is based on person experience, but I am totally open to hearing a different point of view.
You say you want to know how fast a candidate learns. If somebody can't solve trivial programming problems, what does that say about how well they learn?