AI Slop Code Risk Monitor

DioxusLabs/taffy

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

A high performance rust-powered UI layout library

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for DioxusLabs/taffy, a Rust project with 3,727 GitHub stars. SynthScan examined 211,009 lines of code across 8487 source files, recording 159 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
3.7K
Stars
Rust
Language
211.0K
Lines of Code
8.5K
Files
159
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.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 3.9/100 · LOW

Which changes need focused human review? 159 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 4LOW 155

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 159 distinct pattern matches across 5 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 Block147 hits · 147 pts
SeverityFileLineSnippetContext
LOW.markdownlint.yml1---COMMENT
LOW.markdownlint.yml21# MD013:COMMENT
LOWbenches/src/yoga_helpers.rs101// }COMMENT
LOWsrc/lib.rs1//! # TaffyCOMMENT
LOWsrc/lib.rs21//!COMMENT
LOWsrc/lib.rs41//! - [parley](https://github.com/DioxusLabs/taffy/blob/main/examples/parley/src/main.rs)COMMENT
LOWsrc/lib.rs61#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]COMMENT
LOWsrc/geometry.rs201 /// The sum of [`Rect.start`](Rect) and [`Rect.end`](Rect)COMMENT
LOWsrc/geometry.rs221 /// Both horizontal_axis_sum and vertical_axis_sum as a `Size<T>`COMMENT
LOWsrc/tree/cache.rs21// The `CacheKey` encodes two f32s as a u64. We know that the f32s will always beCOMMENT
LOWsrc/tree/cache.rs141 }COMMENT
LOWsrc/tree/cache.rs181std::thread_local! {COMMENT
LOWsrc/tree/cache.rs201/// Cached intermediate layout resultsCOMMENT
LOWsrc/tree/layout.rs1//! Final data structures that represent the high-level UI layoutCOMMENT
LOWsrc/tree/layout.rs241COMMENT
LOWsrc/tree/layout.rs261 /// This flag is ignored (treated as `true`) for axes where the corresponding known dimension is `None`.COMMENT
LOWsrc/tree/layout.rs341/// margin box within that area.COMMENT
LOWsrc/tree/layout.rs401 /// Create a `AxisStaticPosition` which aligns the box within `area` according to itsCOMMENT
LOWsrc/tree/layout.rs441}COMMENT
LOWsrc/tree/layout.rs561/// can run after the algorithm has finished. When the container is a grid, per-box grid areas areCOMMENT
LOWsrc/tree/layout.rs581pub struct LayoutOutput {COMMENT
LOWsrc/tree/layout.rs601 /// lays them out. Empty (allocation-free) when there are no such descendants (the common case).COMMENT
LOWsrc/tree/layout.rs681 pub fn from_outer_size(size: Size<f32>) -> Self {COMMENT
LOWsrc/tree/layout.rs701 /// content of the node (the border boxes of its descendants plus their non-clipped overflow),COMMENT
LOWsrc/tree/traits.rs1//! The abstractions that make up the core of Taffy's low-level APICOMMENT
LOWsrc/tree/traits.rs21//! ├── RoundTree - Round a float-valued` layout to integer pixelsCOMMENT
LOWsrc/tree/traits.rs41//! the `PrintTree` traits.COMMENT
LOWsrc/tree/traits.rs61//! ```COMMENT
LOWsrc/tree/traits.rs81//!COMMENT
LOWsrc/tree/traits.rs101//!COMMENT
LOWsrc/tree/traits.rs121//! pub trait PrintTree: TraverseTree {COMMENT
LOWsrc/tree/traits.rs161}COMMENT
LOWsrc/tree/traits.rs201COMMENT
LOWsrc/tree/traits.rs221 /// Interpreted in the containing block's axes (see [`LayoutPartialTree::get_core_container_style`]).COMMENT
LOWsrc/tree/traits.rs241COMMENT
LOWsrc/tree/traits.rs281 /// their containing block, so [`round_layout`](crate::round_layout) skips them when visiting aCOMMENT
LOWsrc/util/sys.rs1//! Allocator-flexible data typesCOMMENT
LOWsrc/util/front_back_vec_builder.rs1//! A fixed-capacity `Vec` builder that can be filled from both endsCOMMENT
LOWsrc/style/float.rs1//! Style types for float layoutCOMMENT
LOWsrc/style/alignment.rs1//! Style types for controlling alignment.COMMENT
LOWsrc/style/alignment.rs21#[derive(Copy, Clone, PartialEq, Eq, Debug, Default)]COMMENT
LOWsrc/style/alignment.rs41 FlexEnd,COMMENT
LOWsrc/style/alignment.rs61COMMENT
LOWsrc/style/alignment.rs81 FlexEnd,COMMENT
LOWsrc/style/alignment.rs121/// `Unsafe`, except for absolutely positioned boxes whose alignment is insteadCOMMENT
LOWsrc/style/alignment.rs141 /// Keeps the requested alignment even when the subject overflows the alignmentCOMMENT
LOWsrc/style/alignment.rs181 /// Stretch to fill the container.COMMENT
LOWsrc/style/alignment.rs221 }COMMENT
LOWsrc/style/alignment.rs321/// For Grid it controls alignment in the inline axis.COMMENT
LOWsrc/style/alignment.rs341COMMENT
LOWsrc/style/alignment.rs381 /// content overflows the alignment container, to avoid data loss.COMMENT
LOWsrc/style/compact_length.rs221#[repr(transparent)]COMMENT
LOWsrc/style/compact_length.rs241/// (`min-content`, `max-content`, `fit-content`, `fit-content()`, `stretch`) and clear for `auto`,COMMENT
LOWsrc/style/compact_length.rs341 pub const fn min_content() -> Self {COMMENT
LOWsrc/style/compact_length.rs361 #[inline(always)]COMMENT
LOWsrc/style/compact_length.rs381 /// `max(min_content, min(max_content, stretch))`COMMENT
LOWsrc/style/grid.rs21/// The template may be larger than the extents of the named areas due to unnamed (`.`) cells,COMMENT
LOWsrc/style/grid.rs421/// Defaults to `GridPlacement::Auto`COMMENT
LOWsrc/style/grid.rs881 #[inline(always)]COMMENT
LOWsrc/style/grid.rs901 /// `max(min_content, min(max_content, limit))`COMMENT
87 more matches not shown…
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMbenches/Cargo.toml42# The library only contains helpers for the benchmarks. Disabling the default `libtest` bench harness for itCOMMENT
MEDIUMsrc/compute/grid/mod.rs336 // Absolutely positioned children do not take part in grid placement and do not create implicit tracks,COMMENT
MEDIUMsrc/compute/grid/placement.rs556 (1, (line(2), auto(), line(1), auto()).into_grid_child(), (1, 2, 0, 1)), // Definitely positioned inCODE
MEDIUMsrc/compute/grid/placement.rs592 (1, (line(-5), auto(), line(1), auto()).into_grid_child(), (-2, -1, 0, 1)), // Row 1. Definitely posCODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWexamples/common/text.rs1pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWexamples/common/text.rs1pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWexamples/parley/src/main.rs6pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWexamples/parley/src/main.rs6pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWbenches/benches/mixed.rs10pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWbenches/benches/mixed.rs10pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/common/src/lib.rs3/// Creates a `TaffyTree` that uses `TestNodeContext`. The purpose of this function isCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/gentest/test_helper.js187function parseGridTrackDefinitions(input) {CODE