Description
Add a @Cron job that aggregates the previous day's puzzle attempts/completions into PuzzleAnalytics rows.
Why this matters
Puzzle-level completion rate and average solve time providers should read from pre-aggregated data rather than scanning raw events.
Files to touch
backend/src/analytics/jobs/puzzle-analytics-rollup.job.ts
Acceptance Criteria
Notes
This issue is part of the new analytics module effort (tracking, aggregation,
and reporting on player/game activity). Please keep new code inside
backend/src/analytics/ following the same module/controller/service/provider
layout used by existing modules (e.g. progress, streak, quests).
Description
Add a
@Cronjob that aggregates the previous day's puzzle attempts/completions intoPuzzleAnalyticsrows.Why this matters
Puzzle-level completion rate and average solve time providers should read from pre-aggregated data rather than scanning raw events.
Files to touch
backend/src/analytics/jobs/puzzle-analytics-rollup.job.tsAcceptance Criteria
Notes
This issue is part of the new
analyticsmodule effort (tracking, aggregation,and reporting on player/game activity). Please keep new code inside
backend/src/analytics/following the same module/controller/service/providerlayout used by existing modules (e.g.
progress,streak,quests).