AI Slop Code Risk Monitor

Redocly/redoc

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

📘 OpenAPI/Swagger-generated API Reference Documentation

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Redocly/redoc, a TypeScript project with 25,994 GitHub stars. SynthScan examined 139,620 lines of code across 1024 source files, recording 184 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
26.0K
Stars
TypeScript
Language
139.6K
Lines of Code
1.0K
Files
184
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 5.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 6.5/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 184 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 3MEDIUM 5LOW 176

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 184 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.

Hyper-Verbose Identifiers158 hits · 158 pts
SeverityFileLineSnippetContext
LOWe2e/playwright/ce/tests/telemetry.spec.ts19async function renderThenForceTelemetryFlush(page: Page, query: string): Promise<void> {CODE
LOWe2e/playwright/ce/examples/global-setup.ts87async function assertInstalledFromTarball(example: Example): Promise<void> {CODE
LOWsrc/options/helpers.ts125export function normalizeIgnoreNamedSchemas(CODE
LOWsrc/utils/deep-link.ts109export function buildOpenApiSectionSuffix(CODE
LOWsrc/utils/deep-link.ts192export function isGraphqlDeepLinkAncestor(hash: string, path: string): boolean {CODE
LOWsrc/utils/deep-link.ts269export function extractDeepLinkParamFromHash(CODE
LOWsrc/utils/string.ts64export function transformStringToTelemetryId(...args: string[]): string {CODE
LOWsrc/utils/scroll-anchoring.ts11export function keepReadingSectionAnchored(): void {CODE
LOWsrc/utils/graphql-directive-utils.ts24export function getRequiresScopesDirective(type: DirectiveTarget): RequiresScopesDirective | null {CODE
LOWsrc/utils/graphql-directive-utils.ts46function extractScopesFromDirective(directive: DirectiveNode): string[][] | null {CODE
LOWsrc/utils/graphql-directive-utils.ts56function extractStringArrayFromValue(value: ValueNode): string[][] | null {CODE
LOWsrc/utils/graphql-directive-utils.ts72export function extractInfoFromDirectives(schema: GraphQLSchema): GraphQLInfo | undefined {CODE
LOWsrc/utils/media-type.ts40export function normalizeLanguageForHighlight(language: string | undefined): string {CODE
LOWsrc/utils/media-type.ts51export function isFormUrlEncodedMediaType(contentType: string | undefined): boolean {CODE
LOWsrc/utils/graphql-samples.ts319export function generateOperationVariablesExample(CODE
LOWsrc/utils/graphql-samples.ts331export function generateOperationResponseExample(CODE
LOWsrc/utils/graphql-type-expansion.ts23export function graphqlTypeHasExpandableFields(CODE
LOWsrc/utils/__tests__/graphql-samples.test.ts16function multilineForSamplesMaxInlineArgs(argCount: number, samplesMaxInlineArgs: number): boolean {CODE
LOWsrc/adapters/helpers.ts88export function pickRenderableDescription(value: unknown): ExampleEntry['description'] {CODE
LOWsrc/adapters/asyncapi/panels/overview.ts6export function buildOverviewPanelContent(info: AsyncApiInfo): OverviewNode {CODE
LOWsrc/adapters/asyncapi/panels/download.ts6export function buildDownloadPanelContent(downloadUrls: NormalizedDownloadUrl[]): DownloadNode {CODE
LOWsrc/adapters/asyncapi/utils/security.ts91export function buildSecurityRequirements(CODE
LOWsrc/adapters/asyncapi/utils/get-protocol-labels.ts73export function componentLabelsByProtocol({ protocol, channelBindings }: Params): Options {CODE
LOWsrc/adapters/asyncapi/items/channel/item.ts19function resolveChannelLabelAndSeo(CODE
LOWsrc/adapters/asyncapi/items/channel/item.ts31function buildSortedOperationsWithGroupHeaders(CODE
LOWsrc/adapters/asyncapi/items/channel/content.ts53export function buildMessageReferencesGroups(CODE
LOWsrc/adapters/utils/markdoc.ts38function contentUntilFirstAtxHeading(source: string): string {CODE
LOWsrc/adapters/utils/markdoc.ts43export function extractContentUntilFirstHeading(CODE
LOWsrc/adapters/utils/markdoc.ts82export function extractDescriptionSegments(CODE
LOWsrc/adapters/utils/markdoc.ts135export function resolveMarkdocHeadingDeepSuffix(CODE
LOWsrc/adapters/utils/markdoc.ts380function buildSectionItemWithChildren(CODE
LOWsrc/adapters/utils/markdoc.ts451export function extractFirstParagraphText(CODE
LOWsrc/adapters/openapi/build-code-sample-source.ts119function buildParametersByLocation(CODE
LOWsrc/adapters/openapi/build-code-sample-source.ts211function buildSecurityRequirements(CODE
LOWsrc/adapters/openapi/resolve-openapi-example-value.ts3export function resolveOpenApiExampleValue(example: OpenAPIExample | undefined): unknown {CODE
LOWsrc/adapters/openapi/store.ts27function normalizeImplicitDiscriminators(document: OpenAPIDefinition): void {CODE
LOWsrc/adapters/openapi/panels/overview.ts6export function buildOverviewPanelContent(info: OpenAPIInfo | undefined): OverviewNode {CODE
LOWsrc/adapters/openapi/panels/download.ts6export function buildDownloadPanelContent(downloadUrls: NormalizedDownloadUrl[]): DownloadNode {CODE
LOWsrc/adapters/openapi/utils/resolvePathItemRef.ts6function openapiAllowsPathItemRefSiblings(openapi: string | undefined): boolean {CODE
LOW…/adapters/openapi/utils/applyIgnoreNamedSchemasDeep.ts4export function applyIgnoreNamedSchemasDeep(CODE
LOW…apters/openapi/__tests__/callback-descriptions.test.ts24function documentWithCallbackDescription(description: string): OpenAPIDefinition {CODE
LOW…apters/openapi/__tests__/callback-descriptions.test.ts50function documentWithTwoUrlExpressions(): OpenAPIDefinition {CODE
LOWsrc/adapters/openapi/items/operation/content.ts409function buildCallbackOperationSection(CODE
LOWsrc/adapters/openapi/items/operation/content.ts501function buildCallbackPayloadPanels(CODE
LOWsrc/adapters/openapi/items/operation/content.ts636function buildResponseHeadersSchema(CODE
LOWsrc/adapters/openapi/items/operation/content.ts696function normalizeOpenApiDescription(value: unknown): string | Node | Node[] | undefined {CODE
LOWsrc/adapters/openapi/items/operation/content.ts752function resolveOpenApiExamplesMap(CODE
LOWsrc/adapters/openapi/items/operation/content.ts1180function buildOperationSecuritySection(operationInfo: OperationInfo): SecurityNode | undefined {CODE
LOWsrc/adapters/openapi/items/operation/content.ts1233function buildCodeSampleSourceFromContext(CODE
LOWsrc/adapters/openapi/items/schema/content.ts7export function buildSchemaDefinitionContent(CODE
LOW…dapters/openapi/items/schema/__tests__/content.test.ts24function findSchemaDefinitionMarkdoc(content: ApiItemContent): MarkdocNode | undefined {CODE
LOWsrc/adapters/__tests__/validateContentLinks.ts109function assertMessageReferenceLink(CODE
LOWsrc/adapters/graphql/serializeType.ts44function createDescriptionSerializer(CODE
LOWsrc/adapters/graphql/serializeType.ts79export function createGraphqlTypeSerializer(CODE
LOWsrc/adapters/graphql/group/errors.ts1export function getItemDoesNotMatchAnyGroupErrorMessage(itemDescription: string): string {CODE
LOWsrc/adapters/graphql/panels/group-items.ts10export function buildGroupItemsPanelContent(CODE
LOWsrc/adapters/graphql/panels/overview.ts6export function buildOverviewPanelContent(CODE
LOWsrc/adapters/graphql/panels/download.ts6export function buildDownloadPanelContent(CODE
LOWsrc/adapters/graphql/utils/validateMenuConfig.ts6export function validateGraphqlMenuConfig(schema: GraphQLSchema, menuConfig?: MenuConfig): void {CODE
LOWsrc/adapters/graphql/utils/configMetadataRows.ts23export function buildGraphqlConfigMetadataRows(CODE
98 more matches not shown…
Fake / Example Data16 hits · 16 pts
SeverityFileLineSnippetContext
LOWplayground/specs/cafe.yaml1532 hyphens, and apostrophes (e.g., "John Doe", "Mary-Jane", "O'Brien").CODE
LOW…tests/schema/schema-streaming-response-samples.spec.ts23 `{"id":"user_123","name":"John Doe","email":"john.doe@example.com","active":true}`,CODE
LOW…tests/schema/schema-streaming-response-samples.spec.ts45 `{"id":"user_123","profile":{"name":"John Doe","email":"john.doe@example.com","preferences":{"theme":"dark","nCODE
LOW…tests/schema/schema-streaming-response-samples.spec.ts59 `{"type":"user_created","userId":"user_123","timestamp":"2024-01-15T10:00:00Z","data":{"name":"John Doe","emaiCODE
LOW…tests/schema/schema-streaming-response-samples.spec.ts78 `{"id":"string","name":"string","email":"user@example.com","active":true}`,CODE
LOW…tests/schema/schema-streaming-response-samples.spec.ts100 `{"id":"string","profile":{"name":"string","email":"user@example.com","preferences":{"theme":"light","notificaCODE
LOWsrc/utils/__tests__/__fixtures__/openapi-3-1.yaml698 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOWsrc/utils/__tests__/__fixtures__/openapi-3-1.yaml698 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW…pters/__tests__/__fixtures__/specs/openapi/schema.yaml702 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW…pters/__tests__/__fixtures__/specs/openapi/schema.yaml702 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW…hema/views/__tests__/PropertyFieldRow.example.test.tsx47 street: '123 Main Street',CODE
LOW…ices/code-samples/__tests__/streaming-pipeline.test.ts99 name: { type: 'string', example: 'John Doe' },CODE
LOW…ices/code-samples/__tests__/streaming-pipeline.test.ts135 '{"id":"user_123","profile":{"name":"John Doe","email":"john.doe@example.com","preferences":{"theme":"dark","notifCODE
LOW…ices/code-samples/__tests__/streaming-pipeline.test.ts151 name: { type: 'string', example: 'John Doe' },CODE
LOW…ices/code-samples/__tests__/streaming-pipeline.test.ts185 '{"type":"user_created","userId":"user_123","timestamp":"2024-01-15T10:00:00Z","data":{"name":"John Doe","email":"CODE
LOWsrc/services/search/__tests__/engine.test.ts420 const text = `${'lorem ipsum dolor '.repeat(15)}wombat${' sit amet consectetur'.repeat(15)}`;CODE
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMsrc/utils/deep-link.ts7// ── Low-level primitives ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/deep-link.ts68// ── OpenAPI suffix builders ─────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/deep-link.ts124// ── AsyncAPI suffix builders ────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/deep-link.ts159// ── GraphQL suffix builders ─────────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/deep-link.ts364// ── Legacy hash helpers (for scroll) ────────────────────────────────────────COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHexamples/java/Main.java0<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initSTRING
HIGH…rc/main/java/com/example/cafedocs/RedocController.java0<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initSTRING
HIGHexamples/aspnet/Program.cs0<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initSTRING
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWconfig/docker/docker-run.sh1#!/bin/shCOMMENT
LOWsrc/empty-linkedom.js1// Browser-bundle stub for `linkedom` (see vite.config.ts).COMMENT