feat(public-stats): measured per-rule precision + reproducibility freeze point on /v1/public/stats - #8241
Conversation
…eze point on /v1/public/stats The #8230 trust surface (epic #8211 track G): per-rule precision over the trailing 90 days computed from the SAME human-verdict events the internal calibration reads — one number, no second computation path. Sparse rules report null below a public sample floor deliberately stiffer than the internal trend's (a public percentage carries more weight than an operator chart). All three reversal shapes count over the window — the counted-against-ourselves number — and the latest persisted backtest run's corpus checksum + timestamp surface as the freeze point a skeptic needs to independently re-run the comparison (#8136's reproducibility conclusion, operationalized). Aggregates and rule ids only: the invariant suite pins that no target key, repo, confidence, or private term can appear. Rides the existing /v1/public/stats surface: same flag, same manifest override, same cache, OpenAPI schema extended and regenerated. Closes #8230
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
loopover-ui | 971712b | Commit Preview URL Branch Preview URL |
Jul 23 2026, 02:05 PM |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
1 similar comment
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Bundle ReportChanges will increase total bundle size by 2.77kB (0.04%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: loopover-uiAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8241 +/- ##
==========================================
- Coverage 92.11% 91.58% -0.53%
==========================================
Files 779 780 +1
Lines 78430 78447 +17
Branches 23696 23697 +1
==========================================
- Hits 72245 71848 -397
- Misses 5062 5524 +462
+ Partials 1123 1075 -48
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Important 🟪🟪🟪🟪🟪🟪🟪🟪🟪🟪🟪🟪 🔍 LoopOver is reviewing…AI analysis is in progress. This comment will update when the review is complete. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed · 🟪 Reviewing |
What
The #8230 trust surface (epic #8211 track G): a
rulePrecisionblock on/v1/public/stats.How
Validation
Full
npm run test:cigreen (TEST_CI_EXIT=0, zero failed files); 100% line+branch on the new module; route-level assertions on the extended payload.Closes #8230