Skip to content

feat(roadmap): devops roadmap intake-eval scores duplicates - #2601

Merged
dan-petty merged 3 commits into
mainfrom
feat/1989-intake-duplicate-eval
Oct 29, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/1989-intake-duplicate-eval

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The evaluation set of intake's duplicate judgement (#1755) ran only as replayed replies, so a prompt or model change that folds a related item again showed only as a wrong fold in a later intake run.

devops roadmap intake-eval runs each case against the configured analysis model, one at a time. Each case seeds an in-memory roadmap with its item, and intake plans the candidate with no write, so intake's own code reads the reply. pydantic-evals scores each verdict against the person's (EqualsExpected, ConfusionMatrixEvaluator). The report gives each case, the cases that agree, and the precision and recall of the duplicate verdict with the false duplicates. The run sends no embedding or GitHub request; --dry-run sends none at all. The command is not an MCP tool.

The set moves into the package and gains the eight wrong folds of 2026-10-24 recorded on #1989.

Closes #1989

Change: openspec/changes/archive/2026-10-29-1989-intake-duplicate-eval/

…udgement

The evaluation set of intake's duplicate judgement (#1755) ran only as
replayed replies, so a prompt or model change that folds a related item
again showed only as a wrong fold in a later intake run.

`devops roadmap intake-eval` runs each case against the configured
analysis model, one case at a time. Each case seeds an in-memory roadmap
with the case's item, and intake plans the candidate with no write, so
intake's own code reads the reply. pydantic-evals scores each verdict
against the person's verdict, and the report gives each case, the cases
that agree, and the precision and recall of the duplicate verdict with
the false duplicates. The run makes no embedding request and no GitHub
request, and `--dry-run` makes no request.

The set moves into the package, so an installed command can read it, and
gains the eight wrong folds of 2026-10-24 that the owner recorded on
#1989.
@dan-petty

Copy link
Copy Markdown
Owner Author

Test evidence and the live score.

Tests

  • tests/test_roadmap_duplicate_eval.py: 7 tests. They failed first (the module did not exist) and pass now. They run the command over the shared model fake: one folded case (precision 3 of 4, 1 false duplicate), all cases agree, a reply with no shared change counts as a new item, a failed call (exit 1, the case shows its error), no labels file (exit 1 before any model call), and the dry run (16 calls listed, none made).
  • After the rebase onto a95992aa: 379 tests pass in test_roadmap_duplicate_eval, test_roadmap_intake (the replay tests of fix(roadmap): intake calls a candidate a duplicate only when it asks for the same change, not when it shares a theme #1755 on the moved set), test_mcp, test_all_commands_help_dryrun and test_docs. Ruff, mypy, devops docs check and openspec validate --strict pass.

Live run (2026-10-29, one run, uv run devops roadmap intake-eval, analysis model qwen3.8:27b through the gateway): 16 analysis calls in 222 s, no embedding and no GitHub request, exit 0.

Count
Cases that agree 13 of 16
False duplicates (P0) 0
Duplicate precision none (intake judged no case a duplicate)
Duplicate recall 0 of 3
  • All 13 cases that a person judged a new item agree, including the eight wrong folds of 2026-10-24.
  • The 3 true duplicates disagree: intake named each item as related, not as the original. For example, for the in-container keyring case: "Both address keyring availability for secrets, but the candidate fixes a false success exit while item 1 provides a backend." Since fix(roadmap): intake calls a candidate a duplicate only when it asks for the same change, not when it shares a theme #1755, the model names an original only with a shared change, so this run shows that rule trading recall for no false duplicate.

Pending a person: review the diff in tuicr (tuicr -r origin/main..HEAD).

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 02:39
@dan-petty
dan-petty merged commit 22146d6 into main Oct 29, 2026
16 checks passed
@dan-petty
dan-petty deleted the feat/1989-intake-duplicate-eval branch October 29, 2026 03:05
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.14.0](v0.13.2...v0.14.0)
(2026-10-29)


### Features

* **argo:** apps status checks each pinned image against its registry
([#2605](#2605))
([6933005](6933005)),
closes [#1997](#1997)
* **k8s:** push the Argo CD notifier App's IDs and key
([#2608](#2608))
([a408dee](a408dee))
* **release:** an urgent fix merges the release pull request
([#2596](#2596))
([20e8ac4](20e8ac4))
* **roadmap:** a webhook event runs intake of its one issue
([#2607](#2607))
([cf9f02c](cf9f02c)),
closes [#2009](#2009)
* **roadmap:** devops roadmap intake-eval scores duplicates
([#2601](#2601))
([22146d6](22146d6))


### Code Refactoring

* **ai:** three in-process caches use cachetools
([#2611](#2611))
([0c30d2a](0c30d2a)),
closes [#1993](#1993)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant