AI Slop Code RIsk Monitor

PySimpleGUI/PySimpleGUI

Python GUIs for Humans! Create any GUI simple or complicated in a way that's intuitive. Launched in 2018. NEW for 2026 - the LGPL3 Version 6. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.

33.8 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for PySimpleGUI/PySimpleGUI, a Python project with 13,825 GitHub stars. SynthScan examined 37,014 lines of code across 353 source files, recording 486 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 33.8 (High 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.

33.8
Adjusted Signal
33.8
Raw Pattern Score
100%
Time Factor
2026-08-30
Last Push
13.8K
Stars
Python
Language
37.0K
Lines of Code
353
Files
486
Pattern Hits
2026-10-12
Scan Date
0.46
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 31.8/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 5.0/100 · LOW

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

Agent Over-Engineering Ratio 73.0/100 · HIGH

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

PR Review Velocity Impact 85.2/100 · CRITICAL

Which changes need focused human review? 486 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 161MEDIUM 63LOW 262

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

Cross-File Repetition129 hits · 645 pts
SeverityFileLineSnippetContext
HIGHDemoPrograms/Demo_Graph_Drawing.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Button_Click.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_GoodColors.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Borderless_Window.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Desktop_Widget_CPU_Graph.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Canvas.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Pong_Multiple_Platforms.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Listbox_Search_Filter.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Table_Pandas.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Media_Player.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Nice_Buttons.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Color_Chooser_Custom.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…_Game_Frontend_Battleship_Single_List_Comprehension.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Tabs.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Matplotlib_Animated.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Design_Pattern_Persistent_Window.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_OpenCV_4_Line_Program.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Table_Simulation.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Window_Disappear.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Machine_Learning.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Table_CSV.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Menu_With_Toolbar.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Matplotlib_Animated_Scatter.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…emo_Game_Frontend_Battleship_No_List_Comprehensions.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_YouTube_Intro.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Keyboard.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Game_Frontend_Battleship.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Sort_Visualizer.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Keypad.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Notification_Window_Alpha_Channel.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…Programs/Demo_Desktop_Widget_CPU_Utilization_Simple.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Font_Sizer.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Script_Launcher.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Buttons_Mac.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Pi_LEDs.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Keyboard_Realtime.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Paned_Window.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…emo_Theme_Dark_Custom_Elements_Check_Toggle_Buttons.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_MIDI_Player.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_Matplotlib_Styles.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGH…rams/Demo_Matplotlib_Image_Elem_Spetrogram_Animated.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_Matplotlib_Embedded_TEMPLATE.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_Matplotlib_Image_Elem.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_User_Settings.py0saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previousSTRING
HIGHDemoPrograms/Demo_User_Settings_Config_INI_Format.py0saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previousSTRING
HIGHDemoPrograms/Demo_User_Settings_Class.py0saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previousSTRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0============================================================= demo of the histogram (hist) function with multiple data sSTRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0============================================================= demo of the histogram (hist) function with multiple data sSTRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0============================================================= demo of the histogram (hist) function with multiple data sSTRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0========================================= demo of artist customization in box plots ====================================STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0========================================= demo of artist customization in box plots ====================================STRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0========================================= demo of artist customization in box plots ====================================STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf.STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf.STRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf.STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0create a radar chart with `num_vars` axes. this function creates a radaraxes projection and registers it. parameters ---STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0create a radar chart with `num_vars` axes. this function creates a radaraxes projection and registers it. parameters ---STRING
69 more matches not shown…
Empty Error Handlers31 hits · 155 pts
SeverityFileLineSnippetContext
HIGHDemoPrograms/Demo_Sudoku.py46except ValueError:CODE
HIGHDemoPrograms/Demo_Sudoku.py93except:CODE
HIGHDemoPrograms/Demo_Sudoku.py144except:CODE
HIGHDemoPrograms/Demo_Desktop_Floating_Toolbar.py95except:CODE
HIGH…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py518except Exception as e:CODE
HIGHDemoPrograms/Demo_Desktop_Widget_CPU_Graph.py33except:CODE
HIGHDemoPrograms/Demo_Multi_Window_read_all_windows.py47except:CODE
HIGHDemoPrograms/Demo_Multi_Window_read_all_windows.py41except:CODE
HIGHDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py327except:CODE
HIGHDemoPrograms/Demo_Google_TTS.py50except:CODE
HIGHDemoPrograms/Demo_Google_TTS.py54except:CODE
HIGHDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py48except Exception as e:CODE
HIGHDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py72except:CODE
HIGHDemoPrograms/Demo_Table_Simulation.py83except:CODE
HIGHDemoPrograms/Demo_Table_Simulation.py73except:CODE
HIGHDemoPrograms/Demo_psutil_Kill_Python_Processes.py68except: passCODE
HIGHDemoPrograms/Demo_psutil_Kill_Python_Processes.py134except Exception as e:CODE
HIGHDemoPrograms/Demo_Mouseover_Images.py82except FileExistsError: # folder already exists is fineCODE
HIGHDemoPrograms/Demo_Image_Viewer_Thumbnails.py90except:CODE
HIGHDemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py72except Exception as e:CODE
HIGHDemoPrograms/Demo_GitHub_File_Copier.py82except Exception as e:CODE
HIGHDemoPrograms/Demo_Emoji_Toolbar_PIL.py134except:CODE
HIGHDemoPrograms/Demo_Multithreaded_popup.py50except queue.Empty: # get_nowait() will get exception when Queue is emptyCODE
HIGHDemoPrograms/Demo_Unicode_Characters.py90except: passCODE
HIGHDemoPrograms/Demo_Unicode_Characters.py93except: passCODE
HIGHDemoPrograms/Demo_Unicode_Characters.py73except: passCODE
HIGHDemoPrograms/Demo_Color_Names_Smaller_List.py112except:CODE
HIGHDemoPrograms/Demo_Script_Launcher.py45except:CODE
HIGHDemoPrograms/Demo_Buttons_Base64_User_Settings.py77except:CODE
HIGHDemoPrograms/Demo_Password_Login.py50except:CODE
HIGHDemoPrograms/Demo_Demo_Programs_Browser.py305except:CODE
Deep Nesting109 hits · 108 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Desktop_Widget_Launcher_Bar.py87CODE
LOWDemoPrograms/Demo_Sudoku.py22CODE
LOWDemoPrograms/Demo_Sudoku.py54CODE
LOWDemoPrograms/Demo_Sudoku.py102CODE
LOWDemoPrograms/Demo_Desktop_Floating_Toolbar.py24CODE
LOW…Programs/Demo_Titlebar_Custom_Multiple_Combinations.py122CODE
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py17CODE
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py90CODE
LOWDemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py86CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py80CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py310CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py373CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py767CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py862CODE
LOWDemoPrograms/Demo_Button_Toggle.py15CODE
LOW…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py160CODE
LOWDemoPrograms/Demo_Input_Auto_Complete.py28CODE
LOW…moPrograms/Demo_Notification_Window_Multiprocessing.py42CODE
LOWDemoPrograms/Demo_Desktop_Widget_Email_Notification.py72CODE
LOWDemoPrograms/Demo_Titlebar_Element.py21CODE
LOWDemoPrograms/Demo_All_Elements.py97CODE
LOWDemoPrograms/Demo_Progress_Meters.py34CODE
LOWDemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py42CODE
LOWDemoPrograms/Demo_HowDoI.py18CODE
LOWDemoPrograms/Demo_Pong_Multiple_Platforms.py143CODE
LOWDemoPrograms/Demo_Save_Windows_As_Images.py103CODE
LOWDemoPrograms/Demo_Game_Wordle.py36CODE
LOWDemoPrograms/Demo_System_Tray_Icon_Using_psgtray.py25CODE
LOWDemoPrograms/Demo_Menubar_Custom_and_Traditional.py54CODE
LOWDemoPrograms/Demo_Simple_Material_Feel.py53CODE
LOWDemoPrograms/Demo_Multithreaded_ProgressBar.py51CODE
LOWDemoPrograms/Demo_Execute_Py.py28CODE
LOWDemoPrograms/Demo_Table_Pandas.py14CODE
LOWDemoPrograms/Demo_OpenCV_Webcam.py15CODE
LOWDemoPrograms/Demo_User_Settings_Config_INI_Format.py39CODE
LOWDemoPrograms/Demo_Multithreaded_Long_Tasks.py39CODE
LOWDemoPrograms/Demo_System_Tray_Icon_psgtray_No_Window.py29CODE
LOWDemoPrograms/Demo_Multithreaded_DataPump.py107CODE
LOWDemoPrograms/Demo_Youtube-dl_Frontend.py65CODE
LOWDemoPrograms/Demo_Touch_Keyboard.py33CODE
LOWDemoPrograms/Demo_Desktop_Widget_Date.py117CODE
LOWDemoPrograms/Demo_Email_Send.py69CODE
LOWDemoPrograms/Demo_Chat_With_History.py19CODE
LOWDemoPrograms/Demo_PIL_Use.py88CODE
LOW…s/Demo_Design_Pattern_Multiple_Windows_Both_Visible.py36CODE
LOW…oPrograms/Demo_Desktop_Widget_Digital_Picture_Frame.py152CODE
LOW…s/Demo_Graph_Drawing_And_Dragging_Figures_2_Windows.py32CODE
LOW…Programs/Demo_System_Tray_GUI_Window_Design_Pattern.py46CODE
LOWDemoPrograms/Demo_User_Settings_Auto_Load_and_Save.py31CODE
LOWDemoPrograms/Demo_Notification_Window_Fade_In_Out.py36CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py348CODE
LOWDemoPrograms/Demo_Graph_Drawing_And_Dragging_Figures.py28CODE
LOWDemoPrograms/Demo_Design_Pattern_Multiple_Windows.py31CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py82CODE
LOWDemoPrograms/Demo_Reddit_Search.py60CODE
LOWDemoPrograms/Demo_Post_An_Issue.py124CODE
LOWDemoPrograms/Demo_Post_An_Issue.py246CODE
LOWDemoPrograms/Demo_Desktop_Widget_psutil_Dashboard.py58CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Dashboard.py57CODE
LOWDemoPrograms/Demo_Desktop_Widget_Postit.py36CODE
49 more matches not shown…
Self-Referential Comments26 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUM⚡…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py70 # Create the weather columns layoutCOMMENT
MEDIUM⚡…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py80 # Create the overall layoutCOMMENT
MEDIUM⚡…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py88 # Create the windowCOMMENT
MEDIUMDemoPrograms/Demo_NonBlocking_Form.py15 # Create a text element that will be updated with status information on the GUI itselfCOMMENT
MEDIUMDemoPrograms/Demo_NonBlocking_Form.py16 # Create the rowsCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_2D_Graphics.py26 # Create a Body with mass and momentCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_2D_Graphics.py30 # Create a box shape and attach to bodyCOMMENT
MEDIUMDemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py52 window.job_running = False # Create a member variable to signal to the thread when to stopCODE
MEDIUMDemoPrograms/Demo_Mini_Window.py79 # Create the new layout inside a frame element so that it'll have a nice border. Requires PySimpleGUI version >=COMMENT
MEDIUMDemoPrograms/Demo_Nice_Buttons.py76 # Create a string variable name to hold your imageCOMMENT
MEDIUMDemoPrograms/Demo_PyGame_Snake_Game.py83# Create an initial snakeCOMMENT
MEDIUMDemoPrograms/Demo_User_Setting_Save_Window_Inputs.py26# Create a UserSettings object. The JSON file will be saved in the same folder as this .py fileCOMMENT
MEDIUMDemoPrograms/Demo_Chatterbot.py69# Create a new trainer for the chatbotCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_Desktop_Balls.py16 # Create a Body with mass and momentCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_Desktop_Balls.py19 # Create a box shape and attach to bodyCOMMENT
MEDIUMDemoPrograms/Demo_PyCharm_Launcher.py53 # Create the WindowCOMMENT
MEDIUMDemoPrograms/Demo_Buttons_Base64_Simple.py21# Define the window's layoutCOMMENT
MEDIUMDemoPrograms/Demo_Buttons_Base64_Simple.py26# Create the windowCOMMENT
MEDIUMDemoPrograms/Demo_Button_Toggle2.py106# Define the button graphic base 64 strings and then call the main functionCOMMENT
MEDIUMDemoPrograms/Demo_Theme_Color_Swatches.py37 # Create the pain part, the rows of Text with color swatchesCOMMENT
MEDIUMDemoPrograms/Demo_Class_Wrapper.py67# Create the classCOMMENT
MEDIUMDemoPrograms/Demo_Graph_Drag_Rectangle_Super_Simple.py24 canvas_size=GRAPH_SIZE, graph_bottom_left=(0, 0), graph_top_right=GRAPH_SIZE, # Define the graph areaCODE
MEDIUMDemoPrograms/Demo_Graph_Element_Sine_Wave.py47# Create the graph that will be put into the window. Making outside of layout so have element in a variableCOMMENT
MEDIUMDemoPrograms/Demo_Graph_Ball_Game.py22 # Create a Body with mass and momentCOMMENT
MEDIUMDemoPrograms/Demo_Graph_Ball_Game.py26 # Create a box shape and attach to bodyCOMMENT
MEDIUMDemoPrograms/Demo_Table_Simulation_Arrow_Keys.py29# Create the windowCOMMENT
Excessive Try-Catch Wrapping64 hits · 73 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py78 except Exception:CODE
LOWDemoPrograms/Demo_Base64_Single_Image_Encoder.py35 except Exception as error:CODE
MEDIUMDemoPrograms/Demo_Base64_Single_Image_Encoder.py28def convert_file_to_base64(filename):CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py274 except Exception as e:CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py473 except Exception as e:CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py518 except Exception as e:CODE
MEDIUM…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py940 sg.cprint(f'Error trying to run python file. Error info:', e, c='white on red')STRING
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py939 except Exception as e:STRING
MEDIUM…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py157 print(f"Error fetching data: {e}")CODE
LOWDemoPrograms/Demo_Pong_Multiple_Platforms.py28 except Exception as e:CODE
LOWDemoPrograms/Demo_Save_Windows_As_Images.py99 except Exception as e:CODE
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py859 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Matplotlib_Browser_Paned.py860 print(f'Error removing {figure_agg} from list', e)CODE
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py919 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Matplotlib_Browser_Paned.py920 print('Error in plotting', e)CODE
LOWDemoPrograms/Demo_Exception_Traceback_Popup.py27 except Exception as e:CODE
LOWDemoPrograms/Demo_Youtube-dl_Frontend.py78 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Youtube-dl_Frontend.py65def ExecuteCommandSubprocess(command, wait=False, quiet=True, *args):CODE
LOWDemoPrograms/Demo_Desktop_Widget_Date.py105 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Date.py177 except Exception as e:CODE
LOWDemoPrograms/Demo_Email_Send.py32 except Exception as e:CODE
LOWDemoPrograms/Demo_Email_Send.py47 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py333 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py48 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py109 except Exception as e:CODE
LOWDemoPrograms/Demo_Reddit_Search.py68 except Exception as e:CODE
LOWDemoPrograms/Demo_Reddit_Search.py175 except Exception as e:CODE
LOWDemoPrograms/Demo_psutil_Kill_Python_Processes.py134 except Exception as e:CODE
LOWDemoPrograms/Demo_psutil_Kill_Python_Processes.py176 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Manual_Counter.py83 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Manual_Counter.py120 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Viewer_Thumbnails.py53 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Viewer_Thumbnails.py76 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Viewer_Thumbnails.py109 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Image_Viewer_Thumbnails.py110 print(f'Error on file: {f}', e)CODE
MEDIUMDemoPrograms/Demo_Image_Viewer_Thumbnails.py72def display_image_window(filename):CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py72 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py86 except Exception as e:CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py846 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Matplotlib_Browser.py847 print(f'Error removing {figure_agg} from list', e)CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py894 except Exception as e:CODE
LOWDemoPrograms/Demo_GitHub_File_Copier.py82 except Exception as e:CODE
LOWDemoPrograms/Demo_Save_Any_Window_As_Image.py47 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Days_Counter.py86 except Exception as e:CODE
LOWDemoPrograms/Demo_Emoji_Toolbar_PIL.py89 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Elem_Image_Viewer_PIL_Based.py42 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Elem_Image_Viewer_PIL_Based.py103 except Exception as E:CODE
LOWDemoPrograms/Demo_PNG_Thumbnail_Viewer.py56 except Exception as e:CODE
LOWDemoPrograms/Demo_Date_Chooser.py97 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Weather.py75 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Desktop_Widget_Weather.py76 print('Error getting nearest postal', e)CODE
LOWDemoPrograms/Demo_Desktop_Widget_Weather.py309 except Exception as e:CODE
LOWDemoPrograms/Demo_PyCharm_Launcher.py64 except Exception as e:CODE
LOWDemoPrograms/Demo_PyCharm_Launcher.py87 except Exception as e:CODE
LOWDemoPrograms/Demo_Color_Swatches.py694 except Exception as e:CODE
LOWDemoPrograms/Demo_Demo_Programs_Browser.py280 except Exception as e:CODE
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py133 except Exception as e:CODE
LOWDemoPrograms/Demo_Settings_Save_Load.py29 except Exception as e:CODE
LOWDemoPrograms/Demo_Settings_Save_Load.py41 except Exception as e:CODE
LOWDemoPrograms/Demo_Settings_Save_Load.py67 except Exception as e:CODE
4 more matches not shown…
Decorative Section Separators19 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py20# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py24# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py35# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py37# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py64# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py69# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py108# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py110# ================================================================================COMMENT
MEDIUM…moPrograms/Demo_Notification_Window_Multiprocessing.py24# -------------------------------------------------------------------COMMENT
MEDIUM…moPrograms/Demo_Notification_Window_Multiprocessing.py40# -------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Mini_Window.py26# ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝COMMENT
MEDIUMDemoPrograms/Demo_Mini_Window.py95# ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝COMMENT
MEDIUMDemoPrograms/Demo_Mini_Window.py102# ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝COMMENT
MEDIUMDemoPrograms/Demo_Img_Viewer.py50# ------------------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Img_Viewer.py52# ------------------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Img_Viewer.py66# ------------------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Notification_Window_Fade_In_Out.py19# -------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Notification_Window_Fade_In_Out.py34# -------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Embedded_Toolbar.py72 # -------------------------------COMMENT
Unused Imports38 hits · 38 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py6CODE
LOWDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py7CODE
LOWDemoPrograms/Demo_GoodColors.py2CODE
LOWDemoPrograms/Demo_NonBlocking_Form.py3CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Graph.py3CODE
LOWDemoPrograms/Demo_Graph_Element.py5CODE
LOWDemoPrograms/Demo_Nice_Buttons.py2CODE
LOWDemoPrograms/Demo_Nice_Buttons.py4CODE
LOWDemoPrograms/Demo_Nice_Buttons.py4CODE
LOWDemoPrograms/Demo_Nice_Buttons.py4CODE
LOWDemoPrograms/Demo_Nice_Buttons.py6CODE
LOWDemoPrograms/Demo_Nice_Buttons.py7CODE
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py711CODE
LOWDemoPrograms/Demo_Youtube-dl_Frontend.py2CODE
LOWDemoPrograms/Demo_Tabs.py2CODE
LOWDemoPrograms/Demo_Matplotlib_Animated.py4CODE
LOWDemoPrograms/Demo_OpenCV_Simple_GUI.py3CODE
LOWDemoPrograms/Demo_LED_Indicators.py3CODE
LOWDemoPrograms/Demo_Machine_Learning.py2CODE
LOWDemoPrograms/Demo_Menu_With_Toolbar.py2CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py699CODE
LOWDemoPrograms/Demo_Button_Func_Calls.py2CODE
LOWDemoPrograms/Demo_Chatterbot_With_TTS.py8CODE
LOWDemoPrograms/Demo_Keyboard.py2CODE
LOWDemoPrograms/Demo_Floating_Toolbar.py2CODE
LOWDemoPrograms/Demo_Buttons_Mac.py2CODE
LOWDemoPrograms/Demo_Matplotlib_Two_Windows.py1CODE
LOWDemoPrograms/Demo_Graph_Noise.py4CODE
LOWDemoPrograms/Demo_Pyplot_Bar_Chart.py3CODE
LOW…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py721CODE
LOWPySimpleGUI/__init__.py1CODE
LOWPySimpleGUI/__init__.py2CODE
LOWPySimpleGUI/__main__.py1CODE
AI Structural Patterns24 hits · 24 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py586CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py216CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py66CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py111CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py168CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py213CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py64CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py109CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py165CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py221CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py72CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py117CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py173CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py226CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py76CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py121CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py178CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py580CODE
LOWDemoPrograms/Demo_Date_Chooser.py19CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py216CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py73CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py116CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py169CODE
LOW…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py598CODE
Slop Phrases7 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMDemoPrograms/Demo_Progress_Meters.py101 The sleep calls are here only for demonstration purposes. You should NOT be addingSTRING
MEDIUMDemoPrograms/Demo_Progress_Meters.py216 # Since the progress_bar is an iterator, you can use it within a list comprehensionCOMMENT
MEDIUMDemoPrograms/Demo_Column_Collapsible_Sections.py12 Feel free to modify to use the fonts and sizes of your choosing. It's 1 line of code to make the section.STRING
MEDIUMDemoPrograms/Demo_Matplotlib_Browser_Paned.py306 # but it is good enough to generate a plot that you can useCOMMENT
MEDIUMDemoPrograms/Demo_Justification_Columns.py29# If using an older version of PySimpleGUI, you can add the expansion using these expand method callsCOMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Browser.py303 # but it is good enough to generate a plot that you can useCOMMENT
MEDIUM…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py318 # but it is good enough to generate a plot that you can useCOMMENT
Hyper-Verbose Identifiers16 hits · 16 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py17def cut_ansi_string_into_parts(string_with_ansi_codes):CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py120def get_file_list_full_filename():CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py293def check_modules_on_import_line(line:str):CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py526def window_choose_line_to_edit(filename, full_filename, line_num_list, match_list):CODE
LOWDemoPrograms/Demo_User_Settings.py81def save_previous_filename_demo():CODE
LOWDemoPrograms/Demo_Progress_Meters.py34def demo_one_line_progress_meter():CODE
LOWDemoPrograms/Demo_Progress_Meters.py106def manually_updated_meter_test():CODE
LOWDemoPrograms/Demo_Progress_Meters.py206def demo_iterable_progress_bar():CODE
LOWDemoPrograms/Demo_User_Settings_Config_INI_Format.py39def save_previous_filename_demo():CODE
LOWDemoPrograms/Demo_Post_An_Issue.py17def _github_issue_post_make_markdown(issue_type, operating_system, os_ver, psg_port, psg_ver, gui_ver, python_ver,CODE
LOWDemoPrograms/Demo_Post_An_Issue.py113def _github_issue_post_make_github_link(title, body):CODE
LOWDemoPrograms/Demo_Post_An_Issue.py124def _github_issue_post_validate(values, checklist, issue_types):CODE
LOWDemoPrograms/Demo_GitHub_File_Copier.py262def execute_command_subprocess(command, *args, wait=False):CODE
LOWDemoPrograms/Demo_Script_Launcher.py38def execute_command_nonblocking(command, *args):CODE
LOWDemoPrograms/Demo_User_Settings_Class.py97def save_previous_filename_demo():CODE
LOWDemoPrograms/Demo_Demo_Programs_Browser.py590 def execute_command_subprocess(command, *args, wait=False, cwd=None):CODE
Redundant / Tautological Comments7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py311 # Check if the file existsCOMMENT
LOW⚡…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py316 # Open the fileCOMMENT
LOW⚡…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py319 # Read the file line by lineCOMMENT
LOW⚡…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py322 # Check if the line is an import statementCOMMENT
LOW⚡…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py325 # Check if the module existsCOMMENT
LOW⚡…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py332 # Close the fileCOMMENT
LOW…Demo_Progres_Meter_With_Numeric_Using_Graph_Element.py58 draw_progress(graph, 0) # Set bar to 0 initiallyCODE
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py361# try:COMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py381 :param find_all_matches: if True, then return all matches in the dictionaryCOMMENT
LOWDemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py21# 88 88 88COMMENT
LOWDemoPrograms/Demo_Mini_Window.py81 except NameError:COMMENT
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py301 # must be a list of sequences of x,y tuples; we have onlyCOMMENT
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py541 # See doi:10.1016/j.atmosenv.2008.12.017COMMENT
LOWDemoPrograms/Demo_Multithreaded_DataPump.py41#COMMENT
LOWDemoPrograms/Demo_Matplotlib_Browser.py541 # scenarios:COMMENT
LOWDemoPrograms/Demo_PNG_Thumbnail_Viewer.py61 if resize:COMMENT
LOWDemoPrograms/Demo_Demo_Programs_Browser.py201COMMENT
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py41# MMMM MMMM `88888P' `88888P' dPCOMMENT
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py81# M""""""'YMM ooCOMMENT
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py141# M mmmmm..M 88 88COMMENT
LOWDemoPrograms/Demo_Matplotlib_Image_Elem.py61# 88aaaa 88d888b. .d888b88COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHDemoPrograms/Demo_Input_Auto_Complete.py30 # In this example, the PySimpleGUI Element names are usedCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Debugger_ImWatchingYou.py58 # don't worry about the "state" of things, just call this function "frequently"COMMENT