codesamplex

Sample

Demonstrate that turning on `return_headers` changes how header columns are surfaced when `headers: true` is also enabled.

sha256:3d12db62adbd2a7953f464fa2bbaaffa6d87ba0e99054b30dad1404f2b997473

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Demonstrate that turning on `return_headers` changes how header columns are surfaced when `headers: true` is also enabled. HOW
Packages
csv 3.3.2
Environment
ruby
Created
2026-08-16T15:29:58Z

Commonly assumed

A parser configured with `headers: true` still makes column lookups expose only data rows, so the header names are never treated as a data value.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts