You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
The first pick is assigned to the same team as the second pick. This along with an incorrect/outdated draft side assignment in odota/web led to the draft sides to only be correct when the first pick was incorrect (see odota/web#2863 )
Current Behavior
The first pick is assigned to the same team as the second pick. This along with an incorrect/outdated draft side assignment in odota/web led to the draft sides to only be correct when the first pick was incorrect (see odota/web#2863 )
Example:
GET https://api.opendota.com/api/matches/6227419633
See
active_team
above.Expected behavior/code
The first pick's
active_team
should be2
.Possible Solution
This is probably due to this line:
core/processors/processDraftTimings.js
Lines 49 to 50 in 461a5cb
I don't currently have a good setup to test any potential fixes, but I may be able to in the future if needed.
Additional context/Screenshots
I wrote a small python script to identify broken matches:
https://gist.github.com/DMzda/9fb7cafa48e03e09c7eda00c73d754b8
You need
requests
and a/json
subfolder to run it. The output looks like this:Errors shows unexpected side assignments according to the latest captains mode rules.
The text was updated successfully, but these errors were encountered: