Skip to content

fix: stoploss_dataset --out value consumed as positional jobs path - #453

Merged
dahai80 merged 1 commit into
mainfrom
fix/stoploss-arg-parsing
Dec 2, 2026
Merged

dahai80 merged 1 commit into
mainfrom
fix/stoploss-arg-parsing

Conversation

@dahai80

@dahai80 dahai80 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • given = [a for a in argv if not a.startswith("--")] treated the --out value as a positional jobs dir, so the default jobs root was never scanned — every --out invocation reported 0 samples
  • Explicit positional parsing now skips the --out value

Validation

  • 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 skipped
  • stoploss_eval runs and reports the degenerate split (train=2, holdout=0) honestly — real training volume arrives with the next A20 run

🤖 Generated with Claude Code

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]>
@dahai80
dahai80 merged commit 9552348 into main Dec 2, 2026
1 check passed
@dahai80
dahai80 deleted the fix/stoploss-arg-parsing branch December 2, 2026 03:15
@dahai80 dahai80 mentioned this pull request Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant