A Claude Code Command for Hypothesis
hypothesis.works·13w·
Discuss: Hacker News

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help