Closed bdach closed 4 years ago
Web doesn't do anything with the data. It returns whatever stored in database as is and web doesn't create those data.
Alright, fair enough. Not sure whether to direct this somewhere else but clearly here isn't the right place. Thanks.
Also the ones with missing exit just means they're missing from database. Web could be updated to always return fail
and exit
even when they're missing.
Looking again, the title is confusing. It implies the count might differ but it's impossible (the code always builds array of length 100). Either there's an array or there's none. (again, if both are always needed, it could be done - those will be just all zeros)
Also true. Couldn't find a better phrasing for the title.
Detected lazer-side at ppy/osu#9937.
Hitting
https://osu.ppy.sh/api/v2/beatmapsets/1205458
from lazer returns the following response. The point of note here isbeatmaps[0].failtimes
, which has afail
array property of length 100, but no correspondingexit
property of the same length. Note that the converts are fine.Unsure if it's an actual issue or if it's by design as the endpoint in question seems to be undocumented but it might be worth investigating. I'll probably add a guard for this lazer-side but I'm not quite sure how this response is to be interpreted generally (seems that if missing, zeroes should be assumed?)