codesamplex

サンプル

Handle numeric octal versus float bifurcation, single nil row truncation, and date-time type coercion across CSV serialization and parsing round trips

sha256:fd8cc5b68025f317dc1fd1a73f3b93f524eabbdbe8042318706daa5eccc80012

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle numeric octal versus float bifurcation, single nil row truncation, and date-time type coercion across CSV serialization and parsing round trips HOW
パッケージ
csv 3.3.2
環境
ruby
作成日
2026-08-16T15:31:05Z

よくある思い込み

Passing converters: :numeric parses numeric strings with leading zeros as decimal numbers or preserves them consistently as strings.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート