Skip to content

fix: flag and enum fidelity in argdump and Boutiques - #90

Merged
nx10 merged 6 commits into
mainfrom
fix/numeric-enum-choices
Aug 28, 2026
Merged

fix: flag and enum fidelity in argdump and Boutiques#90
nx10 merged 6 commits into
mainfrom
fix/numeric-enum-choices

Conversation

@nx10

@nx10 nx10 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #88. Partially addresses #86, #87 and #89: the naming and grouping problems are fixed, the union arm type is not (see the issue threads).

Also fixes an unreported miscompile. A bool whose IR arms are two literals (-hypo 1 / -hypo 0) was emitted as a single-token Boutiques Flag, dropping the value from the command line. Live on three freesurfer inputs; corpus-roundtrip cannot catch this class because it only asserts re-parse succeeds.

Breaking: argdump mutex group ids now derive from member names rather than argparse dests (fs_subjects_dir_or_run_reconall -> fs_subjects_dir_or_fs_no_reconall).

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.

[BUG] Argdump -> Boutiques: "Number" type not inferred correctly when choices are defined

1 participant