I think it's a good idea, but I also envision a lot of cheating just to get free money. If they can tailor this so that cheating isn't possible then I think it's a great idea for some areas of the country.
Having worked with kids before: Kids and young people will game the hell out of any incentive structure put in front of them with terrifying efficiency. If anyone gets the idea that they can make some money by falling behind and then catching up later, a significant number of students will start falling behind so then can execute whatever catch-up maneuvers get them their payout.
So sidestep the issue completely and pay everyone when they reach the achievement threshold.
They're paying people for activity (input) not achievement (output).
But mentally that feels very different.