Skip to content

feat(prizepool): update weight calculation in league of legends#7187

Open
RonanHoogmoed wants to merge 5 commits intoLiquipedia:mainfrom
RonanHoogmoed:main
Open

feat(prizepool): update weight calculation in league of legends#7187
RonanHoogmoed wants to merge 5 commits intoLiquipedia:mainfrom
RonanHoogmoed:main

Conversation

@RonanHoogmoed
Copy link
Contributor

Summary

League of Legends prize pools for major tournaments are no longer publicized, which means that tournaments going forward will no longer show up in the highlighted results for players, even if the achievement is more important (ex: Quid getting $200 for an off-season event being valued higher than a 4th place in the LCS). This means that existing tier 1 players will not have newer tournaments in their summarized achievements table, while upcoming players will not have tier 1 results in their results table if they make it to a tier 1 competition (ex: Sajed, who debuted in the LCS but a top 8, B-tier finish is considered more valuable due to $313 prizemoney).

Additionally, player results are often dominated by qualifiers for events instead of said event (ex: Geiger, who has 6 highlighted events which are qualifiers instead of the event itself), by adding weights to the tier types, these are now less valuable.

Changes are discussed and agreed on by the most active contributors: https://discord.com/channels/93055209017729024/276340346831765504/1470697786591674458

How did you test this change?

Difficult to change properly as many pages must be purged, but tiertype changes are directly taken from Hearthstone. Prizemoney should not return issues as it is removed from the equation altogether. TIER_TYPE_MODIFIER is introduced to use the same weighting as notability guidelines, this aligns with previous consensus on 'value' of events and this should resolve the qualifier concern.

I'm open to suggestions on how to properly test this.

Copilot AI review requested due to automatic review settings February 28, 2026 14:05
@RonanHoogmoed RonanHoogmoed requested review from a team as code owners February 28, 2026 14:05
Copy link
Collaborator

@ElectricalBoy ElectricalBoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add extra modifier for highlighted tournaments, i.e., FST/MSI/Worlds

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the League of Legends prize pool “weight” calculation used for highlighting player results, shifting away from prize money (now often unavailable) and toward tier + tier-type based weighting to better reflect event importance.

Changes:

  • Remove prize money from the LoL placement weight formula.
  • Introduce TIER_TYPE_MODIFIER and incorporate tournament_liquipediatiertype into weight calculation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

---@param tier string?
---@param place integer
---@param tierType string?
---@return integer
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calculateWeight can now return fractional values (e.g., with Qualifier = 0.25), so the EmmyLua annotation ---@return integer is no longer correct. Update it to ---@return number to match actual behavior and avoid incorrect LLS diagnostics.

Suggested change
---@return integer
---@return number

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pseudo ai is correct, the anno doesn't necessarily match what you return

@ElectricalBoy ElectricalBoy changed the title refactor: Adjust League of Legends prizepool weights feat(prizepool): update weight calculation in league of legends Mar 1, 2026
Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure you want to remove the money factor?
qith the new for,ula you get a 6th place for 10000000$ giving the same weight as a 6th place for 0$ ...

@ElectricalBoy
Copy link
Collaborator

ElectricalBoy commented Mar 1, 2026

are you sure you want to remove the money factor?
qith the new for,ula you get a 6th place for 10000000$ giving the same weight as a 6th place for 0$ ...

blame riot
they quite literally killed prize pools for regional S-Tier events

@hjpalpha
Copy link
Collaborator

hjpalpha commented Mar 1, 2026

are you sure you want to remove the money factor?
qith the new for,ula you get a 6th place for 10000000$ giving the same weight as a 6th place for 0$ ...

blame riot they quite literally killed prize pools for regional S-Tier events

this will affect all tiers and events ...

@RonanHoogmoed
Copy link
Contributor Author

this will affect all tiers and events ...

Understandable concern but I strongly believe this will be more representative. Most A-tier and B-tier events are within the Riot circuit and no longer have a communicated prizepool, this means that any results from 2026 and beyond will not be shown, and instead we'll get a list of B-, C-, and D-tier, mostly amateur/semi-pro events for players that achieved more than that.

This already happens to players like Kisno and more clearly for Lyncas, where 2 years of tier 1 experience are ignored in favor for a C-tier event. The most extreme example I can find is Boukada, where a €200 third place in a cup in 2020 (and similar cases in 2018-19) are prioritized over 3 seasons in the LEC (highest level of competition).

Prize money has never been valued much, if at all, in LoL esports so these changes should reflect what tournaments are held in higher regard by viewers and ensure modern tournaments will continue to show up.

@hjpalpha
Copy link
Collaborator

hjpalpha commented Mar 1, 2026

this will affect all tiers and events ...

Understandable concern but I strongly believe this will be more representative. Most A-tier and B-tier events are within the Riot circuit and no longer have a communicated prizepool, this means that any results from 2026 and beyond will not be shown, and instead we'll get a list of B-, C-, and D-tier, mostly amateur/semi-pro events for players that achieved more than that.

This already happens to players like Kisno and more clearly for Lyncas, where 2 years of tier 1 experience are ignored in favor for a C-tier event. The most extreme example I can find is Boukada, where a €200 third place in a cup in 2020 (and similar cases in 2018-19) are prioritized over 3 seasons in the LEC (highest level of competition).

Prize money has never been valued much, if at all, in LoL esports so these changes should reflect what tournaments are held in higher regard by viewers and ensure modern tournaments will continue to show up.

maybe something like (1000000 + moneyValue) / 1000000 * yourCurrentFactors
that way you get the prize pool having a small impact but still an impact

(just my personal thought that this is better, fine to ignore me ;) )

@ElectricalBoy
Copy link
Collaborator

maybe something like (1000000 + moneyValue) / 1000000 * yourCurrentFactors
that way you get the prize pool having a small impact but still an impact

sounds reasonable to me
one of the ideas I had (later rejected) was giving an arbitrary "fake prize pool" value for events w/o prize pool

@RonanHoogmoed
Copy link
Contributor Author

this will affect all tiers and events ...

Understandable concern but I strongly believe this will be more representative. Most A-tier and B-tier events are within the Riot circuit and no longer have a communicated prizepool, this means that any results from 2026 and beyond will not be shown, and instead we'll get a list of B-, C-, and D-tier, mostly amateur/semi-pro events for players that achieved more than that.
This already happens to players like Kisno and more clearly for Lyncas, where 2 years of tier 1 experience are ignored in favor for a C-tier event. The most extreme example I can find is Boukada, where a €200 third place in a cup in 2020 (and similar cases in 2018-19) are prioritized over 3 seasons in the LEC (highest level of competition).
Prize money has never been valued much, if at all, in LoL esports so these changes should reflect what tournaments are held in higher regard by viewers and ensure modern tournaments will continue to show up.

maybe something like (1000000 + moneyValue) / 1000000 * yourCurrentFactors that way you get the prize pool having a small impact but still an impact

(just my personal thought that this is better, fine to ignore me ;) )

Appreciate the feedback! I'm also a fan of this solution so I just updated it to have some impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants