Hypothesis-awkward
Testing
Hypothesis-awkward is a Python package that extends Hypothesis with strategies for Awkward Array. Awkward Array can represent a wide variety of nested, variable-length, mixed-type data. The unit tests of many tools that process Awkward Arrays use predefined input samples, which cover only a small part of all possible arrays. Hypothesis, a property-based testing library for Python, generates test data and automatically explores edge cases that can make tests fail. Hypothesis-awkward makes the tests of Awkward Array and of the tools that use it more reliable.
Documentation · PyPI · conda-forge
Team
- Tai Sakuma
Presentations
Publications
- Hypothesis-awkward: Property-Based Testing Strategies for Awkward Array, T. Sakuma, I. Osborne and P. Elmer, arXiv 2609.31820 (Submitted to CHEP 2026) (25 Sep 2026).