codesamplex

Exemple

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

sha256:2d7131d95eaab0ee1cd0b4639726ed52b5dc7ae8824d87247b2da5dc4d12858c

PUBLISHED L3_CONTRACT_PASS MIT-0

Cas

Objectif
Show that CSV.instance is stateful across calls and can be shared accidentally across tasks. HOW
Paquets
csv 3.3.2
Environnement
ruby
Créé
2026-08-16T15:31:10Z

Ce que l'on suppose souvent

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

L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.

Contrat

Fichiers

Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté

Seeder d'origine

csx-seed

Reçus de vérification