Repository navigation
Conversation
Seven new lab targets (brop, one_gadget, got_partial_overwrite, ret2partial_overwrite, jop, ret2vdso, setcontext_srop) join the bench: one case file each, one manifest entry each, one port mapping each (20100-20106, lictor feat/builder-nul-channel). The regenerated manifest also restores the 10 eval2 twins, whose corpus copies had been lost; their lictor lab sources are intact and their flags unchanged. The regeneration normalizes every manifest entry to the current ingest format (top-level expected_flag), so the loader now sees all 45 ported challenges - the eval2 twins were present in the old manifest but silently skipped by the old format. None of the 28 clean challenges appears in any training dataset: MR7 and eval2 are unseen classes for trained-mr10.
The pilot work is one Ruby process per challenge (CPU-bound on a single core: the augure-profiler gadget scan) plus an LLM HTTP call. The sequential loop pinned the whole bench to one core (measured: 100% of one core, 93% of the machine idle on a 24-thread host). A ThreadPoolExecutor spreads the subprocess waits across cores - the pilot is a subprocess, the GIL is not the bottleneck. The stats update stays sequential in the main thread. BENCH_WORKERS tunes the width (default 4).
…llel loop The MR7 manifest regeneration (27f6f08) dropped ctf-lictor-ret2csu-001: the case file is on disk and the committed wiring tests expect it on port 9992, so the manifest-vs-cases guard caught the orphan. Restored in the normalized ingest format. The parallel per-repetition loop (e1ef216) made the pilot launch order non-deterministic: the two call-order assertions now compare sorted lists (the recorded results order stays deterministic - executor.map preserves the input order), and the watchdog docstring matches the pool semantics. _attempt_one binds its loop variables as default arguments (ruff B023) and gains annotations (mypy). The committed eval-set wiring test learns the 7 MR7 technique targets and the 10 restored eval2 twins (46 live targets).
Owner
Author
|
Closed: superseded by main itself. The two unpushed local commits this branch carried (27f6f08 MR7 wiring, e1ef216 parallel loop) landed on main through #169 in better form (explicit-params pool, no closure), and main's own test contract made deliberate choices this branch contradicted (ret2csu out of the eval set, corpus locally unverifiable). Branch content duplicated or diverged from main by 1300+ lines; nothing unique to salvage. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Lands the two bench commits that sat unpushed on the local main clone
(27f6f08 MR7 targets wired, e1ef216 parallelized per-repetition loop)
and repairs what they broke:
ctf-lictor-ret2csu-001(restored in the normalized ingest format; the case file and the
port-9992 wiring were already committed).
two call-order assertions compare sorted lists now (the recorded
results order stays deterministic -
executor.mappreserves theinput order), and the committed eval-set wiring test learns the
46-target live set (7 MR7 technique targets + 10 restored eval2
twins).
_attempt_onebinds its loop variables as default arguments (ruffB023) and gains annotations (mypy).
Tests (mandatory)
Red-green flow: the four committed failures were the red state
(
TestBenchAttemptWatchdog+ orchestration call-order assertions intests/unit/test_bench_lab.py, the manifest-vs-cases guard intests/unit/test_ctf_ingest.py, and 2x committed wiring intests/unit/test_final_bench.py). Fixes: the manifest entry restored(
test_ctf_ingestgreen), the call-order assertions moved to the poolcontract (
tests/unit/test_bench_lab.py), the live-set expectationextended to the 46 targets (
tests/unit/test_final_bench.py). Fullsuite green: 907 passed, 11 skipped; lint (ruff) zero offenses; mypy
clean; build passes (dist/ artifacts).
Linked Issue
No issue: reconciliation of two unpushed local main commits (11 days
old, bench lane) with their broken test contract.
Quality Checklist
CHANGELOG.mdunder[Unreleased]