Skip to content

fix(review): stop publishing a reproducibility freeze point that commits to an empty corpus - #9675

Merged
JSONbored merged 1 commit into
mainfrom
fix/public-verifiability-gaps
Jul 29, 2026
Merged

fix(review): stop publishing a reproducibility freeze point that commits to an empty corpus#9675
JSONbored merged 1 commit into
mainfrom
fix/public-verifiability-gaps

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

GET /v1/public/stats reported latestBacktestRun.corpusChecksum = 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945, which is checksumCases([]) — SHA-256 over the canonicalized empty case list (printf '[]' | shasum -a 256 reproduces it). The /fairness page rendered that as a "Reproducibility freeze point", and /v1/public/eval-scores published two records committed to it with trust.tier: "reproducible" alongside decided: 460, confirmed: 287.

A hash over zero cases is the same 32 bytes for every rule, every window and every deployment, so it points at nothing a skeptic can re-derive anything from — a placeholder commitment wearing a real hash's clothes.

loadPublicRulePrecision now reports latestBacktestRun: null for that value, treating it the same way as a missing run. That single change clears the freeze point from the fairness page (the page's existing conditional already handles null) and, through the builder's existing !precision.latestBacktestRun guard, empties the eval-scores response. buildEvalScoreRecordsFromRulePrecision additionally refuses the value on its own, since it is the code that stamps the reproducible tier and should not depend on its caller to be honest.

The scores are unaffected. decided/confirmed come from a different dataset (signal.human_override:* audit events over a trailing 90 days), so an empty corpus never means the numbers are zero — only that they are uncommitted, which is exactly the state #9215 says must not be published.

Docs

  • Step 4 cited a bare `/v1/public/stats`, which resolves against loopover.ai and 404s — only api.loopover.ai serves it. Now an absolute curl, matching the convention already used in what-you-can-verify.mdx.
  • Step 1 and the track-record command shell out to wrangler d1 execute --remote, reading the deployment's own D1 with that deployment's Cloudflare credentials. The page claimed "nothing needs an API key" and the sibling page claimed "Anyone can do this". Each step is now marked with who can actually run it.
  • The freeze point covers whichever single rule the latest run backtested, not every rule on the report, and is described that way now.

Deliberately not in this PR

Publishing an anonymous corpus snapshot needs a redaction design first — BacktestCase carries targetKey (repo/PR identity) and arbitrary firing metadata, and this surface is documented to exclude exactly those. Making corpusChecksum per-rule and window-bound, and backfilling the missing rule_fired signal, are likewise separate changes. All three are called out as out of scope on the issue.

Closes #9636

Scope

  • The PR title follows type(scope): short summary Conventional Commit format, for example fix(api): restore profile access checks.
  • This PR is focused and does not mix unrelated backend, UI, MCP, docs, dependency, and deploy changes.
  • This follows CONTRIBUTING.md and does not reintroduce GitHub Pages, VitePress, site/, or CNAME.
  • I linked a currently open issue this PR resolves (e.g. Closes #123) — a linked open issue is required for every contributor PR.

Validation

  • git diff --check
  • npm run actionlint
  • npm run typecheck
  • npm run test:coverage locally; codecov/patch requires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.
  • npm run test:workers
  • npm run build:mcp
  • npm run test:mcp-pack
  • npm run ui:openapi:check
  • npm run ui:lint
  • npm run ui:typecheck
  • npm run ui:build
  • npm audit --audit-level=moderate
  • New or changed behavior has unit/integration tests for new branches, fallback paths, and sanitizer boundaries

If any required check was skipped, explain why:

  • Coverage was measured scoped rather than via a full unsharded test:coverage: vitest run --coverage over test/unit/public-rule-precision.test.ts, test/unit/eval-score-records.test.ts and test/integration/public-eval-scores-route.test.ts, restricted to the two changed modules, reports 100% statements / branches / functions / lines on both (41/41, 25/25, 11/11, 35/35). Both sides of the new checksum !== EMPTY_CORPUS_CHECKSUM branch are exercised, and the constant is re-derived independently from sha256Hex("[]") in each module's own test file so it cannot drift from the exporter. test:workers and test:mcp-pack were not run locally — this diff touches neither the Workers pool nor the MCP package — and are left to CI.
  • npm run docs:drift-check and npm run coverage-boltons:check also pass (no bolt-on coverage files added; the new cases live in each module's existing test file).

Safety

  • No secrets, wallet details, hotkeys, coldkeys, user PATs, private keys, raw trust scores, private rankings, or private maintainer evidence are exposed.
  • Public GitHub text stays sanitized, low-noise, and does not imply compensation guarantees or optimization tactics.
  • Auth, cookie, CORS, GitHub App, Cloudflare, or session changes include negative-path tests.
  • API/OpenAPI/MCP behavior is updated and tested where needed.
  • UI changes use live API data or real empty/error/loading states, not production mock/demo fallbacks.
  • Visible UI changes include a UI Evidence section 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.
  • Public docs/changelogs are updated where needed; changelogs are only edited for release-prep PRs.

Notes on the Safety boxes: no auth/CORS/session behavior changes here — the existing negative-path suites (public-eval-scores-route, public-decision-ledger-routes, openapi-security-parity) still pass unchanged. ui:openapi:check confirms the OpenAPI artifact is unchanged: the response shape is identical, only whether a freeze point is present. The existing INVARIANT: the public payload never carries target keys, repos, confidences, or private terms test still passes.

UI Evidence

Captured at 1280×800, deviceScaleFactor: 2, dark build (the only theme). The fairness page itself is not screenshotted because no page code changed — it reads latestBacktestRun from the live API, so its freeze-point line disappears on deploy via the existing ? : at fairness-report-page.tsx:313.

State / title Before After
verify-this-review — intro + audience callout Before: intro claims nothing needs an API key After: intro plus who-can-run-what callout
verify-this-review — step 4 (the 404'ing link) Before: bare /v1/public/stats inline After: absolute curl against api.loopover.ai
what-you-can-verify — accuracy claim Before: Anyone can do this for public repositories After: split into what anyone can run vs operator-only

Notes

The empty corpus itself is not fixed here, only the false claim about it. .github/workflows/calibration-advisory.yml exports --rule-id linked_issue_scope_mismatch, whose signal.rule_fired events are written on one path gated on linkedIssueSatisfactionGateMode === "block" (default "off"), so buildBacktestCorpus returns []. Until that rule fires or the workflow covers a rule that does, latestBacktestRun will now correctly read null rather than advertising a checksum that verifies nothing.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 29, 2026

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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
loopover-ui 29461aa Commit Preview URL

Branch Preview URL
Jul 29 2026, 06:25 AM

@superagent-security

Copy link
Copy Markdown
Contributor

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

@loopover-orb

loopover-orb Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Warning

⏸️ LoopOver review result - manual review recommended

Review updated: 2026-07-29 06:41:04 UTC

6 files · 1 AI reviewer · no blockers · CI green · clean

⏸️ Suggested Action - Manual Review

Review summary
This PR correctly treats a corpus checksum of an empty case list (sha256("[]")) as equivalent to no freeze point, refusing to publish it via loadPublicRulePrecision and defensively re-checking in buildEvalScoreRecordsFromRulePrecision. The EMPTY_CORPUS_CHECKSUM constant is well-anchored by a test that independently re-derives it via sha256Hex("[]"), so it can't silently drift, and the docs updates accurately reflect the corrected reproducibility semantics and fix a real /v1/public/stats 404 caused by a relative URL. The failing Workers Builds check is undetailed and this branch is 2 commits behind default, so it's more likely explained by upstream drift than a defect in this diff.

Nits — 6 non-blocking
  • src/review/public-rule-precision.ts:27 hard-codes a 64-hex-char SHA-256 string with no reference to a shared hashing utility beyond the doc comment; consider deriving it once at module load via a shared sha256Hex if that becomes importable in the Workers runtime, to remove any chance of a future manual-transcription typo.
  • The EMPTY_CORPUS_CHECKSUM export is duplicated (re-exported from eval-score-records.ts as well as its own module) — worth a one-line note on why both surfaces need it rather than importing from a single canonical location.
  • verify-this-review.mdx's new empty-corpus explanation is fairly dense (four sentences) for a step readers skim through; consider trimming once the anonymous corpus export exists and this caveat can shrink.
  • Consider extracting the sha256("[]") derivation into a tiny shared helper invoked by both test files (public-rule-precision.test.ts and eval-score-records.test.ts) instead of duplicating the same assertion logic verbatim in each.
  • In what-you-can-verify.mdx, the new operator/self-host caveat could link directly to the tracking issue for anonymous corpus export mentioned elsewhere on the page for consistency.
  • PR author also opened the linked issue — Link an issue that was opened by a different contributor, or provide a rationale for why this self-authored issue represents genuine discovery work.

Decision drivers

  • ✅ Code review — No blockers (1 reviewer)
  • ✅ Gate result — Passing (No configured blocker found.)
Context & advisory signals — never blocks the verdict
Signal Result Evidence
Linked issue ✅ Linked #9636
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 (1 linked issue).
Validation posture ✅ 25/25 PR body includes validation/test evidence.
Contributor workload ✅ 10/10 Author activity: 14 registered-repo PR(s), 13 merged, 359 issue(s).
Contributor context ✅ Confirmed Gittensor contributor JSONbored; Gittensor profile; 14 PR(s), 359 issue(s).
Improvement ✅ Minor risk: clean · value: minor
Linked issue satisfaction

Addressed
The diff makes loadPublicRulePrecision and buildEvalScoreRecordsFromRulePrecision treat the empty-corpus checksum as absent rather than publishable, fixes the /v1/public/stats reference to an absolute URL matching the sibling doc, and rewrites the walkthrough/what-you-can-verify text to accurately scope who can run each step instead of claiming anyone can. All three defects named in the issue are

Review context
  • Author: JSONbored
  • Role context: owner (maintainer lane)
  • Public audience mode: oss maintainer
  • Lane context: Repository is registered but has no active allocation in the current snapshot.
  • Public profile languages: not available
  • Official Gittensor activity: 14 PR(s), 359 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: merge · clause: success
  • config: 090db5a6a3fc663a7eb0536e99793c6e0d207a593b92679d3702b977ae9a8c84 · pack: oss-anti-slop · ci: passed
  • record: bd028ede96f23565b63659bfad98290c930f74eaa28750b208cd6cebbf603947 (schema v5, head 29461aa)
Visual preview
Route Viewport Before (production) After (this PR's preview) Diff
/ desktop before /
before /
after /
after /
/ mobile before / (mobile)
before / (mobile)
after / (mobile)
after / (mobile)

Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy.

Scroll preview
Route Before (production) After (this PR's preview)
/ before / (scroll)
before / (scroll)
after / (scroll)
after / (scroll)

A short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show.

🟩 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

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 8.99kB (0.12%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
loopover-ui 7.81MB 8.99kB (0.12%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: loopover-ui

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/add-scalar-classes-j3ZtdVqf.js (New) 2.16MB 2.16MB 100.0% 🚀
assets/tanstack-vendor-CIuiukmX.js (New) 913.91kB 913.91kB 100.0% 🚀
assets/docs.fumadocs-spike-api-reference-C5jhgGTU.js (New) 443.45kB 443.45kB 100.0% 🚀
assets/AgentScalarChatInterface.vue-BhFsACK_.js (New) 201.7kB 201.7kB 100.0% 🚀
assets/modal-BSj7Mf-f.js (New) 184.5kB 184.5kB 100.0% 🚀
assets/client-C67aOepP.js (New) 151.47kB 151.47kB 100.0% 🚀
assets/maintainer-panel-BNbH19Ex.js (New) 78.99kB 78.99kB 100.0% 🚀
assets/what-you-can-verify-O9XQoPIZ.js (New) 54.77kB 54.77kB 100.0% 🚀
assets/verify-this-review-NDb9HyS-.js (New) 40.8kB 40.8kB 100.0% 🚀
assets/routes-D_Nn4eJ_.js (New) 35.96kB 35.96kB 100.0% 🚀
assets/owner-panel-D8MLpyMH.js (New) 27.92kB 27.92kB 100.0% 🚀
assets/app-C-2zktag.js (New) 25.78kB 25.78kB 100.0% 🚀
assets/ui-vendor-DXVyaXVE.js (New) 24.57kB 24.57kB 100.0% 🚀
assets/miner-panel-rM81h1lL.js (New) 20.24kB 20.24kB 100.0% 🚀
assets/app.runs-BSXivPjU.js (New) 20.22kB 20.22kB 100.0% 🚀
assets/api._op-CrkcOJWH.js (New) 17.57kB 17.57kB 100.0% 🚀
assets/self-hosting-docs-audit-CAYaxqZQ.js (New) 16.6kB 16.6kB 100.0% 🚀
assets/docs._slug-BQlGXU56.js (New) 15.52kB 15.52kB 100.0% 🚀
assets/playground-panel-DuyVjiiW.js (New) 14.42kB 14.42kB 100.0% 🚀
assets/fairness-Bcmbf45e.js (New) 10.73kB 10.73kB 100.0% 🚀
assets/app.audit-DJQcoSIo.js (New) 10.08kB 10.08kB 100.0% 🚀
assets/app.config-generator-vpTXCmGD.js (New) 10.06kB 10.06kB 100.0% 🚀
assets/maintainers-ZEc9iXgP.js (New) 8.06kB 8.06kB 100.0% 🚀
assets/miners-BNFPTZVc.js (New) 7.91kB 7.91kB 100.0% 🚀
assets/agents-mUH8lwyo.js (New) 7.74kB 7.74kB 100.0% 🚀
assets/commands-panel-v1A7beRL.js (New) 6.65kB 6.65kB 100.0% 🚀
assets/maintainer-workflow-Ck6s6w_A.js (New) 6.52kB 6.52kB 100.0% 🚀
assets/digest-panel-DjvLC7_S.js (New) 6.15kB 6.15kB 100.0% 🚀
assets/repos._owner._repo.quality-Czggs30k.js (New) 6.14kB 6.14kB 100.0% 🚀
assets/docs-nav-DxjgH26I.js (New) 6.01kB 6.01kB 100.0% 🚀
assets/docs.index-Ds3Ve4ZW.js (New) 5.95kB 5.95kB 100.0% 🚀
assets/api.index-CZK6O8or.js (New) 4.7kB 4.7kB 100.0% 🚀
assets/docs-DwXfsFlg.js (New) 2.7kB 2.7kB 100.0% 🚀
assets/api-CD1cWsnr.js (New) 2.69kB 2.69kB 100.0% 🚀
assets/docs-page-uMycYKh9.js (New) 2.1kB 2.1kB 100.0% 🚀
assets/table-D5fPVNkZ.js (New) 1.75kB 1.75kB 100.0% 🚀
assets/app.workbench-YV1SAFJ8.js (New) 1.58kB 1.58kB 100.0% 🚀
assets/tabs-zg9_fGvN.js (New) 1.39kB 1.39kB 100.0% 🚀
assets/app.repos-DkuoVjKz.js (New) 1.07kB 1.07kB 100.0% 🚀
assets/input-DaFPN29o.js (New) 796 bytes 796 bytes 100.0% 🚀
assets/file-cog-ZT2rZFVE.js (New) 758 bytes 758 bytes 100.0% 🚀
assets/app.maintainer-C1PvudYy.js (New) 502 bytes 502 bytes 100.0% 🚀
assets/app.owner-1Mz5sFMk.js (New) 474 bytes 474 bytes 100.0% 🚀
assets/app.commands-B7ScNCSO.js (New) 455 bytes 455 bytes 100.0% 🚀
assets/app.playground-CBhICXhM.js (New) 442 bytes 442 bytes 100.0% 🚀
assets/index-DuXwQKeW.js (New) 438 bytes 438 bytes 100.0% 🚀
assets/app.digest-U3V8Bsxy.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/eye-off-Au2B7YNJ.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/app.miner-CoZ8jBEN.js (New) 422 bytes 422 bytes 100.0% 🚀
assets/key-round-P6t9jsiX.js (New) 355 bytes 355 bytes 100.0% 🚀
assets/bot-ke4v4q_k.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/trash-2-C_KUgfpW.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/save-CN6-mmc5.js (New) 327 bytes 327 bytes 100.0% 🚀
assets/git-pull-request-arrow-D5Akd1-3.js (New) 321 bytes 321 bytes 100.0% 🚀
assets/list-checks-DIG5Xrzy.js (New) 279 bytes 279 bytes 100.0% 🚀
assets/compass-BxifNXk6.js (New) 251 bytes 251 bytes 100.0% 🚀
assets/history-BskjJ3Di.js (New) 237 bytes 237 bytes 100.0% 🚀
assets/message-square-CIW1gnFk.js (New) 233 bytes 233 bytes 100.0% 🚀
assets/lock-D6s6a0PS.js (New) 206 bytes 206 bytes 100.0% 🚀
assets/rotate-cw-D7wOTY3N.js (New) 201 bytes 201 bytes 100.0% 🚀
assets/play-D7ZF3BeI.js (New) 190 bytes 190 bytes 100.0% 🚀
assets/circle-check-CgLNkUhd.js (New) 178 bytes 178 bytes 100.0% 🚀
assets/search-xZcwN5Fr.js (New) 174 bytes 174 bytes 100.0% 🚀
assets/add-scalar-classes-Be7dtln8.js (Deleted) -2.16MB 0 bytes -100.0% 🗑️
assets/tanstack-vendor-CGSpsB5i.js (Deleted) -913.91kB 0 bytes -100.0% 🗑️
assets/docs.fumadocs-spike-api-reference-DTLtPPeF.js (Deleted) -443.45kB 0 bytes -100.0% 🗑️
assets/AgentScalarChatInterface.vue-iGEdSZeI.js (Deleted) -201.7kB 0 bytes -100.0% 🗑️
assets/modal-*.js (Deleted) -184.5kB 0 bytes -100.0% 🗑️
assets/client-CVCtmw1n.js (Deleted) -151.47kB 0 bytes -100.0% 🗑️
assets/maintainer-panel-BjOTlahS.js (Deleted) -78.99kB 0 bytes -100.0% 🗑️
assets/what-you-can-verify-WYKa_oSR.js (Deleted) -54.1kB 0 bytes -100.0% 🗑️
assets/routes-DA54I6Le.js (Deleted) -35.96kB 0 bytes -100.0% 🗑️
assets/verify-this-review-Bt_m4DoQ.js (Deleted) -32.48kB 0 bytes -100.0% 🗑️
assets/owner-panel-BxuMiuCn.js (Deleted) -27.92kB 0 bytes -100.0% 🗑️
assets/app-AU--k-vI.js (Deleted) -25.78kB 0 bytes -100.0% 🗑️
assets/ui-vendor-BQS1Zftn.js (Deleted) -24.57kB 0 bytes -100.0% 🗑️
assets/miner-panel-CqM7MPS5.js (Deleted) -20.24kB 0 bytes -100.0% 🗑️
assets/app.runs-CeYgmORT.js (Deleted) -20.22kB 0 bytes -100.0% 🗑️
assets/api._op-BFQWfcn9.js (Deleted) -17.57kB 0 bytes -100.0% 🗑️
assets/self-hosting-docs-audit-CvXT8jki.js (Deleted) -16.6kB 0 bytes -100.0% 🗑️
assets/docs._slug-DgmQKj7f.js (Deleted) -15.52kB 0 bytes -100.0% 🗑️
assets/playground-panel-Dj7muM7P.js (Deleted) -14.42kB 0 bytes -100.0% 🗑️
assets/fairness-dmwQ4n4o.js (Deleted) -10.73kB 0 bytes -100.0% 🗑️
assets/app.audit-DpZEfpKc.js (Deleted) -10.08kB 0 bytes -100.0% 🗑️
assets/app.config-generator-BlMIdWhd.js (Deleted) -10.06kB 0 bytes -100.0% 🗑️
assets/maintainers-Dst5ojPo.js (Deleted) -8.06kB 0 bytes -100.0% 🗑️
assets/miners-Dzmljb2C.js (Deleted) -7.91kB 0 bytes -100.0% 🗑️
assets/agents-Dpk_gj0x.js (Deleted) -7.74kB 0 bytes -100.0% 🗑️
assets/commands-panel-B8Gi4y1P.js (Deleted) -6.65kB 0 bytes -100.0% 🗑️
assets/maintainer-workflow-C0crBeos.js (Deleted) -6.52kB 0 bytes -100.0% 🗑️
assets/digest-panel-BXuwCicO.js (Deleted) -6.15kB 0 bytes -100.0% 🗑️
assets/repos._owner._repo.quality-CCza5CtT.js (Deleted) -6.14kB 0 bytes -100.0% 🗑️
assets/docs-nav-tyQcMghf.js (Deleted) -6.01kB 0 bytes -100.0% 🗑️
assets/docs.index-Cj6CZCAs.js (Deleted) -5.95kB 0 bytes -100.0% 🗑️
assets/api.index-Be00UFYE.js (Deleted) -4.7kB 0 bytes -100.0% 🗑️
assets/docs-DI0mpBC2.js (Deleted) -2.7kB 0 bytes -100.0% 🗑️
assets/api-De8cjXIF.js (Deleted) -2.69kB 0 bytes -100.0% 🗑️
assets/docs-page-DdqdagYF.js (Deleted) -2.1kB 0 bytes -100.0% 🗑️
assets/table-CEn13uEB.js (Deleted) -1.75kB 0 bytes -100.0% 🗑️
assets/app.workbench-CCXUmRT5.js (Deleted) -1.58kB 0 bytes -100.0% 🗑️
assets/tabs-CsSviwlD.js (Deleted) -1.39kB 0 bytes -100.0% 🗑️
assets/app.repos-DAdwTweL.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/input-BqPvSDz1.js (Deleted) -796 bytes 0 bytes -100.0% 🗑️
assets/file-cog-DUOq-S_7.js (Deleted) -758 bytes 0 bytes -100.0% 🗑️
assets/app.maintainer-DNYF1pQP.js (Deleted) -502 bytes 0 bytes -100.0% 🗑️
assets/app.owner-CHOzQ_gj.js (Deleted) -474 bytes 0 bytes -100.0% 🗑️
assets/app.commands-ByWQs0vO.js (Deleted) -455 bytes 0 bytes -100.0% 🗑️
assets/app.playground-DNsmpRJM.js (Deleted) -442 bytes 0 bytes -100.0% 🗑️
assets/index-Cz0cCEOv.js (Deleted) -438 bytes 0 bytes -100.0% 🗑️
assets/app.digest-BM904ls-.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/eye-off-dAjfDE0F.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/app.miner-rRCgHu8S.js (Deleted) -422 bytes 0 bytes -100.0% 🗑️
assets/key-round-lxONSK7S.js (Deleted) -355 bytes 0 bytes -100.0% 🗑️
assets/bot-DPCo-rju.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/trash-2-DZtAjewF.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/save-9KzIkFPF.js (Deleted) -327 bytes 0 bytes -100.0% 🗑️
assets/git-pull-request-arrow-x6aMbwhE.js (Deleted) -321 bytes 0 bytes -100.0% 🗑️
assets/list-checks-D_5FQ8RJ.js (Deleted) -279 bytes 0 bytes -100.0% 🗑️
assets/compass-Cf1utcRQ.js (Deleted) -251 bytes 0 bytes -100.0% 🗑️
assets/history--DHChrMH.js (Deleted) -237 bytes 0 bytes -100.0% 🗑️
assets/message-square-ByGHetBo.js (Deleted) -233 bytes 0 bytes -100.0% 🗑️
assets/lock-DJ30kMKk.js (Deleted) -206 bytes 0 bytes -100.0% 🗑️
assets/rotate-cw-G_yqUkAE.js (Deleted) -201 bytes 0 bytes -100.0% 🗑️
assets/play-BERm0GS4.js (Deleted) -190 bytes 0 bytes -100.0% 🗑️
assets/circle-check-CrXj_H86.js (Deleted) -178 bytes 0 bytes -100.0% 🗑️
assets/search-Ssscojx0.js (Deleted) -174 bytes 0 bytes -100.0% 🗑️

@JSONbored JSONbored self-assigned this Jul 29, 2026
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.45%. Comparing base (5ecb771) to head (29461aa).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9675      +/-   ##
==========================================
- Coverage   90.27%   89.45%   -0.82%     
==========================================
  Files         904      904              
  Lines      113177   113179       +2     
  Branches    26840    26841       +1     
==========================================
- Hits       102171   101249     -922     
- Misses       9676    10842    +1166     
+ Partials     1330     1088     -242     
Flag Coverage Δ
backend 94.06% <100.00%> (-1.48%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/review/eval-score-records.ts 100.00% <100.00%> (ø)
src/review/public-rule-precision.ts 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

@JSONbored

Copy link
Copy Markdown
Owner Author

Merge-order note: #9720 also edits src/review/public-rule-precision.ts. It has been restructured so the two no longer collide — verified that both merge cleanly into main in either order, and that all four open PRs applied together typecheck clean with 122 tests passing across the affected suites. No dependency between them.

…its to an empty corpus

`/v1/public/stats` reported a `latestBacktestRun.corpusChecksum` of
4f53cda1…, which is `checksumCases([])` — SHA-256 over the canonicalized
empty case list. The fairness page rendered it as a "Reproducibility freeze
point", and `/v1/public/eval-scores` published two records committed to it
with `trust.tier: "reproducible"` alongside decided=460/confirmed=287. A hash
over zero cases is the same 32 bytes for every rule, every window and every
deployment, so it points at nothing a skeptic can re-derive anything from.

Treat it the same way as a missing run: `loadPublicRulePrecision` now reports
`latestBacktestRun: null` for it, which clears the freeze point from the
fairness page and, through the builder's existing guard, empties the
eval-scores response. The record builder additionally refuses the value on its
own, since it is the code that stamps the `reproducible` tier and should not
depend on its caller to be honest.

The scores are unaffected — they come from a different dataset
(`signal.human_override:*` audit events), so an empty corpus never means the
numbers are zero, only that they are uncommitted, which is exactly the state
the record spec says must not be published.

Docs: the walkthrough's step 4 referenced a bare `/v1/public/stats`, which
resolves against loopover.ai and 404s — only the API host serves it. Fetch it
absolutely, matching the convention in what-you-can-verify.mdx. Step 1 and the
track-record command shell out to `wrangler d1 execute --remote` against the
deployment's own database, so they need that deployment's Cloudflare
credentials and are not runnable by a third party; each step is now marked
with who can actually run it instead of the page claiming nothing needs a key.
The freeze point covers whichever single rule the latest run backtested, not
every rule on the report, and is described that way now.
@JSONbored
JSONbored force-pushed the fix/public-verifiability-gaps branch from d1ca88e to 29461aa Compare July 29, 2026 06:21
@JSONbored
JSONbored merged commit 56961e0 into main Jul 29, 2026
11 checks passed
@JSONbored
JSONbored deleted the fix/public-verifiability-gaps branch July 29, 2026 06:46
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.

Public verifiability: the published freeze point commits to an empty corpus, and the walkthrough's stats link 404s

1 participant