feat(calibration): reason-code enrichment pass — the flat-confidence era's only discriminator#8258
Conversation
…era's only discriminator (#8243) Investigation result first: the constant-1.0 decision confidence has NO live writer to fix — those decisions came from the retired legacy content gate (review_targets decisions stopped 2026-06-22); the live path records finding-level confidences that genuinely vary. What the backfill era needs instead is segmentability: pass C copies the ledger's own decision reasonCode onto each phase-1 fired row (DB-only, idempotent, distinct provenance), separating AI-judgment closes (dual_review_declined, 48%) from deterministic ones. Applied to both stores (460/460 each) and immediately decisive: thin_description closes reversed 100% (20/20 — pure friction), checks_failed 47%, dual_review_declined 30%, strict_duplicate 15%. Per-reason reversal rates are exactly the evidence the disposition and drift work (#8211 tracks A/D) consume. Closes #8243
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-23 15:53:35 UTC
Review summary Nits — 5 non-blocking
Concerns raised — review before merging
📋 Copy for AI agents — paste into your coding agentDecision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionNot yet addressed 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8258 +/- ##
=======================================
Coverage 92.14% 92.14%
=======================================
Files 785 785
Lines 78715 78715
Branches 23759 23757 -2
=======================================
Hits 72531 72531
Misses 5062 5062
Partials 1122 1122
Flags with carried forward coverage won't be shown. Click here to find out more. |
What
#8243's investigation + its actionable core. The constant-1.0 decision confidence has no live writer to fix: those decisions came from the retired legacy content gate (review_targets decisions stopped 2026-06-22), and the live path records finding-level confidences that genuinely vary. What the backfill era needs is segmentability — so pass C copies the ledger's own decision
reasonCodeonto each phase-1 fired row (DB-only, zero GitHub, idempotent, distinct provenance).Already applied to BOTH stores (460/460 each) and immediately decisive
Every
thin_descriptionclose was pure friction — the author's rework always merged. These per-reason rates are exactly the evidence the disposition/drift work (#8211 tracks A/D) consumes.Validation
Full
npm run test:cigreen (TEST_CI_EXIT=0, zero failed files); core patcher 100% covered (idempotency, never-guess, trim arms).Closes #8243