Skip to content

Keep GAP metrics consistent in comparisons and progression - #466

Merged
abhishekraok merged 63 commits into
mainfrom
codex/gap-comparison-anchors
Oct 30, 2026
Merged

abhishekraok merged 63 commits into
mainfrom
codex/gap-comparison-anchors

Conversation

@abhishekraok

@abhishekraok abhishekraok commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5

Description

Keep comparison matrices and checkpoint progression on the same metric identity. Use consistent GAP reference anchors and canonical task metadata, preferring primary-metric metadata when available instead of an earlier secondary-only row. Preserve each selected metric's format and direction.

Integrate the merged OMEGA and hill-climb changes while retaining the NONE/DISPLAY_ONLY protections. Advance the matrix cache namespace to matrix-v8 so neither parent's v6/v7 cache can serve an earlier response. Public endpoint regressions seed valid but stale cached scores and verify fresh computation.

Affected results

Dashboard comparisons and progression over stored results change. Task definitions, scorers and stored task hashes are unchanged.

Type of Change

  • Bug fix

Validation

  • Exact-head Python 3.12/3.13 CI and Dashboard CI at 56130365.
  • All 413 API tests pass with real PostgreSQL. The final API tree matches the independently reviewed and tested integration candidate.
  • Both cache regressions pass with v8; the v6 and v7 mutations each fail the corresponding regression.
  • Root/API Ruff, formatting, types and the pinned task-hash test pass.
  • Independent integration review found no blockers. Existing endpoint coverage includes mixed primary/secondary-only populations, aggregation modes, and score format/direction.

Remaining work

None in this PR. report-omega-dev (#419) and run-hill-climb (#422) are merged.

abhishekraok and others added 30 commits October 1, 2026 18:08
Add a GAP suite aggregation: exactly two tasks, a reference then a
companion. The suite reports both primary scores and companion minus
reference, and is omitted unless both tasks scored on the same primary
metric. Gap suites cannot be nested, since a gap is not a score to
average. Scope scores in the viewer and pairwise payloads follow the same
rule.

Register omega:dev = (omega_500:hillclimb, omega_500_out), so one launch
runs both halves and reports in, out and out minus in.

Co-Authored-By: Claude Code <[email protected]>
The runner already omits a gap whose two tasks use different primary
metrics, but the results viewer and the pairwise payload only checked
display format, unit and direction, so they could publish a gap the saved
aggregation omits. compute_scope_score now takes each task's metric and
returns None for a gap unless both tasks report one shared, known metric.

Addresses Codex review on #419.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rwise gap

When a gap suite's scope score is None (half the pair missing, or two
different metrics), the agg column and model-filter label fell back to the
mean of the visible columns, which reads as a gap without being one. Gap
scopes now mark each model's score as exact, and both the Python label and
browser.js leave it blank.

The pairwise payload's metric wiring for gap suites had no test; it now has
a same- and mixed-metric case.

Addresses independent review on #419.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
update() ran after the inline-Thread patch had exited, so it started a real
thread and the call count could be read before the second send. Under CI's
coverage tracing on Python 3.12 that lost the race three runs in a row
(1 != 2). The other reporter tests already keep the patch active.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A results group can hold several hashes per gap task with different primary
metrics. The gap check pooled every variant's metric, so an unrelated, unscored
variant could withhold a gap from a model whose scored pair matches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
("a", "a") passed the length check and would publish a zero self-gap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Update OMEGA dev reporting for the dashboard migration
Rank OMEGA dev by its held-out score and retain the gap as a diagnostic
Include the approved OMEGA extraction fix
Withhold weighted dashboard scores when instance counts are missing
Include the approved IFBench reasoning defaults
Validate selected OMEGA metrics in compare matrices and withhold invalid deltas
Apply selected-metric validation to paired OMEGA comparisons
Choose primary OMEGA metrics together from a complete subject
Keep OMEGA corpus fallbacks and run baselines on the companion metric
Parameterize the shared-metric baseline fixture payload
Format GAP diagnostics according to the primary metric units
Validate the GAP metric key before resolving its display format
Retain OMEGA diagnostics and correct comparison eligibility after Claude review
Use stored suite snapshots for GAP baselines and mark invalid aggregates partial
Use valid lowercase run IDs in historical-suite regressions
Retain non-GAP suite fallback for bare-task run baselines after Claude validation
Restrict bare-task suite fallback to non-GAP definitions
Coordinate GAP leaderboard scores and selected-metric metadata
Derive comparison metadata only from scored selected metrics
Keep individual task scores visible when no complete GAP metric anchor is available. Use separate aggregate keys for suite scoring and pairwise weights; refresh comparison caches and cover incompatible and unscored pairs.
Use companion metadata for GAP score display and ranking direction, matching its score and uncertainty weights. Apply the same rule to pairwise comparisons and refresh caches; cover legacy reference metadata and lower-is-better ranking.
Represent absent per-metric metadata with an empty JSON object in the legacy GAP database fixture, respecting the non-null column constraint.
Use enough shared instances to exercise paired GAP ranking in the companion-metadata regression. Assert the chosen direction explicitly.
Propagate GAP metric anchors to generated task progression panels.
Keep unanchored leaf progression visible and clarify test types.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6d57ac9192

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Respect explicit metrics in GAP progression instead of primary anchors.
Clarify retention of incomplete GAP suite definitions

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9c3251a064

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Validate GAP upload trees and preserve comparison metadata
Keep GAP anchors through nested suite rows
Incorporate OMEGA upload and metadata corrections

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f9f4b33d5b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Coordinate generated progression panels under nested GAP suites

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 52b9c5a58a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: edd439e661

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Comment thread dashboard/api/tests/test_derive.py Resolved
Cover selected-primary metadata through the progression endpoint
Cover progression metadata when the earlier metric is entirely secondary
@abhishekraok
abhishekraok changed the base branch from abhishekr/omega500-dev-tier to main October 30, 2026 21:09
…p-comparison-anchors

# Conflicts:
#	README.md
#	dashboard/api/src/olmo_eval_api/routers/api/compare.py
#	dashboard/api/src/olmo_eval_api/routers/api/run_tabs.py
#	dashboard/api/src/olmo_eval_api/services/ingest.py
#	dashboard/api/tests/test_derive.py
#	dashboard/api/tests/test_ingest.py
#	src/olmo_eval/evals/suites/math.py
#	src/olmo_eval/evals/suites/registry.py
#	src/olmo_eval/runners/processing/aggregation.py
#	src/olmo_eval/upload/metadata.py
#	tests/evals/suites/test_registry.py
#	tests/test_runner.py
#	tests/upload/test_manifest.py
@abhishekraok
abhishekraok merged commit 301d086 into main Oct 30, 2026
11 checks passed
@abhishekraok
abhishekraok deleted the codex/gap-comparison-anchors branch October 30, 2026 21:26
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.

2 participants