AI Slop Code Risk Monitor

SciSharp/LLamaSharp

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

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for SciSharp/LLamaSharp. SynthScan examined 79,839 lines of code across 476 source files, recording 296 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 4.4 (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.

4.4
Adjusted Signal
4.4
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
79.8K
Lines of Code
476
Files
296
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 16.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.2/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 20.0/100 · LOW

Which changes need focused human review? 296 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 5HIGH 2MEDIUM 3LOW 286

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 296 distinct pattern matches across 10 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 Block278 hits · 276 pts
SeverityFileLineSnippetContext
LOWLLama.Examples/Assets/chat-with-vicuna-v0.txt1A chat between a curious human ("[[USER_NAME]]") and an artificial intelligence assistant ("[[AI_NAME]]"). The assistantCOMMENT
LOWdocs/Tutorials/ChatSession.md121COMMENT
LOWdocs/Tutorials/Executors.md21 /// <summary>COMMENT
LOWdocs/Tutorials/Executors.md261COMMENT
LOWdocs/Tutorials/UnderstandLLamaContext.md21COMMENT
LOWdocs/Tutorials/UnderstandLLamaContext.md41 float? RopeFrequencyScale { get; }COMMENT
LOWdocs/Tutorials/UnderstandLLamaContext.md61 float? YarnExtrapolationFactor { get; }COMMENT
LOWdocs/Tutorials/UnderstandLLamaContext.md81 uint? YarnOriginalContext { get; }COMMENT
LOWLLama.Web/wwwroot/lib/jquery.unobtrusive-ajax.min.js1// Unobtrusive Ajax support library for jQueryCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js881COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js1021 */COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js1161 // Support: IE 9 onlyCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js1301 // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js2461COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js4041 // 1. No key was specifiedCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js5381 // If this is a native event triggered above, everything is now in orderCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js5641 delegateType: delegateTypeCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js6421 // Support: Firefox 51+COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js6441 // disconnected elements. However, in IE even disconnected elementsCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js8561COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js881COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js1021 */COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js1161 // Support: IE 9 onlyCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js1301 // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js2461COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js4041 // 1. No key was specifiedCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js5381 // If this is a native event triggered above, everything is now in orderCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js5641 delegateType: delegateTypeCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js6421 // Support: Firefox 51+COMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js6441 // disconnected elements. However, in IE even disconnected elementsCOMMENT
LOWLLama.Web/wwwroot/lib/jquery/jquery.js10661COMMENT
LOW…-validation-unobtrusive/jquery.validate.unobtrusive.js261 /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation.</summary>COMMENT
LOW…-validation-unobtrusive/jquery.validate.unobtrusive.js281 /// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name usedCOMMENT
LOWLLama.Web/Async/AsyncGuard.cs81 }COMMENT
LOWLLama.Web/Models/LLamaModel.cs41 }COMMENT
LOWLLama.Web/Models/ModelSession.cs41 public string ModelName => _sessionConfig.Model;COMMENT
LOWLLama.Web/Common/InferenceOptions.cs21COMMENT
LOWLLama.Web/Common/ModelLoadType.cs1namespace LLama.Web.CommonCOMMENT
LOWLLama.Web/Services/ModelSessionService.cs41COMMENT
LOWLLama.Web/Services/IModelService.cs1using LLama.Web.Common;COMMENT
LOWLLama.Web/Services/IModelService.cs21 Task<LLamaModel> LoadModel(ModelOptions modelOptions);COMMENT
LOWLLama.Web/Services/IModelService.cs41 /// </summary>COMMENT
LOWLLama.Web/Services/IModelService.cs61 /// Gets the or create model and context.COMMENT
LOWLLama.Web/Services/IModelSessionService.cs21 /// <summary>COMMENT
LOWLLama.Web/Services/IModelSessionService.cs41 Task<bool> CloseAsync(string sessionId);COMMENT
LOWLLama.Web/Services/IModelSessionService.cs61 /// <exception cref="System.Exception">Inference is already running for this session</exception>COMMENT
LOWLLama/LLamaContext.cs21 private readonly ILogger? _logger;COMMENT
LOWLLama/LLamaContext.cs101 /// Tokenize a string.COMMENT
LOWLLama/LLamaTemplate.cs21 /// <summary>COMMENT
LOWLLama/LLamaTemplate.cs41 /// <summary>COMMENT
LOWLLama/LLamaTemplate.cs101 }COMMENT
LOWLLama/StreamingTokenDecoder.cs21 /// </summary>COMMENT
LOWLLama/LLamaWeights.cs21 /// </summary>COMMENT
LOWLLama/LLamaWeights.cs61 /// <summary>COMMENT
LOWLLama/LLamaWeights.cs141 {COMMENT
LOWLLama/LLamaQuantizer.cs1using LLama.Native;COMMENT
LOWLLama/LLamaQuantizer.cs41COMMENT
LOWLLama/LLamaInteractExecutor.cs21 public class InteractiveExecutor : StatefulExecutorBaseCOMMENT
LOWLLama/LLamaExecutorBase.cs21 {COMMENT
LOWLLama/LLamaExecutorBase.cs41 protected int _n_matching_session_tokens;COMMENT
218 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALLLama.Web/wwwroot/lib/jquery/jquery.slim.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALLLama.Web/wwwroot/lib/jquery/jquery.slim.js7181jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {CODE
CRITICALLLama.Web/wwwroot/lib/jquery/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALLLama.Web/wwwroot/lib/jquery/jquery.js7975jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {CODE
CRITICALLLama/Native/Load/NativeLibraryConfig.cs220 var (_, ebx, ecx, _) = System.Runtime.Intrinsics.X86.X86Base.CpuId(7, 0);CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMLLama.Web/wwwroot/lib/jquery/jquery.slim.js8566// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUMLLama.Web/wwwroot/lib/jquery/jquery.js10665// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/upload_to_hf.py24except:CODE
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWLLama.Web/wwwroot/lib/signalr/signalr.min.js1(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.eCODE
LOWLLama.Web/wwwroot/lib/signalr/signalr.min.js16(function(global,factory){true?module.exports=factory():undefined})(this,function(){"use strict";function objectOrFunctiCODE
LOWLLama.Web/wwwroot/lib/jquery/jquery.js8878function addToPrefiltersOrTransports( structure ) {CODE
LOWLLama.Web/wwwroot/lib/jquery/jquery.js8912function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ma.Examples/Examples/MicrosoftAgentFrameworkExample.cs3# Microsoft Agent Framework & LLamaSharp (with Deterministic RAG)COMMENT
Synthetic Comment Markers1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHdocs/Examples/GetEmbeddings.md29 """); // NOTE: this description was AI generatedSTRING
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWLLama.Web/wwwroot/lib/jquery/jquery.slim.js4139function getData( data ) {CODE
LOWLLama.Web/wwwroot/lib/jquery/jquery.js4139function getData( data ) {CODE
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWLLama/Native/NativeApi.cs162 /// NOTE: This function does not use a jinja parser. It only support a pre-defined list of template.COMMENT
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOWLLama/Native/NativeApi.Mtmd.cs452 // TODO @ngxson : allow "placeholder" bitmap output for counting tokensCOMMENT