AI Slop Code Risk Monitor

ent/ent

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

An entity framework for Go

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ent/ent, a Go project with 17,219 GitHub stars. SynthScan examined 720,492 lines of code across 2506 source files, recording 813 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-14
Last Push
17.2K
Stars
Go
Language
720.5K
Lines of Code
2.5K
Files
813
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 5.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 5.5/100 · LOW

Which changes need focused human review? 813 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 1HIGH 0MEDIUM 0LOW 812

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 813 distinct pattern matches across 3 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 Block804 hits · 802 pts
SeverityFileLineSnippetContext
LOWent.go21 //COMMENT
LOWent.go41 Type()COMMENT
LOWent.go61 // the schema.COMMENT
LOWent.go81 // field.Int("int"),COMMENT
LOWent.go101COMMENT
LOWent.go121 // Table: "Name",COMMENT
LOWent.go141 // other methods in the schema without calling them directly.COMMENT
LOWent.go161 // return []ent.Mixin{COMMENT
LOWent.go181 Policy() PolicyCOMMENT
LOWent.go201 }COMMENT
LOWent.go281 // The second boolean value indicates that this field wasCOMMENT
LOWent.go301 // ClearedFields returns all nullable fields that were clearedCOMMENT
LOWent.go321 AddedIDs(name string) []ValueCOMMENT
LOWent.go341 // given edge name. It returns an error if the edge is notCOMMENT
LOWent.go361 Mutate(context.Context, Mutation) (Value, error)COMMENT
LOWent.go401 // function as Querier. If f is a function with the appropriate signature,COMMENT
LOWent.go421 // Note that unlike Traverse functions, which are called at each traversal stage, Intercept functionsCOMMENT
LOWent.go441 // query is executed. For example:COMMENT
LOWblob.go41 Key stringCOMMENT
LOW.devcontainer/devcontainer.json21 }COMMENT
LOWschema/schema.go1// Copyright 2019-present Facebook Inc. All rights reserved.COMMENT
LOWschema/edge/edge.go81 return &inverseBuilder{desc: &Descriptor{Name: name, Type: b.desc.Type, Inverse: true, Ref: b.desc}}COMMENT
LOWschema/edge/edge.go181 return bCOMMENT
LOWschema/edge/annotation.go1// Copyright 2019-present Facebook Inc. All rights reserved.COMMENT
LOWschema/field/annotation.go1// Copyright 2019-present Facebook Inc. All rights reserved.COMMENT
LOWschema/field/annotation.go21 StructTag map[string]stringCOMMENT
LOWschema/field/field.go181// })COMMENT
LOWschema/field/field.go361// SchemaType(map[string]string{COMMENT
LOWschema/field/field.go381COMMENT
LOWschema/field/field.go461// Default sets the function that is applied to set default valueCOMMENT
LOWschema/field/field.go741}COMMENT
LOWschema/field/field.go1061// Values("low", "mid", "high")COMMENT
LOWschema/field/field.go1321func (b *otherBuilder) Sensitive() *otherBuilder {COMMENT
LOWschema/field/field.go1401// })COMMENT
LOWschema/field/field.go1521 }COMMENT
LOWschema/field/field.go1561// storage (if a key exists) and fall back to the bytes column.COMMENT
LOWschema/field/field.go1581// GoType overrides the default Go type ([]byte) with a custom one.COMMENT
LOWschema/field/numeric.go241}COMMENT
LOWschema/field/numeric.go261// GoType(pkg.Int(0))COMMENT
LOWschema/field/numeric.go441}COMMENT
LOWschema/field/numeric.go641// GoType overrides the default Go type with a custom one.COMMENT
LOWschema/field/numeric.go841// and no validators have been set, the type validator willCOMMENT
LOWschema/field/numeric.go1021 b.desc.StorageKey = keyCOMMENT
LOWschema/field/numeric.go1041//COMMENT
LOWschema/field/numeric.go1221}COMMENT
LOWschema/field/numeric.go1241// GoType(pkg.Int64(0))COMMENT
LOWschema/field/numeric.go1421}COMMENT
LOWschema/field/numeric.go1601//COMMENT
LOWschema/field/numeric.go1801// and no validators have been set, the type validator willCOMMENT
LOWschema/field/numeric.go1981// })COMMENT
LOWschema/field/numeric.go2181// SchemaType overrides the default database type with a customCOMMENT
LOWschema/field/numeric.go2201//COMMENT
LOWschema/field/numeric.go2381// dialect.Postgres: "numeric(5, 2)",COMMENT
LOWschema/index/index.go21}COMMENT
LOWschema/index/index.go41}COMMENT
LOWschema/index/index.go61// func (T) Indexes() []ent.Index {COMMENT
LOWschema/index/index.go101}COMMENT
LOWexamples/entcpkg/ent/entc.go41 ),COMMENT
LOWexamples/entcpkg/ent/user_query.go261}COMMENT
LOWexamples/entcpkg/ent/user_query.go281 grbuild.label = user.LabelCOMMENT
744 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALschema/field/field.go1195 if b.desc.Err == nil && b.desc.Info.RType.rtype.Kind() != reflect.String && !b.desc.Info.Stringer() {CODE
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippetContext
LOWentc/integration/customid/customid_test.go276 a := client.Account.Create().SetEmail("test@example.org").SaveX(ctx)CODE
LOWdoc/md/tutorial-grpc-optional-fields.md90 Alias: wrapperspb.String("John Doe"),CODE
LOWdialect/sql/builder_test.go1890 Values("1", "user@example.com", 1633279231).CODE
LOWdialect/sql/builder_test.go1905 require.Equal(t, []any{"1", "user@example.com", 1633279231, "Ariel", 1, 0}, args)CODE
LOW⚡dialect/sql/builder_test.go1962 Values("1", "user@example.com").CODE
LOW⚡dialect/sql/builder_test.go1968 require.Equal(t, []any{"1", "user@example.com"}, args)CODE
LOW⚡dialect/sql/builder_test.go1973 Values("1", "user@example.com").CODE
LOW⚡dialect/sql/builder_test.go1979 require.Equal(t, []any{"1", "user@example.com"}, args)CODE