Skip to content

fix(test): unbreak main — seed the downloadable corpus #9966 now requires - #9974

Merged
JSONbored merged 1 commit into
mainfrom
fix/eval-scores-fixture-red-main
Jul 31, 2026
Merged

fix(test): unbreak main — seed the downloadable corpus #9966 now requires#9974
JSONbored merged 1 commit into
mainfrom
fix/eval-scores-fixture-red-main

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

main has been red since #9966 (40133d789). Every commit after it fails:

FAIL test/integration/public-eval-scores-route.test.ts
AssertionError: expected [] to have a length of 1 but got +0

Bisected — 507960134 (the commit before) passes 9/9, 40133d789 fails 3.

Why

#9966 made the downloadable corpus the only commitment source, deliberately dropping the persisted-backtest-run fallback: a commitment must name bytes a reader can fetch and re-hash. That change is right.

But this suite’s fixture recorded only the human overrides, and the corpus is built from rule-fired events joined to them. So it produced a 0-case corpus → no commitment → no record. Confirmed by probing loadPublicEvalCorpus directly: caseCount: 0 with overrides alone, caseCount: 20 once the fired events are seeded too.

The fix

Seed both halves, restoring what the fixture always meant to represent: 20 decided cases a reader can download and re-hash.

Changing the expectation to records: [] would also have gone green — and silently dropped the recordDigest-recomputability check this suite exists for. That is the failure mode worth avoiding here, so the fixture was corrected rather than the assertion weakened.

The commitment assertion also moves off the literal "freeze-point-checksum" (the old contract) and onto what /v1/public/eval-corpus actually serves, so the two surfaces cannot drift apart while both still look correct in isolation.

Full suite green: 25,926 passing, zero failures. No src/** changes, so codecov/patch is unaffected.

…ires

main has been red since #9966 (40133d7): every commit after it fails
test/integration/public-eval-scores-route.test.ts with "expected [] to have a
length of 1". Bisected -- the commit before it passes 9/9.

#9966 made the DOWNLOADABLE corpus the only commitment source, deliberately
dropping the persisted-backtest-run fallback: a commitment must name bytes a
reader can fetch and re-hash. Correct change, but this suite's fixture recorded
only the human OVERRIDES, and the corpus is built from rule-FIRED events joined
to them -- so it produced a 0-case corpus, no commitment, and no record.
Confirmed by probing loadPublicEvalCorpus directly: caseCount 0 with overrides
alone, 20 once the fired events are seeded too.

Seeding both halves restores what the fixture always meant to represent: 20
decided cases a reader can download. Changing the expectation to `records: []`
would have gone green while silently dropping the recordDigest-recomputability
check this suite exists for.

The commitment assertion moves off the literal "freeze-point-checksum" (the old
contract) and onto what /v1/public/eval-corpus actually serves, so the two
surfaces cannot drift apart while both still look correct in isolation.
@loopover-orb

loopover-orb Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Caution

🛑 LoopOver review result - fixes required

Review updated: 2026-07-30 23:40:04 UTC

4 files · 1 AI reviewer · 2 blockers · CI failing · unstable

🛑 Suggested Action - Manual Review

  • AI review did not produce public notes: The configured AI reviewer returned no usable public assessment for this PR head.

Review summary
AI review is unavailable for this PR head. LoopOver is holding this PR for manual review until the configured AI provider returns a usable public review summary.

Nits — 1 non-blocking
  • AI review did not produce public notes — Fix the configured AI provider, then re-run LoopOver review before relying on the result.

Why this is blocked

  • No linked issue detected: No closing reference or linked issue number was found in the PR metadata/body. — If this PR is intended to solve an issue, link it explicitly in the PR body.
  • Maintainer requires a linked issue: This repo's maintainer focus manifest requires every PR to reference a tracked issue. — Link the relevant issue (for example Closes #123) before opening the PR.
📋 Copy for AI agents — paste into your coding agent
Fix the following blocker(s) from this PR review:

1. No linked issue detected: No closing reference or linked issue number was found in the PR metadata/body. — If this PR is intended to solve an issue, link it explicitly in the PR body.

2. Maintainer requires a linked issue: This repo's maintainer focus manifest requires every PR to reference a tracked issue. — Link the relevant issue (for example `Closes #123`) before opening the PR.

CI checks failing

  • Workers Builds: loopover-ui — Workers Builds: loopover-ui

Decision drivers

  • ❌ Code review — 2 blockers (1 reviewer)
  • ❌ Gate result — Blocking (Repo-configured hard blocker found.)
Context & advisory signals — never blocks the verdict
Signal Result Evidence
Linked issue ⚠️ Missing No linked issue or no-issue rationale found.
Related work ✅ No active overlap found No same-issue or scoped active PR overlap found.
Change scope ✅ 20/20 Low review scope from cached public metadata (no linked issue context).
Validation posture ✅ 25/25 PR body includes validation/test evidence.
Contributor workload ✅ 10/10 Author activity: 9 registered-repo PR(s), 8 merged, 287 issue(s).
Contributor context ✅ Confirmed Gittensor contributor JSONbored; Gittensor profile; 9 PR(s), 287 issue(s).
Improvement ✅ Minor risk: clean · value: minor
Review context
  • Author: JSONbored
  • Role context: owner (maintainer lane)
  • Public audience mode: oss maintainer
  • Lane context: Repository is configured for direct PR review.
  • Public profile languages: Python, TypeScript, Ruby, Go, MDX, Shell, Solidity, JavaScript
  • Official Gittensor activity: 9 PR(s), 287 issue(s).
  • PR-specific overlap: none found.
Contributor next steps
  • Start here: Treat this as maintainer-lane context rather than normal contributor-lane activity.
  • Then work through the remaining 2 steps in the Signals table above.
Signal definitions
  • Related work = same linked issue, overlapping active PRs, or title/path similarity.
  • Change scope = cached public metadata such as size labels, draft state, and review-burden hints.
  • Validation posture = whether the PR provides enough public validation/test evidence for maintainer review.
  • Contributor workload = public contributor activity and cleanup pressure, not a repo-wide quality failure.
  • Contributor context = public GitHub/Gittensor identity context; non-Gittensor status is not a blocker.
🧪 Chat with LoopOver

Ask 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.

  • @loopover ask <question> answers contribution-quality Q&A with source citations and freshness.
  • @loopover chat <question> answers in natural prose from cached decision-pack facts via local inference (maintainer/collaborator; read-only).
  • A plain-language @loopover mention with a real question is routed to the closest matching read-only command automatically — no exact syntax required.

Full command reference: https://loopover.ai/docs/loopover-commands

🧪 Experimental — new and may change.

Decision record
  • action: hold · clause: missing_linked_issue
  • config: 5371b9e168bcf77059a0dd79da89ee836377c7aa92d48b9c9b6105e6ec27f091 · pack: oss-anti-slop · ci: failed
  • record: 3888a311e141c9d30f7595078dce0e853787783ccd689778bdd287f6a0e5543d (schema v6, head 865f3a6)

🟩 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.

  • Re-run LoopOver review

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
loopover-ui 865f3a6 Jul 30 2026, 11:15 PM

@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

Affected Assets, Files, and Routes:

view changes for bundle: loopover-ui

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/add-scalar-classes-CkcNtsup.js (New) 2.16MB 2.16MB 100.0% 🚀
assets/tanstack-vendor-D3i8dwca.js (New) 955.9kB 955.9kB 100.0% 🚀
assets/docs.fumadocs-spike-api-reference-C965-gfN.js (New) 443.45kB 443.45kB 100.0% 🚀
assets/AgentScalarChatInterface.vue-DIuTRAut.js (New) 201.69kB 201.69kB 100.0% 🚀
assets/modal-3_eFe8hM.js (New) 184.5kB 184.5kB 100.0% 🚀
assets/client-_K2P0_C_.js (New) 151.47kB 151.47kB 100.0% 🚀
assets/maintainer-panel-PHvEUz42.js (New) 78.97kB 78.97kB 100.0% 🚀
assets/routes-C9v14VyE.js (New) 35.88kB 35.88kB 100.0% 🚀
assets/owner-panel-BX1N4y_a.js (New) 28.26kB 28.26kB 100.0% 🚀
assets/app-B4_GuQeJ.js (New) 25.82kB 25.82kB 100.0% 🚀
assets/ui-vendor-D1W0E8LE.js (New) 24.57kB 24.57kB 100.0% 🚀
assets/fairness-CTRwB5NL.js (New) 23.13kB 23.13kB 100.0% 🚀
assets/miner-panel-RCaT2Nae.js (New) 20.49kB 20.49kB 100.0% 🚀
assets/api._op-B0DdH-P6.js (New) 17.51kB 17.51kB 100.0% 🚀
assets/self-hosting-docs-audit-Cs7pn8FT.js (New) 16.6kB 16.6kB 100.0% 🚀
assets/docs-client-loader-CwHaeoEw.js (New) 15.51kB 15.51kB 100.0% 🚀
assets/playground-panel-DEC9yHRL.js (New) 14.35kB 14.35kB 100.0% 🚀
assets/app.audit-Dwimb293.js (New) 10.22kB 10.22kB 100.0% 🚀
assets/app.config-generator-mTdmDnjF.js (New) 10.06kB 10.06kB 100.0% 🚀
assets/maintainers-BbIPit_q.js (New) 8.06kB 8.06kB 100.0% 🚀
assets/miners-BVfCaqsQ.js (New) 7.91kB 7.91kB 100.0% 🚀
assets/agents-Cz6wtM1s.js (New) 7.74kB 7.74kB 100.0% 🚀
assets/commands-panel-BXhhfzY6.js (New) 6.74kB 6.74kB 100.0% 🚀
assets/maintainer-workflow-BeqH-MHw.js (New) 6.52kB 6.52kB 100.0% 🚀
assets/digest-panel-CocsRK5e.js (New) 6.15kB 6.15kB 100.0% 🚀
assets/repos._owner._repo.quality-CO4jiQLw.js (New) 6.14kB 6.14kB 100.0% 🚀
assets/docs-nav-CLclVP2Y.js (New) 6.12kB 6.12kB 100.0% 🚀
assets/docs.index-BV2rEsGQ.js (New) 6.01kB 6.01kB 100.0% 🚀
assets/api.index-cDKQfyUg.js (New) 4.7kB 4.7kB 100.0% 🚀
assets/docs-0ojEJ-aB.js (New) 3.01kB 3.01kB 100.0% 🚀
assets/api-BpQdYav4.js (New) 2.66kB 2.66kB 100.0% 🚀
assets/docs-page-CBdlwMOQ.js (New) 2.14kB 2.14kB 100.0% 🚀
assets/table-p7iYZrCx.js (New) 1.75kB 1.75kB 100.0% 🚀
assets/app.workbench-Qs0lEqXe.js (New) 1.58kB 1.58kB 100.0% 🚀
assets/tabs-DIVZmehY.js (New) 1.39kB 1.39kB 100.0% 🚀
assets/app.repos-o1GhzRys.js (New) 1.07kB 1.07kB 100.0% 🚀
assets/input-BmM3FtHK.js (New) 796 bytes 796 bytes 100.0% 🚀
assets/file-cog-BQU7ysqf.js (New) 758 bytes 758 bytes 100.0% 🚀
assets/docs._slug-B7Xp_bpJ.js (New) 549 bytes 549 bytes 100.0% 🚀
assets/app.maintainer-AvAi5MvV.js (New) 502 bytes 502 bytes 100.0% 🚀
assets/app.owner-BDp6XA_5.js (New) 474 bytes 474 bytes 100.0% 🚀
assets/app.commands-Bzq0om3N.js (New) 455 bytes 455 bytes 100.0% 🚀
assets/app.playground-DFKNM5cT.js (New) 442 bytes 442 bytes 100.0% 🚀
assets/index-BmtUdBeI.js (New) 438 bytes 438 bytes 100.0% 🚀
assets/app.digest-BEqNvlcV.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/eye-off-DgfP5KIk.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/app.miner-DzC4sWce.js (New) 422 bytes 422 bytes 100.0% 🚀
assets/key-round-0NFPxHXW.js (New) 355 bytes 355 bytes 100.0% 🚀
assets/bot-ClqhYpOX.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/git-pull-request-arrow-Bj3IP37B.js (New) 321 bytes 321 bytes 100.0% 🚀
assets/list-checks-9PGehjhg.js (New) 279 bytes 279 bytes 100.0% 🚀
assets/compass-Be5vlcfD.js (New) 251 bytes 251 bytes 100.0% 🚀
assets/history-DTAnS3nm.js (New) 237 bytes 237 bytes 100.0% 🚀
assets/message-square-C3SF26sM.js (New) 233 bytes 233 bytes 100.0% 🚀
assets/lock--M3JVakc.js (New) 206 bytes 206 bytes 100.0% 🚀
assets/play-CYVxoToJ.js (New) 190 bytes 190 bytes 100.0% 🚀
assets/circle-check-CBO47mWu.js (New) 178 bytes 178 bytes 100.0% 🚀
assets/add-scalar-classes-DqBKw12A.js (Deleted) -2.16MB 0 bytes -100.0% 🗑️
assets/tanstack-vendor-DKjw4eLl.js (Deleted) -955.9kB 0 bytes -100.0% 🗑️
assets/docs.fumadocs-spike-api-reference-D_U0xijN.js (Deleted) -443.45kB 0 bytes -100.0% 🗑️
assets/AgentScalarChatInterface.vue-Bna5YUCh.js (Deleted) -201.69kB 0 bytes -100.0% 🗑️
assets/modal--7-Q8PHi.js (Deleted) -184.5kB 0 bytes -100.0% 🗑️
assets/client-DiEopHiu.js (Deleted) -151.47kB 0 bytes -100.0% 🗑️
assets/maintainer-panel-DgvMAke1.js (Deleted) -78.97kB 0 bytes -100.0% 🗑️
assets/routes-Cc1Gqjjk.js (Deleted) -35.88kB 0 bytes -100.0% 🗑️
assets/owner-panel-CBXHsdo5.js (Deleted) -28.26kB 0 bytes -100.0% 🗑️
assets/app-PtM0Dshx.js (Deleted) -25.82kB 0 bytes -100.0% 🗑️
assets/ui-vendor-BKgrotVh.js (Deleted) -24.57kB 0 bytes -100.0% 🗑️
assets/fairness-D416djCn.js (Deleted) -23.13kB 0 bytes -100.0% 🗑️
assets/miner-panel-CS4bTURZ.js (Deleted) -20.49kB 0 bytes -100.0% 🗑️
assets/api._op-DMum7Zmw.js (Deleted) -17.51kB 0 bytes -100.0% 🗑️
assets/self-hosting-docs-audit-aT0EngjA.js (Deleted) -16.6kB 0 bytes -100.0% 🗑️
assets/docs-client-loader-WPCHW3ND.js (Deleted) -15.51kB 0 bytes -100.0% 🗑️
assets/playground-panel-BpBx1wDB.js (Deleted) -14.35kB 0 bytes -100.0% 🗑️
assets/app.audit-B9fPhF94.js (Deleted) -10.22kB 0 bytes -100.0% 🗑️
assets/app.config-generator-Df0VqSF9.js (Deleted) -10.06kB 0 bytes -100.0% 🗑️
assets/maintainers-DON1eQ6R.js (Deleted) -8.06kB 0 bytes -100.0% 🗑️
assets/miners-DxL547n0.js (Deleted) -7.91kB 0 bytes -100.0% 🗑️
assets/agents-DWtbHt1m.js (Deleted) -7.74kB 0 bytes -100.0% 🗑️
assets/commands-panel-UzGT8SZn.js (Deleted) -6.74kB 0 bytes -100.0% 🗑️
assets/maintainer-workflow-mknoxnP7.js (Deleted) -6.52kB 0 bytes -100.0% 🗑️
assets/digest-panel-B2JBEDf-.js (Deleted) -6.15kB 0 bytes -100.0% 🗑️
assets/repos._owner._repo.quality-DyrpSbX6.js (Deleted) -6.14kB 0 bytes -100.0% 🗑️
assets/docs-nav-Dx1Po9cR.js (Deleted) -6.12kB 0 bytes -100.0% 🗑️
assets/docs.index-Dy6jB7Qf.js (Deleted) -6.01kB 0 bytes -100.0% 🗑️
assets/api.index-Dvm2kbl8.js (Deleted) -4.7kB 0 bytes -100.0% 🗑️
assets/docs-Bm2Dkekm.js (Deleted) -3.01kB 0 bytes -100.0% 🗑️
assets/api-CLpkEi3T.js (Deleted) -2.66kB 0 bytes -100.0% 🗑️
assets/docs-page-8sLajaYJ.js (Deleted) -2.14kB 0 bytes -100.0% 🗑️
assets/table-QUm18D5Y.js (Deleted) -1.75kB 0 bytes -100.0% 🗑️
assets/app.workbench-BW9zhRps.js (Deleted) -1.58kB 0 bytes -100.0% 🗑️
assets/tabs-BmzAY5Ur.js (Deleted) -1.39kB 0 bytes -100.0% 🗑️
assets/app.repos-DaO8oOPG.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/input-6nXLRlX6.js (Deleted) -796 bytes 0 bytes -100.0% 🗑️
assets/file-cog-DB0NOqHr.js (Deleted) -758 bytes 0 bytes -100.0% 🗑️
assets/docs._slug-DwBSrfWV.js (Deleted) -549 bytes 0 bytes -100.0% 🗑️
assets/app.maintainer-Cn_E3tWI.js (Deleted) -502 bytes 0 bytes -100.0% 🗑️
assets/app.owner-B3VdT-Qt.js (Deleted) -474 bytes 0 bytes -100.0% 🗑️
assets/app.commands-C7vJ2UUY.js (Deleted) -455 bytes 0 bytes -100.0% 🗑️
assets/app.playground-DO6yL80B.js (Deleted) -442 bytes 0 bytes -100.0% 🗑️
assets/index-CDV0lvdd.js (Deleted) -438 bytes 0 bytes -100.0% 🗑️
assets/app.digest-mYFEHaWZ.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/eye-off-CBBnJLw3.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/app.miner-BjyvbkH4.js (Deleted) -422 bytes 0 bytes -100.0% 🗑️
assets/key-round-D_nNecCZ.js (Deleted) -355 bytes 0 bytes -100.0% 🗑️
assets/bot-BG9JsYVe.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/git-pull-request-arrow-DChPhqm1.js (Deleted) -321 bytes 0 bytes -100.0% 🗑️
assets/list-checks-Bo06tN4Z.js (Deleted) -279 bytes 0 bytes -100.0% 🗑️
assets/compass-dZcmrId7.js (Deleted) -251 bytes 0 bytes -100.0% 🗑️
assets/history-DeBPIPVM.js (Deleted) -237 bytes 0 bytes -100.0% 🗑️
assets/message-square-DjWduvq3.js (Deleted) -233 bytes 0 bytes -100.0% 🗑️
assets/lock-zS6pWogv.js (Deleted) -206 bytes 0 bytes -100.0% 🗑️
assets/play-Cmidilh3.js (Deleted) -190 bytes 0 bytes -100.0% 🗑️
assets/circle-check-Cxe6C9kD.js (Deleted) -178 bytes 0 bytes -100.0% 🗑️

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.87%. Comparing base (43c7b0f) to head (865f3a6).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #9974       +/-   ##
===========================================
+ Coverage   79.57%   91.87%   +12.30%     
===========================================
  Files         282      928      +646     
  Lines       58664   113712    +55048     
  Branches     6842    27432    +20590     
===========================================
+ Hits        46682   104478    +57796     
+ Misses      11694     7936     -3758     
- Partials      288     1298     +1010     
Flag Coverage Δ
backend 95.67% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 779 files with indirect coverage changes

@loopover-orb loopover-orb Bot added the manual-review Gittensor contributor context label Jul 30, 2026
@JSONbored
JSONbored merged commit 77a8be0 into main Jul 31, 2026
10 of 11 checks passed
@JSONbored
JSONbored deleted the fix/eval-scores-fixture-red-main branch July 31, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual-review Gittensor contributor context

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant