AI Slop Code Risk Monitor

The-Powder-Toy/The-Powder-Toy

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

Written in C++ and using SDL, The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for The-Powder-Toy/The-Powder-Toy, a C++ project with 5,389 GitHub stars. SynthScan examined 98,834 lines of code across 750 source files, recording 108 pattern matches distributed across 7 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
5.4K
Stars
C++
Language
98.8K
Lines of Code
750
Files
108
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.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 5.7/100 · LOW

Which changes need focused human review? 108 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 1LOW 106

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 108 distinct pattern matches across 7 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 Block98 hits · 98 pts
SeverityFileLineSnippetContext
LOWchangelog.txt1# This file is used by the starcatcher.us update server to pull changelogs for mod releasesCOMMENT
LOWsrc/PowderToyRenderer.cpp1#include "graphics/Graphics.h"COMMENT
LOWsrc/PowderToy.cpp1#include "PowderToySDL.h"COMMENT
LOWsrc/PowderToy.cpp21#include "gui/game/IntroText.h"COMMENT
LOWsrc/simulation/Simulation.h1#pragma onceCOMMENT
LOWsrc/simulation/SimulationData.h1#pragma onceCOMMENT
LOWsrc/simulation/ElementClasses.h1#pragma onceCOMMENT
LOWsrc/simulation/ToolClasses.h1#pragma onceCOMMENT
LOWsrc/simulation/ToolCommon.h1#pragma onceCOMMENT
LOWsrc/simulation/SimulationData.cpp1#include "SimulationData.h"COMMENT
LOWsrc/simulation/ElementCommon.h1#pragma onceCOMMENT
LOWsrc/simulation/SnapshotDelta.cpp1#include "SnapshotDelta.h"COMMENT
LOWsrc/simulation/SnapshotDelta.cpp21// handled in a non-uniform, case-by-case manner. COMMENT
LOWsrc/simulation/SnapshotDelta.cpp41// of both Snapshots are equivalent and the SingleDiff should be ignored. If it's true, theCOMMENT
LOWsrc/simulation/Editing.cpp1#include "Simulation.h"COMMENT
LOWsrc/simulation/Simulation.cpp1#include "Simulation.h"COMMENT
LOWsrc/simulation/gravity/Fft.cpp1#include "Gravity.h"COMMENT
LOWsrc/resampler/resampler.h181// of this software dedicate any and all copyright interest in theCOMMENT
LOWsrc/resampler/resampler.cpp1#include "resampler.h"COMMENT
LOWsrc/resampler/resampler.cpp21COMMENT
LOWsrc/lua/CommandInterface.cpp1#include "CommandInterface.h"COMMENT
LOWsrc/lua/LuaCompat.h1#pragma onceCOMMENT
LOWsrc/lua/LuaScriptInterface.cpp1#include "LuaScriptInterface.h"COMMENT
LOWsrc/lua/LuaWindow.cpp1#include "LuaWindow.h"COMMENT
LOWsrc/lua/LuaMisc.cpp1#include "LuaScriptInterface.h"COMMENT
LOWsrc/lua/LuaSimulation.cpp1#include "LuaScriptInterface.h"COMMENT
LOWsrc/lua/LuaSocketTCPHttp.cpp1#include "LuaScriptInterface.h"COMMENT
LOWsrc/lua/LuaScriptInterface.h1#pragma onceCOMMENT
LOWsrc/lua/LuaInterface.cpp1#include "LuaScriptInterface.h"COMMENT
LOWsrc/common/Assert.h1#pragma onceCOMMENT
LOWsrc/common/platform/Common.cpp1#include "Platform.h"COMMENT
LOWsrc/common/platform/Windows.cpp1#include "Platform.h"COMMENT
LOWsrc/common/platform/Linux.cpp1#include "Platform.h"COMMENT
LOWsrc/common/clipboard/External.cpp1#include "Dynamic.h"COMMENT
LOWsrc/gui/options/OptionsView.cpp1#include "OptionsView.h"COMMENT
LOWsrc/gui/options/OptionsModel.cpp1#include "OptionsModel.h"COMMENT
LOWsrc/gui/interface/Engine.h1#pragma onceCOMMENT
LOWsrc/gui/interface/SaveButton.cpp1#include "SaveButton.h"COMMENT
LOWsrc/gui/interface/Component.h81COMMENT
LOWsrc/gui/interface/Component.h101 ///COMMENT
LOWsrc/gui/interface/Component.h121 // Params:COMMENT
LOWsrc/gui/interface/Component.h141 // y: Y position of the mouse.COMMENT
LOWsrc/gui/interface/Component.h161 ///COMMENT
LOWsrc/gui/interface/Engine.cpp261 // complete candidate string. The start parameter tells us whichCOMMENT
LOWsrc/gui/update/UpdateActivity.cpp1#include "UpdateActivity.h"COMMENT
LOWsrc/gui/localbrowser/LocalBrowserView.cpp1#include "LocalBrowserView.h"COMMENT
LOWsrc/gui/localbrowser/LocalBrowserController.cpp1#include "LocalBrowserController.h"COMMENT
LOWsrc/gui/render/RenderView.cpp1#include "RenderView.h"COMMENT
LOWsrc/gui/game/GameModel.cpp1#include "Config.h"COMMENT
LOWsrc/gui/game/GameModel.cpp21#include "client/http/ExecVoteRequest.h"COMMENT
LOWsrc/gui/game/GameModel.cpp421// * SnapshotDelta d is the difference between the two Snapshots A and B (i.e. d = B - A)COMMENT
LOWsrc/gui/game/GameModel.cpp441// N - 1 | Snapshot A | Snapshot A | A |COMMENT
LOWsrc/gui/game/GameModel.cpp461// is deleted. If historyPosition is below N, this gets rid of the Snapshot in history[N-1].COMMENT
LOWsrc/gui/game/GameModel.cpp481// Snapshot freshly placed in history[N-1].COMMENT
LOWsrc/gui/game/GameModel.cpp501// i | history[i] | the logical Snapshot | relationships |COMMENT
LOWsrc/gui/game/GameModel.cpp521//COMMENT
LOWsrc/gui/game/GameModel.cpp541// | | accompanying history[i] | |COMMENT
LOWsrc/gui/game/GameView.h1#pragma onceCOMMENT
LOWsrc/gui/game/GameModel.h1#pragma onceCOMMENT
LOWsrc/gui/game/GameController.cpp1#include "GameController.h"COMMENT
38 more matches not shown…
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWfonttool.py4CODE
LOWresources/serve-wasm.template.py5CODE
LOWresources/serve-wasm.template.py7CODE
LOW.github/prepare.py1CODE
LOW.github/prepare.py6CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHresources/serve-wasm.template.py48 if (promise === undefined) {{CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/gui/save/ServerSaveActivity.cpp318 "\bt4. Do not spam.\bw As mentioned earlier, there are no standards for what counts as spam. Here are some examples thCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/graphics/Renderer.cpp1542 //TODO: implement sizeCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWfonttool.py108CODE
Hyper-Verbose Identifiers1 hit · 0 pts
SeverityFileLineSnippetContext
LOWresources/serve-wasm.template.py113class MyHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):STRING