AI Slop Code Risk Monitor

AntonOsika/gpt-engineer

SlopCodeMonitor badge for AntonOsika/gpt-engineer Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

CLI platform to experiment with codegen. Precursor to: https://lovable.dev

29.3 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for AntonOsika/gpt-engineer, a Python project with 54,937 GitHub stars. SynthScan examined 13,106 lines of code across 121 source files, recording 198 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 29.3 (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.

29.3
Adjusted Signal
29.3
Raw Pattern Score
100%
Time Factor
2025-05-14
Last Push
54.9K
Stars
Python
Language
13.1K
Lines of Code
121
Files
198
Pattern Hits
2026-11-27
Scan Date
0.28
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.

Cognitive Ownership Risk 50.2/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 46.4/100 · MEDIUM

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

Agent Over-Engineering Ratio 39.6/100 · MEDIUM

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

PR Review Velocity Impact 78.6/100 · CRITICAL

Which changes need focused human review? 198 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

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

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 34MEDIUM 18LOW 146

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 198 distinct pattern matches across 16 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-Language Confusion29 hits · 155 pts
SeverityFileLineSnippetContext
HIGH⚡tests/tools/example_snake_files.py125var food = null;CODE
HIGH⚡tests/tools/example_snake_files.py134 if (event.keyCode == 37 && d != "RIGHT") {CODE
HIGH⚡tests/tools/example_snake_files.py136 } else if (event.keyCode == 38 && d != "DOWN") {CODE
HIGH⚡tests/tools/example_snake_files.py138 } else if (event.keyCode == 39 && d != "LEFT") {CODE
HIGH⚡tests/tools/example_snake_files.py140 } else if (event.keyCode == 40 && d != "UP") {CODE
HIGH⚡tests/tools/example_snake_files.py170 if (snakeX == food.x && snakeY == food.y) {CODE
HIGH⚡tests/tools/example_snake_files.py172 food = null;CODE
HIGH⚡tests/tools/example_snake_files.py182 if (snakeX < 0 || snakeY < 0 || snakeX > 19 * box || snakeY > 19 * box || collision(newHead, snake)) {CODE
HIGH⚡tests/tools/example_snake_files.py1545 if (i == y && j == x)CODE
HIGH⚡tests/tools/example_snake_files.py1547 else if (i == fruitY && j == fruitX)CODE
HIGH⚡tests/tools/example_snake_files.py1555 if (tailX[k] == j && tailY[k] == i)CODE
HIGHtests/tools/example_snake_files.py152 if (food == null) {CODE
HIGHtests/tools/example_snake_files.py193 if (head.x == array[i].x && head.y == array[i].y) {CODE
HIGHtests/tools/example_snake_files.py562 if (newHead.X == game.Food.X && newHead.Y == game.Food.Y)CODE
HIGHtests/tools/example_snake_files.py576 if (head.X < 0 || head.Y < 0 || head.X >= 10 || head.Y >= 10)CODE
HIGHtests/tools/example_snake_files.py580 if (game.Snake.Body.Take(game.Snake.Body.Count - 1).Any(p => p.X == head.X && p.Y == head.Y))CODE
HIGHtests/tools/example_snake_files.py744 @snake[1..-1].include?(head) || head[0] == 0 || head[1] == 0 || head[0] == 9 || head[1] == 9CODE
HIGHtests/tools/example_snake_files.py1052 if head.X < 0 || head.Y < 0 || head.X >= game.Width || head.Y >= game.Height {CODE
HIGHtests/tools/example_snake_files.py1075 return trueCODE
HIGHtests/tools/example_snake_files.py1078 return falseCODE
HIGHtests/tools/example_snake_files.py1254 if (x[0] == apple_x && y[0] == apple_y) {CODE
HIGHtests/tools/example_snake_files.py1288 if (z > 4 && x[0] == x[z] && y[0] == y[z]) {CODE
HIGHtests/tools/example_snake_files.py1644 if (tailX[i] == x && tailY[i] == y)CODE
HIGHtests/tools/example_snake_files.py1647 if (x == fruitX && y == fruitY)CODE
HIGHtests/tools/example_snake_files.py1752 if (snake->body[0].x == fruit->position.x && snake->body[0].y == fruit->position.y) {CODE
HIGHtests/tools/example_snake_files.py1785 if (snake->body[0].x <= 0 || snake->body[0].x >= WIDTH || snake->body[0].y <= 0 || snake->body[0].y >= HEIGHT)CODE
HIGHtests/tools/example_snake_files.py1789 if (snake->body[0].x == snake->body[i].x && snake->body[0].y == snake->body[i].y)CODE
HIGHgpt_engineer/core/default/disk_execution_env.py56 self.files.push(files)CODE
HIGHgpt_engineer/applications/cli/main.py550 files.push(files_dict)CODE
Hyper-Verbose Identifiers89 hits · 92 pts
SeverityFileLineSnippetContext
LOWtests/ai_cache.json1{"[{\"type\": \"system\", \"data\": {\"content\": \"You will get instructions for code to write.\\nYou will write a veryCODE
LOWtests/test_project_config.py70def test_config_from_dict_with_openapi():CODE
LOWtests/test_install.py89def test_installed_main_execution(tmp_path, monkeypatch):CODE
LOWtests/benchmark/test_BenchConfig.py57 def test_from_dict_valid_dict(self):CODE
LOWtests/benchmark/test_BenchConfig.py84 def test_from_toml_invalid_path(self):CODE
LOW⚡tests/core/test_chat_to_files.py183def test_case_insensitivity_and_whitespace():STRING
LOW⚡tests/core/test_chat_to_files.py188def test_length_and_character_frequency():STRING
LOW⚡tests/core/test_chat_to_files.py198def insert_string_in_lined_string(string, to_insert, line_number):STRING
LOW⚡tests/core/test_chat_to_files.py204def test_diff_changing_one_file():STRING
LOW⚡tests/core/test_chat_to_files.py212def test_diff_adding_one_file():STRING
LOW⚡tests/core/test_chat_to_files.py220def test_diff_changing_two_files():STRING
LOW⚡tests/core/test_chat_to_files.py228def test_validate_diff_correct():STRING
LOW⚡tests/core/test_chat_to_files.py235def test_correct_distorted_numbers():STRING
LOW⚡tests/core/test_chat_to_files.py244def test_correct_skipped_lines():STRING
LOWtests/core/test_chat_to_files.py265def test_correct_skipped_lines_and_number_correction():STRING
LOW⚡tests/core/test_chat_to_files.py353def test_simple_calculator_diff():STRING
LOW⚡tests/core/test_chat_to_files.py357def test_complex_temperature_converter_diff():STRING
LOW⚡tests/core/test_chat_to_files.py361def test_complex_task_master_diff():STRING
LOW⚡tests/core/test_salvage_correct_hunks.py46def test_validation_and_apply_complex_diff():CODE
LOW⚡tests/core/test_salvage_correct_hunks.py51def test_validation_and_apply_long_diff():CODE
LOW⚡tests/core/test_salvage_correct_hunks.py56def test_validation_and_apply_wrong_diff():CODE
LOW⚡tests/core/test_salvage_correct_hunks.py63def test_validation_and_apply_non_change_diff():CODE
LOWtests/core/test_salvage_correct_hunks.py78def test_create_two_new_files():CODE
LOWtests/core/test_file_selector_enhancements.py19def set_file_selector_tmpproject(tmp_path):CODE
LOWtests/core/test_file_selector_enhancements.py42def test_file_selector_enhancement_skip_file_selector(tmp_path):CODE
LOWtests/core/test_file_selector_enhancements.py51def test_file_selector_enhancement_sort(tmp_path):CODE
LOWtests/core/test_git.py16def test_verify_git_installed():CODE
LOW⚡tests/core/test_git.py63def test_filter_by_uncommitted_changes():CODE
LOW⚡tests/core/test_git.py84def test_filter_by_uncommitted_changes_ignore_staged_files():CODE
LOW⚡tests/core/test_git.py98def test_filter_by_uncommitted_changes_ignore_untracked():CODE
LOWtests/core/test_token_usage.py80def test_list_type_message_with_image():CODE
LOWtests/core/default/test_disk_execution_env.py21 def test_successful_execution(self):CODE
LOWtests/core/default/test_disk_execution_env.py43 def test_keyboard_interrupt_handling(self):STRING
LOWtests/core/default/test_disk_execution_env.py60 def test_execution_with_output(self):STRING
LOWtests/core/default/test_steps.py81 def test_generates_code_using_ai_model(self):STRING
LOWtests/core/default/test_steps.py100 def test_generated_code_saved_to_disk(self):STRING
LOWtests/core/default/test_steps.py118 def test_raises_type_error_if_keys_not_strings_or_path_objects(self):STRING
LOWtests/core/default/test_steps.py133 def test_raises_type_error_if_values_not_strings(self):STRING
LOWtests/core/default/test_steps.py148 def test_raises_key_error_if_file_not_exist_in_database(self):STRING
LOWtests/core/default/test_steps.py164 def test_called_from_function(self):STRING
LOWtests/core/default/test_steps.py177 def test_constructs_system_prompt_with_predefined_instructions_and_philosophies(STRING
LOWtests/core/default/test_steps.py191 def test_constructs_system_prompt(self):STRING
LOWtests/core/default/test_steps.py215 def test_valid_input_generates_valid_entrypoint(self):STRING
LOWtests/core/default/test_steps.py245 def test_empty_codebase_returns_empty_entrypoint(self):STRING
LOWtests/core/default/test_steps.py269 def test_improve_existing_code(self, tmp_path):STRING
LOWtests/core/default/test_disk_file_repository.py105 def test_delete_file_or_directory(self, tmp_path):CODE
LOWtests/core/default/test_simple_agent.py45 "main.py": "def write_hello_world_to_file(filename):\n \"\"\"\n Writes 'Hello World!' to the specifiedCODE
LOWtests/applications/cli/test_learning.py9def test_human_review_input_no_concent_returns_none():CODE
LOWtests/applications/cli/test_learning.py16def test_human_review_input_consent_code_ran_no_comments():CODE
LOWtests/applications/cli/test_learning.py29def test_human_review_input_consent_code_ran_not_perfect_but_useful_no_comments():CODE
LOWtests/applications/cli/test_learning.py42def test_check_collection_consent_yes():CODE
LOWtests/applications/cli/test_learning.py53def test_check_collection_consent_no_ask_collection_consent():CODE
LOWtests/applications/cli/test_learning.py64def test_ask_collection_consent_yes():CODE
LOWtests/applications/cli/test_learning.py71def test_ask_collection_consent_no():CODE
LOWtests/applications/cli/test_cli_agent.py20def test_init_standard_config(monkeypatch):CODE
LOWtests/applications/cli/test_cli_agent.py83def test_init_clarified_gen_config(monkeypatch):CODE
LOWtests/applications/cli/test_cli_agent.py115def test_improve_standard_config(monkeypatch):CODE
LOWtests/applications/cli/test_cli_agent.py120 "main.py": "def write_hello_world_to_file(filename):\n \"\"\"\n Writes 'Hello World!' to the specifiedCODE
LOW⚡tests/applications/cli/test_collection_consent.py33def test_check_consent_file_exists_and_true(cleanup):CODE
LOW⚡tests/applications/cli/test_collection_consent.py38def test_check_consent_file_exists_and_false(cleanup):CODE
29 more matches not shown…
Self-Referential Comments14 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_install.py14# Define the directory for the virtual environment.COMMENT
MEDIUMtests/test_install.py31 # Create a virtual environment with pip available.COMMENT
MEDIUMtests/benchmark/test_BenchConfig.py14 # Creating a BenchConfig object with default values should return an instance of BenchConfig with all attributes seCOMMENT
MEDIUMtests/benchmark/test_BenchConfig.py30 # Creating a BenchConfig object with specific values should return an instance of BenchConfig with the specified atCOMMENT
MEDIUMtests/core/test_git.py33 # Create a file and stage itCOMMENT
MEDIUM⚡tests/core/test_git.py68 # Create a file and commit itCOMMENT
MEDIUM⚡tests/core/test_git.py89 # Create a file but and stage itCOMMENT
MEDIUM⚡tests/core/test_git.py103 # Create a file but don't track itCOMMENT
MEDIUM⚡tests/core/default/test_steps.py284 # Create a Code object with existing codeSTRING
MEDIUM⚡tests/core/default/test_steps.py293 # Create a BaseRepository object for memorySTRING
MEDIUM⚡tests/core/default/test_steps.py296 # Define the user promptSTRING
MEDIUMdocs/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMgpt_engineer/core/default/disk_memory.py35# This class represents a simple database that stores its tools as files in a directory.COMMENT
MEDIUMgpt_engineer/applications/cli/file_selector.py145 # Define the toml file pathCOMMENT
Over-Commented Block21 hits · 18 pts
SeverityFileLineSnippetContext
LOW.readthedocs.yaml21 - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docsCOMMENT
LOWtests/applications/cli/test_collect.py1"""COMMENT
LOWtests/applications/cli/test_collect.py21# )COMMENT
LOWtests/applications/cli/test_collect.py41# }COMMENT
LOWtests/applications/cli/test_main.py121 )COMMENT
LOWtests/applications/cli/test_main.py301# monkeypatch.setattr("builtins.input", lambda _: next(gen))COMMENT
LOWtests/applications/cli/test_main.py321# File: main.pyCOMMENT
LOWtests/applications/cli/test_main.py341# ) -> FilesDict:COMMENT
LOWtests/applications/cli/test_main.py361# # Call the original function with modified messages or define your own logicCOMMENT
LOWtests/applications/cli/test_main.py381# )COMMENT
LOWtests/applications/cli/test_main.py401# )COMMENT
LOWtests/applications/cli/test_main.py421# mock_salvage_correct_hunks,COMMENT
LOWtests/applications/cli/test_main.py441# ```COMMENT
LOWdocs/conf.py1#!/usr/bin/env pythonCOMMENT
LOWdocs/conf.py41author = " Anton Osika & Contributors"COMMENT
LOWdocs/conf.py121COMMENT
LOWdocs/conf.py141COMMENT
LOW.github/workflows/automation.yml21 # Add additional jobs as neededCOMMENT
LOWgpt_engineer/__init__.py1# Adding convenience imports to the packageCOMMENT
LOWgpt_engineer/applications/cli/collect.py121 except RuntimeError:COMMENT
LOWgpt_engineer/applications/cli/cli_agent.py221 # combined_dict = {**files_dict, **entrypoint}COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHgpt_engineer/benchmark/benchmarks/mbpp/load.py0module for loading apps evaluation tasks. this module provides functionality to load tasks for evaluating gpt-based modeSTRING
HIGHgpt_engineer/benchmark/benchmarks/gptme/load.py0module for loading apps evaluation tasks. this module provides functionality to load tasks for evaluating gpt-based modeSTRING
HIGHgpt_engineer/benchmark/benchmarks/apps/load.py0module for loading apps evaluation tasks. this module provides functionality to load tasks for evaluating gpt-based modeSTRING
Redundant / Tautological Comments8 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/core/test_git.py39 # Check if the file is stagedCOMMENT
LOW⚡tests/core/test_git.py78 # Check if the file is stagedCOMMENT
LOW⚡tests/core/test_git.py94 # Check if the file is stagedCOMMENT
LOW⚡tests/core/test_git.py107 # Check if the file is stagedCOMMENT
LOWtests/core/test_token_usage.py59 # Check if the image file existsCOMMENT
LOWscripts/legacy_benchmark.py194 # Write the fileCOMMENT
LOWgpt_engineer/core/git.py72 # Check if there's a git repo and verify that there aren't any uncommitted changesCOMMENT
LOWgpt_engineer/applications/cli/file_selector.py491 if root.is_dir(): # Check if root is a directory before iteratingCODE
Excessive Try-Catch Wrapping11 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/test_install.py44 except Exception as e:CODE
LOWgpt_engineer/core/linting.py25 except Exception as error:CODE
LOWgpt_engineer/core/token_usage.py295 except Exception as e:CODE
MEDIUMgpt_engineer/core/token_usage.py296 print(f"Error calculating usage cost: {e}")CODE
LOWgpt_engineer/core/default/steps.py383 except Exception as e:STRING
LOWgpt_engineer/applications/cli/file_selector.py238 except Exception:CODE
LOWgpt_engineer/applications/cli/file_selector.py245 except Exception:CODE
LOWgpt_engineer/applications/cli/file_selector.py338 except Exception as e:CODE
MEDIUMgpt_engineer/applications/cli/file_selector.py339 print("An error occurred while trying to display the file tree:", e)CODE
LOWgpt_engineer/applications/cli/main.py263 except Exception as e:CODE
MEDIUMgpt_engineer/applications/cli/main.py254def get_installed_packages():CODE
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWprojects/example-improve/controller.py9CODE
LOWprojects/example-improve/view.py8CODE
LOWscripts/clean_benchmarks.py17CODE
LOWgpt_engineer/core/chat_to_files.py69CODE
LOWgpt_engineer/core/chat_to_files.py123CODE
LOWgpt_engineer/core/chat_to_files.py164CODE
LOWgpt_engineer/core/token_usage.py142CODE
LOWgpt_engineer/core/diff.py133CODE
LOWgpt_engineer/core/diff.py200CODE
LOWgpt_engineer/core/default/file_store.py52CODE
LOWgpt_engineer/applications/cli/main.py281CODE
Magic Placeholder Names1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHdocker-compose.yml13 # - OPENAI_API_KEY=YOUR_API_KEYCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHgpt_engineer/applications/cli/file_selector.py238except Exception:CODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWgpt_engineer/core/chat_to_files.py35logger = logging.getLogger(__name__)CODE
LOWgpt_engineer/core/ai.py47logger = logging.getLogger(__name__)CODE
LOWgpt_engineer/core/token_usage.py28logger = logging.getLogger(__name__)CODE
LOWgpt_engineer/core/token_usage.py193 def update_log(self, messages: List[Message], answer: str, step_name: str) -> None:CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/ai_cache.json1{"[{\"type\": \"system\", \"data\": {\"content\": \"You will get instructions for code to write.\\nYou will write a veryCODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/test_api.py26CODE
LOWgpt_engineer/applications/cli/main.py281CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgpt_engineer/core/diff.py347 # make sure to not cut so much that the start_line gets out of rangeCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWgpt_engineer/core/ai.py16CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWtests/core/default/test_steps.py166 def test_function():STRING