Closed EstebanMz closed 1 month ago
@EstebanMz How is this issue invalid? I don't understand
@EstebanMz How is this issue invalid? I don't understand
It currently gives values one lap below the recommended for many tracks.
@EstebanMz How is this issue invalid? I don't understand
It currently gives values one lap below the recommended for many tracks.
hm, okay let me clarify this. Issue labels are for issues. By labelling this issue as invalid, you're saying that your own issue is invalid. This would be best labelled as a bug imo
Unfortunately I have to reopen this issue because I've find out that this fix isn't being appiled if the class is Semi-Pro or Random. Yesterday, when I was doing some balance changes, I noticed already a couple of suggestions shouldn't be there if rounding had worked, today after I generated the tracklist for this week I could notice it only happen with Semi-Pro and Random classes. Maybe it has something to do that to calculate the laps for Random class it just takes the values for Semi-Pro.
@EstebanMz Please be more clear as to what the problem is so that we can fix it.
The implementation was copied from the Excel formula schematics you provided so, unless there is another rounding problem or an issue with the constants, I don't understand where this is coming from.
See the relevant code below:
You're right, it's a bug that doesn't make sense, the only thing I can see is that values for those classes are integers instead of decimals in the second document you referenced, perhaps 1.0
instead of 1
does a difference.
@EstebanMz Is this still not working properly?
No, it's still a bug. Could you try with changing CATEGORY::SEMI_PRO
and CATEGORY::RANDOM
to 0.99 or 1.00?
I remember I did tests with my reference spreadsheet and 0.99 gave the same results than 1.0. I haven't generated the tracklist for this week, so I could test if it's fixed right after.
@EstebanMz I have updated the constants to 1.0. My guess is that the number 1 was being treated as an integer and that it interferred with the calculations somehow. Let me know if this fixed anything next week when you generate the track lists
You're right, it's a bug that doesn't make sense, the only thing I can see is that values for those classes are integers instead of decimals in the second document you referenced, perhaps
1.0
instead of1
does a difference.
I was right 4 months ago ðŸ˜, and just in case I just tested it. The funniest part is that last night I took my excel and highlighted the tracks that I always had to fix their lap values lol.
As I suggested the formula to calculate the amount of laps for a track based on an average lap time, I can compare the number of laps between the tracklist and my personal spreadsheet (which I'll index below). After playing an advanced class lobby we started to notice quickly there were many tracks that should have one more lap, and it's because the generator is truncating the calculated lap values. There's a funny example where Desolate District 1 has a value of 2.99 laps for advanced and you can tell how many laps showed up in the generator. Tracklist Generator RVA 2024-A.xlsx