Repository navigation
fix: stoploss_dataset --out value consumed as positional jobs path - #453
Merged
Merged
Conversation
The naive argv filter treated the --out value as a positional jobs dir, so the default jobs root was never scanned and the builder reported 0 samples on any invocation that passed --out. Explicit positional parsing skips the --out value; verified: 2 labeled samples now build from existing S1 jobs (1 capped-failed, 1 resolved), eval reports the degenerate split honestly pending tonight's A20 data. Co-Authored-By: Claude Code <[email protected]>
Merged
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
given = [a for a in argv if not a.startswith("--")]treated the--outvalue as a positional jobs dir, so the default jobs root was never scanned — every--outinvocation reported 0 samples--outvalueValidation
python3 -I stoploss_dataset.py --out /tmp/...: 2 labeled samples from existing S1 jobs (1 capped-failed label=1, 1 resolved label=0), 6 correctly skippedstoploss_evalruns and reports the degenerate split (train=2, holdout=0) honestly — real training volume arrives with the next A20 run🤖 Generated with Claude Code