The property-based testing library for Python
This report summarizes scanner evidence for HypothesisWorks/hypothesis, a Python project with 9,074 GitHub stars. SynthScan examined 123,177 lines of code across 618 source files, recording 4113 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 46.4 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3694 finding(s).
Are imports declared and package/API names verified? 139 finding(s).
Are wrappers, guards, and repeated structures necessary? 3148 finding(s).
Which changes need focused human review? 4113 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4113 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | whole_repo_tests/documentation/test_documentation.py | 61 | def test_documents_all_exported_strategies(): | CODE |
| LOW | whole_repo_tests/types/test_pyright.py | 42 | def test_pyright_passes_on_hypothesis(): | CODE |
| LOW | whole_repo_tests/types/test_pyright.py | 47 | def test_pyright_passes_on_basic_test(tmp_path: Path, python_version: str): | CODE |
| LOW | whole_repo_tests/types/test_pyright.py | 81 | def test_given_only_allows_strategies(tmp_path: Path, python_version: str): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 115 | def test_pyright_raises_for_mixed_pos_kwargs_in_given(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 175 | def test_numpy_arrays_strategy(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 212 | def test_filter_typeguard_revealed_types(tmp_path, val, expect): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 220 | def test_assume_revealed_types(tmp_path, val, expect): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 240 | def test_numpy_revealed_types(tmp_path, val, expect): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 303 | def test_pyright_tuples_pos_args_only(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 326 | def test_pyright_one_of_pos_args_only(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 349 | def test_register_random_protocol(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 394 | def get_pyright_analysed_type(fname): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 36 | def test_mypy_passes_on_hypothesis_strict(): | CODE |
| LOW | whole_repo_tests/types/test_mypy.py | 149 | def test_filter_typeguard_revealed_types(tmp_path, val, expect): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 156 | def test_assume_revealed_types(tmp_path, val, expect): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 174 | def test_numpy_revealed_types(tmp_path, val, expect): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 214 | def test_data_object_type_tracing(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 241 | def test_composite_type_tracing(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 264 | def test_functions_type_tracing(tmp_path, source, expected): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 277 | def test_settings_preserves_type(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 291 | def test_stateful_bundle_generic_type(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 314 | def test_stateful_rule_targets(tmp_path, decorator, target_args, returns): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 329 | def test_stateful_rule_no_targets(tmp_path, decorator): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 342 | def test_stateful_target_params_mutually_exclusive(tmp_path, decorator): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 363 | def test_stateful_target_params_return_type(tmp_path, decorator, target_args, returns): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 378 | def test_stateful_no_target_params_return_type(tmp_path, decorator): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 392 | def test_stateful_bundle_variance(tmp_path, decorator, use_multi): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 416 | def test_stateful_multiple_return(tmp_path, decorator): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 430 | def test_stateful_multiple_return_invalid(tmp_path, decorator): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 450 | def test_stateful_consumes_type_tracing(tmp_path, wrapper, expected): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 465 | def test_stateful_consumed_bundle_cannot_be_target(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 483 | def test_stateful_precondition_requires_predicate(tmp_path, return_val, errors): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 494 | def test_stateful_precondition_lambda(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 510 | def test_stateful_precondition_instance_method(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 526 | def test_stateful_precondition_precond_requires_one_arg(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 584 | def test_mypy_passes_on_basic_test(tmp_path, python_version): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 608 | def test_given_only_allows_strategies(tmp_path, python_version): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 624 | def test_raises_for_mixed_pos_kwargs_in_given(tmp_path, python_version): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 640 | def test_register_random_interface(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_mypy.py | 662 | def test_register_type_strategy_type_alias_type(tmp_path): | STRING |
| LOW | whole_repo_tests/types/test_hypothesis.py | 15 | def test_mypy_passes_on_hypothesis(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_release_files.py | 16 | def test_release_file_exists_and_is_valid(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_release_files.py | 31 | def test_release_file_has_no_merge_conflicts(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_leap_seconds.py | 17 | def test_leap_seconds_literal_matches_vendored_list(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_release_management.py | 38 | def test_changelog_parsing_strips_trailing_whitespace(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_ci_config.py | 28 | def test_python_versions_are_tested_in_ci(version): | CODE |
| LOW | whole_repo_tests/whole_repo/test_ci_config.py | 44 | def test_python_versions_are_in_trove_classifiers(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_shellcheck.py | 19 | def test_all_shell_scripts_are_valid(): | CODE |
| LOW | whole_repo_tests/whole_repo/test_deploy.py | 27 | def test_do_publish_updates_changelog(monkeypatch): | CODE |
| LOW | …le_repo_tests/whole_repo/test_validate_branch_check.py | 27 | def run_validate_branch_check(tmp_path, *, check, **kwargs): | CODE |
| LOW⚡ | …le_repo_tests/whole_repo/test_validate_branch_check.py | 52 | def test_validates_one_branch(tmp_path): | CODE |
| LOW⚡ | …le_repo_tests/whole_repo/test_validate_branch_check.py | 61 | def test_fails_on_zero_branches(tmp_path): | CODE |
| LOW⚡ | …le_repo_tests/whole_repo/test_validate_branch_check.py | 69 | def test_reports_uncovered_branches(tmp_path): | CODE |
| LOW | tooling/src/hypothesistooling/release.py | 79 | def parse_release_file_contents(release_contents, filename): | CODE |
| LOW | tooling/src/hypothesistooling/release.py | 129 | def install_hypothesis_editable(): | CODE |
| LOW | tooling/src/hypothesistooling/release.py | 164 | def update_changelog_and_version(): | CODE |
| LOW | tooling/src/hypothesistooling/release.py | 284 | def upload_distribution_to_pypi(*, expected_version): | CODE |
| LOW | tooling/src/hypothesistooling/__main__.py | 234 | def remove_consecutive_newlines_in_rst(path: Path): | STRING |
| LOW | …tent/2017-04-05-how-not-to-die-hard-with-hypothesis.md | 112 | def die_hard_problem_not_solved(self): | CODE |
| 2803 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | whole_repo_tests/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/documentation/test_documentation.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/documentation/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/types/test_pyright.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/types/test_mypy.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/types/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/types/test_hypothesis.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/types/revealed_types.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_release_files.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_leap_seconds.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_release_management.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_ci_config.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_shellcheck.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_rst_is_valid.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_requirements.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | whole_repo_tests/whole_repo/test_deploy.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | …le_repo_tests/whole_repo/test_validate_branch_check.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/setup.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/scripts/common.sh | 3 | # This file is not really a script but is intended for sourcing from other | COMMENT |
| MEDIUM | tooling/scripts/write-cargo-version.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/scripts/tool-hash.py | 3 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/git.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/release.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/release.py | 321 | # Create a GitHub release, to trigger Zenodo DOI minting. See | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/cargo.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/installers.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/scripts.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/__main__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/__main__.py | 205 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/__main__.py | 797 | # Create a version of the name that tox will pick up for the correct | STRING |
| MEDIUM | website/pelicanconf.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/benchmark/graph.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/test_annotated_types.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conftest.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/crosshair/test_crosshair.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/crosshair/test_conformance.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_engine.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_utils.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_shrinker.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_intlist.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_inquisitor.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_local_constants.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_float_encoding.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_test_data.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_choice_tree.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_provider.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_forced.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/common.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_junkdrawer.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_data_tree.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_order_shrinking.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_optimiser.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_shrinking_interface.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_choice.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_provider_contract.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | hypothesis/tests/conjecture/test_mutations.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| 418 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tooling/src/hypothesistooling/scripts.py | 58 | except Exception: | CODE |
| HIGH | tooling/src/hypothesistooling/__main__.py | 802 | except FileExistsError: | CODE |
| HIGH | hypothesis/tests/conftest.py | 97 | except ImportError: | CODE |
| HIGH | hypothesis/tests/conjecture/test_engine.py | 280 | except Exception: | CODE |
| HIGH | hypothesis/tests/conjecture/test_engine.py | 1492 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_engine.py | 1508 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_test_data.py | 184 | except StopTest: | CODE |
| HIGH | hypothesis/tests/conjecture/test_test_data.py | 412 | except StopTest: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 43 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 65 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 84 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 126 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 149 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 168 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 194 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 386 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_optimiser.py | 215 | except RunIsComplete: | CODE |
| HIGH | hypothesis/tests/conjecture/test_choice.py | 960 | except StopTest: | CODE |
| HIGH | hypothesis/tests/datetime/test_pytz_timezones.py | 154 | except StopTest: | CODE |
| HIGH | hypothesis/tests/numpy/__init__.py | 13 | except NameError: | CODE |
| HIGH | hypothesis/tests/numpy/test_from_dtype.py | 59 | except Exception: | CODE |
| HIGH | hypothesis/tests/common/utils.py | 293 | except Exception: | CODE |
| HIGH | hypothesis/tests/common/debug.py | 107 | except (Unsatisfiable, NoSuchExample): | CODE |
| HIGH | hypothesis/tests/common/costbounds.py | 19 | except KeyError: | CODE |
| HIGH | hypothesis/tests/ghostwriter/test_ghostwriter.py | 371 | except (AssertionError, ValueError, BaseExceptionGroup): | CODE |
| HIGH | hypothesis/tests/nocover/test_duplication.py | 58 | except ValueError: | CODE |
| HIGH | hypothesis/tests/nocover/test_database_usage.py | 61 | except NoSuchExample: | CODE |
| HIGH | hypothesis/tests/nocover/test_database_usage.py | 98 | except (Unsatisfiable, NoSuchExample): | CODE |
| HIGH | hypothesis/tests/nocover/test_database_usage.py | 133 | except NoSuchExample: | CODE |
| HIGH | …pothesis/tests/nocover/test_collective_minimization.py | 32 | except Unsatisfiable: | CODE |
| HIGH | …esis/tests/django/toystore/test_basic_configuration.py | 73 | except IntegrityError: | CODE |
| HIGH | hypothesis/tests/cover/test_flakiness.py | 230 | except (Nope, Flaky, Unsatisfiable): | CODE |
| HIGH | hypothesis/tests/cover/test_flakiness.py | 204 | except StopIteration: | CODE |
| HIGH | hypothesis/tests/cover/test_cache_implementation.py | 105 | except KeyError: | CODE |
| HIGH | hypothesis/tests/cover/test_cache_implementation.py | 114 | except KeyError: | CODE |
| HIGH | hypothesis/tests/cover/test_reproduce_failure.py | 56 | except InvalidArgument: | CODE |
| HIGH | hypothesis/tests/cover/test_reflection.py | 840 | except TypeError: | CODE |
| HIGH | hypothesis/tests/cover/test_functions.py | 469 | except StopAsyncIteration: | CODE |
| HIGH | hypothesis/tests/cover/test_testdecorators.py | 192 | except ValueError: | CODE |
| HIGH | hypothesis/tests/cover/test_testdecorators.py | 296 | except UnicodeEncodeError: | CODE |
| HIGH | hypothesis/src/_hypothesis_pytestplugin.py | 187 | except ValueError: | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 168 | except Exception: | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 471 | except KeyError: | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 490 | except OSError: # pragma: no cover | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 529 | except OSError: # pragma: no cover | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 560 | except OSError: | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 488 | except OSError: | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 611 | except OSError: # pragma: no cover | CODE |
| HIGH | hypothesis/src/hypothesis/database.py | 525 | except OSError: | CODE |
| HIGH | hypothesis/src/hypothesis/control.py | 314 | except (KeyError, TypeError): | CODE |
| HIGH | hypothesis/src/hypothesis/control.py | 320 | except TypeError: | CODE |
| HIGH | hypothesis/src/hypothesis/core.py | 833 | except AttributeError: | CODE |
| HIGH | hypothesis/src/hypothesis/stateful.py | 382 | except KeyError: | CODE |
| HIGH | …esis/src/hypothesis/strategies/_internal/strategies.py | 149 | except AttributeError: | CODE |
| HIGH | …esis/src/hypothesis/strategies/_internal/strategies.py | 164 | except AttributeError: | CODE |
| HIGH | …esis/src/hypothesis/strategies/_internal/strategies.py | 564 | except KeyError: | CODE |
| HIGH | …esis/src/hypothesis/strategies/_internal/strategies.py | 1110 | except TypeError: | CODE |
| HIGH | …esis/src/hypothesis/strategies/_internal/strategies.py | 200 | except AttributeError: | CODE |
| HIGH | hypothesis/src/hypothesis/strategies/_internal/core.py | 1405 | except TypeError: | CODE |
| HIGH | hypothesis/src/hypothesis/strategies/_internal/core.py | 1499 | except TypeError: | CODE |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | whole_repo_tests/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | whole_repo_tests/documentation/test_documentation.py | 61 | def test_documents_all_exported_strategies(): | COMMENT |
| LOW | whole_repo_tests/documentation/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | whole_repo_tests/types/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | whole_repo_tests/types/test_hypothesis.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | whole_repo_tests/whole_repo/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | whole_repo_tests/whole_repo/test_requirements.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | tooling/scripts/tool-hash.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tooling/src/hypothesistooling/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | tooling/src/hypothesistooling/__main__.py | 201 | COMMENT | |
| LOW | website/pelicanconf.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | requirements/crosshair.txt | 1 | # | COMMENT |
| LOW | requirements/crosshair.txt | 21 | # via pytest-xdist | COMMENT |
| LOW | requirements/crosshair.txt | 41 | # via pexpect | COMMENT |
| LOW | requirements/crosshair.txt | 61 | typing-extensions==4.16.0 | COMMENT |
| LOW | requirements/tools.txt | 1 | # | COMMENT |
| LOW | requirements/tools.txt | 21 | attrs==26.1.0 | COMMENT |
| LOW | requirements/tools.txt | 41 | certifi==2026.7.22 | COMMENT |
| LOW | requirements/tools.txt | 61 | # via -r requirements/tools.in | COMMENT |
| LOW | requirements/tools.txt | 81 | # via pytest-xdist | COMMENT |
| LOW | requirements/tools.txt | 121 | # keyring | COMMENT |
| LOW | requirements/tools.txt | 141 | markdown-it-py==4.2.0 | COMMENT |
| LOW | requirements/tools.txt | 161 | # mypy | COMMENT |
| LOW | requirements/tools.txt | 181 | # wheel | COMMENT |
| LOW | requirements/tools.txt | 201 | pluggy==1.6.0 | COMMENT |
| LOW | requirements/tools.txt | 221 | # ipython | COMMENT |
| LOW | requirements/tools.txt | 241 | pytest-xdist==3.8.0 | COMMENT |
| LOW | requirements/tools.txt | 261 | requests==2.34.2 | COMMENT |
| LOW | requirements/tools.txt | 281 | # via -r requirements/tools.in | COMMENT |
| LOW | requirements/tools.txt | 301 | # furo | COMMENT |
| LOW | requirements/tools.txt | 341 | # -r requirements/tools.in | COMMENT |
| LOW | requirements/tools.txt | 361 | types-redis==4.6.0.20241004 | COMMENT |
| LOW | requirements/tools.txt | 381 | # via tox-uv | COMMENT |
| LOW | requirements/coverage.txt | 1 | # | COMMENT |
| LOW | requirements/coverage.txt | 21 | fakeredis==2.39.0 | COMMENT |
| LOW | requirements/coverage.txt | 41 | pathspec==1.1.1 | COMMENT |
| LOW | requirements/coverage.txt | 61 | # pytest-xdist | COMMENT |
| LOW | requirements/coverage.txt | 81 | sortedcontainers==2.4.0 | COMMENT |
| LOW | requirements/test.txt | 1 | # | COMMENT |
| LOW | requirements/test.txt | 21 | pytest==9.1.1 | COMMENT |
| LOW | requirements/fuzzing.txt | 1 | # | COMMENT |
| LOW | requirements/fuzzing.txt | 21 | # via | COMMENT |
| LOW | requirements/fuzzing.txt | 41 | hpack==4.2.0 | COMMENT |
| LOW | requirements/fuzzing.txt | 61 | # -r requirements/coverage.in | COMMENT |
| LOW | requirements/fuzzing.txt | 81 | pathspec==1.1.1 | COMMENT |
| LOW | requirements/fuzzing.txt | 101 | # pytest | COMMENT |
| LOW | requirements/fuzzing.txt | 121 | # via -r requirements/coverage.in | COMMENT |
| LOW | requirements/fuzzing.txt | 141 | # via -r requirements/test.in | COMMENT |
| LOW | .github/workflows/website-preview.yml | 1 | name: Deploy website preview | COMMENT |
| LOW | hypothesis/rust/tests/embedded/internal/test_floats.rs | 1 | // This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/rust/src/lib.rs | 1 | // This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/rust/src/lib.rs | 21 | #[pymodule_init] | COMMENT |
| LOW | hypothesis/rust/src/internal/floats.rs | 1 | // This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/rust/src/internal/mod.rs | 1 | // This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/rust/src/internal/cathetus.rs | 1 | // This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/rust/src/internal/cathetus.rs | 21 | /// `sqrt(h*h - a*a)`. The behaviour with respect to non-finite arguments | COMMENT |
| LOW | hypothesis/tests/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/tests/crosshair/test_conformance.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/tests/conjecture/__init__.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| LOW | hypothesis/tests/conjecture/test_mutations.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| 114 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | whole_repo_tests/types/test_pyright.py | 385 | except Exception: | STRING |
| LOW | tooling/src/hypothesistooling/release.py | 341 | except Exception: | CODE |
| LOW | tooling/src/hypothesistooling/scripts.py | 58 | except Exception: | CODE |
| LOW | tooling/src/hypothesistooling/__main__.py | 354 | except Exception: | STRING |
| LOW | hypothesis/tests/conjecture/test_engine.py | 280 | except Exception: | CODE |
| LOW | hypothesis/tests/conjecture/common.py | 50 | except Exception as e: | CODE |
| LOW | hypothesis/tests/numpy/test_from_dtype.py | 59 | except Exception: | CODE |
| LOW | hypothesis/tests/common/utils.py | 293 | except Exception: | CODE |
| MEDIUM | hypothesis/tests/common/utils.py | 287 | def xfail_if_gil_disabled(f): | CODE |
| LOW | hypothesis/tests/ghostwriter/test_ghostwriter.py | 57 | except Exception: | CODE |
| LOW | …riter/recorded/sorted_self_error_equivalent_1error.txt | 20 | except Exception as exc: | CODE |
| MEDIUM | …riter/recorded/sorted_self_error_equivalent_1error.txt | 13 | def test_equivalent_sorted_sorted(iterable, key, reverse): | CODE |
| LOW | …r/recorded/sorted_self_error_equivalent_threefuncs.txt | 18 | except Exception as exc: | CODE |
| MEDIUM | …r/recorded/sorted_self_error_equivalent_threefuncs.txt | 13 | def test_equivalent_sorted_sorted_sorted(iterable, key, reverse): | CODE |
| LOW | …orded/sorted_self_error_equivalent_2error_unittest.txt | 22 | except Exception as exc: | CODE |
| MEDIUM | …orded/sorted_self_error_equivalent_2error_unittest.txt | 15 | def test_equivalent_sorted_sorted(self, iterable, key, reverse): | CODE |
| LOW | …riter/recorded/sorted_self_error_equivalent_simple.txt | 18 | except Exception as exc: | CODE |
| MEDIUM | …riter/recorded/sorted_self_error_equivalent_simple.txt | 13 | def test_equivalent_sorted_sorted(iterable, key, reverse): | CODE |
| LOW | hypothesis/tests/nocover/test_characters.py | 52 | except Exception: | CODE |
| MEDIUM | hypothesis/tests/nocover/test_characters.py | 48 | def _enc(cdc): | CODE |
| LOW⚡ | hypothesis/tests/nocover/test_interesting_origin.py | 22 | except Exception: | CODE |
| LOW⚡ | hypothesis/tests/nocover/test_interesting_origin.py | 32 | except Exception as err: | CODE |
| LOW⚡ | hypothesis/tests/nocover/test_interesting_origin.py | 41 | except Exception: | CODE |
| MEDIUM | hypothesis/tests/nocover/test_interesting_origin.py | 18 | def go_wrong_naive(a, b): | CODE |
| MEDIUM | hypothesis/tests/nocover/test_interesting_origin.py | 28 | def go_wrong_with_cause(a, b): | CODE |
| MEDIUM | hypothesis/tests/nocover/test_interesting_origin.py | 37 | def go_wrong_coverup(a, b): | CODE |
| LOW | hypothesis/tests/nocover/test_recursive.py | 139 | except Exception as exc: | CODE |
| MEDIUM | hypothesis/tests/nocover/test_recursive.py | 136 | def test(data): | CODE |
| LOW | hypothesis/tests/pandas/test_data_frame.py | 216 | except Exception as e: | CODE |
| LOW | hypothesis/tests/pandas/test_indexes.py | 140 | except Exception as e: | CODE |
| LOW | hypothesis/tests/cover/test_cache_implementation.py | 331 | except Exception as exc: | CODE |
| LOW | hypothesis/tests/cover/test_reproduce_failure.py | 58 | except Exception as e: | CODE |
| MEDIUM | hypothesis/tests/cover/test_reproduce_failure.py | 50 | def test_decoding_may_fail(t): | CODE |
| LOW | hypothesis/tests/cover/test_type_lookup.py | 99 | except Exception: | CODE |
| LOW⚡ | hypothesis/tests/cover/test_statistical_events.py | 41 | except Exception: | CODE |
| LOW | hypothesis/tests/cover/test_filestorage.py | 76 | except Exception: | CODE |
| LOW | hypothesis/src/_hypothesis_ftz_detector.py | 78 | except Exception: | CODE |
| LOW | hypothesis/src/_hypothesis_pytestplugin.py | 421 | except Exception: # pragma: no cover | STRING |
| LOW | hypothesis/src/hypothesis/database.py | 168 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/database.py | 1347 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/core.py | 434 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/stateful.py | 1236 | except Exception as err: | CODE |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 555 | except Exception: | CODE |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 817 | except Exception: | CODE |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 1442 | except Exception: | CODE |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/core.py | 1512 | def _get_annotation_arg(key, annotation_type): | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1649 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1724 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 811 | except Exception: | STRING |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1327 | except Exception: | STRING |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1343 | except Exception: # pragma: no cover | STRING |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/types.py | 265 | def try_issubclass(thing, superclass): | CODE |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/types.py | 1120 | def _can_hash(val): | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 734 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 814 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 1124 | except Exception: | CODE |
| LOW | …othesis/src/hypothesis/strategies/_internal/numbers.py | 366 | except Exception: | CODE |
| LOW | …sis/src/hypothesis/strategies/_internal/collections.py | 378 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/utils.py | 141 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/utils.py | 197 | except Exception: | CODE |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | whole_repo_tests/types/test_pyright.py | 11 | CODE | |
| LOW | hypothesis/tests/conftest.py | 96 | CODE | |
| LOW | hypothesis/tests/conjecture/test_provider.py | 690 | CODE | |
| LOW | hypothesis/tests/numpy/__init__.py | 21 | CODE | |
| LOW | hypothesis/tests/numpy/test_import.py | 30 | CODE | |
| LOW | hypothesis/tests/common/__init__.py | 38 | CODE | |
| LOW | …s/tests/ghostwriter/example_code/future_annotations.py | 11 | CODE | |
| LOW | hypothesis/tests/nocover/test_imports.py | 11 | CODE | |
| LOW | hypothesis/tests/nocover/test_imports.py | 12 | CODE | |
| LOW | …s/tests/nocover/test_type_lookup_future_annotations.py | 11 | CODE | |
| LOW | …esis/tests/django/toys/settings/settings_no_contrib.py | 11 | CODE | |
| LOW | hypothesis/tests/cover/test_type_lookup_forward_ref.py | 36 | CODE | |
| LOW | hypothesis/src/_hypothesis_ftz_detector.py | 153 | CODE | |
| LOW | hypothesis/src/hypothesis/control.py | 18 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 20 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 20 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 20 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 20 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 29 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 29 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 29 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 29 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 29 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 31 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 32 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 33 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 34 | CODE | |
| LOW | hypothesis/src/hypothesis/__init__.py | 34 | CODE | |
| LOW | hypothesis/src/hypothesis/statistics.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/statistics.py | 21 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 11 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 12 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 13 | CODE | |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tooling/src/hypothesistooling/release.py | 164 | CODE | |
| LOW | tooling/src/hypothesistooling/scripts.py | 20 | CODE | |
| LOW | tooling/src/hypothesistooling/__main__.py | 246 | CODE | |
| LOW | hypothesis/tests/conftest.py | 234 | CODE | |
| LOW | hypothesis/tests/array_api/conftest.py | 108 | CODE | |
| LOW | …othesis/tests/ghostwriter/try-writing-for-installed.py | 34 | CODE | |
| LOW | …esis/tests/nocover/test_explore_arbitrary_languages.py | 70 | CODE | |
| LOW | …esis/tests/nocover/test_explore_arbitrary_languages.py | 71 | CODE | |
| LOW | hypothesis/tests/nocover/test_precise_shrinking.py | 226 | CODE | |
| LOW | hypothesis/tests/cover/test_pretty.py | 73 | CODE | |
| LOW | hypothesis/tests/cover/test_cache_implementation.py | 350 | CODE | |
| LOW | hypothesis/tests/cover/test_observability.py | 571 | CODE | |
| LOW | hypothesis/tests/cover/test_observability.py | 607 | CODE | |
| LOW | hypothesis/tests/cover/test_slippage.py | 194 | CODE | |
| LOW | hypothesis/tests/cover/test_slippage.py | 201 | CODE | |
| LOW | hypothesis/tests/cover/test_randoms.py | 84 | CODE | |
| LOW | hypothesis/tests/cover/test_settings.py | 98 | CODE | |
| LOW | hypothesis/src/_hypothesis_pytestplugin.py | 192 | CODE | |
| LOW | hypothesis/src/hypothesis/configuration.py | 78 | CODE | |
| LOW | hypothesis/src/hypothesis/database.py | 1267 | CODE | |
| LOW | hypothesis/src/hypothesis/database.py | 1307 | CODE | |
| LOW | hypothesis/src/hypothesis/database.py | 494 | CODE | |
| LOW | hypothesis/src/hypothesis/database.py | 945 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 538 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1850 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 983 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1209 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1964 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1054 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 2047 | CODE | |
| LOW | hypothesis/src/hypothesis/stateful.py | 102 | CODE | |
| LOW | hypothesis/src/hypothesis/stateful.py | 123 | CODE | |
| LOW | hypothesis/src/hypothesis/stateful.py | 418 | CODE | |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 760 | CODE | |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 822 | CODE | |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 911 | CODE | |
| LOW | …hesis/src/hypothesis/strategies/_internal/recursive.py | 173 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 649 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1183 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1357 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 2555 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1521 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 214 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 265 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 413 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 603 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 1083 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/numbers.py | 281 | CODE | |
| LOW | …pothesis/src/hypothesis/strategies/_internal/random.py | 209 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/attrs.py | 93 | CODE | |
| LOW | …thesis/src/hypothesis/strategies/_internal/datetime.py | 396 | CODE | |
| LOW | …thesis/src/hypothesis/strategies/_internal/datetime.py | 719 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/strings.py | 330 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/strings.py | 165 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/regex.py | 267 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/regex.py | 343 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/scrutineer.py | 79 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/compat.py | 95 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/compat.py | 212 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/reflection.py | 201 | CODE | |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | hypothesis/tests/conjecture/test_mutations.py | 21 | # ┌─────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/tests/conjecture/test_mutations.py | 22 | # ┌──────┤ a ├──────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/tests/conjecture/test_mutations.py | 23 | # │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/tests/conjecture/test_mutations.py | 30 | # └─────┘ └─────┘ └──┬──┘ └─────┘ | COMMENT |
| MEDIUM⚡ | hypothesis/tests/conjecture/test_mutations.py | 34 | # └─────┘ └─────┘ | COMMENT |
| MEDIUM | hypothesis/tests/nocover/test_drypython_returns.py | 22 | # =========== | COMMENT |
| MEDIUM | hypothesis/tests/nocover/test_drypython_returns.py | 43 | # =============== | COMMENT |
| MEDIUM | hypothesis/tests/nocover/test_drypython_returns.py | 54 | # ============= | COMMENT |
| MEDIUM | hypothesis/docs/conf.py | 78 | # ---------------- | COMMENT |
| MEDIUM | …othesis/src/hypothesis/strategies/_internal/strings.py | 402 | # ================================================ | COMMENT |
| MEDIUM | …othesis/src/hypothesis/strategies/_internal/strings.py | 411 | # ================================================ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1427 | # ┌─────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1428 | # ┌─────┤ a ├──────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1429 | # │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1448 | # ┌─────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1449 | # ┌─────┤ a ├────────────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1450 | # │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1452 | # ┌──┤ b ├──┐ ┌─────┤ a ├──────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1453 | # │ └──┬──┘ │ │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1463 | # ┌─────┐ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hypothesis/tests/conjecture/test_engine.py | 1061 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_float_encoding.py | 129 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 439 | def test_function(n): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 454 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 468 | def test_function(f): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 482 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 496 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 529 | def test_function(_): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 558 | def test_function(_): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 616 | def test_function(x): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 634 | def test_function(x): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 337 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 366 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 393 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 412 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 668 | def test_function(x): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 724 | def test_function(n): | CODE |
| LOW | hypothesis/tests/quality/test_zig_zagging.py | 77 | def test_function(data): | CODE |
| LOW | hypothesis/tests/quality/test_poisoned_trees.py | 77 | def test_function(data): | CODE |
| LOW | hypothesis/tests/quality/test_discovery_ability.py | 68 | def test_function(data): | CODE |
| LOW | hypothesis/tests/quality/test_poisoned_lists.py | 76 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 25 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 42 | def test_function(data: DataObject) -> None: | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 59 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 85 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 104 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 128 | def test_function(val: int) -> None: | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 148 | def test_function(data: DataObject) -> None: | CODE |
| LOW | hypothesis/tests/nocover/test_precise_shrinking.py | 115 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_precise_shrinking.py | 249 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_precise_shrinking.py | 268 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/cover/test_stateful.py | 640 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 555 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 577 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 602 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 672 | def do_stuff(self): | CODE |
| LOW⚡ | hypothesis/tests/cover/test_stateful.py | 808 | def do_something(self): | STRING |
| LOW⚡ | hypothesis/tests/cover/test_lookup.py | 640 | def helper(): | CODE |
| LOW | hypothesis/tests/cover/test_lookup.py | 660 | def helper(): | CODE |
| LOW | hypothesis/src/hypothesis/internal/conjecture/engine.py | 555 | def test_function(self, data: ConjectureData) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hypothesis/tests/conjecture/test_junkdrawer.py | 101 | # this would be more robust as a stateful test, where each rule is a list operation | COMMENT |
| LOW | hypothesis/tests/cover/test_fuzz_one_input.py | 87 | # engine would give up, fuzz_one_input will just return None each time. | COMMENT |
| MEDIUM | hypothesis/src/_hypothesis_ftz_detector.py | 142 | # separate modules which both enable FTZ. We already gave up comprehensive | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/core.py | 2403 | # over some attributes to make the switch as seamless as possible. | COMMENT |
| LOW | hypothesis/src/hypothesis/_settings.py | 1153 | # if we just pass the parent and no kwargs, like | COMMENT |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 855 | # just use that and return immediately. Note that we also track the | COMMENT |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 866 | # we just return the corresponding element. | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/types.py | 830 | # many users treat them as comprehensive and one of Hypothesis' design goals | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/internal/reflection.py | 50 | # deliberately should know what they're doing. This is more robust than | COMMENT |
| LOW | …hesis/src/hypothesis/internal/conjecture/junkdrawer.py | 385 | # we just set it to as known. | COMMENT |
| LOW | hypothesis/src/hypothesis/internal/conjecture/engine.py | 595 | # just return in the _backend_cannot_proceed branch. | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/extra/django/_fields.py | 247 | # concept, but we intend to leverage the idea much more heavily soon. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tooling/src/hypothesistooling/cargo.py | 56 | def update_lockfile() -> None: | CODE |
| LOW | hypothesis/tests/array_api/common.py | 24 | __all__ = [ | CODE |
| LOW | hypothesis/tests/common/__init__.py | 40 | __all__ = ["TIME_INCREMENT", "standard_types"] | CODE |
| LOW | hypothesis/docs/_ext/hypothesis_redirects.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | hypothesis/src/hypothesis/configuration.py | 24 | def set_hypothesis_home_dir(directory: str | Path | None) -> None: | CODE |
| LOW | hypothesis/src/hypothesis/database.py | 46 | __all__ = [ | CODE |
| LOW | hypothesis/src/hypothesis/__init__.py | 36 | __all__ = [ | CODE |
| LOW | hypothesis/src/hypothesis/_settings.py | 45 | __all__ = ["settings"] | CODE |
| LOW | hypothesis/src/hypothesis/strategies/__init__.py | 67 | __all__ = [ | CODE |
| LOW | …thesis/src/hypothesis/strategies/_internal/__init__.py | 16 | __all__ = ["SearchStrategy", "check_strategy"] | CODE |
| LOW | hypothesis/src/hypothesis/internal/observability.py | 78 | def update_count(self, *, condition: bool) -> None: | CODE |
| LOW | …hesis/src/hypothesis/internal/conjecture/junkdrawer.py | 344 | def _setrecursionlimit(self, new_limit: int, *, check: bool = True) -> None: | CODE |
| LOW | …c/hypothesis/internal/conjecture/shrinking/__init__.py | 18 | __all__ = ["Bytes", "Collection", "Float", "Integer", "Ordering", "String"] | CODE |
| LOW | hypothesis/src/hypothesis/extra/array_api.py | 56 | __all__ = [ | CODE |
| LOW | hypothesis/src/hypothesis/extra/lark.py | 39 | __all__ = ["from_lark"] | CODE |
| LOW | hypothesis/src/hypothesis/extra/numpy.py | 83 | __all__ = [ | CODE |
| LOW | hypothesis/src/hypothesis/extra/pytz.py | 34 | __all__ = ["timezones"] | CODE |
| LOW | hypothesis/src/hypothesis/extra/dateutil.py | 29 | __all__ = ["timezones"] | CODE |
| LOW | hypothesis/src/hypothesis/extra/_array_helpers.py | 23 | __all__ = [ | CODE |
| LOW | hypothesis/src/hypothesis/extra/django/__init__.py | 22 | __all__ = [ | CODE |
| LOW | hypothesis/src/hypothesis/extra/pandas/__init__.py | 20 | __all__ = ["column", "columns", "data_frames", "indexes", "range_indexes", "series"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | hypothesis/tests/django/toystore/models.py | 12 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | hypothesis/src/hypothesis/extra/django/_impl.py | 18 | from django.core.exceptions import ValidationError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/content/2025-11-01-claude-code-plugin.md | 12 | <a href="https://mmaaz-git.github.io/agentic-pbt-site/" class="cta-button"> | CODE |
| MEDIUM | website/content/2025-11-01-claude-code-plugin.md | 61 | Armed with a test-writing command, one natural extension is to use it to find real bugs in open-source repositories. To | CODE |
| MEDIUM | hypothesis/src/hypothesis/internal/statistics.py | 123 | # provide stronger guardrails around composition. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hypothesis/src/hypothesis/_settings.py | 660 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 649 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/numbers.py | 281 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/observability.py | 397 | CODE | |
| LOW | hypothesis/src/hypothesis/extra/numpy.py | 127 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hypothesis/tox.ini | 93 | # Note: when adding or removing tested Pandas versions, make sure to update the | COMMENT |
| LOW | hypothesis/tests/django/toystore/forms.py | 97 | # to accept both True and False in your BooleanField, make sure you set | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hypothesis/src/hypothesis/database.py | 1013 | # Check if the latest artifact is a cache hit | COMMENT |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1417 | # Check if we have an explicitly registered strategy for this thing, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hypothesis/tests/nocover/test_baseexception.py | 41 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hypothesis/src/hypothesis/core.py | 157 | # this variable stores "engine-global" constants, which are global relative to a | COMMENT |