AI Slop Code Risk Monitor

endless-sky/endless-sky

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

Space exploration, trading, and combat game.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for endless-sky/endless-sky, a C++ project with 7,684 GitHub stars. SynthScan examined 406,439 lines of code across 797 source files, recording 422 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.1 (Low 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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.7K
Stars
C++
Language
406.4K
Lines of Code
797
Files
422
Pattern Hits
2026-10-31
Scan Date
0.00
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-10-31.

Cognitive Ownership Risk 5.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 5.2/100 · LOW

Which changes need focused human review? 422 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 1MEDIUM 4LOW 417

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 422 distinct pattern matches across 8 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.

Over-Commented Block398 hits · 398 pts
SeverityFileLineSnippetContext
LOWsource/ShipInfoDisplay.cpp21#include "Color.h"COMMENT
LOWsource/PlanetPanel.cpp21#include "audio/Audio.h"COMMENT
LOWsource/PlanetPanel.cpp41#include "Preferences.h"COMMENT
LOWsource/Minable.cpp21#include "Flotsam.h"COMMENT
LOWsource/Minable.cpp181COMMENT
LOWsource/PrintData.cpp21#include "Files.h"COMMENT
LOWsource/Ship.h21#include "Armament.h"COMMENT
LOWsource/Ship.h181 // const Sprite *GetSprite() const;COMMENT
LOWsource/Ship.h421 // Returns the remaining damage timer, for the damage overlay.COMMENT
LOWsource/Ship.h481COMMENT
LOWsource/Ship.h521 const std::map<const Outfit *, int> &Outfits() const;COMMENT
LOWsource/Projectile.h81 // This also marks the projectile as needing deletion if it has run out of penetrations.COMMENT
LOWsource/ShopPanel.cpp21#include "Color.h"COMMENT
LOWsource/GameLoadingPanel.cpp21#include "GameData.h"COMMENT
LOWsource/Engine.h21#include "AsteroidField.h"COMMENT
LOWsource/Engine.h61// Class representing the game engine: its job is to track all of the objects inCOMMENT
LOWsource/Hardpoint.cpp21#include "Flotsam.h"COMMENT
LOWsource/PlayerInfoPanel.cpp21#include "text/DisplayText.h"COMMENT
LOWsource/Mortgage.h41 // credit score to zero for a higher interest rate.COMMENT
LOWsource/MenuPanel.cpp21#include "text/Font.h"COMMENT
LOWsource/Gamerules.h41 enum class FleetSizeLimitation {COMMENT
LOWsource/MapPanel.cpp21#include "shader/BatchDrawList.h"COMMENT
LOWsource/MapPanel.cpp41#include "Planet.h"COMMENT
LOWsource/opengl.h21#elseCOMMENT
LOWsource/UI.h21#ifdef ES_USE_SDL3COMMENT
LOWsource/TradingPanel.cpp21#include "shader/FillShader.h"COMMENT
LOWsource/MainPanel.cpp21#include "CoreStartData.h"COMMENT
LOWsource/MainPanel.cpp621 // Pass this event to the player, to update conditions and makeCOMMENT
LOWsource/DataNode.h41COMMENT
LOWsource/Preferences.cpp21#include "DataNode.h"COMMENT
LOWsource/AI.cpp21#include "DistanceMap.h"COMMENT
LOWsource/AI.cpp41#include "Preferences.h"COMMENT
LOWsource/AI.cpp4381 // How many steps will it take this projectileCOMMENT
LOWsource/StartConditionsPanel.cpp21#include "text/DisplayText.h"COMMENT
LOWsource/AmmoDisplay.cpp21#include "text/Format.h"COMMENT
LOWsource/ConditionSet.h121COMMENT
LOWsource/ConditionSet.h141 /// @param lineTokens Tokens to use (and pop from) for parsing.COMMENT
LOWsource/ConditionSet.h161 /// @param node Node on which to report the failures (using node.PrintTrace()).COMMENT
LOWsource/Minable.h61 // Inherited from Body:COMMENT
LOWsource/Minable.h121 // Current angular position relative to the focus of the elliptical orbit,COMMENT
LOWsource/MapPlanetCard.cpp21#include "text/Font.h"COMMENT
LOWsource/OutfitterPanel.cpp21#include "DialogPanel.h"COMMENT
LOWsource/DialogPanel.h21#include "Point.h"COMMENT
LOWsource/ConditionsStore.h21#include <functional>COMMENT
LOWsource/PlayerInfo.h21#include "CoreStartData.h"COMMENT
LOWsource/PlayerInfo.h241 void RemoveSpecialLog(const std::string &category);COMMENT
LOWsource/PlayerInfo.h521COMMENT
LOWsource/PlayerInfo.h541 // can be offered at a time, so this list will only ever contain one orCOMMENT
LOWsource/TaskQueue.h21#include <mutex>COMMENT
LOWsource/MapShipyardPanel.cpp21#include "text/Format.h"COMMENT
LOWsource/DialogPanel.cpp21#include "Command.h"COMMENT
LOWsource/PilotProfile.h41 // Read the profiles and saves directories to construct all known PilotProfiles.COMMENT
LOWsource/FrameTimer.h21COMMENT
LOWsource/Outfit.cpp21#include "Effect.h"COMMENT
LOWsource/ShopPanel.h21#include "Dropdown.h"COMMENT
LOWsource/SavedGame.cpp21#include "Date.h"COMMENT
LOWsource/DistanceMap.h21#include <map>COMMENT
LOWsource/DistanceMap.h41 // a limit on how many systems will be returned (e.g. buying a local map) andCOMMENT
LOWsource/DistanceMap.h81 // Check if we already have a better path to the given system.COMMENT
LOWsource/NPC.cpp21#include "DataWriter.h"COMMENT
338 more matches not shown…
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWutils/check_content_style.py185CODE
LOWutils/check_content_style.py220CODE
LOWutils/check_content_style.py270CODE
LOWutils/check_content_style.py341CODE
LOWutils/check_content_style.py400CODE
LOWutils/check_code_style.py197CODE
LOWutils/check_code_style.py317CODE
LOWutils/check_code_style.py363CODE
LOWutils/check_code_style.py393CODE
LOWutils/check_code_style.py425CODE
LOWutils/check_code_style.py532CODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsource/GameEvent.cpp65 // do a robust "planet definition" check. Similarly, all other GameEvent-creatable objectsCOMMENT
MEDIUMsource/ConversationPanel.cpp510 // TODO: Is there a better / more robust boarding check than relative position?COMMENT
MEDIUMsource/Engine.cpp1613 // so that there is a seamless transition between systems, and entry by taking offCOMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/integration/run_tests.sh155# Set separator to newline (in case tests have spaces in their name)COMMENT
LOWutils/korath-cipher.py137 # Print the results of this line:COMMENT
LOWutils/check_cmake.sh19 # Check if the file is present in the source list.COMMENT
LOWutils/check_cmake.sh31 # Check if the file is present in the source list.COMMENT
LOWutils/check_cmake.sh43 # Check if the file is present in the source list.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHdocs/CONTRIBUTING.md65### On AI-generated/assisted contentCOMMENT
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
LOWutils/check_content_style.py174 except Exception as e:CODE
MEDIUMutils/check_content_style.py171def load_config(config_file):CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsource/CargoHold.cpp599 // map if its value becomes zero, so we need to check if the outfit isCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWutils/check_code_style.py594def check_class_forward_declarations(sanitized_lines, original_lines, file):CODE