Repository Analysis

zhiyiYo/PyQt-Fluent-Widgets

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

18.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of zhiyiYo/PyQt-Fluent-Widgets, a Python project with 8,045 GitHub stars. SynthScan v2.0 examined 50,194 lines of code across 244 source files, recording 826 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 18.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).

18.5
Adjusted Score
18.5
Raw Score
100%
Time Factor
2026-08-01
Last Push
8.0K
Stars
Python
Language
50.2K
Lines of Code
244
Files
826
Pattern Hits
2026-08-02
Scan Date
0.16
HC Hit Rate

What These Metrics Mean

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

Score History

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

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 40MEDIUM 0LOW 786

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 9 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.

Unused Imports742 hits · 664 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
682 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
HIGHexamples/date_time/time_picker/demo.py53 self.datePicker1.dateChanged.connect(lambda t: print(t.toString()))CODE
HIGHexamples/date_time/time_picker/demo.py54 self.datePicker2.dateChanged.connect(lambda t: print(t.toString()))CODE
HIGHexamples/date_time/time_picker/demo.py55 self.timePicker1.timeChanged.connect(lambda t: print(t.toString()))CODE
HIGHexamples/date_time/time_picker/demo.py56 self.timePicker2.timeChanged.connect(lambda t: print(t.toString()))CODE
HIGHexamples/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
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