Repository navigation
Description
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_evalsships with pydantic-ai, which the project uses). - Run each case of the set through the intake model at the gateway, and score
duplicate_ofagainst 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.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
- StatusShow more project fieldsNew
Activity
fix(roadmap): intake calls a candidate a duplicate only when it asks …
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The change improves the accuracy of intake duplicate detection but is not critical for immediate delivery.The change helps prevent wrong folds and improves intake quality, which benefits users.The change requires integrating with the live model and adding scoring logic for evaluation.dan-petty commentedon Oct 24, 2026
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.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 #2143it 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.dan-petty commentedon Oct 28, 2026
Status set to Ready at bb46660 (see proposed design in issue body).
feat(roadmap): devops roadmap intake-eval scores duplicates (#2601)