Skip to content

Feature/add tests#4

Merged
guenhter merged 6 commits into
mainfrom
feature/add-tests
Jul 19, 2026
Merged

Feature/add tests#4
guenhter merged 6 commits into
mainfrom
feature/add-tests

Conversation

@guenhter

Copy link
Copy Markdown
Owner

No description provided.

guenhter added 6 commits July 19, 2026 08:24
- Add csv = "1" to Cargo.toml
- github_archive_loader: replace manual writeln!/csv_field() with csv::WriterBuilder
- filter_archive: replace split_csv_line() + csv_field() with csv::Reader + csv::WriterBuilder
- produce_statistics: replace splitn/trim_matches with csv::Reader

Deletes ~80 lines of hand-rolled RFC 4180 logic (quoting helper,
character-level parser state machine, naive splitn parser).
All 16 tests pass; fmt and clippy clean.
The experimental flag was unused in production. Removes the CLI arg,
the branching in compute_ratings, the output_path conditional, and the
related module-doc section.
@guenhter
guenhter merged commit a55e13f into main Jul 19, 2026
2 checks passed
@guenhter
guenhter deleted the feature/add-tests branch July 19, 2026 06:27
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