AI Slop Code RIsk Monitor

hydra-ecosystem/hydra

Hydra is a framework for elegantly configuring complex applications

12.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for hydra-ecosystem/hydra, a Python project with 10,694 GitHub stars. SynthScan examined 145,121 lines of code across 1579 source files, recording 1514 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 12.0 (Moderate 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.

12.0
Adjusted Signal
12.0
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
10.7K
Stars
Python
Language
145.1K
Lines of Code
1.6K
Files
1.5K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 30.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 3.5/100 · LOW

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

Agent Over-Engineering Ratio 40.4/100 · MEDIUM

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

PR Review Velocity Impact 51.5/100 · HIGH

Which changes need focused human review? 1514 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 0HIGH 115MEDIUM 6LOW 1393

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 1514 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 Identifiers1166 hits · 921 pts
SeverityFileLineSnippetContext
LOWnoxfile.py125def log_installed_package_version(session: Session, package_name: str) -> None:CODE
LOWnoxfile.py167def install_plugin_test_requirements(session: Session, plugin: Plugin) -> None:CODE
LOWnoxfile.py186def get_setup_python_versions(classifiers: list[str]) -> list[str]:CODE
LOWnoxfile.py264def select_plugins_under_directory(session: Session, directory: str) -> list[Plugin]:CODE
LOWnoxfile.py492def lint_plugin_if_compatible(session: Session, plugin: Plugin) -> None:CODE
LOWnoxfile.py568def _get_standalone_apps_dirs() -> list[str | Path]:CODE
LOW⚡tools/release/test_release.py56def test_validate_local_version_accepts_expected_version() -> None:CODE
LOW⚡tools/release/test_release.py62def test_validate_local_version_rejects_unexpected_version() -> None:CODE
LOW⚡tools/release/test_release.py72def test_validate_dev_version_accepts_dev_version() -> None:CODE
LOW⚡tools/release/test_release.py76def test_validate_dev_version_rejects_non_dev_version() -> None:CODE
LOW⚡tools/release/test_release.py84def test_format_dev_release_package_table_includes_publish_plan() -> None:CODE
LOWtools/release/test_release.py34def test_publishable_when_local_version_is_older_than_latest_but_unpublished() -> None:CODE
LOWtools/release/test_release.py45def test_not_publishable_when_local_version_is_already_published() -> None:CODE
LOWtools/release/test_release.py107def test_fail_if_any_target_version_published_rejects_published_package() -> None:CODE
LOWtools/release/test_release.py125def test_filter_packages_keeps_requested_packages_in_order() -> None:CODE
LOWtools/release/test_release.py137def test_filter_packages_rejects_unknown_packages() -> None:CODE
LOWtools/release/test_release.py153def test_dispatch_publish_workflow_reports_approval_link(monkeypatch, caplog) -> None:CODE
LOWtools/release/test_release.py206def test_publish_workflow_gates_only_the_pypi_upload() -> None:CODE
LOWtools/release/test_release.py217def test_publish_workflow_cleans_up_transient_artifacts() -> None:CODE
LOWtools/release/test_release.py271def test_publish_plan_pins_dispatched_branch_tip_without_a_commit_input() -> None:CODE
LOWtools/release/test_release.py278def test_publish_plan_pins_the_requested_commit() -> None:CODE
LOWtools/release/test_release.py294def test_publish_plan_rejects_a_commit_that_is_not_a_full_sha(commit: str) -> None:CODE
LOWtools/release/test_release.py301def test_dev_release_dispatches_the_commit_it_reports_after_bumping(CODE
LOWtools/release/test_release.py373def test_dev_release_pins_initial_current_commit_when_no_bump_is_needed(CODE
LOWtools/release/test_release.py422def test_missing_remote_commit_exits_with_clean_error(monkeypatch) -> None:CODE
LOWtools/release/test_release.py445def test_publish_commit_check_queries_exact_sha_on_github(monkeypatch) -> None:CODE
LOWtools/release/test_release.py480def test_dev_release_checks_selected_commit_on_remote_first(CODE
LOWtools/release/test_release.py540def test_validate_release_commit_rejects_invalid_commit(commit: str) -> None:CODE
LOWtools/release/test_release.py545def test_archive_release_workspace_uses_selected_sapling_commit(CODE
LOWtools/release/test_release.py569def test_archive_release_workspace_uses_selected_git_commit(CODE
LOWtools/release/test_release.py610def test_dev_release_dispatches_requested_commit_without_mutating_checkout(CODE
LOWtools/release/test_release.py684def test_check_build_artifacts_upgrades_smoke_environment_pip(CODE
LOWtools/release/test_release.py728def test_get_remote_url_accepts_sapling_path_output_formats(CODE
LOWtools/release/test_release.py746def test_get_github_repo_slug_accepts_common_github_remote_urls(remote_url) -> None:CODE
LOWtools/release/test_release.py776def test_release_build_checks_bundled_jar_licenses(CODE
LOWtools/release/release.py231def collect_dev_release_package_info(CODE
LOWtools/release/release.py256def format_dev_release_package_table(infos: list[DevReleasePackageInfo]) -> str:CODE
LOWtools/release/release.py289def fail_if_any_target_version_published(infos: list[DevReleasePackageInfo]) -> None:CODE
LOWtools/release/release.py391def validate_package_versions(CODE
LOWtools/release/release.py432def check_bundled_jar_licenses(artifacts: list[Path]) -> None:CODE
LOWtools/release/release.py482def validate_dev_release_artifacts(CODE
LOWtools/release/release.py529def archive_release_workspace(CODE
LOWtools/release/release.py609def ensure_publish_commit_exists_on_remote(CODE
LOWtools/release/release.py651def dispatch_publish_workflow(CODE
LOWtools/release/release.py694def selected_package_set_name() -> str:CODE
LOWtools/copyright/test_check_new_files.py28def test_accepts_new_header_after_shebang(tmp_path: Path) -> None:STRING
LOWtools/copyright/test_check_new_files.py34def test_rejects_legacy_header(tmp_path: Path) -> None:STRING
LOWtools/copyright/test_check_new_files.py47def test_rejects_meta_header_even_with_new_header(tmp_path: Path) -> None:STRING
LOW⚡tools/copyright/test_check_new_files.py60def test_rejects_meta_header_without_platforms(tmp_path: Path) -> None:STRING
LOW⚡tools/copyright/test_check_new_files.py69def test_rejects_missing_header(tmp_path: Path) -> None:STRING
LOW⚡tools/copyright/test_check_new_files.py78def test_rejects_spdx_text_outside_leading_comments(tmp_path: Path) -> None:STRING
LOWtools/copyright/test_check_new_files.py92def test_ignores_non_python_and_excluded_files(tmp_path: Path) -> None:STRING
LOWtools/copyright/test_check_new_files.py102def test_added_paths_uses_nul_delimited_git_diff(tmp_path: Path) -> None:STRING
LOWtools/copyright/test_check_new_files.py131def test_main_skips_an_all_zero_base() -> None:STRING
LOWtools/copyright/test_check_new_files.py135def test_shared_docusaurus_exemption_is_scoped(tmp_path: Path) -> None:STRING
LOWtools/landscape/test_refresh_landscape_metadata.py10def test_default_input_uses_analyzer_output() -> None:CODE
LOWtools/landscape/test_refresh_landscape_metadata.py14def test_read_repositories_keeps_successful_unique_rows(tmp_path: Path) -> None:CODE
LOWtools/landscape/test_refresh_landscape_metadata.py25def test_read_repositories_accepts_included_decisions(tmp_path: Path) -> None:CODE
LOWtools/landscape/test_refresh_landscape_metadata.py39def test_parse_response_preserves_live_maintenance_evidence() -> None:CODE
LOWtools/landscape/test_refresh_landscape_metadata.py80def test_fetch_batch_uses_one_graphql_request(CODE
1106 more matches not shown…
Cross-File Repetition92 hits · 460 pts
SeverityFileLineSnippetContext
HIGHplugins/hydra_rq_launcher/tests/test_rq_launcher.py0run this launcher through the integration test suite.STRING
HIGH…ns/hydra_joblib_launcher/tests/test_joblib_launcher.py0run this launcher through the integration test suite.STRING
HIGHplugins/hydra_ray_launcher/tests/test_ray_launcher.py0run this launcher through the integration test suite.STRING
HIGH…_ray_launcher/tests/ray_aws_launcher_tests_disabled.py0run this launcher through the integration test suite.STRING
HIGHtests/test_basic_launcher.py0run this launcher through the integration test suite.STRING
HIGH…_launcher_plugin/tests/test_example_launcher_plugin.py0run this launcher through the integration test suite.STRING
HIGH…a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py0:param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_jobSTRING
HIGH…_launcher/hydra_plugins/hydra_joblib_launcher/_core.py0:param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_jobSTRING
HIGH…ra_plugins/example_launcher_plugin/example_launcher.py0:param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_jobSTRING
HIGHwebsite/docs/advanced/compose_api.md0:param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list ofSTRING
HIGH…ite/versioned_docs/version-1.1/advanced/compose_api.md0:param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list ofSTRING
HIGH…ite/versioned_docs/version-1.3/advanced/compose_api.md0:param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list ofSTRING
HIGH…ite/versioned_docs/version-1.2/advanced/compose_api.md0:param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list ofSTRING
HIGHhydra/compose.py0:param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list ofSTRING
HIGHwebsite/docs/advanced/compose_api.md0initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the callerSTRING
HIGHhydra/initialize.py0initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the callerSTRING
HIGH…rsioned_docs/version-1.0/experimental/hydra_compose.md0initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the callerSTRING
HIGH…ite/versioned_docs/version-1.1/advanced/compose_api.md0initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the callerSTRING
HIGH…ite/versioned_docs/version-1.3/advanced/compose_api.md0initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the callerSTRING
HIGH…ite/versioned_docs/version-1.2/advanced/compose_api.md0initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the callerSTRING
HIGHwebsite/docs/advanced/plugins/develop.md0hydra users should call this function before invoking @hydra.mainSTRING
HIGH…versioned_docs/version-1.3/advanced/plugins/develop.md0hydra users should call this function before invoking @hydra.mainSTRING
HIGH…versioned_docs/version-1.2/advanced/plugins/develop.md0hydra users should call this function before invoking @hydra.mainSTRING
HIGHwebsite/docs/advanced/override_grammar/extended.md0a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a stSTRING
HIGH…docs/version-1.0/advanced/override_grammar/extended.md0a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a stSTRING
HIGH…docs/version-1.1/advanced/override_grammar/extended.md0a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a stSTRING
HIGH…docs/version-1.3/advanced/override_grammar/extended.md0a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a stSTRING
HIGH…docs/version-1.2/advanced/override_grammar/extended.md0a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a stSTRING
HIGHhydra/_internal/grammar/grammar_functions.py0a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a stSTRING
HIGHwebsite/docs/advanced/override_grammar/extended.md0range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a rangeSTRING
HIGH…docs/version-1.0/advanced/override_grammar/extended.md0range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a rangeSTRING
HIGH…docs/version-1.1/advanced/override_grammar/extended.md0range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a rangeSTRING
HIGH…docs/version-1.3/advanced/override_grammar/extended.md0range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a rangeSTRING
HIGH…docs/version-1.2/advanced/override_grammar/extended.md0range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a rangeSTRING
HIGHwebsite/docs/advanced/override_grammar/extended.md0a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < ySTRING
HIGH…docs/version-1.0/advanced/override_grammar/extended.md0a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < ySTRING
HIGH…docs/version-1.1/advanced/override_grammar/extended.md0a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < ySTRING
HIGH…docs/version-1.3/advanced/override_grammar/extended.md0a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < ySTRING
HIGH…docs/version-1.2/advanced/override_grammar/extended.md0a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < ySTRING
HIGHhydra/_internal/grammar/grammar_functions.py0a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < ySTRING
HIGHwebsite/docs/advanced/override_grammar/extended.md0sort an input list or sweep. reverse=true reverses the orderSTRING
HIGH…docs/version-1.0/advanced/override_grammar/extended.md0sort an input list or sweep. reverse=true reverses the orderSTRING
HIGH…docs/version-1.1/advanced/override_grammar/extended.md0sort an input list or sweep. reverse=true reverses the orderSTRING
HIGH…docs/version-1.3/advanced/override_grammar/extended.md0sort an input list or sweep. reverse=true reverses the orderSTRING
HIGH…docs/version-1.2/advanced/override_grammar/extended.md0sort an input list or sweep. reverse=true reverses the orderSTRING
HIGHhydra/_internal/grammar/grammar_functions.py0sort an input list or sweep. reverse=true reverses the orderSTRING
HIGHwebsite/docs/advanced/override_grammar/extended.md0shuffle input list or sweep (does not support interval)STRING
HIGH…docs/version-1.0/advanced/override_grammar/extended.md0shuffle input list or sweep (does not support interval)STRING
HIGH…docs/version-1.1/advanced/override_grammar/extended.md0shuffle input list or sweep (does not support interval)STRING
HIGH…docs/version-1.3/advanced/override_grammar/extended.md0shuffle input list or sweep (does not support interval)STRING
HIGH…docs/version-1.2/advanced/override_grammar/extended.md0shuffle input list or sweep (does not support interval)STRING
HIGHhydra/_internal/grammar/grammar_functions.py0shuffle input list or sweep (does not support interval)STRING
HIGH…rsioned_docs/version-1.0/experimental/hydra_compose.md0initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__STRING
HIGH…ite/versioned_docs/version-1.1/advanced/compose_api.md0initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__STRING
HIGH…ite/versioned_docs/version-1.3/advanced/compose_api.md0initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__STRING
HIGH…ite/versioned_docs/version-1.2/advanced/compose_api.md0initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__STRING
HIGH…rsioned_docs/version-1.0/experimental/hydra_compose.md0initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on thSTRING
HIGH…ite/versioned_docs/version-1.1/advanced/compose_api.md0initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on thSTRING
HIGHhydra/initialize.py0initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on thSTRING
HIGH…ite/versioned_docs/version-1.3/advanced/compose_api.md0initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on thSTRING
32 more matches not shown…
Deep Nesting113 hits · 100 pts
SeverityFileLineSnippetContext
LOWnoxfile.py539CODE
LOWtools/release/release.py432CODE
LOWtools/release/release.py795CODE
LOWtools/landscape/analyze_hydra_usage.py464CODE
LOWtools/landscape/analyze_hydra_usage.py673CODE
LOWtools/landscape/analyze_hydra_usage.py725CODE
LOWtools/landscape/analyze_hydra_usage.py796CODE
LOWtools/landscape/analyze_hydra_usage.py1088CODE
LOWtools/landscape/analyze_hydra_usage.py174CODE
LOWtools/landscape/analyze_hydra_usage.py231CODE
LOWtools/configen/configen/configen.py92CODE
LOWtools/configen/configen/configen.py157CODE
LOWtools/configen/configen/utils.py20CODE
LOW…dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py48CODE
LOW…dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py308CODE
LOW…dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py358CODE
LOW…na_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py276CODE
LOW…na_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py303CODE
LOW…sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py56CODE
LOW…sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py147CODE
LOW…_launcher/hydra_plugins/hydra_joblib_launcher/_core.py98CODE
LOW…/integration_test_tools/create_integration_test_ami.py34CODE
LOWtests/test_overrides_parser.py2001CODE
LOWtests/test_pkg_config_source.py19CODE
LOWtests/test_config_store.py106CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py115CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py557CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py677CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py841CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py928CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py1292CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py1361CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py1506CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py116CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py596CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py693CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py846CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py934CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py1303CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py1378CODE
LOW.github/docusaurus/tests/test_docusaurus_standard.py1523CODE
LOW…/docusaurus/tests/test_dependency_audit_release_age.py229CODE
LOW…/docusaurus/tests/test_dependency_audit_release_age.py255CODE
LOW…thub/docusaurus/tests/test_dependency_audit_repairs.py327CODE
LOW…thub/docusaurus/tests/test_dependency_audit_repairs.py345CODE
LOW.github/docusaurus/templates/dependency_audit.py119CODE
LOW.github/docusaurus/templates/dependency_audit.py142CODE
LOW.github/docusaurus/templates/dependency_audit.py175CODE
LOW.github/docusaurus/templates/dependency_audit.py691CODE
LOW.github/docusaurus/templates/dependency_audit.py736CODE
LOW.github/docusaurus/templates/dependency_audit.py1017CODE
LOWbuild_helpers/build_helpers.py36CODE
LOWbuild_helpers/build_helpers.py101CODE
LOWhydra/_internal/config_search_path_impl.py26CODE
LOWhydra/_internal/config_repository.py116CODE
LOWhydra/_internal/config_repository.py165CODE
LOWhydra/_internal/defaults_list.py502CODE
LOWhydra/_internal/defaults_list.py562CODE
LOWhydra/_internal/defaults_list.py609CODE
LOWhydra/_internal/defaults_list.py878CODE
53 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGH…_launcher/hydra_plugins/hydra_joblib_launcher/_core.py137except ValueError:CODE
HIGHhydra/_internal/utils.py94except KeyError:CODE
HIGHhydra/_internal/callbacks.py32except BaseException:CODE
HIGHhydra/_internal/execution_policy.py1287except BaseException:CODE
HIGHhydra/_internal/grammar/utils.py35except KeyError:CODE
HIGHhydra/core/plugins.py67except ImportError:CODE
HIGHhydra/core/utils.py849except BaseException:CODE
HIGHhydra/core/utils.py920except Exception:CODE
HIGHhydra/core/utils.py776except BaseException:CODE
HIGHhydra/core/utils.py796except BaseException:CODE
HIGHhydra/core/utils.py768except ImportError:CODE
HIGHhydra/core/utils.py234except Exception:CODE
HIGHhydra/core/utils.py238except Exception:CODE
HIGHhydra/plugins/completion_plugin.py240except ConfigCompositionException:CODE
HIGHhydra/plugins/completion_plugin.py286except ConfigCompositionException:CODE
Cross-Language Confusion7 hits · 48 pts
SeverityFileLineSnippetContext
HIGH⚡.github/docusaurus/tests/test_docusaurus_standard.py1424 ("renderer@1.0.0 || 1.0.1", True),CODE
HIGH⚡.github/docusaurus/tests/test_docusaurus_standard.py1427 ("renderer@1.0.0 || 2.0.0", True),CODE
HIGH⚡.github/docusaurus/tests/test_docusaurus_standard.py1466 if union == "renderer@1.0.0 || 1.0.1":CODE
HIGH⚡.github/docusaurus/tests/test_docusaurus_standard.py1475 if union == "renderer@1.0.0 || 1.0.1":CODE
HIGH⚡.github/docusaurus/tests/test_docusaurus_standard.py1482 assert bool(notes) == (union == "renderer@1.0.0 || 2.0.0")CODE
HIGH.github/docusaurus/tests/test_docusaurus_standard.py1357 ("renderer@1.0.1 || 2.0.0", True, True),CODE
HIGHhydra/_internal/core_plugins/bash_completion.py15 f"export _HYDRA_OLD_COMP=$(complete -p {self._get_exec()} 2> /dev/null)\n"CODE
Unused Imports36 hits · 36 pts
SeverityFileLineSnippetContext
LOWtools/copyright/check_new_files.py8CODE
LOWtools/landscape/analyze_hydra_projects.py13CODE
LOWtools/landscape/build_public_landscape.py7CODE
LOWtools/landscape/analyze_hydra_usage.py16CODE
LOWtools/landscape/refresh_landscape_metadata.py7CODE
LOWtools/landscape/build_landscape_review.py7CODE
LOW…/configen/example/config/configen/samples/my_module.py8CODE
LOWtools/configen/tests/test_modules/future_annotations.py2CODE
LOW…configen/tests/test_modules/default_flags/recursive.py8CODE
LOW…s/configen/tests/test_modules/default_flags/convert.py8CODE
LOW…s/configen/tests/test_modules/default_flags/noflags.py8CODE
LOWtools/configen/tests/test_modules/default_flags/both.py8CODE
LOW…ncher/hydra_plugins/hydra_ray_launcher/ray_launcher.py9CODE
LOWtests/instantiate/__init__.py6CODE
LOWtests/instantiate/__init__.py6CODE
LOWtests/instantiate/__init__.py6CODE
LOWtests/instantiate/__init__.py212CODE
LOWbuild_helpers/__init__.py2CODE
LOWhydra/__init__.py5CODE
LOWhydra/__init__.py6CODE
LOWhydra/__init__.py7CODE
LOWhydra/__init__.py8CODE
LOWhydra/__init__.py10CODE
LOWhydra/__init__.py11CODE
LOWhydra/__init__.py11CODE
LOWhydra/__init__.py11CODE
LOWhydra/__init__.py11CODE
LOWhydra/types.py10CODE
LOWhydra/types.py11CODE
LOWhydra/utils.py12CODE
LOWhydra/utils.py15CODE
LOWhydra/_internal/hydra.py51CODE
LOWhydra/_internal/hydra.py53CODE
LOWhydra/_internal/utils.py35CODE
LOWhydra/_internal/callbacks.py10CODE
LOWhydra/core/global_hydra.py5CODE
Excessive Try-Catch Wrapping32 hits · 33 pts
SeverityFileLineSnippetContext
LOW⚡…a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py240 except Exception:CODE
LOW…na_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py411 except Exception as e:CODE
LOW…sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py209 except Exception as e:CODE
LOW…her/hydra_plugins/hydra_ray_launcher/_remote_invoke.py86 except Exception as e:CODE
MEDIUM…her/hydra_plugins/hydra_ray_launcher/_remote_invoke.py79def _get_instance_id() -> str:CODE
LOWtests/test_core_utils.py594 except Exception as error:CODE
LOWtests/test_core_utils.py665 except Exception as cause:CODE
LOWhydra/utils.py50 except Exception as e:CODE
LOWhydra/utils.py77 except Exception as e:CODE
LOWhydra/utils.py102 except Exception as e:CODE
LOWhydra/_internal/logging_config.py349 except Exception:CODE
LOWhydra/_internal/logging_config.py372 except Exception as exc:CODE
LOWhydra/_internal/utils.py407 except Exception:CODE
LOWhydra/_internal/utils.py421 except Exception as ex:CODE
LOWhydra/_internal/utils.py435 except Exception as ex2:CODE
MEDIUMhydra/_internal/utils.py100def is_notebook() -> bool:CODE
LOWhydra/_internal/callbacks.py27 except Exception as e:CODE
LOWhydra/_internal/_locate.py29 except Exception as exc_import:CODE
LOWhydra/_internal/_locate.py50 except Exception as exc_import:CODE
LOWhydra/_internal/execution_policy.py1832 except Exception:CODE
LOWhydra/_internal/execution_policy.py1932 except Exception as error:CODE
LOW…dra/_internal/core_plugins/structured_config_source.py18 except Exception as e:CODE
LOWhydra/_internal/instantiate/_instantiate2.py264 except Exception as e:CODE
LOWhydra/_internal/instantiate/_instantiate2.py270 except Exception as e:CODE
LOWhydra/core/plugins.py80 except Exception as e:CODE
LOWhydra/core/config_loader.py33 except Exception:CODE
LOW⚡hydra/core/utils.py225 except Exception as e:CODE
LOW⚡hydra/core/utils.py234 except Exception:CODE
LOW⚡hydra/core/utils.py238 except Exception:CODE
LOWhydra/core/utils.py920 except Exception:STRING
LOWhydra/core/override_parser/overrides_visitor.py265 except Exception as e:CODE
LOWhydra/test_utils/test_utils.py390 except Exception as e:STRING
Fake / Example Data16 hits · 20 pts
SeverityFileLineSnippetContext
LOW…uncher/hydra_plugins/hydra_submitit_launcher/config.py72 # Eg: {"mail-user": "user@example.com", "mail-type": "BEGIN"}COMMENT
LOW⚡tests/defaults_list/test_defaults_list.py1478 "placeholder",CODE
LOW⚡tests/defaults_list/test_defaults_list.py1480 [ResultDefault(config_path="placeholder", package="", is_self=True)],CODE
LOW⚡tests/defaults_list/test_defaults_list.py1481 id="placeholder",CODE
LOW⚡tests/defaults_list/test_defaults_list.py1484 "placeholder",CODE
LOW⚡tests/defaults_list/test_defaults_list.py1488 config_path="group1/file1", package="group1", parent="placeholder"CODE
LOW⚡tests/defaults_list/test_defaults_list.py1490 ResultDefault(config_path="placeholder", package="", is_self=True),CODE
LOW⚡tests/defaults_list/test_defaults_tree.py1778 "placeholder",CODE
LOW⚡tests/defaults_list/test_defaults_tree.py1781 node=ConfigDefault(path="placeholder"),CODE
LOW⚡tests/defaults_list/test_defaults_tree.py1787 id="placeholder",CODE
LOW⚡tests/defaults_list/test_defaults_tree.py1790 "placeholder",CODE
LOW⚡tests/defaults_list/test_defaults_tree.py1793 node=ConfigDefault(path="placeholder"),CODE
LOWtests/defaults_list/test_defaults_tree.py1808 node=GroupDefault(group="group1", value="placeholder"),CODE
LOWtests/defaults_list/test_defaults_tree.py1826 node=GroupDefault(group="group1", value="placeholder"),CODE
LOWtests/defaults_list/test_defaults_tree.py3144 node=GroupDefault(group="group1", value="placeholder"),CODE
LOWtests/defaults_list/test_defaults_tree.py3153 {"group1": "placeholder", "group1/group2": None},CODE
Over-Commented Block13 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/configen/conf/configen.yaml21 - name: configen.samples.my_moduleCOMMENT
LOW…ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py21WARNING_FILTERS = [COMMENT
LOW…weeper/hydra_plugins/hydra_nevergrad_sweeper/config.py41 # - "CMA" very good algorithm, but may require a significant budget (> 120)COMMENT
LOW…uncher/hydra_plugins/hydra_submitit_launcher/config.py61 # USR1 signal delay before timeoutCOMMENT
LOW…y_launcher/hydra_plugins/hydra_ray_launcher/_config.py221 cluster_name: str = "default"COMMENT
LOW…pload_download/conf/hydra/launcher/custom_ray_aws.yaml1defaults:COMMENT
LOW…ion_test_tools/create_integration_test_ami_config.yaml41 ray.worker.default:COMMENT
LOWwebsite/docs/configure_hydra/app_help.md61 Powered by Hydra (https://hydra.cc)COMMENT
LOW…ersioned_docs/version-0.11/configure_hydra/app_help.md41COMMENT
LOW…ure_hydra/custom_help/conf/hydra/help/my_app_help.yaml1# App name, override to match the name your app is known byCOMMENT
LOWhydra/_internal/execution_policy.py341 "os.spawn",COMMENT
LOWhydra/conf/hydra/hydra_help/default.yaml1# Help header.COMMENT
LOWhydra/conf/hydra/help/default.yaml1# App name, override to match the name your app is known byCOMMENT
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/release/release.py386def set_package_versions(cfg: Config, hydra_root: str, target_version: str) -> None:CODE
LOW…/integration_test_tools/create_integration_test_ami.py34def set_up_machine(cfg: DictConfig) -> None:CODE
LOWhydra/__init__.py18__all__ = [CODE
LOWhydra/_internal/defaults_list.py322def update_package_header(repo: IConfigRepository, node: InputDefault) -> None:CODE
LOWhydra/experimental/callback.py10logger = logging.getLogger(__name__)CODE
LOWhydra/core/global_hydra.py36 def set_instance(instance: "GlobalHydra") -> None:CODE
LOWhydra/core/utils.py842def _set_job_return_handoff(error: BaseException, job_return: JobReturn) -> None:CODE
LOWhydra/core/singleton.py33 def set_state(state: Any) -> None:CODE
LOWhydra/core/hydra_config.py14 def set_config(self, cfg: DictConfig) -> None:CODE
LOWhydra/core/default_element.py108 def set_package_header(self, package_header: str | None) -> None:CODE
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…dra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py393 # to make the test robust against the detailed implementation of the sampler.COMMENT
MEDIUM…weeper/hydra_plugins/hydra_nevergrad_sweeper/config.py39 # - "OnePlusOne" extremely simple and robust, especially at low budget, butCOMMENT
LOW…y_launcher/hydra_plugins/hydra_ray_launcher/_config.py303 # you should just use file_mounts. Only use this if you know what you're doing!COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…cs/version-1.0/tutorials/structured_config/5_schema.md58 # In this example it comes from config.yamlCOMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/landscape/analyze_hydra_usage.py1360CODE
LOW…a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py60CODE
LOWplugins/hydra_ax_sweeper/tests/apps/polynomial.py17CODE
LOW…her/hydra_plugins/hydra_ray_launcher/_launcher_util.py81CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…a_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py189 # For example, you can use SQLite if you set 'sqlite:///example.db'COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…her/hydra_plugins/hydra_ray_launcher/_remote_invoke.py3# This file is to be rsynced to ray cluster and invoke on the cluster.COMMENT
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/backlog-atlas/config.yaml2# Set done_expire_days to null to keep done items indefinitely.COMMENT
LOWhydra/_internal/defaults_list.py1018 # Check if the failure is caused by relying on the old slash-containing group defaults behaviorSTRING
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhydra/plugins/completion_plugin.py4# TODO: Add tests for completion with +prefix (should suggest config groups that are not listed)COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/test_overrides_parser.py2178def test_function(value: Any, expected_value: Any) -> None:CODE