Challenge event updates that should occur at the end of a program don't get recorded in the database. I haven't looked into it yet to determine if the events aren't firing at all or if they aren't getting sent properly.
For example, a program like this should obviously complete challenge 19, but will not show up on the leaderboard.
#include <stdio.h>
#include <kipr/wombat.h>
int main()
{
motor(0, 50);
motor(3, 50);
while(!digital(0));
return 0;
}
The onSetEventValue_ function in src/pages/ChallengeRoot.tsx might be a good place to start.
Challenge event updates that should occur at the end of a program don't get recorded in the database. I haven't looked into it yet to determine if the events aren't firing at all or if they aren't getting sent properly.
For example, a program like this should obviously complete challenge 19, but will not show up on the leaderboard.
The
onSetEventValue_function insrc/pages/ChallengeRoot.tsxmight be a good place to start.