The property-based testing library for Python
This report presents the forensic synthetic code analysis of HypothesisWorks/hypothesis, a Python project with 8,778 GitHub stars. SynthScan v2.0 examined 114,858 lines of code across 611 source files, recording 3649 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 41.6 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3649 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | 285 | def test_pyright_tuples_pos_args_only(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 308 | def test_pyright_one_of_pos_args_only(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 331 | def test_register_random_protocol(tmp_path: Path): | STRING |
| LOW | whole_repo_tests/types/test_pyright.py | 376 | 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_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 | 77 | def parse_release_file_contents(release_contents, filename): | CODE |
| LOW | tooling/src/hypothesistooling/release.py | 150 | def update_changelog_and_version(): | CODE |
| LOW | tooling/src/hypothesistooling/release.py | 270 | def upload_distribution_to_pypi(*, expected_version): | CODE |
| LOW | tooling/src/hypothesistooling/__main__.py | 231 | 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 |
| LOW | …tent/2017-04-05-how-not-to-die-hard-with-hypothesis.md | 126 | def die_hard_problem_not_solved(self): | CODE |
| LOW | website/content/2016-04-16-anatomy-of-a-test.md | 23 | def test_floats_are_commutative(x, y): | CODE |
| 2486 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_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 | 313 | # 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 | 202 | # This file is part of Hypothesis, which may be found at | COMMENT |
| MEDIUM | tooling/src/hypothesistooling/__main__.py | 704 | # 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 |
| MEDIUM | hypothesis/tests/conjecture/test_minimizer.py | 1 | # This file is part of Hypothesis, which may be found at | COMMENT |
| 411 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 | HEADER = """ | 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 -r requirements/test.in | COMMENT |
| LOW | requirements/crosshair.txt | 61 | syrupy==5.5.3 | COMMENT |
| LOW | requirements/tools.txt | 1 | # | COMMENT |
| LOW | requirements/tools.txt | 21 | attrs==26.1.0 | COMMENT |
| LOW | requirements/tools.txt | 41 | certifi==2026.6.17 | COMMENT |
| LOW | requirements/tools.txt | 61 | # via -r requirements/tools.in | COMMENT |
| LOW | requirements/tools.txt | 81 | # via -r requirements/tools.in | COMMENT |
| LOW | requirements/tools.txt | 101 | # anyio | COMMENT |
| LOW | requirements/tools.txt | 121 | jeepney==0.9.0 | COMMENT |
| LOW | requirements/tools.txt | 141 | markdown==3.10.2 | COMMENT |
| LOW | requirements/tools.txt | 161 | # black | COMMENT |
| LOW | requirements/tools.txt | 181 | parso==0.8.7 | 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 | tox==4.56.4 | COMMENT |
| LOW | requirements/tools.txt | 361 | typing-extensions==4.16.0 | COMMENT |
| LOW | requirements/tools.txt | 381 | watchfiles==1.2.0 | COMMENT |
| LOW | requirements/coverage.txt | 1 | # | COMMENT |
| LOW | requirements/coverage.txt | 21 | fakeredis==2.36.2 | 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/main.yml | 141 | task: | COMMENT |
| LOW | hypothesis/rust/Cargo.toml | 21 | codegen-units = 1 | 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/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/conftest.py | 241 | # ideally benchmark shrinking would not be mutually exclusive with the | 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 |
| 116 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 | 684 | 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 | 34 | 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 | 20 | CODE | |
| LOW | hypothesis/src/hypothesis/statistics.py | 20 | 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 | whole_repo_tests/types/test_pyright.py | 367 | except Exception: | STRING |
| LOW | tooling/src/hypothesistooling/release.py | 333 | except Exception: | CODE |
| LOW | tooling/src/hypothesistooling/scripts.py | 58 | except Exception: | CODE |
| LOW | tooling/src/hypothesistooling/__main__.py | 345 | 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 | 283 | except Exception: | CODE |
| MEDIUM | hypothesis/tests/common/utils.py | 277 | def xfail_if_gil_disabled(f): | CODE |
| LOW | hypothesis/tests/ghostwriter/test_ghostwriter.py | 54 | 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 | 47 | except Exception: | CODE |
| MEDIUM | hypothesis/tests/nocover/test_characters.py | 43 | def _enc(cdc): | CODE |
| LOW⚡ | hypothesis/tests/nocover/test_interesting_origin.py | 23 | except Exception: | CODE |
| LOW⚡ | hypothesis/tests/nocover/test_interesting_origin.py | 33 | except Exception as err: | CODE |
| LOW⚡ | hypothesis/tests/nocover/test_interesting_origin.py | 42 | except Exception: | CODE |
| MEDIUM | hypothesis/tests/nocover/test_interesting_origin.py | 19 | def go_wrong_naive(a, b): | CODE |
| MEDIUM | hypothesis/tests/nocover/test_interesting_origin.py | 29 | def go_wrong_with_cause(a, b): | CODE |
| MEDIUM | hypothesis/tests/nocover/test_interesting_origin.py | 38 | 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 | 175 | except Exception as e: | CODE |
| LOW | hypothesis/tests/pandas/test_indexes.py | 126 | 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 | 105 | 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/docs/_ext/hypothesis_redirects.py | 135 | except Exception: | CODE |
| LOW | hypothesis/src/_hypothesis_ftz_detector.py | 78 | except Exception: | CODE |
| LOW | hypothesis/src/_hypothesis_pytestplugin.py | 415 | except Exception: | 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 | 431 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/stateful.py | 1171 | except Exception as err: | CODE |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 529 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 792 | except Exception: | STRING |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1302 | except Exception: | STRING |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1318 | except Exception: # pragma: no cover | STRING |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1624 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1699 | except Exception: | CODE |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/core.py | 1487 | def _get_annotation_arg(key, annotation_type): | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 683 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 763 | except Exception: | CODE |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 1073 | except Exception: | CODE |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/types.py | 282 | def try_issubclass(thing, superclass): | CODE |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/types.py | 1069 | def _can_hash(val): | CODE |
| LOW | …othesis/src/hypothesis/strategies/_internal/numbers.py | 335 | 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 |
| LOW | hypothesis/src/hypothesis/strategies/_internal/regex.py | 253 | except Exception as err: | CODE |
| LOW | hypothesis/src/hypothesis/internal/scrutineer.py | 317 | except Exception: # pragma: no cover | CODE |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tooling/src/hypothesistooling/release.py | 150 | CODE | |
| LOW | tooling/src/hypothesistooling/scripts.py | 20 | CODE | |
| LOW | tooling/src/hypothesistooling/__main__.py | 243 | CODE | |
| LOW | hypothesis/tests/conftest.py | 238 | 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_observability.py | 390 | CODE | |
| LOW | hypothesis/tests/cover/test_observability.py | 426 | CODE | |
| LOW | hypothesis/tests/cover/test_slippage.py | 195 | CODE | |
| LOW | hypothesis/tests/cover/test_slippage.py | 202 | CODE | |
| LOW | hypothesis/tests/cover/test_randoms.py | 85 | CODE | |
| LOW | hypothesis/tests/cover/test_settings.py | 98 | CODE | |
| LOW | hypothesis/src/_hypothesis_pytestplugin.py | 190 | 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 | 535 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1829 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 975 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1199 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1943 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 1046 | CODE | |
| LOW | hypothesis/src/hypothesis/core.py | 2026 | CODE | |
| LOW | hypothesis/src/hypothesis/stateful.py | 99 | CODE | |
| LOW | hypothesis/src/hypothesis/stateful.py | 120 | CODE | |
| LOW | hypothesis/src/hypothesis/stateful.py | 415 | CODE | |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 751 | CODE | |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 835 | CODE | |
| LOW | …hesis/src/hypothesis/strategies/_internal/recursive.py | 164 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 637 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1158 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1332 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 2503 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/core.py | 1496 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 231 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 282 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 428 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 552 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/types.py | 1027 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/numbers.py | 250 | CODE | |
| LOW | …pothesis/src/hypothesis/strategies/_internal/random.py | 209 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/attrs.py | 93 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/strings.py | 236 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/strings.py | 107 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/regex.py | 259 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/regex.py | 335 | CODE | |
| LOW | hypothesis/src/hypothesis/strategies/_internal/regex.py | 170 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/scrutineer.py | 82 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/compat.py | 130 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/compat.py | 254 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/reflection.py | 216 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/reflection.py | 270 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/filtering.py | 99 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/filtering.py | 134 | CODE | |
| 49 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 | …othesis/src/hypothesis/strategies/_internal/strings.py | 308 | # ================================================ | COMMENT |
| MEDIUM | …othesis/src/hypothesis/strategies/_internal/strings.py | 317 | # ================================================ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1398 | # ┌─────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1399 | # ┌─────┤ a ├──────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1400 | # │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1419 | # ┌─────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1420 | # ┌─────┤ a ├────────────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1421 | # │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1423 | # ┌──┤ b ├──┐ ┌─────┤ a ├──────┐ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1424 | # │ └──┬──┘ │ │ └─────┘ │ | COMMENT |
| MEDIUM⚡ | hypothesis/src/hypothesis/internal/conjecture/engine.py | 1434 | # ┌─────┐ | 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 | 433 | def test_function(n): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 448 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 462 | def test_function(f): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 476 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 489 | def test_function(data): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 523 | def test_function(_): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 552 | def test_function(_): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 610 | def test_function(x): | CODE |
| LOW⚡ | hypothesis/tests/conjecture/test_provider.py | 628 | def test_function(x): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 331 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 360 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 387 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 406 | def test_function(n): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 662 | def test_function(x): | CODE |
| LOW | hypothesis/tests/conjecture/test_provider.py | 718 | 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 | 32 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 49 | def test_function(data: DataObject) -> None: | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 66 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 92 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 111 | def test_function(data): | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 135 | def test_function(val: int) -> None: | CODE |
| LOW | hypothesis/tests/nocover/test_exceptiongroup.py | 155 | 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 | 634 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 549 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 571 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 596 | def do_stuff(self): | CODE |
| LOW | hypothesis/tests/cover/test_stateful.py | 666 | def do_stuff(self): | CODE |
| LOW⚡ | hypothesis/tests/cover/test_stateful.py | 802 | def do_something(self): | STRING |
| LOW⚡ | hypothesis/tests/cover/test_lookup.py | 649 | def helper(): | CODE |
| LOW | hypothesis/tests/cover/test_lookup.py | 669 | def helper(): | CODE |
| LOW | hypothesis/src/hypothesis/internal/conjecture/engine.py | 531 | 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 | 2381 | # over some attributes to make the switch as seamless as possible. | COMMENT |
| LOW | hypothesis/src/hypothesis/_settings.py | 1137 | # if we just pass the parent and no kwargs, like | COMMENT |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 784 | # just use that and return immediately. Note that we also track the | COMMENT |
| LOW | …esis/src/hypothesis/strategies/_internal/strategies.py | 795 | # we just return the corresponding element. | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/strategies/_internal/types.py | 779 | # many users treat them as comprehensive and one of Hypothesis' design goals | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/internal/reflection.py | 51 | # deliberately should know what they're doing. This is more robust than | COMMENT |
| LOW | …hesis/src/hypothesis/internal/conjecture/junkdrawer.py | 356 | # we just set it to as known. | COMMENT |
| LOW | hypothesis/src/hypothesis/internal/conjecture/engine.py | 571 | # just return in the _backend_cannot_proceed branch. | COMMENT |
| MEDIUM | hypothesis/src/hypothesis/extra/django/_fields.py | 244 | # concept, but we intend to leverage the idea much more heavily soon. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tooling/src/hypothesistooling/cargo.py | 50 | 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 | 38 | 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 | 315 | 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 | 38 | __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 | 637 | CODE | |
| LOW | …othesis/src/hypothesis/strategies/_internal/numbers.py | 250 | CODE | |
| LOW | hypothesis/src/hypothesis/internal/observability.py | 393 | CODE | |
| LOW | hypothesis/src/hypothesis/extra/numpy.py | 127 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hypothesis/tox.ini | 97 | # 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 | 1392 | # 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 | 154 | # this variable stores "engine-global" constants, which are global relative to a | COMMENT |