codesamplex

サンプル

Handle converters: :numeric parsing leading-zero strings as octal integers and non-octal digits as floats in CSV

sha256:7c404f5a7f67250133f23da7b4871d620cdb4ed856e88bdc48bfe81bf56f54fa

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle converters: :numeric parsing leading-zero strings as octal integers and non-octal digits as floats in CSV HOW
パッケージ
csv 3.3.2
環境
ruby
作成日
2026-08-16T15:32:30Z

よくある思い込み

The CSV :numeric and :integer converters parse numeric string values using base-10 decimal representation.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート