Repository Analysis

microsoft/azurelinux

General purpose Linux OS for Azure

7.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/azurelinux, a Python project with 5,331 GitHub stars. SynthScan v2.0 examined 170,266 lines of code across 1836 source files, recording 826 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 7.9 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).

7.9
Adjusted Score
7.9
Raw Score
100%
Time Factor
2026-08-29
Last Push
5.3K
Stars
Python
Language
170.3K
Lines of Code
1.8K
Files
826
Pattern Hits
2026-08-29
Scan Date
0.01
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

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.

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 0HIGH 20MEDIUM 179LOW 627

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 826 distinct pattern matches across 20 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.

Decorative Section Separators158 hits · 531 pts
SeverityFileLineSnippetContext
MEDIUMspecs/u/unicode-emoji/emoji-data.txt20# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-data.txt438# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-data.txt734# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-data.txt742# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-data.txt799# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-data.txt816# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-zwj-sequences.txt26# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-zwj-sequences.txt364# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-zwj-sequences.txt809# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-zwj-sequences.txt1424# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-zwj-sequences.txt1503# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-sequences.txt37# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-sequences.txt539# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-sequences.txt558# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-sequences.txt825# ================================================COMMENT
MEDIUMspecs/u/unicode-emoji/emoji-sequences.txt835# ================================================COMMENT
MEDIUMspecs/s/setup/lang.sh47# ----------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg1#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg7#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg9#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg11#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg42#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg45#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg64#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg66#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg75#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg77#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg82#---------------------------------------------------------------------COMMENT
MEDIUMspecs/h/haproxy/haproxy.cfg84#---------------------------------------------------------------------COMMENT
MEDIUMspecs/m/mrtg/mrtg.cfg20#--------------------COMMENT
MEDIUMspecs/k/kernel/uki_create_addons.py12#-----------COMMENT
MEDIUMspecs/p/petsc/petsc-3.20-PETSc_cython3.0.6.h40 * # --------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py130# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py132# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py236# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py238# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/locks-check/post_locks_comment.py326# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py258# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py277# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py279# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py398# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/check_rendered_specs.py400# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/post_render_comment.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/post_render_comment.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/post_render_comment.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/post_render_comment.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/post_render_comment.py273# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/render-specs-check/post_render_comment.py275# ---------------------------------------------------------------------------COMMENT
98 more matches not shown…
Over-Commented Block329 hits · 329 pts
SeverityFileLineSnippetContext
LOWazldev.toml1# Top-level configuration file.COMMENT
LOWspecs/r/rpmdevtools/progressbar.py1#!/usr/bin/python3COMMENT
LOWspecs/r/rust-zip2/get_test_data.sh1#!/bin/shCOMMENT
LOWspecs/r/rust-zip/get_test_data.sh1#!/bin/shCOMMENT
LOWspecs/r/rust-zip/get_test_data.sh21# - lin-ub_iwd-v11.zip:COMMENT
LOWspecs/r/rust-zip/get_test_data.sh61# https://www.gutenberg.org/cache/epub/1524/pg1524.txt. Both the play and theCOMMENT
LOWspecs/r/rpmlint/scoring.toml1[Scoring]COMMENT
LOWspecs/r/rpmlint/fedora.toml81COMMENT
LOWspecs/r/rpmlint/fedora.toml101# 'subdir-in-bin /sbin/conf.d/',COMMENT
LOWspecs/r/rpmlint/fedora.toml121# '^filesystem\..*: hidden-file-or-dir /etc/skel/.local',COMMENT
LOWspecs/r/rpmlint/fedora.toml141# 'java\S+-demo\.\S+: \w: devel-file-in-non-devel-package',COMMENT
LOWspecs/r/rpmlint/fedora.toml161# 'configure-without-libdir-spec',COMMENT
LOWspecs/r/rpmlint/fedora.toml181# ' hidden-file-or-dir .*/\.directory',COMMENT
LOWspecs/r/rpmlint/fedora.toml201#COMMENT
LOWspecs/r/rpmlint/fedora.toml221# ' read-error ',COMMENT
LOWspecs/r/rpmlint/fedora.toml241# ' setgid-binary ',COMMENT
LOWspecs/r/rubygem-faraday/parser.rb21 @state = :startCOMMENT
LOWspecs/r/ruby/rubygems_plugin.rb1# frozen_string_literal: trueCOMMENT
LOWspecs/u/unicode-emoji/emoji-test.txt1# emoji-test.txtCOMMENT
LOWspecs/u/unicode-emoji/emoji-test.txt21# unqualified — a unqualified emoji (See ED-19 in UTS #51)COMMENT
LOWspecs/u/unicode-emoji/emoji-test.txt5321COMMENT
LOWspecs/u/unicode-emoji/emoji-data.txt1# emoji-data.txtCOMMENT
LOWspecs/u/unicode-emoji/emoji-variation-sequences.txt1# emoji-variation-sequences.txtCOMMENT
LOWspecs/u/unicode-emoji/emoji-zwj-sequences.txt1# emoji-zwj-sequences.txtCOMMENT
LOWspecs/u/unicode-emoji/emoji-sequences.txt1# emoji-sequences.txtCOMMENT
LOWspecs/u/unicode-emoji/emoji-sequences.txt21# RGI_Emoji_Modifier_SequenceCOMMENT
LOWspecs/u/uv/uv.toml1# The RPM-packaged uv deviates from the default configuration in two ways.COMMENT
LOWspecs/i/irssi/irssi-config.h1#include <bits/wordsize.h>COMMENT
LOWspecs/n/net-snmp/net-snmp-config.h1/* This file is here to prevent a file conflict on multiarch systems. ACOMMENT
LOWspecs/n/net-snmp/net-snmp-config.h21#include "net-snmp-config-s390x.h"COMMENT
LOWspecs/n/nodejs22/nodejs-sources.sh1#!/bin/shCOMMENT
LOWspecs/n/nodejs22/btest402.js1// Copyright (C) 2014 IBM Corporation and Others. All Rights Reserved.COMMENT
LOWspecs/n/nodejs24/i18n-btest402.js1// Copyright (C) 2014 IBM Corporation and Others. All Rights Reserved.COMMENT
LOWspecs/n/net-tools/ether-wake.c61*/COMMENT
LOWspecs/n/net-tools/ether-wake.c81#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1COMMENT
LOWspecs/n/net-tools/net-tools-config.h21 */COMMENT
LOWspecs/n/net-tools/net-tools-config.h41#define HAVE_AFBLUETOOTH 1COMMENT
LOWspecs/n/net-tools/net-tools-config.h61#define HAVE_HWFDDI 1COMMENT
LOWspecs/n/net-tools/net-tools-config.h81#define HAVE_PLIP_TOOLS 1COMMENT
LOWspecs/n/net-tools/mii-diag.c81#include <unistd.h>COMMENT
LOWspecs/n/ngtcp2/mkapiref.py1#!/usr/bin/env python3COMMENT
LOWspecs/g/gmp/gmp.h41#include "gmp-ia64.h"COMMENT
LOWspecs/g/gmp/gmp.h61#include "gmp-alpha.h"COMMENT
LOWspecs/g/gmp/gmp.h81#elseCOMMENT
LOWspecs/g/gmp/gmp-mparam.h41#include "gmp-mparam-ia64.h"COMMENT
LOWspecs/g/gmp/gmp-mparam.h61#include "gmp-mparam-alpha.h"COMMENT
LOWspecs/g/gmp/gmp-mparam.h81#elseCOMMENT
LOWspecs/g/gdb/gdb-orphanripper.c21 * PGID / SID may be set by the children on their own.COMMENT
LOWspecs/g/gpgme/gpgme-multilib.h1/* gpgme-multilib.h */COMMENT
LOWspecs/g/gn/last_commit_position.h1// Generated by build/gen.py.COMMENT
LOWspecs/g/gdal/cpl-config.h1#include <bits/wordsize.h>COMMENT
LOWspecs/g/gettext/msghack.py1#!/usr/bin/python3COMMENT
LOWspecs/g/glibc/wrap-find-debuginfo.sh1#!/bin/bashCOMMENT
LOWspecs/t/trilead-ssh2/BCrypt.java1// Copyright (c) 2006 Damien Miller <djm@mindrot.org>COMMENT
LOWspecs/t/thrift/bootstrap.sh1#!/bin/shCOMMENT
LOWspecs/t/teckit/repackage.sh1#!/bin/bashCOMMENT
LOWspecs/s/sed/sedfaq.txt2181 # author: Paolo BonziniCOMMENT
LOWspecs/s/smartmontools/drivedb.h461 //"-v 5,raw16(raw16),Reallocated_Sector_Ct "COMMENT
LOWspecs/s/smartmontools/drivedb.h541 // See also tnfd22_client_ssd_smart_attributes.pdf Rev. E from 2018-09-28COMMENT
LOWspecs/s/smartmontools/drivedb.h1181 // InnoLite SATADOM D150QV/120319COMMENT
269 more matches not shown…
Hyper-Verbose Identifiers95 hits · 98 pts
SeverityFileLineSnippetContext
LOWspecs/r/ruby/rpm_test_helper.rb91 def run_generator_single_file(gem_info)CODE
LOWspecs/k/kernel/filtermods.py197 def check_depmod_has_all_kmods(self, dirpath):CODE
LOWspecs/k/kernel/filtermods.py475def pick_closest_to_preffered(preferred_pkg: KModPackage, allowed_set: set[KModPackage]):CODE
LOWspecs/p/python-rpm-macros/import_all_modules.py52def filter_top_level_modules_only(modules):CODE
LOWspecs/p/python-rpm-macros/import_all_modules.py67def exclude_unwanted_module_globs(globs, modules):CODE
LOWspecs/p/python-rpm-macros/import_all_modules.py76def read_modules_from_all_args(args):CODE
LOWspecs/p/python-rpm-macros/import_all_modules.py141def remove_unwanteds_from_sys_path():CODE
LOW…yproject-rpm-macros/test_pyproject_requirements_txt.py7def test_requirements_add_pkgname():CODE
LOW…yproject-rpm-macros/test_pyproject_requirements_txt.py23def test_requirements_preprocess(monkeypatch):STRING
LOW…cs/p/pyproject-rpm-macros/test_pyproject_save_files.py111def test_parse_record_tensorflow():CODE
LOW…cs/p/pyproject-rpm-macros/test_pyproject_save_files.py153def test_generate_file_list_unused_glob():CODE
LOW…cs/p/pyproject-rpm-macros/test_pyproject_save_files.py187def test_module_names_from_path(path, expected):CODE
LOW…cs/p/pyproject-rpm-macros/test_pyproject_save_files.py233def test_cli_no_pyproject_record(tmp_path, pyproject_record):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_wheel.py6def parse_config_settings_args(config_settings):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py59def guess_reason_for_invalid_requirement(requirement_str):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py109 def evaluate_all_environments(self, requirement):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py231 def readd_ignored_alien_requirements(self, **kwargs):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py310def generate_build_requirements(backend, requirements):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py322def requires_from_parsed_metadata_file(message):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py326def package_name_from_parsed_metadata_file(message):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py330def package_name_and_requires_from_metadata_file(metadata_file):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py337def generate_run_requirements_hook(backend, requirements):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py367def generate_run_requirements_wheel(backend, requirements, wheeldir):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py403def generate_run_requirements_pyproject(requirements):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py427def generate_run_requirements(backend, requirements, *, build_wheel, read_pyproject_dependencies, wheeldir):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py436def generate_tox_requirements(toxenv, requirements):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py508def generate_dependency_groups(requested_groups, requirements):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py533 def _resolve_dependency_group(CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_save_files.py187def normalize_manpage_filename(prefix, path):CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_save_files.py789def pyproject_save_files_and_modules(buildroot, sitelib, sitearch, python_version, pyproject_record, prefix, assert_liceSTRING
LOW…ject-rpm-macros/pyproject_buildrequires_testcases.yaml1183 def get_requires_for_build_wheel(config_settings=None):CODE
LOW…ject-rpm-macros/pyproject_buildrequires_testcases.yaml1202 def get_requires_for_build_wheel(config_settings=None):CODE
LOWspecs/p/pyproject-rpm-macros/compare_mandata.py54def compare_manpage_extensions(brp_compress_manpage_exts):CODE
LOWspecs/p/python-rpm-generators/pythonbundles.py22def generate_bundled_provides(paths, namespace):CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py27def test_equal_versions_skip_merge_poll(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py44def test_differing_versions_use_test_merge_version(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py69def test_behind_base_uses_base_version_without_full_render(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py92def test_invalid_inputs_fail_before_github(CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py117def test_stale_base_fails_before_equal_pin_result(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py130def test_github_api_timeout_is_retryable(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py139def test_github_api_pins_current_rest_version(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py158def test_main_rejects_multiline_output_injection(CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py197def test_read_version_rejects_symlink(tmp_path: Path) -> None:CODE
LOWscripts/ci/control-tower/run_prcheck.py36def _load_components_from_file(path: Path) -> list[str]:CODE
LOWscripts/ci/control-tower/client.py133def _append_validation_errors(lines: list[str], errors: object) -> bool:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py52 def test_uses_pipeline_service_connection(CODE
LOWscripts/ci/control-tower/tests/test_package_build.py66 def test_missing_or_non_string_job_id_fails(CODE
LOWscripts/ci/control-tower/tests/test_package_build.py81 def test_submission_error_fails(self, lifecycle_mocks: tuple[Mock, Mock, Mock, Mock]) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py103 def test_terminal_success_returns(self, lifecycle_mocks: tuple[Mock, Mock, Mock, Mock]) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py112 def test_terminal_failure_reports_and_exits(self, lifecycle_mocks: tuple[Mock, Mock, Mock, Mock]) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py124 def test_timeout_behavior_depends_on_completion_mode(CODE
LOWscripts/ci/control-tower/tests/test_package_build.py149 def test_malformed_build_entry_fails_cleanly(CODE
LOWscripts/ci/control-tower/tests/test_package_build.py173 def test_request_uses_official_endpoint_and_minimal_payload(self) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py188 def test_pull_request_build_is_rejected(self) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py200 def test_request_uses_plural_endpoint_and_source_override(self) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py220 def test_request_supports_branch_override(self) -> None:CODE
LOWscripts/ci/control-tower/tests/test_package_build.py240 def test_branch_and_commit_overrides_are_rejected(self) -> None:CODE
LOWscripts/ci/control-tower/tests/test_prcheck.py12def test_main_uses_pipeline_service_connection(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/control-tower/tests/test_client.py19def test_make_credential_uses_renewable_pipeline_identity(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/control-tower/tests/test_client.py40def test_make_credential_uses_azure_cli_outside_pipeline(monkeypatch: pytest.MonkeyPatch) -> None:CODE
35 more matches not shown…
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHspecs/g/google-noto-serif-cjk-vf-fonts/genfontconf.py0generate the font config file for noto cjk fonts genfontconf.py "lang list" "common font name" "font name" "fallback fonSTRING
HIGHspecs/g/google-noto-sans-cjk-vf-fonts/genfontconf.py0generate the font config file for noto cjk fonts genfontconf.py "lang list" "common font name" "font name" "fallback fonSTRING
HIGHspecs/g/google-noto-sans-cjk-fonts/genfontconf.py0generate the font config file for noto cjk fonts genfontconf.py "lang list" "common font name" "font name" "fallback fonSTRING
HIGHspecs/g/google-noto-serif-cjk-vf-fonts/genfontconf.py0some noto cjk fonts may not need "fallback font name" skip the "fallback font name" argument if not needed.STRING
HIGHspecs/g/google-noto-sans-cjk-vf-fonts/genfontconf.py0some noto cjk fonts may not need "fallback font name" skip the "fallback font name" argument if not needed.STRING
HIGHspecs/g/google-noto-sans-cjk-fonts/genfontconf.py0some noto cjk fonts may not need "fallback font name" skip the "fallback font name" argument if not needed.STRING
HIGHspecs/g/google-noto-serif-cjk-vf-fonts/genfontconf.py0noto cjk may not need "prepend latin font". skip the "prepend latin font" argument if not needed.STRING
HIGHspecs/g/google-noto-sans-cjk-vf-fonts/genfontconf.py0noto cjk may not need "prepend latin font". skip the "prepend latin font" argument if not needed.STRING
HIGHspecs/g/google-noto-sans-cjk-fonts/genfontconf.py0noto cjk may not need "prepend latin font". skip the "prepend latin font" argument if not needed.STRING
HIGHspecs/p/python3.11/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
HIGHspecs/p/python3.6/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
HIGHspecs/p/python3.9/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
HIGHspecs/p/python3.10/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
HIGHspecs/p/python3.12/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
HIGHspecs/p/python3.14/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
HIGHspecs/p/python3.13/check-pyc-timestamps.py0checks if all *.pyc files have later mtime than their *.py files.STRING
Unused Imports74 hits · 74 pts
SeverityFileLineSnippetContext
LOWspecs/n/ngtcp2/mkapiref.py29CODE
LOWspecs/o/ocaml/ocaml_files.py33CODE
LOWspecs/o/ocaml/ocaml_files.py36CODE
LOWspecs/c/ca-certificates/certdata2pem.py25CODE
LOWspecs/k/kernel/filtermods.py14CODE
LOWspecs/p/python-rpm-macros/pathfix.py5CODE
LOWspecs/p/python-rpm-macros/clamp_source_mtime.py13CODE
LOW…yproject-rpm-macros/test_pyproject_requirements_txt.py1CODE
LOW…s/p/pyproject-rpm-macros/pyproject_requirements_txt.py5CODE
LOWspecs/p/python-blosc/setup.py12CODE
LOWspecs/p/python-blosc/setup.py16CODE
LOWspecs/p/python-rpm-generators/pythondistdeps.py14CODE
LOWscripts/ci/ado/determine_commit_range.py45CODE
LOWscripts/ci/locks-check/post_locks_comment.py32CODE
LOWscripts/ci/render-specs-check/check_rendered_specs.py20CODE
LOWscripts/ci/render-specs-check/source_origin_guard.py4CODE
LOWscripts/ci/render-specs-check/post_render_comment.py25CODE
LOWscripts/ci/render-specs-check/resolve_azldev_version.py6CODE
LOWscripts/ci/render-specs-check/tests/conftest.py3CODE
LOW…ender-specs-check/tests/test_resolve_azldev_version.py3CODE
LOWscripts/ci/control-tower/run_prcheck.py21CODE
LOWscripts/ci/control-tower/package_build.py3CODE
LOWscripts/ci/control-tower/client.py18CODE
LOWscripts/ci/control-tower/run_scratch_package_build.py3CODE
LOWscripts/ci/control-tower/run_official_package_build.py3CODE
LOWscripts/ci/control-tower/tests/conftest.py3CODE
LOWscripts/ci/control-tower/tests/test_package_build.py3CODE
LOWscripts/ci/control-tower/tests/test_prcheck.py3CODE
LOWscripts/ci/control-tower/tests/test_client.py3CODE
LOW…ipts/ci/kernel/kernel-config-checker/tests/conftest.py3CODE
LOW…-config-checker/tests/test_kernel_config_validation.py3CODE
LOW…l-config-checker/kernel_config_checker/check_config.py9CODE
LOW…nel-config-checker/kernel_config_checker/add_config.py7CODE
LOW…g-checker/kernel_config_checker/schema/print_schema.py7CODE
LOW…-config-checker/kernel_config_checker/schema/schema.py5CODE
LOWscripts/mcps/koji-mcp.py18CODE
LOWscripts/mcps/_mcp_utils.py7CODE
LOWscripts/mcps/_mcp_utils.py35CODE
LOWscripts/mcps/fedora-distgit-mcp.py23CODE
LOWscripts/mcps/tests/conftest.py5CODE
LOWscripts/mcps/tests/test_distgit_concurrency.py5CODE
LOWscripts/repo/_repo_layout.py15CODE
LOWscripts/repo/synthesize-repodata.py35CODE
LOWbase/images/tests/conftest.py9CODE
LOW…mages/tests/cases/runtime/container-base/test_basic.py9CODE
LOW…untime/container-base/test_memcached/test_memcached.py4CODE
LOW…/cases/runtime/container-base/test_redis/test_redis.py4CODE
LOW…ases/runtime/container-base/test_valkey/test_valkey.py4CODE
LOW…/runtime/container-base/test_postgres/test_postgres.py4CODE
LOW…ases/runtime/container-base/test_nodejs/test_nodejs.py9CODE
LOW…ests/cases/runtime/container-base/test_php/test_php.py9CODE
LOW…ts/cases/runtime/container-base/test_ruby/test_ruby.py9CODE
LOW…ases/runtime/container-base/test_python/test_python.py9CODE
LOW…/tests/cases/runtime/container-base/test_python/app.py3CODE
LOW…/cases/runtime/container-base/test_nginx/test_nginx.py8CODE
LOW…/runtime/container-base/test_telegraf/test_telegraf.py7CODE
LOW…ases/runtime/container-base/test_dotnet/test_dotnet.py10CODE
LOW…es/runtime/container-base/test_openmpi/test_openmpi.py8CODE
LOWbase/images/tests/cases/static/test_packages.py10CODE
LOWbase/images/tests/cases/static/test_oci_config.py11CODE
14 more matches not shown…
Deep Nesting66 hits · 66 pts
SeverityFileLineSnippetContext
LOWspecs/n/ngtcp2/mkapiref.py121CODE
LOWspecs/n/ngtcp2/mkapiref.py236CODE
LOWspecs/n/ngtcp2/mkapiref.py259CODE
LOWspecs/g/grafana/list_bundled_nodejs_packages.py27CODE
LOWspecs/g/gettext/msghack.py245CODE
LOWspecs/o/ocaml/ocaml_files.py103CODE
LOWspecs/o/ocaml/ocaml_files.py317CODE
LOWspecs/o/ocaml/ocaml_files.py339CODE
LOWspecs/o/ocaml/ocaml_files.py391CODE
LOWspecs/o/ocaml/ocaml_files.py244CODE
LOWspecs/e/edk2/edk2-build.py189CODE
LOWspecs/e/edk2/edk2-build.py342CODE
LOWspecs/k/kernel/filtermods.py79CODE
LOWspecs/k/kernel/filtermods.py318CODE
LOWspecs/k/kernel/filtermods.py402CODE
LOWspecs/k/kernel/filtermods.py524CODE
LOWspecs/k/kernel/filtermods.py575CODE
LOWspecs/k/kernel/filtermods.py769CODE
LOWspecs/k/kernel/filtermods.py901CODE
LOWspecs/k/kernel/filtermods.py1012CODE
LOWspecs/k/kernel/filtermods.py234CODE
LOWspecs/p/python-rpm-macros/pathfix.py19CODE
LOWspecs/p/python-rpm-macros/pathfix.py68CODE
LOWspecs/p/python-rpm-macros/pathfix.py91CODE
LOWspecs/p/python-rpm-macros/clamp_source_mtime.py23CODE
LOWspecs/p/python-rpm-macros/clamp_source_mtime.py69CODE
LOWspecs/p/python-rpm-macros/clamp_source_mtime.py116CODE
LOWspecs/p/python-rpm-macros/compileall2.py172CODE
LOWspecs/p/python-rpm-macros/compileall2.py364CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py367CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py508CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py533CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_save_files.py331CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_save_files.py572CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_save_files.py676CODE
LOW…s/p/pyproject-rpm-macros/pyproject_requirements_txt.py20CODE
LOWspecs/p/python-blosc/setup.py91CODE
LOWspecs/p/python-rpm-generators/pythonbundles.py22CODE
LOWspecs/p/python-rpm-generators/pythondistdeps.py306CODE
LOWspecs/p/ps_mem/ps_mem.py231CODE
LOWspecs/p/ps_mem/ps_mem.py304CODE
LOWspecs/p/ps_mem/ps_mem.py401CODE
LOWspecs/p/ps_mem/ps_mem.py477CODE
LOWspecs/p/ps_mem/ps_mem.py611CODE
LOWscripts/ci/locks-check/post_locks_comment.py268CODE
LOWscripts/ci/render-specs-check/post_render_comment.py305CODE
LOWscripts/ci/spec-review/spec_review_schema.py133CODE
LOWscripts/ci/spec-review/spec_review_schema.py82CODE
LOWscripts/ci/spec-review/spec_review_schema.py91CODE
LOWscripts/ci/spec-review/spec_review_schema.py100CODE
LOWscripts/ci/spec-review/format_pr_comment.py22CODE
LOW…l-config-checker/kernel_config_checker/check_config.py51CODE
LOWscripts/mcps/koji-mcp.py83CODE
LOWscripts/mcps/fedora-distgit-mcp.py99CODE
LOWscripts/mcps/fedora-distgit-mcp.py292CODE
LOWscripts/mcps/fedora-distgit-mcp.py503CODE
LOWbase/images/tests/conftest.py453CODE
LOWbase/comps/kernel/filtermods.py79CODE
LOWbase/comps/kernel/filtermods.py318CODE
LOWbase/comps/kernel/filtermods.py402CODE
6 more matches not shown…
Excessive Try-Catch Wrapping27 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMspecs/p/python-rpm-macros/compileall2.py473 print("Error reading file list {}".format(args.flist))CODE
LOWspecs/p/python-rpm-macros/import_all_modules.py107 except Exception:CODE
LOW…p/pyproject-rpm-macros/test_pyproject_buildrequires.py93 except Exception as e:CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py758 except Exception:CODE
MEDIUMspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py238def toml_load(opened_binary_file):CODE
LOWspecs/p/python-blosc/setup.py115 except Exception:CODE
MEDIUMspecs/p/python-rpm-generators/pythondistdeps.py81 print('Error: Python metadata at `{}` are missing or corrupted.'.format(path), file=stderr)CODE
LOWspecs/p/python-rpm-generators/pythondistdeps.py285 except Exception as exc:CODE
LOWspecs/p/python-rpm-generators/pythondistdeps.py623 except Exception as exc:CODE
MEDIUMspecs/p/python-rpm-generators/pythondistdeps.py282def convert(name, operator, version_id):CODE
MEDIUMscripts/ci/render-specs-check/post_render_comment.py384 print(f"Error reading report: {exc}", file=sys.stderr)CODE
MEDIUMscripts/ci/spec-review/create_check_annotations.py111 print(f"Error: {e}", file=sys.stderr)CODE
LOWscripts/ci/spec-review/spec_review_schema.py234 except Exception as e:CODE
LOWscripts/ci/spec-review/spec_review_schema.py265 except Exception as e:CODE
MEDIUMscripts/ci/spec-review/format_pr_comment.py133 print(f"Error: {e}", file=sys.stderr)CODE
LOW…l-config-checker/kernel_config_checker/check_config.py191 except Exception as e:CODE
LOW…l-config-checker/kernel_config_checker/check_config.py202 except Exception as e:CODE
LOW…l-config-checker/kernel_config_checker/check_config.py237 except Exception as e:CODE
LOW…nel-config-checker/kernel_config_checker/add_config.py153 except Exception as e:CODE
LOW…nel-config-checker/kernel_config_checker/add_config.py170 except Exception as e:CODE
LOWscripts/mcps/koji-mcp.py266 except Exception as e:CODE
LOWscripts/mcps/fedora-distgit-mcp.py168 except Exception:CODE
LOWscripts/mcps/fedora-distgit-mcp.py272 except Exception as e:CODE
LOWscripts/mcps/fedora-distgit-mcp.py401 except Exception as e:CODE
LOWscripts/mcps/fedora-distgit-mcp.py481 except Exception as e:CODE
LOWbase/images/tests/conftest.py181 except Exception as exc: # pragma: no coverCODE
LOWbase/images/tests/utils/container_runtime.py281 except Exception as cleanup_exc:CODE
AI Slop Vocabulary6 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMspecs/h/haproxy/haproxy.cfg38 # utilize system-wide crypto-policiesCOMMENT
MEDIUMbase/comps/components-publish-channels.toml2764 # workflow. Their Requires pull in heavyweight test-harness perlCOMMENT
MEDIUMbase/comps/sblim-cmpi-base/sblim-cmpi-base.comp.toml3# sblim-cmpi-base-test is the optional test harness for the SBLIM CMPICOMMENT
MEDIUM…/overlays/0001-skip-flaky-agentxtrap-test.overlay.toml2# Upstream attributes this class of flakiness to the test harness's port probingCOMMENT
MEDIUMbase/comps/ostree/ostree.comp.toml3# ostree-tests is the GNOME installed-tests harness; its only baseCOMMENT
MEDIUMbase/comps/ostree/ostree.comp.toml5# which lives in sdk along with mozjs). The harness is not warrantedCOMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMspecs/t/tmux/bash_completion_tmux.sh2# This file is in the public domainCOMMENT
MEDIUMspecs/m/mrtg/mrtg.cfg4# This file is for use with mrtg-2.0COMMENT
MEDIUMspecs/p/python-blosc/setup.py144 # Create the version.py fileCOMMENT
MEDIUMspecs/p/python-rpm-generators/pythondistdeps.py591 # Creating a meta package per extra with recommends on, which hasCOMMENT
MEDIUMspecs/w/wsl-setup/wsl-oobe.sh49# Create the userCOMMENT
MEDIUMbase/comps/SymCrypt/generate-env-file.sh53# Create a temporary directory to clone the git repoCOMMENT
Structural Annotation Overuse10 hits · 18 pts
SeverityFileLineSnippetContext
LOW.agents/skills/skill-deployment-context/SKILL.md12## Step 1: Locate `deployment_summary.yaml` (if available)COMMENT
LOW.agents/skills/skill-deployment-context/SKILL.md20## Step 2: If subscription is missingCOMMENT
LOW.agents/skills/skill-deployment-context/SKILL.md24## Step 3: If deployment does not match the summaryCOMMENT
LOW.agents/skills/skill-deployment-context/SKILL.md28## Step 4: Discover monitoring resources dynamicallyCOMMENT
LOW.github/agents/spec-review.agent.md33### Step 0: TODO ListCOMMENT
LOW.github/agents/spec-review.agent.md36### Step 1: KB Validation (MANDATORY - DO NOT SKIP)COMMENT
LOW.github/agents/spec-review.agent.md89### Step 2: Triage Spec Files (BEFORE KB Generation)COMMENT
LOW.github/agents/spec-review.agent.md105### Step 3: Generate or update the knowledge baseCOMMENT
LOW.github/agents/spec-review.agent.md147### Step 4: Review each spec fileCOMMENT
LOW.github/agents/spec-review.agent.md163### Step 5: Compile resultsCOMMENT
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHspecs/p/pesign/pesign.py59 getent group pesign >/dev/null || groupadd -r pesignSTRING
HIGH…/runtime/container-base/test_telegraf/test_telegraf.py28 result = container_exec_shell("telegraf --version && telegraf --usage cpu")CODE
HIGH…/runtime/container-base/test_telegraf/test_telegraf.py51 'test -s /tmp/telegraf-metrics.out && grep -q "mem,host" /tmp/telegraf-metrics.out'CODE
Example Usage Blocks8 hits · 14 pts
SeverityFileLineSnippetContext
LOWspecs/g/glibc/wrap-find-debuginfo.sh4# Usage:COMMENT
LOW…/azurelinux-rpm-config/redhat-annobin-plugin-select.sh18# Usage:COMMENT
LOWspecs/e/erlang/otp-get-patches.sh2# Usage:COMMENT
LOWspecs/k/kbd/xml2lst.pl5# Usage:COMMENT
LOWbase/comps/firefox/modify_source.sh29# Usage:COMMENT
LOWbase/comps/yara/modify_source.sh54# Usage:COMMENT
LOWbase/comps/apache-commons-compress/modify_source.sh25# Usage:COMMENT
LOWbase/comps/libkml/modify_source.sh71# Usage:COMMENT
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWspecs/b/bind9-next/setup-named-chroot.sh93 # Check if file is mount target. Do not use /proc/mounts because detectingCOMMENT
LOWspecs/b/bind/setup-named-chroot.sh93 # Check if file is mount target. Do not use /proc/mounts because detectingCOMMENT
LOWspecs/k/kernel/process_configs.sh339 # Check if there are any modified or untracked mismatched configs to commitCOMMENT
LOWspecs/p/python-rpm-macros/compileall2.py126 # Check if this is a system where ProcessPoolExecutor can function.COMMENT
LOWscripts/ci/spec-review/spec_review.sh123 # Check if file existsCOMMENT
LOWbase/comps/kernel/process_configs.sh339 # Check if there are any modified or untracked mismatched configs to commitCOMMENT
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWspecs/p/python-rpm-macros/clamp_source_mtime.py20__all__ = ["clamp_dir", "clamp_file"]CODE
LOWspecs/p/python-rpm-macros/compileall2.py47__all__ = ["compile_dir","compile_file","compile_path"]CODE
LOWbase/images/tests/conftest.py57logger = logging.getLogger(__name__)CODE
LOWbase/images/tests/cases/static/test_footprint.py22logger = logging.getLogger(__name__)CODE
LOWbase/images/tests/utils/disk.py14logger = logging.getLogger(__name__)CODE
LOWbase/images/tests/utils/container_runtime.py22logger = logging.getLogger(__name__)CODE
LOWbase/images/tests/utils/parsers.py12logger = logging.getLogger(__name__)CODE
LOWbase/images/tests/utils/extract.py23logger = logging.getLogger(__name__)CODE
AI Structural Patterns7 hits · 7 pts
SeverityFileLineSnippetContext
LOWspecs/g/gettext/msghack.py52CODE
LOWspecs/g/gettext/msghack.py138CODE
LOWspecs/k/kernel/filtermods.py713CODE
LOWspecs/p/python-rpm-macros/compileall2.py87CODE
LOWspecs/p/python-rpm-macros/compileall2.py172CODE
LOWspecs/p/pyproject-rpm-macros/pyproject_buildrequires.py593CODE
LOWbase/comps/kernel/filtermods.py713CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscripts/repo/synthesize-repodata.py1042# CLI / orchestrationCOMMENT
MEDIUMbase/images/tests/README.md113 │ ├── container_runtime.py # python-on-whales based container orchestrationCODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/ci/ado/determine_commit_range.py118Return recent builds for ``definition_id`` on ``branch`` via the ADO SDK. Authenticates with the pipeline's ``SysteSTRING
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWspecs/n/nodejs22/nodejs-sources.sh3# arguments, make sure to callCOMMENT
LOWspecs/p/python-rpm-generators/pythondistdeps.py434 # make sure to use updated metadata and declare the extrasCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWspecs/p/python-rpm-generators/pythondistdeps.py573 # TODO: implement in rpm later, or...?COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWspecs/r/ruby/rpm_test_helper.rb49 s.authors = ["John Doe".freeze]CODE