Skip to content

fix(harness): single event loop for o1 holdout gate - #55

Merged
ManSio merged 1 commit into
mainfrom
fix/harness-single-loop
Sep 28, 2026
Merged

ManSio merged 1 commit into
mainfrom
fix/harness-single-loop

Conversation

@ManSio

@ManSio ManSio commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Per-query asyncio.run() silently degrades every even-positioned query to reranker passthrough (reranker_ms=0). o1 gate now runs all queries in ONE loop via _run_all + degraded-flag (mirrors p2 gate from PR54). Adds tests/test_holdout_harness_loop.py: AST single-loop guard (verified FAIL on pre-fix o1: 2 calls, no degraded flag), fake-searcher loop-identity probes, best-effort live probe (skips when reranker services down). Tests: 47 passed, 1 skipped (live, no reranker service in env). Ruff clean.

@coderabbitai

coderabbitai Bot commented Sep 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 9da574ac-562d-4407-9ffb-fd754dd07b89


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ManSio
ManSio merged commit d67ecb8 into main Sep 28, 2026
13 checks passed
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.

1 participant