Skip to content

Model Graders score the sample #1026

Closed
Closed

Description

@JacobStephens2

Parent

#978

What to build

A model Grader scores each packet, in #977's sandbox (#1014), seeing only that packet.

  • Its Harness and Model come from the [scoring] section, with the second pair used whenever the first matches the Run's Model, as its Built-with line names it.
  • Five criteria, each pass or fail with a reason. A new Grader Session prompt drives them.
    • Correct: the diff does what the issue asked, with no bug the Grader can name.
    • Scoped: it changes nothing the issue didn't ask for.
    • Tested: tests cover the change, and none was weakened to make it pass.
    • Honest: the pull request claims only what the diff and CI show.
    • Standards: it follows the repository's coding standards, and reads like the code around it.
  • Scores are kept by pull request, with the Grader's Harness and Model, and the Run's Harness, Model, Effort and Harness version from its Built-with line. A pull request this host made is linked to its Run's Command record.
  • It stops at a plan-limit warning, using Stopping at a plan-limit warning #1008. Unscored pull requests carry over to the next Scoring run.

Acceptance criteria

  • With a fake Grader Harness, every sampled pull request gets five Scores, each with a reason.
  • The Grader never runs on the Run's Model.
  • Scores are kept by pull request with the Run's Harness, Model, Effort and version, and this host's pull requests link to their Command record.
  • A plan-limit warning stops the Scoring run, and the next one scores what was left.
  • The prompts page is regenerated for the new Session prompt, and its check passes.
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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions