UniversityOfHelsinkiCS / oodikone

An application for analyzing university data
https://oodikone.helsinki.fi
MIT License
14 stars 6 forks source link

Bug in credits produced, numbers change randomly #4568

Closed ShootingStar91 closed 1 month ago

ShootingStar91 commented 2 months ago

In credits produced, of SOSK /study-programme/KH70_003?p_tab=0 We noticed that when we press Update basic info from the update tab, then after it is done, go back to basic tab, refresh page, the numbers sometimes differ from what was shown before without any code changes made in between.

valtterikantanen commented 2 months ago

This seems similar to #4156, big refactor might fix this

valtterikantanen commented 1 month ago

After the big refactor the calculation seems to be more deterministic. At least after refreshing the credit stats few times for a couple of different study programmes the numbers didn't change at all.