Skip to content
DraconiticResearch
Search Sources API
197,787 studies31 sourcesUpdated 28 min ago
PreprintCC BY 4.0arXiv

Hypothesis-awkward: Property-Based Testing Strategies for Awkward Array

Abstract

Hypothesis-awkward is a collection of Hypothesis strategies for Awkward Array. Awkward Array can represent a wide variety of nested, variable-length, mixed-type data. Many tools that process Awkward Arrays are widely used and actively developed. The unit test cases of many of these tools list predefined input samples. In practice, such samples can cover only a small portion of the vast combinatorial space of Awkward Array instances. Hypothesis, a Python property-based testing library, generates test data that can make test cases fail and automatically explores edge cases. The main strategy of Hypothesis-awkward generates nearly all possible Awkward Arrays, with options to control the layout, data types, missing values, masks, and other array attributes. Property-based tests written with these strategies have begun to run in the continuous integration of Awkward Array; to date, they cover a small part of Awkward Array and have found 37 bugs in it, as well as one in Hypothesis itself. These strategies make the tests of Awkward Array and of the tools that use it more reliable.

Related

  1. ACT stands for Awkward Cosmology Theories
    Loris Del Grosso, Alfredo Urbano, Marcello Ziccolella
    arXivPreprintarXiv licenceFull textCosmologyGravitation & general relativityarXiv
  2. Binary Quantum Hypothesis Testing with a Rejection Option: The Exact Error-Exponent Trade-off
    Yonglong Li
    arXivPreprintCC BY-NC-ND 4.0Full textMathematical physicsQuantum physics & quantum informationarXiv
  3. Non-Asymptotic Bounds via the Nussbaum-Szkoła Mapping for Quantum Hypothesis Testing
    Jorge Lizarribar-Carrillo, Gonzalo Vazquez-Vilar, Tobias Koch
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  4. Sharp pairwise reduction for quantum hypothesis testing
    Kuan-Yi Lee, Ludovico Lami
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
  5. Testing the Kerr hypothesis with orbital frequencies: lessons from spacelike singularities and black bounces
    Hooman Neshat, Stefano Liberati
    arXivPreprintarXiv licenceFull textGravitation & general relativityarXiv
BibTeX
@misc{sakuma2026hypothesisawkward,
  title = {{Hypothesis-awkward: Property-Based Testing Strategies for Awkward Array}},
  author = {Tai Sakuma and Ianna Osborne and Peter Elmer},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.31820},
  eprint = {2609.31820},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.31820},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Hypothesis-awkward: Property-Based Testing Strategies for Awkward Array
AU  - Tai Sakuma
AU  - Ianna Osborne
AU  - Peter Elmer
PY  - 2026
DA  - 2026/09/25
PB  - arXiv
DO  - 10.48550/arxiv.2609.31820
UR  - https://arxiv.org/abs/2609.31820
AB  - Hypothesis-awkward is a collection of Hypothesis strategies for Awkward Array. Awkward Array can represent a wide variety of nested, variable-length, mixed-type data. Many tools that process Awkward Arrays are widely used and actively developed. The unit test cases of many of these tools list predefined input samples. In practice, such samples can cover only a small portion of the vast combinatorial space of Awkward Array instances. Hypothesis, a Python property-based testing library, generates test data that can make test cases fail and automatically explores edge cases. The main strategy of Hypothesis-awkward generates nearly all possible Awkward Arrays, with options to control the layout, data types, missing values, masks, and other array attributes. Property-based tests written with these strategies have begun to run in the continuous integration of Awkward Array; to date, they cover a small part of Awkward Array and have found 37 bugs in it, as well as one in Hypothesis itself. These strategies make the tests of Awkward Array and of the tools that use it more reliable.
ER  -