AI Slop Code Risk Monitor

storytold/designcraft

SlopCodeMonitor badge for storytold/designcraft Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for storytold/designcraft. SynthScan examined 302,607 lines of code across 756 source files, recording 160 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
302.6K
Lines of Code
756
Files
160
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 2.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 2.6/100 · LOW

Which changes need focused human review? 160 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 0MEDIUM 1LOW 159

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 160 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 Block130 hits · 130 pts
SeverityFileLineSnippetContext
LOWpackaging/env.sh1# shellcheck shell=bashCOMMENT
LOWpackaging/macos/package.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/freebsd/package.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/linux/flatpak-oci.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/linux/package.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/linux/flatpak-bundle.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/linux/flatpak/ai.storyteller.designcraft.yml1# Flatpak manifest for DesignCraft, ready for a Flathub submission.COMMENT
LOWpackaging/linux/flatpak/ai.storyteller.designcraft.yml21 - --filesystem=xdg-data/ArtCraft/versions:roCOMMENT
LOW…ng/linux/flatpak/ai.storyteller.designcraft.bundle.yml1# Flatpak manifest for the single-file bundle attached to every GitHub releaseCOMMENT
LOW…ng/linux/flatpak/ai.storyteller.designcraft.bundle.yml21 # Display: Wayland first; X11 only when no Wayland compositor is running.COMMENT
LOWcrates/tools/src/snap.rs161 return None;COMMENT
LOWcrates/tools/src/snap.rs501 if !on {COMMENT
LOWcrates/tools/src/select.rs1//! Selection tool (V) and Direct Selection tool (A).COMMENT
LOWcrates/color/src/cms.rs1//! Colour management: working spaces, RGB ↔ CMYK ↔ Lab conversions with rendering intents,COMMENT
LOWcrates/color/src/cms/generic.rs1//! "DesignCraft Generic CMYK (SWOP-like)": our own parametric press model.COMMENT
LOWcrates/textimport/src/lib.rs1//! Text import (File › Place of text files): plain text, Word documents (`.docx`) and RTF becomeCOMMENT
LOWcrates/textimport/src/docx_numbering.rs1//! Word lists: `word/numbering.xml` and the `w:numPr` of paragraphs and paragraph styles.COMMENT
LOWcrates/compose/examples/hyphgen.rs1//! Regenerates the bundled English hyphenation data from the Moby Hyphenator II word list.COMMENT
LOWcrates/compose/src/grep.rs1//! The GREP dialect of page-layout documents (Perl-style regular expressions with letter-classCOMMENT
LOWcrates/compose/src/cache.rs1//! Composition cache shared by the engine, the renderer and exporters.COMMENT
LOWcrates/compose/src/kenten.rs1//! Kenten (圏点): emphasis marks set beside each character of a run, over it in horizontal textCOMMENT
LOWcrates/compose/src/notes.rs1//! Footnote layout: numbering, room at the bottom of columns, and placement.COMMENT
LOWcrates/compose/src/shatai.rs1//! Shatai (斜体): the oblique of Japanese phototypesetting. The character's em box is compressedCOMMENT
LOWcrates/compose/src/breaker.rs1//! Line breaking: the paragraph composer (Knuth–Plass total fit), the single-line composerCOMMENT
LOWcrates/compose/src/lib.rs1//! DesignCraft text composition.COMMENT
LOWcrates/compose/src/lib.rs4181/// or its first baseline offset at the top of a column) and must not overlap the wrap; it may hang itsCOMMENT
LOWcrates/compose/src/lib.rs5021/// Take the drop cap (the glyphs before byte `end`) off the front of a paragraph's glyphs and scaleCOMMENT
LOWcrates/compose/src/optical.rs1//! Optical kerning: pair spacing measured from the glyph outlines, for text whose kerning isCOMMENT
LOWcrates/compose/src/grid.rs1//! Grid Settings (グリッド設定) against the baseline grid: which point of a line sits on a gridCOMMENT
LOWcrates/compose/src/wrap.rs1//! Text wrap around anchored objects.COMMENT
LOWcrates/compose/src/hyphen.rs1//! Hyphenation. English uses the bundled dictionary and patterns below. Other languages use theCOMMENT
LOWcrates/pdf/src/lib.rs1//! DesignCraft PDF export (print), written with `krilla`.COMMENT
LOWcrates/pdf/src/lib.rs21//! Appearance of Black says so) as `/op` and `/OP` with `/OPM 1`; left out of PDF/A.COMMENT
LOWcrates/pdf/src/lib.rs261// as the production RandomState used by the integration-test executable.COMMENT
LOWcrates/pdf/src/text.rs1//! Composed text → PDF text objects with embedded (subsetted) fonts.COMMENT
LOWcrates/render/src/types.rs41 /// Preferences › Composition: yellow behind lines whose word spacing breaks the paragraph'sCOMMENT
LOWcrates/render/src/types.rs61 /// accurate dark grey.COMMENT
LOWcrates/render/src/fx.rs1//! Soft object effects (Effects panel): drop shadow, outer glow, inner shadow and basic feather,COMMENT
LOWcrates/render/src/blendspace.rs1//! CMYK transparency using two passes of the ordinary scene renderer.COMMENT
LOWcrates/mcp/src/lib.rs1//! DesignCraft's MCP server.COMMENT
LOWcrates/ui-egui/src/control.rs1//! Programmatic control of the running app (agents, tests, MCP).COMMENT
LOWcrates/ui-egui/src/cursors.rs1//! Tool cursors drawn in code: black glyphs with a white halo, so they read on any page colour.COMMENT
LOWcrates/ui-egui/src/lib.rs81pub(crate) const SCREENSHOT_MAX_AGGREGATE_BYTES: usize = 256 * 1024 * 1024;COMMENT
LOWcrates/ui-egui/src/lib.rs241 last_time: f64,COMMENT
LOWcrates/ui-egui/src/lib.rs261 /// Owner/generation/cause bookkeeping for the canvas story's custom IME producer.COMMENT
LOWcrates/ui-egui/src/lib.rs301COMMENT
LOWcrates/ui-egui/src/state.rs201 /// View › Structure › Show Tag Markers.COMMENT
LOWcrates/ui-egui/src/state.rs241 pub display_quality: designcraft_render::DisplayQuality,COMMENT
LOWcrates/ui-egui/src/state.rs261 /// default layout (`panel_docking::default_layout`).COMMENT
LOWcrates/ui-egui/src/state.rs281 /// One-frame reveal request; z-order is never persisted.COMMENT
LOWcrates/ui-egui/src/state.rs341 /// their text instead of the frames.COMMENT
LOWcrates/ui-egui/src/state.rs361 pub dialog: Option<dialogs::Dialog>,COMMENT
LOWcrates/ui-egui/src/modal_drag.rs1//! Modal windows (dialogs, About) that the user moves by dragging their title row.COMMENT
LOWcrates/ui-egui/src/shortcuts_dialog.rs1//! Edit › Keyboard Shortcuts: craft-keymap's shared dialog over DesignCraft's keymap and the user'sCOMMENT
LOWcrates/ui-egui/src/app/file_dialogs.rs1//! File and message dialogs that never block the frame (craft-dialogs).COMMENT
LOWcrates/ui-egui/src/app/file_dialogs.rs21pub(crate) enum Bound {COMMENT
LOWcrates/ui-egui/src/canvas/ime.rs341}COMMENT
LOWcrates/ui-egui/src/canvas/guides.rs81/// Where a dragged ruler guide is (#1221).COMMENT
LOWcrates/pptx/src/lib.rs1//! PowerPoint export (File › Export › PowerPoint).COMMENT
LOWcrates/format/src/lib.rs1//! The native `.designcraft` format: a zip archive holdingCOMMENT
70 more matches not shown…
Fake / Example Data28 hits · 28 pts
SeverityFileLineSnippetContext
LOWcrates/compose/src/tests.rs4286 let text = "Lorem ipsum dolor sit amet consectetur";CODE
LOWcrates/compose/src/tests.rs4286 let text = "Lorem ipsum dolor sit amet consectetur";CODE
LOWcrates/render/src/damage.rs336 let text = "Lorem ipsum dolor sit amet. ".repeat(60);CODE
LOWcrates/render/src/damage.rs336 let text = "Lorem ipsum dolor sit amet. ".repeat(60);CODE
LOWcrates/render/src/damage.rs353 let text = "Lorem ipsum dolor sit amet. ".repeat(40);CODE
LOWcrates/render/src/damage.rs353 let text = "Lorem ipsum dolor sit amet. ".repeat(40);CODE
LOWcrates/engine/src/cmd/place_text/tests.rs38 let para = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12);CODE
LOWcrates/engine/src/cmd/place_text/tests.rs38 let para = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12);CODE
LOWcrates/engine/src/cmd/place_text/tests.rs81 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 40].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs81 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 40].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs116 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 30].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs116 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 30].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs165 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 24].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs165 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 24].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs191 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 60].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs191 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 60].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs222 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 30].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs222 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 30].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs248 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 12].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs248 std::fs::write(&path, vec!["Lorem ipsum dolor sit amet, consectetur adipiscing elit. ".repeat(12); 12].join("\n")).uCODE
LOWcrates/engine/src/cmd/place_text/tests.rs317 let body = [para("Title", "Front"), para("Chapter", "Chapter one"), para("Body", "lorem ipsum dolor sit amet ".repeaCODE
LOWcrates/engine/src/cmd/place_text/tests.rs317 let body = [para("Title", "Front"), para("Chapter", "Chapter one"), para("Body", "lorem ipsum dolor sit amet ".repeaCODE
LOWcrates/engine/src/cmd/place_text/tests.rs355 st.insert(0, &format!("Front\nGone\nChapter one\n{}", "lorem ipsum dolor sit amet ".repeat(400).trim()));CODE
LOWcrates/engine/src/cmd/place_text/tests.rs355 st.insert(0, &format!("Front\nGone\nChapter one\n{}", "lorem ipsum dolor sit amet ".repeat(400).trim()));CODE
LOWcrates/engine/src/cmd/place_text/tests.rs390 let body = "lorem ipsum dolor sit amet ".repeat(300);CODE
LOWcrates/engine/src/cmd/place_text/tests.rs390 let body = "lorem ipsum dolor sit amet ".repeat(300);CODE
LOWcrates/idml/src/tests/wrap.rs25 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mCODE
LOWcrates/idml/src/tests/wrap.rs25 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mCODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMxtask/src/stats.rs104 println!("\n(#[test] counts source attributes; macro-generated tests count once. Use --exact for harness counts.CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackaging/linux/flatpak-oci.sh5# Usage:COMMENT