Open sergiozeppo opened 1 month ago
@sergiozeppo this is not a bug, we simply calculate score over all students, not only active, nobody told that position in total score should depend on "Active students only" toggle. However, we will review existing approach and decide whether there's a space for improvement, thank you for your intake anyway :)
this is not a bug, we simply calculate score over all students, not only active, nobody told that position in total score should depend on "Active students only" toggle.
Thanks for the answer. I didn't spelled it correctrly, of course, it's not a bug. But this is a quite confusing and illogical thing, I guess. And it starts to confuse students right in the dashboard. If you find the time, consider implementing this feature. Thanks in advance!
Describe the bug There comes a point in every RSS course when students are expelled or they do it on their own. In this case, further study of the remaining students is associated with a bug that does not allow them to know the current position in the ranking.
It leads to consequences like this![image](https://github.com/rolling-scopes/rsschool-app/assets/149455058/e7836210-976a-422c-9132-13bab0e6390d)
A student will not be able to accurately determine his/her position even if he/she moves to Score. A student will only be able to understand it roughly relative to others whose positions in the ranking are more or less similar to the truth.
Here is the last page rankings, with only 526 students remaining at the time of writing this issue. As you can see, none of them have the correct position.![image](https://github.com/rolling-scopes/rsschool-app/assets/149455058/b95f6ce2-6be2-49d8-9c65-d8c3553ab082)
This is because the student position number is taken from the overall table and the number of active students is recalculated separately.
To Reproduce Steps to reproduce the behavior:
JavaScript/Front-end 2023Q4
course, mentioned in this issueScore
Active Students Only
checkbox is ON by defaultthe last page
the number of students
near the navigation panelthe random student
to ensure his/her position isn't rightActive Students Only
checkboxthe number of students
near the navigation panel increasedrandom student
via github/name/etc.position
is not changedExpected behavior The bug can be fixed (as I think) by recalculating the position numbers relative to condition of
Active Students Only
checkbox, and respectively to the number of active/inactive studentsDevice (please complete the following information): This bug is not depend on the device or operating system.
Additional context This bug doesn't just affect students from the last page. Since the mass expulsions, the bug affects students starting from the middle of the table.