AI Slop Code Risk Monitor

remeda/remeda

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

A utility library for JavaScript and TypeScript.

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for remeda/remeda, a TypeScript project with 5,449 GitHub stars. SynthScan examined 113,992 lines of code across 1106 source files, recording 47 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.4K
Stars
TypeScript
Language
114.0K
Lines of Code
1.1K
Files
47
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 2.3/100 · LOW

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

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

PR Review Velocity Impact 2.0/100 · LOW

Which changes need focused human review? 47 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 0LOW 47

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 47 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 Block29 hits · 29 pts
SeverityFileLineSnippetContext
LOWpackages/docs/src/components/search.tsx41 `url_without_anchor:${site?.origin ?? ""}${pathname}`,COMMENT
LOWpackages/remeda/tsdown.config.ts81 //! Even the programmatic `build` API tries to load the default configCOMMENT
LOWpackages/remeda/tsdown.config.ts141 chunksCOMMENT
LOWpackages/remeda/src/groupByProp.ts41 Prop extends GroupableProps<T>,COMMENT
LOWpackages/remeda/src/groupByProp.ts61// because our mapped type would never run; but this doesn't represent theCOMMENT
LOWpackages/remeda/src/groupByProp.ts201COMMENT
LOWpackages/remeda/src/startsWith.test-d.ts621 // `startsWith("cat" as "cat" | "dog", "bird")` is (see "reject disjointCOMMENT
LOWpackages/remeda/src/startsWith.test-d.ts721 // needs `T` to find the prefix dead, doesn't match and the genericCOMMENT
LOWpackages/remeda/src/find.ts21 // We distribute the array type to support unions of arrays/tuples.COMMENT
LOWpackages/remeda/src/sample.ts181COMMENT
LOW…a/src/funnel.lodash-throttle-with-cached-value.test.ts101// (https://github.com/lodash/lodash/blob/4.17.21/test/test.js#L22768). TheyCOMMENT
LOWpackages/remeda/src/endsWith.ts61// suffix instead of any of them. Only one of them is the suffix at runtime, andCOMMENT
LOWpackages/remeda/src/endsWith.ts81 // suffixes, which is exactly the kind of uncertainty that we areCOMMENT
LOWpackages/remeda/src/endsWith.ts201 // the returned predicate; without one it falls back to `string`, which onlyCOMMENT
LOWpackages/remeda/src/stringToPath.ts1import type { IsNumericLiteral, IsStringLiteral } from "type-fest";COMMENT
LOWpackages/remeda/src/stringToPath.ts101 // - `quoted`, `doubleQuoted`: used within square bracket notation to preventCOMMENT
LOWpackages/remeda/src/endsWith.test-d.ts621 // Actual: it compiles. `IsDisjointSuffix` short-circuits to `false`COMMENT
LOWpackages/remeda/src/funnel.lodash-debounce.test.ts81 // callback of `debounce`. In Remeda we return a proper object where theCOMMENT
LOWpackages/remeda/src/fromEntries.ts41// For the array case we also need to handle what kind of keys it defines:COMMENT
LOWpackages/remeda/src/pickBy.ts21 // `symbol` keys) we want to "reconstruct" the record from just itsCOMMENT
LOW…a/src/funnel.lodash-debounce-with-cached-value.test.ts101 );COMMENT
LOWpackages/remeda/src/startsWith.ts61// prefix instead of any of them. Only one of them is the prefix at runtime, andCOMMENT
LOWpackages/remeda/src/startsWith.ts81 // prefixes, which is exactly the kind of uncertainty that we areCOMMENT
LOWpackages/remeda/src/startsWith.ts201 // the returned predicate; without one it falls back to `string`, which onlyCOMMENT
LOWpackages/remeda/src/internal/requireData.ts81): boolean =>COMMENT
LOWpackages/remeda/src/internal/types/Resolved.ts1// Acts as a "inference" point that forces TypeScript to resolve during a deepCOMMENT
LOW…ges/remeda/src/internal/types/NonEmptyPrefix.test-d.ts101 expectTypeOf(result).toEqualTypeOf<[string, string?, string?]>();COMMENT
LOWpackages/remeda/src/internal/types/NonEmptyPrefix.ts61// the rest item.COMMENT
LOWpackages/remeda/src/internal/types/ArrayAt.ts41 // might be of that element's type, but it also could be anyCOMMENT
Hyper-Verbose Identifiers15 hits · 19 pts
SeverityFileLineSnippetContext
LOW.claude/hooks/lib/stop-handlers.ts90export function readonlyCommandStopHandler(CODE
LOW.claude/hooks/lib/stop-handlers.ts104export function mutatingCommandStopHandler(CODE
LOWpackages/brand/scripts/generate-assets.ts73async function injectDocumentationSiteAssets(): Promise<void> {CODE
LOWpackages/remeda/tsdown.config.ts129async function injectAdditionalTypeDeclarations({CODE
LOW⚡packages/remeda/src/purry.test-d.ts105function subtractWithMatchingOverloads(CODE
LOW⚡packages/remeda/src/purry.test-d.ts109function subtractWithMatchingOverloads(CODE
LOW⚡packages/remeda/src/purry.test-d.ts114function subtractWithMatchingOverloads(...args: readonly unknown[]) {CODE
LOW⚡packages/remeda/src/purry.test-d.ts119function subtractWithMismatchedOverload(CODE
LOW⚡packages/remeda/src/purry.test-d.ts123function subtractWithMismatchedOverload(CODE
LOW⚡packages/remeda/src/purry.test-d.ts128function subtractWithMismatchedOverload(...args: readonly unknown[]) {CODE
LOW⚡packages/remeda/src/purry.test-d.ts135function genericDataFirstDeclaredLast(): <T>(CODE
LOW⚡packages/remeda/src/purry.test-d.ts140function genericDataFirstDeclaredLast(...args: readonly unknown[]): unknown {CODE
LOWpackages/remeda/src/randomString.ts43function randomStringImplementation(length: number): string {CODE
LOWpackages/remeda/src/internal/makeStoppable.test-d.ts39declare function stoppableGenericEvaluator(CODE
LOWpackages/remeda/src/internal/purryOrderRules.ts96export function purryOrderRulesWithArgument(CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWpackages/remeda/src/conditional.ts103 // TODO [>2]: Exclude previous guarded types from the next functions in the chain. Although this isn't a prefect solutCOMMENT
LOWpackages/remeda/src/isEmpty.ts53 // TODO [>2]: remove `undefined` support! (don't forget to update the jsdoc example too!)COMMENT
LOW.vscode/settings.json4 // the `remeda.code-workspace`. When adding a new package, don't forget toCOMMENT