Skip to content

Support tab-delimited dense ARFF records - #50

Merged
quinnj merged 1 commit into
mainfrom
maintenance/dense-delimiter
Oct 4, 2026
Merged

quinnj merged 1 commit into
mainfrom
maintenance/dense-delimiter

Conversation

@quinnj

@quinnj quinnj commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Read tab-delimited dense ARFF records with delim='\t' in load, loadstreaming, and loadchunks. The option reaches numeric, string, nominal, date, and nested relational fields. The default remains comma; sparse records retain the comma-separated indexed entries required by the ARFF format.

Fixes #7. Document the option and correct the adjacent reader docstrings to match the existing row type, argument order, and missing-column default. No dependency or export is added.

Validation:

  • Thirty new assertions cover both delimiters, LF/CRLF records, both quote forms, quoted commas and tabs, escaped quotes, missing values, dates, nominal values, bulk/stream/chunk reading, sparse/dense mixtures, empty sparse rows, nested-reader reuse, invalid delimiters, and existing comma-mode tab whitespace.
  • Full Julia 1.13.1 suite passes all 225 checks. The exact minimum-dependency Julia 1.10.12 suite passes 224 checks plus the already documented upstream Aqua metadata expected failure.
  • On 10,000 comma-delimited rows, nine-sample median baseline/candidate timings were 1.580/1.541 ms for numbers, 2.873/2.784 ms for strings, and 1.348/1.419 ms for sparse records. All three allocation counts were identical.
  • Exact head 2461cb15272deb05dc9877ff71d2e62ad9b7ecc4 passes both hosted native suites: Julia 1.10 has 224 passing checks plus the documented Aqua expected failure; current Julia has all 225 passing. Both coverage uploads were accepted for JuliaData/ARFFFiles.jl at that full SHA, and Codecov processed both reports with 98.44% coverage.

Co-authored by Codex

AI disclosure: This work was prepared with assistance from OpenAI Codex.

AI disclosure: This work was prepared with assistance from OpenAI Codex.
@codecov-commenter

codecov-commenter commented Oct 4, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.44%. Comparing base (86c4a97) to head (2461cb1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #50   +/-   ##
=======================================
  Coverage   98.44%   98.44%           
=======================================
  Files           1        1           
  Lines         707      709    +2     
=======================================
+ Hits          696      698    +2     
  Misses         11       11           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@quinnj
quinnj merged commit 8ca1ed0 into main Oct 4, 2026
2 checks passed
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.

Allow tab-delimited data

2 participants