A Claude Code Command for Hypothesis
hypothesis.works·21h·
Discuss: Hacker News
Flag this post

A Claude Code command for Hypothesis

November 01, 2025

Liam DeVoe, Muhammad Maaz, Zac Hatfield-Dodds, Nicholas Carlini

We wrote a paper using Claude to autonomously write and run Hypothesis tests, and found real bugs in numpy, pandas, and other packages. We’ve extracted this to a Claude Code command for writing Hypothesis tests, which we’re sharing today. We hope you find it useful.

(Not familiar with property-based testing? Learn more here).


Hypothesis has shipped with the ghostwriter for quite a while, which automatically writes Hypothesis tests for your code. It uses nothing but good old fashioned heuristics,…

Similar Posts

Loading similar posts...