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

Bug: Calculation errors on the "Achievements" page #455

Open
sergiozeppo opened this issue Jul 29, 2024 · 0 comments
Open

Bug: Calculation errors on the "Achievements" page #455

sergiozeppo opened this issue Jul 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sergiozeppo
Copy link

sergiozeppo commented Jul 29, 2024

Summary

I continue to familiarize myself with Hexlet and its projects.
And I came across such a strange bug on the achievements page.
image

Maybe my issue is kind of relative to #436 Issue, but more specific about calculation problem.

Reproduction steps

1. Go to "https://friends.hexlet.io/achievements"
2. Notice the bug

Expected result

At a minimum, the expected result should look different.
All achievements marked with a question mark must be completed.
And the rest should have their data recalculated.

Actual result

The problem is calculating a few (and probably all) of the achievements.
For example, Hexlet friend. Make ANY contribution to Hexlet projects.
It implies getting an achievement for any useful action. But for some reason it shows 98.8%, which is impossible. The action is either done or not.

For example, the first achievement for each action (marked with a question). There should be either 0% or 100%, there are no other options. How can 9.1% Issue be accomplished if I just created 2 today (but let's say the data didn't update), ok, but on last week 2 more were created.

And I didn't create commits and pull-requests to Hexlet projects, but still have some values there.... If they are global data, then all the more wrong.

The error is probably everywhere, since I have 0.1% for reaching “50 Issues”. It turns out that I only have 0.05 Issue open. So how is that possible? )

And if the calculation methods translate all data into some sort of points with the weight of each action, then it's done implicitly, plus it doesn't cancel out the achievement calculation errors in the question marked issues.

Browsers

Chrome

OS

Windows

@sergiozeppo sergiozeppo added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant