Repository Analysis

amnweb/yasb

A highly configurable Windows status bar written in Python.

15.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of amnweb/yasb, a Python project with 5,404 GitHub stars. SynthScan v2.0 examined 144,230 lines of code across 476 source files, recording 1946 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 15.5 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).

15.5
Adjusted Score
15.5
Raw Score
100%
Time Factor
2026-08-28
Last Push
5.4K
Stars
Python
Language
144.2K
Lines of Code
476
Files
1.9K
Pattern Hits
2026-08-29
Scan Date
0.05
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 25MEDIUM 143LOW 1778

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 1946 distinct pattern matches across 14 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.

Excessive Try-Catch Wrapping1112 hits · 1221 pts
SeverityFileLineSnippetContext
MEDIUMsrc/cli.py167 print(f"Error: {e}")CODE
MEDIUMsrc/cli.py1110 print("Error: Missing Content-Length header.")CODE
MEDIUMsrc/cli.py1116 print(f"Error: Invalid Content-Length value: {content_length}")CODE
MEDIUMsrc/cli.py1148 print("Error: Downloaded file size does not match expected size.")CODE
MEDIUMsrc/cli.py197def disable_startup(self):CODE
MEDIUMsrc/cli.py773def _parent_key_exists(self) -> bool:CODE
LOWsrc/cli.py56 except Exception as e:CODE
LOWsrc/cli.py166 except Exception as e:CODE
LOWsrc/cli.py182 except Exception as e:CODE
LOWsrc/cli.py194 except Exception as e:CODE
LOWsrc/cli.py204 except Exception as e:CODE
MEDIUMsrc/cli.py575 print(f"Error retrieving monitor information: {e}")STRING
LOWsrc/cli.py894 except Exception as e:CODE
LOWsrc/cli.py906 except Exception:CODE
LOWsrc/cli.py1000 except Exception as e:CODE
LOWsrc/cli.py1092 except Exception as e:CODE
LOWsrc/cli.py628 except Exception as e:STRING
LOWsrc/cli.py636 except Exception as e:STRING
LOWsrc/cli.py645 except Exception as e:STRING
LOWsrc/cli.py574 except Exception as e:STRING
LOWsrc/cli.py610 except Exception as e:STRING
LOWsrc/cli.py661 except Exception as e:STRING
LOWsrc/cli.py691 except Exception as e:STRING
LOWsrc/cli.py698 except Exception as e:STRING
LOWsrc/main.py86 except Exception:CODE
LOWsrc/main.py172 except Exception as e:CODE
LOWsrc/main.py204 except Exception:CODE
LOWsrc/core/tray.py94 except Exception:CODE
LOWsrc/core/tray.py165 except Exception:CODE
LOWsrc/core/tray.py179 except Exception:CODE
LOWsrc/core/tray.py181 except Exception:CODE
LOWsrc/core/tray.py190 except Exception:CODE
LOWsrc/core/tray.py197 except Exception as e:CODE
LOWsrc/core/tray.py213 except Exception as e:CODE
LOWsrc/core/tray.py226 except Exception as e:CODE
LOWsrc/core/tray.py240 except Exception as e:CODE
MEDIUMsrc/core/tray.py88def _try_enable_dark_menu(self, hwnd):CODE
MEDIUMsrc/core/tray.py193def is_wm_installed(self, wm) -> bool:CODE
MEDIUMsrc/core/tray.py210def _open_config(self):CODE
MEDIUMsrc/core/tray.py217def wm_command():CODE
MEDIUMsrc/core/tray.py237def _open_in_browser(self, url):CODE
LOWsrc/core/bar.py98 except Exception as e:CODE
LOWsrc/core/watcher.py47 except Exception:CODE
LOWsrc/core/watcher.py71 except Exception:CODE
MEDIUMsrc/core/watcher.py38def _refresh_imported_stylesheets(self) -> None:CODE
MEDIUMsrc/core/watcher.py67def _file_hash(self, path):CODE
MEDIUMsrc/core/bar_helper.py913def _toggle_widget(self, widget, enabled):CODE
MEDIUMsrc/core/bar_helper.py952def _open_task_manager(self):CODE
LOWsrc/core/bar_helper.py280 except Exception as e:CODE
LOWsrc/core/bar_helper.py409 except Exception as e:CODE
LOWsrc/core/bar_helper.py452 except Exception:CODE
LOWsrc/core/bar_helper.py544 except Exception:CODE
LOWsrc/core/bar_helper.py587 except Exception as e:CODE
LOWsrc/core/bar_helper.py610 except Exception:CODE
LOWsrc/core/bar_helper.py687 except Exception:CODE
LOWsrc/core/bar_helper.py700 except Exception:CODE
LOWsrc/core/bar_helper.py755 except Exception as e:CODE
LOWsrc/core/bar_helper.py860 except Exception as e:CODE
LOWsrc/core/bar_helper.py935 except Exception as e:CODE
LOWsrc/core/bar_helper.py955 except Exception as e:CODE
1052 more matches not shown…
Deep Nesting287 hits · 256 pts
SeverityFileLineSnippetContext
LOWsrc/cli.py207CODE
LOWsrc/cli.py1096CODE
LOWsrc/main.py28CODE
LOWsrc/main.py105CODE
LOWsrc/core/bar.py244CODE
LOWsrc/core/watcher.py74CODE
LOWsrc/core/bar_helper.py355CODE
LOWsrc/core/bar_helper.py521CODE
LOWsrc/core/bar_helper.py1119CODE
LOWsrc/core/bar_manager.py108CODE
LOWsrc/core/bar_manager.py136CODE
LOWsrc/core/bar_manager.py244CODE
LOWsrc/core/ui/views/themes.py1092CODE
LOWsrc/core/ui/views/updater.py92CODE
LOWsrc/core/ui/views/updater.py163CODE
LOWsrc/core/ui/views/welcome.py174CODE
LOWsrc/core/utils/cli_server.py116CODE
LOWsrc/core/utils/update_service.py229CODE
LOWsrc/core/utils/validation_errors.py5CODE
LOWsrc/core/utils/time_utils.py5CODE
LOWsrc/core/utils/tooltip.py166CODE
LOWsrc/core/utils/tooltip.py398CODE
LOWsrc/core/utils/markdown.py175CODE
LOWsrc/core/utils/utilities.py376CODE
LOWsrc/core/utils/utilities.py435CODE
LOWsrc/core/utils/utilities.py743CODE
LOWsrc/core/utils/utilities.py787CODE
LOWsrc/core/utils/win32/aumid.py169CODE
LOWsrc/core/utils/win32/app_icons.py36CODE
LOWsrc/core/utils/win32/app_icons.py181CODE
LOWsrc/core/utils/win32/hotkeys.py103CODE
LOWsrc/core/utils/win32/hotkeys.py235CODE
LOWsrc/core/utils/win32/app_loader.py44CODE
LOWsrc/core/utils/win32/app_loader.py81CODE
LOWsrc/core/utils/win32/window_actions.py178CODE
LOWsrc/core/cloud/api.py214CODE
LOWsrc/core/cloud/snapshot.py80CODE
LOWsrc/core/cloud/snapshot.py130CODE
LOWsrc/core/cloud/snapshot.py94CODE
LOWsrc/core/cloud/encryption/stream.py217CODE
LOWsrc/core/cloud/ui/backups_view.py127CODE
LOWsrc/core/events/service.py44CODE
LOWsrc/core/widgets/yasb/media_lite.py626CODE
LOWsrc/core/widgets/yasb/media_lite.py668CODE
LOWsrc/core/widgets/yasb/media_lite.py836CODE
LOWsrc/core/widgets/yasb/media_lite.py855CODE
LOWsrc/core/widgets/yasb/quick_launch.py983CODE
LOWsrc/core/widgets/yasb/quick_launch.py1214CODE
LOWsrc/core/widgets/yasb/quick_launch.py1327CODE
LOWsrc/core/widgets/yasb/taskbar.py64CODE
LOWsrc/core/widgets/yasb/taskbar.py132CODE
LOWsrc/core/widgets/yasb/taskbar.py183CODE
LOWsrc/core/widgets/yasb/taskbar.py643CODE
LOWsrc/core/widgets/yasb/taskbar.py826CODE
LOWsrc/core/widgets/yasb/taskbar.py1027CODE
LOWsrc/core/widgets/yasb/taskbar.py1332CODE
LOWsrc/core/widgets/yasb/taskbar.py1561CODE
LOWsrc/core/widgets/yasb/taskbar.py1807CODE
LOWsrc/core/widgets/yasb/taskbar.py1836CODE
LOWsrc/core/widgets/yasb/taskbar.py1892CODE
227 more matches not shown…
Hyper-Verbose Identifiers241 hits · 255 pts
SeverityFileLineSnippetContext
LOWsrc/cli.py119 def send_command_to_application(self, command: str):CODE
LOWsrc/cli.py1008 def get_installed_product_code(self):CODE
LOWsrc/core/config.py143def get_config_and_stylesheet() -> tuple[YasbConfig, str]:CODE
LOWsrc/core/log.py58def _suppress_third_party_warnings():CODE
LOWsrc/core/log.py82def _install_qt_message_filter():CODE
LOWsrc/core/watcher.py38 def _refresh_imported_stylesheets(self) -> None:CODE
LOWsrc/core/bar_helper.py417 def execute_without_systray_interference(callback):CODE
LOWsrc/core/bar_manager.py59 def _disconnect_reload_signals(self):CODE
LOWsrc/core/ui/views/about.py185 def _refresh_update_button_style(self) -> None:CODE
LOWsrc/core/ui/views/about.py297 def _disable_update_capability(self) -> None:CODE
LOWsrc/core/ui/views/welcome.py174 def _download_and_extract_zip(self, url: str, fonts_dir: str) -> list[str]:CODE
LOWsrc/core/utils/cli_server.py246 def _handle_client_connection(self, pipe: int):CODE
LOWsrc/core/utils/update_service.py120 def _extract_commit_from_release_name(release_name: str) -> str:CODE
LOWsrc/core/utils/update_service.py133 def _normalize_version_segments(version: str) -> list[int]:CODE
LOWsrc/core/utils/update_service.py168 def _select_asset_for_architecture(self, assets: list[dict], channel: str = "stable") -> dict | None:CODE
LOWsrc/core/utils/validation_errors.py5def format_pydantic_errors_to_yaml(exc: ValidationError) -> str:CODE
LOWsrc/core/utils/widget_builder.py95 def raise_alerts_if_errors_present(self):CODE
LOWsrc/core/utils/widget_builder.py146 def _collect_nested_listeners(self, widget_names: list[str]) -> None:CODE
LOWsrc/core/utils/tooltip.py58 def _ensure_animations_created(self):CODE
LOWsrc/core/utils/tooltip.py275 def _on_fade_out_anim_finished(self):CODE
LOWsrc/core/utils/tooltip.py279 def _on_slide_out_anim_finished(self):CODE
LOWsrc/core/utils/progress_bar.py62 def _create_circular_progress_brush(self, rect):CODE
LOWsrc/core/utils/progress_bar.py75 def _create_linear_progress_brush(self, rect):CODE
LOWsrc/core/utils/css_processor.py71 def _extract_and_replace_variables(self, css: str) -> str:CODE
LOWsrc/core/utils/win32/backdrop.py59def set_window_corner_preference(hwnd, preference, border_color):CODE
LOWsrc/core/utils/win32/hotkeys.py276def collect_widget_keybindings(widget_name: str, keybindings: list[dict]) -> list[HotkeyBinding]:CODE
LOWsrc/core/utils/win32/app_loader.py44def _enumerate_control_panel_items():CODE
LOWsrc/core/utils/win32/system_function.py21def ensure_non_elevated_foreground():CODE
LOWsrc/core/utils/win32/utils.py73def is_running_under_emulation():CODE
LOWsrc/core/utils/win32/utils.py313def get_window_extended_frame_bounds(hwnd: int) -> dict:CODE
LOWsrc/core/utils/win32/event_listener.py47 def _emit_foreground_window_event(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py191 def _on_media_properties_changed(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py200 def _on_playback_info_changed(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py206 def _on_timeline_properties_changed(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py918 def _on_app_volume_slider_changed(self, value: int):CODE
LOWsrc/core/widgets/yasb/media_lite.py167 def _on_session_status_changed(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py582 def _update_artwork_background(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py691 def _default_thumbnail_pixmap(self, square_size: int) -> QPixmap | None:CODE
LOWsrc/core/widgets/yasb/media_lite.py712 def _default_source_icon_pixmap(self) -> QPixmap | None:CODE
LOWsrc/core/widgets/yasb/media_lite.py793 def _update_interpolated_position(self):CODE
LOWsrc/core/widgets/yasb/media_lite.py899 def _update_app_volume_slider(self):CODE
LOWsrc/core/widgets/yasb/quick_launch.py1327 def _on_search_input_context_menu(self, pos):CODE
LOWsrc/core/widgets/yasb/taskbar.py1027 def _on_pinned_apps_changed_signal(self, action: str, unique_id: str) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py1285 def _get_widget_monitor_handle(self):CODE
LOWsrc/core/widgets/yasb/taskbar.py1660 def _refresh_title_visibility(self, hwnd: int) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py2172 def _clear_others_set_foreground(self, target_hwnd: int | None) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py627 def _find_insert_position_after_pinned(self) -> int:CODE
LOWsrc/core/widgets/yasb/taskbar.py643 def _update_pinned_order_from_layout(self) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py705 def _create_pinned_app_button(self, unique_id: str, metadata: dict) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py772 def _create_pinned_app_container(CODE
LOWsrc/core/widgets/yasb/taskbar.py1242 def _on_window_minimize_changed(self, hwnd, is_minimized):CODE
LOWsrc/core/widgets/yasb/taskbar.py1266 def _on_window_monitor_changed(self, hwnd, window_data):CODE
LOWsrc/core/widgets/yasb/taskbar.py2409 def _animate_or_set_title_visible(self, label: QWidget, visible: bool, duration: int = None) -> None:CODE
LOWsrc/core/widgets/yasb/media.py492 def _update_popup_menu_buttons(self):CODE
LOWsrc/core/widgets/yasb/media.py555 def _on_timeline_properties_changed(self):CODE
LOWsrc/core/widgets/yasb/media.py578 def _update_interpolated_position(self):CODE
LOWsrc/core/widgets/yasb/media.py628 def _on_session_status_changed(self):CODE
LOWsrc/core/widgets/yasb/media.py662 def _on_playback_info_changed(self):CODE
LOWsrc/core/widgets/yasb/media.py723 def _on_media_properties_changed(self):CODE
LOWsrc/core/widgets/yasb/media.py836 def _create_thumbnail_for_popup(self, img: Image.Image):CODE
181 more matches not shown…
Modern Structural Boilerplate121 hits · 122 pts
SeverityFileLineSnippetContext
LOWsrc/core/bar.py168 def update_app_bar(self) -> None:CODE
LOWsrc/core/watcher.py50 def set_observer(self, observer) -> None:CODE
LOWsrc/core/ui/components/content_dialog.py233 def set_title(self, text: str) -> None:CODE
LOWsrc/core/ui/components/content_dialog.py237 def set_content(self, text: str) -> None:CODE
LOWsrc/core/ui/components/content_dialog.py241 def set_content_widget(self, widget: QWidget) -> None:CODE
LOWsrc/core/ui/components/input_dialog.py61 def set_accent_color(self, color: str) -> None:CODE
LOWsrc/core/ui/components/indicator.py95 def set_current(self, index: int) -> None:CODE
LOWsrc/core/ui/components/text_block.py49 def set_color_override(self, color: str | None) -> None:CODE
LOWsrc/core/ui/components/card.py104 def set_selected(self, selected: bool) -> None:CODE
LOWsrc/core/ui/components/card.py112 def _update_child_colors(self) -> None:CODE
LOWsrc/core/ui/components/slider.py93 def set_value(self, v: int) -> None:CODE
LOWsrc/core/ui/components/button.py167 def set_variant(self, variant: str) -> None:CODE
LOWsrc/core/ui/components/loader.py67 def set_color(self, color: str) -> None:CODE
LOWsrc/core/ui/components/loader.py137 def set_color(self, color: str) -> None:CODE
LOWsrc/core/ui/components/info_bar.py166 def _update_stylesheet(self) -> None:CODE
LOWsrc/core/ui/components/info_bar.py178 def set_severity(self, severity: InfoBarSeverity) -> None:CODE
LOWsrc/core/ui/components/info_bar.py184 def set_title(self, title: str) -> None:CODE
LOWsrc/core/ui/components/info_bar.py188 def set_message(self, message: str) -> None:CODE
LOWsrc/core/ui/components/toggle_switch.py239 def _update_label(self, checked: bool) -> None:CODE
LOWsrc/core/ui/components/dropdown.py62 def set_selected(self, selected: bool) -> None:CODE
LOWsrc/core/ui/components/dropdown.py304 def set_current(self, key: str) -> None:CODE
LOWsrc/core/ui/views/updater.py396 def _set_status(self, text: str = "", *, error: bool = False) -> None:STRING
LOWsrc/core/ui/views/updater.py404 def _set_idle_state(self, *, enabled: bool, status: str = "", error: bool = False) -> None:STRING
LOWsrc/core/ui/views/updater.py417 def set_release_info(self, release_info: ReleaseInfo) -> None:STRING
LOWsrc/core/ui/views/updater.py582 def _set_close_button_state(self, *, is_cancel: bool) -> None:STRING
LOWsrc/core/ui/views/welcome.py848 def _update_dots(self, current: int) -> None:CODE
LOWsrc/core/utils/stat_popup.py87 def set_data(self, data: list[float]) -> None:CODE
LOWsrc/core/utils/update_service.py327 def update_last_check_time(self) -> None:CODE
LOWsrc/core/utils/utilities.py252 def set_pinned(self, pinned: bool) -> None:CODE
LOWsrc/core/utils/utilities.py572 def _update_elided_text(self) -> None:STRING
LOWsrc/core/utils/utilities.py679 def _set_idle_offset(self) -> None:STRING
LOWsrc/core/utils/win32/structs.py368 def set_ssid(self, ssid: bytes) -> None:CODE
LOWsrc/core/utils/win32/window_actions.py111def set_foreground(hwnd: int) -> None:CODE
LOWsrc/core/cloud/run_auto_backup.py22logger = logging.getLogger(__name__)CODE
LOWsrc/core/cloud/api.py26logger = logging.getLogger(__name__)CODE
LOWsrc/core/cloud/operations.py30logger = logging.getLogger(__name__)CODE
LOWsrc/core/cloud/operations.py75 def _settle(self, result: object, *, message: str = "") -> None:CODE
LOWsrc/core/cloud/operations.py290 def set_account(self, account: Account | None) -> None:CODE
LOWsrc/core/cloud/logs.py18def set_level(debug: bool) -> None:CODE
LOWsrc/core/cloud/restore.py25logger = logging.getLogger(__name__)CODE
LOWsrc/core/cloud/ui/connect_view.py149 def set_status(self, message: str) -> None:CODE
LOWsrc/core/cloud/ui/window.py55logger = logging.getLogger(__name__)CODE
LOWsrc/core/cloud/ui/window.py244 def _settle(self, action) -> None:CODE
LOWsrc/core/cloud/ui/window.py619 def set_account(self, account: Account) -> None:CODE
LOWsrc/core/cloud/ui/settings_view.py155 def set_rules(self, rules: tuple[str, ...]) -> None:CODE
LOWsrc/core/cloud/ui/settings_view.py292 def set_can_write(self, can_write: bool) -> None:STRING
LOWsrc/core/cloud/ui/settings_view.py305 def set_settings(self, settings: Settings) -> None:STRING
LOWsrc/core/cloud/ui/backups_view.py124 def set_actions_enabled(self, enabled: bool) -> None:CODE
LOWsrc/core/cloud/ui/backups_view.py242 def set_can_write(self, can_write: bool) -> None:STRING
LOWsrc/core/cloud/ui/backups_view.py246 def set_busy(self, running: bool, label: str = "") -> None:STRING
LOWsrc/core/widgets/yasb/media_lite.py377 def _set_tip(self, widget: QWidget | None, text: str) -> None:CODE
LOWsrc/core/widgets/yasb/media_lite.py382 def _update_bar_tooltip(self, session: SessionState) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py643 def _update_pinned_order_from_layout(self) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py677 def _update_pinned_status(self, hwnd: int, is_pinned: bool) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py2068 def _set_dragging(self, active: bool) -> None:CODE
LOWsrc/core/widgets/yasb/taskbar.py2288 def _update_flash_state(self, hwnd: int, widget: QWidget) -> None:CODE
LOWsrc/core/widgets/yasb/server_monitor.py116 def _set_menu_loader(self, active: bool) -> None:CODE
LOWsrc/core/widgets/yasb/copilot.py44 def set_value(self, value: float, max_value: float = 100.0) -> None:CODE
LOWsrc/core/widgets/yasb/copilot.py50 def set_thresholds(self, warning: int, critical: int) -> None:CODE
LOWsrc/core/widgets/yasb/copilot.py55 def set_class(self, class_name: str) -> None:CODE
61 more matches not shown…
Self-Referential Comments32 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUMsrc/core/utils/cli_server.py119 # Create a new pipeCOMMENT
MEDIUMsrc/core/utils/utilities.py193 # Create the inner frameCOMMENT
MEDIUMsrc/core/widgets/yasb/taskbar.py1103 # Create the pinned buttonCOMMENT
MEDIUMsrc/core/widgets/yasb/taskbar.py1437 # Create the window widgetCOMMENT
MEDIUMsrc/core/widgets/yasb/media.py195 # Initialize tracking variablesCOMMENT
MEDIUMsrc/core/widgets/yasb/media.py229 # Create main layout for the popup dialogCOMMENT
MEDIUMsrc/core/widgets/yasb/media.py402 # Create a horizontal layout for the time labelsCOMMENT
MEDIUMsrc/core/widgets/yasb/media.py922 # Create the high-resolution maskCOMMENT
MEDIUMsrc/core/widgets/yasb/launchpad.py1686 # Create a minimal app data with just the group fieldCOMMENT
MEDIUMsrc/core/widgets/yasb/home.py83 # Create main vertical layout for the popupCOMMENT
MEDIUMsrc/core/widgets/yasb/libre_monitor.py34 # Create a network manager to handle the LHM connection asynchronouslyCOMMENT
MEDIUMsrc/core/widgets/yasb/libre_monitor.py41 # Create a requestCOMMENT
MEDIUMsrc/core/widgets/yasb/clock.py720 # Create main layoutCOMMENT
MEDIUMsrc/core/widgets/yasb/applications.py29 # Create a container widget for each labelCOMMENT
MEDIUMsrc/core/widgets/yasb/applications.py35 # Create the labelCOMMENT
MEDIUMsrc/core/widgets/yasb/weather.py280 # Create the icon label and pixmapCOMMENT
MEDIUMsrc/core/widgets/yasb/weather.py335 # Create a temporary icon fetcher to fetch the missing iconsCOMMENT
MEDIUMsrc/core/widgets/yasb/weather.py419 # Create the new class stringCOMMENT
MEDIUMsrc/core/widgets/yasb/whkd.py187 # Create a container widget for buttonsSTRING
MEDIUMsrc/core/widgets/yasb/whkd.py188 # Create a container widget for buttonsSTRING
MEDIUMsrc/core/widgets/yasb/notes.py345 # Create main layoutCOMMENT
MEDIUMsrc/core/widgets/yasb/volume.py322 # Create a container widget and layoutCOMMENT
MEDIUMsrc/core/widgets/yasb/cava.py274 # Create a clip rect for this stripCOMMENT
MEDIUMsrc/core/widgets/yasb/cava.py354 # Create a clip rect for this stripCOMMENT
MEDIUMsrc/core/widgets/yasb/traffic.py430 # Create a horizontal container for each data rowCOMMENT
MEDIUMsrc/core/widgets/yasb/github.py572 # Create a vertical layout to center the widgetsSTRING
MEDIUMsrc/core/widgets/yasb/microphone.py279 # Create a container widget for device buttonsCOMMENT
MEDIUMsrc/core/widgets/services/systray/systray_hook.py128 # Create the watchdog mutex - held for entire lifetime.COMMENT
MEDIUMsrc/core/widgets/services/taskbar/application_window.py235 # Initialize the COM object globally on the first callCOMMENT
MEDIUMsrc/core/widgets/services/weather/widgets.py324 # Create the curve path first so we can use it for the gradientCOMMENT
MEDIUMsrc/core/validation/export_schema.py63 # Create a model for this specific widget typeCOMMENT
MEDIUMsrc/core/validation/export_schema.py79 # Create a new model for export that overrides the widgets fieldCOMMENT
Redundant / Tautological Comments58 hits · 82 pts
SeverityFileLineSnippetContext
LOWsrc/cli.py928 # Check if already on target channelCOMMENT
LOWsrc/cli.py933 # Check if updates are supportedCOMMENT
LOWsrc/cli.py1033 # Check if updates are supportedCOMMENT
LOWsrc/core/bar_helper.py188 # Check if mouse left during the animationCOMMENT
LOWsrc/core/bar_helper.py381 # Check if mouse is within screen bounds horizontallyCOMMENT
LOWsrc/core/bar_helper.py620 # Check if the fullscreen app's window should be excludedCOMMENT
LOWsrc/core/bar_helper.py850 # Check if autohide is enabled and start the hide timerCOMMENT
LOWsrc/core/utils/update_service.py271 # Check if it's actually an update for preview channelCOMMENT
LOWsrc/core/utils/update_service.py281 # Check if it's actually an update for stable channelCOMMENT
LOWsrc/core/utils/utilities.py443 # Check if click is inside popupCOMMENT
LOWsrc/core/utils/utilities.py451 # Check if click is inside any visible QMenu or QDialog (file dialogs, etc.)COMMENT
LOWsrc/core/utils/utilities.py114 # Check if YASB is installed via Scoop and if so, return the path to the executableCOMMENT
LOWsrc/core/utils/win32/app_icons.py355 # Check if icon is mask-basedCOMMENT
LOWsrc/core/utils/win32/utils.py177 # Check if this is a UWP app and get its proper display nameCOMMENT
LOWsrc/core/widgets/base.py89 # Check if this event is for our widget (by config name)COMMENT
LOWsrc/core/widgets/yasb/quick_launch.py800 # Check if the typed text matches a provider prefixCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1829 # Check if taskbar should be hidden after unpinningCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py67 # Check if there's already a preview showing for this hwndCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py663 # Check if it's a running pinned appCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py859 # Check if icon is already cachedCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1042 # Check if we have a running window that matches this unique_idCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1093 # Check if already displayed using direct lookupCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1153 # Check if taskbar should be hidden after unpinningCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1175 # Check if it's a running pinned appCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1196 # Check if we already have a widget for this appCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1344 # Check if this is a pinned appCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1506 # Check if this is a pinned app that needs to be replaced with pinned-only buttonCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1539 # Check if any other windows of the same app are still runningCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py1757 # Check if the window is valid before attempting to close itCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py2020 # Check if this is a Recycle Bin window - use monitored state instead of window iconCOMMENT
LOWsrc/core/widgets/yasb/taskbar.py2080 # Check if this is a pinned app that's not running (negative hwnd)COMMENT
LOWsrc/core/widgets/yasb/launchpad.py1288 # Check if it's a group or an appCOMMENT
LOWsrc/core/widgets/yasb/systray.py378 # Check if the saved data exists for the icon by uuid and exe pathCOMMENT
LOWsrc/core/widgets/yasb/whkd.py313 # Check if line is a headerSTRING
LOWsrc/core/widgets/yasb/cava.py413 # Check if cava is availableCOMMENT
LOWsrc/core/widgets/yasb/language.py337 # Check if the focus window is a valid application windowCOMMENT
LOWsrc/core/widgets/yasb/active_window.py240 # Check if the window title is in the list of ignored titlesCOMMENT
LOWsrc/core/widgets/komorebi/control.py223 # Check if buttons should be disabledCOMMENT
LOWsrc/core/widgets/services/traffic/traffic_manager.py384 # Check if day has changedCOMMENT
LOWsrc/core/widgets/services/traffic/traffic_manager.py327 # Check if it's a new dayCOMMENT
LOWsrc/core/widgets/services/wifi/wifi_widgets.py644 # Check if location services are enabledCOMMENT
LOWsrc/core/widgets/services/wifi/wifi_managers.py449 # Check if we already have this SSID with better signal qualityCOMMENT
LOWsrc/core/widgets/services/systray/utils.py320 # Check if we're running in a frozen environmentCOMMENT
LOW…widgets/services/quick_launch/providers/file_search.py665 # Check if Everything is configured but not runningCOMMENT
LOW…widgets/services/quick_launch/providers/file_search.py690 # Check if Everything DLL loaded but service not runningCOMMENT
LOW…widgets/services/quick_launch/providers/file_search.py707 # Check if Everything returned empty due to IPC errorCOMMENT
LOWsrc/core/widgets/services/notes/utils.py181 # Check if we should enforce plain text pasteCOMMENT
LOWsrc/core/widgets/services/taskbar/window_manager.py561 # Check if window should be shown in taskbarCOMMENT
LOWsrc/core/widgets/services/taskbar/thumbnail.py822 # Check if any window is flashing using existing taskbar logicCOMMENT
LOWsrc/core/widgets/services/taskbar/pin_manager.py502 # Check if we got a valid identifierCOMMENT
LOWsrc/core/widgets/services/taskbar/pin_manager.py670 # Check if elevation is required (WinError 740)COMMENT
LOWsrc/core/widgets/services/taskbar/app_menu.py258 # Check if this is specifically the Recycle BinCOMMENT
LOWsrc/core/widgets/services/taskbar/app_menu.py350 # Check if widget still exists before setting cursorCOMMENT
LOWsrc/core/widgets/services/taskbar/app_menu.py398 # Check if Recycle Bin is empty and disable the option if it isCOMMENT
LOWsrc/core/widgets/services/taskbar/app_menu.py447 # Check if this is UWP (AUMID) or Win32 (path)COMMENT
LOWsrc/core/widgets/services/weather/widgets.py485 # Check if it has styleSheet methodCOMMENT
LOW…re/widgets/services/recycle_bin/recycle_bin_monitor.py226 # Check if already empty using cached info (fast, no blocking)COMMENT
LOW…re/widgets/services/recycle_bin/recycle_bin_monitor.py350 # Check if we should continue pollingCOMMENT
Cross-File Repetition13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHsrc/core/utils/win32/bindings/kernel32.py0wrappers for gdi32 win32 api functions to make them easier to use and have proper typesSTRING
HIGHsrc/core/utils/win32/bindings/wlanapi.py0wrappers for gdi32 win32 api functions to make them easier to use and have proper typesSTRING
HIGHsrc/core/utils/win32/bindings/ole32.py0wrappers for gdi32 win32 api functions to make them easier to use and have proper typesSTRING
HIGHsrc/core/utils/win32/bindings/user32.py0wrappers for gdi32 win32 api functions to make them easier to use and have proper typesSTRING
HIGHsrc/core/utils/win32/bindings/powrprof.py0wrappers for gdi32 win32 api functions to make them easier to use and have proper typesSTRING
HIGHsrc/core/utils/win32/bindings/gdi32.py0wrappers for gdi32 win32 api functions to make them easier to use and have proper typesSTRING
HIGHsrc/core/widgets/yasb/launchpad.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
HIGHsrc/core/widgets/yasb/server_monitor.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
HIGHsrc/core/widgets/yasb/vscode.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
HIGHsrc/core/widgets/yasb/github.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
HIGHsrc/core/widgets/yasb/todo.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
HIGHsrc/core/widgets/services/wifi/wifi_widgets.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
HIGHsrc/core/widgets/yasb/notes.py0qscrollbar:vertical { border: none; background:transparent; width: 4px; } qscrollbar::add-page:vertical, qscrollbar::subSTRING
Cross-Language Confusion9 hits · 58 pts
SeverityFileLineSnippetContext
HIGHsrc/core/ui/views/themes.py433 s = url.toString()CODE
HIGHsrc/core/ui/views/updater.py227 cached = self._image_cache.get(url.toString())CODE
HIGHsrc/core/cloud/encryption/stream.py17 N frame ciphertext || tag(16)STRING
HIGH…ts/services/control_center/sections/system_controls.py136 ("Network && Internet", "ms-settings:network"),CODE
HIGH…ts/services/control_center/sections/system_controls.py137 ("Bluetooth && Devices", "ms-settings:bluetooth"),CODE
HIGH…ts/services/control_center/sections/system_controls.py140 ("Power && Battery", "ms-settings:powersleep"),CODE
HIGH…ts/services/control_center/sections/system_controls.py143 ("Privacy && Security", "ms-settings:privacy"),CODE
HIGHsrc/core/widgets/services/glazewm/client.py117 logger.debug("Connecting to %s", self._uri.toString())CODE
HIGHsrc/core/widgets/services/glazewm/client.py121 logger.debug("Connected to %s", self._uri.toString())CODE
Unused Imports45 hits · 42 pts
SeverityFileLineSnippetContext
LOWsrc/core/utils/win32/typecheck.py12CODE
LOWsrc/core/utils/win32/bindings/__init__.py2CODE
LOWsrc/core/utils/win32/bindings/__init__.py3CODE
LOWsrc/core/utils/win32/bindings/__init__.py4CODE
LOWsrc/core/utils/win32/bindings/__init__.py5CODE
LOWsrc/core/utils/win32/bindings/__init__.py6CODE
LOWsrc/core/utils/win32/bindings/__init__.py7CODE
LOWsrc/core/utils/win32/bindings/__init__.py8CODE
LOWsrc/core/utils/win32/bindings/__init__.py9CODE
LOWsrc/core/utils/win32/bindings/__init__.py10CODE
LOWsrc/core/utils/win32/bindings/__init__.py11CODE
LOWsrc/core/utils/win32/bindings/__init__.py12CODE
LOWsrc/core/utils/win32/bindings/__init__.py13CODE
LOWsrc/core/utils/win32/bindings/__init__.py14CODE
LOWsrc/core/utils/win32/bindings/__init__.py15CODE
LOWsrc/core/events/__init__.py1CODE
LOWsrc/core/events/__init__.py2CODE
LOWsrc/core/events/__init__.py3CODE
LOWsrc/core/events/__init__.py4CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py1CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py2CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py3CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py4CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py5CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py6CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py7CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py8CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py9CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py10CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py11CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py12CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py13CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py14CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py15CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py16CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py17CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py18CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py19CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py20CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py21CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py22CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py23CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py24CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py25CODE
LOW…re/widgets/services/quick_launch/providers/__init__.py26CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHsrc/core/utils/update_service.py235Check GitHub for available updates. Supports both stable and preview channels: - Stable: Compares semanSTRING
HIGHsrc/core/utils/time_utils.py6 Convert an ISO 8601 timestamp to a human-readable relative time string. Args: iso_timestamp: ISO 8601 STRING
HIGHsrc/core/utils/win32/bindings/shell32.py28Launch a file, URL, or shortcut via ShellExecuteW. Args: file: Path to the file, URL, or shortcut to open. STRING
Fake / Example Data16 hits · 14 pts
SeverityFileLineSnippetContext
LOWdocs/widgets/(Widget)-Quick-Launch.md229| `lorem` | Generate lorem ipsum paragraphs/words | `dev lorem` |CODE
LOWsrc/core/widgets/yasb/quick_launch.py1133 widget.setPlaceholderText(field_def.get("placeholder", ""))CODE
LOWsrc/core/widgets/yasb/quick_launch.py1139 widget.setPlaceholderText(field_def.get("placeholder", ""))CODE
LOWsrc/core/widgets/yasb/server_monitor.py341 placeholder.setProperty("class", "placeholder")STRING
LOW…e/widgets/services/quick_launch/providers/dev_tools.py23 "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod "CODE
LOW…e/widgets/services/quick_launch/providers/dev_tools.py23 "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod "CODE
LOW…e/widgets/services/quick_launch/providers/dev_tools.py53 "name": "Lorem Ipsum",CODE
LOW…ore/widgets/services/quick_launch/providers/example.py147 {"id": "name", "type": "text", "label": "Name:", "placeholder": "...", "value": ""},STRING
LOW…ore/widgets/services/quick_launch/providers/example.py148 {"id": "body", "type": "multiline", "label": "Content:", "placeholder": "...", "value": ""},STRING
LOW…re/widgets/services/quick_launch/providers/snippets.py204 {"id": "title", "type": "text", "label": "Title", "placeholder": "Snippet name", "value": title},CODE
LOW…re/widgets/services/quick_launch/providers/snippets.py209 "placeholder": "Snippet text that will be typed...",CODE
LOWsrc/core/widgets/services/quick_launch/providers/ssh.py191 return {"id": id_, "type": "text", "label": label, "placeholder": placeholder, "value": e.get(id_, "")}CODE
LOWsrc/core/widgets/services/media/tokenizer.py15 type: Literal["literal", "placeholder", "separator"]CODE
LOWsrc/core/widgets/services/media/tokenizer.py28 tokens.append(Token("placeholder", match, values.get(match[1:-1], "")))CODE
LOWsrc/core/widgets/services/media/tokenizer.py40 placeholder_positions = [i for i, t in enumerate(tokens) if t.type == "placeholder"]CODE
LOWsrc/core/widgets/services/media/tokenizer.py57 if tok.type == "placeholder":CODE
AI Slop Vocabulary4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/cli.py78 # If it's ping/pong, just return the object as isCOMMENT
LOWsrc/core/utils/cli_server.py60 # If it's ping/pong, just return the object as isCOMMENT
MEDIUMsrc/core/utils/update_service.py335 """Get comprehensive version and architecture information.STRING
LOWsrc/core/utils/win32/typecheck.py14 # NOTE: During runtime just use Any placeholdersCOMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/core/utils/progress_bar.py9CODE
LOWsrc/core/widgets/yasb/launchpad.py132CODE
LOWsrc/core/widgets/services/copilot/api.py297CODE
LOWsrc/core/widgets/services/taskbar/shortcut_resolver.py90CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/core/widgets/services/taskbar/pin_manager.py281COMMENT