feat(ui): slop-band calibration card on the analytics dashboard (#2196) - #4719
feat(ui): slop-band calibration card on the analytics dashboard (#2196)#4719andriypolanski wants to merge 1 commit into
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-10 20:44:17 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4719 +/- ##
=======================================
Coverage 94.14% 94.14%
=======================================
Files 437 437
Lines 38561 38574 +13
Branches 14058 14063 +5
=======================================
+ Hits 36304 36317 +13
Misses 1599 1599
Partials 658 658
🚀 New features to boost your workflow:
|
a830bb3 to
8b9ec1e
Compare
|
Gittensory is closing this pull request on the maintainer's behalf (conflicts with the base branch — resolve and open a fresh PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
…#4406) passedValidationCount previously came only from a PR-body prose match, with no connection to the PR's real CI results, and no bot-author exemption existed anywhere in this deterministic gate path — confirmed false positive on JSONbored/awesome-claude PR JSONbored#4719 (a CI-green, github-actions[bot] README-regen PR flagged as missing test evidence). Now also consults the PR's live CI state (a fully-green rollup counts as evidence) and exempts authors matching review.auto_review.ignore_authors, mirroring the existing AI-review skip. Closes JSONbored#4401
Closes #2196
Summary
Adds a read-only Slop-band calibration card to
/app/analyticsshowing predicted slop band vs realized merge/close outcomes from the stats feed. ExtendsStatsPayloadand the operator dashboard with fleet-wideslopBandCalibrationaggregates (bands only — never raw slop scores).Part of #1967.
Changes
src/review/stats.tsSlopOutcomeCalibrationonStatsPayload;computeSlopBandCalibrationAggregate()src/services/operator-dashboard.tsslopBandCalibrationon operator dashboard payloadapps/gittensory-ui/src/components/site/app-panels/slop-band-calibration-card-model.tsapps/gittensory-ui/src/components/site/app-panels/slop-band-calibration-card.tsxStatrows +MiniSparkbaroutcome splitapps/gittensory-ui/src/routes/app.analytics.tsxslop-band-calibration-card.test.tsx,stats.test.ts,operator-dashboard.test.tsUI Evidence
Required before opening the PR — upload screenshots via GitHub drag-and-drop (do not commit images):
/app/analyticsTest plan
SlopBandCalibrationCard— all bands presentSlopBandCalibrationCard— one empty band (em dash)SlopBandCalibrationCard— no-data empty state + discriminates ternary armscomputeSlopBandCalibrationAggregate— seeded PR bands + fail-safe emptyslopBandCalibrationnpm run ui:test—slop-band-calibration-card.test.tsx(5/5)npm run ui:typechecknpm run test:unit -- test/unit/stats.test.ts test/unit/operator-dashboard.test.ts(51/51)/app/analytics, confirm card renders with band labels onlyvisual)Notes
visual(owner-led). Confirm eligibility before opening a contributor PR.slopRiskor credibility scores.GatePrecisionCardandCycleTimeCard.