Add timeline advantage events
This commit is contained in:
1 parent
1e2f1695ce
commit
d35843a8e2
5 files changed
+342
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
ADVANTAGE_EVENT_WEIGHTS,
|
||||
FEATURE_SCHEMA_VERSION,
|
||||
METRICS,
|
||||
VECTOR_DIMENSION,
|
||||
@@ -61,6 +62,17 @@ describe('shared feature registry', () => {
|
||||
METRICS.find((metric) => metric.id === 'deathsPerMin')?.direction,
|
||||
).toBe('lowerIsBetter');
|
||||
});
|
||||
|
||||
it('defines shared advantage event weights for timeline-derived metrics', () => {
|
||||
expect(ADVANTAGE_EVENT_WEIGHTS).toEqual({
|
||||
championKill: 1,
|
||||
turretPlate: 0.5,
|
||||
tower: 1.5,
|
||||
dragon: 1.5,
|
||||
riftHerald: 1.5,
|
||||
baron: 3,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('shared DTO contracts', () => {
|
||||
|
||||
Reference in new issue
Block a user