AI Slop Code Risk Monitor

HarbourMasters/Lighthouse

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

A Banjo-Kazooie PC port with Anchor multiplayer, romhack and multi-language support, and a built-in randomizer.

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for HarbourMasters/Lighthouse, a C project with 538 GitHub stars. SynthScan examined 284,961 lines of code across 1262 source files, recording 347 pattern matches distributed across 6 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
538
Stars
C
Language
285.0K
Lines of Code
1.3K
Files
347
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.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 343 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.2/100 · LOW

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

PR Review Velocity Impact 6.1/100 · LOW

Which changes need focused human review? 347 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 0MEDIUM 5LOW 342

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 347 distinct pattern matches across 6 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 Block327 hits · 314 pts
SeverityFileLineSnippetContext
LOWrun-clang-format.sh1# this line does quite a bit, so let's break it downCOMMENT
LOWrun-clang-format.sh21# -print0COMMENT
LOWres/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWinclude/version.h1#ifndef __BANJO_KAZOOIE_VERSION_H__COMMENT
LOWinclude/version.h21COMMENT
LOWinclude/version.h41#elif VERSION == VERSION_USA_1_1COMMENT
LOWinclude/bool.h1#ifndef BANJO_KAZOOIE_BOOL_HCOMMENT
LOWinclude/initfx.h21#ifndef __initfx__COMMENT
LOWinclude/initfx.h41#define SMALLROOM_FC0 0x4000 /* .25 */COMMENT
LOWinclude/enums.h1#ifndef ENUMS_HCOMMENT
LOWinclude/enums.h3561 /*stub*/ ASSET_2CB_stub,COMMENT
LOWinclude/enums.h3581 // 2df TTC Light CrateCOMMENT
LOWinclude/enums.h3601 // UnusedCOMMENT
LOWinclude/enums.h3621 // UnusedCOMMENT
LOWinclude/enums.h3641 // UnusedCOMMENT
LOWinclude/enums.h3661 // 32f Corner CobwebCOMMENT
LOWinclude/enums.h3761 ASSET_392_MODEL_MUTANT_CRAB_CLAW = 0x392,COMMENT
LOWinclude/enums.h4241 // 56F UnusedCOMMENT
LOWinclude/enums.h4261 // UnusedCOMMENT
LOWinclude/enums.h4281 // UnusedCOMMENT
LOWinclude/enums.h4301 // UnusedCOMMENT
LOWinclude/enums.h4321 // UnusedCOMMENT
LOWinclude/enums.h4341 // UnusedCOMMENT
LOWinclude/enums.h4361 // UnusedCOMMENT
LOWinclude/enums.h4381 // UnusedCOMMENT
LOWinclude/enums.h4401 // UnusedCOMMENT
LOWinclude/enums.h4421 // UnusedCOMMENT
LOWinclude/enums.h4441 // UnusedCOMMENT
LOWinclude/enums.h4461 // UnusedCOMMENT
LOWinclude/enums.h4481 // UnusedCOMMENT
LOWinclude/enums.h4501 // UnusedCOMMENT
LOWinclude/enums.h4521 // UnusedCOMMENT
LOWinclude/enums.h4541 // UnusedCOMMENT
LOWinclude/enums.h4561 // UnusedCOMMENT
LOWinclude/portable-file-dialogs.h1//COMMENT
LOWinclude/portable-file-dialogs.h21#include <shlobj.h>COMMENT
LOWinclude/portable-file-dialogs.h41#include <cstdlib> // std::getenv()COMMENT
LOWinclude/portable-file-dialogs.h1381COMMENT
LOWinclude/actor.h1#ifndef ACTOR_HCOMMENT
LOWinclude/actor.h21#define ACTOR_FLAG_UNKNOWN_8 (1 << 8) // 0x100COMMENT
LOWinclude/macros.h1#pragma onceCOMMENT
LOWinclude/functions.h1#ifndef FUNCTIONS_HCOMMENT
LOWinclude/functions.h21COMMENT
LOWinclude/structs.h1#ifndef STRUCTS_HCOMMENT
LOWinclude/prop.h1#ifndef PROP_HCOMMENT
LOWinclude/variables.h1#ifndef VARIABLES_HCOMMENT
LOWinclude/file_and_line.h1#ifndef _FILE_AND_LINE_H_COMMENT
LOWinclude/file_and_line.h21 #endifCOMMENT
LOWinclude/n_synth.h1#ifndef __N_AUDIO_INT__COMMENT
LOWinclude/core2/core2.h1#ifndef BANJO_KAZOOIE_CORE2_CORE2_HCOMMENT
LOWinclude/core2/core2.h21#include "core2/animmtxlist.h"COMMENT
LOWinclude/core2/commonParticle.h1#ifndef CORE2_COMMON_PARTICLE_HCOMMENT
LOWinclude/core2/model.h461BKAnimTextureList *modelbin_getAnimTextureList(BKModelBin *self);COMMENT
LOWinclude/core2/model.h501void vtxList_free(BKVertexList *self);COMMENT
LOWinclude/core1/core1.h1#ifndef BANJO_KAZOOIE_CORE1_CORE1_HCOMMENT
LOWinclude/core1/core1.h21#include "core1/lookup.h"COMMENT
LOWinclude/core1/rarezip.h1#ifndef BANJO_KAZOOIE_CORE1_RAREZIP_HCOMMENT
LOWinclude/core1/thread5.h1#ifndef BANJO_KAZOOIE_CORE1_THREAD5_HCOMMENT
LOWinclude/core1/sns.h21/**COMMENT
LOWlib/ultralib/include/ultra_assert.h41COMMENT
267 more matches not shown…
Verbosity Indicators7 hits · 14 pts
SeverityFileLineSnippetContext
LOWsrc/core2/gc/dialog.c691 // Step 1: Get the cmd / chat head from the dialog assetCOMMENT
LOWsrc/core2/gc/dialog.c703 // Step 2: Get the speaking textCOMMENT
LOW⚡src/port/ShipUtils.cpp230 // Step 1: Remove "RC_" prefix if presentCOMMENT
LOW⚡src/port/ShipUtils.cpp236 // Step 2: Remove level abbreviation if presentCOMMENT
LOW⚡src/port/ShipUtils.cpp245 // Step 3: Split the string by '_'COMMENT
LOW⚡src/port/ShipUtils.cpp253 // Step 4: Capitalize the first letter of each wordCOMMENT
LOWsrc/port/ShipUtils.cpp265 // Step 5: Join the words with spacesCOMMENT
Structural Annotation Overuse7 hits · 14 pts
SeverityFileLineSnippetContext
LOWsrc/core2/gc/dialog.c691 // Step 1: Get the cmd / chat head from the dialog assetCOMMENT
LOWsrc/core2/gc/dialog.c703 // Step 2: Get the speaking textCOMMENT
LOW⚡src/port/ShipUtils.cpp230 // Step 1: Remove "RC_" prefix if presentCOMMENT
LOW⚡src/port/ShipUtils.cpp236 // Step 2: Remove level abbreviation if presentCOMMENT
LOW⚡src/port/ShipUtils.cpp245 // Step 3: Split the string by '_'COMMENT
LOW⚡src/port/ShipUtils.cpp253 // Step 4: Capitalize the first letter of each wordCOMMENT
LOWsrc/port/ShipUtils.cpp265 // Step 5: Join the words with spacesCOMMENT
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsrc/port/Resource/Importers/ModelFactory.cpp67 // ── Read metadata written by ModelBinaryExporter::Export ────────────────COMMENT
MEDIUMsrc/port/Resource/Importers/ModelFactory.cpp393 // ── Load GEO sub-resource (GeoLayout render tree) ─────────────────────────COMMENT
MEDIUMsrc/port/Resource/Importers/ModelFactory.cpp403 // ── Assemble contiguous BKModelBin buffer ─────────────────────────────────COMMENT
MEDIUMsrc/port/Save/Types.h37// ─── World Collectible Definitions ──────────────────────────────────────────COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/port/UI/MenuTypes.h100// It is recommended to utilize `disabledInfo`/`DisableReason` to list out all reasons for disabling and isHidden soCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/gen_audio_yaml.py56CODE