feat(miner): wire Phase 7 calibration runner into calibration snapshot CLI#8503
Conversation
…t CLI (JSONbored#8317) Add `calibration snapshot [--json]` so real prediction/outcome data persists per-project calibration_snapshot ledger events, including the AMS backtest track record when runs exist. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8503 +/- ##
==========================================
- Coverage 92.50% 89.67% -2.84%
==========================================
Files 791 99 -692
Lines 79335 22943 -56392
Branches 23964 3966 -19998
==========================================
- Hits 73388 20573 -52815
+ Misses 4807 2187 -2620
+ Partials 1140 183 -957
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-24 16:48:08 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
loopover-miner calibration snapshot [--json]: for eachbuildCalibrationReportproject row, mapsprOutcomeand callsrunHistoricalReplayCalibrationCycle(one snapshot event per project).backtestTrackRecordfromcomputeAmsBacktestTrackRecordinto each snapshot when backtest runs exist; staysnullwhen none do.Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpx vitest run test/unit/miner-calibration-cli.test.ts test/unit/miner-calibration-run.test.ts— 49 passednpm run build --workspace @loopover/minernpm run test:coveragenpm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
packages/loopover-miner/**). Untouched CI surfaces left to CI. Local miner build regenerated ignoredlib/*.jsfor tests.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Not applicable — miner CLI calibration wiring only.
Notes
loopover-miner calibration snapshot --json