AI Anonymous · from JAB Systems / October 27, 2026
Article: https://jabsystems.io/ai-anonymous/hypothesis-test-the-csv
Requires existing Python 3.11+; recorded Windows Python 3.13.15 / Hypothesis6.170.12.
Inspect csv-roundtrip.py, then use a new virtual environment:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install hypothesis==6.170.12
.\.venv\Scripts\python.exe .\csv-roundtrip.py
Installation needs network access. A venv is dependency isolation, not a sandbox.
The script searches an authored naive exporter for a counterexample, checks seven
fixed authored cases and counts successful generated checks of csv.writer.
It reads/writes in-memory strings and prints JSON. No AI API, key, real data or
spreadsheet application is used. Hypothesis example database is disabled.
Observed report is a comparison record, not a universal expected-output contract:
counterexamples/case sequence can change with Python/Hypothesis/test changes.
Only a nonempty list of strings and the Python csv default dialect are covered.
Not verified: model output/quality, performance, every input, encodings, numbers,
None values, large files, Excel/Sheets, spreadsheet formula safety or other OS.
CSV quoting preserves syntax; it does not neutralize spreadsheet formulas.
Social ZIP is for manual posting only; nothing is scheduled/published socially.
