<commit_before>"""Specific hypothesis strategies that are useful for testing.

It defines the following strategies:

- :code:`dimension`: Represents a size or dimension e.g. for numpy arrays image
  sizes etc.
"""
from hypothesis.strategies import integers


dimension = integers(min_value=2, max_value=1024)<commit_msg>Add standard strategy definitions<commit_after>"""Specific hypothesis strategies that are useful for testing.

It defines the following strategies:

- :code:`dimension`: Represents a size or dimension e.g. for numpy arrays image
  sizes etc.
- :code:`real`: Represents a real number in the range +/-1 million
"""
from hypothesis.strategies import integers, floats

real = floats(min_value=-1e6, max_value=1e6)
dimension = integers(min_value=2, max_value=1024)
{'fraction_non_alphanumeric': 0.09114249037227215, 'fraction_numerical': 0.019255455712451863, 'mean_word_length': 5.666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2823456', 'n_tokens_mistral': 233, 'n_tokens_neox': 209, 'n_words': 82}