Create a function to check if the best_attempt table needs to be updated upon attempt submission #95
Closed
6 tasks done
Labels
data-layer
Firestore, Tanstack, caching, pagination, etc.
priority-medium
Major bug fix / feature request
Issue Description:
Currently upon an attempt being submitted the best_attempt table in the database is not being checked and updated if needed.
To-do:
- [ ] Iterate through all aggOutputs and compare if the new attempt is better (use "lowerIsBetter field" to determine this)Updated To-dos (4-26-2024)
Other Notes:
updateLeaderboard
anduseLeaderboard
hooks/functions to accomplish this. They are in the/hooks
directoryThe text was updated successfully, but these errors were encountered: