AI Slop Code RIsk Monitor

HypothesisWorks/hypothesis

The property-based testing library for Python

46.4 High pattern signal View on GitHub

Maintenance and Governance Review

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.

46.4
Adjusted Signal
46.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
9.1K
Stars
Python
Language
123.2K
Lines of Code
618
Files
4.1K
Pattern Hits
2026-10-12
Scan Date
0.21
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 85.2/100 · CRITICAL

Can maintainers explain intent, assumptions, and trade-offs? 3694 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.5/100 · LOW

Are imports declared and package/API names verified? 139 finding(s).

Agent Over-Engineering Ratio 78.5/100 · CRITICAL

Are wrappers, guards, and repeated structures necessary? 3148 finding(s).

PR Review Velocity Impact 90.6/100 · CRITICAL

Which changes need focused human review? 4113 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 2HIGH 129MEDIUM 525LOW 3457

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers2863 hits · 2911 pts
SeverityFileLineSnippetContext
LOWwhole_repo_tests/documentation/test_documentation.py61def test_documents_all_exported_strategies():CODE
LOWwhole_repo_tests/types/test_pyright.py42def test_pyright_passes_on_hypothesis():CODE
LOWwhole_repo_tests/types/test_pyright.py47def test_pyright_passes_on_basic_test(tmp_path: Path, python_version: str):CODE
LOWwhole_repo_tests/types/test_pyright.py81def test_given_only_allows_strategies(tmp_path: Path, python_version: str):STRING
LOWwhole_repo_tests/types/test_pyright.py115def test_pyright_raises_for_mixed_pos_kwargs_in_given(tmp_path: Path):STRING
LOWwhole_repo_tests/types/test_pyright.py175def test_numpy_arrays_strategy(tmp_path: Path):STRING
LOWwhole_repo_tests/types/test_pyright.py212def test_filter_typeguard_revealed_types(tmp_path, val, expect):STRING
LOWwhole_repo_tests/types/test_pyright.py220def test_assume_revealed_types(tmp_path, val, expect):STRING
LOWwhole_repo_tests/types/test_pyright.py240def test_numpy_revealed_types(tmp_path, val, expect):STRING
LOWwhole_repo_tests/types/test_pyright.py303def test_pyright_tuples_pos_args_only(tmp_path: Path):STRING
LOWwhole_repo_tests/types/test_pyright.py326def test_pyright_one_of_pos_args_only(tmp_path: Path):STRING
LOWwhole_repo_tests/types/test_pyright.py349def test_register_random_protocol(tmp_path: Path):STRING
LOWwhole_repo_tests/types/test_pyright.py394def get_pyright_analysed_type(fname):STRING
LOWwhole_repo_tests/types/test_mypy.py36def test_mypy_passes_on_hypothesis_strict():CODE
LOWwhole_repo_tests/types/test_mypy.py149def test_filter_typeguard_revealed_types(tmp_path, val, expect):STRING
LOWwhole_repo_tests/types/test_mypy.py156def test_assume_revealed_types(tmp_path, val, expect):STRING
LOWwhole_repo_tests/types/test_mypy.py174def test_numpy_revealed_types(tmp_path, val, expect):STRING
LOWwhole_repo_tests/types/test_mypy.py214def test_data_object_type_tracing(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py241def test_composite_type_tracing(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py264def test_functions_type_tracing(tmp_path, source, expected):STRING
LOWwhole_repo_tests/types/test_mypy.py277def test_settings_preserves_type(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py291def test_stateful_bundle_generic_type(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py314def test_stateful_rule_targets(tmp_path, decorator, target_args, returns):STRING
LOWwhole_repo_tests/types/test_mypy.py329def test_stateful_rule_no_targets(tmp_path, decorator):STRING
LOWwhole_repo_tests/types/test_mypy.py342def test_stateful_target_params_mutually_exclusive(tmp_path, decorator):STRING
LOWwhole_repo_tests/types/test_mypy.py363def test_stateful_target_params_return_type(tmp_path, decorator, target_args, returns):STRING
LOWwhole_repo_tests/types/test_mypy.py378def test_stateful_no_target_params_return_type(tmp_path, decorator):STRING
LOWwhole_repo_tests/types/test_mypy.py392def test_stateful_bundle_variance(tmp_path, decorator, use_multi):STRING
LOWwhole_repo_tests/types/test_mypy.py416def test_stateful_multiple_return(tmp_path, decorator):STRING
LOWwhole_repo_tests/types/test_mypy.py430def test_stateful_multiple_return_invalid(tmp_path, decorator):STRING
LOWwhole_repo_tests/types/test_mypy.py450def test_stateful_consumes_type_tracing(tmp_path, wrapper, expected):STRING
LOWwhole_repo_tests/types/test_mypy.py465def test_stateful_consumed_bundle_cannot_be_target(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py483def test_stateful_precondition_requires_predicate(tmp_path, return_val, errors):STRING
LOWwhole_repo_tests/types/test_mypy.py494def test_stateful_precondition_lambda(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py510def test_stateful_precondition_instance_method(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py526def test_stateful_precondition_precond_requires_one_arg(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py584def test_mypy_passes_on_basic_test(tmp_path, python_version):STRING
LOWwhole_repo_tests/types/test_mypy.py608def test_given_only_allows_strategies(tmp_path, python_version):STRING
LOWwhole_repo_tests/types/test_mypy.py624def test_raises_for_mixed_pos_kwargs_in_given(tmp_path, python_version):STRING
LOWwhole_repo_tests/types/test_mypy.py640def test_register_random_interface(tmp_path):STRING
LOWwhole_repo_tests/types/test_mypy.py662def test_register_type_strategy_type_alias_type(tmp_path):STRING
LOWwhole_repo_tests/types/test_hypothesis.py15def test_mypy_passes_on_hypothesis():CODE
LOWwhole_repo_tests/whole_repo/test_release_files.py16def test_release_file_exists_and_is_valid():CODE
LOWwhole_repo_tests/whole_repo/test_release_files.py31def test_release_file_has_no_merge_conflicts():CODE
LOWwhole_repo_tests/whole_repo/test_leap_seconds.py17def test_leap_seconds_literal_matches_vendored_list():CODE
LOWwhole_repo_tests/whole_repo/test_release_management.py38def test_changelog_parsing_strips_trailing_whitespace():CODE
LOWwhole_repo_tests/whole_repo/test_ci_config.py28def test_python_versions_are_tested_in_ci(version):CODE
LOWwhole_repo_tests/whole_repo/test_ci_config.py44def test_python_versions_are_in_trove_classifiers():CODE
LOWwhole_repo_tests/whole_repo/test_shellcheck.py19def test_all_shell_scripts_are_valid():CODE
LOWwhole_repo_tests/whole_repo/test_deploy.py27def test_do_publish_updates_changelog(monkeypatch):CODE
LOW…le_repo_tests/whole_repo/test_validate_branch_check.py27def run_validate_branch_check(tmp_path, *, check, **kwargs):CODE
LOW⚡…le_repo_tests/whole_repo/test_validate_branch_check.py52def test_validates_one_branch(tmp_path):CODE
LOW⚡…le_repo_tests/whole_repo/test_validate_branch_check.py61def test_fails_on_zero_branches(tmp_path):CODE
LOW⚡…le_repo_tests/whole_repo/test_validate_branch_check.py69def test_reports_uncovered_branches(tmp_path):CODE
LOWtooling/src/hypothesistooling/release.py79def parse_release_file_contents(release_contents, filename):CODE
LOWtooling/src/hypothesistooling/release.py129def install_hypothesis_editable():CODE
LOWtooling/src/hypothesistooling/release.py164def update_changelog_and_version():CODE
LOWtooling/src/hypothesistooling/release.py284def upload_distribution_to_pypi(*, expected_version):CODE
LOWtooling/src/hypothesistooling/__main__.py234def remove_consecutive_newlines_in_rst(path: Path):STRING
LOW…tent/2017-04-05-how-not-to-die-hard-with-hypothesis.md112 def die_hard_problem_not_solved(self):CODE
2803 more matches not shown…
Self-Referential Comments478 hits · 1428 pts
SeverityFileLineSnippetContext
MEDIUMwhole_repo_tests/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/documentation/test_documentation.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/documentation/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/types/test_pyright.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/types/test_mypy.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/types/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/types/test_hypothesis.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/types/revealed_types.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_release_files.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_leap_seconds.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_release_management.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_ci_config.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_shellcheck.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_rst_is_valid.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_requirements.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMwhole_repo_tests/whole_repo/test_deploy.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUM…le_repo_tests/whole_repo/test_validate_branch_check.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/setup.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/scripts/common.sh3# This file is not really a script but is intended for sourcing from otherCOMMENT
MEDIUMtooling/scripts/write-cargo-version.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/scripts/tool-hash.py3# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/git.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/release.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/release.py321 # Create a GitHub release, to trigger Zenodo DOI minting. SeeCOMMENT
MEDIUMtooling/src/hypothesistooling/cargo.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/installers.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/scripts.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/__main__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/__main__.py205# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMtooling/src/hypothesistooling/__main__.py797 # Create a version of the name that tox will pick up for the correctSTRING
MEDIUMwebsite/pelicanconf.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/benchmark/graph.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/test_annotated_types.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conftest.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/crosshair/test_crosshair.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/crosshair/test_conformance.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_engine.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_utils.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_shrinker.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_intlist.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_inquisitor.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_local_constants.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_float_encoding.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_test_data.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_choice_tree.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_provider.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_forced.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/common.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_junkdrawer.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_data_tree.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_order_shrinking.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_optimiser.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_shrinking_interface.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_choice.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_provider_contract.py1# This file is part of Hypothesis, which may be found atCOMMENT
MEDIUMhypothesis/tests/conjecture/test_mutations.py1# This file is part of Hypothesis, which may be found atCOMMENT
418 more matches not shown…
Empty Error Handlers129 hits · 645 pts
SeverityFileLineSnippetContext
HIGHtooling/src/hypothesistooling/scripts.py58except Exception:CODE
HIGHtooling/src/hypothesistooling/__main__.py802except FileExistsError:CODE
HIGHhypothesis/tests/conftest.py97except ImportError:CODE
HIGHhypothesis/tests/conjecture/test_engine.py280except Exception:CODE
HIGHhypothesis/tests/conjecture/test_engine.py1492except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_engine.py1508except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_test_data.py184except StopTest:CODE
HIGHhypothesis/tests/conjecture/test_test_data.py412except StopTest:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py43except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py65except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py84except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py126except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py149except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py168except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py194except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py386except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_optimiser.py215except RunIsComplete:CODE
HIGHhypothesis/tests/conjecture/test_choice.py960except StopTest:CODE
HIGHhypothesis/tests/datetime/test_pytz_timezones.py154except StopTest:CODE
HIGHhypothesis/tests/numpy/__init__.py13except NameError:CODE
HIGHhypothesis/tests/numpy/test_from_dtype.py59except Exception:CODE
HIGHhypothesis/tests/common/utils.py293except Exception:CODE
HIGHhypothesis/tests/common/debug.py107except (Unsatisfiable, NoSuchExample):CODE
HIGHhypothesis/tests/common/costbounds.py19except KeyError:CODE
HIGHhypothesis/tests/ghostwriter/test_ghostwriter.py371except (AssertionError, ValueError, BaseExceptionGroup):CODE
HIGHhypothesis/tests/nocover/test_duplication.py58except ValueError:CODE
HIGHhypothesis/tests/nocover/test_database_usage.py61except NoSuchExample:CODE
HIGHhypothesis/tests/nocover/test_database_usage.py98except (Unsatisfiable, NoSuchExample):CODE
HIGHhypothesis/tests/nocover/test_database_usage.py133except NoSuchExample:CODE
HIGH…pothesis/tests/nocover/test_collective_minimization.py32except Unsatisfiable:CODE
HIGH…esis/tests/django/toystore/test_basic_configuration.py73except IntegrityError:CODE
HIGHhypothesis/tests/cover/test_flakiness.py230except (Nope, Flaky, Unsatisfiable):CODE
HIGHhypothesis/tests/cover/test_flakiness.py204except StopIteration:CODE
HIGHhypothesis/tests/cover/test_cache_implementation.py105except KeyError:CODE
HIGHhypothesis/tests/cover/test_cache_implementation.py114except KeyError:CODE
HIGHhypothesis/tests/cover/test_reproduce_failure.py56except InvalidArgument:CODE
HIGHhypothesis/tests/cover/test_reflection.py840except TypeError:CODE
HIGHhypothesis/tests/cover/test_functions.py469except StopAsyncIteration:CODE
HIGHhypothesis/tests/cover/test_testdecorators.py192except ValueError:CODE
HIGHhypothesis/tests/cover/test_testdecorators.py296except UnicodeEncodeError:CODE
HIGHhypothesis/src/_hypothesis_pytestplugin.py187except ValueError:CODE
HIGHhypothesis/src/hypothesis/database.py168except Exception:CODE
HIGHhypothesis/src/hypothesis/database.py471except KeyError:CODE
HIGHhypothesis/src/hypothesis/database.py490except OSError: # pragma: no coverCODE
HIGHhypothesis/src/hypothesis/database.py529except OSError: # pragma: no coverCODE
HIGHhypothesis/src/hypothesis/database.py560except OSError:CODE
HIGHhypothesis/src/hypothesis/database.py488except OSError:CODE
HIGHhypothesis/src/hypothesis/database.py611except OSError: # pragma: no coverCODE
HIGHhypothesis/src/hypothesis/database.py525except OSError:CODE
HIGHhypothesis/src/hypothesis/control.py314except (KeyError, TypeError):CODE
HIGHhypothesis/src/hypothesis/control.py320except TypeError:CODE
HIGHhypothesis/src/hypothesis/core.py833except AttributeError:CODE
HIGHhypothesis/src/hypothesis/stateful.py382except KeyError:CODE
HIGH…esis/src/hypothesis/strategies/_internal/strategies.py149except AttributeError:CODE
HIGH…esis/src/hypothesis/strategies/_internal/strategies.py164except AttributeError:CODE
HIGH…esis/src/hypothesis/strategies/_internal/strategies.py564except KeyError:CODE
HIGH…esis/src/hypothesis/strategies/_internal/strategies.py1110except TypeError:CODE
HIGH…esis/src/hypothesis/strategies/_internal/strategies.py200except AttributeError:CODE
HIGHhypothesis/src/hypothesis/strategies/_internal/core.py1405except TypeError:CODE
HIGHhypothesis/src/hypothesis/strategies/_internal/core.py1499except TypeError:CODE
69 more matches not shown…
Over-Commented Block174 hits · 168 pts
SeverityFileLineSnippetContext
LOWwhole_repo_tests/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWwhole_repo_tests/documentation/test_documentation.py61def test_documents_all_exported_strategies():COMMENT
LOWwhole_repo_tests/documentation/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWwhole_repo_tests/types/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWwhole_repo_tests/types/test_hypothesis.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWwhole_repo_tests/whole_repo/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWwhole_repo_tests/whole_repo/test_requirements.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWtooling/scripts/tool-hash.py1#!/usr/bin/env pythonCOMMENT
LOWtooling/src/hypothesistooling/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWtooling/src/hypothesistooling/__main__.py201COMMENT
LOWwebsite/pelicanconf.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWrequirements/crosshair.txt1#COMMENT
LOWrequirements/crosshair.txt21 # via pytest-xdistCOMMENT
LOWrequirements/crosshair.txt41 # via pexpectCOMMENT
LOWrequirements/crosshair.txt61typing-extensions==4.16.0COMMENT
LOWrequirements/tools.txt1#COMMENT
LOWrequirements/tools.txt21attrs==26.1.0COMMENT
LOWrequirements/tools.txt41certifi==2026.7.22COMMENT
LOWrequirements/tools.txt61 # via -r requirements/tools.inCOMMENT
LOWrequirements/tools.txt81 # via pytest-xdistCOMMENT
LOWrequirements/tools.txt121 # keyringCOMMENT
LOWrequirements/tools.txt141markdown-it-py==4.2.0COMMENT
LOWrequirements/tools.txt161 # mypyCOMMENT
LOWrequirements/tools.txt181 # wheelCOMMENT
LOWrequirements/tools.txt201pluggy==1.6.0COMMENT
LOWrequirements/tools.txt221 # ipythonCOMMENT
LOWrequirements/tools.txt241pytest-xdist==3.8.0COMMENT
LOWrequirements/tools.txt261requests==2.34.2COMMENT
LOWrequirements/tools.txt281 # via -r requirements/tools.inCOMMENT
LOWrequirements/tools.txt301 # furoCOMMENT
LOWrequirements/tools.txt341 # -r requirements/tools.inCOMMENT
LOWrequirements/tools.txt361types-redis==4.6.0.20241004COMMENT
LOWrequirements/tools.txt381 # via tox-uvCOMMENT
LOWrequirements/coverage.txt1#COMMENT
LOWrequirements/coverage.txt21fakeredis==2.39.0COMMENT
LOWrequirements/coverage.txt41pathspec==1.1.1COMMENT
LOWrequirements/coverage.txt61 # pytest-xdistCOMMENT
LOWrequirements/coverage.txt81sortedcontainers==2.4.0COMMENT
LOWrequirements/test.txt1#COMMENT
LOWrequirements/test.txt21pytest==9.1.1COMMENT
LOWrequirements/fuzzing.txt1#COMMENT
LOWrequirements/fuzzing.txt21 # viaCOMMENT
LOWrequirements/fuzzing.txt41hpack==4.2.0COMMENT
LOWrequirements/fuzzing.txt61 # -r requirements/coverage.inCOMMENT
LOWrequirements/fuzzing.txt81pathspec==1.1.1COMMENT
LOWrequirements/fuzzing.txt101 # pytestCOMMENT
LOWrequirements/fuzzing.txt121 # via -r requirements/coverage.inCOMMENT
LOWrequirements/fuzzing.txt141 # via -r requirements/test.inCOMMENT
LOW.github/workflows/website-preview.yml1name: Deploy website previewCOMMENT
LOWhypothesis/rust/tests/embedded/internal/test_floats.rs1// This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/rust/src/lib.rs1// This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/rust/src/lib.rs21 #[pymodule_init]COMMENT
LOWhypothesis/rust/src/internal/floats.rs1// This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/rust/src/internal/mod.rs1// This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/rust/src/internal/cathetus.rs1// This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/rust/src/internal/cathetus.rs21 /// `sqrt(h*h - a*a)`. The behaviour with respect to non-finite argumentsCOMMENT
LOWhypothesis/tests/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/tests/crosshair/test_conformance.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/tests/conjecture/__init__.py1# This file is part of Hypothesis, which may be found atCOMMENT
LOWhypothesis/tests/conjecture/test_mutations.py1# This file is part of Hypothesis, which may be found atCOMMENT
114 more matches not shown…
Excessive Try-Catch Wrapping109 hits · 122 pts
SeverityFileLineSnippetContext
LOWwhole_repo_tests/types/test_pyright.py385 except Exception:STRING
LOWtooling/src/hypothesistooling/release.py341 except Exception:CODE
LOWtooling/src/hypothesistooling/scripts.py58except Exception:CODE
LOWtooling/src/hypothesistooling/__main__.py354 except Exception:STRING
LOWhypothesis/tests/conjecture/test_engine.py280 except Exception:CODE
LOWhypothesis/tests/conjecture/common.py50 except Exception as e:CODE
LOWhypothesis/tests/numpy/test_from_dtype.py59 except Exception:CODE
LOWhypothesis/tests/common/utils.py293 except Exception:CODE
MEDIUMhypothesis/tests/common/utils.py287def xfail_if_gil_disabled(f):CODE
LOWhypothesis/tests/ghostwriter/test_ghostwriter.py57 except Exception:CODE
LOW…riter/recorded/sorted_self_error_equivalent_1error.txt20 except Exception as exc:CODE
MEDIUM…riter/recorded/sorted_self_error_equivalent_1error.txt13def test_equivalent_sorted_sorted(iterable, key, reverse):CODE
LOW…r/recorded/sorted_self_error_equivalent_threefuncs.txt18 except Exception as exc:CODE
MEDIUM…r/recorded/sorted_self_error_equivalent_threefuncs.txt13def test_equivalent_sorted_sorted_sorted(iterable, key, reverse):CODE
LOW…orded/sorted_self_error_equivalent_2error_unittest.txt22 except Exception as exc:CODE
MEDIUM…orded/sorted_self_error_equivalent_2error_unittest.txt15def test_equivalent_sorted_sorted(self, iterable, key, reverse):CODE
LOW…riter/recorded/sorted_self_error_equivalent_simple.txt18 except Exception as exc:CODE
MEDIUM…riter/recorded/sorted_self_error_equivalent_simple.txt13def test_equivalent_sorted_sorted(iterable, key, reverse):CODE
LOWhypothesis/tests/nocover/test_characters.py52 except Exception:CODE
MEDIUMhypothesis/tests/nocover/test_characters.py48def _enc(cdc):CODE
LOW⚡hypothesis/tests/nocover/test_interesting_origin.py22 except Exception:CODE
LOW⚡hypothesis/tests/nocover/test_interesting_origin.py32 except Exception as err:CODE
LOW⚡hypothesis/tests/nocover/test_interesting_origin.py41 except Exception:CODE
MEDIUMhypothesis/tests/nocover/test_interesting_origin.py18def go_wrong_naive(a, b):CODE
MEDIUMhypothesis/tests/nocover/test_interesting_origin.py28def go_wrong_with_cause(a, b):CODE
MEDIUMhypothesis/tests/nocover/test_interesting_origin.py37def go_wrong_coverup(a, b):CODE
LOWhypothesis/tests/nocover/test_recursive.py139 except Exception as exc:CODE
MEDIUMhypothesis/tests/nocover/test_recursive.py136def test(data):CODE
LOWhypothesis/tests/pandas/test_data_frame.py216 except Exception as e:CODE
LOWhypothesis/tests/pandas/test_indexes.py140 except Exception as e:CODE
LOWhypothesis/tests/cover/test_cache_implementation.py331 except Exception as exc:CODE
LOWhypothesis/tests/cover/test_reproduce_failure.py58 except Exception as e:CODE
MEDIUMhypothesis/tests/cover/test_reproduce_failure.py50def test_decoding_may_fail(t):CODE
LOWhypothesis/tests/cover/test_type_lookup.py99 except Exception:CODE
LOW⚡hypothesis/tests/cover/test_statistical_events.py41 except Exception:CODE
LOWhypothesis/tests/cover/test_filestorage.py76 except Exception:CODE
LOWhypothesis/src/_hypothesis_ftz_detector.py78 except Exception:CODE
LOWhypothesis/src/_hypothesis_pytestplugin.py421 except Exception: # pragma: no coverSTRING
LOWhypothesis/src/hypothesis/database.py168 except Exception:CODE
LOWhypothesis/src/hypothesis/database.py1347 except Exception:CODE
LOWhypothesis/src/hypothesis/core.py434 except Exception:CODE
LOWhypothesis/src/hypothesis/stateful.py1236 except Exception as err:CODE
LOW…esis/src/hypothesis/strategies/_internal/strategies.py555 except Exception:CODE
LOW…esis/src/hypothesis/strategies/_internal/strategies.py817 except Exception:CODE
LOW…esis/src/hypothesis/strategies/_internal/strategies.py1442 except Exception:CODE
MEDIUMhypothesis/src/hypothesis/strategies/_internal/core.py1512def _get_annotation_arg(key, annotation_type):CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1649 except Exception:CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1724 except Exception:CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py811 except Exception:STRING
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1327 except Exception:STRING
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1343 except Exception: # pragma: no coverSTRING
MEDIUMhypothesis/src/hypothesis/strategies/_internal/types.py265def try_issubclass(thing, superclass):CODE
MEDIUMhypothesis/src/hypothesis/strategies/_internal/types.py1120def _can_hash(val):CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py734 except Exception:CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py814 except Exception:CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py1124 except Exception:CODE
LOW…othesis/src/hypothesis/strategies/_internal/numbers.py366 except Exception:CODE
LOW…sis/src/hypothesis/strategies/_internal/collections.py378 except Exception:CODE
LOWhypothesis/src/hypothesis/strategies/_internal/utils.py141 except Exception:CODE
LOWhypothesis/src/hypothesis/strategies/_internal/utils.py197 except Exception:CODE
49 more matches not shown…
Unused Imports137 hits · 120 pts
SeverityFileLineSnippetContext
LOWwhole_repo_tests/types/test_pyright.py11CODE
LOWhypothesis/tests/conftest.py96CODE
LOWhypothesis/tests/conjecture/test_provider.py690CODE
LOWhypothesis/tests/numpy/__init__.py21CODE
LOWhypothesis/tests/numpy/test_import.py30CODE
LOWhypothesis/tests/common/__init__.py38CODE
LOW…s/tests/ghostwriter/example_code/future_annotations.py11CODE
LOWhypothesis/tests/nocover/test_imports.py11CODE
LOWhypothesis/tests/nocover/test_imports.py12CODE
LOW…s/tests/nocover/test_type_lookup_future_annotations.py11CODE
LOW…esis/tests/django/toys/settings/settings_no_contrib.py11CODE
LOWhypothesis/tests/cover/test_type_lookup_forward_ref.py36CODE
LOWhypothesis/src/_hypothesis_ftz_detector.py153CODE
LOWhypothesis/src/hypothesis/control.py18CODE
LOWhypothesis/src/hypothesis/__init__.py20CODE
LOWhypothesis/src/hypothesis/__init__.py20CODE
LOWhypothesis/src/hypothesis/__init__.py20CODE
LOWhypothesis/src/hypothesis/__init__.py20CODE
LOWhypothesis/src/hypothesis/__init__.py21CODE
LOWhypothesis/src/hypothesis/__init__.py21CODE
LOWhypothesis/src/hypothesis/__init__.py21CODE
LOWhypothesis/src/hypothesis/__init__.py21CODE
LOWhypothesis/src/hypothesis/__init__.py21CODE
LOWhypothesis/src/hypothesis/__init__.py21CODE
LOWhypothesis/src/hypothesis/__init__.py29CODE
LOWhypothesis/src/hypothesis/__init__.py29CODE
LOWhypothesis/src/hypothesis/__init__.py29CODE
LOWhypothesis/src/hypothesis/__init__.py29CODE
LOWhypothesis/src/hypothesis/__init__.py29CODE
LOWhypothesis/src/hypothesis/__init__.py31CODE
LOWhypothesis/src/hypothesis/__init__.py32CODE
LOWhypothesis/src/hypothesis/__init__.py33CODE
LOWhypothesis/src/hypothesis/__init__.py34CODE
LOWhypothesis/src/hypothesis/__init__.py34CODE
LOWhypothesis/src/hypothesis/statistics.py21CODE
LOWhypothesis/src/hypothesis/statistics.py21CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py11CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py12CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py13CODE
77 more matches not shown…
Deep Nesting114 hits · 106 pts
SeverityFileLineSnippetContext
LOWtooling/src/hypothesistooling/release.py164CODE
LOWtooling/src/hypothesistooling/scripts.py20CODE
LOWtooling/src/hypothesistooling/__main__.py246CODE
LOWhypothesis/tests/conftest.py234CODE
LOWhypothesis/tests/array_api/conftest.py108CODE
LOW…othesis/tests/ghostwriter/try-writing-for-installed.py34CODE
LOW…esis/tests/nocover/test_explore_arbitrary_languages.py70CODE
LOW…esis/tests/nocover/test_explore_arbitrary_languages.py71CODE
LOWhypothesis/tests/nocover/test_precise_shrinking.py226CODE
LOWhypothesis/tests/cover/test_pretty.py73CODE
LOWhypothesis/tests/cover/test_cache_implementation.py350CODE
LOWhypothesis/tests/cover/test_observability.py571CODE
LOWhypothesis/tests/cover/test_observability.py607CODE
LOWhypothesis/tests/cover/test_slippage.py194CODE
LOWhypothesis/tests/cover/test_slippage.py201CODE
LOWhypothesis/tests/cover/test_randoms.py84CODE
LOWhypothesis/tests/cover/test_settings.py98CODE
LOWhypothesis/src/_hypothesis_pytestplugin.py192CODE
LOWhypothesis/src/hypothesis/configuration.py78CODE
LOWhypothesis/src/hypothesis/database.py1267CODE
LOWhypothesis/src/hypothesis/database.py1307CODE
LOWhypothesis/src/hypothesis/database.py494CODE
LOWhypothesis/src/hypothesis/database.py945CODE
LOWhypothesis/src/hypothesis/core.py538CODE
LOWhypothesis/src/hypothesis/core.py1850CODE
LOWhypothesis/src/hypothesis/core.py983CODE
LOWhypothesis/src/hypothesis/core.py1209CODE
LOWhypothesis/src/hypothesis/core.py1964CODE
LOWhypothesis/src/hypothesis/core.py1054CODE
LOWhypothesis/src/hypothesis/core.py2047CODE
LOWhypothesis/src/hypothesis/stateful.py102CODE
LOWhypothesis/src/hypothesis/stateful.py123CODE
LOWhypothesis/src/hypothesis/stateful.py418CODE
LOW…esis/src/hypothesis/strategies/_internal/strategies.py760CODE
LOW…esis/src/hypothesis/strategies/_internal/strategies.py822CODE
LOW…esis/src/hypothesis/strategies/_internal/strategies.py911CODE
LOW…hesis/src/hypothesis/strategies/_internal/recursive.py173CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py649CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1183CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1357CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py2555CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1521CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py214CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py265CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py413CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py603CODE
LOWhypothesis/src/hypothesis/strategies/_internal/types.py1083CODE
LOW…othesis/src/hypothesis/strategies/_internal/numbers.py281CODE
LOW…pothesis/src/hypothesis/strategies/_internal/random.py209CODE
LOWhypothesis/src/hypothesis/strategies/_internal/attrs.py93CODE
LOW…thesis/src/hypothesis/strategies/_internal/datetime.py396CODE
LOW…thesis/src/hypothesis/strategies/_internal/datetime.py719CODE
LOW…othesis/src/hypothesis/strategies/_internal/strings.py330CODE
LOW…othesis/src/hypothesis/strategies/_internal/strings.py165CODE
LOWhypothesis/src/hypothesis/strategies/_internal/regex.py267CODE
LOWhypothesis/src/hypothesis/strategies/_internal/regex.py343CODE
LOWhypothesis/src/hypothesis/internal/scrutineer.py79CODE
LOWhypothesis/src/hypothesis/internal/compat.py95CODE
LOWhypothesis/src/hypothesis/internal/compat.py212CODE
LOWhypothesis/src/hypothesis/internal/reflection.py201CODE
54 more matches not shown…
Decorative Section Separators20 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUM⚡hypothesis/tests/conjecture/test_mutations.py21 # ┌─────┐COMMENT
MEDIUM⚡hypothesis/tests/conjecture/test_mutations.py22 # ┌──────┤ a ├──────┐COMMENT
MEDIUM⚡hypothesis/tests/conjecture/test_mutations.py23 # │ └─────┘ │COMMENT
MEDIUM⚡hypothesis/tests/conjecture/test_mutations.py30 # └─────┘ └─────┘ └──┬──┘ └─────┘COMMENT
MEDIUM⚡hypothesis/tests/conjecture/test_mutations.py34 # └─────┘ └─────┘COMMENT
MEDIUMhypothesis/tests/nocover/test_drypython_returns.py22# ===========COMMENT
MEDIUMhypothesis/tests/nocover/test_drypython_returns.py43# ===============COMMENT
MEDIUMhypothesis/tests/nocover/test_drypython_returns.py54# =============COMMENT
MEDIUMhypothesis/docs/conf.py78 # ----------------COMMENT
MEDIUM…othesis/src/hypothesis/strategies/_internal/strings.py402# ================================================COMMENT
MEDIUM…othesis/src/hypothesis/strategies/_internal/strings.py411# ================================================COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1427 # ┌─────┐COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1428 # ┌─────┤ a ├──────┐COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1429 # │ └─────┘ │COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1448 # ┌─────┐COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1449 # ┌─────┤ a ├────────────┐COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1450 # │ └─────┘ │COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1452 # ┌──┤ b ├──┐ ┌─────┤ a ├──────┐COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1453 # │ └──┬──┘ │ │ └─────┘ │COMMENT
MEDIUM⚡hypothesis/src/hypothesis/internal/conjecture/engine.py1463 # ┌─────┐COMMENT
Overly Generic Function Names40 hits · 39 pts
SeverityFileLineSnippetContext
LOWhypothesis/tests/conjecture/test_engine.py1061 def test_function(data):CODE
LOW⚡hypothesis/tests/conjecture/test_float_encoding.py129 def test_function(data):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py439 def test_function(n):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py454 def test_function(data):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py468 def test_function(f):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py482 def test_function(data):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py496 def test_function(data):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py529 def test_function(_):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py558 def test_function(_):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py616 def test_function(x):CODE
LOW⚡hypothesis/tests/conjecture/test_provider.py634 def test_function(x):CODE
LOWhypothesis/tests/conjecture/test_provider.py337 def test_function(n):CODE
LOWhypothesis/tests/conjecture/test_provider.py366 def test_function(n):CODE
LOWhypothesis/tests/conjecture/test_provider.py393 def test_function(n):CODE
LOWhypothesis/tests/conjecture/test_provider.py412 def test_function(n):CODE
LOWhypothesis/tests/conjecture/test_provider.py668 def test_function(x):CODE
LOWhypothesis/tests/conjecture/test_provider.py724 def test_function(n):CODE
LOWhypothesis/tests/quality/test_zig_zagging.py77 def test_function(data):CODE
LOWhypothesis/tests/quality/test_poisoned_trees.py77 def test_function(data):CODE
LOWhypothesis/tests/quality/test_discovery_ability.py68 def test_function(data):CODE
LOWhypothesis/tests/quality/test_poisoned_lists.py76 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py25 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py42 def test_function(data: DataObject) -> None:CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py59 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py85 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py104 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py128 def test_function(val: int) -> None:CODE
LOWhypothesis/tests/nocover/test_exceptiongroup.py148 def test_function(data: DataObject) -> None:CODE
LOWhypothesis/tests/nocover/test_precise_shrinking.py115 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_precise_shrinking.py249 def test_function(data):CODE
LOWhypothesis/tests/nocover/test_precise_shrinking.py268 def test_function(data):CODE
LOW⚡hypothesis/tests/cover/test_stateful.py640 def do_stuff(self):CODE
LOWhypothesis/tests/cover/test_stateful.py555 def do_stuff(self):CODE
LOWhypothesis/tests/cover/test_stateful.py577 def do_stuff(self):CODE
LOWhypothesis/tests/cover/test_stateful.py602 def do_stuff(self):CODE
LOWhypothesis/tests/cover/test_stateful.py672 def do_stuff(self):CODE
LOW⚡hypothesis/tests/cover/test_stateful.py808 def do_something(self):STRING
LOW⚡hypothesis/tests/cover/test_lookup.py640 def helper():CODE
LOWhypothesis/tests/cover/test_lookup.py660 def helper():CODE
LOWhypothesis/src/hypothesis/internal/conjecture/engine.py555 def test_function(self, data: ConjectureData) -> None:CODE
AI Slop Vocabulary12 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMhypothesis/tests/conjecture/test_junkdrawer.py101# this would be more robust as a stateful test, where each rule is a list operationCOMMENT
LOWhypothesis/tests/cover/test_fuzz_one_input.py87 # engine would give up, fuzz_one_input will just return None each time.COMMENT
MEDIUMhypothesis/src/_hypothesis_ftz_detector.py142 # separate modules which both enable FTZ. We already gave up comprehensiveCOMMENT
MEDIUMhypothesis/src/hypothesis/core.py2403 # over some attributes to make the switch as seamless as possible.COMMENT
LOWhypothesis/src/hypothesis/_settings.py1153 # if we just pass the parent and no kwargs, likeCOMMENT
LOW…esis/src/hypothesis/strategies/_internal/strategies.py855 # just use that and return immediately. Note that we also track theCOMMENT
LOW…esis/src/hypothesis/strategies/_internal/strategies.py866 # we just return the corresponding element.COMMENT
MEDIUMhypothesis/src/hypothesis/strategies/_internal/types.py830# many users treat them as comprehensive and one of Hypothesis' design goalsCOMMENT
MEDIUMhypothesis/src/hypothesis/internal/reflection.py50 # deliberately should know what they're doing. This is more robust thanCOMMENT
LOW…hesis/src/hypothesis/internal/conjecture/junkdrawer.py385 # we just set it to as known.COMMENT
LOWhypothesis/src/hypothesis/internal/conjecture/engine.py595 # just return in the _backend_cannot_proceed branch.COMMENT
MEDIUMhypothesis/src/hypothesis/extra/django/_fields.py247 # concept, but we intend to leverage the idea much more heavily soon.COMMENT
Modern Structural Boilerplate21 hits · 21 pts
SeverityFileLineSnippetContext
LOWtooling/src/hypothesistooling/cargo.py56def update_lockfile() -> None:CODE
LOWhypothesis/tests/array_api/common.py24__all__ = [CODE
LOWhypothesis/tests/common/__init__.py40__all__ = ["TIME_INCREMENT", "standard_types"]CODE
LOWhypothesis/docs/_ext/hypothesis_redirects.py53logger = logging.getLogger(__name__)CODE
LOWhypothesis/src/hypothesis/configuration.py24def set_hypothesis_home_dir(directory: str | Path | None) -> None:CODE
LOWhypothesis/src/hypothesis/database.py46__all__ = [CODE
LOWhypothesis/src/hypothesis/__init__.py36__all__ = [CODE
LOWhypothesis/src/hypothesis/_settings.py45__all__ = ["settings"]CODE
LOWhypothesis/src/hypothesis/strategies/__init__.py67__all__ = [CODE
LOW…thesis/src/hypothesis/strategies/_internal/__init__.py16__all__ = ["SearchStrategy", "check_strategy"]CODE
LOWhypothesis/src/hypothesis/internal/observability.py78 def update_count(self, *, condition: bool) -> None:CODE
LOW…hesis/src/hypothesis/internal/conjecture/junkdrawer.py344 def _setrecursionlimit(self, new_limit: int, *, check: bool = True) -> None:CODE
LOW…c/hypothesis/internal/conjecture/shrinking/__init__.py18__all__ = ["Bytes", "Collection", "Float", "Integer", "Ordering", "String"]CODE
LOWhypothesis/src/hypothesis/extra/array_api.py56__all__ = [CODE
LOWhypothesis/src/hypothesis/extra/lark.py39__all__ = ["from_lark"]CODE
LOWhypothesis/src/hypothesis/extra/numpy.py83__all__ = [CODE
LOWhypothesis/src/hypothesis/extra/pytz.py34__all__ = ["timezones"]CODE
LOWhypothesis/src/hypothesis/extra/dateutil.py29__all__ = ["timezones"]CODE
LOWhypothesis/src/hypothesis/extra/_array_helpers.py23__all__ = [CODE
LOWhypothesis/src/hypothesis/extra/django/__init__.py22__all__ = [CODE
LOWhypothesis/src/hypothesis/extra/pandas/__init__.py20__all__ = ["column", "columns", "data_frames", "indexes", "range_indexes", "series"]CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALhypothesis/tests/django/toystore/models.py12from django.core.exceptions import ValidationErrorCODE
CRITICALhypothesis/src/hypothesis/extra/django/_impl.py18from django.core.exceptions import ValidationErrorCODE
Modern AI Meta-Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/content/2025-11-01-claude-code-plugin.md12 <a href="https://mmaaz-git.github.io/agentic-pbt-site/" class="cta-button">CODE
MEDIUMwebsite/content/2025-11-01-claude-code-plugin.md61Armed with a test-writing command, one natural extension is to use it to find real bugs in open-source repositories. To CODE
MEDIUMhypothesis/src/hypothesis/internal/statistics.py123# provide stronger guardrails around composition.COMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWhypothesis/src/hypothesis/_settings.py660CODE
LOWhypothesis/src/hypothesis/strategies/_internal/core.py649CODE
LOW…othesis/src/hypothesis/strategies/_internal/numbers.py281CODE
LOWhypothesis/src/hypothesis/internal/observability.py397CODE
LOWhypothesis/src/hypothesis/extra/numpy.py127CODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWhypothesis/tox.ini93# Note: when adding or removing tested Pandas versions, make sure to update theCOMMENT
LOWhypothesis/tests/django/toystore/forms.py97 # to accept both True and False in your BooleanField, make sure you setCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWhypothesis/src/hypothesis/database.py1013 # Check if the latest artifact is a cache hitCOMMENT
LOWhypothesis/src/hypothesis/strategies/_internal/core.py1417 # Check if we have an explicitly registered strategy for this thing,COMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMhypothesis/tests/nocover/test_baseexception.py41CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhypothesis/src/hypothesis/core.py157# this variable stores "engine-global" constants, which are global relative to aCOMMENT