AI Slop Code RIsk Monitor

zhiyiYo/PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.

18.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for zhiyiYo/PyQt-Fluent-Widgets, a Python project with 8,117 GitHub stars. SynthScan examined 50,338 lines of code across 244 source files, recording 829 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 18.9 (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.

18.9
Adjusted Signal
18.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
8.1K
Stars
Python
Language
50.3K
Lines of Code
244
Files
829
Pattern Hits
2026-10-12
Scan Date
0.18
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 4.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 52.1/100 · HIGH

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

Agent Over-Engineering Ratio 15.2/100 · LOW

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

PR Review Velocity Impact 64.9/100 · HIGH

Which changes need focused human review? 829 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 45MEDIUM 0LOW 784

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 829 distinct pattern matches across 10 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.

Unused Imports740 hits · 662 pts
SeverityFileLineSnippetContext
LOWqfluentwidgets/__init__.py18CODE
LOWqfluentwidgets/__init__.py19CODE
LOWqfluentwidgets/__init__.py20CODE
LOWqfluentwidgets/__init__.py21CODE
LOWqfluentwidgets/components/__init__.py1CODE
LOWqfluentwidgets/components/__init__.py2CODE
LOWqfluentwidgets/components/__init__.py3CODE
LOWqfluentwidgets/components/__init__.py4CODE
LOWqfluentwidgets/components/__init__.py5CODE
LOWqfluentwidgets/components/__init__.py6CODE
LOW…idgets/components/settings/folder_list_setting_card.py2CODE
LOW…idgets/components/settings/folder_list_setting_card.py6CODE
LOW…idgets/components/settings/folder_list_setting_card.py6CODE
LOW…idgets/components/settings/folder_list_setting_card.py7CODE
LOW…idgets/components/settings/folder_list_setting_card.py7CODE
LOW…idgets/components/settings/folder_list_setting_card.py12CODE
LOW…uentwidgets/components/settings/expand_setting_card.py2CODE
LOW…uentwidgets/components/settings/expand_setting_card.py11CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py1CODE
LOWqfluentwidgets/components/settings/__init__.py4CODE
LOWqfluentwidgets/components/settings/__init__.py4CODE
LOWqfluentwidgets/components/settings/__init__.py4CODE
LOWqfluentwidgets/components/settings/__init__.py5CODE
LOWqfluentwidgets/components/settings/__init__.py6CODE
LOWqfluentwidgets/components/settings/__init__.py7CODE
LOWqfluentwidgets/components/settings/__init__.py8CODE
LOW…luentwidgets/components/dialog_box/message_box_base.py2CODE
LOWqfluentwidgets/components/dialog_box/dialog.py2CODE
LOWqfluentwidgets/components/dialog_box/__init__.py1CODE
LOWqfluentwidgets/components/dialog_box/__init__.py2CODE
LOWqfluentwidgets/components/dialog_box/__init__.py2CODE
LOWqfluentwidgets/components/dialog_box/__init__.py3CODE
LOWqfluentwidgets/components/dialog_box/__init__.py4CODE
LOWqfluentwidgets/components/dialog_box/__init__.py5CODE
LOWqfluentwidgets/components/dialog_box/__init__.py6CODE
LOWqfluentwidgets/components/dialog_box/color_dialog.py2CODE
LOWqfluentwidgets/components/dialog_box/color_dialog.py3CODE
LOWqfluentwidgets/components/dialog_box/color_dialog.py8CODE
LOWqfluentwidgets/components/layout/flow_layout.py2CODE
LOWqfluentwidgets/components/layout/flow_layout.py5CODE
LOWqfluentwidgets/components/layout/__init__.py1CODE
LOWqfluentwidgets/components/layout/__init__.py2CODE
LOWqfluentwidgets/components/layout/__init__.py2CODE
LOWqfluentwidgets/components/layout/__init__.py3CODE
LOWqfluentwidgets/components/navigation/breadcrumb.py4CODE
LOWqfluentwidgets/components/navigation/breadcrumb.py4CODE
LOWqfluentwidgets/components/navigation/__init__.py1CODE
LOWqfluentwidgets/components/navigation/__init__.py1CODE
LOWqfluentwidgets/components/navigation/__init__.py1CODE
LOWqfluentwidgets/components/navigation/__init__.py1CODE
LOWqfluentwidgets/components/navigation/__init__.py1CODE
LOWqfluentwidgets/components/navigation/__init__.py1CODE
680 more matches not shown…
Cross-File Repetition28 hits · 140 pts
SeverityFileLineSnippetContext
HIGHqfluentwidgets/components/navigation/navigation_bar.py0remove widget parameters ---------- routekey: str the unique name of itemSTRING
HIGH…luentwidgets/components/navigation/navigation_panel.py0remove widget parameters ---------- routekey: str the unique name of itemSTRING
HIGHqfluentwidgets/components/navigation/pivot.py0remove widget parameters ---------- routekey: str the unique name of itemSTRING
HIGHqfluentwidgets/components/navigation/navigation_bar.py0set current selected item parameters ---------- routekey: str the unique name of itemSTRING
HIGH…luentwidgets/components/navigation/navigation_panel.py0set current selected item parameters ---------- routekey: str the unique name of itemSTRING
HIGHqfluentwidgets/components/navigation/pivot.py0set current selected item parameters ---------- routekey: str the unique name of itemSTRING
HIGHqfluentwidgets/components/widgets/info_badge.py0set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/dSTRING
HIGHqfluentwidgets/components/widgets/progress_ring.py0set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/dSTRING
HIGHqfluentwidgets/components/widgets/info_bar.py0set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/dSTRING
HIGHqfluentwidgets/components/widgets/progress_bar.py0set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/dSTRING
HIGHqfluentwidgets/window/fluent_window.py0set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/dSTRING
HIGHqfluentwidgets/components/widgets/info_badge.py0register menu animation manager parameters ---------- name: any the name of manager, it should be uniqueSTRING
HIGHqfluentwidgets/components/widgets/menu.py0register menu animation manager parameters ---------- name: any the name of manager, it should be uniqueSTRING
HIGHqfluentwidgets/components/widgets/flyout.py0register menu animation manager parameters ---------- name: any the name of manager, it should be uniqueSTRING
HIGHqfluentwidgets/components/widgets/info_bar.py0register menu animation manager parameters ---------- name: any the name of manager, it should be uniqueSTRING
HIGHqfluentwidgets/common/animation.py0register menu animation manager parameters ---------- name: any the name of manager, it should be uniqueSTRING
HIGHqfluentwidgets/components/widgets/list_view.py0set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator STRING
HIGHqfluentwidgets/components/widgets/tree_view.py0set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator STRING
HIGHqfluentwidgets/components/widgets/table_view.py0set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator STRING
HIGHqfluentwidgets/components/widgets/switch_button.py0set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator STRING
HIGHqfluentwidgets/components/widgets/check_box.py0set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator STRING
HIGHqfluentwidgets/components/widgets/scroll_bar.py0set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme moSTRING
HIGHqfluentwidgets/components/widgets/label.py0set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme moSTRING
HIGHqfluentwidgets/components/widgets/switch_button.py0set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme moSTRING
HIGHqfluentwidgets/components/widgets/check_box.py0set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme moSTRING
HIGHexamples/navigation/pivot/demo.py0demo{background: white} qlabel{ font: 20px 'segoe ui'; background: rgb(242,242,242); border-radius: 8px; }STRING
HIGHexamples/navigation/segmented_tool_widget/demo.py0demo{background: white} qlabel{ font: 20px 'segoe ui'; background: rgb(242,242,242); border-radius: 8px; }STRING
HIGHexamples/navigation/segmented_widget/demo.py0demo{background: white} qlabel{ font: 20px 'segoe ui'; background: rgb(242,242,242); border-radius: 8px; }STRING
Cross-Language Confusion12 hits · 75 pts
SeverityFileLineSnippetContext
HIGHqfluentwidgets/common/icon.py202 indexes = range(pathNodes.length()) if not indexes else indexesCODE
HIGHqfluentwidgets/common/icon.py209 return dom.toString()CODE
HIGHqfluentwidgets/window/fluent_window.py155 qrouter.push(self.stackedWidget, widget.objectName())CODE
HIGHexamples/gallery/app/view/navigation_view_interface.py123 qrouter.push(self.stackedWidget, widget.objectName())CODE
HIGHexamples/gallery/app/view/navigation_view_interface.py260 qrouter.push(self.stackedWidget, widget.objectName())CODE
HIGHexamples/navigation/navigation2/demo.py205 qrouter.push(self.stackWidget, widget.objectName())CODE
HIGHexamples/navigation/navigation1/demo.py161 # qrouter.push(self.stackWidget, widget.objectName())COMMENT
HIGH⚡examples/date_time/time_picker/demo.py53 self.datePicker1.dateChanged.connect(lambda t: print(t.toString()))CODE
HIGH⚡examples/date_time/time_picker/demo.py54 self.datePicker2.dateChanged.connect(lambda t: print(t.toString()))CODE
HIGH⚡examples/date_time/time_picker/demo.py55 self.timePicker1.timeChanged.connect(lambda t: print(t.toString()))CODE
HIGH⚡examples/date_time/time_picker/demo.py56 self.timePicker2.timeChanged.connect(lambda t: print(t.toString()))CODE
HIGH⚡examples/date_time/time_picker/demo.py57 self.timePicker3.timeChanged.connect(lambda t: print(t.toString()))CODE
Deep Nesting31 hits · 31 pts
SeverityFileLineSnippetContext
LOW…uentwidgets/components/settings/expand_setting_card.py115CODE
LOW…luentwidgets/components/dialog_box/mask_dialog_base.py96CODE
LOWqfluentwidgets/components/layout/flow_layout.py198CODE
LOWqfluentwidgets/components/layout/flow_layout.py266CODE
LOW…luentwidgets/components/navigation/navigation_panel.py715CODE
LOWqfluentwidgets/components/widgets/tool_tip.py322CODE
LOWqfluentwidgets/components/widgets/info_badge.py117CODE
LOWqfluentwidgets/components/widgets/teaching_tip.py57CODE
LOWqfluentwidgets/components/widgets/command_bar.py96CODE
LOWqfluentwidgets/components/widgets/combo_box.py79CODE
LOWqfluentwidgets/components/widgets/frameless_window.py24CODE
LOWqfluentwidgets/components/widgets/menu.py1087CODE
LOWqfluentwidgets/components/widgets/button.py303CODE
LOWqfluentwidgets/components/widgets/button.py504CODE
LOWqfluentwidgets/components/widgets/button.py1008CODE
LOWqfluentwidgets/components/widgets/switch_button.py221CODE
LOWqfluentwidgets/components/widgets/tab_view.py487CODE
LOWqfluentwidgets/components/widgets/tab_view.py639CODE
LOWqfluentwidgets/components/widgets/table_view.py118CODE
LOWqfluentwidgets/components/widgets/model_combo_box.py75CODE
LOWqfluentwidgets/common/image_utils.py120CODE
LOWqfluentwidgets/common/image_utils.py139CODE
LOWqfluentwidgets/common/image_utils.py158CODE
LOWqfluentwidgets/common/config.py349CODE
LOWqfluentwidgets/common/style_sheet.py462CODE
LOWqfluentwidgets/common/animation.py29CODE
LOWqfluentwidgets/common/animation.py140CODE
LOWqfluentwidgets/common/animation.py228CODE
LOWqfluentwidgets/common/overload.py26CODE
LOWqfluentwidgets/common/overload.py27CODE
LOWqfluentwidgets/common/smooth_scroll.py186CODE
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGH…uentwidgets/components/navigation/navigation_widget.py315except:CODE
HIGH…uentwidgets/components/navigation/navigation_widget.py304except:CODE
HIGHqfluentwidgets/components/widgets/combo_box.py310except:CODE
HIGHqfluentwidgets/components/widgets/info_bar.py199except RuntimeError:CODE
HIGHqfluentwidgets/components/widgets/model_combo_box.py328except:CODE
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOWexamples/navigation/navigation2/demo.py161 #!IMPORTANT: don't forget to set the default route keyCOMMENT
LOWexamples/navigation/navigation2/demo.py161 #!IMPORTANT: don't forget to set the default route keyCOMMENT
LOWexamples/navigation/navigation1/demo.py107 #!IMPORTANT: don't forget to set the default route key if you enable the return buttonCOMMENT
LOWexamples/navigation/navigation1/demo.py107 #!IMPORTANT: don't forget to set the default route key if you enable the return buttonCOMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWexamples/navigation/stacked_widget/demo.py11LOREM = ('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et 'CODE
LOWexamples/navigation/stacked_widget/demo.py11LOREM = ('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et 'CODE
LOWexamples/navigation/stacked_widget/demo.py78 'Lorem ipsum dolor sit amet, consectetur adipiscing elit', self)CODE
LOWexamples/navigation/stacked_widget/demo.py78 'Lorem ipsum dolor sit amet, consectetur adipiscing elit', self)CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWqfluentwidgets/components/widgets/scroll_bar.py636 # Check if the vertical scroll is at its limitCOMMENT
LOWqfluentwidgets/components/widgets/scroll_bar.py640 # Check if the horizontal scroll is at its limitCOMMENT
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocs/.readthedocs.yaml21 # builder: "dirhtml"COMMENT
LOWexamples/navigation/navigation1/demo.py81COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWqfluentwidgets/components/widgets/flyout.py306CODE