Add timeline insight metrics
This commit is contained in:
1 parent
a69e86f2bc
commit
1a7a1cca68
5 files changed
+1328
-5
No files matched your search
@@ -29,6 +29,14 @@ const allRoles = (
|
||||
baseline: Record<Role, MetricBaselineRange>,
|
||||
): Record<Role, MetricBaselineRange> => baseline;
|
||||
|
||||
const rateBaseline = allRoles({
|
||||
TOP: { min: 0, max: 1 },
|
||||
JUNGLE: { min: 0, max: 1 },
|
||||
MIDDLE: { min: 0, max: 1 },
|
||||
BOTTOM: { min: 0, max: 1 },
|
||||
UTILITY: { min: 0, max: 1 },
|
||||
});
|
||||
|
||||
export const METRICS = [
|
||||
{
|
||||
id: 'kda',
|
||||
@@ -415,6 +423,117 @@ export const METRICS = [
|
||||
UTILITY: { min: 0, max: 15 },
|
||||
}),
|
||||
},
|
||||
{
|
||||
id: 'objectiveFightOpeningParticipationRate',
|
||||
label: '오브젝트 교전 개시 관여율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'objectiveFightOpeningConvertedToObjectiveRate',
|
||||
label: '오브젝트 교전 개시 전환율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'preObjectivePitPresenceRate',
|
||||
label: '오브젝트 전 강가 선점률',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'preObjectivePickParticipationRate',
|
||||
label: '오브젝트 전 픽 관여율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'deathFollowedByTeamLossRate',
|
||||
label: '사망 후 팀 손실률',
|
||||
direction: 'lowerIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'deathTradedForTeamAdvantageRate',
|
||||
label: '이득 교환 사망률',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'deathWhileIsolatedFromNearestAllyRate',
|
||||
label: '고립 사망률',
|
||||
direction: 'lowerIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'earlyDeficitRecoveryRate',
|
||||
label: '초반 열세 복구율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'laneLeadConversionRate',
|
||||
label: '라인 리드 전환율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'roamConvertedToTeamAdvantageRate',
|
||||
label: '로밍 이득 전환율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'shutdownGoldCollectedPerGame',
|
||||
label: '게임당 현상금 획득 골드',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'scalar',
|
||||
includeInVector: false,
|
||||
// TODO: MVP 3에서 인구 percentile baseline으로 교체.
|
||||
baseline: allRoles({
|
||||
TOP: { min: 0, max: 1_500 },
|
||||
JUNGLE: { min: 0, max: 1_500 },
|
||||
MIDDLE: { min: 0, max: 1_500 },
|
||||
BOTTOM: { min: 0, max: 1_500 },
|
||||
UTILITY: { min: 0, max: 1_000 },
|
||||
}),
|
||||
},
|
||||
{
|
||||
id: 'platePresenceParticipationRate',
|
||||
label: '플레이트 위치 관여율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
{
|
||||
id: 'objectiveBountyComebackParticipationRate',
|
||||
label: '오브젝트 현상금 역전 관여율',
|
||||
direction: 'higherIsBetter',
|
||||
kind: 'ratio',
|
||||
includeInVector: false,
|
||||
baseline: rateBaseline,
|
||||
},
|
||||
] as const satisfies readonly MetricDefinition[];
|
||||
|
||||
export type MetricId = (typeof METRICS)[number]['id'];
|
||||
|
||||
Reference in new issue
Block a user