-
Notifications
You must be signed in to change notification settings - Fork 148
feat(accuracy): restore codegen grade concurrency (AIP-1094) #1237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
debermudez
merged 28 commits into
main
from
dbermudez/aip-1094-restore-codegen-grade-concurrency
Aug 7, 2026
+1,141
−281
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a0cb540
docs: add AIP-1094 codegen grade concurrency implementation plan
debermudez e36ac8a
feat(accuracy): batch-drain worker loop for codegen grading concurrency
debermudez 591be04
fix(accuracy): add type annotations to batch worker test helper
debermudez 50f0287
feat(accuracy): concurrent codegen grading via id-demux reader task
debermudez ef17b7f
test(accuracy): concurrent multi-problem codegen grading e2e test
debermudez 5a39eff
fix(accuracy): correct batch drain, aclose exception type, reader rob…
debermudez ea3b3d0
fix(accuracy): non-blocking drain via O_NONBLOCK instead of peek(0); …
debermudez 9e21d04
fix(accuracy): guard partial JSONL lines in drain; complete stale-id …
debermudez b8452a4
chore: ignore .worktrees directory
debermudez 38c33d0
test(accuracy): merge TestSerialization into TestConcurrency; add pip…
debermudez 3a24831
fix(accuracy): harden worker client write path, cancellation, respawn…
debermudez ef13487
test(accuracy): add coverage tests; remove dead BlockingIOError branc…
debermudez 9b65758
fix(accuracy): kill process group even when worker leader has already…
debermudez 1ff9955
fix(accuracy): drain stderr before unblocking callers to eliminate lo…
debermudez a2ebe3c
fix(test): skip pipe-drain test on platforms without fcntl
debermudez 47653ec
fix(accuracy): guard drain() with timeout in separate try block to av…
debermudez e2340eb
test(accuracy): fix cancellation test race on Python 3.11
debermudez 98786ac
fix(accuracy): enforce single-request deadline across drain and respo…
debermudez 26b23ae
fix(accuracy): flatten samples/generations with extend() to fix pass@…
debermudez 96330cc
fix(accuracy): catch TimeoutError before OSError in drain except chain
debermudez 17310a0
fix(accuracy): replace assert in _run_reader with early-return guard
debermudez 764128c
test(accuracy): make fake codegen batch assert sample elements are dicts
debermudez f4cfbe4
test(accuracy): use distinct problems in concurrent e2e test
debermudez 258664a
test(accuracy): rewrite respawn test to use public API and add assert…
debermudez 0494ebc
fix(accuracy): move extend() calls inside try/except to preserve neve…
debermudez 80afebe
fix(accuracy): acquire _spawn_lock in aclose() to prevent orphaned wo…
debermudez 201db72
Merge branch 'main' into dbermudez/aip-1094-restore-codegen-grade-con…
debermudez 5dcfe90
Merge branch 'main' into dbermudez/aip-1094-restore-codegen-grade-con…
debermudez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,3 +57,4 @@ src/aiperf/_build_info.py | |
|
|
||
| # Chaos/adversarial test run artifacts | ||
| tests/scripts/.chaos_runs/ | ||
| .worktrees/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.