Repository navigation
have contains read the reports, not the contributor headings the judge is shown - #44
Open
saadiqbal-dev wants to merge 1 commit into
Open
saadiqbal-dev wants to merge 1 commit into
saadiqbal-dev wants to merge 1 commit into
Conversation
…e is shown With several reports, `contains` read `judgedText(delivered)`, which heads each report with `## <contributor account>` for the model judge. A phrase found only in an account name (`testnet`, `alice`) passed a required `contains`, and the same phrase with `absent` failed, whatever the reports said. With one report there is no heading, so precheck and evaluation could disagree. `contains` now reads the reports' own texts joined together, like every other check that reads them through `reportsOf`. docs/spec.md, "A criterion holds for the deliverable as a whole", says so. Closes MultiAgency#43 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
CI on this branch's head ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #43.
With several reports,
containsreadd.text, which isjudgedText(delivered): each report under a## <contributor account>heading, for the model judge.containsmatched those headings as if they were report text.contains"testnet"alice.testnet,bob.testnet; neither says it"alice",absent"## ",absent"testnet"alice.testnetThe last row is why it mattered beyond one check. A contributor's
/api/checksees one draft, with no heading, so the same report could pass at precheck and fail at evaluation, or the other way round.Change
app/src/server/checks.ts:containsreads the reports' own texts, joined, throughreportsOf, like the other checks.llm_judgestill sees the headings.docs/spec.md, "A criterion holds for the deliverable as a whole":containsreads the reports' joint text "without the contributor headings a model judge is shown".app/test/checks.test.ts: the rows above, in both report orders, under the rule's existing citation.Rules changed
bun scripts/rules-changed.ts db6f449:Verified
pnpm typecheckpasses.pnpm test: 386 passed, 1 skipped.expected 'pass' to be 'fail').pnpm test:e2eis flaky on this machine under full-suite load, onmaintoo (7 failures there). The journey and launch-link specs that failed pass when run alone, and 15/15 with--repeat-each=5, on bothmainand this branch.There are no changes to the contract, the Rust evaluator (one report per run, with a pinned hash), Params or wire formats.
🤖 Generated with Claude Code