Repository Analysis

spack/spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers.

19.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of spack/spack, a Python project with 5,100 GitHub stars. SynthScan v2.0 examined 255,625 lines of code across 1269 source files, recording 4654 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 19.8 places this repository in the Moderate 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).

19.8
Adjusted Score
19.8
Raw Score
100%
Time Factor
2026-08-01
Last Push
5.1K
Stars
Python
Language
255.6K
Lines of Code
1.3K
Files
4.7K
Pattern Hits
2026-08-02
Scan Date
0.08
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 11HIGH 92MEDIUM 227LOW 4324

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 4654 distinct pattern matches across 21 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.

Hyper-Verbose Identifiers2813 hits · 2384 pts
SeverityFileLineSnippetContext
LOW…st_repos/spack_repo/tutorial/packages/mpich/package.py77 def setup_dependent_build_environment(CODE
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py370 def ensure_parallel_compiler_wrappers(self):CODE
LOW…ack_repo/builtin_mock/packages/cmake_client/package.py72 def setup_dependent_build_environment(CODE
LOW…epos/spack_repo/builtin_mock/packages/cmake/package.py52 def setup_dependent_build_environment(CODE
LOW…spack_repo/builtin_mock/packages/hash_test1/package.py32 def setup_dependent_build_environment(CODE
LOW…repo/builtin_mock/packages/compiler_wrapper/package.py145 def setup_dependent_build_environment(CODE
LOW…repo/builtin_mock/packages/compiler_wrapper/package.py244 def _spack_compiler_attribute(*, language: str) -> str:CODE
LOW…_mock/packages/autotools_config_replacement/package.py47 def create_the_package_sources(self):CODE
LOW…spack_repo/builtin_mock/packages/hash_test2/package.py28 def setup_dependent_build_environment(CODE
LOW…spack_repo/builtin_mock/packages/hash_test3/package.py27 def setup_dependent_build_environment(CODE
LOW…t_repos/spack_repo/builtin_mock/build_systems/cmake.py36 def flags_to_build_system_args(self, flags):CODE
LOW…pos/spack_repo/builtin_mock/build_systems/autotools.py30 def flags_to_build_system_args(self, flags):CODE
LOW.github/workflows/bin/format-rst.py159def _is_glossary_term_paragraph(node: nodes.Node) -> bool:CODE
LOWlib/spack/docs/conf.py238def add_package_api_version_line(app, what, name: str, obj, options, lines: List[str]):CODE
LOWlib/spack/spack/store.py324def _construct_upstream_dbs_from_install_roots(CODE
LOWlib/spack/spack/url_buildcache.py270 def get_relative_path_components(cls, component: BuildcacheComponent) -> List[str]:CODE
LOWlib/spack/spack/url_buildcache.py307 def get_buildcache_component_include_pattern(CODE
LOWlib/spack/spack/url_buildcache.py443 def verify_and_extract_manifest(cls, manifest_contents: str, verify: bool = False) -> dict:CODE
LOWlib/spack/spack/url_buildcache.py989 def get_buildcache_component_include_pattern(CODE
LOWlib/spack/spack/url_buildcache.py1021 def verify_and_extract_manifest(cls, manifest_contents: str, verify: bool = False) -> dict:CODE
LOWlib/spack/spack/url_buildcache.py1099def _entries_from_cache_aws_cli(url: str, tmpspecsdir: str, component_type: BuildcacheComponent):CODE
LOWlib/spack/spack/url_buildcache.py1180def _entries_from_cache_fallback(url: str, tmpspecsdir: str, component_type: BuildcacheComponent):CODE
LOWlib/spack/spack/url_buildcache.py1293def compressed_json_from_dict(CODE
LOWlib/spack/spack/mixins.py52 def _filter_compiler_wrappers_impl(pkg_or_builder):CODE
LOWlib/spack/spack/verify_libraries.py181 def before_visit_symlinked_dir(self, root: str, rel_path: str, depth: int) -> bool:CODE
LOWlib/spack/spack/filesystem_view.py689 def _sanity_check_view_projection(self, specs):CODE
LOWlib/spack/spack/filesystem_view.py764 def _source_merge_visitor_to_merge_map(self, visitor: MultiPrefixMerger):CODE
LOWlib/spack/spack/filesystem_view.py776 def relative_metadata_dir_for_spec(self, spec):CODE
LOWlib/spack/spack/filesystem_view.py810 def get_relative_projection_for_spec(self, spec):CODE
LOWlib/spack/spack/filesystem_view.py897def is_folder_on_case_insensitive_filesystem(path: str) -> bool:CODE
LOWlib/spack/spack/config.py464 def _process_dict_keyname_overrides(data: YamlConfigDict) -> YamlConfigDict:CODE
LOWlib/spack/spack/config.py806 def active_include_section_scopes(self) -> List[ConfigScope]:CODE
LOWlib/spack/spack/config.py1654def config_paths_from_entry_points() -> List[Tuple[str, str]]:CODE
LOWlib/spack/spack/config.py2257def substitute_config_variables(path):CODE
LOWlib/spack/spack/config.py2296def substitute_path_variables(path):CODE
LOWlib/spack/spack/audit.py557def _ensure_packages_are_pickeleable(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py573def _ensure_packages_are_unparseable(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py598def _ensure_all_versions_can_produce_a_fetcher(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py195def _search_duplicate_compilers(error_cls):CODE
LOWlib/spack/spack/audit.py229def _search_duplicate_specs_in_externals(error_cls):CODE
LOWlib/spack/spack/audit.py270def _avoid_mismatched_variants(error_cls):CODE
LOWlib/spack/spack/audit.py334def _ensure_all_virtual_packages_have_default_providers(error_cls):CODE
LOWlib/spack/spack/audit.py350def _ensure_no_folders_without_package_py(error_cls):CODE
LOWlib/spack/spack/audit.py411def _check_build_test_callbacks(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py433def _directives_can_be_evaluated(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py509def _search_for_reserved_attributes_names_in_packages(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py541def _ensure_all_package_names_are_lowercase(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py634def _ensure_docstring_and_no_fixme(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py703def _ensure_env_methods_are_ported_to_builders(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py926def _variant_issues_in_directives(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py1018def _issues_in_depends_on_directive(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py1032 def check_virtual_with_variants(spec, msg):CODE
LOWlib/spack/spack/audit.py1108def _ensure_variant_defaults_are_parsable(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py1146def _ensure_variants_have_descriptions(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py1161def _version_constraints_are_satisfiable_by_some_version_in_repo(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py1212def _ensure_maintainers_are_not_placeholders(pkgs, error_cls):CODE
LOWlib/spack/spack/audit.py1227def _issues_in_directive_constraint(pkg, constraint, *, directive, error_cls, filename, requestor):CODE
LOWlib/spack/spack/audit.py1252def _analyze_variants_in_directive(pkg, constraint, *, directive, error_cls, filename, requestor):CODE
LOWlib/spack/spack/audit.py1284def _analize_propagated_deps_in_directive(CODE
LOWlib/spack/spack/audit.py1297def _named_specs_in_when_arguments(pkgs, error_cls):CODE
2753 more matches not shown…
Unused Imports671 hits · 603 pts
SeverityFileLineSnippetContext
LOW…_runtime_test/packages/intel_oneapi_runtime/package.py4CODE
LOW…untime_test/packages/intel_oneapi_compilers/package.py8CODE
LOW…k_repo/compiler_runtime_test/packages/pkg_a/package.py6CODE
LOW…k_repo/compiler_runtime_test/packages/pkg_b/package.py6CODE
LOW…epos/spack_repo/builder_test/packages/gmake/package.py7CODE
LOW…ck_repo/builder_test/packages/custom_phases/package.py8CODE
LOW…epo/builder_test/packages/old_style_derived/package.py4CODE
LOW…/spack_repo/builder_test/packages/gnuconfig/package.py6CODE
LOW…/spack_repo/builder_test/packages/callbacks/package.py8CODE
LOW…ilder_test/packages/old_style_custom_phases/package.py8CODE
LOW…pack_repo/builder_test/packages/inheritance/package.py8CODE
LOW…o/builder_test/packages/old_style_autotools/package.py8CODE
LOW…po/builder_test/packages/builder_and_mixins/package.py8CODE
LOW…st_repos/spack_repo/tutorial/packages/mpich/package.py9CODE
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py11CODE
LOW…/spack_repo/tutorial/packages/netlib_lapack/package.py7CODE
LOW…est_repos/spack_repo/tutorial/packages/elpa/package.py7CODE
LOW…epos/spack_repo/tutorial/packages/armadillo/package.py7CODE
LOW…test_repos/spack_repo/flags_test/packages/u/package.py6CODE
LOW…test_repos/spack_repo/flags_test/packages/t/package.py6CODE
LOW…test_repos/spack_repo/flags_test/packages/v/package.py6CODE
LOW…test_repos/spack_repo/flags_test/packages/x/package.py6CODE
LOW…test_repos/spack_repo/flags_test/packages/y/package.py6CODE
LOW…test_repos/spack_repo/flags_test/packages/w/package.py6CODE
LOW…duplicates_test/packages/unify_build_deps_b/package.py4CODE
LOW…s/spack_repo/duplicates_test/packages/gmake/package.py6CODE
LOW…duplicates_test/packages/unify_build_deps_c/package.py4CODE
LOW…/spack_repo/duplicates_test/packages/python/package.py6CODE
LOW…os/spack_repo/duplicates_test/packages/hdf5/package.py6CODE
LOW…_repo/duplicates_test/packages/pinned_gmake/package.py6CODE
LOW…spack_repo/duplicates_test/packages/cycle_a/package.py6CODE
LOW…k_repo/duplicates_test/packages/py_floating/package.py6CODE
LOW…repo/duplicates_test/packages/virtual_build/package.py6CODE
LOW…duplicates_test/packages/unify_build_deps_a/package.py4CODE
LOW…ck_repo/duplicates_test/packages/pkg_config/package.py6CODE
LOW…ck_repo/duplicates_test/packages/py_shapely/package.py6CODE
LOW…spack_repo/duplicates_test/packages/cycle_b/package.py6CODE
LOW…repo/duplicates_test/packages/py_setuptools/package.py6CODE
LOW…pack_repo/duplicates_test/packages/py_numpy/package.py6CODE
LOW…ck_repo/builtin_mock/packages/mixing_parent/package.py5CODE
LOW…iltin_mock/packages/depends_on_manyvariants/package.py7CODE
LOW…epo/builtin_mock/packages/git_url_top_level/package.py7CODE
LOW…s/spack_repo/builtin_mock/packages/cvs_test/package.py7CODE
LOW…n_mock/packages/url_only_override_with_gaps/package.py7CODE
LOW…repos/spack_repo/builtin_mock/packages/mesa/package.py4CODE
LOW…builtin_mock/packages/long_boost_dependency/package.py4CODE
LOW…k_repo/builtin_mock/packages/attributes_foo/package.py8CODE
LOW…_mock/packages/dep_with_variants_if_develop/package.py6CODE
LOW…ackages/autotools_conditional_variants_test/package.py8CODE
LOW…epos/spack_repo/builtin_mock/packages/hwloc/package.py7CODE
LOW…_repo/builtin_mock/packages/nosource_bundle/package.py8CODE
LOW…repos/spack_repo/builtin_mock/packages/ruff/package.py7CODE
LOW…ckages/conditional_constrained_dependencies/package.py6CODE
LOW…os/spack_repo/builtin_mock/packages/canfail/package.py6CODE
LOW…k/packages/test_dep_with_imposed_conditions/package.py7CODE
LOW…uiltin_mock/packages/module_manpath_prepend/package.py7CODE
LOW…tin_mock/packages/both_link_and_build_dep_a/package.py7CODE
LOW…po/builtin_mock/packages/multi_provider_mpi/package.py7CODE
LOW…epos/spack_repo/builtin_mock/packages/gmake/package.py7CODE
LOW…ck_repo/builtin_mock/packages/py_extension2/package.py8CODE
611 more matches not shown…
Self-Referential Comments151 hits · 437 pts
SeverityFileLineSnippetContext
MEDIUM…in_mock/packages/variant_function_validator/package.py23 # Create a situation where, if the penalty for the variant defined by a functionCOMMENT
MEDIUM…repos/spack_repo/builtin_mock/packages/llvm/package.py91 # Create the minimal compiler that will fool `spack compiler find`COMMENT
MEDIUM…epos/spack_repo/builtin_mock/packages/symly/package.py43 # Create a symlinked directory.STRING
MEDIUM…_repos/spack_repo/builtin_mock/packages/gcc/package.py80 # Create the minimal compiler that will fool `spack compiler find`COMMENT
MEDIUM…uiltin_mock/packages/intel_oneapi_compilers/package.py39 # Create the minimal compiler that will fool `spack compiler find`COMMENT
MEDIUM.github/workflows/bin/canonicalize.py71 # Create a git repo in output_dir to track changesCOMMENT
MEDIUMlib/spack/docs/conf.py11# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMlib/spack/spack/multimethod.py258 # Create a multimethod with this name if there is not one alreadyCOMMENT
MEDIUMlib/spack/spack/config.py4"""This module implements Spack's configuration file handling.STRING
MEDIUMlib/spack/spack/config.py284 """This class represents a configuration scope in a single YAML file."""STRING
MEDIUMlib/spack/spack/database.py1273 # Create a new install record with no deps initially.COMMENT
MEDIUMlib/spack/spack/binary_distribution.py1276 # Create an oci.image.layer aka tarball of the packageCOMMENT
MEDIUMlib/spack/spack/binary_distribution.py1353 # Create an oci.image.config fileCOMMENT
MEDIUMlib/spack/spack/binary_distribution.py1619 # Create the index.json fileCOMMENT
MEDIUMlib/spack/spack/binary_distribution.py1624 # Create an empty config.json fileCOMMENT
MEDIUMlib/spack/spack/binary_distribution.py2019 # Create the install prefixCOMMENT
MEDIUMlib/spack/spack/install_test.py932 # Create the test log file and report the error.COMMENT
MEDIUMlib/spack/spack/extensions.py104 # Create a searchable package for both the root folder of the extensionCOMMENT
MEDIUMlib/spack/spack/old_installer.py567 # Create a source repo and get the pkg directory out of it.COMMENT
MEDIUMlib/spack/spack/old_installer.py576 # Create a destination repositoryCOMMENT
MEDIUMlib/spack/spack/old_installer.py1278 # Create a child process to do the actual installation.COMMENT
MEDIUMlib/spack/spack/old_installer.py2579 """This class implements the part installation that happens in the child process."""STRING
MEDIUMlib/spack/spack/repo.py413 # Create a dictionary that will store the mapping between aCOMMENT
MEDIUMlib/spack/spack/stage.py1141 # Create a temporary file in the stage dir with lines of the formCOMMENT
MEDIUMlib/spack/spack/stage.py1146 # Create a temporary file by hashing its contents.COMMENT
MEDIUMlib/spack/spack/main.py212 # Create a list of subcommand actions. Argparse internals are nasty!COMMENT
MEDIUMlib/spack/spack/main.py948 # Create a parser with a simple positional argument first. We'llCOMMENT
MEDIUMlib/spack/spack/tokenize.py4"""This module provides building blocks for tokenizing strings. Users can define tokens bySTRING
MEDIUMlib/spack/spack/variant.py591 # Create a new object to be returnedCOMMENT
MEDIUMlib/spack/spack/variant.py602 # Create a new object to be returnedCOMMENT
MEDIUMlib/spack/spack/cmd/create.py1094 # Create the package template objectSTRING
MEDIUMlib/spack/spack/cmd/create.py1102 # Create a directory for the new packageSTRING
MEDIUMlib/spack/spack/cmd/gpg.py145 # Create the new keyCOMMENT
MEDIUMlib/spack/spack/test/conftest.py1573 # Create the configure scriptCOMMENT
MEDIUMlib/spack/spack/test/conftest.py1813 # Create the main repositoryCOMMENT
MEDIUMlib/spack/spack/test/conftest.py2056 # Create a few header files:COMMENT
MEDIUMlib/spack/spack/test/config.py1598 # Creating an environment pushes a new scopeCOMMENT
MEDIUMlib/spack/spack/test/config.py1633 # Creating an environment pushes a new scopeCOMMENT
MEDIUMlib/spack/spack/test/env.py1363 # Create a second environment, reuse from the previous one and check pkg-a is the sameCOMMENT
MEDIUMlib/spack/spack/test/env.py1064 # Define a toolchain in spack.yamlSTRING
MEDIUMlib/spack/spack/test/build_environment.py296 # Create a mock spec object with the minimum attributes needed for the testCOMMENT
MEDIUMlib/spack/spack/test/build_environment.py306 # Create a simplified SetupContext-like class that only contains what we needCOMMENT
MEDIUMlib/spack/spack/test/database.py1046 # Create the lockfile and failures directory otherwiseCOMMENT
MEDIUMlib/spack/spack/test/database.py1288 # Create a new instance s.t. we don't have cached specs in memoryCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py237 # Create a temp mirror directory for buildcache usageCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py247 # Create a buildcache and update indexCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py1121 # Create a temp mirror directory for buildcache usageCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py106 # Create a buildacheCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py207 # Create a temp mirror directory for buildcache usageCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py288 # Create a mirror, configure us to point at it, install a spec, andCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py321 # Create a mirror, configure us to point at it, install a spec, andCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py328 # Create an environment and install specs for the viewCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py358 # Create a mirror, configure us to point at it, install a spec, andCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py365 # Create an environment and install specs for the viewCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py815 # Create a binary_distribution file in the .spack folderCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py858 # Create a tarball with a certain mtime of bin/appCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py948 # Create a tarball (using absolute path for prefix dir)COMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py1002 # Create a broken tarball with just a file, no directories.COMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py1438 # Create a temp mirror directory for buildcache usageCOMMENT
MEDIUMlib/spack/spack/test/binary_distribution.py453 # Create a buildcache with the installed spec.STRING
91 more matches not shown…
Deep Nesting338 hits · 286 pts
SeverityFileLineSnippetContext
LOW…st_repos/spack_repo/tutorial/packages/mpich/package.py116CODE
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py213CODE
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py396CODE
LOW…pack_repo/builtin_mock/packages/gcc_runtime/package.py163CODE
LOW…epos/spack_repo/builtin_mock/build_systems/compiler.py114CODE
LOW.github/workflows/bin/format-rst.py175CODE
LOW.github/workflows/bin/canonicalize.py37CODE
LOWlib/spack/spack/patch.py482CODE
LOWlib/spack/spack/patch.py526CODE
LOWlib/spack/spack/provider_index.py60CODE
LOWlib/spack/spack/provider_index.py116CODE
LOWlib/spack/spack/url_buildcache.py1099CODE
LOWlib/spack/spack/url_buildcache.py1180CODE
LOWlib/spack/spack/url_buildcache.py307CODE
LOWlib/spack/spack/url_buildcache.py327CODE
LOWlib/spack/spack/url_buildcache.py443CODE
LOWlib/spack/spack/deptypes.py75CODE
LOWlib/spack/spack/deptypes.py129CODE
LOWlib/spack/spack/verify_libraries.py184CODE
LOWlib/spack/spack/filesystem_view.py556CODE
LOWlib/spack/spack/filesystem_view.py616CODE
LOWlib/spack/spack/config.py1830CODE
LOWlib/spack/spack/config.py1887CODE
LOWlib/spack/spack/config.py160CODE
LOWlib/spack/spack/config.py464CODE
LOWlib/spack/spack/config.py1514CODE
LOWlib/spack/spack/config.py2403CODE
LOWlib/spack/spack/audit.py270CODE
LOWlib/spack/spack/audit.py449CODE
LOWlib/spack/spack/audit.py509CODE
LOWlib/spack/spack/audit.py634CODE
LOWlib/spack/spack/audit.py666CODE
LOWlib/spack/spack/audit.py900CODE
LOWlib/spack/spack/audit.py926CODE
LOWlib/spack/spack/audit.py1018CODE
LOWlib/spack/spack/audit.py1146CODE
LOWlib/spack/spack/audit.py1161CODE
LOWlib/spack/spack/audit.py1386CODE
LOWlib/spack/spack/audit.py763CODE
LOWlib/spack/spack/directives_meta.py137CODE
LOWlib/spack/spack/directives_meta.py155CODE
LOWlib/spack/spack/build_environment.py894CODE
LOWlib/spack/spack/build_environment.py1129CODE
LOWlib/spack/spack/build_environment.py1486CODE
LOWlib/spack/spack/build_environment.py1045CODE
LOWlib/spack/spack/package_base.py152CODE
LOWlib/spack/spack/package_base.py1691CODE
LOWlib/spack/spack/package_base.py1818CODE
LOWlib/spack/spack/package_base.py2172CODE
LOWlib/spack/spack/database.py1174CODE
LOWlib/spack/spack/externals.py96CODE
LOWlib/spack/spack/externals.py233CODE
LOWlib/spack/spack/externals.py288CODE
LOWlib/spack/spack/repo_migrate.py18CODE
LOWlib/spack/spack/repo_migrate.py34CODE
LOWlib/spack/spack/repo_migrate.py249CODE
LOWlib/spack/spack/graph.py306CODE
LOWlib/spack/spack/directory_layout.py43CODE
LOWlib/spack/spack/directory_layout.py150CODE
LOWlib/spack/spack/directory_layout.py281CODE
278 more matches not shown…
Cross-File Repetition46 hits · 230 pts
SeverityFileLineSnippetContext
HIGH…ckages/conditional_constrained_dependencies/package.py0package that has a dependency with a variant which adds a transitive dependency forced to use non default values.STRING
HIGH…epo/builtin_mock/packages/dep_with_variants/package.py0package that has a dependency with a variant which adds a transitive dependency forced to use non default values.STRING
HIGH…pack_repo/builtin_mock/packages/ecp_viz_sdk/package.py0package that has a dependency with a variant which adds a transitive dependency forced to use non default values.STRING
HIGH…tin_mock/packages/both_link_and_build_dep_a/package.py0structure where c occurs as a build dep down the line and as a direct link dep. useful for testing situations where you STRING
HIGH…tin_mock/packages/both_link_and_build_dep_b/package.py0structure where c occurs as a build dep down the line and as a direct link dep. useful for testing situations where you STRING
HIGH…tin_mock/packages/both_link_and_build_dep_c/package.py0structure where c occurs as a build dep down the line and as a direct link dep. useful for testing situations where you STRING
HIGH…pack_repo/builtin_mock/packages/v1_provider/package.py0mimic the real netlib-lapack, that may be built on top of an optimized blas.STRING
HIGH…/builtin_mock/packages/conditional_provider/package.py0mimic the real netlib-lapack, that may be built on top of an optimized blas.STRING
HIGH…pack_repo/builtin_mock/packages/v1_consumer/package.py0mimic the real netlib-lapack, that may be built on top of an optimized blas.STRING
HIGH…uiltin_mock/packages/dep_diamond_patch_mid2/package.py0package that requires a patch on a dependency w / \ x y \ / z this is package xSTRING
HIGH…builtin_mock/packages/dep_diamond_patch_top/package.py0package that requires a patch on a dependency w / \ x y \ / z this is package xSTRING
HIGH…uiltin_mock/packages/dep_diamond_patch_mid1/package.py0package that requires a patch on a dependency w / \ x y \ / z this is package xSTRING
HIGH…o/builtin_mock/packages/multimethod_diamond/package.py0this package is designed for use with spack's multimethod test. it has a bunch of test cases for the @when decorator thaSTRING
HIGH…in_mock/packages/multimethod_diamond_parent/package.py0this package is designed for use with spack's multimethod test. it has a bunch of test cases for the @when decorator thaSTRING
HIGH…builtin_mock/packages/multimethod_inheritor/package.py0this package is designed for use with spack's multimethod test. it has a bunch of test cases for the @when decorator thaSTRING
HIGH…pack_repo/builtin_mock/packages/multimethod/package.py0this package is designed for use with spack's multimethod test. it has a bunch of test cases for the @when decorator thaSTRING
HIGH…uiltin_mock/packages/cumulative_vrange_root/package.py0test that creating cumulative version ranges of the form x.y:x works and allows for the selection of all the versions >=STRING
HIGH…ltin_mock/packages/cumulative_vrange_middle/package.py0test that creating cumulative version ranges of the form x.y:x works and allows for the selection of all the versions >=STRING
HIGH…ltin_mock/packages/cumulative_vrange_bottom/package.py0test that creating cumulative version ranges of the form x.y:x works and allows for the selection of all the versions >=STRING
HIGH…/packages/variant_on_dependency_condition_a/package.py0test that dependencies that are conditional on the state of other dependencies are added correctly, for instance: dependSTRING
HIGH…ckages/variant_on_dependency_condition_root/package.py0test that dependencies that are conditional on the state of other dependencies are added correctly, for instance: dependSTRING
HIGH…/packages/variant_on_dependency_condition_b/package.py0test that dependencies that are conditional on the state of other dependencies are added correctly, for instance: dependSTRING
HIGH…_repo/builtin_mock/packages/dt_diamond_left/package.py0this package has an indirect diamond dependency on dt-diamond-bottomSTRING
HIGH…spack_repo/builtin_mock/packages/dt_diamond/package.py0this package has an indirect diamond dependency on dt-diamond-bottomSTRING
HIGH…epo/builtin_mock/packages/dt_diamond_bottom/package.py0this package has an indirect diamond dependency on dt-diamond-bottomSTRING
HIGH…repo/builtin_mock/packages/dt_diamond_right/package.py0this package has an indirect diamond dependency on dt-diamond-bottomSTRING
HIGH…po/builtin_mock/packages/parent_foo_bar_fee/package.py0this package has a variant "foo", which is true by default, and depends on another package which has the same variant deSTRING
HIGH…k_repo/builtin_mock/packages/parent_foo_bar/package.py0this package has a variant "foo", which is true by default, and depends on another package which has the same variant deSTRING
HIGH…spack_repo/builtin_mock/packages/parent_foo/package.py0this package has a variant "foo", which is true by default, and depends on another package which has the same variant deSTRING
HIGH…k/packages/conditionally_extends_direct_dep/package.py0package that tests if the extends directive supports a spec.STRING
HIGH…ack_repo/builtin_mock/packages/extends_spec/package.py0package that tests if the extends directive supports a spec.STRING
HIGH…ckages/conditionally_extends_transitive_dep/package.py0package that tests if the extends directive supports a spec.STRING
HIGH…epos/spack_repo/builtin_mock/packages/patch/package.py0package that conditionally requires a patched version of a dependency.STRING
HIGH…po/builtin_mock/packages/patch_a_dependency/package.py0package that conditionally requires a patched version of a dependency.STRING
HIGH…ock/packages/conditionally_patch_dependency/package.py0package that conditionally requires a patched version of a dependency.STRING
HIGH…/spack_repo/builtin_mock/packages/diff_test/package.py0zlib replacement with optimizations for next generation systems.STRING
HIGH…spack/spack/test/data/conftest/diff-test/package-3.txt0zlib replacement with optimizations for next generation systems.STRING
HIGH…spack/spack/test/data/conftest/diff-test/package-2.txt0zlib replacement with optimizations for next generation systems.STRING
HIGH…spack/spack/test/data/conftest/diff-test/package-0.txt0zlib replacement with optimizations for next generation systems.STRING
HIGH…spack/spack/test/data/conftest/diff-test/package-1.txt0zlib replacement with optimizations for next generation systems.STRING
HIGHlib/spack/spack/test/url_fetch.py0ensure a fetch after downloading is effectively a no-op.STRING
HIGHlib/spack/spack/test/svn_fetch.py0ensure a fetch after downloading is effectively a no-op.STRING
HIGHlib/spack/spack/test/cvs_fetch.py0ensure a fetch after downloading is effectively a no-op.STRING
HIGHlib/spack/spack/test/git_fetch.py0tries to: 1. fetch the repo using a fetch strategy constructed with supplied args (they depend on type_of_test). 2. checSTRING
HIGHlib/spack/spack/test/svn_fetch.py0tries to: 1. fetch the repo using a fetch strategy constructed with supplied args (they depend on type_of_test). 2. checSTRING
HIGHlib/spack/spack/test/hg_fetch.py0tries to: 1. fetch the repo using a fetch strategy constructed with supplied args (they depend on type_of_test). 2. checSTRING
Decorative Section Separators56 hits · 182 pts
SeverityFileLineSnippetContext
MEDIUMetc/spack/defaults/linux/modules.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/linux/modules.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/darwin/packages.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/darwin/packages.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/darwin/modules.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/darwin/modules.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/windows/packages.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/windows/packages.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/concretizer.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/concretizer.yaml11# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/config.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/config.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/packages.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/packages.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/repos.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/repos.yaml12# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/modules.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMetc/spack/defaults/base/modules.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUM…ack_repo/builtin_mock/packages/git_sparse_b/package.py15 # ----------------------------COMMENT
MEDIUM…_repo/builtin_mock/packages/git_test_commit/package.py17 # ----------------------------COMMENT
MEDIUM…_repo/builtin_mock/packages/git_test_commit/package.py20 # ----------------------------COMMENT
MEDIUM…_repo/builtin_mock/packages/git_test_commit/package.py25 # ----------------------------COMMENT
MEDIUM…ack_repo/builtin_mock/packages/git_sparse_a/package.py15 # ----------------------------COMMENT
MEDIUM.github/workflows/triage.yml1#-----------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/triage.yml7#-----------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/main.py939 # ------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/main.py945 # ------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/main.py967 # ------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/main.py972 # ------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/main.py1014 # ------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/main.py1016 # ------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/cmd/create.py38# ----------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/cmd/create.py53# ----------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/test/spec_semantics.py837 # ========================================================================COMMENT
MEDIUMlib/spack/spack/test/spec_semantics.py839 # ========================================================================COMMENT
MEDIUMlib/spack/spack/test/data/config/modules.yaml1# -------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/test/data/config/modules.yaml15# -------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/util/url.py173# ==============================================================================COMMENT
MEDIUMlib/spack/spack/util/url.py175# ==============================================================================COMMENT
MEDIUMlib/spack/spack/util/ctest_log_parser.py2# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/util/ctest_log_parser.py34# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/util/ctest_log_parser.py41# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/util/ctest_log_parser.py56# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/spack/spack/util/path.py142# ---------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh20# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh26# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh31# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh33# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh85# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh87# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh245# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/setup-env-test.sh248# -----------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/test-framework.sh9# ------------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/test-framework.sh11# ------------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/test-framework.sh31# ------------------------------------------------------------------------COMMENT
MEDIUMshare/spack/qa/test-framework.sh33# ------------------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping179 hits · 177 pts
SeverityFileLineSnippetContext
LOW…repos/spack_repo/builtin_mock/packages/llvm/package.py74 except Exception as e:CODE
MEDIUM…repos/spack_repo/builtin_mock/packages/llvm/package.py61def determine_version(cls, exe):CODE
LOW…pack_repo/builtin_mock/packages/gcc_runtime/package.py185 except Exception:CODE
LOW…epos/spack_repo/builtin_mock/build_systems/compiler.py101 except Exception as e:CODE
LOW.github/workflows/bin/format-rst.py202 except Exception as e:CODE
LOWlib/spack/spack/patch.py466 except Exception as e:CODE
LOWlib/spack/spack/url_buildcache.py539 except Exception as e:CODE
LOWlib/spack/spack/url_buildcache.py548 except Exception as e:CODE
LOWlib/spack/spack/url_buildcache.py557 except Exception as e:CODE
LOWlib/spack/spack/url_buildcache.py921 except Exception as err:CODE
LOWlib/spack/spack/url_buildcache.py1173 except Exception as e:CODE
LOWlib/spack/spack/url_buildcache.py1216 except Exception as err:CODE
LOWlib/spack/spack/url_buildcache.py1328 except Exception as e:CODE
LOWlib/spack/spack/url_buildcache.py1366 except Exception:CODE
LOWlib/spack/spack/audit.py565 except Exception as e:CODE
LOWlib/spack/spack/audit.py581 except Exception as e:CODE
LOWlib/spack/spack/audit.py589 except Exception as e:CODE
LOWlib/spack/spack/audit.py608 except Exception as e:CODE
LOWlib/spack/spack/audit.py210 except Exception:CODE
LOWlib/spack/spack/audit.py300 except Exception:CODE
LOWlib/spack/spack/audit.py441 except Exception as e:CODE
LOWlib/spack/spack/audit.py626 except Exception as e:CODE
LOWlib/spack/spack/audit.py917 except Exception as e:CODE
LOWlib/spack/spack/audit.py1088 except Exception as e:CODE
LOWlib/spack/spack/audit.py1195 except Exception:CODE
LOWlib/spack/spack/buildcache_prune.py84 except Exception as e:CODE
LOWlib/spack/spack/buildcache_prune.py165 except Exception as e:CODE
LOWlib/spack/spack/buildcache_prune.py421 except Exception as e:CODE
LOWlib/spack/spack/build_environment.py1384 except Exception:CODE
LOWlib/spack/spack/package_base.py212 except Exception as e:CODE
LOWlib/spack/spack/package_base.py239 except Exception as e:CODE
LOWlib/spack/spack/package_base.py2206 except Exception as error:CODE
LOWlib/spack/spack/package_base.py2243 except Exception:CODE
LOWlib/spack/spack/database.py849 except Exception as e:CODE
LOWlib/spack/spack/database.py907 except Exception as e:CODE
LOWlib/spack/spack/database.py917 except Exception as e:CODE
LOWlib/spack/spack/buildcache_migrate.py206 except Exception:CODE
LOWlib/spack/spack/buildcache_migrate.py214 except Exception:CODE
LOWlib/spack/spack/buildcache_migrate.py240 except Exception:CODE
LOWlib/spack/spack/directory_layout.py38 except Exception:CODE
LOWlib/spack/spack/directory_layout.py162 except Exception as e:CODE
LOWlib/spack/spack/directory_layout.py354 except Exception:CODE
LOWlib/spack/spack/fetch_strategy.py461 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py696 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py755 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py778 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py798 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py1266 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py1745 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py1754 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py1774 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py1786 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py1797 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py2031 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py2041 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py2228 except Exception:CODE
LOWlib/spack/spack/binary_distribution.py2725 except Exception as e:CODE
LOWlib/spack/spack/binary_distribution.py2731 except Exception as e:CODE
LOWlib/spack/spack/spec.py2796 except Exception as e:CODE
LOWlib/spack/spack/spec.py5235 except Exception as e:CODE
119 more matches not shown…
Docstring Block Structure27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHlib/spack/spack/patch.py309Create a patch from json dictionary. Args: dictionary: dictionary representation of a patch repositSTRING
HIGHlib/spack/spack/config.py1268Instantiate a configuration scope for the configuration path. Args: path: raw include path STRING
HIGHlib/spack/spack/config.py1375Instantiate configuration scopes. Args: parent_scope: including scope Returns: configuratiSTRING
HIGHlib/spack/spack/config.py1422Instantiate a configuration scope for the included path. Args: parent_scope: including scope STRING
HIGHlib/spack/spack/config.py1515Clone the repository. Args: parent_scope: enclosing scope Returns: destination path if cloSTRING
HIGHlib/spack/spack/config.py1577Instantiate configuration scopes for the included paths. Args: parent_scope: including scope STRING
HIGHlib/spack/spack/fetch_strategy.py1485Construct an appropriate FetchStrategy from the given keyword arguments. Args: **kwargs: dictionary of keywSTRING
HIGHlib/spack/spack/spec.py1123Default handler when looking for the 'headers' attribute. Tries to search for ``*.h`` files recursively starting frSTRING
HIGHlib/spack/spack/spec.py1146Default handler when looking for the 'libs' attribute. Tries to search for ``lib{spec.name}`` recursively starting STRING
HIGHlib/spack/spack/spec.py3012Constrains self with other, and returns True if self changed, False otherwise. This function has no notion of vSTRING
HIGHlib/spack/spack/spec.py3676Make a copy of this spec. Args: deps: Defaults to :data:`True`. If boolean, controls STRING
HIGHlib/spack/spack/install_test.py169Find the required file(s) under the root directory. Args: root: root directory for the search filenamSTRING
HIGHlib/spack/spack/install_test.py576Grab the names of all non-empty test functions. Args: pkg: package or package class of interest addSTRING
HIGHlib/spack/spack/install_test.py596Grab all non-empty test functions. Args: pkg: package or package class of interest add_virtuals: ``STRING
HIGHlib/spack/spack/url.py125Try to extract a version string from a filename or URL. Args: path (str): The filename or URL for the packaSTRING
HIGHlib/spack/spack/url.py295Try to extract a version string from a filename or URL. Args: path: The filename or URL for the package STRING
HIGHlib/spack/spack/url.py312Try to determine the name of a package from its filename or URL. Args: path: The filename or URL for the paSTRING
HIGHlib/spack/spack/url.py425Try to determine the name of a package from its filename or URL. Args: path (str): The filename or URL for STRING
HIGHlib/spack/spack/url.py442Try to determine the name of a package and extract its version from its filename or URL. Args: path: ThSTRING
HIGHlib/spack/spack/extensions.py29Returns the name of the extension in the path passed as argument. Args: path (str): path where the extensioSTRING
HIGHlib/spack/spack/repo.py881Look up patches by sha256, trying stale cache first to avoid stat calls. Args: sha256s: ordered lisSTRING
HIGHlib/spack/spack/repo.py2030Parse a repository descriptor from validated configuration. This does not instantiate Repo objects, but merely turnsSTRING
HIGHlib/spack/spack/util/lang.py498Yields a stable de-duplication of an hashable sequence by key Args: sequence: hashable sequence to be de-duSTRING
HIGHlib/spack/spack/util/lang.py820Loads a python module from the path of the corresponding file. If the module is already in ``sys.modules`` it will STRING
HIGHlib/spack/spack/util/executable.py441Finds an executable in the path like command-line which. If given multiple executables, returns the first one that STRING
HIGHlib/spack/spack/util/remote_file_cache.py63Determine the actual path and, if remote, stage its contents locally. Args: path: the resolved configuratioSTRING
HIGHlib/spack/spack/environment/environment.py3010Update a manifest file from an old format to the current one. Args: manifest (str): path to a manifest fileSTRING
Over-Commented Block142 hits · 133 pts
SeverityFileLineSnippetContext
LOWconftest.py1# Copyright Spack Project Developers. See COPYRIGHT file for details.COMMENT
LOW.codecov.yml21 annotations: falseCOMMENT
LOWetc/spack/defaults/linux/modules.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/darwin/packages.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/darwin/modules.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/windows/packages.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/base/concretizer.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/base/concretizer.yaml21 # needed to reach a solution increases noticeably with the number of targetsCOMMENT
LOWetc/spack/defaults/base/concretizer.yaml81 # Option to specify whether to support splicing. Splicing allows forCOMMENT
LOWetc/spack/defaults/base/config.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/base/config.yaml21 projections:COMMENT
LOWetc/spack/defaults/base/config.yaml41 # Recommended options are given below.COMMENT
LOWetc/spack/defaults/base/config.yaml61 #COMMENT
LOWetc/spack/defaults/base/config.yaml101 # certificates. (e.g., curl will use use the -k option)COMMENT
LOWetc/spack/defaults/base/config.yaml141COMMENT
LOWetc/spack/defaults/base/config.yaml161COMMENT
LOWetc/spack/defaults/base/config.yaml181 # Allow TCP network access during the build phase.COMMENT
LOWetc/spack/defaults/base/config.yaml201 # anticipates that a significant delay indicates that the lock attempt willCOMMENT
LOWetc/spack/defaults/base/config.yaml221 # Controls the handling of missing dynamic libraries after installation.COMMENT
LOWetc/spack/defaults/base/packages.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/base/repos.yaml1# -------------------------------------------------------------------------COMMENT
LOWetc/spack/defaults/base/modules.yaml1# -------------------------------------------------------------------------COMMENT
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py121 conflicts("+java", when="~shared")COMMENT
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py141 # discussed and patch is provided atCOMMENT
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py261 # 1.12.0, the Autotools installation also produces a symbolicCOMMENT
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py381 with working_dir(self.prefix.bin):COMMENT
LOW…est_repos/spack_repo/tutorial/packages/hdf5/package.py401 # packages. This was fixed in the develop versions at some point: theCOMMENT
LOW…/spack_repo/tutorial/packages/netlib_lapack/package.py61 depends_on("netlib-xblas+fortran+plain_blas", when="+xblas")COMMENT
LOW…est_repos/spack_repo/tutorial/packages/elpa/package.py41 libname = "libelpa_openmp" if "+openmp" in self.spec else "libelpa"COMMENT
LOW…epos/spack_repo/tutorial/packages/armadillo/package.py41 # the right dependency. To ask a dependency, e.g. `blas`, for theCOMMENT
LOW…repos/spack_repo/builtin_mock/packages/ruff/package.py21 # Used to tell whether or not the package has been modifiedCOMMENT
LOW…repos/spack_repo/builtin_mock/packages/ruff/package.py41 git = "ssh://example.com/this-is-a-really-long-url/that-goes-over-99-characters/that-ruff-will-not-ignore-by-defaultCOMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh1#!/bin/sh -fCOMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh21#COMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh41SPACK_DEBUG_LOG_IDCOMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh281COMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh381COMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh461 fiCOMMENT
LOW…epos/spack_repo/builtin_mock/build_systems/__init__.py1# Copyright Spack Project Developers. See COPYRIGHT file for details.COMMENT
LOWlib/spack/docs/conf.py1# Copyright Spack Project Developers. See COPYRIGHT file for details.COMMENT
LOWlib/spack/docs/conf.py401# If true, the current module name will be prepended to all descriptionCOMMENT
LOWlib/spack/docs/conf.py441# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32COMMENT
LOWlib/spack/docs/conf.py461# html_sidebars = {}COMMENT
LOWlib/spack/docs/conf.py481COMMENT
LOWlib/spack/docs/conf.py521# The name of an image file (relative to this directory) to place at the top ofCOMMENT
LOWlib/spack/docs/spack.yaml1# Copyright Spack Project Developers. See COPYRIGHT file for details.COMMENT
LOWlib/spack/spack/package.py221 "spack.package.filter_system_paths is deprecated", category=SpackAPIWarning, stacklevel=2COMMENT
LOWlib/spack/spack/package.py241#: are set as canonical environment variables.COMMENT
LOWlib/spack/spack/provider_index.py21 #: { full vpkg spec : set(packages providing spec) } }COMMENT
LOWlib/spack/spack/config.py321COMMENT
LOWlib/spack/spack/config.py341 # the "packages" section with the "::" syntax), data in self.sectionsCOMMENT
LOWlib/spack/spack/directives_meta.py41 _dict_to_directives: Dict[str, List[str]] = collections.defaultdict(list)COMMENT
LOWlib/spack/spack/package_base.py601COMMENT
LOWlib/spack/spack/package_base.py621 #: However, in certain cases it can be hard if not impossible to avoid accidental linkingCOMMENT
LOWlib/spack/spack/package_base.py641 #: Set of additional options used when fetching package versions.COMMENT
LOWlib/spack/spack/package_base.py1921 # Prevent altering LC_ALL for 'make' outside this functionCOMMENT
LOWlib/spack/spack/database.py101COMMENT
LOWlib/spack/spack/database.py881COMMENT
LOWlib/spack/spack/spec.py1161COMMENT
LOWlib/spack/spack/spec.py3841COMMENT
82 more matches not shown…
Hallucination Indicators11 hits · 105 pts
SeverityFileLineSnippetContext
CRITICALlib/spack/spack/spec.py228 return spack.vendor.archspec.cpu.TARGETS.get(CODE
CRITICALlib/spack/spack/cmd/providers.py26 valid_virtuals = sorted(spack.repo.PATH.provider_index.providers.keys())CODE
CRITICALlib/spack/spack/platforms/_platform.py49 for name, microarchitecture in spack.vendor.archspec.cpu.TARGETS.items():CODE
CRITICALlib/spack/spack/test/conftest.py943 targets = spack.vendor.archspec.cpu.microarchitecture._known_microarchitectures()CODE
CRITICALlib/spack/spack/test/conftest.py2209 assert not any(f.fh.closed for f in spack.util.lock.FILE_TRACKER._descriptors.values())CODE
CRITICALlib/spack/spack/test/cmd/repo.py174 b"\t\treturn spack_repo.builtin.packages.foo.package.example(), foo, baz\r\n"STRING
CRITICALlib/spack/spack/solver/input_analysis.py129 for t in spack.vendor.archspec.cpu.TARGETS.values()CODE
CRITICALlib/spack/spack/solver/asp.py2605 target = spack.vendor.archspec.cpu.TARGETS.get(target_name)CODE
CRITICALlib/spack/spack/solver/asp.py2623 uarch = spack.vendor.archspec.cpu.TARGETS.get(platform.default)CODE
CRITICALlib/spack/spack/solver/asp.py2750 for test_target in spack.vendor.archspec.cpu.TARGETS.values():CODE
CRITICALlib/spack/spack/environment/environment.py1476 virtuals = spack.repo.PATH.provider_index.providers.keys()CODE
Cross-Language Confusion17 hits · 102 pts
SeverityFileLineSnippetContext
HIGHlib/spack/spack/binary_distribution.py1000 skipped, errors = self.push(specs)CODE
HIGHlib/spack/spack/cmd/python.py142 console.push("import readline")CODE
HIGHlib/spack/spack/cmd/python.py144 console.push("from rlcompleter import Completer")CODE
HIGHlib/spack/spack/cmd/python.py145 console.push("readline.set_completer(Completer(locals()).complete)")CODE
HIGHlib/spack/spack/cmd/python.py146 console.push('readline.parse_and_bind("tab: complete")')CODE
HIGHlib/spack/spack/cmd/python.py165 console.push("import sys")CODE
HIGHlib/spack/spack/cmd/python.py166 console.push("_wrapped_hook = sys.excepthook")CODE
HIGHlib/spack/spack/cmd/python.py167 console.push("def _hook(exc_type, exc_value, exc_tb):")CODE
HIGHlib/spack/spack/cmd/python.py168 console.push(" _wrapped_hook(exc_type, exc_value, exc_tb)")CODE
HIGHlib/spack/spack/cmd/python.py169 console.push(" sys.exit(1)")CODE
HIGHlib/spack/spack/cmd/python.py170 console.push("")CODE
HIGHlib/spack/spack/cmd/python.py171 console.push("sys.excepthook = _hook")CODE
HIGHlib/spack/spack/cmd/buildcache.py582 skipped, upload_errors = uploader.push(specs=specs)CODE
HIGHlib/spack/spack/util/git.py363 It is intended to be used with ``git clone --no-checkout`` or ``git init && git fetch``.STRING
HIGHlib/spack/spack/util/git.py395 This is our fallback method for capturing more git data than the ``init && fetch`` model.STRING
HIGHlib/spack/spack/ci/__init__.py764 1. ``git clone repo && cd repo``STRING
HIGHlib/spack/spack/environment/shell.py143 cmds += "alias despacktivate > /dev/null 2>&1 && unalias despacktivate;\n"STRING
Redundant / Tautological Comments56 hits · 83 pts
SeverityFileLineSnippetContext
LOW…repo/builtin_mock/packages/compiler_wrapper/package.py219 # Check if this compiler has implicit rpathsCOMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh116# Append ELEMENT to the list stored in the variable LISTNAME,COMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh263# Check if optional parameters are definedCOMMENT
LOWlib/spack/spack/verify_libraries.py162 # Check if directly opened libs are compatibleCOMMENT
LOWlib/spack/spack/build_environment.py1450 # Check if information from the read pipe has been received.COMMENT
LOWlib/spack/spack/package_base.py1913 # Check if we have a MakefileCOMMENT
LOWlib/spack/spack/package_base.py1927 # Check if 'target' is a valid target.COMMENT
LOWlib/spack/spack/package_base.py1986 # Check if we have a Ninja build scriptCOMMENT
LOWlib/spack/spack/package_base.py1995 # Check if 'target' is a valid targetCOMMENT
LOWlib/spack/spack/buildcache_migrate.py82 # Check if the spec file exists in the new location and exit early if soCOMMENT
LOWlib/spack/spack/fetch_strategy.py416 # Check if we somehow got an HTML file rather than the archive weCOMMENT
LOWlib/spack/spack/binary_distribution.py983 # Verify if the mirror meets the requirements to pushCOMMENT
LOWlib/spack/spack/spec.py1433 # Check if we wanted just the first lineCOMMENT
LOWlib/spack/spack/spec.py1982 # Check if we need to update edges that are already presentCOMMENT
LOWlib/spack/spack/directives.py854 # Check if the path is relativeCOMMENT
LOWlib/spack/spack/directives.py860 # Check if the path falls within the main package stage areaCOMMENT
LOWlib/spack/spack/old_installer.py415 # Check if the package was already registered in the DB.COMMENT
LOWlib/spack/spack/old_installer.py1360 # Check if the task's child process has completedCOMMENT
LOWlib/spack/spack/old_installer.py2496 # Check if any tasks have completed and add to listCOMMENT
LOWlib/spack/spack/cmd/mirror.py264 # Check if any of the arguments are set to update this access_pair.COMMENT
LOWlib/spack/spack/cmd/checksum.py256 # Check if the section contains a versionCOMMENT
LOWlib/spack/spack/cmd/env.py374 # Check if runtime environment variables are requested, and if so, for what view.COMMENT
LOWlib/spack/spack/cmd/env.py835 # Check if environment views can be safely activatedCOMMENT
LOWlib/spack/spack/cmd/find.py427 # Display the resultCOMMENT
LOWlib/spack/spack/cmd/buildcache.py213 # Check if binaries need to be rebuilt on remote mirrorCOMMENT
LOWlib/spack/spack/cmd/buildcache.py986 # Check if the index already exists, if it does make sure there is a copy in theCOMMENT
LOWlib/spack/spack/cmd/buildcache.py1050 # Check if the index exists, and cache it locally for next operationsCOMMENT
LOWlib/spack/spack/cmd/commands.py641 # Check if option require argument.COMMENT
LOWlib/spack/spack/bootstrap/_common.py159 # Check if standard names are installed and if we have to createCOMMENT
LOWlib/spack/spack/bootstrap/_common.py168 # Check if this interpreter installed something and we have to createCOMMENT
LOWlib/spack/spack/test/spec_yaml.py460 # Check if anchors are usedCOMMENT
LOWlib/spack/spack/test/spec_yaml.py483 # Check if anchors are usedSTRING
LOWlib/spack/spack/test/environment_modifications.py373 # Check if we can set a variable to different values dependingCOMMENT
LOWlib/spack/spack/test/sandbox.py98 # Write file: has WRITE_FILE, no READ_DIR (dir flags stripped for non-dirs)COMMENT
LOWlib/spack/spack/test/cmd/compiler.py179 # Set PATH to have the new folder searched firstCOMMENT
LOWlib/spack/spack/test/cmd/list.py139 os.utime(str(update_file), (0, 0)) # Set mtime to 0CODE
LOWlib/spack/spack/test/cmd/repo.py1023 # Set redistribute_source to return FalseCOMMENT
LOWlib/spack/spack/test/concretization/core.py526 # Check if mixing works when it's allowedCOMMENT
LOWlib/spack/spack/test/oci/mock_registry.py155 # Check if digest is present (single monolithic upload)COMMENT
LOWlib/spack/spack/util/module_cmd.py121 # Check if the module was actually loaded by comparing LOADEDMODULESCOMMENT
LOWlib/spack/spack/util/lock.py95 # Open the file and create it if it doesn't exist (incl. directories).COMMENT
LOWlib/spack/spack/util/environment.py842 # Check if the file actually existsCOMMENT
LOWlib/spack/spack/ci/__init__.py795 # Check if we can find the tested commits in your local spack repoCOMMENT
LOWlib/spack/spack/ci/common.py683 # Check if this section should be skippedCOMMENT
LOWlib/spack/spack/solver/input_analysis.py137 # Check if we want only generic architectureCOMMENT
LOWlib/spack/spack/solver/input_analysis.py170 # Check if we need to process this condition at all. We can skip the unreachableCOMMENT
LOWlib/spack/spack/solver/asp.py1452 # Check if the target is a concrete targetCOMMENT
LOWlib/spack/spack/solver/asp.py1739 # Check if we can emit the requirements before updating the condition ID counter.COMMENT
LOWlib/spack/spack/mirrors/mirror.py228 # Check if the mirror supports older layout versionsCOMMENT
LOWlib/spack/spack/container/__init__.py68 # Check if the install tree was explicitly set to a custom value and warnCOMMENT
LOWlib/spack/spack/hooks/absolutify_elf_sonames.py48 # Check if excludedCOMMENT
LOWlib/spack/spack/environment/environment.py255 # Check if we need to reinitialize spack.store.STORE and spack.repo.REPOCOMMENT
LOWlib/spack/spack/environment/environment.py3022 # Check if the environment needs updateCOMMENT
LOWlib/spack/spack/installer/core.py584 # Check if we can reschedule this as a source build after a build cache miss. If so,COMMENT
LOWshare/spack/spack-completion.bash285 # Return the resultCOMMENT
LOWshare/spack/bash/spack-completion.bash285 # Return the resultCOMMENT
Modern Structural Boilerplate69 hits · 70 pts
SeverityFileLineSnippetContext
LOW…repos/spack_repo/builtin_mock/build_systems/generic.py6__all__ = ["Package", "GenericBuilder"]CODE
LOW…repos/spack_repo/builtin_mock/build_systems/_checks.py20__all__ = ["execute_build_time_tests", "BuilderWithDefaults", "execute_install_time_tests"]CODE
LOWlib/spack/spack/package.py439__all__ = [CODE
LOWlib/spack/spack/patch.py482 def update_packages(self, pkgs_fullname: Set[str]) -> None:CODE
LOWlib/spack/spack/filesystem_view.py46__all__ = ["FilesystemView", "YamlFilesystemView"]CODE
LOWlib/spack/spack/config.py1163 def update_all(self, section_name: str, change_fn: Callable[[str], bool]) -> None:CODE
LOWlib/spack/spack/__init__.py90__all__ = [CODE
LOWlib/spack/spack/binary_distribution.py321 def update_spec(self, spec: spack.spec.Spec, found_list: List[MirrorMetadata]) -> None:CODE
LOWlib/spack/spack/spec.py114__all__ = [CODE
LOWlib/spack/spack/spec.py2240 def set_prefix(self, value: str) -> None:CODE
LOWlib/spack/spack/traverse.py29__all__ = ["traverse_edges", "traverse_nodes", "traverse_tree"]CODE
LOWlib/spack/spack/directives.py66__all__ = [CODE
LOWlib/spack/spack/old_installer.py1082 def _setup_install_dir(self, pkg: "spack.package_base.PackageBase") -> None:CODE
LOWlib/spack/spack/old_installer.py2193 def _update_installed(self, task: Task) -> None:CODE
LOWlib/spack/spack/tag.py55 def update_packages(self, pkg_names: Set[str], repo: "spack.repo.Repo") -> None:CODE
LOWlib/spack/spack/cmd/commands.py856def update_completion(parser: ArgumentParser, args: Namespace) -> None:CODE
LOWlib/spack/spack/cmd/common/arguments.py23__all__ = ["add_common_arguments"]CODE
LOWlib/spack/spack/platforms/__init__.py15__all__ = [CODE
LOWlib/spack/spack/bootstrap/__init__.py18__all__ = [CODE
LOWlib/spack/spack/bootstrap/environment.py85 def update_installations(self) -> None:CODE
LOWlib/spack/spack/util/log_parse.py11__all__ = ["parse_log_events", "make_log_context"]CODE
LOWlib/spack/spack/util/web.py246def set_curl_env_for_ssl_certs(curl: Executable) -> None:CODE
LOWlib/spack/spack/util/naming.py11__all__ = [CODE
LOWlib/spack/spack/util/filesystem.py70__all__ = [CODE
LOWlib/spack/spack/util/link_tree.py16__all__ = ["LinkTree"]CODE
LOWlib/spack/spack/util/link_tree.py197 def set_projection(self, projection: str) -> None:CODE
LOWlib/spack/spack/util/spack_json.py12__all__ = ["load", "dump", "dumps", "SpackJSONError"]CODE
LOWlib/spack/spack/util/executable.py20__all__ = ["Executable", "which", "which_string", "ProcessError"]CODE
LOWlib/spack/spack/util/lock.py23__all__ = [CODE
LOWlib/spack/spack/util/environment.py602 def set_path(self, name: str, elements: ListOfPaths, separator: str = os.pathsep) -> None:CODE
LOWlib/spack/spack/util/path.py21__all__ = []CODE
LOWlib/spack/spack/util/spack_yaml.py28__all__ = ["load", "dump", "SpackYAMLError"]CODE
LOWlib/spack/spack/util/win_acl.py675def _set_file_sddl_raw(path: str, sddl: str) -> None:CODE
LOWlib/spack/spack/util/win_acl.py1166def set_file_sddl(path: str, sddl: str) -> None:CODE
LOWlib/spack/spack/util/tty/color.py198def set_color_when(when: Union[str, bool, None]) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py42def set_debug(level: int = 0) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py48def set_verbose(flag: bool) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py53def set_timestamp(flag: bool) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py58def set_msg_enabled(flag: bool) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py63def set_warn_enabled(flag: bool) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py68def set_error_enabled(flag: bool) -> None:CODE
LOWlib/spack/spack/util/tty/__init__.py127def set_stacktrace(flag: bool) -> None:CODE
LOWlib/spack/spack/operating_systems/__init__.py10__all__ = ["OperatingSystem", "LinuxDistro", "MacOs", "WindowsOs", "FreeBSDOs"]CODE
LOWlib/spack/spack/container/__init__.py18__all__ = ["validate", "recipe"]CODE
LOWlib/spack/spack/version/__init__.py41__all__ = [CODE
LOWlib/spack/spack/environment/__init__.py638__all__ = [CODE
LOWlib/spack/spack/environment/environment.py549def set_included_envs_to_env_paths(include_concrete: List[str]) -> None:CODE
LOWlib/spack/spack/environment/environment.py2529 def update_lockfile(self) -> None:CODE
LOWlib/spack/spack/environment/environment.py2543 def update_environment_repository(self) -> None:CODE
LOWlib/spack/spack/environment/environment.py716 def update_root(self, new_path: str) -> None:CODE
LOWlib/spack/spack/environment/environment.py1832 def update_default_view(self, path_or_bool: Union[str, bool]) -> None:CODE
LOWlib/spack/spack/environment/environment.py3445 def set_include_concrete(self, include_concrete: List[str]) -> None:CODE
LOWlib/spack/spack/environment/environment.py3548 def set_default_view(self, view: Union[bool, str, pathlib.Path, Dict[str, str]]) -> None:CODE
LOWlib/spack/spack/environment/environment.py218def set_active_environment(env: Optional["Environment"]) -> None:STRING
LOWlib/spack/spack/modules/__init__.py23__all__ = ["TclModulefileWriter", "LmodModulefileWriter", "disable_modules"]CODE
LOWlib/spack/spack/modules/common.py126def update_dictionary_extending_lists(target: dict, update: dict) -> None:CODE
LOWlib/spack/spack/modules/common.py1361 def update_module_defaults(self) -> None:CODE
LOWlib/spack/spack/modules/common.py1371 def update_module_hiddenness(self, remove: bool = False) -> None:CODE
LOWlib/spack/spack/installer/ui.py398 def _update_terminal_title(self, clear: bool = False) -> None:CODE
LOWlib/spack/spack/installer/__init__.py32__all__ = ["PackageInstaller"]CODE
9 more matches not shown…
AI Slop Vocabulary31 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUM…/spack_repo/tutorial/packages/netlib_lapack/package.py11 """LAPACK version 3.X is a comprehensive FORTRAN library that doesSTRING
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh415# this script doesn't just call itselfCOMMENT
LOW…pack_repo/builtin_mock/packages/compiler_wrapper/cc.sh675 # if mode is not ld, we can just add to other argsCOMMENT
MEDIUMlib/spack/spack/patch.py59 # utilize that patch.COMMENT
LOWlib/spack/spack/url_buildcache.py470 # again, and just return the manifest we already read.COMMENT
MEDIUMlib/spack/spack/enums.py10 """Enum flag to facilitate querying status from the DB"""STRING
LOWlib/spack/spack/config.py2343 # Have a remote URL so simply return it with substitutionsCOMMENT
MEDIUMlib/spack/spack/directives_meta.py20#: Some directives leverage others and in that case are not automatically added.COMMENT
LOWlib/spack/spack/directives_meta.py95 # Historically, maintainers was not a directive. They were simply set as classCOMMENT
MEDIUMlib/spack/spack/build_environment.py566 # their real paths to make it more robust (e.g. /tmp vs /private/tmp on macOS).COMMENT
LOWlib/spack/spack/binary_distribution.py1642 # For now we just use the OCI image spec, so that we don't run into issues withCOMMENT
MEDIUMlib/spack/spack/spec.py4952 # If the spec is concrete, we leverage the dag hash and just use a 64-bit prefix of it.COMMENT
LOWlib/spack/spack/spec.py4952 # If the spec is concrete, we leverage the dag hash and just use a 64-bit prefix of it.COMMENT
MEDIUMlib/spack/spack/cmd/config.py643 # keep track of it and report a comprehensive error laterCOMMENT
MEDIUMlib/spack/spack/cmd/modules/__init__.py143 # Get a comprehensive list of specsCOMMENT
MEDIUMlib/spack/spack/test/conftest.py228 git("tag", "1.2") # test robust parsing to different syntax, no vCODE
MEDIUMlib/spack/spack/test/environment_modifications.py315 # TODO: figure out how to make a bit more robust.COMMENT
MEDIUMlib/spack/spack/test/cmd/env.py4032 # Essentially, the name (hash) we give something in Spack at concretization time isCOMMENT
MEDIUMlib/spack/spack/test/cmd/view.py27 # TODO: Skipping hardlink command testing on windows until robust checks can be added.COMMENT
LOWlib/spack/spack/test/util/lang.py320 # Default behavior is to just return the deprecated valueCOMMENT
MEDIUMlib/spack/spack/test/concretization/requirements.py628 # fact that "clang" is not the preferred compiler. That helps making more robust theSTRING
LOWlib/spack/spack/util/spack_yaml.py293#: itself, so we can't just pass an instanceCOMMENT
LOWlib/spack/spack/container/writers.py76 # If we have custom base images, just return them verbatim.COMMENT
LOWlib/spack/spack/environment/environment.py612 # just return empty if the env path does not exist. A read-onlyCOMMENT
MEDIUMshare/spack/setup-env.sh302 # the tricks above for finding the sourced file are pretty robust.COMMENT
LOWshare/spack/spack-completion.bash152 # if every completion is an alias for the same thing, just return that thing.COMMENT
LOWshare/spack/spack-completion.bash358 # no alias found -- just return $1COMMENT
LOWshare/spack/spack-completion.bash384 # all commands alias to first alias; just return thatCOMMENT
LOWshare/spack/bash/spack-completion.bash152 # if every completion is an alias for the same thing, just return that thing.COMMENT
LOWshare/spack/bash/spack-completion.bash358 # no alias found -- just return $1COMMENT
LOWshare/spack/bash/spack-completion.bash384 # all commands alias to first alias; just return thatCOMMENT
AI Structural Patterns34 hits · 29 pts
SeverityFileLineSnippetContext
LOWlib/spack/spack/store.py299CODE
LOWlib/spack/spack/build_environment.py190CODE
LOWlib/spack/spack/build_environment.py209CODE
LOWlib/spack/spack/build_environment.py228CODE
LOWlib/spack/spack/database.py1616CODE
LOWlib/spack/spack/database.py1699CODE
LOWlib/spack/spack/database.py1759CODE
LOWlib/spack/spack/graph.py475CODE
LOWlib/spack/spack/spec.py1320CODE
LOWlib/spack/spack/spec.py2119CODE
LOWlib/spack/spack/spec.py2146CODE
LOWlib/spack/spack/spec.py2172CODE
LOWlib/spack/spack/spec.py2199CODE
LOWlib/spack/spack/spec.py4501CODE
LOWlib/spack/spack/traverse.py449CODE
LOWlib/spack/spack/traverse.py493CODE
LOWlib/spack/spack/traverse.py562CODE
LOWlib/spack/spack/traverse.py606CODE
LOWlib/spack/spack/url.py514CODE
LOWlib/spack/spack/directives.py158CODE
LOWlib/spack/spack/old_installer.py1464CODE
LOWlib/spack/spack/installer_dispatch.py18CODE
LOWlib/spack/spack/cmd/install.py243CODE
LOWlib/spack/spack/bootstrap/status.py113CODE
LOWlib/spack/spack/test/cmd/mirror.py232CODE
LOWlib/spack/spack/util/executable.py140CODE
LOWlib/spack/spack/util/executable.py156CODE
LOWlib/spack/spack/util/executable.py172CODE
LOWlib/spack/spack/util/executable.py187CODE
LOWlib/spack/spack/ci/common.py319CODE
LOWlib/spack/spack/solver/asp.py2149CODE
LOWlib/spack/spack/solver/asp.py2187CODE
LOWlib/spack/spack/solver/asp.py4039CODE
LOWlib/spack/spack/installer/core.py172CODE
Synthetic Comment Markers1 hit · 11 pts
SeverityFileLineSnippetContext
HIGHlib/spack/spack/test/stage.py222 # Create the optional files as requested and make sure expandedCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHlib/spack/spack/test/cmd/env.py4687 # In this example we have `./bin/x` in 3 prefixes, two links, one regular file. We expect theCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMlib/spack/spack/paths.py122# There are three environment variables you can use to isolate spack fromCOMMENT
LOWlib/spack/spack/repo.py1536 # dictionaries are used on the same physical repo, we make sure to restore the originalCOMMENT
LOWlib/spack/spack/test/old_installer.py1437 # Also make sure to not accept an incompatible installed argument value.COMMENT
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOWlib/spack/spack/spec.py1711 # WARNING: This function is an implementation detail of theCOMMENT
LOWlib/spack/spack/cmd/installer/README.md8# Step 1: Install prerequisitesCOMMENT
LOWlib/spack/spack/cmd/installer/README.md15# Step 2: Make the installerCOMMENT
LOWlib/spack/spack/cmd/installer/README.md62# Step 3: Run the installerCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…builtin_mock/packages/needs_text_relocation/package.py27 f.write("Lorem Ipsum")CODE
LOWlib/spack/spack/test/util/tty/color.py15 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt "CODE
LOWlib/spack/spack/test/util/tty/color.py15 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt "CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWshare/spack/qa/setup.sh48# Usage:COMMENT