Skip to content

referees: engine vs referee-majority column (Part of #4438) - #5409

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4438-20261018T0516Z
Oct 18, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4438-20261018T0516Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4438 (item 2: the referee-majority column). Tooling only; no engine change, so no golden bless.

What

tests/tools/referees/score.py gains a referee-majority comparison per fact channel: a value is in the majority when MORE than half of the voting referees report it (2 of 3; with 2 voters both). A voter produces the channel and parsed the file; a file with fewer than 2 voters is skipped. New: the majority scored against the key, engine-vs-majority agreement, engine-only / majority-only counts split by in key / not in key, a majority JSON section and a referee-majority section in disagreements.json. All omitted with fewer than 2 referees, so existing output is unchanged.

Class table (same mechanism, all in this PR)

member status
per-channel majority table done
majority-vs-key P/R done
majority disagreement samples done
cics_commands key-verb scoping, n/a channels done, tested

Not here (other items on #4438)

  • Item 1 (re-score on main, post numbers): needs the referees installed, and publishing is on hold (owner note 2026-10-05). No numbers are in this PR.
  • Item 3 (Che4z over LSP): a new adapter, different mechanism.
  • Item 4 (nightly run): a new workflow, different mechanism.

Cross-repo

None.

Gates

pr_gates --fast 6/6, --ratchets 8/8 pass (none skipped); referee tests + tree-wide guards 197 pass; time ratchet 0 over; plain pytest from /tmp passes. The majority definition (strict half, 2 voters minimum) is a design call: say if you want another.

🤖 Generated with Claude Code

…4438)

Adds the referee majority (more than half of the voting referees, at least 2
voters) per fact channel: the majority scored against the key, the engine's
agreement with it, and engine-only / majority-only values with the key's
verdict, plus a referee-majority section in disagreements.json. Omitted
unless two or more referees are present, so existing output is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 05:24
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant