Skip to content

Accept paraphrased upstream change in remote pins grader - #32

Open
jongio wants to merge 15 commits into
mainfrom
jongio-stabilize-remote-pins-grader
Open

jongio wants to merge 15 commits into
mainfrom
jongio-stabilize-remote-pins-grader

Conversation

@jongio

@jongio jongio commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

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.
  • npm run lint: pass.
  • No local or hosted paid eval runs.

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>
@jongio
jongio requested a review from a team as a code owner November 25, 2026 22:27
Copilot AI adaptive review requested due to automatic review settings November 25, 2026 22:27
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

2 open issues
What changed in this PR

This PR broadens the remote-pin eval grader to recognize paraphrases of the fixture’s upstream change and adds diagnostics for failed checks.

Changes:

  • Accepts more empty-note-list descriptions while retaining the offline requirement and scoring threshold.
  • Adds optional failure details and bounded, redacted output excerpts.
  • Adds deterministic tests for accepted wording, rejected summaries, and diagnostic redaction.
File Description
evals/​marketplace-maintainer/​skills/​update-remote-pins/​grader.mjs Expands change matching and reports missing conditions.
evals/​_shared/​graders/​common.mjs Adds shared failure details and excerpt handling.
.github/​scripts/​update-remote-pins.test.mjs Adds model-free matching and diagnostic tests.

Review effort: Balanced (adaptive)

Comment thread evals/_shared/graders/common.mjs Resolved
jongio and others added 2 commits November 25, 2026 14:33
…ns grader

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jongio

jongio commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

Copilot review 6065905698 ("🟡 Changes recommended", concern:48c71fd380b7180e). Each part is addressed:

  • Negated change claims: fixed in ad05bfd.
  • Release-notes whitespace: fixed in ad05bfd.
  • 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.

Copilot review 6065984800 ("🟡 Changes recommended", concern:aaa81f4bc74dde42):

  • 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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

1 open issue
2 resolved since last review

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

High severity 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.

Medium severity Avoid rejecting summaries that describe past lack of support

evals/​marketplace-maintainer/​skills/​update-remote-pins/​grader.mjs:7

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.

Medium severity Normalize curly apostrophes when checking negation

evals/​marketplace-maintainer/​skills/​update-remote-pins/​grader.mjs:18

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.

1 resolved since last review

Review effort: Balanced (adaptive)

…mote pins grader tests

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

1 open issue

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The denial matcher rejects accurate summaries that contrast new support with historical limitations, so valid reports can fail CI’s 1.0 threshold.

No open issues 🎉

1 resolved since last review

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

1 open issue

Review effort: Balanced (adaptive)

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>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

2 open issues
1 resolved since last review

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

No open issues 🎉

2 resolved since last review

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

No open issues 🎉

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

No open issues 🎉

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

1 open issue

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

1 open issue
1 resolved since last review

Review effort: Balanced (adaptive)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

No open issues 🎉

1 resolved since last review

Review effort: Balanced (adaptive)

This branch was successfully deployed

No deployments
evals — 9ff2b522 Deployed Nov 25, 2026 by jongio via evals #11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants