Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,708 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,708
◇
Types & classes
747
↳
Endpoints
140
↓ 1 callers
Method
mask_high_bits
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:52
↓ 1 callers
Function
matrix
(draw)
hypothesis/tests/cover/test_composite.py:112
↓ 1 callers
Function
maybe_pad
Attempt to insert padding around the result of a regex draw while preserving the match.
hypothesis/src/hypothesis/strategies/_internal/regex.py:246
↓ 1 callers
Function
merge_base
(a, b)
tooling/src/hypothesistooling/git.py:45
↓ 1 callers
Function
merge_preds
(*con_predicates: ConstructivePredicate)
hypothesis/src/hypothesis/internal/filtering.py:134
↓ 1 callers
Function
minimal_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:150
↓ 1 callers
Function
minimal_nodes_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:154
↓ 1 callers
Function
modified_files
()
tooling/src/hypothesistooling/git.py:98
↓ 1 callers
Method
move
Move ``value`` from key ``src`` to key ``dest``. Equivalent to ``delete(src, value)`` followed by ``save(src, value)``, but
hypothesis/src/hypothesis/database.py:255
↓ 1 callers
Method
move
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:803
↓ 1 callers
Method
move
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1217
↓ 1 callers
Function
multiple_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:118
↓ 1 callers
Function
multiple_stoptest_2
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:129
↓ 1 callers
Function
naive_datetime64_dtype
The underlying timezone-naive ``datetime64[unit]`` dtype that backs a :class:`~pandas.DatetimeTZDtype`.
hypothesis/src/hypothesis/extra/pandas/impl.py:94
↓ 1 callers
Function
nested_dtypes
Return the most-general dtype strategy. Elements drawn from this strategy may be simple (from the subtype_strategy), or several such values d
hypothesis/src/hypothesis/extra/numpy.py:1040
↓ 1 callers
Function
nested_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:94
↓ 1 callers
Method
new_entry
Called when a key is written that does not currently appear in the map. Returns the score to associate with the key.
hypothesis/src/hypothesis/internal/cache.py:219
↓ 1 callers
Function
new_given_signature
Make an updated signature for the wrapped test.
hypothesis/src/hypothesis/core.py:812
↓ 1 callers
Function
next_up_normal
(value: f64, width: u32, allow_subnormal: bool)
hypothesis/rust/src/internal/floats.rs:226
↓ 1 callers
Function
nodes
(draw, *, was_forced=None, choice_types=None)
hypothesis/tests/conjecture/common.py:171
↓ 1 callers
Function
nodes_inline
For inline-creating a choice node or list of choice nodes, where you don't care about the constraints. This uses maximally-permissable constr
hypothesis/tests/conjecture/common.py:187
↓ 1 callers
Function
note_statistics
(stats_dict: "StatisticsDict")
hypothesis/src/hypothesis/statistics.py:26
↓ 1 callers
Function
notice_initialization_restarted
Reset _first_postinit_what, so that we don't think we're in post-init. Additionally, if it was set that means that there has been a sideeffect tha
hypothesis/src/hypothesis/configuration.py:124
↓ 1 callers
Function
numeric_bounds_from_ast
Take an AST; return a ConstructivePredicate. >>> lambda x: x >= 0 {"min_value": 0}, None >>> lambda x: x < 10 {"max_value": 10, "excl
hypothesis/src/hypothesis/internal/filtering.py:178
↓ 1 callers
Function
o
(e,n,t,r,s,g)
website/theme/static/prism.js:3
↓ 1 callers
Method
observe_for_provider
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:996
↓ 1 callers
Function
offset
(timezone)
hypothesis/tests/datetime/test_dateutil_timezones.py:92
↓ 1 callers
Method
on_access
Called every time a key that is already in the map is read or written. Returns the new score for the key.
hypothesis/src/hypothesis/internal/cache.py:227
↓ 1 callers
Method
on_evict
Called after a key has been evicted, with the score it had had at the point of eviction.
hypothesis/src/hypothesis/internal/cache.py:235
↓ 1 callers
Method
on_evict
Register a listener function that will be called with data when it gets removed from the front because something else dominates it.
hypothesis/src/hypothesis/internal/conjecture/pareto.py:257
↓ 1 callers
Function
oops
(*args)
hypothesis/tests/cover/test_validation.py:101
↓ 1 callers
Function
oops
(s)
hypothesis/tests/cover/test_flakiness.py:132
↓ 1 callers
Function
optional_union_parameter
(a: float, b: float | int | None)
hypothesis/tests/ghostwriter/test_expected_output.py:106
↓ 1 callers
Function
ordered_intersection
Set union of n sequences, ordered for reproducibility across runs.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:201
↓ 1 callers
Method
passing_choice_sequences
Return a collection of choice sequence nodes which cause the test to pass. Optionally restrict this by a certain prefix, which is useful for e
hypothesis/src/hypothesis/internal/conjecture/engine.py:1794
↓ 1 callers
Method
pdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:138
↓ 1 callers
Method
per_test_case_context_manager
(self)
hypothesis/tests/conjecture/test_provider.py:779
↓ 1 callers
Function
plot
(data, out)
hypothesis/benchmark/graph.py:114
↓ 1 callers
Function
plot_vega
(vega_spec, data, *, to, parameters=None)
hypothesis/benchmark/graph.py:19
↓ 1 callers
Function
pop
(l)
hypothesis/tests/conjecture/test_junkdrawer.py:114
↓ 1 callers
Method
prep_args_kwargs_from_strategies
( self, kwarg_strategies: dict[str, Any], )
hypothesis/src/hypothesis/control.py:194
↓ 1 callers
Function
pretty_file_name
(f: str)
hypothesis/src/hypothesis/internal/coverage.py:37
↓ 1 callers
Function
push_tag
(tagname)
tooling/src/hypothesistooling/git.py:88
↓ 1 callers
Function
raise_hypothesis_usage_error
(msg)
hypothesis/src/_hypothesis_pytestplugin.py:211
↓ 1 callers
Function
random
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:99
↓ 1 callers
Function
random_func
(x)
hypothesis/tests/cover/test_regressions.py:111
↓ 1 callers
Method
realize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:427
↓ 1 callers
Function
realize_choices
(data: ConjectureData, *, for_failure: bool)
hypothesis/src/hypothesis/internal/conjecture/engine.py:261
↓ 1 callers
Function
record_and_test_size
(xs)
hypothesis/tests/nocover/test_flatmap.py:59
↓ 1 callers
Function
record_branch
(name, value)
hypothesis/src/hypothesis/internal/coverage.py:61
↓ 1 callers
Method
record_choice
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:373
↓ 1 callers
Method
record_for_health_check
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:818
↓ 1 callers
Function
recur
(i)
hypothesis/tests/conjecture/test_junkdrawer.py:200
↓ 1 callers
Function
recur
(i, data)
hypothesis/tests/conjecture/test_engine.py:163
↓ 1 callers
Function
recur2
(strat: SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:196
↓ 1 callers
Function
recurse
(codes)
hypothesis/src/hypothesis/strategies/_internal/regex.py:390
↓ 1 callers
Method
reduce_each_alternative
This is a pass that is designed to rerandomise use of the one_of strategy or things that look like it, in order to try to move from la
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:740
↓ 1 callers
Function
register_for
(field_type)
hypothesis/src/hypothesis/extra/django/_fields.py:115
↓ 1 callers
Function
register_type_strategy
Add an entry to the global type-to-strategy lookup. This lookup is used in :func:`~hypothesis.strategies.builds` and |@given|. :func:`~h
hypothesis/src/hypothesis/strategies/_internal/core.py:2556
↓ 1 callers
Function
remove_consecutive_newlines_in_rst
(path: Path)
tooling/src/hypothesistooling/__main__.py:234
↓ 1 callers
Method
replay_choices
Called when Hypothesis has discovered a |choice sequence| which the provider may wish to enqueue to replay under its own instrumentat
hypothesis/src/hypothesis/internal/conjecture/providers.py:618
↓ 1 callers
Function
reqs_kwonly
(*, a, b)
hypothesis/tests/cover/test_annotations.py:61
↓ 1 callers
Function
requires_arg
Similar to the enum.Enum.__call__ method.
hypothesis/tests/cover/test_direct_strategies.py:576
↓ 1 callers
Function
resolve_strategies
(typ)
hypothesis/src/hypothesis/strategies/_internal/types.py:1356
↓ 1 callers
Function
restore_all
()
hypothesis/src/hypothesis/internal/entropy.py:228
↓ 1 callers
Function
result
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:436
↓ 1 callers
Function
reuse_group
(draw, group_name)
hypothesis/src/hypothesis/strategies/_internal/regex.py:94
↓ 1 callers
Function
reverse64
Reverse a 64-bit integer bitwise. We do this by breaking it up into 8 bytes. The 64-bit integer is then the concatenation of each of these by
hypothesis/src/hypothesis/internal/conjecture/floats.py:131
↓ 1 callers
Function
reverse_bits
(x: int, n: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:158
↓ 1 callers
Function
row
()
hypothesis/src/hypothesis/extra/pandas/impl.py:657
↓ 1 callers
Function
rows_only
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:654
↓ 1 callers
Method
rule_label
(self, name: str)
hypothesis/src/hypothesis/extra/lark.py:178
↓ 1 callers
Function
run
()
hypothesis/src/hypothesis/entry_points.py:22
↓ 1 callers
Method
run
(self)
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:52
↓ 1 callers
Method
run_engine
Run the test function many times, on database input and generated input, using the Conjecture engine.
hypothesis/src/hypothesis/core.py:1402
↓ 1 callers
Function
run_in_process
(fn: Callable[..., FTZCulprits], *args: object)
hypothesis/src/_hypothesis_ftz_detector.py:51
↓ 1 callers
Function
run_locally
()
hypothesis/tests/nocover/test_cacheable.py:60
↓ 1 callers
Method
run_node_program
Node programs are a mini-DSL for node rewriting, defined as a sequence of commands that can be run at some index into the nodes Comma
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1925
↓ 1 callers
Method
run_step
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:40
↓ 1 callers
Method
run_step
Run a single step of the main shrink loop, attempting to improve the current value.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:177
↓ 1 callers
Function
run_test
()
hypothesis/tests/cover/test_testdecorators.py:355
↓ 1 callers
Function
run_to_data
(f)
hypothesis/tests/conjecture/common.py:55
↓ 1 callers
Function
run_to_notes
(TestClass)
hypothesis/tests/nocover/test_stateful.py:29
↓ 1 callers
Method
save
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1209
↓ 1 callers
Method
save
(self, k, v)
hypothesis/tests/cover/test_database_backend.py:462
↓ 1 callers
Function
save_patch
(patch: str, *, slug: str = "")
hypothesis/src/hypothesis/extra/_patching.py:335
↓ 1 callers
Function
score
(enabled)
hypothesis/tests/nocover/test_targeting.py:66
↓ 1 callers
Function
seed
Seed the randomness for this test. ``seed`` may be any hashable object. No exact meaning for ``seed`` is provided other than that for a
hypothesis/src/hypothesis/core.py:342
↓ 1 callers
Function
series
Provides a strategy for producing a :class:`pandas.Series`. Arguments: * elements: a strategy that will be used to generate the individual
hypothesis/src/hypothesis/extra/pandas/impl.py:353
↓ 1 callers
Method
set_element
(self, val, result, idx, *, fill=False)
hypothesis/src/hypothesis/extra/numpy.py:276
↓ 1 callers
Function
set_hypothesis_home_dir
(directory: str | Path | None)
hypothesis/src/hypothesis/configuration.py:24
↓ 1 callers
Method
setstate
(self, state)
hypothesis/src/hypothesis/strategies/_internal/random.py:348
↓ 1 callers
Method
setstate
(self, state)
hypothesis/src/hypothesis/strategies/_internal/random.py:424
↓ 1 callers
Function
setup
(app)
hypothesis/docs/conf.py:206
↓ 1 callers
Method
setup
Runs initial setup code. Convenience function for children that doesn't require messing with the signature of init.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:52
↓ 1 callers
Method
setup
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:47
↓ 1 callers
Function
setup_pyodide
()
tooling/src/hypothesistooling/__main__.py:969
↓ 1 callers
Method
shift_right
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:48
↓ 1 callers
Method
short_circuit
Possibly attempt to do some shrinking. If this returns True, the ``run`` method will terminate early without doing any more work.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:164
↓ 1 callers
Method
shrink_by_multiples
(self, k)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:67
← previous
next →
1,301–1,400 of 6,708, ranked by callers