Repository navigation
test(evals): share binary verdicts and reject inconsistent triage expectations - #2973
Conversation
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks—no material issues found. The dataset checker now uses the grader’s binary-label mapping, while unlabeled needs_review remains supported. The shared provider fixtures preserve launch arguments, event values, cleanup ownership, and repeated/concurrent-call assertions.
Validation: the full deterministic eval command passed, including all 16 provider/runner tests and the calibration, grader, hydration and runtime checks. Nineteen additional focused calibration/grader controls passed. Fresh eval/plugin builds, types and formatting passed; exact-head hosted CI has 62 successes. Local execution was on Linux with synthetic providers; native Windows/macOS and live model evaluations were not exercised.
|
@codex review Please review the updated diff against |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
* chore(deps): bump the third-party group across 1 directory with 10 updates Bumps the third-party group with 10 updates in the /sdk/typescript directory: | Package | From | To | | --- | --- | --- | | [@inquirer/checkbox](https://github.com/SBoudrias/Inquirer.js) | `5.2.8` | `5.3.1` | | [@inquirer/confirm](https://github.com/SBoudrias/Inquirer.js) | `6.3.5` | `6.4.1` | | [@inquirer/input](https://github.com/SBoudrias/Inquirer.js) | `5.1.9` | `5.2.1` | | [@inquirer/search](https://github.com/SBoudrias/Inquirer.js) | `4.3.6` | `4.4.1` | | [incur](https://github.com/wevm/incur) | `0.7.1` | `0.10.0` | | [tokenx](https://github.com/johannschopplich/tokenx) | `2.2.0` | `2.2.1` | | [@types/bun](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bun) | `1.4.4` | `1.4.5` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.6` | `26.6.10` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.3.0` | `19.3.2` | | [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check) | `4.10.2` | `4.11.0` | Updates `@inquirer/checkbox` from 5.2.8 to 5.3.1 - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/checkbox@5.2.8...@inquirer/checkbox@5.3.1) Updates `@inquirer/confirm` from 6.3.5 to 6.4.1 - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/confirm@6.3.5...@inquirer/confirm@6.4.1) Updates `@inquirer/input` from 5.1.9 to 5.2.1 - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/input@5.1.9...@inquirer/input@5.2.1) Updates `@inquirer/search` from 4.3.6 to 4.4.1 - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/search@4.3.6...@inquirer/search@4.4.1) Updates `incur` from 0.7.1 to 0.10.0 - [Release notes](https://github.com/wevm/incur/releases) - [Changelog](https://github.com/wevm/incur/blob/main/CHANGELOG.md) - [Commits](https://github.com/wevm/incur/compare/incur@0.7.1...incur@0.10.0) Updates `tokenx` from 2.2.0 to 2.2.1 - [Release notes](https://github.com/johannschopplich/tokenx/releases) - [Commits](johannschopplich/tokenx@v2.2.0...v2.2.1) Updates `@types/bun` from 1.4.4 to 1.4.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/bun) Updates `@types/node` from 26.6.6 to 26.6.10 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/react` from 19.3.0 to 19.3.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `fast-check` from 4.10.2 to 4.11.0 - [Release notes](https://github.com/dubzzz/fast-check/releases) - [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md) - [Commits](https://github.com/dubzzz/fast-check/commits/v4.11.0/packages/fast-check) --- updated-dependencies: - dependency-name: "@inquirer/checkbox" dependency-version: 5.3.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: third-party - dependency-name: "@inquirer/confirm" dependency-version: 6.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: third-party - dependency-name: "@inquirer/input" dependency-version: 5.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: third-party - dependency-name: "@inquirer/search" dependency-version: 4.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: third-party - dependency-name: incur dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: third-party - dependency-name: tokenx dependency-version: 2.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: third-party - dependency-name: "@types/bun" dependency-version: 1.4.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: third-party - dependency-name: "@types/node" dependency-version: 26.6.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: third-party - dependency-name: "@types/react" dependency-version: 19.3.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: third-party - dependency-name: fast-check dependency-version: 4.11.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: third-party ... Signed-off-by: dependabot[bot] <support@github.com> * fix(cli): preserve MCP dispatch and Node 22 support with Incur 0.10 * fix(plugin): remove upfront registration file counts (#2948) Start new scans with an unknown file total. Preserve both checkout fingerprints and existing saved totals. * fix(sdk): correct GPT-5.6 Sol scan prices and the GPT-6 Cyber cost range (#2949) * fix(sdk): update GPT-5.6 Sol rates for scan cost limits * test(sdk): update policy cost expectations for GPT-5.6 Sol * fix(sdk): update Bedrock Sol prices and the GPT-6 Cyber cost range * fix: prevent false --max-cost failures when Deep Scan compares large findings (#2951) fix(deep-scan): split oversized comparisons before tracking worker usage * fix: keep dependency traces running after PDF extraction in Bun (#2926) * test(release): check which workflow results survive a progress update (#2982) * test(plugin): verify finalized reports and visualization through real artifacts (#2983) * test(workbench): verify schema upgrades, linked repositories and archive ownership on disk (#2991) * test(workbench): exercise target binding, scan admission and accounting with registered scans (#3002) * test(workbench): exercise interrupted publication and receipt recovery in SQLite (#3001) * test(sdk): exercise hosted and multi-repository scans through shared client fixtures (#2986) * test(mcp): exercise inventory and dependency traces against real source trees (#2985) * test(mcp): distinguish finding and receipt owners across interrupted scans (#2984) * test(sdk): verify progress and usage across live events and saved records (#2996) * test(imports): exercise hosted scanner selection and replay through real local imports (#2988) * test(mcp): check worker launches, deadlines and shutdown at process boundaries (#2992) * test(release): verify the version and artifacts published after a retry (#2993) * test(imports): consolidate native scanner readers around saved evidence and identity (#2990) * test(sdk): check finding review and retry against stored workflow state (#3000) * test(mcp): verify artifact tools through the connected MCP client (#2989) * test(sdk): exercise dependency investigations from evidence lookup to saved reports (#2997) * test(evals): grade recorded outcomes from real scan and triage fixtures (#3005) * test(sdk): verify issue publication and export through persisted receipts and real processes (#2987) * test(sdk): assert CLI output and navigation through saved scans (#2998) * test(imports): preserve imported findings through replay and publication (#2995) * test(mcp): verify committed reducer histories and terminal scan responses (#3004) * test(sdk): check repository scope and policy decisions against real Git checkouts (#3003) * test(package): exercise installed consumers and the Action through their entry points (#2994) * test(runtime): exercise installation, locking and child cleanup through the shipped plugin (#3006) * test(sdk): verify registration and cleanup through the scan client (#2999) * test(sdk): check saved scan selection and sealed findings through storage (#3009) * fix(sdk): scope cancellation and telemetry to the active operation (#2952) * fix(workbench): roll back only captures created by rejected scan completion (#2953) * test(workers): load recovery and discovery sources directly (#2954) * refactor(release): share live tag checks and authenticate provenance before recovery (#2955) * refactor(plugin): compare staged and installed files with the same selection rules (#2956) * test(sdk): verify live export delivery and share native provider probes (#2957) * test(sdk): wait for credential lock contention and scope fixture spies (#2958) * refactor(sdk): share protected Git path discovery across scan workflows (#2959) * refactor(import): share checkout matching and validate saved scanner pages (#2960) * test(cli): capture diagnostics separately for each completed command (#2961) * refactor(workbench): retire unused registration file counters (#2962) * refactor(workbench): share finding identity, transaction and number handling (#2963) * fix(linear): verify replacement handoffs against the planned issue (#2964) * test(workbench): share publication fixtures and scope database connections to their tests (#2965) * test(workbench): preserve findings and workers in the v53 upgrade fixture (#2966) * refactor(plugin): share threat model route validation and view resolution (#2967) * refactor(workbench): share target and repository identity repair logic (#2968) * fix(workbench): share remediation transitions and compare claim leases by instant (#2969) * refactor(ci): select and verify required checks by workflow job ID (#2970) * refactor(workbench): share selection and reference checks when recovering scan results (#2971) * test(sdk): reject unexpected direct scans and scope client cleanup (#2972) * test(evals): share binary verdicts and reject inconsistent triage expectations (#2973) * refactor(usage): share receipt ranking and build rollout fixtures from thread metadata (#2974) * fix(workbench): resolve finding scopes from a single Git checkout (#2975) * refactor(cli): share command preparation and resolve nested option errors (#2976) * perf(sdk): reuse prepared paths and findings across planning batches (#2977) * refactor(sdk): derive dependency report views from reviewed evidence (#2978) * refactor(import): share scanner evidence checks across capture and replay (#2979) * refactor(providers): share scoped requests in GitHub and Continuum adapters (#2980) * test(action): close the artifact server and restore runner state before directory cleanup (#2981) * chore(deps): bump cross-spawn from 7.0.6 to 7.1.2 in /sdk/mutation (#3012) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.6 to 7.1.2. - [Release notes](https://github.com/moxystudio/node-cross-spawn/releases) - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.6...v7.1.2) --- updated-dependencies: - dependency-name: cross-spawn dependency-version: 7.1.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hono and node-server in MCP app (#3014) * chore(deps): bump hono in /plugins/codex-security/mcp-app Bumps [hono](https://github.com/honojs/hono) from 4.13.13 to 4.13.23. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](honojs/hono@v4.13.13...v4.13.23) --- updated-dependencies: - dependency-name: hono dependency-version: 4.13.23 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): update MCP Hono Node server to 2.1.11 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com> * chore(deps): bump hono and node-server in triage evals (#3013) * chore(deps): bump hono from 4.13.18 to 4.13.23 in /evals/triage-finding Bumps [hono](https://github.com/honojs/hono) from 4.13.18 to 4.13.23. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](honojs/hono@v4.13.18...v4.13.23) --- updated-dependencies: - dependency-name: hono dependency-version: 4.13.23 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): update eval Hono Node server to 2.1.11 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com> * feat(bedrock): price GPT-6 Daybreak scans on Mantle (#2916) * chore(deps): update Codex to 0.174.0 (#3015) chore(deps): bump the codex group across 3 directories with 2 updates Bumps the codex group with 1 update in the /evals/triage-finding directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript). Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript). Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli). Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 Updates `@openai/codex` from 0.172.0 to 0.174.0 Updates `@openai/codex-sdk` from 0.172.0 to 0.174.0 --- updated-dependencies: - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.174.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com> * fix(deps): ship fast-xml-parser 5.12.1 in the GitHub Action (#2929) * chore(deps): bump fast-xml-parser in /github-action Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.12.0 to 5.12.1. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v5.12.0...v5.12.1) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-version: 5.12.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * build(action): ship the patched XML parser in the action bundle --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com> * chore(deps): update backports.zstd to 1.8.1 for plugin tests (#2933) chore(deps): bump backports-zstd in /plugins/codex-security Bumps [backports-zstd](https://github.com/rogdham/backports.zstd) from 1.8.0 to 1.8.1. - [Changelog](https://github.com/Rogdham/backports.zstd/blob/master/CHANGELOG.md) - [Commits](Rogdham/backports.zstd@v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: backports-zstd dependency-version: 1.8.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump ruff from 0.17.5 to 0.17.6 in /plugins/codex-security (#2863) * chore(deps): bump ruff from 0.17.5 to 0.17.6 in /plugins/codex-security Bumps [ruff](https://github.com/astral-sh/ruff) from 0.17.5 to 0.17.6. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.17.5...0.17.6) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.17.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix(plugin): align Ruff configuration with 0.17.6 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com> * chore(deps): refresh the Node 26.13 Docker image digest (#2911) chore(deps): bump node from `5df7998` to `0042e17` Bumps node from `5df7998` to `0042e17`. --- updated-dependencies: - dependency-name: node dependency-version: 26.13-bookworm-slim dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump pyyaml from 6.0.3 to 6.0.4 in /plugins/codex-security (#2870) Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0.3 to 6.0.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES) - [Commits](yaml/pyyaml@6.0.3...6.0.4) --- updated-dependencies: - dependency-name: pyyaml dependency-version: 6.0.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump packaging from 26.3 to 26.4 in /plugins/codex-security (#2897) Bumps [packaging](https://github.com/pypa/packaging) from 26.3 to 26.4. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](pypa/packaging@26.3...26.4) --- updated-dependencies: - dependency-name: packaging dependency-version: '26.4' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com> Co-authored-by: utsav-oai <utsav@openai.com> Co-authored-by: ianw-oai <ianw@openai.com> Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Summary
A negative calibration case could receive a passing grade for a confirmed finding if its expected verdict list started with
confirmedand included a second verdict. A typo in the binary label also bypassed the check.Changes
The dataset check and Promptfoo grader now share the mapping from
positivetoconfirmedandnegativetonot_actionable. The grader requires a single matching verdict when a binary label is supplied. The dataset guide documents both pairs.After merging main, the provider fixture cleanup and the dataset’s vulnerable/fixed checks were already in place. The current diff focuses on grading.
Testing
The new grader assertions reproduced the false positive on main.
npm --prefix evals/triage-finding run test:deterministicpassed on Linux, including the calibration, provider and runner checks. The focused grader suite and Prettier also passed.Risk and rollout
A mislabeled evaluation now reports the expected label or verdict in its failure reason. Cases that omit a binary label can grade multiple findings, including
needs_review.Public disclosure review