Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic statistics endpoint #66

Closed
danielemery opened this issue Nov 2, 2023 · 0 comments · Fixed by #69
Closed

Add basic statistics endpoint #66

danielemery opened this issue Nov 2, 2023 · 0 comments · Fixed by #69

Comments

@danielemery
Copy link
Owner

Add a simple endpoint to load quiz completion statistics.

The initial endpoint should include:

  • List of all users by name and their average score as a percentage as well as a count of how many quizzes they have completed
  • List of all permutations of users and their average score and quizzes completed together

It's fine if this is computed with a delay, but the time it was computed should be included in the result.

@danielemery danielemery changed the title Add basic statistics page Add basic statistics endpoint Nov 2, 2023
@danielemery danielemery linked a pull request Nov 4, 2023 that will close this issue
danielemery added a commit that referenced this issue Nov 6, 2023
* #66 Add generic arguments and documentation to the cache logic
* #66 Add persistence function to load completions and quiz types for a user
* #66 Add new quiz functions that will be needed for statistics calculations
* #66 Add new statistics service to compute statistics for every quizlord user
* #66 Expose new statistics resolver to get individual user statistics
* #66 Populate the cache on a successful call to getIndividualUserStatistics
* Allow provided empty string for sentry (for local development)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant