AI Slop Code Risk Monitor

swiftlang/swift-evolution

SlopCodeMonitor badge for swiftlang/swift-evolution Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for swiftlang/swift-evolution, a Markdown project with 15,880 GitHub stars. SynthScan examined 209,519 lines of code across 616 source files, recording 742 pattern matches distributed across 6 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-29
Last Push
15.9K
Stars
Markdown
Language
209.5K
Lines of Code
616
Files
742
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.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 16.6/100 · LOW

Which changes need focused human review? 742 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 2MEDIUM 3LOW 737

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 742 distinct pattern matches across 6 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 Block729 hits · 680 pts
SeverityFileLineSnippetContext
LOWproposals/0336-distributed-actor-isolation.md301/// COMMENT
LOWproposals/0419-backtrace-api.md81 /// On Darwin and on ELF platforms, this will use EH unwindCOMMENT
LOWproposals/0419-backtrace-api.md101 /// Corresponds to an `await` in an async task.COMMENT
LOWproposals/0419-backtrace-api.md121 /// Note that the limit *includes* the discontinuity.COMMENT
LOWproposals/0419-backtrace-api.md181 /// The architecture of the process to which this backtrace refers.COMMENT
LOWproposals/0419-backtrace-api.md201 /// The `capture()` method itself will not be included in the backtrace;COMMENT
LOWproposals/0419-backtrace-api.md241 public static let showSourceLocations: SymbolicationOptionsCOMMENT
LOWproposals/0419-backtrace-api.md361 ///COMMENT
LOWproposals/0453-vector.md261extension InlineArray where Element: ~Copyable {COMMENT
LOWproposals/0453-vector.md281 /// an immutable borrow reference to the previously initialized element. TheCOMMENT
LOWproposals/0410-atomics.md201/// - An acquiring fence ties to any preceding atomic operation thatCOMMENT
LOWproposals/0410-atomics.md581### Basic Atomic OperationsCOMMENT
LOWproposals/0410-atomics.md601 ordering: AtomicStoreOrderingCOMMENT
LOWproposals/0410-atomics.md621 /// ```COMMENT
LOWproposals/0410-atomics.md641 ordering: AtomicUpdateOrderingCOMMENT
LOWproposals/0410-atomics.md661 /// will be used when the operation leaves the value intact.COMMENT
LOWproposals/0410-atomics.md681 /// Perform an atomic weak compare and exchange operation on the currentCOMMENT
LOWproposals/0410-atomics.md701 ///COMMENT
LOWproposals/0410-atomics.md721 /// ```COMMENT
LOWproposals/0410-atomics.md901 /// the current value without updating it.COMMENT
LOWproposals/0405-string-validating-initializers.md61We want these new initializers to be performant. As such, their implementation should minimize the number of memory alloCOMMENT
LOWproposals/0405-string-validating-initializers.md81 /// let invalid = String(validating: invalidUTF16, as: UTF16.self)COMMENT
LOWproposals/0405-string-validating-initializers.md101 /// The following example calls this initializer with the contents of twoCOMMENT
LOWproposals/0405-string-validating-initializers.md121 validating codeUnits: some Sequence<Int8>,COMMENT
LOWproposals/0405-string-validating-initializers.md141 /// validUTF8.withUnsafeBufferPointer { ptr inCOMMENT
LOWproposals/0074-binary-search.md121 /// Returns the range of elements equivalent to `element`, usingCOMMENT
LOWproposals/0074-binary-search.md141 /// least partitioned by `element`.COMMENT
LOWproposals/0247-contiguous-strings.md41(For rationale on why StringProtocol was excluded, see “What about StringProtocol?” in Alternatives Considered)COMMENT
LOWproposals/0247-contiguous-strings.md61 public mutating func makeContiguousUTF8()COMMENT
LOWproposals/0247-contiguous-strings.md81// Contiguous UTF-8 stringsCOMMENT
LOWproposals/0247-contiguous-strings.md101 /// which will also speed up subsequent access. If this mutates the substring,COMMENT
LOWproposals/0247-contiguous-strings.md201 /// Complexity: O(1) if `self` is contiguous UTF-8, otherwise O(n)COMMENT
LOWproposals/0259-approximately-equal.md81```swiftCOMMENT
LOWproposals/0259-approximately-equal.md101 /// Much of this advice is false, and most of the rest is technicallyCOMMENT
LOWproposals/0259-approximately-equal.md121 /// consult with a friendly numerical analyst.COMMENT
LOWproposals/0259-approximately-equal.md141 guard self.isFinite && other.isFinite else {COMMENT
LOWproposals/0259-approximately-equal.md161 /// subtractions, use a tolerance of `.ulpOfOne * n * scale`, whereCOMMENT
LOWproposals/0525-rawspan-safe-loading-api.md281extension RawSpan {COMMENT
LOWproposals/0525-rawspan-safe-loading-api.md301 /// `offset` must be completely within the span.COMMENT
LOWproposals/0525-rawspan-safe-loading-api.md341```COMMENT
LOWproposals/0525-rawspan-safe-loading-api.md381 ) where T: BitwiseCopyableCOMMENT
LOWproposals/0525-rawspan-safe-loading-api.md401 /// Returns a value constructed from the raw memory at the specified offset.COMMENT
LOWproposals/0525-rawspan-safe-loading-api.md421 /// `offset` is not required to be aligned for `T`.COMMENT
LOWproposals/0525-rawspan-safe-loading-api.md481 as type: T.TypeCOMMENT
LOWproposals/0525-rawspan-safe-loading-api.md501 /// There must be at least `count * MemoryLayout<T>.stride` bytesCOMMENT
LOWproposals/0525-rawspan-safe-loading-api.md521 /// - repeatedValue: The value to store as raw bytes.COMMENT
LOWproposals/0525-rawspan-safe-loading-api.md581 ///COMMENT
LOWproposals/0445-string-index-printing.md141COMMENT
LOWproposals/0558-mutablespan-bulk-updates.md161 /// Overwrites every element of this span by copying the elementsCOMMENT
LOWproposals/0558-mutablespan-bulk-updates.md201 ///COMMENT
LOWproposals/0558-mutablespan-bulk-updates.md241 /// - Parameters:COMMENT
LOWproposals/0558-mutablespan-bulk-updates.md261 /// index of this span, or equal to its `count`.COMMENT
LOWproposals/0558-mutablespan-bulk-updates.md321 _ subrange: UnboundedRange, repeating repeatedByte: UInt8COMMENT
LOWproposals/0558-mutablespan-bulk-updates.md361 /// Overwrites every byte within a range of offsets by movingCOMMENT
LOWproposals/0558-mutablespan-bulk-updates.md381 _ subrange: UnboundedRange, moving source: inout OutputRawSpanCOMMENT
LOWproposals/0558-mutablespan-bulk-updates.md401 /// - Throws: Any error thrown while reading from `source`.COMMENT
LOWproposals/0558-mutablespan-bulk-updates.md421 >(COMMENT
LOWproposals/0308-postfix-if-config-expressions.md221### Nested `#if` blocksCOMMENT
LOW…s/0424-custom-isolation-checking-for-serialexecutor.md61 // ...COMMENT
LOWproposals/0138-unsaferawbufferpointer.md681```COMMENT
669 more matches not shown…
AI Response Leakage2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHproposals/0382-expression-macros.md592 * Remove the implementations of `#column`, as well as the implication that things like `#line` can be implemented withCOMMENT
HIGHproposals/0356-swift-snippets.md392Another option was to support something like “[literate programming](http://www.literateprogramming.com/)” where source CODE
Fake / Example Data5 hits · 7 pts
SeverityFileLineSnippetContext
LOWproposals/0203-rename-sequence-elements-equal.md47> Contrived Example: Two Lorem Ipsum generators are the same generator (referentially equal, substitutable for the purpoCODE
LOW⚡proposals/0182-newline-escape-in-strings.md28 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna CODE
LOW⚡proposals/0182-newline-escape-in-strings.md28 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna CODE
LOW⚡proposals/0182-newline-escape-in-strings.md33 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod \CODE
LOW⚡proposals/0182-newline-escape-in-strings.md33 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod \CODE
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWproposals/0160-objc-inference.md451### Step 1: Address compiler warningsCOMMENT
LOWproposals/0160-objc-inference.md507### Step 2: Address (opt-in) runtime warningsCOMMENT
LOWproposals/0160-objc-inference.md535### Step 3: Migrate to Swift 4COMMENT
Decorative Section Separators2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMproposals/0344-distributed-actor-runtime.md390 │── // actorSystem.actorReady(self) ────────────────▶│ Store a mapping (ID -> some DistributedActor)CODE
MEDIUMproposals/0344-distributed-actor-runtime.md394 ◌ deinit ─ // actorSystem.resignID(self.id) ────────▶│ Remove (ID -> some DistributedActor) mappingCODE
Excessive Try-Catch Wrapping1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMproposals/0235-add-result.md248 /// print("Error retrieving the value: \(error)")COMMENT