-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player statistics overhaul #604
Comments
why? If anything it should stay the same or change to just
feels unnecessary
Super convoluted to name it like this especially with the proposed inheritance. A rating adjustment is a player rating adjustment, and there are no other variations so why would we add the modifier? The rating chart is constructed from a list of rating adjustments. In my opinion, just keep it simple and add a list of rating adjustments to the DTO. Pretty sure we don't need any additional info here that is specific to the chart |
|
Adding a |
I suppose so yeah. |
Changed as follows:
|
Feature Name
Overview
Update various DTOs related to player dashboard stats.
Dependencies
None.
Notes
To accurately test this, a local copy of statistics will be needed. To obtain this, you must do the following:
scripts/sql/dev/accept-all-pre.sql
DataWorkerService
run until all tournaments have aProcessingStatus
of 4.DataWorkerService
again until all tournaments have aProcessingStatus
of 5.Tasks
PlayerStatsDTO
toPlayerDashboardStatsDTO
Ruleset
field from this type and instead rely on thePlayerCompactDTO.DefaultRuleset
field.PlayerFrequencyDTO
, remove all fields exceptFrequency
and replace the removed fields with aPlayerCompactDTO
representing the teammate or opponent.PlayerFrequencyDTO
toTeammateOpponentFrequencyDTO
PlayerRatingChartDTO
to store anIEnumerable<PlayerRatingChartDataPointDTO>
(instead of the current implementation of a nested enumerable). We will remove all API-side logic which groups these items by the date they occurred and let the caller process this.PlayerRatingChartDataPointDTO
MatchCompactDTO
which contains basic information about a match (no navigations).int? MatchId
field onRatingAdjustmentDTO
with a newMatchCompactDTO? Match
field.PlayerModStatsDTO
and replace with a collection ofModStatsDTO
(defined below) which is a dynamically populated list containing stats for any mods which a player has played in matches in our system.Mods
field toModStatsDTO
to indicate which mod it belongs to.ModStatsDTO
toPlayerModStatsDTO
and document to reflect that this DTO should only be used to represent a player's mod stats rather than overall stats for the mod.PlayerRatingStatsDTO
toSimplePlayerStatsDTO
or similar -- there is nothing about rating in this DTO, it's simply the static header displaying global rank and rating progress within the current tier.The text was updated successfully, but these errors were encountered: