Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix best_category() #33

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Fix best_category() #33

merged 1 commit into from
Mar 16, 2021

Conversation

lanjelot
Copy link
Collaborator

@lanjelot lanjelot commented Mar 16, 2021

The best category was incorrectly showing based on the solved challenge carrying the most points.

I noticed this bug because my best category is web but it was showing network. This was because i had recently scored a 1000 points networking challenge, which is more than any other challenge i've ever solved.

It now shows the correct best category based on the highest total points scored.

Also we don't need to touch self.solved_time because it gets updated automatically as a MonitorField.

@hugsy hugsy merged commit 827ca62 into hugsy:master Mar 16, 2021
@lanjelot lanjelot deleted the fix-best-category branch March 16, 2021 17:06
@hugsy hugsy added this to the 0.1 milestone Jun 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants