Skip to content

Count empty scoring text consistently across reasoning tasks - #523

Merged
abhishekraok merged 3 commits into
mainfrom
codex/count-empty-scoring-text
Nov 10, 2026
Merged

abhishekraok merged 3 commits into
mainfrom
codex/count-empty-scoring-text

Conversation

@abhishekraok

Copy link
Copy Markdown
Collaborator

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

Count empty scoring text after internal thinking removal for ExpertQA, ResearchQA, and GeneTuring. Use one documented metadata flag across these tasks and SAGE, and persist it in predictions. Nonempty malformed answers remain nonempty; raw generations, extraction, scores, and task hashes are unchanged.

Fixes #478. The compatibility log records the historical undercount and explains that earlier diagnostics are not automatically recomputed. Reference: existing task-specific stripping at main 1b9fe6f3; no benchmark measurement changes.

Validation at 32957af4:

  • uv run --frozen --no-group vllm ruff check src/ tests/, ruff format --check src/ tests/, and ty check src/: pass.
  • Full CPU suite with bundled Git, TERM=xterm-256color COLUMNS=200, uv run --frozen --no-group vllm pytest tests/ --ignore=tests/integration -q --basetemp=/tmp/oe478final: 5,072 passed, 41 skipped.
  • Public scoring and prediction regressions plus GeneTuring tests: 249 passed. All eight empty-text cases fail against unchanged main (old count 0 instead of 1).
  • Independent Claude review: no blockers.

No GPU or live-judge calls. Tests replace the judge boundary while exercising public task scoring and saved prediction construction. The legacy ty check src/ alembic/ command fails because current main has no root alembic/ directory.

Count empty scoring text consistently across reasoning tasks
@abhishekraok
abhishekraok requested a review from a team as a code owner October 31, 2026 18:50
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T00:51:31.272116Z d753705 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abhishekraok abhishekraok left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Written by Claude Code session fix-pr-review

Reviewed at 1164ec0 (after update from main). Correct; no blockers. The shared key, persisted flag and regressions cover the three tasks #478 names.

  • Same gap remains in two tasks outside #478's list: astabench_sqa.extract_answer and frontierscience.strip_reasoning (used in extraction) also strip </think> internally without setting SCORING_TEXT_EMPTY_KEY, so reasoning-only outputs there still count as nonempty. Fine as a follow-up.
  • Nit: the new test imports AsyncMock and build_predictions mid-function.
  • Merge-order note: conflicts with harmony-final-answers (#526) in README.md and docs/result-compatibility.md; whichever merges second needs a docs-only rebase.

# Conflicts:
#	docs/result-compatibility.md
@abhishekraok
abhishekraok added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit 81251f0 Nov 10, 2026
8 checks passed
@abhishekraok
abhishekraok deleted the codex/count-empty-scoring-text branch November 10, 2026 01:08
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.

Count empty scoring text consistently across reasoning tasks

2 participants