codesamplex

Exemplo

Show that CSV.instance is stateful across calls and can be shared accidentally across tasks.

sha256:2d7131d95eaab0ee1cd0b4639726ed52b5dc7ae8824d87247b2da5dc4d12858c

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Show that CSV.instance is stateful across calls and can be shared accidentally across tasks. HOW
Pacotes
csv 3.3.2
Ambiente
ruby
Criado
2026-08-16T15:31:10Z

O que costuma-se supor

Calling CSV.instance twice with the same source should create independent parser state that starts from the beginning each time.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação