developer-relations icon indicating copy to clipboard operation
developer-relations copied to clipboard

match-V5 teamPosition empty [BUG]

Open geozukunft opened this issue 3 years ago • 15 comments

Bug Description
In certain games player get assigned the individualPosition INVALID and on those participants the teamPosition is an empty string

Problem Description
It is not possible to determine on which lane the participant was playing without cross checking with other participants of the game.

Expected Result
Get as described in the ParticipantDto of /lol/match/v5/matches/{matchId} the teamPosition which is "the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc."

Actual Result
individualPosition is INVALID and teamPosition is empty

Developer Impact
I am not able to determine on which lane the player most likely played.

  • Frequency: On games played on JP1 between January - June 2021 ~0.9% of games played by ranked players
  • Severity: The collected data is inacurate
  • Cost: No cost apart from inacurate data lowering the quality of the analysis provided to players

Player Impact
The data provided to the player is not fully representing their actually played games anymore.

  • Region: Currently only tested in JP1 (can test in other regions too)

Repro Steps
Can't say for sure which games are exactly affected below are a few match_ids with the issue.

List of game ids:

JP1_312062554 JP1_273343663 JP1_326464722 JP1_289504387 JP1_285797147 JP1_268045590 JP1_267836848 JP1_285434511 JP1_307559381 JP1_292569767 JP1_310138781 JP1_300507433 JP1_283568774 JP1_267647303

If needed I can provide a more extensive list of game ids with this issue

geozukunft avatar Sep 30 '21 23:09 geozukunft

A great majority of these matches are due to the player being AFK.

AFK: JP1_312062554 JP1_273343663 JP1_326464722 JP1_289504387 JP1_267836848 JP1_285434511 JP1_307559381 JP1_292569767 JP1_310138781 JP1_300507433 JP1_283568774

individualPosition is set but teamPosition is empty due to AFK slightly after beginning: JP1_285797147 JP1_267647303

Player was playing: JP1_268045590

bangingheads avatar Oct 01 '21 16:10 bangingheads

Would still expect them to get assigned to the lane they were "supposed" to be playing. Or the wording in the docs should be changed cause with the current wording I'd expect to always have all 5 position assigned for SR games

geozukunft avatar Oct 01 '21 16:10 geozukunft

bump

geozukunft avatar Oct 16 '21 05:10 geozukunft

The text on the dev portal under the ParticipantDto field teamPosition reads:

Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field.

In those cases the constraint was not fulfilled. Is the text on dev portal now just wrong or is the API not behaving as it should.

geozukunft avatar Oct 18 '21 18:10 geozukunft

Also happening for me,

GameID: EUW1_5733746955

Data for the game:

{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 1
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 2
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 3
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 4
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 5
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 6
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 7
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 8
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 9
}
{
  teamPosition: '',
  individualPosition: 'Invalid',
  lane: 'NONE',
  role: 'NONE',
  participantId: 10
}

davidweatherall avatar Feb 16 '22 12:02 davidweatherall

Same here, i've been having this issue a lot recently. EUW1_5733369184 is an example

RicardoVilaca avatar Feb 16 '22 16:02 RicardoVilaca

Seems like an issue across all regions since today's 12.4 patch

1337MARCEL avatar Feb 17 '22 00:02 1337MARCEL

Frequency: On games played on JP1 between January - June 2021 ~0.9% of games played by ranked players

Anyone else have updated estimates of the impact of this? Games and/or percentages per region 👌

RiotTuxedo avatar Feb 17 '22 01:02 RiotTuxedo

Anyone else have updated estimates of the impact of this? Games and/or percentages per region 👌

Our system has analyzed over 500k games across all regions since 6:00 AM PST today (2/16/2022) and all of them have had invalid entries for teamPosition (the system doesn't validate individualPosition, but I would imagine it is the same for that based on spot-checking a few manually)

metasrc avatar Feb 17 '22 03:02 metasrc

@RiotTuxedo It seems like these are actually 2 different issues. The first one I originally submitted was because a certain percentage of games had the invalid data (Data for games between January 2021 - December 2021 attached below) and a new issue that seems to be affecting present games in the last x days which I can't provide data for as I don't process those.

Data based on games processed between January 2021 - December 2021 all queues except Player vs AI and Tutorial games also excluding games that had any other of the before known match V5 issues.

platform total games processed games affected percentage of affected games
br1 22155269 554566 2,50%
eun1 36634729 540301 1,47%
euw1 124973461 1546283 1,24%
jp1 10040990 75997 0,76%
kr 147852228 1151912 0,78%
la1 11455929 313532 2,74%
la2 9369563 197288 2,11%
na1 62906017 581855 0,92%
oc1 3757218 21254 0,57%
ru 9983325 213410 2,14%
tr1 11914242 189384 1,59%

If needed I can provide the matchIds or more detailed information about affected queues.

geozukunft avatar Feb 17 '22 12:02 geozukunft

We are also experiencing this issue for the majority of games since 12.4 on EUW and KR. Additionally, the role and lane field will also be NONE, so currently there is no way to reliably determine positions which is a very high impact issue.

jafalter avatar Feb 18 '22 09:02 jafalter

Same issue here. We collect match data from all regions and then analyze them to calculate statistics. Looking into the database I can see that our system wasn't able to identify the position EXCEPT for Renata Glasc, for some reasone it looks like the "teamPosition" is working as intended for that champion.

Below is a screenshot of our statistics table for Japan. As you can see there, the laneId column is 0 (meaning that our match collector wasn't able to identify the lane) except for the champio with id "888" which if I remember correctly corresponds to Renata Glasc.

image

audi0slave avatar Feb 18 '22 10:02 audi0slave

Seems like an issue across all regions since today's 12.4 patch

Seems like you guys addressed the issue ~ 16 hours ago, possibly right in time when Renata got available to play. :D Thank you!

1337MARCEL avatar Feb 18 '22 15:02 1337MARCEL

Would still appreciate a offical response on the differences in behaviour that is mentioned in the docs and what actually happens.

geozukunft avatar Feb 18 '22 15:02 geozukunft

Just wanted to confirm that everything is working great so far. Thank you!

audi0slave avatar Feb 20 '22 16:02 audi0slave

Closing this issue as it seems like there is no desire to fix the docs on this.

geozukunft avatar Oct 22 '22 14:10 geozukunft