Repository Analysis

pnpm/pnpm

Fast, disk space efficient package manager

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pnpm/pnpm, a Rust project with 35,775 GitHub stars. SynthScan v2.0 examined 882,559 lines of code across 4541 source files, recording 2345 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written 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).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
35.8K
Stars
Rust
Language
882.6K
Lines of Code
4.5K
Files
2.3K
Pattern Hits
2026-07-14
Scan Date
0.00
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 0HIGH 2MEDIUM 20LOW 2323

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 2345 distinct pattern matches across 12 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 Block1776 hits · 1669 pts
SeverityFileLineSnippetContext
LOWdeny.toml21unmaintained = "workspace"COMMENT
LOWdeny.toml41 # feature does not enable either, so the affected code is unreachable inCOMMENT
LOWrustfmt.toml1# Make Rust more readable given most people have wide screens nowadays.COMMENT
LOW.pr_agent.toml41# the /improve tool (see pr_commands and push_commands), so approval is re-checkedCOMMENT
LOWdylint.toml1# Dylint configuration. cargo-dylint reads `[workspace.metadata.dylint]`COMMENT
LOWdylint.toml21 # to a `let` internally before the match, so the expression isCOMMENT
LOWpnpm-workspace.yaml61# The Rust CLI wrapper is the workspace package `pacquet` (published to npm asCOMMENT
LOWshell/resolve-pr-conflicts.sh1#!/usr/bin/env bashCOMMENT
LOW…lling/deps-resolver/test/resolveDependencyTree.test.ts201 const exactResolution = tResolutions.find(({ bareSpecifier }) => bareSpecifier === '1.0.0')COMMENT
LOW…/installing/deps-resolver/src/linkPathToPeerVersion.ts1// Converts a link: path into a stable, filename-safe token used as theCOMMENT
LOWpnpm11/installing/deps-resolver/src/resolvePeers.ts201 // A provider whose tree position was pruned from the traversal (its parentCOMMENT
LOWpnpm11/installing/deps-resolver/src/index.ts181 } = await resolveDependencyTree(projectsToResolve, opts)COMMENT
LOWpnpm11/installing/deps-installer/test/catalogs.ts901 // this should be the case even if pnpm-workspace.yaml still hasCOMMENT
LOWpnpm11/installing/deps-installer/test/catalogs.ts1581describe('update', () => {COMMENT
LOWpnpm11/installing/deps-installer/test/link.ts81// const projects = prepare(t, [COMMENT
LOWpnpm11/installing/deps-installer/test/link.ts101// },COMMENT
LOW…ing/deps-installer/test/install/injectLocalPackages.ts2021// it to the filesMap; the importer's fast path then wiped the target beforeCOMMENT
LOW…eps-installer/src/install/verifyLockfileResolutions.ts321 )COMMENT
LOWpnpm11/installing/deps-installer/src/install/index.ts381 //COMMENT
LOW…pm11/installing/env-installer/src/installConfigDeps.ts61 const configDepPath = path.join(configModulesDir, pkgName)COMMENT
LOWpnpm11/installing/commands/src/runPacquet.ts121}COMMENT
LOWpnpm11/installing/commands/src/installDeps.ts221 // pacquet consumes. Threaded through both the workspace recursiveCOMMENT
LOWpnpm11/config/reader/src/loadNpmrcFiles.ts121 // URL-scoped auth/registry settings supplied via `npm_config_//…` andCOMMENT
LOWpnpm11/config/reader/src/loadNpmrcFiles.ts201 localPrefix,COMMENT
LOWpnpm11/config/reader/src/loadNpmrcFiles.ts381// * auth keys — `_authToken` etc. Pinned to prevent credential leaks. npmCOMMENT
LOWpnpm11/config/reader/src/loadNpmrcFiles.ts521}COMMENT
LOWpnpm11/__fixtures__/pnpm-workspace.yaml21COMMENT
LOW…ures__/multiple-scripts-error-exit/pnpm-workspace.yaml1# This fixture exercises child-process cleanup when `pnpm run` exits, notCOMMENT
LOWpnpm11/resolving/local-resolver/README.md21resolveFromLocal({bareSpecifier: './example-package'}, {prefix: process.cwd()})COMMENT
LOWpnpm11/resolving/npm-resolver/README.md41// "ava": "^0.0.4"COMMENT
LOWpnpm11/resolving/npm-resolver/test/publishedBy.test.ts361 // would rethrow ERR_PNPM_MISSING_TIME under what used to beCOMMENT
LOW…olving/npm-resolver/src/createNpmResolutionVerifier.ts281 canTrustPastCheck: (cached) => {COMMENT
LOW…olving/npm-resolver/src/createNpmResolutionVerifier.ts481 name: stringCOMMENT
LOWpnpm11/resolving/npm-resolver/src/pickPackage.ts401 // fire again on the next install. Without this, a mirror olderCOMMENT
LOWpnpm11/workspace/projects-graph/README.md41// dependencies: ['/home/zkochan/src/bar'],COMMENT
LOWpnpm11/__typings__/index.d.ts1/// <reference path="local.d.ts" />COMMENT
LOWpnpm11/pnpm/bundle-deps.ts1import fs from 'node:fs'COMMENT
LOWpnpm11/pnpm/bundle-deps.ts21// This is used to include certain dependencies like node-gyp out of the boxCOMMENT
LOWpnpm11/pnpm/bundle-deps.ts41// │ ├── pnpm-lock.yaml │COMMENT
LOWpnpm11/pnpm/artifacts/exe/setup.js21 // Only treat ERR_MODULE_NOT_FOUND as "platform package not installed".COMMENT
LOWpnpm11/pnpm/artifacts/exe/setup.js61COMMENT
LOWpnpm11/pnpm/test/packageManagerCheck.test.ts741// which proxies pnpm to npmjs. They fail between a release commit and theCOMMENT
LOWpnpm11/pnpm/test/configurationalDependencies.test.ts221COMMENT
LOWpnpm11/pnpm/test/install/global.ts161 const pkgPath = findGlobalPkg(globalPkgDir(pnpmHome), '@pnpm.e2e/postinstall-calls-pnpm')COMMENT
LOWpnpm11/cli/default-reporter/src/reportError.ts501`,COMMENT
LOWpnpm11/cli/default-reporter/src/index.ts81 complete () {}, // eslint-disable-line:no-emptyCOMMENT
LOW…er/src/reporterForClient/reportLockfileVerification.ts61// time is clamped at zero so a clock that moved backwards between theCOMMENT
LOWpnpm11/cli/parse-cli-args/src/index.ts141 }COMMENT
LOWpnpm11/benchmarks/bench.sh1#!/bin/bashCOMMENT
LOWpnpm11/__utils__/scripts/src/bump.ts1// Applies the pending release plan, then runs the meta-updater to mirror theCOMMENT
LOWpnpm11/__utils__/jest-config/jest.transform.js21 })COMMENT
LOWpnpm11/exec/lifecycle/src/runLifecycleHook.ts41 // be spawned without the "shell: true" option.COMMENT
LOWpnpm11/exec/commands/src/dlx.ts201 // the other link stay. The current process should yield.COMMENT
LOWpnpm11/deps/security/signatures/src/verifySignatures.ts261COMMENT
LOWpnpm11/deps/status/src/checkDepsStatus.ts961COMMENT
LOWpnpm11/deps/compliance/sbom/src/getPkgMetadata.ts121 if (parsed.protocol !== 'http:' && parsed.protocol !== 'https:') return undefinedCOMMENT
LOW…pm11/deps/compliance/audit/src/lockfileToAuditIndex.ts201 const reachableVulnerabilities = createReachableVulnerabilitiesGetter(lockfile, vulnerableNames, includeOptDeps)COMMENT
LOWpnpm11/deps/compliance/commands/src/sbom/sbom.ts341 // reading from both graphs (not only the selected subset) covers the extraCOMMENT
LOW…pm11/deps/inspection/tree-builder/test/getTree.test.ts481 ])COMMENT
LOWpnpm11/deps/inspection/outdated/src/outdated.ts201// even when its manifest specifier is a plain semver range (e.g. aCOMMENT
1716 more matches not shown…
Hyper-Verbose Identifiers406 hits · 409 pts
SeverityFileLineSnippetContext
LOWpnpm11/crypto/object-hasher/src/index.ts44export function hashObjectNullableWithPrefix (object: Record<string, unknown> | undefined): PrefixedHash | undefined {CODE
LOWpnpm11/crypto/shasums-file/src/index.ts28export async function fetchVerifiedNodeShasumsFile (CODE
LOWpnpm11/crypto/shasums-file/src/index.ts66export function pickFileChecksumFromShasumsFile (body: string, fileName: string): string {CODE
LOWpnpm11/crypto/hash/src/index.ts19export async function createHashFromMultipleFiles (files: string[]): Promise<string> {CODE
LOW…lling/deps-resolver/test/updateProjectManifest.test.ts269function aliaslessWantedDependency (bareSpecifier: string, optional = false): WantedDependency {CODE
LOW…lling/deps-resolver/test/resolveDependencyTree.test.ts372function createLockfileWithTPinning (): LockfileObject {CODE
LOW…/installing/deps-resolver/src/resolveDependencyTree.ts386function dedupeSameAliasDirectDeps (directDeps: PkgAddressOrLink[], wantedDependencies: Array<WantedDependency & { isNewCODE
LOW…lling/deps-resolver/src/wantedDepIsLocallyAvailable.ts7export function wantedDepIsLocallyAvailable (CODE
LOW…lling/deps-resolver/src/wantedDepIsLocallyAvailable.ts21function pickMatchingLocalVersionOrNull (CODE
LOW…nstalling/deps-resolver/src/validateDependencyAlias.ts15export function assertValidDependencyAliases (CODE
LOWpnpm11/installing/deps-resolver/src/hoistPeers.ts78export function getHoistableOptionalPeers (CODE
LOWpnpm11/installing/deps-resolver/src/resolvePeers.ts1059function parentPkgsHaveSingleOccurrence (parentPkgs: Record<string, ParentPkgInfo>): boolean {CODE
LOW…ing/deps-resolver/src/replaceVersionInBareSpecifier.ts3export function replaceVersionInBareSpecifier (CODE
LOWpnpm11/installing/deps-resolver/src/index.ts426 async function waitTillAllFetchingsFinish (): Promise<void> {CODE
LOWpnpm11/installing/deps-resolver/src/index.ts448function treeHasLockedPeerContexts (dependenciesTree: DependenciesTree<ResolvedPackage>): boolean {CODE
LOWpnpm11/installing/deps-resolver/src/index.ts455function addDirectDependenciesToLockfile (CODE
LOWpnpm11/installing/deps-resolver/src/index.ts554function getAliasToDependencyTypeMap (manifest: ProjectManifest): Record<string, DependenciesField> {CODE
LOW…pm11/installing/deps-resolver/src/toResolveImporter.ts142function getPreferredVersionsFromPackage (CODE
LOW…pm11/installing/deps-resolver/src/toResolveImporter.ts150function getVersionSpecsByRealNames (deps: Dependencies): VersionSpecsByRealNames {CODE
LOW…/installing/deps-resolver/src/updateProjectManifest.ts76function isWorkspaceLocalPathSpecifier (bareSpecifier: string): boolean {CODE
LOW…/installing/deps-resolver/src/getWantedDependencies.ts53function getWantedDependenciesFromGivenSet (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts567async function resolveDependenciesOfImporters (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts690async function resolveDependenciesOfImporterDependency (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts740function filterMissingPeersFromPkgAddresses (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts940async function resolveDependenciesOfDependency (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1105function wantedDependencyMatchesUpdateTarget (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1118export function createNodeIdForLinkedLocalPkg (lockfileDir: string, pkgDir: string): NodeId {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1162async function waitForPackageResolutionTurn (ctx: ResolutionContext, depth: number): Promise<void> {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1168function hasActivePackageResolutionBeforeDepth (ctx: ResolutionContext, depth: number): boolean {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1246function compareChildrenResolutionOwners (owner1: ChildrenResolutionOwner, owner2: ChildrenResolutionOwner): number {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1257function createMissingPeersOfChildren (): MissingPeersOfChildren {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1266function isCurrentChildrenResolution (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1274async function resolveMissingPeersFromCurrentChildrenResolution (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1290function setDependencyTreeNodeWithCurrentChildren (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1318function updateChildrenResolutionNodes (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1597function referenceSatisfiesWantedSpec (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts1639function findHigherDirectDepVersion (CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts2243function wantedLockfileContainsSatisfyingEntry (lockfile: LockfileObject, wantedDependency: WantedDependency): boolean {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts2340function peerDependenciesWithoutOwn (pkg: PackageManifest): PeerDependencies {CODE
LOW…11/installing/deps-resolver/src/resolveDependencies.ts2366function getCatalogExistingVersionFromSnapshot (CODE
LOW…g/deps-resolver/src/getExactSinglePreferredVersions.ts9export function getExactSinglePreferredVersions (wantedDependency: WantedDependency, version: string): PreferredVersionsCODE
LOW…lling/deps-resolver/src/getNonDevWantedDependencies.ts22export function getNonDevWantedDependencies (pkg: GetNonDevWantedDependenciesManifest): WantedDependency[] {CODE
LOW…lling/deps-resolver/src/getNonDevWantedDependencies.ts44function getWantedDependenciesFromGivenSet (CODE
LOWpnpm11/installing/deps-restorer/test/index.ts28function prepareFixtureWithIntegrity (name: string): string {CODE
LOW…talling/deps-restorer/src/lockfileToHoistedDepGraph.ts66export async function lockfileToHoistedDepGraph (CODE
LOW…talling/deps-restorer/src/lockfileToHoistedDepGraph.ts305async function dirHasPackageJsonWithVersion (dir: string, expectedVersion?: string): Promise<boolean> {CODE
LOWpnpm11/installing/deps-restorer/src/index.ts799async function symlinkDirectDependencies (CODE
LOWpnpm11/installing/context/src/index.ts240export async function getContextForSingleImporter (CODE
LOWpnpm11/installing/context/src/index.ts388export function arrayOfWorkspacePackagesToMap (CODE
LOWpnpm11/installing/deps-installer/test/catalogs.ts23function preparePackagesAndReturnObjects (manifests: Array<ProjectManifest & Required<Pick<ProjectManifest, 'name'>>>) {CODE
LOW…ng/deps-installer/test/install/optionalDependencies.ts194function createMetadataStrippingRegistryProxy (): http.Server {CODE
LOW…ng/deps-installer/test/install/optionalDependencies.ts286function createVersionHidingRegistryProxy (pkgNames: string[], hiddenVersion: string): http.Server {CODE
LOWpnpm11/installing/deps-installer/test/install/misc.ts1557function makeAssertNoPackageMapNodeOptionsScript (marker: string): string {CODE
LOW…staller/src/install/warnOnStaleConvergenceOverrides.ts36export async function warnOnStaleConvergenceOverrides (opts: WarnOnStaleConvergenceOverridesOptions): Promise<void> {CODE
LOW…stalling/deps-installer/src/install/validateModules.ts135async function purgeModulesDirsOfImporter (CODE
LOW…stalling/deps-installer/src/install/validateModules.ts145async function purgeModulesDirsOfImporters (CODE
LOW…staller/src/install/writeLockfilesAndRecordVerified.ts20export async function writeLockfilesAndRecordVerified (CODE
LOW…ps-installer/src/install/reportPeerDependencyIssues.ts9export function reportPeerDependencyIssues (CODE
LOW…ps-installer/src/install/reportPeerDependencyIssues.ts33export function filterPeerDependencyIssues (CODE
LOW…eps-installer/src/install/verifyLockfileResolutions.ts62export function withOfflineCheckCacheIdentities (verifiers: readonly VerifierCacheIdentity[]): VerifierCacheIdentity[] {CODE
346 more matches not shown…
Verbosity Indicators36 hits · 73 pts
SeverityFileLineSnippetContext
LOW…ling/deps-installer/test/install/globalVirtualStore.ts314 // Step 2: Reinstall with allowBuilds changed (simulating what approve-builds does)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts322 // Step 3: Verify the hash changed and build artifacts are in the new directoryCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts390 // Step 2: Simulate a previous build failure by removing the GVS hash directoryCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts394 // Step 3: Remove node_modules and reinstall with frozenLockfileCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts437 // Step 2: Simulate a crash between import and build — write a .pnpm-needs-buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts446 // Step 3: Reinstall — the GVS fast path should detect the .pnpm-needs-buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts214 // Step 1: Install with no packages allowed to build (engine-agnostic hashes)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts228 // Step 2: Reinstall with dep allowed to build — hashes should changeCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts299 // Step 1: Install with builds NOT approved (simulating first `pnpm install`)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts376 // Step 1: Successful install with buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts420 // Step 1: Install with buildCOMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts689 // Step 1: install without override — auto-installs peer-c@1.0.1COMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts702 // Step 2: reinstall with override narrowing peer-c to 1.0.0COMMENT
LOWpnpm11/workspace/injected-deps-syncer/src/index.ts82 // Step 1: Link bins in .pnpm virtual storeCOMMENT
LOWpnpm11/workspace/injected-deps-syncer/src/index.ts98 // Step 2: Relink bins for all workspace projectsCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts30 // Step 1: populate a lockfile under no policy. The resolver picksCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts37 // Step 2: turn on minimumReleaseAge in strict mode. The lockfile is nowCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts81 // Step 1: populate the lockfile with no policy. is-positive@1.0.0COMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts88 // Step 2: turn the policy on. The post-resolution gate now runsCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts113 // Step 3: another install with the same lockfile + policy. The cacheCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts368 // Step 1: install with the full exclude list — verifier writes aCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts377 // Step 2: drop `is-odd` from the exclude list. The cached recordCOMMENT
LOWpnpm11/pnpm/test/install/globalVirtualStore.ts47 // Step 1: Install with GVS, builds NOT approvedCOMMENT
LOWpnpm11/pnpm/test/install/globalVirtualStore.ts57 // Step 2: approve-builds — updates config then runs install in GVS modeCOMMENT
LOWpnpm11/pnpm/test/install/globalVirtualStore.ts60 // Step 3: Verify GVS hash changed (new engine-specific directory)COMMENT
LOWpnpm11/pnpm/test/install/misc.ts648 // Step 1: install with trust policy off. The resolver picks up theCOMMENT
LOWpnpm11/pnpm/test/install/misc.ts656 // Step 2: turn the policy on. The resolver wouldn't be invoked underCOMMENT
LOWpnpm/crates/network/src/tls.rs208 // Step 1: exact URL.COMMENT
LOWpnpm/crates/network/src/tls.rs212 // Step 2: nerf-darted URL.COMMENT
LOWpnpm/crates/network/src/tls.rs219 // Step 4: walk progressively shorter prefixes of theCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs94 // Step 1: Materialize the CAS-resident files into a writableCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs99 // Step 2: Run `preparePackage` on the materialized tree. ThisCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs138 // Step 3: Compute the packlist over the prepared tree. TheCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs148 // Step 4: Fast path — when nothing got filtered out ANDCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs190 // Step 5: Slow path — re-import the filtered file set backCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs195 // Step 6: Queue a `PackageFilesIndex` row so a future install'sCOMMENT
Structural Annotation Overuse36 hits · 73 pts
SeverityFileLineSnippetContext
LOW…ling/deps-installer/test/install/globalVirtualStore.ts314 // Step 2: Reinstall with allowBuilds changed (simulating what approve-builds does)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts322 // Step 3: Verify the hash changed and build artifacts are in the new directoryCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts390 // Step 2: Simulate a previous build failure by removing the GVS hash directoryCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts394 // Step 3: Remove node_modules and reinstall with frozenLockfileCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts437 // Step 2: Simulate a crash between import and build — write a .pnpm-needs-buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts446 // Step 3: Reinstall — the GVS fast path should detect the .pnpm-needs-buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts214 // Step 1: Install with no packages allowed to build (engine-agnostic hashes)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts228 // Step 2: Reinstall with dep allowed to build — hashes should changeCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts299 // Step 1: Install with builds NOT approved (simulating first `pnpm install`)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts376 // Step 1: Successful install with buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts420 // Step 1: Install with buildCOMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts689 // Step 1: install without override — auto-installs peer-c@1.0.1COMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts702 // Step 2: reinstall with override narrowing peer-c to 1.0.0COMMENT
LOWpnpm11/workspace/injected-deps-syncer/src/index.ts82 // Step 1: Link bins in .pnpm virtual storeCOMMENT
LOWpnpm11/workspace/injected-deps-syncer/src/index.ts98 // Step 2: Relink bins for all workspace projectsCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts30 // Step 1: populate a lockfile under no policy. The resolver picksCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts37 // Step 2: turn on minimumReleaseAge in strict mode. The lockfile is nowCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts81 // Step 1: populate the lockfile with no policy. is-positive@1.0.0COMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts88 // Step 2: turn the policy on. The post-resolution gate now runsCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts113 // Step 3: another install with the same lockfile + policy. The cacheCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts368 // Step 1: install with the full exclude list — verifier writes aCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts377 // Step 2: drop `is-odd` from the exclude list. The cached recordCOMMENT
LOWpnpm11/pnpm/test/install/globalVirtualStore.ts47 // Step 1: Install with GVS, builds NOT approvedCOMMENT
LOWpnpm11/pnpm/test/install/globalVirtualStore.ts57 // Step 2: approve-builds — updates config then runs install in GVS modeCOMMENT
LOWpnpm11/pnpm/test/install/globalVirtualStore.ts60 // Step 3: Verify GVS hash changed (new engine-specific directory)COMMENT
LOWpnpm11/pnpm/test/install/misc.ts648 // Step 1: install with trust policy off. The resolver picks up theCOMMENT
LOWpnpm11/pnpm/test/install/misc.ts656 // Step 2: turn the policy on. The resolver wouldn't be invoked underCOMMENT
LOWpnpm/crates/network/src/tls.rs208 // Step 1: exact URL.COMMENT
LOWpnpm/crates/network/src/tls.rs212 // Step 2: nerf-darted URL.COMMENT
LOWpnpm/crates/network/src/tls.rs219 // Step 4: walk progressively shorter prefixes of theCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs94 // Step 1: Materialize the CAS-resident files into a writableCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs99 // Step 2: Run `preparePackage` on the materialized tree. ThisCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs138 // Step 3: Compute the packlist over the prepared tree. TheCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs148 // Step 4: Fast path — when nothing got filtered out ANDCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs190 // Step 5: Slow path — re-import the filtered file set backCOMMENT
LOWpnpm/crates/git-fetcher/src/tarball_fetcher.rs195 // Step 6: Queue a `PackageFilesIndex` row so a future install'sCOMMENT
Fake / Example Data64 hits · 68 pts
SeverityFileLineSnippetContext
LOWpnpm11/installing/deps-installer/test/install/auth.ts80 email: 'foo@bar.com',CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts138 email: 'foo@bar.com',CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts230 email: 'foo@bar.com',CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts256 email: 'foo@bar.com',CODE
LOWpnpm11/config/reader/test/env.test.ts31 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts32 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts46 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts47 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts61 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts62 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts76 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts77 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts91 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts92 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts99 bar: path.join('/home/fake-user', 'abc/def/ghi'),CODE
LOWpnpm11/config/reader/test/env.test.ts100 baz: path.join('/home/fake-user', 'abc\\def\\ghi'),CODE
LOWpnpm11/config/reader/test/env.test.ts117 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts118 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts132 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts133 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts152 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts153 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts172 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts173 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/__fixtures__/has-outdated-deps/pnpm-lock.yaml26 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/__fixtures__/has-outdated-deps/pnpm-lock.yaml26 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…1/__fixtures__/has-only-deprecated-deps/pnpm-lock.yaml16 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…1/__fixtures__/has-only-deprecated-deps/pnpm-lock.yaml16 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts88 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts104 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts107 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts124 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts127 email: 'user@example.com',CODE
LOWpnpm11/network/git-utils/test/index.test.ts44 await execa('git', ['config', 'user.email', 'test@test.com'], { cwd: tempDir })CODE
LOWpnpm11/pnpm/test/dlx.ts408 email: 'foo@bar.com',CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts27 author: 'Jane Doe',CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts153 sbomAuthors: ['Jane Doe', 'John Smith'],CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts157 expect(parsed.metadata.authors).toEqual([{ name: 'Jane Doe' }, { name: 'John Smith' }])CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts299 expect(parsed.components[0].authors).toEqual([{ name: 'Jane Doe' }])CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts64│ @pnpm.e2e/deprecated │ 1.0.0 │ Deprecated │ This package is deprecated. Lorem ipsum │CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts65│ │ │ │ dolor sit amet, consectetur adipiscing │CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts184This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts184This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts529│ @pnpm.e2e/deprecated │ 1.0.0 │ Deprecated │ This package is deprecated. Lorem ipsum │CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts530│ │ │ │ dolor sit amet, consectetur adipiscing │CODE
LOWpnpm/crates/package-manager/src/install/tests.rs1994 let slot = virtual_store_dir.join("placeholder@1.0.0").join("node_modules").join("placeholder");CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2017 manifest.add_dependency("placeholder", "1.0.0", DependencyGroup::Prod).unwrap();CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2119 manifest.add_dependency("placeholder", "1.0.0", DependencyGroup::Prod).unwrap();CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2238 manifest.add_dependency("placeholder", "1.0.0", DependencyGroup::Prod).unwrap();CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2416 manifest.add_dependency("placeholder", "1.0.0", DependencyGroup::Prod).unwrap();CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2688 overrides.insert("placeholder".to_string(), "9.9.9".to_string());CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2768 r#"{"name":"my-app","version":"1.0.0","dependencies":{"placeholder":"^9"}}"#,CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2778 overrides.insert("placeholder".to_string(), "1.0.0".to_string());CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2884 r#"{"name":"my-app","version":"1.0.0","dependencies":{"placeholder":"^9"}}"#,CODE
LOWpnpm/crates/package-manager/src/install/tests.rs2898 overrides.insert("placeholder".to_string(), "catalog:".to_string());CODE
LOWpnpm/crates/package-manager/src/install/tests.rs6055 manifest.add_dependency("placeholder", "1.0.0", DependencyGroup::Prod).unwrap();CODE
LOWpnpm/crates/package-manager/src/install/tests.rs6135 manifest.add_dependency("placeholder", "1.0.0", DependencyGroup::Prod).unwrap();CODE
LOWpnpm/crates/cli/tests/search.rs82 "author": { "name": "John Doe" },CODE
LOWpnpm/crates/cli/src/cli_args/sbom/tests.rs76 let manifest = serde_json::json!({ "author": "Jane Doe" });CODE
LOWpnpm/crates/cli/src/cli_args/sbom/tests.rs77 assert_eq!(extract_author(&manifest), Some("Jane Doe".to_string()));CODE
4 more matches not shown…
Modern AI Meta-Vocabulary10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMpnpm11/__fixtures__/pnpm-workspace.yaml26# policy for fixture installs — they're test scaffolding, not a realCOMMENT
MEDIUMpnpm11/benchmarks/bench.sh9# as before; the orchestration logic is shared with the pacquet bench.COMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/README.md53# Iterate without re-scaffoldingCOMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/src/stacks.rs3/// `scaffold` generates the project on disk *without* installingCOMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/src/stacks.rs7/// scaffold command is run through `pnpm dlx`, so the first token is theCOMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/src/main.rs50 // A failed scaffold dooms every cell of this stack; recordCOMMENT
MEDIUMpnpm/crates/cli/tests/run.rs539 // directory would scaffold one before doing anything else.COMMENT
MEDIUMpnpm/crates/cli/tests/workspace_install.rs364/// root `package.json`, and installing must not scaffold one — pnpm neverCOMMENT
MEDIUMpnpm/crates/package-manifest/src/lib.rs116 /// The scaffold manifest `pnpm init` (and [`Self::create_if_needed`])COMMENT
MEDIUMpnpm/crates/package-manifest/src/lib.rs187 // Read the scaffold back rather than assembling the manifest byCOMMENT
AI Slop Vocabulary7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMpnpm11/deps/compliance/audit/test/index.ts316 // robust to constant-factor changes in future refactors.COMMENT
MEDIUMpnpm/crates/package-manager/src/install/tests.rs5737 // literal here. Membership-by-name keeps the test robust to theCOMMENT
MEDIUMpnpm/crates/lockfile/src/env_lockfile/tests.rs143 // a `Lockfile` literal — keeps the test robust as the `Lockfile`COMMENT
MEDIUMpnpm/crates/fs/src/ensure_file/tests.rs68/// those keeps the test robust without weakening what it verifiesCOMMENT
MEDIUM.github/workflows/test.yml97 # The test harness serves package fixtures through the in-repo `pnpr`COMMENT
MEDIUM.github/workflows/ecosystem-e2e.yml24 # Compile pacquet, the harness, and the pnpm bundle once, then share themCOMMENT
MEDIUM.github/workflows/ecosystem-e2e.yml96 # The harness takes a single executable for --pnpm; the launcher is aCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpnpm11/installing/deps-installer/test/catalogs.ts987 // Double check the correct version of is-positive as requested from theCOMMENT
HIGHpnpm11/installing/deps-installer/test/catalogs.ts1055 // Double check the correct version of is-positive as requested from theCOMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMpnpm11/pnpm/bundle-deps.ts39// │ ├── node_modules ──────────────┐COMMENT
MEDIUMpnpm11/pnpm/bundle-deps.ts47// │ ├── node_modules <────────────┘COMMENT
MEDIUMpnpm/crates/config/src/version_policy/tests.rs84// ─── create_package_version_policy ────────────────────────────────────COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpnpm11/installing/deps-installer/test/install/misc.ts965 // TODO: implementCOMMENT
LOWpnpm11/store/controller/src/storeController/prune.ts83 // TODO: implement prune of Node.js packages, they don't have a package.json fileCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pacquet-micro-benchmark.yml113 # Check if the event is not triggered by a forkCOMMENT
LOW.github/workflows/pacquet-micro-benchmark.yml123 # Check if the event is not triggered by a forkCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWshell/resolve-pr-conflicts.sh4# Usage:COMMENT