Bounty: $50 (LT)
Area: tools/data_generator.ts
Current state: --format both is broken — it overrides to "json" and never writes CSV. --json and --csv flags are parsed but unused. Count args accept negative values silently. Some helpers use global random instead of instance RNG.
What's needed:
Fix --format both to emit both JSON and CSV
Either implement or remove --json/--csv flags
Validate count arguments as non-negative integers
Use instance RNG consistently for deterministic output
Acceptance criteria:
--format both creates both .json and .csv files
Negative counts fail with clear argparse error
Same seed produces deterministic data in tests
Tests cover format handling, count validation, schema basics
Required validation:
Run:
Include generated diagnostic .logd artifact in the PR
Use .github/pull_request_template.md
Bounty: $50 (LT)
Area: tools/data_generator.ts
Current state: --format both is broken — it overrides to "json" and never writes CSV. --json and --csv flags are parsed but unused. Count args accept negative values silently. Some helpers use global random instead of instance RNG.
What's needed:
Fix --format both to emit both JSON and CSV
Either implement or remove --json/--csv flags
Validate count arguments as non-negative integers
Use instance RNG consistently for deterministic output
Acceptance criteria:
--format both creates both .json and .csv files
Negative counts fail with clear argparse error
Same seed produces deterministic data in tests
Tests cover format handling, count validation, schema basics
Required validation:
Run:
Include generated diagnostic .logd artifact in the PR
Use .github/pull_request_template.md