Repository navigation
fix(dataset): from-captures excludes nil-room FORK captures by default (#427) - #2299
Merged
Merged
Conversation
#427) Benchmark/eval forks (fork_eval_cycle) keep cfg.persona_id, so their tick captures append to the SAME workspace-traces file as the citizen's live turns — with room_id = the nil UUID. dataset/from-captures ingested them unlabeled, contaminating L1 training data with detached eval traffic. Guard: when no explicit room_id filter is given, records whose room_id is the nil UUID are skipped. include_forks=true is the explicit opt-in for deliberately training on fork traces. An explicit room_id filter is unchanged (nil never matches a real room anyway). Regression test seeds one live-room + one nil-room capture: default sees 1 example, include_forks sees 2. ts-rs binding regenerated. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
What
dataset/from-capturesnow skips captures whoseroom_idis the nil UUID by default. These are benchmark/eval FORK ticks:fork_eval_cyclekeepscfg.persona_id, so fork traffic appends to the SAME workspace-traces file as the citizen's live room turns — and the default dataset build was ingesting them unlabeled into L1 training data.include_forks: bool(serde defaultfalse) onFromCapturesParams— the explicit opt-in for deliberately training on fork traces.room_idfilter was given (an explicit filter never matched nil anyway).protocol/typescript/dataset/FromCapturesParams.ts).Why
Citizenship audit (2026-08-14), AXIS 3: L1 fork contamination. The learning flywheel must lift from LIVED room turns; detached eval forks polluting the corpus mistrain the exact behaviors the campaign is measuring. Task #427.
Validation
cargo test -p continuum-core --lib --features metal,accelerate -- dataset::tests→ 12 passed, 0 failed, including new regression testfrom_captures_excludes_nil_room_forks_by_default(one live-room + one nil-room capture: default → 1 example,include_forks:true→ 2).FromCapturesParamsconstructor tree-wide is the test's own closure.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo