weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 1 forks source link

'No Need to Circle' badge is not conssistently rewarded. #267

Open vacaretutudor opened 6 months ago

vacaretutudor commented 6 months ago

Describe the bug 'No Need to Circle' badge is not conssistently rewarded. On some flights this badge is rewarded and on other flights this badge is not awarded, even though (i think) flights meet same criteria.

To Verify the issue
Steps to reproduce the behavior: For example, go to: https://www.weglide.org/flight/355857 - this flight is awarded the badge 'No Need to Circle' for a 100km distance. I think this distance is calculated over multiple legs, because the flight does not contain one single leg of 100 km, but i think this is ok, as 180 degrees turn is less than 360 degrees, so No Need to Circle condition is still satisfied.

https://www.weglide.org/flight/346673 - this flight is not awarded the badge 'No Need to Circle' for a 100km distance, even though the pilot flew 100 km without a 360 degrees turn during this flight. I checked and the pilot was not awarded this badge on a previous flight. Last but not least, the pilot flew and claimed this flight after the 'No Need to Circle' badge was introduced on the platform.

Expected behavior 'No Need to Circle' badge is conssistently rewarded to all flights that meet the criteria.

Screenshots No screenshots required.

Device (please complete the following information): Device, OS , Browser is not relevant for reproducing this bug.