Skip to content

Check each regex grader against a known-good and a known-bad reply #221

Open

Description

@rajamatt

Why

One of the four failure causes #216 lists is "a grader was too literal". Today a regex grader that rejects a correct answer is found only when a paid run fails it, and a not_contains grader that misses the anti-pattern is never found. dotnet/skills requires each eval's golden answer to pass every deterministic grader, and a realistic broken answer to fail at least one.

Proposal

  • Give each case a correct reply and, where it helps, a realistic wrong one, next to its graders (where they live is to be decided: claude plugin eval must not read them as graders).
  • Have Test-EvalCases.ps1 run every regex grader against them: the correct reply passes all of them, and the wrong reply fails at least one. No model calls, so it runs on every PR.
  • LLM rubrics stay out of scope: checking them needs a model.

Cost

A correct reply, and often a wrong one, for each of the 42 cases. Start with the suites whose graders have been too literal before. The uno-authentication and uno-kiota graders were checked this way by hand while #218 was written (44 probes), so their replies can be lifted from that.

Related: #216

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions