Repository navigation
data(eval): V6 re-run source of record - 3-arm numbers reproduced (2026-11-25) - #169
Merged
Merged
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).
…pairs run in one pool The sequential rep loop pinned the whole bench to one core (measured: 100% of one core, 93% of the machine idle on a 24-thread host). The pilot is a subprocess (CPU-bound Ruby) plus an LLM HTTP call, so the reps parallelize safely through a ThreadPoolExecutor. The seed contract survives: same rep index -> same seed across models, consecutive reps -> consecutive seeds. The stats update stays sequential in the main thread (no dropped or double-counted attempts). Two consequences, both tested: - a workdir per rep: the pilot writes run.json/trail/facts under workdir/<binary>, so two concurrent reps of the same challenge would overwrite each other's evidence (the shared-workdir contamination measured in pilot.py). Multi-rep runs nest workdir/<model>/rep<N>/<binary>/, single-rep runs keep the flat layout. - the pilot call order interleaves: the per-rep seed pairing is the contract, not the call sequence (the seed tests are set-based now). BENCH_WORKERS tunes the pool width; unset, it auto-sizes to os.cpu_count(), capped at the rep count. The patch is harness-level parallelism only: augure and lictor are per-attempt subprocesses and are unchanged.
… default rises to 900 The ret2csu corpus material carries an encrypted_flag.dat, which ingest skips (the plaintext flag is not locally verifiable from that material): the regenerated manifest no longer carries ctf-lictor-ret2csu-001, but the stale case file (examples/cases/) and two wiring tests still expected it. The stale case file is deleted and the two tests assert the new reality: ret2csu is out of the wired set (45 live targets now: 16 base + 10 MR6 eval twins + 10 MR6 eval2 twins + 2 training twins + 7 MR7 technique targets). The attempt cap default in run_final_bench.sh rises from 600 s to 900 s (ATTEMPT_CAP, still overridable per run): the 600 s cap was measured too short for some exploit chains, and with the reps parallelized the wall-clock cost of a longer cap is absorbed by the pool instead of stacking. [Unreleased] updated in the same commit.
Integrity verified: 440/440 attempts per arm, every challenge exactly 10 reps, zero per_challenge mismatch between disk run.json and results.json. Clean-only verdict 70/280 vs 70/280 (0.250 vs 0.250). 17 training ids leaked into eval (documented in results.md). The earlier 0/441 reading came from three concurrent bench instances sharing one workdir; this rerun is the valid one.
…e) join the fact base, the remote-class packs gate on them
- assemble_sft_mr11.py: mining trajectories (flag_verified AND facts-first) + mr10 base (facts-first retroactively), dedup by id, mining wins - teacher_pilot.py: teacher capability diagnostic on the hard eval set - unit tests for the assembler filter/dedup contract
- _build_provider received api_key=None: every OpenRouter call died in 401 - --ids: run a family subset for the cloud diagnostic (default: all 21)
…e + byte-counted dedup - the mining records pass through the mr6 _enrich_metadata (the trainer validation gate requires source/teachers/quality/recitation_risk) - the uaf class-fact gate (the dataset-v1 poison) - the dedup key = id + messages (the same-id distinct runs both survive: the class balance relies on them) - the flag_verified + facts-first filters on the mining AND the mr10 base
…rst mr10 base) The mining: 40 seeds x 7 eligible targets, 164/280 flag-verified (58.6%). The mr10 base: 133/247 rows survive the facts-first filter (114 dropped: the measured facts-skipping rate the anti-regression levier targets). All 297 rows are facts-first: the anti-regression filter is structural.
…24/280 clean, 0.086 vs 0.086), facts-first regression fixed (0/440 without-facts vs 267/440 mr10), no capability gain
…free local 4B; cloud mining unjustified, capability is lab-bound
…ethods menu, pack-level hooks; roadmap updated with mr11 loop verdicts and SOTA items (OPD, abliteration pass, MoE-to-dense, weight editing watcher)
…et (2048, set in 0b099ad)
…e into the ctf pack (ADR-0022)
…dels/export/task_eval.json from the mr11 export polluted the CWD assumption
…in pack (ADR-0022)
…post-fix (baseline 2/21)
…ection, ADR-0022 decoupling done
…RPO scale_rewards=False, beta=0.0
…dout is parsed before any truncation (ranking was lost past text[-400:])
…g head - a build failure must not demote a rank-1 technique that is runnable without a payload (mr16: callme-eval and setcontext_srop regressed 0/3)
…t not carry the internal draw payload.bin, it corrupts banner-derived exploits (mr17: callme-eval 0/3 vs 9/10 payload-less)
…nexploitable rank, and the pin accepts the walk head (drawn or ranking[0]) - the payload travels with it (mr18 diag)
…ining-derived prompts, entropy up, the run is the e2e proof not a capability claim
…p-eval reclassified structural-by-channel
…ompletion as a GRPO reward (Thinking Machines OPD); scored against a llama.cpp server via echo+logprobs
…il-loud teacher errors, opd_max_scored_tokens cap; smoke config on Qwen3-1.7B
…ax_completion_length, expandable_segments; smoke GREEN 51/51 steps in 12min
…xcerpt, 240-char cap; mr22 compact copy 16% smaller (maki pattern)
….cpp glitch, observed once in ~800 calls); fail loud after
…pcast (~2.5 GB on 8B) + full activations OOM on 10 GB; ~25% speed traded for the fit; config-grpo-8b.json added
…l_from_path defaults to float32, materializing tied embeddings + prefill logits in fp32 (~2.5 GB each on an 8B) and OOMing at step 0 on a 10 GB card
…cher_kl, compacted dataset)
…olver routes names the registry does not hold; teacher_kl,ctf_flag*2 composes OPD dense reward with flag success; config-grpo-8b-composition.json
…verlap train; wired into train prepare CLI; grpo-translated eval split shares 5/7 IDs with mr22 train (discovered manually)
…, composition 12/16 vs base 3/16
…WSL refuses hairpin to the LAN IP, llama-server listens on 0.0.0.0 so localhost:9934 works (checked /health 200)
…on, not solve-from-source
The MR11 ctf-lictor facts dataset wraps the Prolog facts in a ReAct envelope (action_input.predicates), which _load_ground_truth never parsed: orw ground truth came back None instead of 'sof'. Parse the wrapper predicates after the MR8 JSON envelope; the live-dataset test is updated to the MR11 reality (orw-002 unrecorded -> honest None).
- experiments/eval: ruff-clean the one-shot eval scripts (imports, E741, SIM115 via context managers, line length) - mypy: type annotations across training (rewards weight parsing, opd URlopen/_post/tokenize, grpo resolver returns), experiments (pilot extra_body, bench_lab _attempt_one), cli (train_cmd grpo domain kwarg on train_grpo only) - config schema regenerated (brainforge config schema --write)
7 tasks done
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
Commit the V6 eval re-run (2026-11-25) as the source of record for the 3-arm numbers, replacing the destroyed 2026-11-20 run artifacts (MR9/MR10). The re-run reproduces the recorded numbers exactly: base 3/16, kl 8/16, composition 12/16 vuln_emitted (flag_exact 3/2/3), confirming the V6 composition headline (12/16 vs base 3/16) used in the blog article. Adds
results-2026-11-25.mdand a CHANGELOG entry; previous run was never committed because server restarts killed the background job.Tests (mandatory)
No code change: data-only commit (results markdown + CHANGELOG). The numbers come from
eval_8b_v6.py allre-run on the 16-record held-out expansion set; per-arm JSON outputs inexperiments/eval6/on the run host. No failing test was required - there is no behavior to test.Linked Issue
No issue. Rationale: the blog article needs a committed source of record for the V6 numbers after the original run was destroyed; this re-run is the reference.
Quality Checklist
CHANGELOG.mdunder[Unreleased]