AI Slop Code Risk Monitor

SeaQL/sea-orm

SlopCodeMonitor badge for SeaQL/sea-orm Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🐚 A powerful relational ORM for Rust

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for SeaQL/sea-orm, a Rust project with 9,946 GitHub stars. SynthScan examined 225,692 lines of code across 1503 source files, recording 803 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 3.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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
9.9K
Stars
Rust
Language
225.7K
Lines of Code
1.5K
Files
803
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 15.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 16.7/100 · LOW

Which changes need focused human review? 803 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 10LOW 793

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 803 distinct pattern matches across 8 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 Block741 hits · 670 pts
SeverityFileLineSnippetContext
LOWsea-orm-macros/src/lib.rs21}COMMENT
LOWsea-orm-macros/src/lib.rs41/// # pub id: i32,COMMENT
LOWsea-orm-macros/src/lib.rs61/// # }COMMENT
LOWsea-orm-macros/src/lib.rs81/// # }COMMENT
LOWsea-orm-macros/src/lib.rs101/// use sea_orm::entity::prelude::*;COMMENT
LOWsea-orm-macros/src/lib.rs121/// # }COMMENT
LOWsea-orm-macros/src/lib.rs221COMMENT
LOWsea-orm-macros/src/lib.rs241/// # fn table_name(&self) -> &'static str {COMMENT
LOWsea-orm-macros/src/lib.rs261/// # impl ColumnTrait for Column {COMMENT
LOWsea-orm-macros/src/lib.rs281/// # fn def(&self) -> RelationDef {COMMENT
LOWsea-orm-macros/src/lib.rs301/// The EnumIter is also derived, allowing iteration over all enum variants.COMMENT
LOWsea-orm-macros/src/lib.rs321 Err(e) => e.to_compile_error().into(),COMMENT
LOWsea-orm-macros/src/lib.rs341/// # pub struct Entity;COMMENT
LOWsea-orm-macros/src/lib.rs361/// # type ValueType = i32;COMMENT
LOWsea-orm-macros/src/lib.rs381/// #COMMENT
LOWsea-orm-macros/src/lib.rs401COMMENT
LOWsea-orm-macros/src/lib.rs421/// # "cake"COMMENT
LOWsea-orm-macros/src/lib.rs441/// # }COMMENT
LOWsea-orm-macros/src/lib.rs481/// # Container attributesCOMMENT
LOWsea-orm-macros/src/lib.rs501/// # #[sea_orm(primary_key)]COMMENT
LOWsea-orm-macros/src/lib.rs521///COMMENT
LOWsea-orm-macros/src/lib.rs541COMMENT
LOWsea-orm-macros/src/lib.rs561/// # fn table_name(&self) -> &'static str {COMMENT
LOWsea-orm-macros/src/lib.rs581/// # trueCOMMENT
LOWsea-orm-macros/src/lib.rs601/// # panic!("No Relation");COMMENT
LOWsea-orm-macros/src/lib.rs621///COMMENT
LOWsea-orm-macros/src/lib.rs641/// - `string_value` or `num_value`:COMMENT
LOWsea-orm-macros/src/lib.rs661#[cfg(feature = "derive")]COMMENT
LOWsea-orm-macros/src/lib.rs681///COMMENT
LOWsea-orm-macros/src/lib.rs701/// #[sea_orm(alias = "bakery_name")]COMMENT
LOWsea-orm-macros/src/lib.rs721#[cfg(feature = "derive")]COMMENT
LOWsea-orm-macros/src/lib.rs741/// pub enum Relation {COMMENT
LOWsea-orm-macros/src/lib.rs761 .unwrap_or_else(Error::into_compile_error)COMMENT
LOWsea-orm-macros/src/lib.rs781/// Payment,COMMENT
LOWsea-orm-macros/src/lib.rs801/// The DeriveMigrationName derive macro will implement `sea_orm_migration::MigrationName` for a migration.COMMENT
LOWsea-orm-macros/src/lib.rs841/// Since 2.0, this macro cannot be used with the `FromQueryResult` macro.COMMENT
LOWsea-orm-macros/src/lib.rs861/// # pub enum Relation {}COMMENT
LOWsea-orm-macros/src/lib.rs881/// };COMMENT
LOWsea-orm-macros/src/lib.rs901/// # pub struct Model {COMMENT
LOWsea-orm-macros/src/lib.rs921/// # pub enum Relation {}COMMENT
LOWsea-orm-macros/src/lib.rs941/// title: String,COMMENT
LOWsea-orm-macros/src/lib.rs961/// }COMMENT
LOWsea-orm-macros/src/lib.rs981/// FROM "cake"COMMENT
LOWsea-orm-macros/src/lib.rs1001/// # #[derive(Copy, Clone, Debug, DeriveRelation, EnumIter)]COMMENT
LOWsea-orm-macros/src/lib.rs1021/// #[sea_orm(entity = "worker::Entity")]COMMENT
LOWsea-orm-macros/src/lib.rs1041/// .join_as(JoinType::LeftJoin, bakery::Relation::Manager.def(), "manager")COMMENT
LOWsea-orm-macros/src/lib.rs1061///COMMENT
LOWsea-orm-macros/src/lib.rs1141COMMENT
LOWsea-orm-macros/src/lib.rs1161/// use sea_orm::DeriveValueType;COMMENT
LOWsea-orm-macros/src/lib.rs1181/// Hard,COMMENT
LOWsea-orm-macros/src/lib.rs1201/// fn from_str(s: &str) -> Result<Self, Self::Err> {COMMENT
LOWsea-orm-macros/src/lib.rs1221/// to_str = "Tag::to_str"COMMENT
LOWsea-orm-macros/src/lib.rs1261 Err(e) => e.to_compile_error().into(),COMMENT
LOWsea-orm-macros/src/lib.rs1281/// #[derive(DeriveIden)]COMMENT
LOWsea-orm-macros/src/lib.rs1301/// The DeriveArrowSchema derive macro generates an `arrow_schema()` methodCOMMENT
LOWsea-orm-macros/src/derives/util.rs321 } else if RUST_SPECIAL_KEYWORDS.iter().any(|s| s.eq(&string)) {COMMENT
LOWsea-orm-macros/src/derives/util.rs341/// and cause the above panic;COMMENT
LOWsea-orm-macros/src/derives/attributes.rs81 }COMMENT
LOWsea-orm-macros/src/derives/attributes.rs101 /// Allows to specify RelationDefCOMMENT
LOWsea-orm-sync/tests/active_enum_tests.rs261COMMENT
681 more matches not shown…
Fake / Example Data26 hits · 26 pts
SeverityFileLineSnippetContext
LOWsea-orm-sync/tests/query_tests.rs267 "phone": "555-1234",CODE
LOWsea-orm-sync/tests/query_tests.rs286 "phone": "555-1234",CODE
LOWsea-orm-sync/tests/query_tests.rs322 "phone": "555-1234",CODE
LOWsea-orm-sync/examples/quickstart/src/main.rs230 .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"),CODE
LOWsea-orm-sync/examples/quickstart/src/main.rs230 .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"),CODE
LOWsea-orm-sync/examples/quickstart/src/main.rs248 assert!(bob.posts[0].title.starts_with("Lorem ipsum"));CODE
LOWsea-orm-sync/examples/quickstart/src/main.rs289 assert!(posts[0].title.starts_with("Lorem ipsum"));CODE
LOWsea-orm-sync/examples/quickstart/src/main.rs304 post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten itCODE
LOWsea-orm-sync/examples/quickstart/src/main.rs304 post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten itCODE
LOWsea-orm-sync/examples/quickstart/src/main.rs315 assert_eq!(post.title, "Lorem ipsum dolor sit amet");CODE
LOWsea-orm-sync/examples/quickstart/src/main.rs315 assert_eq!(post.title, "Lorem ipsum dolor sit amet");CODE
LOWsea-orm-sync/src/value.rs105 match V::try_from(V::null().dummy_value()) {CODE
LOWtests/query_tests.rs285 "phone": "555-1234",CODE
LOWtests/query_tests.rs306 "phone": "555-1234",CODE
LOWtests/query_tests.rs344 "phone": "555-1234",CODE
LOWexamples/quickstart/src/main.rs237 .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"),CODE
LOWexamples/quickstart/src/main.rs237 .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"),CODE
LOWexamples/quickstart/src/main.rs256 assert!(bob.posts[0].title.starts_with("Lorem ipsum"));CODE
LOWexamples/quickstart/src/main.rs299 assert!(posts[0].title.starts_with("Lorem ipsum"));CODE
LOWexamples/quickstart/src/main.rs314 post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten itCODE
LOWexamples/quickstart/src/main.rs314 post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten itCODE
LOWexamples/quickstart/src/main.rs326 assert_eq!(post.title, "Lorem ipsum dolor sit amet");CODE
LOWexamples/quickstart/src/main.rs326 assert_eq!(post.title, "Lorem ipsum dolor sit amet");CODE
LOWexamples/react_admin/frontend/src/users.json7 "fullName": "Jane Doe",CODE
LOWexamples/react_admin/frontend/src/users.json14 "fullName": "John Doe",CODE
LOWsrc/value.rs105 match V::try_from(V::null().dummy_value()) {CODE
Self-Referential Comments8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMsea-orm-sync/src/entity/mod.rs24//! # Defining an Entity (2.0 dense format)COMMENT
MEDIUMsea-orm-sync/src/entity/mod.rs66//! # Defining an Entity (1.0 compact format)COMMENT
MEDIUMexamples/loco_seaography/config/development.yaml11 # Define the logging format. options: compact, pretty or JsonCOMMENT
MEDIUMexamples/loco_starter/config/development.yaml11 # Define the logging format. options: compact, pretty or JsonCOMMENT
MEDIUMexamples/loco_example/config/development.yaml9 # Define the logging format. options: compact, pretty or JsonCOMMENT
MEDIUMexamples/react_admin/backend/config/development.yaml11 # Define the logging format. options: compact, pretty or JsonCOMMENT
MEDIUMsrc/entity/mod.rs24//! # Defining an Entity (2.0 dense format)COMMENT
MEDIUMsrc/entity/mod.rs66//! # Defining an Entity (1.0 compact format)COMMENT
Structural Annotation Overuse12 hits · 18 pts
SeverityFileLineSnippetContext
LOWsea-orm-sync/examples/pi_spigot/README.md24### Step 1: Define your state as a SeaORM entityCOMMENT
LOWsea-orm-sync/examples/pi_spigot/README.md52### Step 2: Write `to_state` / `from_state`COMMENT
LOWsea-orm-sync/examples/pi_spigot/README.md77### Step 3: Checkpoint with transactionsCOMMENT
LOWsea-orm-sync/examples/pi_spigot/README.md91### Step 4: Resume on startupCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs34 // Step 1: Generate 100 random rowsCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs63 // Step 2: Convert to Arrow RecordBatch and write to ParquetCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs83 // Step 3: Read the Parquet file back into a RecordBatchCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs105 // Step 4: Dump into SQLiteCOMMENT
LOWexamples/parquet_example/src/main.rs35 // Step 1: Generate 100 random rowsCOMMENT
LOWexamples/parquet_example/src/main.rs64 // Step 2: Convert to Arrow RecordBatch and write to ParquetCOMMENT
LOWexamples/parquet_example/src/main.rs84 // Step 3: Read the Parquet file back into a RecordBatchCOMMENT
LOWexamples/parquet_example/src/main.rs106 // Step 4: Dump into SQLiteCOMMENT
Slop Phrases6 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡examples/rocket_okapi_example/Rocket.toml6# make sure to enable "sqlx-mysql" feature in Cargo.toml, i.e default = ["sqlx-mysql"]COMMENT
LOW⚡examples/rocket_okapi_example/Rocket.toml10# make sure to enable "sqlx-postgres" feature in Cargo.toml, i.e default = ["sqlx-postgres"]COMMENT
LOW⚡examples/rocket_okapi_example/Rocket.toml14# make sure to enable "sqlx-sqlite" feature in Cargo.toml, i.e default = ["sqlx-sqlite"]COMMENT
LOW⚡examples/rocket_example/Rocket.toml6# make sure to enable "sqlx-mysql" feature in Cargo.toml, i.e default = ["sqlx-mysql"]COMMENT
LOW⚡examples/rocket_example/Rocket.toml10# make sure to enable "sqlx-postgres" feature in Cargo.toml, i.e default = ["sqlx-postgres"]COMMENT
LOW⚡examples/rocket_example/Rocket.toml14# make sure to enable "sqlx-sqlite" feature in Cargo.toml, i.e default = ["sqlx-sqlite"]COMMENT
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippetContext
LOWsea-orm-sync/examples/parquet_example/src/main.rs34 // Step 1: Generate 100 random rowsCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs63 // Step 2: Convert to Arrow RecordBatch and write to ParquetCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs83 // Step 3: Read the Parquet file back into a RecordBatchCOMMENT
LOWsea-orm-sync/examples/parquet_example/src/main.rs105 // Step 4: Dump into SQLiteCOMMENT
LOWexamples/parquet_example/src/main.rs35 // Step 1: Generate 100 random rowsCOMMENT
LOWexamples/parquet_example/src/main.rs64 // Step 2: Convert to Arrow RecordBatch and write to ParquetCOMMENT
LOWexamples/parquet_example/src/main.rs84 // Step 3: Read the Parquet file back into a RecordBatchCOMMENT
LOWexamples/parquet_example/src/main.rs106 // Step 4: Dump into SQLiteCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsea-orm-macros/src/derives/attributes.rs106 /// will utilize `impl Related` traitCOMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/rust.yml3# --------------------------------------------------------------------------------COMMENT