There are so many issues with this. Unsolvable issues.
The first that I saw was basing income on grades. This means that the person who determines whether you fail or pass, also determines how much money you get. I don't think there is any good teacher out there that wants that responsibillity. So fuck that. Grades are for determining whether you pass or fail. The government should not use them for their own needs. If they so desperately want that, then let them make their own tests and grade these themselves.
The second is fixing income. If I do better than my peers, I want to be recognized for that. Otherwise, why would I put in the effort? Maybe this works for super simple jobs, like fruit picker on a farm. But anywhere where cognitive skills are required, you need to incentivise people to excel.
And that was still talking about jobs where you spend a fixed amount of time working. There are also many jobs, where it makes wayyy more sense to pay directly for delivered performance. For example: how do you fix the salary of a sex worker? Does that mean you fix the pay rate for the customers? Demand for certain people certainly won't be equal, so how do you fix that?
What about overtime? What about working during holidays/weekends? What about nightshifts? Etc.
Then there is the issues of different personal survival needs. No single set of 3 meals a day will be both allergy-safe for everyone and nutricious enough to survive for everyone. Some people live fine without a microwave, others can't live without it. Etc. Just giving people money removes the responsibility of determining what exactly is required for survival.
Then there is the issue of labor shortages. Take the Dutch childcare system for example. For many years now, the government has had the idea of lowering the prices significantly. But they can't, because the number of licensed caretakers is already not enough to fullfill demand right now, and lowering prices would skyrocket demand.
The whole point of UBI is to let the market figure out many of the solutions to these problems. Keep it simple for the government, and only regulate when and where it actually helps.