Hydra is a framework for elegantly configuring complex applications
This report presents the forensic synthetic code analysis of facebookresearch/hydra, a Python project with 10,513 GitHub stars. SynthScan v2.0 examined 107,879 lines of code across 1459 source files, recording 674 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 10.2 places this repository in the Low 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 674 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 |
|---|---|---|---|---|
| HIGH | plugins/hydra_rq_launcher/tests/test_rq_launcher.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | …ns/hydra_joblib_launcher/tests/test_joblib_launcher.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | …gins/hydra_ray_launcher/tests/test_ray_aws_launcher.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | plugins/hydra_ray_launcher/tests/test_ray_launcher.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | tests/test_basic_launcher.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | …ydra_torchrun_launcher/tests/test_torchrun_launcher.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | …_launcher_plugin/tests/test_example_launcher_plugin.py | 0 | run this launcher through the integration test suite. | STRING |
| HIGH | …a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py | 0 | :param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_job | STRING |
| HIGH | …_launcher/hydra_plugins/hydra_joblib_launcher/_core.py | 0 | :param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_job | STRING |
| HIGH | …auncher/hydra_plugins/hydra_torchrun_launcher/_core.py | 0 | :param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_job | STRING |
| HIGH | …ra_plugins/example_launcher_plugin/example_launcher.py | 0 | :param job_overrides: a list of list<string>, where each inner list is the arguments for one job run. :param initial_job | STRING |
| HIGH | website/docs/advanced/compose_api.md | 0 | :param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list of | STRING |
| HIGH | …ite/versioned_docs/version-1.1/advanced/compose_api.md | 0 | :param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list of | STRING |
| HIGH | …ite/versioned_docs/version-1.3/advanced/compose_api.md | 0 | :param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list of | STRING |
| HIGH | …ite/versioned_docs/version-1.2/advanced/compose_api.md | 0 | :param config_name: the name of the config (usually the file name without the .yaml extension) :param overrides: list of | STRING |
| HIGH | website/docs/advanced/compose_api.md | 0 | initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the caller | STRING |
| HIGH | …ite/versioned_docs/version-1.3/advanced/compose_api.md | 0 | initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the caller | STRING |
| HIGH | …ite/versioned_docs/version-1.2/advanced/compose_api.md | 0 | initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the caller | STRING |
| HIGH | …rsioned_docs/version-1.0/experimental/hydra_compose.md | 0 | initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the caller | STRING |
| HIGH | …ite/versioned_docs/version-1.1/advanced/compose_api.md | 0 | initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the caller | STRING |
| HIGH | hydra/initialize.py | 0 | initializes hydra and add the config_path to the config search path. config_path is relative to the parent of the caller | STRING |
| HIGH | website/docs/advanced/compose_api.md | 0 | initializes 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.md | 0 | initializes 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.md | 0 | initializes 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.md | 0 | initializes 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.md | 0 | initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__ | STRING |
| HIGH | hydra/initialize.py | 0 | initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__ | STRING |
| HIGH | hydra/experimental/initialize.py | 0 | initializes hydra and add the config_module to the config search path. the config module must be importable (an __init__ | STRING |
| HIGH | website/docs/advanced/compose_api.md | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | …ite/versioned_docs/version-1.3/advanced/compose_api.md | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | …ite/versioned_docs/version-1.2/advanced/compose_api.md | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | …rsioned_docs/version-1.0/experimental/hydra_compose.md | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | …ite/versioned_docs/version-1.1/advanced/compose_api.md | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | hydra/initialize.py | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | hydra/experimental/initialize.py | 0 | initializes hydra and add an absolute config dir to the to the config search path. the config_dir is always a path on th | STRING |
| HIGH | website/docs/advanced/plugins/develop.md | 0 | hydra users should call this function before invoking @hydra.main | STRING |
| HIGH | …versioned_docs/version-1.3/advanced/plugins/develop.md | 0 | hydra users should call this function before invoking @hydra.main | STRING |
| HIGH | …versioned_docs/version-1.2/advanced/plugins/develop.md | 0 | hydra users should call this function before invoking @hydra.main | STRING |
| HIGH | website/docs/advanced/override_grammar/extended.md | 0 | a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a st | STRING |
| HIGH | …docs/version-1.0/advanced/override_grammar/extended.md | 0 | a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a st | STRING |
| HIGH | …docs/version-1.1/advanced/override_grammar/extended.md | 0 | a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a st | STRING |
| HIGH | …docs/version-1.3/advanced/override_grammar/extended.md | 0 | a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a st | STRING |
| HIGH | …docs/version-1.2/advanced/override_grammar/extended.md | 0 | a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a st | STRING |
| HIGH | hydra/_internal/grammar/grammar_functions.py | 0 | a glob selects from all options in the config group. inputs are in glob format. e.g: *, foo*, *foo. :param include: a st | STRING |
| HIGH | website/docs/advanced/override_grammar/extended.md | 0 | range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a range | STRING |
| HIGH | …docs/version-1.0/advanced/override_grammar/extended.md | 0 | range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a range | STRING |
| HIGH | …docs/version-1.1/advanced/override_grammar/extended.md | 0 | range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a range | STRING |
| HIGH | …docs/version-1.3/advanced/override_grammar/extended.md | 0 | range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a range | STRING |
| HIGH | …docs/version-1.2/advanced/override_grammar/extended.md | 0 | range is defines a sweeep over a range of integer or floating-point values. for a positive step, the contents of a range | STRING |
| HIGH | website/docs/advanced/override_grammar/extended.md | 0 | a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < y | STRING |
| HIGH | …docs/version-1.0/advanced/override_grammar/extended.md | 0 | a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < y | STRING |
| HIGH | …docs/version-1.1/advanced/override_grammar/extended.md | 0 | a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < y | STRING |
| HIGH | …docs/version-1.3/advanced/override_grammar/extended.md | 0 | a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < y | STRING |
| HIGH | …docs/version-1.2/advanced/override_grammar/extended.md | 0 | a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < y | STRING |
| HIGH | hydra/_internal/grammar/grammar_functions.py | 0 | a continuous interval between two floating point values. value=interval(x,y) is interpreted as x <= value < y | STRING |
| HIGH | website/docs/advanced/override_grammar/extended.md | 0 | sort an input list or sweep. reverse=true reverses the order | STRING |
| HIGH | …docs/version-1.0/advanced/override_grammar/extended.md | 0 | sort an input list or sweep. reverse=true reverses the order | STRING |
| HIGH | …docs/version-1.1/advanced/override_grammar/extended.md | 0 | sort an input list or sweep. reverse=true reverses the order | STRING |
| HIGH | …docs/version-1.3/advanced/override_grammar/extended.md | 0 | sort an input list or sweep. reverse=true reverses the order | STRING |
| HIGH | …docs/version-1.2/advanced/override_grammar/extended.md | 0 | sort an input list or sweep. reverse=true reverses the order | STRING |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 125 | def log_installed_package_version(session: Session, package_name: str) -> None: | CODE |
| LOW | noxfile.py | 167 | def install_plugin_test_requirements(session: Session, plugin: Plugin) -> None: | CODE |
| LOW | noxfile.py | 186 | def get_setup_python_versions(classifiers: List[str]) -> List[str]: | CODE |
| LOW | noxfile.py | 264 | def select_plugins_under_directory(session: Session, directory: str) -> List[Plugin]: | CODE |
| LOW | noxfile.py | 517 | def lint_plugin_if_compatible(session: Session, plugin: Plugin) -> None: | CODE |
| LOW | noxfile.py | 592 | def _get_standalone_apps_dirs() -> List[Union[str, Path]]: | CODE |
| LOW | tools/release/test_release.py | 20 | def test_publishable_when_local_version_is_older_than_latest_but_unpublished() -> None: | CODE |
| LOW | tools/release/test_release.py | 31 | def test_not_publishable_when_local_version_is_already_published() -> None: | CODE |
| LOW⚡ | tools/release/test_release.py | 42 | def test_validate_local_version_accepts_expected_version() -> None: | CODE |
| LOW⚡ | tools/release/test_release.py | 48 | def test_validate_local_version_rejects_unexpected_version() -> None: | CODE |
| LOW⚡ | tools/release/test_release.py | 58 | def test_validate_dev_version_accepts_dev_version() -> None: | CODE |
| LOW⚡ | tools/release/test_release.py | 62 | def test_validate_dev_version_rejects_non_dev_version() -> None: | CODE |
| LOW⚡ | tools/release/test_release.py | 70 | def test_format_dev_release_package_table_includes_publish_plan() -> None: | CODE |
| LOW | tools/release/test_release.py | 93 | def test_fail_if_any_target_version_published_rejects_published_package() -> None: | CODE |
| LOW | tools/release/test_release.py | 111 | def test_filter_packages_keeps_requested_packages_in_order() -> None: | CODE |
| LOW | tools/release/test_release.py | 123 | def test_filter_packages_rejects_unknown_packages() -> None: | CODE |
| LOW | tools/release/test_release.py | 139 | def test_dispatch_publish_workflow_uses_json_boolean_input(monkeypatch) -> None: | CODE |
| LOW | tools/release/test_release.py | 196 | def test_get_remote_url_accepts_sapling_path_output_formats( | CODE |
| LOW | tools/release/test_release.py | 214 | def test_get_github_repo_slug_accepts_common_github_remote_urls(remote_url) -> None: | CODE |
| LOW | tools/release/release.py | 229 | def collect_dev_release_package_info( | CODE |
| LOW | tools/release/release.py | 254 | def format_dev_release_package_table(infos: List[DevReleasePackageInfo]) -> str: | CODE |
| LOW | tools/release/release.py | 287 | def fail_if_any_target_version_published(infos: List[DevReleasePackageInfo]) -> None: | CODE |
| LOW | tools/release/release.py | 447 | def validate_dev_release_artifacts( | CODE |
| LOW | tools/release/release.py | 534 | def ensure_publish_base_matches_ref( | CODE |
| LOW | tools/release/release.py | 576 | def dispatch_publish_workflow( | CODE |
| LOW | tools/release/release.py | 608 | def selected_package_set_name() -> str: | CODE |
| LOW | tools/configen/tests/test_generate.py | 91 | def test_generated_code_future_ann() -> None: | STRING |
| LOW | tools/configen/tests/test_generate.py | 142 | def test_generated_code_with_default_flags( | STRING |
| LOW | plugins/hydra_rq_launcher/tests/test_rq_launcher.py | 78 | def test_cloudpickle_serializer() -> None: | CODE |
| LOW | plugins/hydra_rq_launcher/tests/test_rq_launcher.py | 85 | def test_unserializable_rq_result_error() -> None: | CODE |
| LOW | plugins/hydra_rq_launcher/tests/test_rq_launcher.py | 107 | def test_unserializable_rq_result_stream_error() -> None: | CODE |
| LOW | …a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py | 197 | def _is_unserializable_return_value(job: Any) -> bool: | CODE |
| LOW⚡ | …a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py | 220 | def _matches_unserializable_return_value(value: Any) -> bool: | CODE |
| LOW⚡ | …a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py | 236 | def _get_latest_result_payload(job: Any) -> Optional[Dict[Any, Any]]: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 76 | def test_chunk_method_for_valid_inputs(n: int, expected: List[List[int]]) -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 86 | def test_chunk_method_for_invalid_inputs(n: int) -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 122 | def test_jobs_configured_via_config( | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 151 | def test_jobs_configured_via_cmd( | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 179 | def test_jobs_configured_via_cmd_and_config(hydra_sweep_runner: TSweepRunner) -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 204 | def test_command_line_int_interval_optimizes_integer_parabola( | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 230 | def test_configuration_set_via_cmd_and_default_config( | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 298 | def test_command_line_log_interval_configures_ax_log_range() -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 336 | def test_ax_logging_from_hydra_app(tmpdir: Path) -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 360 | def test_search_space_exhausted_exception(tmpdir: Path, cmd_args: List[str]) -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 378 | def test_search_space_with_constraint_metric(tmpdir: Path, cmd_args: List[str]) -> None: | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 409 | def test_jobs_using_choice_between_lists( | CODE |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 446 | def test_jobs_using_choice_between_dicts( | CODE |
| LOW | …weeper/tests/apps/polynomial_with_list_coefficients.py | 11 | def polynomial_with_list_coefficients(cfg: DictConfig) -> Any: | CODE |
| LOW | …weeper/tests/apps/polynomial_with_dict_coefficients.py | 11 | def polynomial_with_dict_coefficients(cfg: DictConfig) -> Any: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 53 | def encoder_parameters_into_string(parameters: List[Dict[str, Any]]) -> str: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 83 | def get_ax_choice_parameter_type(values: Iterable[Any]) -> AxChoiceParameterType: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 96 | def create_ax_parameter_config(param: Dict[Any, Any]) -> AxParameterConfig: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 401 | def create_range_param_using_interval_override(override: Override) -> Dict[str, Any]: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 414 | def create_choice_param_from_choice_override(override: Override) -> Dict[str, Any]: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 424 | def create_choice_param_from_range_override(override: Override) -> Dict[str, Any]: | CODE |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 435 | def create_fixed_param_from_element_override(override: Override) -> Dict[str, Any]: | CODE |
| LOW | …dra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py | 91 | def test_create_optuna_distribution_from_config(input: Any, expected: Any) -> None: | CODE |
| LOW | …dra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py | 111 | def test_create_optuna_distribution_from_override(input: Any, expected: Any) -> None: | CODE |
| LOW | …dra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py | 142 | def test_create_params_from_overrides(input: Any, expected: Any) -> None: | CODE |
| LOW | …dra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py | 208 | def test_example_with_grid_sampler( | CODE |
| 339 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | noxfile.py | 565 | CODE | |
| LOW | tools/release/release.py | 683 | CODE | |
| LOW | tools/configen/configen/configen.py | 92 | CODE | |
| LOW | tools/configen/configen/configen.py | 157 | CODE | |
| LOW | tools/configen/configen/utils.py | 20 | CODE | |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 53 | CODE | |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 313 | CODE | |
| LOW | …dra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py | 363 | CODE | |
| LOW | …na_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py | 290 | CODE | |
| LOW | …sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py | 60 | CODE | |
| LOW | …sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py | 119 | CODE | |
| LOW | …_launcher/hydra_plugins/hydra_joblib_launcher/_core.py | 55 | CODE | |
| LOW | …/integration_test_tools/create_integration_test_ami.py | 36 | CODE | |
| LOW | build_helpers/build_helpers.py | 37 | CODE | |
| LOW | build_helpers/build_helpers.py | 102 | CODE | |
| LOW | hydra/_internal/config_search_path_impl.py | 26 | CODE | |
| LOW | hydra/_internal/config_repository.py | 117 | CODE | |
| LOW | hydra/_internal/config_repository.py | 166 | CODE | |
| LOW | hydra/_internal/defaults_list.py | 377 | CODE | |
| LOW | hydra/_internal/defaults_list.py | 444 | CODE | |
| LOW | hydra/_internal/defaults_list.py | 701 | CODE | |
| LOW | hydra/_internal/defaults_list.py | 61 | CODE | |
| LOW | hydra/_internal/defaults_list.py | 142 | CODE | |
| LOW | hydra/_internal/hydra.py | 428 | CODE | |
| LOW | hydra/_internal/config_loader_impl.py | 58 | CODE | |
| LOW | hydra/_internal/config_loader_impl.py | 111 | CODE | |
| LOW | hydra/_internal/config_loader_impl.py | 367 | CODE | |
| LOW | hydra/_internal/config_loader_impl.py | 473 | CODE | |
| LOW | hydra/_internal/utils.py | 118 | CODE | |
| LOW | hydra/_internal/utils.py | 218 | CODE | |
| LOW | hydra/_internal/utils.py | 306 | CODE | |
| LOW | hydra/_internal/utils.py | 637 | CODE | |
| LOW | hydra/_internal/grammar/functions.py | 32 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 86 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 104 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 122 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 144 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 160 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 181 | CODE | |
| LOW | hydra/_internal/grammar/grammar_functions.py | 313 | CODE | |
| LOW | hydra/_internal/grammar/utils.py | 43 | CODE | |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 375 | CODE | |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 396 | CODE | |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 625 | CODE | |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 646 | CODE | |
| LOW | hydra/core/plugins.py | 168 | CODE | |
| LOW | hydra/core/override_parser/overrides_visitor.py | 121 | CODE | |
| LOW | hydra/core/override_parser/overrides_visitor.py | 143 | CODE | |
| LOW | hydra/core/override_parser/overrides_visitor.py | 258 | CODE | |
| LOW | hydra/core/override_parser/types.py | 331 | CODE | |
| LOW | hydra/core/override_parser/types.py | 434 | CODE | |
| LOW | hydra/core/override_parser/overrides_parser.py | 81 | CODE | |
| LOW | hydra/plugins/completion_plugin.py | 97 | CODE | |
| LOW | hydra/plugins/completion_plugin.py | 159 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py | 230 | except Exception: | CODE |
| LOW | …na_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py | 401 | except Exception as e: | STRING |
| LOW | …sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py | 179 | except Exception as e: | CODE |
| LOW | …her/hydra_plugins/hydra_ray_launcher/_remote_invoke.py | 87 | except Exception as e: | CODE |
| MEDIUM | …her/hydra_plugins/hydra_ray_launcher/_remote_invoke.py | 80 | def _get_instance_id() -> str: | CODE |
| LOW | hydra/utils.py | 43 | except Exception as e: | CODE |
| LOW | hydra/utils.py | 66 | except Exception as e: | CODE |
| LOW | hydra/utils.py | 87 | except Exception as e: | CODE |
| LOW | hydra/_internal/hydra.py | 137 | except Exception: | CODE |
| LOW | hydra/_internal/utils.py | 221 | except Exception as ex: | CODE |
| LOW | hydra/_internal/utils.py | 295 | except Exception as ex2: | CODE |
| LOW | hydra/_internal/utils.py | 659 | except Exception as exc_import: | CODE |
| LOW | hydra/_internal/utils.py | 680 | except Exception as exc_import: | CODE |
| MEDIUM | hydra/_internal/utils.py | 89 | def is_notebook() -> bool: | CODE |
| LOW | hydra/_internal/callbacks.py | 58 | except Exception as e: | CODE |
| LOW | …dra/_internal/core_plugins/structured_config_source.py | 19 | except Exception as e: | CODE |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 328 | except Exception as e: | CODE |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 341 | except Exception as e: | CODE |
| LOW⚡ | hydra/_internal/instantiate/_instantiate2.py | 352 | except Exception as e: | CODE |
| LOW | hydra/_internal/instantiate/_instantiate2.py | 438 | except Exception as e: | CODE |
| LOW | hydra/core/utils.py | 191 | except Exception as e: | CODE |
| LOW | hydra/core/utils.py | 469 | except Exception: | STRING |
| LOW | hydra/core/override_parser/overrides_visitor.py | 253 | except Exception as e: | CODE |
| LOW | hydra/test_utils/test_utils.py | 393 | except Exception as e: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/configen/example/config/configen/samples/my_module.py | 8 | CODE | |
| LOW | tools/configen/tests/test_generate.py | 37 | CODE | |
| LOW | tools/configen/tests/test_modules/future_annotations.py | 2 | CODE | |
| LOW | …configen/tests/test_modules/default_flags/recursive.py | 8 | CODE | |
| LOW | …s/configen/tests/test_modules/default_flags/convert.py | 8 | CODE | |
| LOW | …s/configen/tests/test_modules/default_flags/noflags.py | 8 | CODE | |
| LOW | tools/configen/tests/test_modules/default_flags/both.py | 8 | CODE | |
| LOW | tests/instantiate/__init__.py | 206 | CODE | |
| LOW | build_helpers/__init__.py | 2 | CODE | |
| LOW | hydra/__init__.py | 5 | CODE | |
| LOW | hydra/__init__.py | 6 | CODE | |
| LOW | hydra/__init__.py | 7 | CODE | |
| LOW | hydra/__init__.py | 8 | CODE | |
| LOW | hydra/__init__.py | 10 | CODE | |
| LOW | hydra/__init__.py | 11 | CODE | |
| LOW | hydra/__init__.py | 11 | CODE | |
| LOW | hydra/__init__.py | 11 | CODE | |
| LOW | hydra/types.py | 16 | CODE | |
| LOW | hydra/types.py | 17 | CODE | |
| LOW | hydra/_internal/callbacks.py | 11 | CODE | |
| LOW | hydra/experimental/__init__.py | 2 | CODE | |
| LOW | hydra/experimental/__init__.py | 3 | CODE | |
| LOW | hydra/experimental/__init__.py | 3 | CODE | |
| LOW | hydra/experimental/__init__.py | 3 | CODE | |
| LOW | hydra/core/global_hydra.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/defaults_list/test_defaults_list.py | 1503 | "placeholder", | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_list.py | 1505 | [ResultDefault(config_path="placeholder", package="", is_self=True)], | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_list.py | 1506 | id="placeholder", | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_list.py | 1509 | "placeholder", | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_list.py | 1513 | config_path="group1/file1", package="group1", parent="placeholder" | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_list.py | 1515 | ResultDefault(config_path="placeholder", package="", is_self=True), | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_tree.py | 1722 | "placeholder", | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_tree.py | 1725 | node=ConfigDefault(path="placeholder"), | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_tree.py | 1731 | id="placeholder", | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_tree.py | 1734 | "placeholder", | CODE |
| LOW⚡ | tests/defaults_list/test_defaults_tree.py | 1737 | node=ConfigDefault(path="placeholder"), | CODE |
| LOW | tests/defaults_list/test_defaults_tree.py | 1752 | node=GroupDefault(group="group1", value="placeholder"), | CODE |
| LOW | tests/defaults_list/test_defaults_tree.py | 1770 | node=GroupDefault(group="group1", value="placeholder"), | CODE |
| LOW | tests/defaults_list/test_defaults_tree.py | 2856 | node=GroupDefault(group="group1", value="placeholder"), | CODE |
| LOW | tests/defaults_list/test_defaults_tree.py | 2865 | {"group1": "placeholder", "group1/group2": None}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/configen/tests/test_generate.py | 41 | ## | COMMENT |
| LOW | tools/configen/conf/configen.yaml | 21 | - name: configen.samples.my_module | COMMENT |
| LOW | …ugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py | 21 | WARNING_FILTERS = [ | COMMENT |
| LOW | …weeper/hydra_plugins/hydra_nevergrad_sweeper/config.py | 41 | # - "CMA" very good algorithm, but may require a significant budget (> 120) | COMMENT |
| LOW | …uncher/hydra_plugins/hydra_submitit_launcher/config.py | 61 | # USR1 signal delay before timeout | COMMENT |
| LOW | …y_launcher/hydra_plugins/hydra_ray_launcher/_config.py | 221 | cluster_name: str = "default" | COMMENT |
| LOW | …pload_download/conf/hydra/launcher/custom_ray_aws.yaml | 1 | defaults: | COMMENT |
| LOW | …ion_test_tools/create_integration_test_ami_config.yaml | 41 | ray.worker.default: | COMMENT |
| LOW | …ersioned_docs/version-0.11/configure_hydra/app_help.md | 41 | COMMENT | |
| LOW | contrib/hydra_torchrun_launcher/setup.py | 1 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …ydra_torchrun_launcher/tests/test_torchrun_launcher.py | 1 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …lugins/hydra_torchrun_launcher/distributed_launcher.py | 1 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …uncher/hydra_plugins/hydra_torchrun_launcher/config.py | 1 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …auncher/hydra_plugins/hydra_torchrun_launcher/_core.py | 1 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …ure_hydra/custom_help/conf/hydra/help/my_app_help.yaml | 1 | # App name, override to match the name your app is known by | COMMENT |
| LOW | hydra/conf/hydra/hydra_help/default.yaml | 1 | # Help header. | COMMENT |
| LOW | hydra/conf/hydra/help/default.yaml | 1 | # App name, override to match the name your app is known by | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/release/release.py | 384 | def set_package_versions(cfg: Config, hydra_root: str, target_version: str) -> None: | CODE |
| LOW | …/integration_test_tools/create_integration_test_ami.py | 36 | def set_up_machine(cfg: DictConfig) -> None: | CODE |
| LOW | hydra/version.py | 38 | def set_instance(instance: "VersionBase") -> None: | CODE |
| LOW | hydra/__init__.py | 13 | __all__ = [ | CODE |
| LOW | hydra/_internal/defaults_list.py | 182 | def set_known_choice(self, default: InputDefault) -> None: | CODE |
| LOW | hydra/_internal/defaults_list.py | 268 | def update_package_header(repo: IConfigRepository, node: InputDefault) -> None: | CODE |
| LOW | hydra/experimental/callback.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | hydra/experimental/__init__.py | 5 | __all__ = [ | CODE |
| LOW | hydra/core/global_hydra.py | 36 | def set_instance(instance: "GlobalHydra") -> None: | CODE |
| LOW | hydra/core/singleton.py | 33 | def set_state(state: Any) -> None: | CODE |
| LOW | hydra/core/hydra_config.py | 14 | def set_config(self, cfg: DictConfig) -> None: | CODE |
| LOW | hydra/core/default_element.py | 114 | def set_package_header(self, package_header: Optional[str]) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …dra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py | 202 | # to make the test robust against the detailed implementation of the sampler. | COMMENT |
| MEDIUM | …weeper/hydra_plugins/hydra_nevergrad_sweeper/config.py | 39 | # - "OnePlusOne" extremely simple and robust, especially at low budget, but | COMMENT |
| LOW | …y_launcher/hydra_plugins/hydra_ray_launcher/_config.py | 303 | # you should just use file_mounts. Only use this if you know what you're doing! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …cs/version-1.0/tutorials/structured_config/5_schema.md | 58 | # In this example it comes from config.yaml | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …a_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py | 60 | CODE | |
| LOW | plugins/hydra_ax_sweeper/tests/apps/polynomial.py | 17 | CODE | |
| LOW | …_launcher/hydra_plugins/hydra_joblib_launcher/_core.py | 52 | CODE | |
| LOW | …her/hydra_plugins/hydra_ray_launcher/_launcher_util.py | 81 | CODE | |
| LOW | hydra/_internal/defaults_list.py | 374 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hydra/_internal/core_plugins/bash_completion.py | 16 | f"export _HYDRA_OLD_COMP=$(complete -p {self._get_exec()} 2> /dev/null)\n" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …a_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py | 189 | # For example, you can use SQLite if you set 'sqlite:///example.db' | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …her/hydra_plugins/hydra_ray_launcher/_remote_invoke.py | 3 | # This file is to be rsynced to ray cluster and invoke on the cluster. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/backlog-atlas/config.yaml | 2 | # Set done_expire_days to null to keep done items indefinitely. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hydra/plugins/completion_plugin.py | 4 | # TODO: Add tests for completion with +prefix (should suggest config groups that are not listed) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_overrides_parser.py | 2001 | def test_function(value: Any, expected_value: Any) -> None: | CODE |