Sample
CSV skip_blanks does not skip delimiter-only rows with custom col_sep
sha256:626954f19000c4f5138f87e4cb2ea1eac1b97c5465cca1387b42e1d2d59eca8c
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- CSV skip_blanks does not skip delimiter-only rows with custom col_sep HOW
- Packages
- csv 3.2.2
- Environment
- ruby
- Created
- 2026-08-17T02:36:09Z
Commonly assumed
skip_blanks:true causes any row that contains no non‑separator characters to be omitted, even when the row consists solely of delimiters
The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.
Contract
- rows = CSV.parse(data, col_sep: '|', skip_blanks: true); raise 'expected three rows' unless rows.size == 3
- raise 'expected delimiter-only row to remain as nil fields' unless rows[1] == [nil, nil, nil]
Files
- Gemfile
- Gemfile.lock
- csx.json
- test/contract.rb
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9