feat: show excluded rounds count and cutoff rating in player history (#21) #23
Reference in New Issue
Block a user
Delete Branch "feat/show-excluded-rounds-count-21"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Excluded roundsrow to player history accordion (desktop + mobile) showing the count of rounds filtered out by the 2.5σ/100p outlier filterCutoff ratingrow showing the effective thresholdmax(mean − 100, mean − 2.5σ)that was actually appliedexcluded_rounds_countandcutoff_ratingonplayerstable (lazy backfill on next round-history refresh)debugLogAPI field)Closes #21
Notes
NULLfor the new columns until they're refreshed. Bulk-refresh only updates current ratings, not predicted-rating fields.excludedRoundsCountandcutoffRatingare reset (the filter was identified but not applied), so the UI reflects what actually happened.Test plan
Adding excluded_rounds_count column…andAdding cutoff_rating column…Excluded rounds: NandCutoff rating: Xin desktop accordionExcluded rounds: 0but noCutoff ratingrowPOST /api/refresh-round-history/:pdgaresponse containsexcludedRoundsCount+cutoffRating, nodebugLog