Skip to content

fix: resolve --format both, input validation, and deterministic RNG in data_generator.ts#39

Open
rohitdev14 wants to merge 1 commit into
lily-protocol:mainfrom
rohitdev14:bounty-fix/38-1781921499353
Open

fix: resolve --format both, input validation, and deterministic RNG in data_generator.ts#39
rohitdev14 wants to merge 1 commit into
lily-protocol:mainfrom
rohitdev14:bounty-fix/38-1781921499353

Conversation

@rohitdev14

Copy link
Copy Markdown

Fixed multiple issues in data_generator.ts: (1) --format both now correctly generates both JSON and CSV files instead of being overridden to JSON only, (2) count argument validation now rejects negative values with clear error messages, (3) all random generation now uses the seeded RNG instance consistently for deterministic output, and (4) removed unused --json and --csv flags. Tests verify format handling, count validation, and deterministic generation with same seed.


Closes #38

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.

[$50 BOUNTY] [Typescript] Fix data_audit.ts broken --format both and input validation

1 participant