# @v2/live-ops-analytics-service

Live ops analytics service for `TODOS.phase-72.72.12.2.14`.

The package computes event participation rates, season pass completion rates,
and hotfix effectiveness from server-authoritative aggregate telemetry. It only
publishes normalized aggregate metrics and never exposes raw player identifiers.

Primary exports:

- `buildV2LiveOpsAnalyticsSurface`
- `summarizeV2EventParticipation`
- `summarizeV2SeasonPassCompletion`
- `summarizeV2HotfixEffectiveness`

Service endpoints:

- `GET /v2/live-ops/analytics/events/{eventId}/participation`
- `GET /v2/live-ops/analytics/season-pass/{seasonId}/completion`
- `GET /v2/live-ops/analytics/hotfixes/{hotfixId}/effectiveness`

The service validates event eligibility and completion counts, season pass
active and completion counts, hotfix before/after windows, crash rates,
regression failure counts, impacted-account counts, and duplicate metric ids
before publishing live ops analytics.

Verification:

```sh
pnpm --filter @v2/live-ops-analytics-service test
pnpm --filter @v2/live-ops-analytics-service typecheck
pnpm --filter @v2/live-ops-analytics-service lint
pnpm --filter @v2/live-ops-analytics-service build
python3 V2/ue/Tools/check-v2-live-ops-analytics.py
```
