AI Slop Code RIsk Monitor

PowerShell/PowerShell

PowerShell for every system!

9.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for PowerShell/PowerShell, a C# project with 55,668 GitHub stars. SynthScan examined 797,659 lines of code across 1606 source files, recording 5485 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 9.1 (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.

9.1
Adjusted Signal
9.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
55.7K
Stars
C#
Language
797.7K
Lines of Code
1.6K
Files
5.5K
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 26.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 14.2/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 36.7/100 · MEDIUM

Which changes need focused human review? 5485 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 186HIGH 9MEDIUM 50LOW 5240

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 5485 distinct pattern matches across 11 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 Block5190 hits · 4529 pts
SeverityFileLineSnippetContext
LOW.pipelines/templates/release-validate-packagenames.yml121COMMENT
LOW.pipelines/templates/release-validate-packagenames.yml141# Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -VerboseCOMMENT
LOW.pipelines/templates/release-validate-packagenames.yml161# path: $(System.ArtifactsDirectory)COMMENT
LOW.pipelines/templates/release-validate-packagenames.yml181# {COMMENT
LOWtools/install-powershell.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-debian.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-osx.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-gentoo.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-suse.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-suse.sh161fiCOMMENT
LOWtools/installpsh-amazonlinux.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-mariner.sh1#!/bin/bashCOMMENT
LOWtools/installpsh-redhat.sh1#!/bin/bashCOMMENT
LOW…ls/NamedPipeConnection/src/code/NamedPipeConnection.cs41 /// <summary>COMMENT
LOW…ls/NamedPipeConnection/src/code/NamedPipeConnection.cs101 /// <summary>COMMENT
LOW…es/Microsoft.PowerShell.Utility/assets/pesteralias.txt1# Alias FileCOMMENT
LOW.github/workflows/linux-ci.yml221 testResultsFolder: "${{ github.workspace }}/testResults"COMMENT
LOW.github/workflows/scorecards.yml41 with:COMMENT
LOW.github/policies/labelAdded.approvedLowRisk.yml21 permission: AdminCOMMENT
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs21COMMENT
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs41COMMENT
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs61 public NetworkCredential ProxyCredential { get; set; }COMMENT
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs81 ProxyWinHttpConfig = 1,COMMENT
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs101 /// </summary>COMMENT
LOW…nagement.Infrastructure.CimCmdlets/CimWriteProgress.cs21 /// Initializes a new instance of the <see cref="CimWriteProgress"/> class.COMMENT
LOW…nagement.Infrastructure.CimCmdlets/CimWriteProgress.cs101COMMENT
LOW…gement.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs321 /// Create <see cref="CimMethodParametersCollection"/> with given key properties.COMMENT
LOW…gement.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs441 #region const stringsCOMMENT
LOW….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs41 /// </para>COMMENT
LOW….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs61 }COMMENT
LOW….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs101 /// </summary>COMMENT
LOW…ent.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOW…ent.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs381 }COMMENT
LOW….Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs41COMMENT
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs61 Position = 0,COMMENT
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs141COMMENT
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs161 [Parameter(ValueFromPipelineByPropertyName = true)]COMMENT
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs101 /// Initializes a new instance of the <see cref="CimIndicationEventInstanceEventArgs"/> class.COMMENT
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs121 /// and listen to the incoming indications, event <see cref="CimIndicationArrived"/>COMMENT
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs341 /// <para>COMMENT
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs361COMMENT
LOW….Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs281COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs81 /// Initializes a new instance of the <see cref="InvocationContext"/> class.COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs101 /// <para>COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs121 /// Performs pre processing of given result object.COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs181 internal class CimSessionProxy : IDisposableCOMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs201 /// Due to some cmdlet, such as <see cref="Remove-CimInstance"/>COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs281COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs301 /// </summary>COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs341 /// Then create wrapper object.COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs441COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1241 /// Enumerate referencing instance associated withCOMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1441 /// <summary>COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1461 /// Called after new action event.COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1481 #endregionCOMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1501 /// The current CimInstance object, against which issuedCOMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1541COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1601 internal XOperationContextBase ContextObject { get; set; }COMMENT
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1621 #endregionCOMMENT
5130 more matches not shown…
Hallucination Indicators186 hits · 2442 pts
SeverityFileLineSnippetContext
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs417 var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCredeCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs444 var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCredeCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs472 var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCredeCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs506 var ex = Record.Exception(() => System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs544 var ex = Record.Exception(() => System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs587 System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.PerformTransportVersionAndTokenExcCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs629 result = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.IsRequirePsDirectAuthentiCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs664 System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedTokeCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs702 () => System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(clientCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs711 System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs758 System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedTokeCODE
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs798 () => System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, exCODE
CRITICAL⚡test/hosting/test_HostingBasic.cs193 var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2();CODE
CRITICAL⚡test/hosting/test_HostingBasic.cs202 var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2();CODE
CRITICAL⚡test/hosting/test_HostingBasic.cs208 using var runspace = System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(iss);CODE
CRITICAL…/commands/utility/EnableDisableRunspaceDebugCommand.cs290 System.Management.Automation.Runspaces.LocalRunspace.SetDebugPreference(processName.ToLowerInvariant(), CODE
CRITICAL…s.Utility/commands/utility/ImplicitRemotingCommands.cs1698 System.Management.Automation.Runspaces.Internal.ClientRemotePowerShell.ExitHandler(sender, eventArgs);CODE
CRITICAL…mands.Utility/commands/utility/GetRandomCommandBase.cs240 baseObject = System.Management.Automation.Language.Parser.ScanNumber((string)baseObject, typeof(int));CODE
CRITICAL….Commands.Utility/commands/utility/Set-PSBreakpoint.cs108 (System.Management.Automation.Security.SystemPolicy.GetSystemLockdownPolicy() !=CODE
CRITICAL…ommands.Utility/commands/utility/ImportAliasCommand.cs249 foreach (CommandInfo commandInfo in System.Management.Automation.Internal.ModuleUtils.GetMatchingComCODE
CRITICAL…gement.UI.Internal/commandHelpers/ShowCommandHelper.cs701 return "\'" + System.Management.Automation.Language.CodeGeneration.EscapeSingleQuotedStringContent(str) + "\CODE
CRITICAL…t.PowerShell.Commands.Diagnostics/GetCounterCommand.cs194 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();CODE
CRITICAL…oft.PowerShell.Commands.Diagnostics/GetEventCommand.cs331 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();CODE
CRITICAL…osoft.PowerShell.Commands.Diagnostics/CounterSample.cs73 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();CODE
CRITICAL….PowerShell.Commands.Diagnostics/NewWinEventCommand.cs30 private readonly ResourceManager _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilitiesCODE
CRITICAL…ft.PowerShell.Security/security/CertificateProvider.cs1598 [SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Management.AutomationCODE
CRITICAL…ft.PowerShell.Security/security/CertificateProvider.cs1599 [SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Management.AutomationCODE
CRITICAL…m.Management.Automation/utils/StructuredTraceSource.cs1285 lineBuilder.Append(System.Management.Automation.Internal.StringUtil.Padding(indentSize * threadIndentLevel))CODE
CRITICALsrc/System.Management.Automation/utils/PsUtils.cs252 if (provider == null || !Microsoft.PowerShell.Commands.FileSystemProvider.ProviderName.Equals(provider.NCODE
CRITICAL…tem.Management.Automation/namespaces/IContentWriter.cs52 /// number of blocks from the specified <paramref name="origin"/>. See <see cref="System.Management.Automation.PCOMMENT
CRITICAL….Management.Automation/namespaces/DriveProviderBase.cs148 /// Any failures should be sent to the <see cref="System.Management.Automation.Provider.CmdletProvider.WriteErroCOMMENT
CRITICAL…/common/DisplayDatabase/displayResourceManagerCache.cs189 ExecutionContext context = System.Management.Automation.Runspaces.LocalPipeline.GetExecutionContextFromTCODE
CRITICAL…Management.Automation/engine/NativeCommandProcessor.cs1119 Host.BufferCell[,] bufferContents = this.Command.Context.EngineHostInterface.UI.RawUI.GetBufferCCODE
CRITICAL…Management.Automation/engine/NativeCommandProcessor.cs1141 this.Command.Context.InternalHost.UI.TranscribeResult(bufferText.ToString());CODE
CRITICAL…Management.Automation/engine/NativeCommandProcessor.cs1881 Host.BufferCell[,] bufferContents = this.Command.Context.EngineHostInterface.UI.RawUI.GetBufferCCODE
CRITICAL…System.Management.Automation/engine/CommandMetadata.cs1323 /// <seealso cref="System.Management.Automation.Runspaces.InitialSessionState.CreateRestricted(SessionCapabilitiCOMMENT
CRITICALsrc/System.Management.Automation/engine/regex.cs468 string likeOperand = Microsoft.PowerShell.Cmdletization.Cim.WildcardPatternToCimQueryParser.Parse(this, out CODE
CRITICAL…c/System.Management.Automation/engine/serialization.cs7295 return System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadCertificate(rawData);CODE
CRITICAL…nagement.Automation/engine/DataStoreAdapterProvider.cs291 /// during calls to their <see cref="System.Management.Automation.Provider.CmdletProvider.Start(ProviderInfo)"/>COMMENT
CRITICAL…em.Management.Automation/engine/InitialSessionState.cs2684 initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Add(newCommandNameCODE
CRITICAL…em.Management.Automation/engine/InitialSessionState.cs2685 initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Remove(commandNameCODE
CRITICAL…em.Management.Automation/engine/InitialSessionState.cs2725 initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Add(CODE
CRITICALsrc/System.Management.Automation/engine/pipeline.cs1111 Microsoft.PowerShell.Telemetry.Internal.TelemetryAPI.TraceExecutedCommand(commandProcessor.Command.CommaCODE
CRITICAL….Management.Automation/engine/hostifaces/PowerShell.cs5739 System.Management.Automation.Runspaces.Command.FromPSObjectForRemoting(extraCommand);CODE
CRITICAL….Management.Automation/engine/hostifaces/PowerShell.cs5759 System.Management.Automation.Runspaces.Command.FromPSObjectForRemoting(commandAsPSObject);CODE
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1213 /// <see cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferCell)COMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1214 /// <see cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Coordinates, BufferCelCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1220 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferCCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1221 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Coordinates, BuffeCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1379 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey()"/>COMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1380 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey(System.Management.AutomationCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1390 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey()"/>COMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1391 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey(System.Management.AutomationCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1435 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(int, int, BufferCCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1436 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(Size, BufferCell)COMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1437 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(string[], ConsoleCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1438 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.LengthInBufferCells(char)"/>COMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1439 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.LengthInBufferCells(string)"/>COMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1440 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferCCOMMENT
CRITICAL⚡…utomation/engine/hostifaces/MshHostRawUserInterface.cs1479 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(int, int, BufferCCOMMENT
126 more matches not shown…
AI Slop Vocabulary35 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUM…Shell.Commands.Utility/commands/utility/MatchString.cs811 // Essentially, the buffer is separated into regions:COMMENT
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs8382 // the code above seems cleaner and more robust than the IAttachmentExecute approachCOMMENT
MEDIUMsrc/System.Management.Automation/engine/CommandBase.cs323 /// <summary>Detailed will leverage Get-Error to get much more detailed information for the error.</summary>COMMENT
MEDIUM…System.Management.Automation/engine/PSConfiguration.cs79 /// A more robust solution is needed to enable ReaderWriterLockSlim behavior between processes.COMMENT
MEDIUM….Management.Automation/engine/hostifaces/PowerShell.cs4340 // and robust connections is retrying a failed network connection.COMMENT
MEDIUM…anagement.Automation/engine/hostifaces/InternalHost.cs21 /// implementation, and also to provide a leverage point at which the monad engine can hook the interaction between COMMENT
MEDIUM…anagement.Automation/engine/hostifaces/InternalHost.cs24 /// That leverage may be necessary to manage concurrent access between multiple pipelines sharing the same instance COMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs1517 // Get robust connections maximum retries time.COMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs1863 // This callback is also used for robust connection notifications. Check for andCOMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2182 // Raise transport event notifying start of robust connections.COMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2193 // Send robust notification to client.COMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2196 // Raise transport event notifying completion of robust connections.COMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2238 // This callback is also used for robust connection notifications. Check for andCOMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2594 // used for periodic robust connection retry/auto-disconnectCOMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2928 // Suspend queue on robust connections initiated event.COMMENT
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2931 // Resume queue on robust connections completed event.COMMENT
MEDIUM…tomation/engine/remoting/fanin/BaseTransportManager.cs640 /// Queue the robust connection notification event.COMMENT
MEDIUM…tomation/engine/remoting/fanin/BaseTransportManager.cs673 // Queue worker item to raise the event so that all robust connectionCOMMENT
MEDIUM…m.Management.Automation/engine/remoting/common/misc.cs211 /// A disconnect operation initiated by the WinRM robust connectionCOMMENT
MEDIUM…ation/engine/remoting/commands/InvokeCommandCommand.cs1443 // Add robust connection retry notification handler.COMMENT
LOW…mation/engine/remoting/commands/CustomShellCommands.cs150 # if AccessMode is Disabled OR the winrm configsddl failed, we just returnCOMMENT
MEDIUM…n/engine/remoting/client/RemoteRunspacePoolInternal.cs233 /// Returns robust connection maximum retry time in milliseconds.COMMENT
MEDIUM…n/engine/remoting/client/RemoteRunspacePoolInternal.cs1783 /// A session disconnect has been initiated by the WinRM robust connection layer. SetCOMMENT
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs402 /// Indicates that a disconnect has been initiated by the WinRM robust connections layer.COMMENT
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs833 /// Forwards robust connection notifications to associated PowerShell clients.COMMENT
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs917 /// Returns robust connection maximum retry time in milliseconds, if supportedCOMMENT
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs1460 /// Called from session DSHandler. Notify client of robust connectionCOMMENT
MEDIUM…ement.Automation/engine/remoting/client/RunspaceRef.cs231 // Add robust connection callback if this is a pushed runspace.COMMENT
MEDIUM…ement.Automation/engine/remoting/client/RunspaceRef.cs241 // Add callback to write robust connection errors from stream.COMMENT
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs180 // If we are in robust connection retry mode then auto-disconnect this commandCOMMENT
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs187 // While in robust connection retry mode, this call forces robust connectionsCOMMENT
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs333 /// This event is fired when this PowerShell object receives a robust connectionCOMMENT
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs764 /// Handles a robust connection layer notification from the transportCOMMENT
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs773 // Create event arguments and warnings/errors for this robust connection notification.COMMENT
MEDIUM…ment.Automation/engine/Modules/SwitchProcessCommand.cs128 // leverage .NET runtime's native library which abstracts the need to handle different OS and architectures for COMMENT
Synthetic Comment Markers8 hits · 58 pts
SeverityFileLineSnippetContext
HIGHsrc/ResGen/Program.cs105// This code was generated by a dotnet run from src\ResGen folder.COMMENT
HIGH…l/ManagementList/Common/ListOrganizerItem.Generated.cs5// This code was generated by a tool. DO NOT EDITCOMMENT
HIGH…ernal/ManagementList/Common/ListOrganizer.Generated.cs5// This code was generated by a tool. DO NOT EDITCOMMENT
HIGH….UI.Internal/HelpWindow/HelpWindowSettings.Designer.cs5// This code was generated by a tool.COMMENT
HIGH…I.Internal/ShowCommand/ShowCommandSettings.Designer.cs5// This code was generated by a tool.COMMENT
HIGH…stem.Management.Automation/utils/tracing/TracingGen.cs975// This code was generated on 02/01/2012 19:52:32COMMENT
HIGH…/System.Management.Automation/CoreCLR/EventResource.cs6 This code was generated by the tools\ResxGen\ResxGen.ps1 run against PowerShell.Core.Instrumentation.man.CODE
HIGH…ml/CoreCLR/cmdlets-over-objects.objectModel.autogen.cs9// This code was generated by a tool.COMMENT
Self-Referential Comments16 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUM.pipelines/MSIXBundle-vPack-Official.yml374 ## Create an output variable for the enabled channels so that downstream stages can use it.COMMENT
MEDIUM.pipelines/templates/uploadToAzure.yml303 # Create the blob container if it doesn't existCOMMENT
MEDIUM.pipelines/templates/uploadToAzure.yml314 # Create the blob container if it doesn't existCOMMENT
MEDIUM.pipelines/templates/uploadToAzure.yml350 # Create the blob container if it doesn't existCOMMENT
MEDIUM.pipelines/templates/uploadToAzure.yml400 # Create the blob container if it doesn't existCOMMENT
MEDIUMtools/installpsh-suse.sh190## Create the target folder where powershell will be placedCOMMENT
MEDIUMtools/installpsh-suse.sh197## Create the symbolic link that points to powershellCOMMENT
MEDIUMtools/installpsh-amazonlinux.sh165## Create the target folder where powershell will be placedCOMMENT
MEDIUMtools/installpsh-amazonlinux.sh172## Create the symbolic link that points to powershellCOMMENT
MEDIUMtools/installpsh-mariner.sh177## Create the target folder where powershell will be placedCOMMENT
MEDIUMtools/installpsh-mariner.sh184## Create the symbolic link that points to powershellCOMMENT
MEDIUMdocker/InstallTarballPackage.sh29# Create the target folder where powershell will be placedCOMMENT
MEDIUMdocker/InstallTarballPackage.sh34# Create the symbolic link that points to powershellCOMMENT
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs8571 # Create the new file.COMMENT
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs9032 # Create a new array to hold the file contentCOMMENT
MEDIUM…mation/engine/remoting/commands/CustomShellCommands.cs4808 # Create the default PSSession configuration, not tied to specific PowerShell versionCOMMENT
Structural Annotation Overuse21 hits · 32 pts
SeverityFileLineSnippetContext
LOW.pipelines/templates/channelSelection.yml12 # NOTE: The following regex is duplicated from rebuild-branch-check.yml.COMMENT
LOW.github/agents/SplitADOPipelines.agent.md46### Step 1: Extract Shared TemplatesCOMMENT
LOW.github/agents/SplitADOPipelines.agent.md56### Step 2: Create Official Pipeline (In-Place Refactoring)COMMENT
LOW.github/agents/SplitADOPipelines.agent.md78### Step 3: Create NonOfficial PipelineCOMMENT
LOW.github/agents/SplitADOPipelines.agent.md99### Step 4: Link NonOfficial Pipelines to NonOfficial DependenciesCOMMENT
LOW.github/agents/SplitADOPipelines.agent.md125### Step 5: Configure Release Environment Parameters (NonAzure Only)COMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md57### Step 1: Verify the original PR exists and is mergedCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md84### Step 2: Create the backport branchCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md107### Step 3: Cherry-pick the merge commitCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md135### Step 4: Push the backport branchCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md147### Step 5: Create the backport PRCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md239### Step 6: Add the CL label to the backport PRCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md251### Step 7: Update the original PR's backport labelsCOMMENT
LOW.github/prompts/backport-pr-to-release-branch.prompt.md267### Step 8: Clean up temporary filesCOMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md63# Step 1: Identify the failing jobCOMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md66# Step 2: Download artifacts (extract RUN_ID from Step 1)COMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md187### Step 2: Get Test ResultsCOMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md203### Step 3: Extract Specific FailuresCOMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md223### Step 4: Read the Error MessageCOMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md247### Step 5: Understand the ContextCOMMENT
LOW.github/skills/analyze-pester-failures/SKILL.md265### Step 6: Interpret the FailureCOMMENT
Redundant / Tautological Comments23 hits · 28 pts
SeverityFileLineSnippetContext
LOW.pipelines/MSIXBundle-vPack-Official.yml196 # Check if release tag matches the expected format v#.#.#COMMENT
LOW.pipelines/MSIXBundle-vPack-Official.yml217 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/MSIXBundle-vPack-Official.yml274 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/MSIXBundle-vPack-Official.yml279 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/rebuild-branch-check.yml5 # Check if this is a rebuild branch (e.g., rebuild/v7.4.13-rebuild.5)COMMENT
LOW.pipelines/templates/linux.yml58 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/linux.yml115 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/linux.yml120 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml62 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml134 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml192 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml197 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml184 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml254 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml258 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW…ystem.Management.Automation/DscSupport/CimDSCParser.cs3837# Check if PsDscRunCredential is being specified as Arguments to ConfigurationCOMMENT
LOW…ystem.Management.Automation/DscSupport/CimDSCParser.cs3840# Check if resource is also trying to set the value for RunAsCredCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs8588 # Check if drive specifies max size and if max size is exceededCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs8642 # Check if drive specifies max size and if max size is exceededCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs8685 # Check if the target drive is NTFSCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs9179 # Check if the source supports 'Get-Content -Stream'. This functionality was introduced in version 3.0.COMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs9188 # Check if the file has any alternate data streams.COMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs9519 # Check if the given path exists.COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…ine/remoting/server/serverremotesessionstatemachine.cs573 /// This is the handler for ConnectFailed event. In this implementation, this should neverCOMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…Management.Automation/engine/NativeCommandProcessor.cs1677 // We need to check if we're using legacy argument passing or it's a special case.COMMENT
LOW…m.Management.Automation/engine/remoting/client/Job2.cs1844 // in which case we need to check if the parentCOMMENT
LOW…ement.Automation/engine/runtime/CompiledScriptBlock.cs280 // now we need to check if the HashtableAst is safe.COMMENT
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/System.Management.Automation/engine/ErrorPackage.cs295 /// non-empty value, for example "John Doe".COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…t.Automation/engine/scriptparameterbindercontroller.cs157 // Example usage:COMMENT