AI Slop Code Risk Monitor

microsoft/edit

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

We all edit.

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for microsoft/edit, a Rust project with 14,745 GitHub stars. SynthScan examined 39,075 lines of code across 122 source files, recording 81 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
14.7K
Stars
Rust
Language
39.1K
Lines of Code
122
Files
81
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 10.3/100 · LOW

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

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

PR Review Velocity Impact 10.1/100 · LOW

Which changes need focused human review? 81 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 1LOW 80

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 81 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 Block75 hits · 75 pts
SeverityFileLineSnippetContext
LOW.pipelines/release.yml81 # Binaries will go here.COMMENT
LOW.pipelines/release.yml121 additionalTargets: x86_64-pc-windows-msvc aarch64-pc-windows-msvcCOMMENT
LOWcrates/edit/src/vt.rs21 /// A CSI sequence started with `ESC [`.COMMENT
LOWcrates/edit/src/vt.rs81COMMENT
LOWcrates/edit/src/float.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/icu.rs261COMMENT
LOWcrates/edit/src/icu.rs281COMMENT
LOWcrates/edit/src/icu.rs681 /// initially and it'll trigger ICU to reload the text and invalidate its caches.COMMENT
LOWcrates/edit/src/icu.rs921// followed by functions in this order:COMMENT
LOWcrates/edit/src/fuzzy.rs41 let mut matches = BVec::empty();COMMENT
LOWcrates/edit/src/helpers.rs181/// Uses `unsafe` so that the debug performance isn't too bad.COMMENT
LOWcrates/edit/src/document.rs21 /// * You should not assume that offsets are at grapheme cluster boundaries.COMMENT
LOWcrates/edit/src/input.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/input.rs461 /// Once we encounter the start of a bracketed pasteCOMMENT
LOWcrates/edit/src/framebuffer.rs81 StraightRgba::from_rgba(0xfc74ffff), // BrightMagentaCOMMENT
LOWcrates/edit/src/framebuffer.rs301 let content_offset = content_offset as i64 * 8;COMMENT
LOWcrates/edit/src/framebuffer.rs661 ) {COMMENT
LOWcrates/edit/src/tui.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/tui.rs21//!COMMENT
LOWcrates/edit/src/tui.rs41//! a direct mirror of the code "layout" that created it.COMMENT
LOWcrates/edit/src/tui.rs61//! hit tests, caching scroll offsets, and so on.COMMENT
LOWcrates/edit/src/tui.rs81//!COMMENT
LOWcrates/edit/src/tui.rs101//! fn main() {COMMENT
LOWcrates/edit/src/tui.rs121//! // Render the output.COMMENT
LOWcrates/edit/src/tui.rs221/// Informs you about the change that was made to the list selection.COMMENT
LOWcrates/edit/src/tui.rs321 modal_default_fg: StraightRgba,COMMENT
LOWcrates/edit/src/tui.rs341 mouse_state: InputMouseState,COMMENT
LOWcrates/edit/src/unicode/measurement.rs21#[inline]COMMENT
LOWcrates/edit/src/unicode/measurement.rs41 ///COMMENT
LOWcrates/edit/src/unicode/measurement.rs101 pub fn goto_offset(&mut self, offset: usize) -> Cursor {COMMENT
LOWcrates/edit/src/unicode/measurement.rs121 ///COMMENT
LOWcrates/edit/src/unicode/measurement.rs341 // If we're here, we hit our target. Now the only question is:COMMENT
LOWcrates/edit/src/unicode/utf8.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/unicode/utf8.rs121 self.offset += 1;COMMENT
LOWcrates/edit/src/simd/memset.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/simd/lines_bwd.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/sys/windows.rs41}COMMENT
LOWcrates/edit/src/arena/scratch.rs81 for s in &mut S_SCRATCH[..] {COMMENT
LOWcrates/edit/src/arena/release.rs21/// If you have never used an arena allocator before, think of it asCOMMENT
LOWcrates/edit/src/arena/debug.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/arena/debug.rs21/// ```should_panicCOMMENT
LOWcrates/edit/src/collections/vec.rs81 /// It's not marked as `unsafe`, because people count the "unsafe" keyword as a measure of safetyCOMMENT
LOWcrates/edit/src/buffer/gap_buffer.rs41/// so that pushing into it doesn't reallocate every single time. A gap bufferCOMMENT
LOWcrates/edit/src/buffer/gap_buffer.rs181COMMENT
LOWcrates/edit/src/buffer/mod.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/edit/src/buffer/mod.rs181 /// The ICU `URegularExpression` object.COMMENT
LOWcrates/edit/src/buffer/mod.rs221}COMMENT
LOWcrates/edit/src/buffer/mod.rs2221 };COMMENT
LOWcrates/edit/src/buffer/mod.rs3021 debug_assert!(!entry.deleted.is_empty() || !entry.added.is_empty());COMMENT
LOWcrates/unicode-gen/src/rules.rs1// Copyright (c) Microsoft Corporation.COMMENT
LOWcrates/unicode-gen/src/rules.rs21//COMMENT
LOWcrates/unicode-gen/src/rules.rs41// Do not break within emoji modifier sequences or emoji zwj sequences.COMMENT
LOWcrates/unicode-gen/src/rules.rs101];COMMENT
LOWcrates/unicode-gen/src/rules.rs121// Mandatory breaks:COMMENT
LOWcrates/unicode-gen/src/rules.rs141// LB10: Treat any remaining combining mark or ZWJ as AL.COMMENT
LOWcrates/unicode-gen/src/rules.rs161// LB14: Do not break after '[', even after spaces.COMMENT
LOWcrates/unicode-gen/src/rules.rs181// LB19: Do not break before non-initial unresolved quotation marks, such as ' ” ' or ' " ', nor after non-final unresoCOMMENT
LOWcrates/unicode-gen/src/rules.rs201// > If used as hyphen, it acts like U+2010 HYPHEN, which has line break class BA.COMMENT
LOWcrates/unicode-gen/src/rules.rs221// ~ CP × PO modified from NU ( SY | IS )* CP × POCOMMENT
LOWcrates/unicode-gen/src/rules.rs241// ✗ Our ucd_* functions never break within grapheme clusters.COMMENT
15 more matches not shown…
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/edit/src/unicode/sanitize.rs39 // So, we need to check if the original bytes were actually invalid UTF8 (slow path).COMMENT
LOWcrates/edit/src/buffer/mod.rs1016 // If the last chunk ended on a CR, we need to check if it was a CRLF sequence.COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/edit/src/sys/unix.rs32/// Don't forget to release the memory when you're done with it or you'll leak it.COMMENT
LOWcrates/edit/src/sys/windows.rs31/// Don't forget to release the memory when you're done with it or you'll leak it.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/edit/src/buffer/mod.rs3332/// Essentially a [`std::io::BufWriter`] but for [`Arena`].COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWassets/highlighting-tests/python.py93def helper():CODE