AI Slop Code Risk Monitor

ollama/ollama

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

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ollama/ollama, a Go project with 185,403 GitHub stars. SynthScan examined 446,102 lines of code across 1281 source files, recording 265 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
185.4K
Stars
Go
Language
446.1K
Lines of Code
1.3K
Files
265
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 3.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 3.2/100 · LOW

Which changes need focused human review? 265 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 12LOW 253

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 265 distinct pattern matches across 9 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 Block218 hits · 191 pts
SeverityFileLineSnippetContext
LOWcmd/cmd.go1781 // beginning the download, for clients toCOMMENT
LOWcmd/bench/bench.go121 // problems cost 35-500 tokens each and word count predicts token count onlyCOMMENT
LOWcmd/launch/muse.go21//COMMENT
LOWcmd/launch/deepseek_harness.go21 deepSeekHarnessNpmPackage = "@deepseek-ai/dsh@latest"COMMENT
LOWcmd/launch/spinner.go21// Spinner is a handle on a running animated spinner. Stop halts the spinnerCOMMENT
LOWtypes/model/name.go101// ParseName parses and assembles a Name from a name string. TheCOMMENT
LOWtypes/model/name.go121// namespace:COMMENT
LOWllm/llama_server.go1// llama_server.go wraps the llama-server binary as a subprocessCOMMENT
LOWdiscover/llama_server.go21)COMMENT
LOWdiscover/runner.go81 // are enumerated, but not actually supported.COMMENT
LOWapp/cmd/app/app_darwin.m1#import "app_darwin.h"COMMENT
LOWapp/cmd/app/app_darwin.m2041// Prompt the user for authorization and move to the system wideCOMMENT
LOWapp/types/not/found.go1//go:build windows || darwinCOMMENT
LOWapp/types/not/found.go21//COMMENT
LOWapp/webview/webview.h41 *COMMENT
LOWapp/webview/webview.h61#endifCOMMENT
LOWapp/webview/webview.h81COMMENT
LOWapp/webview/webview.h141COMMENT
LOWapp/webview/webview.h401#elif defined(_WIN32)COMMENT
LOWapp/webview/webview.h421#endifCOMMENT
LOWapp/webview/webview.h1141//COMMENT
LOWapp/webview/webview.h1201COMMENT
LOWapp/webview/webview.h1501COMMENT
LOWapp/webview/webview.h1921 // Stop the main run loop so that we can returnCOMMENT
LOWapp/webview/webview.h2021 // disable the feature by default (macOS 13.3 and later) and supportCOMMENT
LOWapp/webview/webview.h2121//COMMENT
LOWapp/webview/webview.h2581#define WEBVIEW_MSWEBVIEW2_EXPLICIT_LINK WEBVIEW_MSWEBVIEW2_BUILTIN_IMPLCOMMENT
LOWapp/webview/webview.go101 // Window returns a native window handle pointer. When using GTK backend theCOMMENT
LOWapp/webview/webview.go121 // Example: w.SetHtml(w, "<h1>Hello</h1>");COMMENT
LOWapp/dialog/dlgs.go1//go:build windows || darwinCOMMENT
LOWapp/dialog/cocoa/dlg.m1#import <Cocoa/Cocoa.h>COMMENT
LOWtransfer/transfer.go1// Package transfer provides minimal, fast blob transfer for tensor-based models.COMMENT
LOWtransfer/transfer.go41 "github.com/ollama/ollama/manifest"COMMENT
LOWtransfer/sparse_windows.go1//go:build windowsCOMMENT
LOWserver/images.go1741// can be directed to push/pull from "127.0.0.1:1234".COMMENT
LOWscripts/create-dmg.sh561# Adding EULA resourcesCOMMENT
LOWscripts/build_linux.sh1#!/bin/shCOMMENT
LOWscripts/build_darwin.sh1#!/bin/shCOMMENT
LOW.github/scripts/prepare_mlx_darwin.sh1#!/usr/bin/env bashCOMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go101 // <|im_start|>assistantCOMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go121 // name: "with tools and response",COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go141 // {Role: "user", Content: "That sounds nice! What about San Francisco?"},COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go161 // },COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go181 // {"name": <function-name>, "arguments": <args-json-object>}COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go201 // NOTE: solved with #12518: https://github.com/ollama/ollama/compare/main...drifkin/stable-tool-argsCOMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go221 // "a": 2,COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go241 // },COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go261 // Properties: testPropsMap(map[string]api.ToolProperty{COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go281 // },COMMENT
LOWmodel/renderers/qwen3vl_thinking_test.go301 // <|im_start|>userCOMMENT
LOWmodel/renderers/gemma4_reference_test.go1package renderersCOMMENT
LOWmodel/renderers/glm47.go21//COMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go121 {Role: "user", Content: "Describe these images.", Images: []api.ImageData{api.ImageData("img1"), api.ImageData("img2COMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go141 // Function: api.ToolCallFunction{COMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go161 // Type: "object",COMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go181 // # ToolsCOMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go201 // <|im_start|>userCOMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go221 // },COMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go241 // },COMMENT
LOWmodel/renderers/qwen3vl_nonthinking_test.go261 // tools: []api.Tool{COMMENT
158 more matches not shown…
Hyper-Verbose Identifiers18 hits · 20 pts
SeverityFileLineSnippetContext
LOWapp/ui/app/src/api.ts75export function getClaudeDesktopModelsSettings(CODE
LOWapp/ui/app/src/api.ts86export function getCodexDesktopModelsSettings(CODE
LOWapp/ui/app/src/api.ts243export async function getClaudeDesktopAvailableModels(CODE
LOW…/ui/app/src/components/ClaudeDesktopModelsSettings.tsx285>(function ClaudeDesktopModelsSettings(CODE
LOWapp/ui/app/src/components/Settings.interaction.test.tsx28 function MockClaudeDesktopSettings(_props, ref) {CODE
LOWapp/ui/app/src/components/Onboarding.tsx54export function shouldShowClaudeConnectedIntro(status: ClaudeDesktopStatus) {CODE
LOWapp/ui/app/src/components/Onboarding.tsx72function getClaudeConnectionSummary() {CODE
LOWapp/ui/app/src/components/Message.tsx88function processBrowserToolContent(content: string): BrowserToolContent {CODE
LOW…p/ui/app/src/components/CodexDesktopModelsSettings.tsx315>(function CodexDesktopModelsSettings(CODE
LOWapp/ui/app/src/lib/claudeDesktop.ts48export function isClaudeConnectionComplete(CODE
LOW⚡app/ui/app/src/lib/claudeDesktop.ts62export function optimisticClaudeConnectionState(CODE
LOW⚡app/ui/app/src/lib/claudeDesktop.ts69export function claudeDesktopRequestCountLabel(count: number): string {CODE
LOW⚡app/ui/app/src/lib/claudeDesktop.ts73export function claudeDesktopRecoveryMessage(CODE
LOW⚡app/ui/app/src/lib/claudeDesktop.ts80export function scheduleClaudeInstallTimeout(onTimeout: () => void) {CODE
LOWapp/ui/app/src/lib/claudeDesktop.ts96export function claudeDesktopMaxModelsMessage(maxModels: number): string {CODE
LOWapp/ui/app/src/lib/claudeDesktop.ts102export function claudeDesktopUsableSelection(CODE
LOWapp/ui/app/src/lib/onboarding.ts26export function authenticationTimeoutAction(CODE
LOWapp/ui/app/src/lib/claudeDesktopModelStatus.ts3export function claudeDesktopModelStatusLabel(CODE
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt41# The root CMake project is the orchestration entrypoint; backend-specificCOMMENT
MEDIUMREADME.md273### RAG & Knowledge BasesCOMMENT
MEDIUMmodel/renderers/gemma4_reference_test.go1386 // Thinking enabled with tool calls in same conversation (full agentic scenario)COMMENT
MEDIUMmodel/renderers/nemotron_cases_test.go6// not reach: tool-schema shapes, agentic tool loops, and content edge cases.COMMENT
MEDIUMmodel/renderers/nemotron_cases_test.go345 // a full agentic loop: two rounds of call/response then an answerCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMscripts/create-dmg.sh5# Create a read-only disk image of the contents of a folderCOMMENT
MEDIUMscripts/create-dmg.sh344# Create the imageCOMMENT
MEDIUMscripts/create-dmg.sh368# Create the DMG with the specified size or the hdiutil estimationCOMMENT
MEDIUMscripts/build_darwin.sh221 # Create a mock Squirrel.framework bundleCOMMENT
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡mlxrunner/sample/sample_test.go275 // Step 1: logits favor token 1 (trimmed). If the trim were broken itCOMMENT
LOW⚡mlxrunner/sample/sample_test.go284 // Step 2: logits favor token 2 (rotated out). If the ring wrap wereCOMMENT
LOW⚡llama/compat/llama-ollama-compat.cpp2251 // Step 2: SAM `s.position_embd` (no `.weight` suffix) — handle exactly,COMMENT
LOW⚡llama/compat/llama-ollama-compat.cpp2255 // Step 3: substring renames for CLIP, SAM block leaves, and projector.COMMENT
LOWllama/compat/llama-ollama-compat.cpp2234 // Step 1: rename SAM prefix `s.` -> `v.sam.` only at the start of namesCOMMENT
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡mlxrunner/sample/sample_test.go275 // Step 1: logits favor token 1 (trimmed). If the trim were broken itCOMMENT
LOW⚡mlxrunner/sample/sample_test.go284 // Step 2: logits favor token 2 (rotated out). If the ring wrap wereCOMMENT
LOW⚡llama/compat/llama-ollama-compat.cpp2251 // Step 2: SAM `s.position_embd` (no `.weight` suffix) — handle exactly,COMMENT
LOW⚡llama/compat/llama-ollama-compat.cpp2255 // Step 3: substring renames for CLIP, SAM block leaves, and projector.COMMENT
LOWllama/compat/llama-ollama-compat.cpp2234 // Step 1: rename SAM prefix `s.` -> `v.sam.` only at the start of namesCOMMENT
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMdiscover/runner.go186 // Any Libraries that utilize numeric IDs need adjusting based on any possible filtering taking placeCOMMENT
MEDIUMapp/ui/app/package-lock.json11576 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUMthinking/template.go100 // TODO(drifkin): to be more robust, check that it's in the actionCOMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/create-dmg.sh599 # Check if hdiutil supports internet-enableCOMMENT
LOWscripts/install.sh135 # Check if .tar.zst is availableCOMMENT
LOWscripts/build_docker.sh7# Set PUSH to a non-empty string to trigger push instead of loadCOMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWintegration/llm_image_test.go72 System: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed aliquet, justo in malesuada lobortis, odio ligulCODE
LOWintegration/llm_image_test.go72 System: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed aliquet, justo in malesuada lobortis, odio ligulCODE
LOWmodel/parsers/olmo3_test.go390 input: `send_email(to="user@example.com", subject="Hello", body="Test message")`,CODE
LOWmodel/parsers/olmo3_test.go396 "to": "user@example.com",CODE