AI Slop Code RIsk Monitor

App-vNext/Polly

Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.

5.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for App-vNext/Polly, a C# project with 14,243 GitHub stars. SynthScan examined 123,074 lines of code across 930 source files, recording 689 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 5.7 (Moderate 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.

5.7
Adjusted Signal
5.7
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
14.2K
Stars
C#
Language
123.1K
Lines of Code
930
Files
689
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 24.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 25.0/100 · LOW

Which changes need focused human review? 689 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 2HIGH 0MEDIUM 0LOW 687

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 689 distinct pattern matches across 4 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 Block675 hits · 662 pts
SeverityFileLineSnippetContext
LOWcake.cs1#:sdk Cake.SdkCOMMENT
LOWtest/Polly.Specs/Helpers/Constants.cs1namespace Polly.Specs.Helpers;COMMENT
LOW…Core.Tests/Simmy/Outcomes/ChaosOutcomeStrategyTests.cs261 /// <summary>COMMENT
LOW…ting/RateLimiterResiliencePipelineBuilderExtensions.cs1using System.ComponentModel.DataAnnotations;COMMENT
LOW…c/Polly.RateLimiting/OnRateLimiterRejectedArguments.cs1using System.Threading.RateLimiting;COMMENT
LOWsrc/Polly.RateLimiting/RateLimiterRejectedException.cs41 /// <summary>COMMENT
LOWsrc/Polly.RateLimiting/RateLimiterRejectedException.cs61 /// Initializes a new instance of the <see cref="RateLimiterRejectedException"/> class.COMMENT
LOWsrc/Polly.RateLimiting/RateLimiterArguments.cs1namespace Polly.RateLimiting;COMMENT
LOWsrc/Polly.RateLimiting/RateLimiterStrategyOptions.cs1using System.ComponentModel.DataAnnotations;COMMENT
LOWsrc/Polly.RateLimiting/RateLimiterStrategyOptions.cs21 /// will use a <see cref="ConcurrencyLimiter"/> created using <see cref="DefaultRateLimiterOptions"/>.COMMENT
LOWsrc/Polly.RateLimiting/RateLimiterStrategyOptions.cs41COMMENT
LOW…tensions/Registry/ConfigureBuilderContextExtensions.cs1using System.Diagnostics.CodeAnalysis;COMMENT
LOWsrc/Polly.Extensions/Telemetry/MeteringEnricher.cs1namespace Polly.Telemetry;COMMENT
LOWsrc/Polly.Extensions/Telemetry/TelemetryOptions.cs41 /// The default value is an empty collection.COMMENT
LOWsrc/Polly.Extensions/Telemetry/TelemetryOptions.cs61COMMENT
LOWsrc/Polly.Extensions/Telemetry/EnrichmentContext.cs1namespace Polly.Telemetry;COMMENT
LOW…emetry/TelemetryResiliencePipelineBuilderExtensions.cs1using System.Diagnostics.CodeAnalysis;COMMENT
LOW…emetry/TelemetryResiliencePipelineBuilderExtensions.cs21 /// By enabling telemetry, the resilience pipeline will log and meter all resilience events.COMMENT
LOW…ns/DependencyInjection/AddResiliencePipelineContext.cs21COMMENT
LOW…ns/DependencyInjection/AddResiliencePipelineContext.cs41 /// <param name="name">The named options, if any.</param>COMMENT
LOW…ns/DependencyInjection/AddResiliencePipelineContext.cs61 /// <para>COMMENT
LOW…ependencyInjection/PollyServiceCollectionExtensions.cs21 /// <typeparam name="TKey">The type of the key used to identify the resilience pipeline.</typeparam>COMMENT
LOW…ependencyInjection/PollyServiceCollectionExtensions.cs41 Guard.NotNull(configure);COMMENT
LOW…ependencyInjection/PollyServiceCollectionExtensions.cs81 {COMMENT
LOW…ependencyInjection/PollyServiceCollectionExtensions.cs181 {COMMENT
LOW…s/DependencyInjection/AddResiliencePipelinesContext.cs21COMMENT
LOW…red/DebuggerDisableUserUnhandledExceptionsAttribute.cs1#pragma warning disableCOMMENT
LOW…c/LegacySupport/DynamicallyAccessedMembersAttribute.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…c/LegacySupport/DynamicallyAccessedMembersAttribute.cs21/// of a program.COMMENT
LOWsrc/LegacySupport/CallerArgumentExpressionAttribute.cs21 /// <summary>COMMENT
LOWsrc/LegacySupport/DynamicallyAccessedMemberTypes.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/LegacySupport/DynamicallyAccessedMemberTypes.cs21 /// <summary>COMMENT
LOWsrc/LegacySupport/DynamicallyAccessedMemberTypes.cs41 /// <summary>COMMENT
LOWsrc/LegacySupport/DynamicallyAccessedMemberTypes.cs61 /// <summary>COMMENT
LOWsrc/LegacySupport/DynamicallyAccessedMemberTypes.cs81 /// <summary>COMMENT
LOWsrc/LegacySupport/DynamicDependencyAttribute.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/LegacySupport/DynamicDependencyAttribute.cs21/// </remarks>COMMENT
LOWsrc/LegacySupport/DynamicDependencyAttribute.cs61 /// <summary>COMMENT
LOWsrc/LegacySupport/DynamicDependencyAttribute.cs81 {COMMENT
LOWsrc/LegacySupport/DynamicDependencyAttribute.cs101 /// Either <see cref="MemberSignature"/> must be a valid string or <see cref="MemberTypes"/>COMMENT
LOWsrc/LegacySupport/DynamicDependencyAttribute.cs121 /// </remarks>COMMENT
LOWsrc/LegacySupport/RequiresUnreferencedCodeAttribute.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/LegacySupport/RequiresUnreferencedCodeAttribute.cs21/// This allows tools to understand which methods are unsafe to call when removing unreferencedCOMMENT
LOWsrc/LegacySupport/NullableAttributes.cs1// Copyright (c) Microsoft Corporation. All Rights Reserved.COMMENT
LOW…LegacySupport/UnconditionalSuppressMessageAttribute.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…LegacySupport/UnconditionalSuppressMessageAttribute.cs41 /// Gets the category identifying the classification of the attribute.COMMENT
LOW…LegacySupport/UnconditionalSuppressMessageAttribute.cs61 /// <remarks>COMMENT
LOW…LegacySupport/UnconditionalSuppressMessageAttribute.cs81 /// <remarks>COMMENT
LOWsrc/Polly.Core/ResiliencePipelineT.cs1using Polly.Utils.Pipeline;COMMENT
LOWsrc/Polly.Core/PredicateBuilder.TResult.cs1namespace Polly;COMMENT
LOWsrc/Polly.Core/PredicateBuilder.TResult.cs21 /// </summary>COMMENT
LOWsrc/Polly.Core/PredicateBuilder.TResult.cs41 /// an <see cref="Exception"/>, or at any level of nesting within an <see cref="AggregateException"/>.COMMENT
LOWsrc/Polly.Core/PredicateBuilder.TResult.cs101 => Add(outcome => outcome.TryGetResult(out var result) && predicate(result!));COMMENT
LOWsrc/Polly.Core/Outcome.cs1namespace Polly;COMMENT
LOWsrc/Polly.Core/Outcome.cs21 /// <returns>A completed <see cref="ValueTask{TResult}"/> that produces <see cref="Outcome{TResult}"/>.</returns>COMMENT
LOWsrc/Polly.Core/ResiliencePipelineBuilder.TResult.cs1using System.ComponentModel.DataAnnotations;COMMENT
LOWsrc/Polly.Core/ResiliencePipeline.SyncT.cs1namespace Polly;COMMENT
LOWsrc/Polly.Core/DelayBackoffType.cs1namespace Polly;COMMENT
LOWsrc/Polly.Core/DelayBackoffType.cs21 /// </summary>COMMENT
LOWsrc/Polly.Core/ResiliencePipelineT.Sync.cs1namespace Polly;COMMENT
615 more matches not shown…
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…ateLimiting.Tests/RateLimiterRejectedExceptionTests.cs86 var formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();CODE
CRITICALtest/Polly.TestUtils/BinarySerializationUtil.cs19 var formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();CODE
Structural Annotation Overuse10 hits · 15 pts
SeverityFileLineSnippetContext
LOW.github/skills/performance-benchmark/SKILL.md15## Step 1: Write the BenchmarkCOMMENT
LOW.github/skills/performance-benchmark/SKILL.md60## Step 2: Prepare the Baseline and Changed CodeCOMMENT
LOW.github/skills/performance-benchmark/SKILL.md73## Step 3: Run the BenchmarksCOMMENT
LOW.github/skills/performance-benchmark/SKILL.md87## Step 4: Interpret and Report the ResultsCOMMENT
LOW.github/skills/performance-benchmark/SKILL.md98## Step 5: Clean UpCOMMENT
LOW.github/skills/code-review/SKILL.md23### Step 0: Load Relevant InstructionsCOMMENT
LOW.github/skills/code-review/SKILL.md33### Step 1: Gather Code Context (No PR Narrative Yet)COMMENT
LOW.github/skills/code-review/SKILL.md45### Step 2: Form an Independent AssessmentCOMMENT
LOW.github/skills/code-review/SKILL.md56### Step 3: Incorporate PR Narrative and ReconcileCOMMENT
LOW.github/skills/code-review/SKILL.md67### Step 4: Detailed AnalysisCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…ly.Core.Tests/Hedging/Controller/TaskExecutionTests.cs296 value.ShouldBe("dummy-value");CODE
LOW…ly.Core.Tests/Hedging/Controller/TaskExecutionTests.cs302 _primaryContext.Properties.Set(_myKey, "dummy-value");CODE