AI Slop Code Risk Monitor

mangowm/mango

SlopCodeMonitor badge for mangowm/mango Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Practical and Powerful wayland compositor (dwm but wayland)

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mangowm/mango, a C project with 3,944 GitHub stars. SynthScan examined 53,184 lines of code across 157 source files, recording 65 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.9K
Stars
C
Language
53.2K
Lines of Code
157
Files
65
Pattern Hits
2026-10-31
Scan Date
0.01
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.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 6.4/100 · LOW

Which changes need focused human review? 65 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 0LOW 64

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 65 distinct pattern matches across 4 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 Block62 hits · 62 pts
SeverityFileLineSnippetContext
LOWinclude/mango/config/parse.h1#ifndef __CONFIG_PARSE_H__COMMENT
LOWinclude/mango/switcher/switcher.h1#ifndef __SWITCHER_SWITCHER_H__COMMENT
LOWinclude/mango/input/keyboard.h1#ifndef __KEYBOARD_H__COMMENT
LOWinclude/mango/layout/layout.h1#ifndef __LAYOUT_LAYOUT_H__COMMENT
LOWinclude/mango/ext-protocol/all.h1#ifndef __EXT_PROTOCOL_ALL_H__COMMENT
LOWinclude/mango/ext-protocol/xdg-output.h1#ifndef __EXT_PROTOCOL_XDG_OUTPUT_H__COMMENT
LOWinclude/mango/common/input-event-codes.h1#ifndef MANGO_INPUT_EVENT_CODES_HCOMMENT
LOWinclude/mango/manage/client.h1#ifndef __MANAGE_CLIENT_H__COMMENT
LOWinclude/mango/manage/monitor.h1#ifndef __MANAGE_MONITOR_H__COMMENT
LOWinclude/mango/overview/overview.h1#ifndef __OVERVIEW_OVERVIEW_H__COMMENT
LOWinclude/mango/draw/dim-node.h1#ifndef MANGO_DRAW_DIM_NODE_HCOMMENT
LOWinclude/mango/draw/text-node.h1#ifndef jump_label_node_HCOMMENT
LOW.github/workflows/update-top-ranking-issues.yml1name: Update Top-Ranking IssuesCOMMENT
LOW.github/scripts/update-top-ranking-issues.py41# Sections rendered in the tracking issue. Each value is a GitHub searchCOMMENT
LOWsrc/main.c1/*COMMENT
LOWsrc/main.c21#include "mango/input/device.h"COMMENT
LOWsrc/main.c41#include <stdbool.h>COMMENT
LOWsrc/main.c61#include <wlr/types/wlr_color_management_v1.h>COMMENT
LOWsrc/main.c81#include <wlr/types/wlr_keyboard.h>COMMENT
LOWsrc/main.c101#include <wlr/types/wlr_session_lock_v1.h>COMMENT
LOWsrc/config/option_defs.c1#include "mango/config/internal.h"COMMENT
LOWsrc/config/option_defs.c21#include "mango/dispatch/bind.h"COMMENT
LOWsrc/config/watcher.c1#include "mango/config/watcher.h"COMMENT
LOWsrc/config/binding_parse.c1#include "mango/config/internal.h"COMMENT
LOWsrc/config/error_nag.c1#undef _POSIX_C_SOURCECOMMENT
LOWsrc/config/reapply.c1#include "mango/config/internal.h"COMMENT
LOWsrc/config/reapply.c21#include "mango/dispatch/bind.h"COMMENT
LOWsrc/config/value_parse.c1#include "mango/config/parse.h"COMMENT
LOWsrc/config/load.c1#include "mango/config/internal.h"COMMENT
LOWsrc/config/load.c21#include "mango/dispatch/bind.h"COMMENT
LOWsrc/switcher/switcher.c1#include "mango/switcher/switcher.h"COMMENT
LOWsrc/input/keyboard.c1#include "mango/input/keyboard.h"COMMENT
LOWsrc/input/tablet.c1#include "mango/input/tablet.h"COMMENT
LOWsrc/input/pointer.c1#include "mango/input/pointer.h"COMMENT
LOWsrc/input/pointer.c21#include "mango/manage/tab.h"COMMENT
LOWsrc/input/device.c1#include "mango/input/device.h"COMMENT
LOWsrc/input/touch.c1#include "mango/input/touch.h"COMMENT
LOWsrc/input/trackpad.c1/* Trackpad gestures (swipe / pinch / hold). */COMMENT
LOWsrc/input/trackpad.c21#include "mango/switcher/switcher.h"COMMENT
LOWsrc/layout/arrange.c1#include "mango/layout/arrange.h"COMMENT
LOWsrc/dispatch/bind.c1#include "mango/dispatch/bind.h"COMMENT
LOWsrc/dispatch/bind.c21#include "mango/manage/misc.h"COMMENT
LOWsrc/animation/common.c141 scene_node_snapshot(child, lx, ly, snapshot_tree);COMMENT
LOWsrc/animation/client.c1#include "mango/animation/client.h"COMMENT
LOWsrc/ext-protocol/text-input.c1#include "mango/ext-protocol/text-input.h"COMMENT
LOWsrc/common/util.c1/* See LICENSE.dwm file for copyright and license details. */COMMENT
LOWsrc/common/server.c1#include "mango/common/server.h"COMMENT
LOWsrc/manage/monitor.c1#include "mango/manage/monitor.h"COMMENT
LOWsrc/manage/monitor.c21#include "mango/manage/client.h"COMMENT
LOWsrc/manage/xwayland_primary.c1#include "mango/manage/xwayland_primary.h"COMMENT
LOWsrc/manage/tab.c1#include "mango/manage/tab.h"COMMENT
LOWsrc/manage/client.c1#include "mango/manage/client.h"COMMENT
LOWsrc/manage/client.c21#include "mango/manage/monitor.h"COMMENT
LOWsrc/manage/client.c41#include <wlr/types/wlr_layer_shell_v1.h>COMMENT
LOWsrc/manage/layer.c1#include "mango/manage/layer.h"COMMENT
LOWsrc/manage/misc.c1#include "mango/manage/misc.h"COMMENT
LOWsrc/manage/misc.c21#include <wlr/types/wlr_drm_lease_v1.h>COMMENT
LOWsrc/ipc/ipc.c1#include "mango/ipc/ipc.h"COMMENT
LOWsrc/overview/overview.c1#include "mango/overview/overview.h"COMMENT
LOWsrc/draw/text-node.c1#include "mango/draw/text-node.h"COMMENT
2 more matches not shown…
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/scripts/update-top-ranking-issues.py100except (subprocess.CalledProcessError, FileNotFoundError):CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/update-top-ranking-issues.py239 except Exception: # pragma: no cover - bad tz name falls back to UTCCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/update-top-ranking-issues.py27CODE