Every 4 challenges you receive a swap, every 5 challenges you receive an Autofill, and every 6 challenges, you will receive a Key. 

This means that sometimes you receive more than one reward, sometimes you receive only points. 

Rewards received at the end of a challenge are not determined by your final ranking, only by how many challenges you have completed.