AI Slop Code RIsk Monitor

AdnanHodzic/auto-cpufreq

Automatic CPU speed & power optimizer for Linux

16.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for AdnanHodzic/auto-cpufreq, a Python project with 7,834 GitHub stars. SynthScan examined 9,328 lines of code across 32 source files, recording 106 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 16.5 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

16.5
Adjusted Signal
16.5
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
7.8K
Stars
Python
Language
9.3K
Lines of Code
32
Files
106
Pattern Hits
2026-10-12
Scan Date
0.28
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 26.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 4.7/100 · LOW

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

Agent Over-Engineering Ratio 46.0/100 · MEDIUM

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

PR Review Velocity Impact 60.4/100 · HIGH

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 9MEDIUM 11LOW 86

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 106 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Empty Error Handlers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHauto_cpufreq/power_helper.py116except (OSError, FileNotFoundError, PermissionError):CODE
HIGHauto_cpufreq/power_helper.py124except (OSError, FileNotFoundError, PermissionError):CODE
HIGHauto_cpufreq/power_helper.py132except (OSError, FileNotFoundError, PermissionError):CODE
HIGHauto_cpufreq/power_helper.py139except (OSError, FileNotFoundError, PermissionError):CODE
HIGHauto_cpufreq/power_helper.py328except (OSError, FileNotFoundError, PermissionError):CODE
HIGHauto_cpufreq/power_helper.py111except (OSError, FileNotFoundError, PermissionError):CODE
HIGHauto_cpufreq/bin/auto_cpufreq.py134except Exception:CODE
HIGHauto_cpufreq/modules/system_monitor.py135except OSError:CODE
HIGHauto_cpufreq/modules/system_monitor.py467except OSError:CODE
Excessive Try-Catch Wrapping29 hits · 39 pts
SeverityFileLineSnippetContext
LOWauto_cpufreq/power_helper.py184 except Exception:CODE
LOWauto_cpufreq/power_helper.py227 except Exception:CODE
MEDIUMauto_cpufreq/core.py170 print("Error fetching recent release!")CODE
MEDIUMauto_cpufreq/core.py177 print("Error Connecting to server!")CODE
MEDIUMauto_cpufreq/core.py194 print("Error retrieving current version!")CODE
MEDIUMauto_cpufreq/core.py261def get_literal_version(package_name):CODE
LOWauto_cpufreq/core.py129 except Exception as e: print(repr(e))CODE
LOWauto_cpufreq/core.py1419 except Exception as e: print(repr(e))CODE
LOWauto_cpufreq/bin/auto_cpufreq.py134 except Exception:CODE
LOWauto_cpufreq/gui/app.py987 except Exception as error:CODE
LOWauto_cpufreq/gui/app.py1012 except Exception as error:CODE
MEDIUMauto_cpufreq/gui/app.py883def _run_update(self):CODE
LOWauto_cpufreq/gui/objects.py37 except Exception as e:CODE
LOWauto_cpufreq/gui/objects.py61 except Exception:CODE
LOWauto_cpufreq/gui/objects.py424 except Exception:CODE
LOWauto_cpufreq/gui/objects.py482 except Exception:CODE
LOWauto_cpufreq/gui/objects.py579 except Exception:CODE
LOWauto_cpufreq/gui/objects.py695 except Exception as e:CODE
LOWauto_cpufreq/gui/objects.py932 except Exception as error:CODE
LOWauto_cpufreq/gui/objects.py1108 except Exception as e:CODE
MEDIUMauto_cpufreq/gui/objects.py65def worker():CODE
MEDIUMauto_cpufreq/gui/objects.py456def refresh(self):CODE
MEDIUMauto_cpufreq/gui/objects.py530def refresh(self):CODE
MEDIUMauto_cpufreq/gui/objects.py915def _refresh(self):CODE
LOWauto_cpufreq/battery_scripts/battery.py47 except Exception as e:CODE
LOWauto_cpufreq/battery_scripts/shared.py168 except Exception as e:CODE
LOWauto_cpufreq/battery_scripts/shared.py177 except Exception as e:CODE
LOWauto_cpufreq/modules/system_monitor.py121 except Exception as exc:CODE
MEDIUMauto_cpufreq/modules/system_monitor.py104def _collect_report(self):CODE
Hyper-Verbose Identifiers29 hits · 29 pts
SeverityFileLineSnippetContext
LOWauto_cpufreq/power_helper.py75def gnome_power_detect_install():CODE
LOWauto_cpufreq/power_helper.py176def set_bluetooth_auto_enable(value: bool) -> bool:CODE
LOWauto_cpufreq/power_helper.py271def gnome_power_rm_reminder_snap():CODE
LOWauto_cpufreq/power_helper.py284def disable_power_profiles_daemon():CODE
LOWauto_cpufreq/core.py209def _install_update_from_staging(source_dir, target_tag):CODE
LOWauto_cpufreq/core.py329def get_power_supply_ignore_list():CODE
LOWauto_cpufreq/core.py415def deploy_daemon_performance():CODE
LOWauto_cpufreq/core.py574def get_frequency_request_state(freq_type, target):CODE
LOWauto_cpufreq/core.py607def format_frequency_effective(values):CODE
LOWauto_cpufreq/core.py760 def is_platform_profile_enforced():CODE
LOWauto_cpufreq/core.py886def set_energy_perf_preference(epp):CODE
LOWauto_cpufreq/core.py925def get_configured_hwp_dynamic_boost(conf, profile):CODE
LOWauto_cpufreq/core.py940def get_hwp_dynamic_boost_target(conf, profile):CODE
LOWauto_cpufreq/gui/app.py117def _configuration_label_text():CODE
LOWauto_cpufreq/gui/app.py723 def _release_power_state_apply(self, key):CODE
LOWauto_cpufreq/gui/app.py743 def _add_refresh_interval_menu(self):CODE
LOWauto_cpufreq/gui/app.py785 def _on_refresh_interval_selected(CODE
LOWauto_cpufreq/gui/objects.py41def get_bluetooth_boot_status():CODE
LOWauto_cpufreq/gui/objects.py83def _privileged_command_error(result, error):CODE
LOWauto_cpufreq/battery_scripts/ideapad_laptop.py14 def _find_conservation_mode_path(self) -> str | None:CODE
LOWauto_cpufreq/battery_scripts/ideapad_laptop.py66 def _parse_ideapad_conservation_mode(self, param: None | str) -> None | bool:CODE
LOWauto_cpufreq/battery_scripts/ideapad_laptop.py77 def apply_threshold_settings_to_bat(self, bat: str, config: dict[str, Any]):CODE
LOWauto_cpufreq/battery_scripts/shared.py131 def _parse_ideapad_conservation_mode(self, param: None | str) -> None | bool:CODE
LOWauto_cpufreq/battery_scripts/shared.py209 def apply_threshold_settings_to_bat(self, bat: str, config: dict[str, Any]):CODE
LOWauto_cpufreq/modules/platform_profile.py70def summarize_platform_profile_devices(CODE
LOWauto_cpufreq/modules/platform_profile.py125 def _without_aggregate_custom(CODE
LOWauto_cpufreq/modules/platform_profile.py203 def _available_choices_state_for(CODE
LOWauto_cpufreq/modules/system_info.py860def format_platform_profile_choices(CODE
LOWauto_cpufreq/modules/system_info.py877def format_platform_profile_summary(CODE
Deep Nesting18 hits · 16 pts
SeverityFileLineSnippetContext
LOWauto_cpufreq/power_helper.py176CODE
LOWauto_cpufreq/power_helper.py348CODE
LOWauto_cpufreq/core.py282CODE
LOWauto_cpufreq/core.py620CODE
LOWauto_cpufreq/core.py998CODE
LOWauto_cpufreq/core.py1102CODE
LOWauto_cpufreq/core.py1219CODE
LOWauto_cpufreq/core.py1334CODE
LOWauto_cpufreq/bin/auto_cpufreq.py43CODE
LOWauto_cpufreq/gui/app.py903CODE
LOWauto_cpufreq/gui/objects.py41CODE
LOWauto_cpufreq/battery_scripts/battery.py13CODE
LOWauto_cpufreq/battery_scripts/battery.py56CODE
LOWauto_cpufreq/battery_scripts/ideapad_laptop.py14CODE
LOWauto_cpufreq/modules/system_monitor.py430CODE
LOWauto_cpufreq/modules/system_info.py234CODE
LOWauto_cpufreq/modules/system_info.py545CODE
LOWauto_cpufreq/modules/system_info.py591CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWauto_cpufreq/power_helper.py10CODE
LOWauto_cpufreq/core.py18CODE
LOWauto_cpufreq/core.py22CODE
LOWauto_cpufreq/bin/auto_cpufreq.py11CODE
LOWauto_cpufreq/bin/auto_cpufreq.py13CODE
LOWauto_cpufreq/bin/auto_cpufreq.py22CODE
LOWauto_cpufreq/gui/objects.py5CODE
LOWauto_cpufreq/gui/objects.py15CODE
LOWauto_cpufreq/gui/objects.py15CODE
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWREADME.md401# see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governorsCOMMENT
LOWREADME.md421# the default value is `balance_performance` (for charger)COMMENT
LOWREADME.md441# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.htmlCOMMENT
LOWREADME.md461#energy_performance_preference = balance_powerCOMMENT
LOWREADME.md481# auto-cpufreq prefers the per-handler /sys/class/platform-profile interfaceCOMMENT
LOWREADME.md501# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.htmlCOMMENT
LOWscripts/snapdaemon.sh1#!/usr/bin/env bashCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWauto_cpufreq/config/config.py33 # Check if the config file path points to a valid fileCOMMENT
LOWauto_cpufreq/modules/system_info.py593 # Check if user has specified a custom battery device in configCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMauto_cpufreq/modules/system_monitor.py45 # Create a columns widget with a vertical line (using box drawing character)COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWauto_cpufreq/config/config.py52 def set_path(self, path: str) -> None:CODE
LOWauto_cpufreq/config/config.py62 def update_config(self) -> None:CODE