AI Slop Code Risk Monitor

JanDeDobbeleer/oh-my-posh

SlopCodeMonitor badge for JanDeDobbeleer/oh-my-posh Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The most customisable and low-latency cross platform/shell prompt renderer

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for JanDeDobbeleer/oh-my-posh, a Go project with 23,684 GitHub stars. SynthScan examined 163,697 lines of code across 938 source files, recording 142 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
23.7K
Stars
Go
Language
163.7K
Lines of Code
938
Files
142
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 4.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 4.3/100 · LOW

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

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 142 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 Block120 hits · 120 pts
SeverityFileLineSnippetContext
LOWwebsite/src/components/Config.js341 // frontMatter.id, not metadata.id: every segment doc sets an explicit `id:` frontmatter fieldCOMMENT
LOWwebsite/src/components/Studio/index.js101 // Set when a format switch was refused because the config in the editor does not parse; clearedCOMMENT
LOWwebsite/src/components/Studio/index.js181 // and otherwise, if a segment doc queued one, appends its segment on top - so "Add to Studio"COMMENT
LOWwebsite/src/components/Studio/config.js1// The studio's starter config: small enough to read in one glance, but shaped like a promptCOMMENT
LOWwebsite/src/components/Studio/exportPng.js1// Rasterizes the studio's live SVG preview into a downloadable PNG.COMMENT
LOWwebsite/src/components/ThemeGallery/index.js101 );COMMENT
LOWwebsite/src/components/ConfigEditor/errorPosition.js1// Re-parses a config that failed to parse, purely to recover a real message and, where possible,COMMENT
LOWwebsite/src/components/ConfigEditor/useWasmRenderer.js1import { useCallback, useEffect, useRef, useState } from 'react';COMMENT
LOWwebsite/src/components/ConfigEditor/schemaCompletion.js541// whenever the next non-whitespace thing is another member/element, no when it's a closer, anCOMMENT
LOWwebsite/src/components/ConfigEditor/serialize.js41COMMENT
LOWwebsite/src/components/ConfigEditor/externalError.js1// Draws the caller-supplied syntax-error squiggle (errorLocation/errorMessage - see index.js'sCOMMENT
LOWwebsite/src/components/ConfigEditor/index.js141 errorLocation = null,COMMENT
LOWwebsite/src/components/ConfigEditor/studioHandoff.js1// The sessionStorage handshake between a segment doc's/theme gallery's editor and the studioCOMMENT
LOWwebsite/src/components/ConfigEditor/ErrorIndicator.js1import React, { useRef, useState } from 'react';COMMENT
LOWwebsite/src/components/ConfigEditor/wasmLoader.js1// Loads the studio's wasm module: the Go host shim (wasm_exec.js, a plain script that definesCOMMENT
LOWwebsite/src/components/ConfigEditor/renderDefaults.js1// Shared inputs to the wasm render() call (see wasmLoader.js / src/wasm/main.go), factored outCOMMENT
LOWwebsite/src/components/ConfigEditor/schemaResolution.js1// Schema-resolution engine ported unchanged (behaviourally) from the pre-CodeMirror-6 editor'sCOMMENT
LOWe2e/harness/shells.go21 // Binary is the executable name looked up via LookupShellBinary. A missing binaryCOMMENT
LOWsrc/svg/window.go1package svgCOMMENT
LOWsrc/svg/window.go21//COMMENT
LOWsrc/svg/window.go41 controlGap float64 // spacing between the three window controlsCOMMENT
LOWsrc/svg/window.go121// a window this small never has real room for a title next to controlsCOMMENT
LOWsrc/svg/fit.go21// measure against here, only Run.Cells arithmetic.COMMENT
LOWsrc/svg/decorate.go21// than rediscovered here, because nothing in the Run stream itselfCOMMENT
LOWsrc/svg/svg_test.go21// padding these assertions are computed against isn't set here at all: itCOMMENT
LOWsrc/svg/svg_test.go121 opts := testOptions()COMMENT
LOWsrc/svg/svg_test.go141// segment's own background (the "cutout" a real terminal renders via SGRCOMMENT
LOWsrc/svg/svg.go21// "accent" or the ansiColorCodes name "default", both of which resolveCOMMENT
LOWsrc/svg/svg.go41 // non-nil, so every reader downstream (windowFill in Encode, paintRun'sCOMMENT
LOWsrc/svg/svg.go61 // defaultFontFamily), but the website renders these in Victor Mono,COMMENT
LOWsrc/svg/svg.go81 // about 84% of that, and asymmetrically about the baseline. Filling theCOMMENT
LOWsrc/svg/svg.go101 // the reference PNGs always had.COMMENT
LOWsrc/svg/svg.go121 // scale each icon down to exactly one cell of ink, which is also what aCOMMENT
LOWsrc/svg/svg.go141 // reports unitsPerEm 2048 and an 'M' advance of 1233 units, 1233/2048 =COMMENT
LOWsrc/svg/svg.go161 // no rounding to do at all, and it would be flatly wrong for any otherCOMMENT
LOWsrc/svg/svg.go181 // renderer's rounded pixels, is the correct default here too.COMMENT
LOWsrc/svg/svg.go261// textLength/lengthAdjust pinning it to exactly Cells*CellWidth, so it landsCOMMENT
LOWsrc/svg/svg.go281// than anchoring to a rect edge via "hanging", because this package has noCOMMENT
LOWsrc/svg/svg.go441COMMENT
LOWsrc/svg/svg.go561 if bgResolved {COMMENT
LOWsrc/svg/colors.go81// Run — to RGB. "accent"/"default" resolve against opts exactly like a Run'sCOMMENT
LOWsrc/svg/colors.go101 if !ok {COMMENT
LOWsrc/svg/colors.go121// drift away from again; it also trims surrounding whitespace, which theCOMMENT
LOWsrc/svg/colors.go161// defaultForegroundRGB is the fixed fallback for the ansiColorCodes nameCOMMENT
LOWsrc/config/segment_data_test.go21// TestSegmentDataCoversRegistry asserts that every documented segment type (the live registryCOMMENT
LOWsrc/config/segment_data_test.go61// (json.Unmarshal into a fresh writer, json.Marshal it back out, then diff key-for-key) ratherCOMMENT
LOWsrc/config/segment_registry_js.go1//go:build js && wasmCOMMENT
LOWsrc/config/load_test.go141// two things for a bool field (Config.FinalSpace) and an int fieldCOMMENT
LOWsrc/config/data.go21// alongside its writer data, so a recorded-but-disabled segment can beCOMMENT
LOWsrc/config/load.go241 if _, err := h.Write(data); err != nil {COMMENT
LOWsrc/config/fieldset.go61COMMENT
LOWsrc/config/segment.go81 Needs []string `json:"-" toml:"-" yaml:"-"`COMMENT
LOWsrc/config/segment.go281 }()COMMENT
LOWsrc/config/segment.go321// pre-check that proves a segment cannot possibly be enabled in the currentCOMMENT
LOWsrc/config/segment.go341COMMENT
LOWsrc/config/segment.go661//COMMENT
LOWsrc/shell/scripts/omp.zsh161 # terminal like any background job ("[1] 12345"). Disabling MONITOR for theCOMMENT
LOWsrc/color/gradient.go261// interpolation exactly, but returns each cell's true RGB triple instead of aCOMMENT
LOWsrc/color/gradient.go341func rgbFromColorful(c colorful.Color) RGB {COMMENT
LOWsrc/color/shade.go81// the color argument can be resolved to a concrete color before Defaults.ToAnsi sees it.COMMENT
60 more matches not shown…
Fake / Example Data12 hits · 14 pts
SeverityFileLineSnippetContext
LOWthemes/schema.json655 "placeholder": {CODE
LOWsrc/sqlite/sqlite_test.go24 row, found, err := FindRow(data, "access_tokens", "account_id", "user@example.com")CODE
LOW⚡src/sqlite/sqlite_test.go56 _, _, err := FindRow(data, "does_not_exist", "account_id", "user@example.com")CODE
LOW⚡src/sqlite/sqlite_test.go63 _, _, err := FindRow(data, "access_tokens", "nope", "user@example.com")CODE
LOW⚡src/sqlite/sqlite_test.go68 _, _, err := FindRow([]byte("not a database"), "access_tokens", "account_id", "user@example.com")CODE
LOWsrc/cli/dsc/configuration.schema.json88 "placeholder": {CODE
LOWsrc/cli/dsc/configuration.schema.json241 "placeholder": {CODE
LOWsrc/cli/dsc/configuration.schema.json373 "placeholder": {CODE
LOWsrc/cli/dsc/configuration.schema.json505 "placeholder": {CODE
LOWsrc/cli/dsc/configuration.schema.json637 "placeholder": {CODE
LOWsrc/cli/dsc/configuration.schema.json872 "placeholder": {CODE
LOWsrc/cli/dsc/configuration.schema.json1031 "placeholder": {CODE
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOW.agents/agents/issue-analyzer.agent.md34### Step 1: Precondition checksCOMMENT
LOW.agents/agents/issue-analyzer.agent.md41### Step 2: Fetch the issueCOMMENT
LOW.agents/agents/issue-analyzer.agent.md56### Step 3: Identify the affected codebase areaCOMMENT
LOW.agents/agents/issue-analyzer.agent.md78### Step 4: Investigate like the code-changes triage pathCOMMENT
LOW.agents/agents/issue-analyzer.agent.md89### Step 5: Synthesize findingsCOMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING.md120[agentic]: https://github.com/JanDeDobbeleer/agenticCODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWwebsite/plugins/segments/index.js357function assertStaticAssetsMatchTotal(total) {CODE
LOWwebsite/src/components/ConfigEditor/schemaCompletion.js145function findDeepestOpenYamlContainer(tree) {CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWwebsite/static/install.sh105 # Check if regular user has write permissionCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/shell/scripts/omp.zsh704 # Non-existent: just create it.COMMENT