AI Slop Code Risk Monitor

cloudwego/eino

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

The ultimate LLM/AI application development framework in Go.

3.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cloudwego/eino, a Go project with 13,507 GitHub stars. SynthScan examined 159,133 lines of code across 361 source files, recording 404 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 3.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.

3.6
Adjusted Signal
3.6
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
13.5K
Stars
Go
Language
159.1K
Lines of Code
361
Files
404
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 16.5/100 · LOW

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

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

PR Review Velocity Impact 15.2/100 · LOW

Which changes need focused human review? 404 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 61LOW 343

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 404 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 Block325 hits · 324 pts
SeverityFileLineSnippetContext
LOWcallbacks/aspect_inject.go21COMMENT
LOWcallbacks/aspect_inject.go41// })COMMENT
LOWcallbacks/aspect_inject.go61//COMMENT
LOWcallbacks/aspect_inject.go81// the component produces a successful result. Handlers run in registrationCOMMENT
LOWcallbacks/aspect_inject.go121// StreamReader has been returned) are NOT routed through OnError; they surfaceCOMMENT
LOWcallbacks/aspect_inject.go141}COMMENT
LOWcallbacks/aspect_inject.go161// completely replacing any RunInfo and handlers already in ctx.COMMENT
LOWcallbacks/handler_builder.go21COMMENT
LOWcallbacks/handler_builder.go41// if mi != nil {COMMENT
LOWcallbacks/interface.go21)COMMENT
LOWcallbacks/interface.go41type RunInfo = callbacks.RunInfoCOMMENT
LOWcallbacks/interface.go61COMMENT
LOWcallbacks/interface.go81//COMMENT
LOWcallbacks/interface.go101// (e.g. in main or TestMain), before any graph executions begin.COMMENT
LOWcallbacks/interface.go121 // TimingOnError fires when the component returns a non-nil error.COMMENT
LOWcallbacks/interface.go141//COMMENT
LOWcallbacks/doc.go21// - [TimingOnStartWithStreamInput] / [TimingOnEndWithStreamOutput]: streamingCOMMENT
LOWcallbacks/doc.go41// handlers (e.g. from a parent graph), those handlers are inherited by theCOMMENT
LOWcallbacks/doc.go61// return ctxCOMMENT
LOWcallbacks/doc.go81// },COMMENT
LOWcallbacks/doc.go101// start := ctx.Value(startTimeKey{}).(time.Time)COMMENT
LOWcallbacks/doc.go121// never concurrently with graph execution.COMMENT
LOWcompose/graph_call_options.go61// When the returned context is used to invoke a graph or workflow, calling the interrupt function will trigger an interCOMMENT
LOWcompose/graph_call_options.go181// WithEmbeddingOption is a functional option type for embedding component.COMMENT
LOWcompose/resume.go21COMMENT
LOWcompose/resume.go41//COMMENT
LOWcompose/resume.go61// crucial to differentiate which point is being resumed. This is the primary use case for the `isResumeFlow` flag.COMMENT
LOWcompose/resume.go101COMMENT
LOWcompose/checkpoint.go261 switch rv.Kind() {COMMENT
LOWcompose/chain_branch.go81 key2BranchNode: make(map[string]nodeOptionsPair),COMMENT
LOWcompose/chain_branch.go101 return NewChainMultiBranch(func(ctx context.Context, in T) (endNode map[string]bool, err error) {COMMENT
LOWcompose/chain_branch.go141// })COMMENT
LOWcompose/chain_branch.go161 gNode, options := toAgenticModelNode(node, opts...)COMMENT
LOWcompose/chain_branch.go201// AddToolsNode adds a ToolsNode to the branch.COMMENT
LOWcompose/chain_branch.go241// AddEmbedding adds an Embedding node to the branch.COMMENT
LOWcompose/chain_branch.go281// AddIndexer adds an Indexer node to the branch.COMMENT
LOWcompose/chain_parallel.go41// Example:COMMENT
LOWcompose/chain_parallel.go61//COMMENT
LOWcompose/chain_parallel.go81// Model: "gpt-4o",COMMENT
LOWcompose/chain_parallel.go101 gNode, options := toChatTemplateNode(node, append(opts, WithOutputKey(outputKey))...)COMMENT
LOWcompose/chain_parallel.go121// })COMMENT
LOWcompose/chain_parallel.go141COMMENT
LOWcompose/chain_parallel.go181//COMMENT
LOWcompose/chain_parallel.go201}COMMENT
LOWcompose/resume_test.go261 // create a sub graph A, add A to ROOT graph using AddGraphNode.COMMENT
LOWcompose/resume_test.go381 // which is a specific struct type that implements the CompositeInterruptState interface.COMMENT
LOWcompose/resume_test.go841 // - internal graph will naturally append to the AddressCOMMENT
LOWcompose/resume_test.go941COMMENT
LOWcompose/graph.go321// e.g.COMMENT
LOWcompose/graph.go341COMMENT
LOWcompose/graph.go361//COMMENT
LOWcompose/graph.go381COMMENT
LOWcompose/graph.go401 return g.addNode(key, gNode, options)COMMENT
LOWcompose/interrupt.go121//COMMENT
LOWcompose/interrupt.go141// interruptible sub-processes. It bundles multiple sub-interrupt errors into a single errorCOMMENT
LOWcompose/interrupt.go161// Provided mainly for compatibility purpose as the composite node itselfCOMMENT
LOWcompose/chain.go41COMMENT
LOWcompose/chain.go61// 4.3 `multi input chunk & one output` use `r.Collect(ctx, inputReader)`COMMENT
LOWcompose/chain.go141func (c *Chain[I, O]) component() component {COMMENT
LOWcompose/chain.go181// if err != nil {...}COMMENT
265 more matches not shown…
Modern AI Meta-Vocabulary59 hits · 216 pts
SeverityFileLineSnippetContext
MEDIUMcompose/chain_branch.go149// AddAgenticModel adds a agentic.Model node to the branch.COMMENT
MEDIUMcompose/chain_parallel.go73// AddAgenticModel adds a agentic.Model to the parallel.COMMENT
MEDIUMcompose/graph.go355// AddAgenticModelNode add node that implements agentic.Model.COMMENT
MEDIUMcompose/chain.go177// AppendAgenticModel add a agentic.Model node to the chain.COMMENT
MEDIUMcompose/workflow.go92// AddAgenticModelNode adds an agentic model node and returns it.COMMENT
MEDIUMcompose/workflow.go104// AddAgenticChatTemplateNode adds an agentic chat template node and returns it.COMMENT
MEDIUMcompose/workflow.go116// AddAgenticToolsNode adds an agentic tools node and returns it.COMMENT
MEDIUM⚡utils/callbacks/template.go134// AgenticPrompt sets the agentic prompt handler for the handler helper, which will be called when the agentic prompt coCOMMENT
MEDIUM⚡utils/callbacks/template.go140// AgenticModel sets the agentic chat model handler for the handler helper, which will be called when the agentic chat mCOMMENT
MEDIUM⚡utils/callbacks/template.go146// AgenticToolsNode sets the agentic tools node handler for the handler helper, which will be called when the agentic toCOMMENT
MEDIUMutils/callbacks/template.go158// AgenticAgent sets the agentic agent callback handler for the handler helper, which will be called when an agentic ageCOMMENT
MEDIUM⚡utils/callbacks/template.go683// AgenticAgentCallbackHandler handles callbacks for agentic agents using *schema.AgenticMessage.COMMENT
MEDIUM⚡utils/callbacks/template.go684// Use ComponentOfAgenticAgent to filter callback events to agentic-agent-related events.COMMENT
MEDIUM⚡utils/callbacks/template.go686 // OnStart is called when an agentic agent run begins. Return a modified context to propagate values.COMMENT
MEDIUM⚡utils/callbacks/template.go688 // OnEnd is called when an agentic agent run completes. The output's Events iterator should beCOMMENT
MEDIUM⚡utils/callbacks/template.go704// AgenticPromptCallbackHandler is the handler for the agentic prompt callback.COMMENT
MEDIUM⚡utils/callbacks/template.go706 // OnStart is the callback function for the start of the agentic prompt.COMMENT
MEDIUM⚡utils/callbacks/template.go708 // OnEnd is the callback function for the end of the agentic prompt.COMMENT
MEDIUM⚡utils/callbacks/template.go710 // OnError is the callback function for the error of the agentic prompt.COMMENT
MEDIUMutils/callbacks/template.go728// AgenticModelCallbackHandler is the handler for the agentic chat model callback.COMMENT
MEDIUMschema/agentic_message.go685// AgenticMessagesTemplate is the interface for agentic messages template.COMMENT
MEDIUMschema/agentic_message.go686// It's used to render a template to a list of agentic messages.COMMENT
MEDIUMschema/agentic_message.go711// AgenticMessagesPlaceholder can render a placeholder to a list of agentic messages in params.COMMENT
MEDIUMschema/agentic_message.go754// Format returns the agentic messages after rendering by the given formatType.COMMENT
MEDIUMadk/flow.go621// Typed wrapper for the agentic path (TypedAgent[*schema.AgenticMessage]).COMMENT
MEDIUMadk/interface.go86 // AgenticRole indicates the role of the agentic message (assistant, user, system).COMMENT
MEDIUMadk/wrappers_test.go1713// collectAgenticToolEvents filters tool result events from the agentic iterator.COMMENT
MEDIUMadk/wrappers_test.go1734// collectAgenticToolContent extracts text from agentic tool result events.COMMENT
MEDIUMadk/chatmodel.go422// For M = *schema.AgenticMessage, a single-shot chain is used since agentic modelsCOMMENT
MEDIUMadk/chatmodel.go424// are not yet supported for agentic models.COMMENT
MEDIUMadk/chatmodel.go1103 // single-shot: agentic models handle tool calling internallyCOMMENT
MEDIUMadk/middlewares/reduction/reduction.go1169 // tool result message (schema.Tool role or agentic user msg carrying FunctionToolResult)COMMENT
MEDIUMadk/middlewares/reduction/reduction.go1302 // A user-role agentic message that contains any FunctionToolResult blockCOMMENT
MEDIUMadk/prebuilt/deep/deep.go59 // For M = *schema.AgenticMessage, only agentic sub-agents are accepted.COMMENT
MEDIUMcomponents/types.go69 // ComponentOfAgenticPrompt identifies agentic template components.COMMENT
MEDIUMcomponents/types.go73 // ComponentOfAgenticModel identifies agentic model components.COMMENT
MEDIUMcomponents/prompt/interface.go47// AgenticChatTemplate formats variables into a list of agentic messages according to a prompt schema.COMMENT
MEDIUMcomponents/prompt/agentic_chat_template.go76// GetType returns the type of the agentic template (DefaultAgentic).COMMENT
MEDIUM⚡components/prompt/agentic_callback_extra.go28 // Templates is the agentic templates for the callback.COMMENT
MEDIUM⚡components/prompt/agentic_callback_extra.go36 // Result is the agentic result for the callback.COMMENT
MEDIUM⚡components/prompt/agentic_callback_extra.go38 // Templates is the agentic templates for the callback.COMMENT
MEDIUM⚡components/prompt/agentic_callback_extra.go44// ConvAgenticCallbackInput converts the callback input to the agentic prompt callback input.COMMENT
MEDIUMcomponents/prompt/agentic_callback_extra.go58// ConvAgenticCallbackOutput converts the callback output to the agentic prompt callback output.COMMENT
MEDIUMcomponents/model/option.go54 // Options only available for agentic model.COMMENT
MEDIUMcomponents/model/option.go56 // AgenticToolChoice controls how the agentic model calls tools.COMMENT
MEDIUMcomponents/model/option.go166// WithAgenticToolChoice is the option to set tool choice for the agentic model.COMMENT
MEDIUMcomponents/model/interface.go106// *schema.AgenticMessage. Unlike ToolCallingChatModel, agentic models do NOTCOMMENT
MEDIUM⚡components/model/agentic_callback_extra.go24// AgenticConfig is the config for the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go30 // Temperature is the temperature, which controls the randomness of the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go32 // TopP is the top p, which controls the diversity of the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go36// AgenticCallbackInput is the input for the agentic model callback.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go38 // Messages is the agentic messages to be sent to the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go40 // Tools is the tools to be used in the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go42 // Config is the config for the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go48// AgenticCallbackOutput is the output for the agentic model callback.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go50 // Message is the agentic message generated by the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go52 // Config is the config for the agentic model.COMMENT
MEDIUM⚡components/model/agentic_callback_extra.go60// ConvAgenticCallbackInput converts the callback input to the agentic model callback input.COMMENT
MEDIUMcomponents/model/agentic_callback_extra.go78// ConvAgenticCallbackOutput converts the callback output to the agentic model callback output.COMMENT
Structural Annotation Overuse7 hits · 13 pts
SeverityFileLineSnippetContext
LOWadk/runctx.go120// NOTE: This method parallels agentEventWrapper.consumeStream in utils.go. The twoCOMMENT
LOW⚡adk/turn_loop_test.go6171 // Step 1: Push item A (no preempt). Wait for agent to start.COMMENT
LOW⚡adk/turn_loop_test.go6175 // Step 2: Push item B with preempt. This cancels the first turn.COMMENT
LOW⚡adk/turn_loop_test.go6181 // Step 3: Push item C with preempt. This is the scenario that triggersCOMMENT
LOWadk/middlewares/reduction/internal/clear_tool_result.go118 // Step 1: Calculate total tool result tokensCOMMENT
LOWadk/middlewares/reduction/internal/clear_tool_result.go131 // Step 2: Calculate the index from which to protect recent messagesCOMMENT
LOWadk/middlewares/reduction/internal/clear_tool_result.go147 // Step 3: Clear tool results outside the protected range (before recentStartIdx)COMMENT
Verbosity Indicators6 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡adk/turn_loop_test.go6171 // Step 1: Push item A (no preempt). Wait for agent to start.COMMENT
LOW⚡adk/turn_loop_test.go6175 // Step 2: Push item B with preempt. This cancels the first turn.COMMENT
LOW⚡adk/turn_loop_test.go6181 // Step 3: Push item C with preempt. This is the scenario that triggersCOMMENT
LOWadk/middlewares/reduction/internal/clear_tool_result.go118 // Step 1: Calculate total tool result tokensCOMMENT
LOWadk/middlewares/reduction/internal/clear_tool_result.go131 // Step 2: Calculate the index from which to protect recent messagesCOMMENT
LOWadk/middlewares/reduction/internal/clear_tool_result.go147 // Step 3: Clear tool results outside the protected range (before recentStartIdx)COMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWadk/middlewares/dynamictool/toolsearch/toolsearch.go111// Example usage:COMMENT
LOWadk/middlewares/skill/skill.go250// Example usage:COMMENT
LOWadk/middlewares/filesystem/filesystem.go385// Example usage:COMMENT
LOWflow/retriever/parent/parent.go57// Example usage:COMMENT
LOWflow/indexer/parent/parent.go71// Example usage:COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcompose/interrupt.go144// This function is robust and can handle several types of errors from sub-processes:COMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMadk/turn_loop.go185// └────────abortPlanningTurn─────────────────────────────┘COMMENT