Skip to content

Remove the weather-to-test-value regex grader that fails correct replies in the testing plan eval case #16012

Closed

Description

@kyle-sexton

Agent Brief

Type: Bug
Summary: The testing plugin's eval case pl-branch-test-plan carries a regex grader, weather-to-test-value, that fails every run even when the reply is right.

Current behavior:
Found by the simplify epic's eval after-runs (#14161); the cause is #15678 (commit ca08029), not a simplify commit.

  • feat(testing): plan fuzz targets and consumer-driven contract tests in testing:plan #15678 added four graders to the case, with the weather client fixture and prompt lines. graders/weather-to-test-value.md is a regex on the last message: it needs the weather client's name (WeatherClient, weather_client, forecast_c, weather API or forecast API) and test-value on the same line, within 240 characters.
  • In 8 of 8 runs on commit 47314c2 the reply planned canned-response tests for the weather client and passed the model-graded fuzz-and-contract-rows grader, which checks the same requirement ("canned responses whose expected values come from testing:test-value"), with all three judges voting pass each time. The regex still failed 8 of 8: five replies name testing:test-value in a section heading with the weather line below it, and three name it in a general note.
  • So the case scores 0.88 at best and never 1.00.

Desired behavior:

  • The case no longer fails a correct reply on line layout. Remove graders/weather-to-test-value.md and samples/weather-to-test-value.json; fuzz-and-contract-rows already holds the requirement.
  • If a deterministic check is kept instead, it tests only what replies write on the client's own line (no contract test, or canned responses, near the weather client's name), and its samples include a pass sample in the heading-then-list layout.

Files:

  • the pl-branch-test-plan case under plugins/testing: graders/weather-to-test-value.md, samples/weather-to-test-value.json
  • a changelog fragment for the testing plugin, if the repository's rules ask one for an eval-only change

Acceptance criteria:

  • /evals:validate passes on the case.
  • ci-status is green.

Host check after merge (not a done-when item): the case alone, 8 runs with claude plugin eval on the fixed tree; the target is 1.00 with the plugin in at least 6 of 8, the rate it had before #15678.

Out of scope:

  • The plan skill's text and template.
  • The case's other graders.

Activity

  1. added theissue type on Nov 13, 2026
  2. added
    status: ready
    on Nov 13, 2026
  3. removed
    status: ready
    on Nov 13, 2026
  4. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 2 (eval: "The case scores 1.00 with the plugin in at least 6 of 8 runs (claude plugin e..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  5. added
    status: ready
    on Nov 13, 2026
  6. removed
    status: ready
    on Nov 13, 2026
  7. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"08dd5569fc642fdb7bf83c7b1e5fa72bcea1609c8b7b3c6c1254501ae7e5e30b","body_sha256":"582f117c9f8d8eb119cae2c62aa2f540b7caf12f3712896b65a279c6a98d363b"}

  8. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor
    No description provided.
  9. kyle-sexton commented on Nov 14, 2026

    @kyle-sexton
    MemberAuthor

    Host check after merge: below target, back to open

    Hub session (GitHub Support), for the host check tracked in #16071. Case pl-branch-test-plan (testing), run alone on main at 4f2dcaaff35e8f9fccc6a9f4d82a5830ab17a5c5 with this issue's change merged: 8 runs, Sonnet, with the plugin, judge claude-opus-5-5, result file VALID, no errored run.

    • Target: 1.00 in at least 6 of 8 runs. Result: 4 of 8 (scores 1, 0.857, 0.857, 1, 0.714, 1, 0.857, 1). Before the change it was 0 of 8.
    • Failing graders: meets-legacy-plan-1 6 of 8 (one of the two fails is a split judge vote, PASS FAIL FAIL), read-the-parser 6 of 8, fuzz-and-contract-rows 7 of 8. The other four graders pass 8 of 8.

    What is left: the four replies under 1.00, read against those three graders, to tell a grader miss from a plan that leaves the step out.

  10. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  11. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: the weather-to-test-value regex grader was removed in the pl-branch-test-plan case, but the post-merge host check (8 runs) reached 1.00 in only 4 of 8, below the target of 6 of 8. The remaining misses are in meets-legacy-plan-1 (6 of 8, one split judge vote), read-the-parser (6 of 8) and fuzz-and-contract-rows (7 of 8).

    What is left is reading the four sub-1.00 replies against those three graders. That tells a grader miss (fix or loosen the grader) apart from a plan that really leaves the step out (outside this case's scope, since the plan skill's text is out of scope here). No further information is needed from you. Related: #16071 (host check), #15678 (the change that added the graders), #14161. No duplicate or merged fix found among the recent merged PRs.

    Automated triage. A maintainer reviews it.

  12. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"08dd5569fc642fdb7bf83c7b1e5fa72bcea1609c8b7b3c6c1254501ae7e5e30b","body_sha256":"582f117c9f8d8eb119cae2c62aa2f540b7caf12f3712896b65a279c6a98d363b"}

  13. kyle-sexton commented on Nov 15, 2026

    @kyle-sexton
    MemberAuthor

    Host check: at target, closing

    Hub session (GitHub Support). Pull request #16238 merged as 2b03f44d4f76b5ef4c15e9a64142119eccf9aa47; its body carries the full record.

    Case pl-branch-test-plan (testing), run alone on that pull request's head bccbe4d4141f31056e351364d91d07b9ee6eb141: 8 runs, Sonnet, with the plugin, judge claude-opus-5-5, the same launch flags as the earlier host check. Result file VALID, no errored run, no denied tool call.

    • Target: 1.00 in at least 6 of 8 runs. Result: 7 of 8 (main 4f2dcaaff35e was 4 of 8).
    • read-the-parser 8 of 8 (was 6 of 8): the grader fix(testing): pass read-the-parser when a loop prints the parser body #16238 corrected.
    • meets-legacy-plan-1 8 of 8 (was 6 of 8) with no change to it or to the skill, so that part of the gain is run-to-run variation.
    • fuzz-and-contract-rows 7 of 8 (was 7 of 8): the one miss is a reply that plans canned responses for WeatherClient without naming testing:test-value. The plan skill tells the reply to name it, and this issue puts the skill's text out of scope.

    The acceptance criteria were met by the first change, and the host check is now at its target, so this issue is closed as completed. The two reply-side misses seen on main (the testing:test-value route, and /testing:run-e2e on a branch with a route table and no served app) can recur; they are not tracked by an issue yet.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    deferred

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions