You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Accept paraphrased upstream change in remote pins grader - #32
The update-remote-pins eval intermittently scores 0.963 (26/27) on main and PRs (for example run 45641356558), which fails CI's absolute 1.0 threshold. The likely cause is the program grader's literal empty note lists regex rejecting paraphrases of the fixture's only upstream change.
Grader (evals/marketplace-maintainer/skills/update-remote-pins/grader.mjs): accepts equivalent wordings of "Add support for empty note lists" within one sentence (for example "empty notes list", "notes list can now be empty", "empty lists of notes", "lists with no notes", **empty** note lists, empty-note-list). Still rejects missing changes, "release notes", the plugin's own "outside notes" description, and negations such as "must not be empty". The offline/recorded requirement, the other checks, and the 1.0 threshold are unchanged.
Diagnostics (evals/_shared/graders/common.mjs): check() takes an optional third detail argument, which score() appends to failure evidence. Only short lowercase condition labels are kept; anything else is dropped. Existing two-argument callers behave the same. On failure, this grader now names the missing condition (no empty-note-list change and/or no offline limit). It never echoes model output, so nothing sensitive reaches logs.
Tests (.github/scripts/update-remote-pins.test.mjs): deterministic, model-free positive and negative cases, plus a test that failure evidence doesn't echo model output.
Known limitations
github/evals-action keeps only aggregate scores in report.json and job logs (upload-transcripts: false). Failed-check names show up in local vally results, but hosted CI still won't show which check failed. Fixing that would mean changing the workflow, which is out of scope here.
The Skill eval comparison select job only matches plugins/*/skills/**, so this grader-only PR skips run-baseline, run, and report. evals.yml is manual-only, uses AI credits, and wasn't dispatched.
Validation
node --test .github/scripts/update-remote-pins.test.mjs .github/scripts/release-plugins.test.mjs .github/scripts/pr-description.test.mjs .github/scripts/local-testing.test.mjs: 24/24 pass. The new paraphrase test failed on the old grader.
Match equivalent wordings of the fixture's empty-note-list change within one
sentence, and report which check failed with a bounded, redacted output
excerpt through an optional detail on the shared check helper.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved redaction flaws can expose credentials or stall grading, while permissive grader patterns incorrectly award credit for negated changes and unrelated release-note statements.
Redaction flaws and grading stalls: the output excerpt and its redaction regex were removed in 45cb3b0. Details are limited to short condition labels in e33cf89.
Sentence-wide negation rejected valid reports: fixed in 306e541. Only a denial of support or emptiness now counts, and the reviewer's examples are positive tests.
Copilot review 6066051339 on 306e541 ("🔵 Needs a closer look", concern:322b07b3172851de), all fixed in 2d01489:
concern:87b9b532525b1326, shared-helper test without evals/: now uses pinsTest, so it's skipped when evals/ is absent.
concern:ee6a33e45165248e, past lack of support: "previously/formerly unsupported" and "don't need to handle" no longer count as denial. Both are positive tests.
concern:73d0181cb6b7bbb2, curly apostrophes: normalized before the negation check. aren’t supported is now a negative test.
Copilot review 6066118875 on 2d01489 ("🟡 Changes recommended", concern:fdcfb2209f92205b):
Contradictory "not handled" claims: fixed in 0512bd5.
Historical descriptions: already accepted as of 2d01489. "previously unsupported" and "don't need to handle" are positive tests.
Copilot review 6066172773 on 0512bd5 ("🔵 Needs a closer look", historical contrast): fixed in 68f6f80. An explicit now supports/handles… affirmation overrides an earlier denial. ...not supported now is still rejected.
Review 6066229638 (Changes recommended, 1 open issue): fixed in b831c7e. Scoring is per clause, and I added regression cases; thread resolved.
Review 6066387360 (Changes recommended, 2 open issues): both fixed in 5f16511. Clause splitting is linear, and fallback denials now block only subjectless clauses. Both threads resolved.
Review 6066459072 (Needs a closer look, no open issues): I re-audited and confirmed two false negatives (no longer rejects and historical denial + supports them without now). Fixed in b910e15 with regression cases.
Review 6066511110 (Needs a closer look, no open issues): I re-audited and confirmed two false negatives (soft-wrapped sentences and passive they are now supported). Fixed in 9ff2b52 with regression cases.
Review 6066573621 (Needs a closer look, no open issues): declined. I probed 9ff2b52 with contradictory summaries (still aren't supported, as before, remain unsupported, same as v1.0.0, As before, ... are not supported): all rejected. Valid historical contrasts pass. The only miss is a history marker in a separate leading clause (Before v1.1.0, ... were not supported; v1.1.0 adds that support), which fails closed. Handling it would need cross-clause scope tracking, which isn't worth the added complexity for a rare wording.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The sentence-wide negation filter incorrectly rejects valid reports that state both required facts, requiring narrower negation detection and positive regression tests.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
An unconditional grader import breaks CI in the supported remote-only configuration, while negation handling still rejects valid summaries and accepts contradictory ones.
No open issues 🎉
3 previously missed issues
In code that hasn't changed since last review
Skip grader test when the shared eval helper is absent
.github/scripts/update-remote-pins.test.mjs:91
The remote-only setup documented in README.md:183–184 allows removing the entire evals/ tree, but this unconditional test then fails to import the missing shared grader. Since Validate runs every .github/scripts/*.test.mjs file, this breaks CI for that supported configuration. Skip this test when the shared helper is absent, as the earlier tests already do for their eval directory.
Avoid rejecting summaries that describe past lack of support
The sentence-wide negation filter still rejects valid summaries such as Added support for previously unsupported empty note lists. and Empty note lists are now supported, so callers don't need to handle them specially. With the expected catalog and an offline disclaimer, these accurate reports fail the 1.0 threshold. Distinguish historical lack of support and removal of caller workarounds from denial of current support, and add positive regression cases while retaining the negative cases.
Normalize curly apostrophes when checking negation
Lists with no notes aren’t supported. Used the recorded offline snapshot. passes this check, although the same statement with ASCII aren't is correctly rejected. With the expected catalog, this contradictory summary receives full credit. Normalize typographic apostrophes before testing negation and add the curly-apostrophe form to the negative cases.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The grader’s negation logic incorrectly rejects accurate historical descriptions while awarding full credit to contradictory claims that empty note lists are not handled.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The grader’s sentence-wide override awards full credit to negated empty-note-list support claims while rejecting valid historical contrasts, making its scoring unreliable.
Replace the sentence-wide 'now' override: current denials about the lists block the sentence, historical denials need a pronoun affirmation, and unrelated subjects don't block.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The grader risks stalling evaluation jobs through quadratic processing of untrusted output and incorrectly rejects valid summaries that deny support for unrelated features.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the grader can reject accurate summaries of empty note list support when they include historical denials or “no longer rejects” phrasing.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the grader can reject otherwise valid reports with soft-wrapped sentences or passive affirmations of newly supported behavior.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the grader’s handling of historical negation and clause boundaries can reject valid summaries while awarding full credit to contradictory ones.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The grader’s clause-wide historical exemption can award full credit to statements denying current support for empty note lists, contradicting the upstream change.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The grader incorrectly rejects accurate summaries when a historical adverb appears inside a negation, requiring a matching fix and a positive regression case for this word order.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the grader’s handling of negation and historical context can reject accurate summaries while awarding full credit to summaries that describe the opposite change.
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
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.
Summary
The
update-remote-pinseval intermittently scores 0.963 (26/27) on main and PRs (for example run 45641356558), which fails CI's absolute 1.0 threshold. The likely cause is the program grader's literalempty note listsregex rejecting paraphrases of the fixture's only upstream change.evals/marketplace-maintainer/skills/update-remote-pins/grader.mjs): accepts equivalent wordings of "Add support for empty note lists" within one sentence (for example "empty notes list", "notes list can now be empty", "empty lists of notes", "lists with no notes",**empty** note lists,empty-note-list). Still rejects missing changes, "release notes", the plugin's own "outside notes" description, and negations such as "must not be empty". The offline/recorded requirement, the other checks, and the 1.0 threshold are unchanged.evals/_shared/graders/common.mjs):check()takes an optional thirddetailargument, whichscore()appends to failure evidence. Only short lowercase condition labels are kept; anything else is dropped. Existing two-argument callers behave the same. On failure, this grader now names the missing condition (no empty-note-list changeand/orno offline limit). It never echoes model output, so nothing sensitive reaches logs..github/scripts/update-remote-pins.test.mjs): deterministic, model-free positive and negative cases, plus a test that failure evidence doesn't echo model output.Known limitations
github/evals-actionkeeps only aggregate scores inreport.jsonand job logs (upload-transcripts: false). Failed-check names show up in localvallyresults, but hosted CI still won't show which check failed. Fixing that would mean changing the workflow, which is out of scope here.selectjob only matchesplugins/*/skills/**, so this grader-only PR skipsrun-baseline,run, andreport.evals.ymlis manual-only, uses AI credits, and wasn't dispatched.Validation
node --test .github/scripts/update-remote-pins.test.mjs .github/scripts/release-plugins.test.mjs .github/scripts/pr-description.test.mjs .github/scripts/local-testing.test.mjs: 24/24 pass. The new paraphrase test failed on the old grader.npm run lint: pass.