codesamplex

Beispiel

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

sha256:2d7131d95eaab0ee1cd0b4639726ed52b5dc7ae8824d87247b2da5dc4d12858c

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Show that CSV.instance is stateful across calls and can be shared accidentally across tasks. HOW
Pakete
csv 3.3.2
Umgebung
ruby
Erstellt
2026-08-16T15:31:10Z

Häufige Annahme

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

So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.

Contract

Dateien

Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief

Ursprungs-Seeder

csx-seed

Verifizierungsbelege