CMP-7.7 — Historical analytics¶
Status: COMPLETE — Level 1 exact-head qualified on b204b6a427580dcb14aab0bc88bcf52d30856b05.
Canonical purpose¶
Provide bounded historical Compute analytics from canonical indexed event history without creating a scoring, correctness, payout or accounting authority.
Requirements¶
- explicit chain and block range;
- bounded query range;
- canonical event ordering;
- unique job/reward identities with duplicate reward rejection;
- latest in-range job terminal-state accounting;
- policy-defined contribution/reward totals by metric;
- uint256-safe accumulation;
- explicit
authoritative:falseresult.
Implementation¶
computeHistoricalAnalytics420 aggregates job creation/terminal state and UsefulRewardAccounted evidence over the canonical 420Indexer protocol-event journal. It exposes counts and typed metric totals and rejects duplicate reward IDs rather than silently double counting.
Qualification¶
Level 1 runs the affected 420Indexer build/test suite, including duplicate-reward, range-bound and malformed numeric-state negatives.
Next canonical step¶
CMP-7.8 — Developer documentation