← Back to board

Add fields to the match API to distinguish random vs custom lobby setting

OpenProlavProlav10 messagesstarted Jul 18, 2026, 8:09 PM
websiteotherplanned
ProlavProlavOP2 months ago(edited)
The match API returns identical data for both random and custom boards/seeds. There's currently no field to tell them apart.

This matters for goal stats and my data sheet I'm currently maintaining: a custom board can be deliberately designed to be easy making it incomparable to a randomly generated board. The same goes for set seed vs random seed.

A simple addition to the API response would be enough, something like:

"boardType": "random" / "custom"
"seedType": "random" / "custom"

This would allow stat sites to either separate random and custom boards/seeds into distinct leaderboards, or filter out custom boards/seeds entirely in stats like average goal completion time
18
marin
marin2 months ago
adding next update
4
marin
marin2 months ago
this will only affect new lobbies, so you will have to handle these lobbies manually
Prolav
ProlavOP2 months ago
Not added yet? 😕
marin
marin2 months ago(edited)
Its being logged, ill update api/website in a bit
1
Prolav
ProlavOP2 months ago
thanks, no rush
marin
marin2 months ago
it's live @Prolav
1
marin
marin2 months ago
random|set
random|custom
Prolav
ProlavOP2 months ago(edited)
unless I'm misunderstanding something it seems like the lobbies going all the way back to custom seeds and boards were added to lobbies have been retroactively updated in the API to include the field with accurate data. Am I missing something? It's great if this is the case tho, ill just update my db my sample size was too small, and I only fetched the last ~100 matches where the API had updated but my script wasnt fetching the new field, my bad :)