#hypothesis

[ follow ]
fromNedbatchelder
1 week ago

Generating data shapes with Hypothesis

I couldn't get Hypothesis to generate usable data for my test. I wanted to assert that two equal data items would hash equally, but Hypothesis was finding pairs like[0] and [False]. These are equal but hash differently because the hash takes the types into account.
Software development
fromNedbatchelder
2 weeks ago

A testing conundrum

A fingerprinting Hasher class handles nested Python data by canonicalizing unordered containers to produce stable hashes, but property-based testing with Hypothesis proved challenging.
UX design
fromMedium
4 months ago

How to Define Success Criteria for UX Research

Define clear hypotheses and measurable success criteria before UX research to ensure findings reliably validate assumptions and drive actionable design decisions.
[ Load more ]