mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 19:38:13 +03:00
fix: popn profiles should be an avg of best 20, not sum
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { GoalFmtScore, GoalOutOfFmtScore, GradeGoalFormatter } from "./_common";
|
||||
import { CreatePBMergeFor } from "game-implementations/utils/pb-merge";
|
||||
import { ProfileSumBestN } from "game-implementations/utils/profile-calc";
|
||||
import { ProfileAvgBestN, ProfileSumBestN } from "game-implementations/utils/profile-calc";
|
||||
import { SessionAvgBest10For } from "game-implementations/utils/session-calc";
|
||||
import { PopnClassPoints } from "rg-stats";
|
||||
import { FmtNum, FmtNumCompact, GetGrade, POPN_GBOUNDARIES } from "tachi-common";
|
||||
@@ -59,7 +59,7 @@ export const POPN_9B_IMPL: GPTServerImplementation<"popn:9B"> = {
|
||||
},
|
||||
sessionCalcs: { classPoints: SessionAvgBest10For("classPoints") },
|
||||
profileCalcs: {
|
||||
naiveClassPoints: ProfileSumBestN("classPoints", 20),
|
||||
naiveClassPoints: ProfileAvgBestN("classPoints", 20),
|
||||
},
|
||||
classDerivers: {
|
||||
class: (ratings) => {
|
||||
|
||||
Reference in New Issue
Block a user