Repository Analysis

PowerShell/PowerShell

PowerShell for every system!

8.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of PowerShell/PowerShell, a C# project with 54,395 GitHub stars. SynthScan v2.0 examined 837,996 lines of code across 1656 source files, recording 5669 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 8.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

8.9
Adjusted Score
8.9
Raw Score
100%
Time Factor
2026-07-08
Last Push
54.4K
Stars
C#
Language
838.0K
Lines of Code
1.7K
Files
5.7K
Pattern Hits
2026-07-14
Scan Date
0.12
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 189HIGH 10MEDIUM 50LOW 5420

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 5669 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block5369 hits · 4696 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
5309 more matches not shown…
Hallucination Indicators189 hits · 2472 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
CRITICALtest/hosting/test_HostingBasic.cs193 var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2();CODE
CRITICALtest/hosting/test_HostingBasic.cs202 var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2();CODE
CRITICALtest/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.cs670 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…owerShell.Commands.Diagnostics/ExportCounterCommand.cs184 _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…owerShell.Commands.Diagnostics/ImportCounterCommand.cs210 _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…agement.Automation/namespaces/TransactedRegistryKey.cs430 Microsoft.PowerShell.Commands.Internal.Buffer.memcpy(sd, 0, pSecDescriptor, 0, sd.Length);CODE
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…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
129 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.cs8334 // 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.cs78 /// 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 Markers9 hits · 65 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…zation/xml/cmdlets-over-objects.objectModel.autogen.cs14// This code was generated by a tool.COMMENT
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.yml311 ## 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.cs8529 # Create the new file.COMMENT
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs8984 # 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 Overuse22 hits · 33 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
LOW…ent.Automation/utils/perfCounters/PSPerfCountersMgr.cs437 /// NOTE: This method is provided solely for testing purposes.COMMENT
Redundant / Tautological Comments23 hits · 28 pts
SeverityFileLineSnippetContext
LOW.pipelines/MSIXBundle-vPack-Official.yml136 # Check if release tag matches the expected format v#.#.#COMMENT
LOW.pipelines/MSIXBundle-vPack-Official.yml157 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/MSIXBundle-vPack-Official.yml211 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/MSIXBundle-vPack-Official.yml216 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.yml57 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/linux.yml111 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/linux.yml116 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml58 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml127 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml186 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/windows-hosted-build.yml191 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml133 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml196 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.CODE
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml200 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.cs8546 # Check if drive specifies max size and if max size is exceededCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs8600 # Check if drive specifies max size and if max size is exceededCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs8637 # Check if the target drive is NTFSCOMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs9131 # Check if the source supports 'Get-Content -Stream'. This functionality was introduced in version 3.0.COMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs9140 # Check if the file has any alternate data streams.COMMENT
LOW…Management.Automation/namespaces/FileSystemProvider.cs9471 # 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