feat(miner): wire Phase 7 calibration runner into calibration snapshot CLI#8464
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❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8464 +/- ##
==========================================
- Coverage 92.43% 88.65% -3.78%
==========================================
Files 791 99 -692
Lines 79320 22943 -56377
Branches 23952 3966 -19986
==========================================
- Hits 73317 20341 -52976
+ Misses 4866 2424 -2442
+ Partials 1137 178 -959
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-24 14:36:55 UTC
Review summary Nits — 5 non-blocking
CI checks failing
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.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (codecov/patch)). 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. |
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