Skip to content

feat(roadmap): the intake duplicate evaluation set runs against the live intake model and reports a score per case #1989

Closed

Description

@dan-petty

Problem

tests/fixtures/roadmap/intake-duplicate-judgements.json holds eight intake duplicate judgements: five wrong folds from 2026-10-20 and three duplicates that a person closed. The tests of #1755 replay the recorded model answers offline. Nothing runs the set against the live intake model, so a prompt or model change that folds a related item again shows only in a later wrong fold.

devops ai prompt-eval counts review verdicts from .data/feedback_dataset.jsonl and calls no model.

Proposed fix

  • Before building a runner, check whether an open evaluation tool covers this need, for example promptfoo, DeepEval or pydantic-evals (pydantic_evals ships with pydantic-ai, which the project uses).
  • Run each case of the set through the intake model at the gateway, and score duplicate_of against the expected answer.
  • Report the score for each case and the total. The run makes model calls only when a person starts it.

Acceptance criteria

  • One command runs the intake duplicate set against the configured intake model and prints the score for each case.
  • A test runs the command against the shared model fake and checks the score table.

Proposed design

Problem statement

The intake duplicate evaluation set holds eight cases, but nothing runs them against the live intake model. Tests only replay recorded answers offline. A prompt or model change that folds a related item again is found only when a person meets a wrong fold in production. A live runner is needed so a person can score the set against the current model at any time.

Acceptance criteria

  • Criterion 1: One command runs the intake duplicate set against the configured intake model and prints the score for each case and the total.
    Verification: Run the command with a configured model. Confirm it prints one score line per case and a total line. Confirm it exits 0.
  • Criterion 2: A test runs the command against the shared model fake and checks the score table.
    Verification: Run the test suite. Confirm the test asserts the per-case scores and the total match the expected values from the fixture.

Key questions

  • Which open evaluation tool covers this need?: Use pydantic_evals. It ships with pydantic-ai, which the project already uses. The archived capability-probes design already scores responses with pydantic_evals.Dataset and deterministic evaluators on the CLI side. [sources: openspec/changes/archive/2026-10-24-595-capability-probes/design.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/feature
    scope/roadmap
    on Oct 23, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Priority: P2-Medium. The change improves the accuracy of intake duplicate detection but is not critical for immediate delivery.
    • Value: Medium. The change helps prevent wrong folds and improves intake quality, which benefits users.
    • Effort: Medium. The change requires integrating with the live model and adding scoring logic for evaluation.
  3. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Six more wrong folds for the evaluation set (2026-10-24, devops roadmap intake --plan): intake judges each of these a duplicate of #2174 and would close it, but each one names a different group of test files and gives its own pull request. The shared words are the method ("start no git and reach git through the git fake"), not the work.

    Candidate Judged duplicate of Expected
    #2178 roadmap refine, run and intake tests #2174 (data dir, run store and gitignore tests) new item
    #2179 devops ci, devops test and fail-to-pass tests #2174 new item
    #2180 review tests #2174 new item
    #2181 analyze, AI tooling and security scanner tests #2174 new item
    #2182 Kubernetes and Argo CD gate tests #2174 new item
    #2183 repos, branches, github, ssh, devcontainer, tf and openspec tests #2174 new item

    Earlier the same day intake also folded #2146 (a git seam with recorded transcripts) and #2149 (the sandbox on the process fake) into #2143, which changes only documents; with --source #2143 it filed them. The pattern: two items that apply one method to different files, or a code item and the document item that states its rule.

  4. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Status set to Ready at bb46660 (see proposed design in issue body).

  5. added
    priority/p2-medium
    status/ready
    value/medium
    effort/medium
    on Oct 28, 2026
  6. removed
    status/ready
    on Oct 30, 2026
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

    effort/mediumpriority/p2-mediumscope/roadmaptype/featurevalue/medium

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions