Repository Analysis

harness/harness

Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries.

4.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of harness/harness, a Go project with 37,301 GitHub stars. SynthScan v2.0 examined 664,552 lines of code across 5778 source files, recording 3090 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 4.8 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).

4.8
Adjusted Score
4.8
Raw Score
100%
Time Factor
2026-07-09
Last Push
37.3K
Stars
Go
Language
664.6K
Lines of Code
5.8K
Files
3.1K
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 0MEDIUM 37LOW 3053

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 3090 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 Block2793 hits · 2792 pts
SeverityFileLineSnippetContext
LOWcmd/gitness/wire.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcmd/gitness/driver_sqlite.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcmd/gitness/driver_pq.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcmd/gitness/main.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/infra_provider_factory.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_client_factory.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_client_factory_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/wire.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/infra_provider.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_provider.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_config.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcrypto/crypto.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcrypto/crypto_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/webhook.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/gitspace_settings.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/usergroup.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_suggestion.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/config.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/config.go61 // have to satisfy at least one of the following two conditions:COMMENT
LOWtypes/config.go81COMMENT
LOWtypes/config.go161 // CI defines configuration related to build executions.COMMENT
LOWtypes/check.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/PackageTag.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/ai_agent_auth.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/execution.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/token.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_activity_metadata.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/git.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/image_data.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/multireader_closer.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/service.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/githook.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/user.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/codeowners.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/principal.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/platform_connector.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/path_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/rebase.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/types_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/stream.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/gitspace_error.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/lfs.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/resolved_feature.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/resolved_feature.go41COMMENT
LOWtypes/branch.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/linked_pullreq.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/repo_activity_payload.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/commit.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/fork.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/repo_activity.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/github_connector_data.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/code_comment.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/infrastructure.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/jetbrains.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/autolink.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/service_account.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_reviewer_suggestion.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/gitspace_event.go1// Copyright 2023 Harness, Inc.COMMENT
2733 more matches not shown…
Hyper-Verbose Identifiers189 hits · 190 pts
SeverityFileLineSnippetContext
LOWweb/cypress/utils/getRequestBodies.ts19export function getRandomCreateRegistryBody(name: string, packageType: PACKAGE_TYPE, type: REGISTRY_TYPE) {CODE
LOW…nfra/MachineLocationContent/MachineLocationContent.tsx112 function CustomPersistentDiskColumn(row: Unknown) {CODE
LOWweb/src/utils/Utils.ts686export function removeSpecificTextOptimized(CODE
LOWweb/src/utils/Utils.ts1056export function combineAndNormalizePrincipalsAndGroups(CODE
LOWweb/src/utils/FileUtils.ts50export function useFileContentViewerDecision({CODE
LOWweb/src/utils/timePopoverLocal/TimePopoverWithLocal.tsx40export function DateTimeWithLocalContentInline({ time }: { time: number }): JSX.Element {CODE
LOW…ponents/CommitModalButton/useCommitSuggestionModal.tsx52export function useCommitSuggestionsModal({CODE
LOW…ponents/CommitModalButton/useCommitSuggestionModal.tsx141export function useCommitPullReqSuggestions() {CODE
LOW…arkdownEditorWithPreview/MarkdownEditorWithPreview.tsx151export function MarkdownEditorWithPreview({CODE
LOW…arkdownEditorWithPreview/MarkdownEditorWithPreview.tsx762function scrollToAndSetCursorToEnd(CODE
LOWweb/src/components/SourceCodeEditor/EditorUtils.ts56export function generateDefaultStepInsertionPath(stageIndex = 0): string {CODE
LOWweb/src/components/Changes/CommitRange.tsx69 function updatePageWhenCommitRangeIsChanged() {CODE
LOWweb/src/components/Changes/CommitRange.tsx91 function updateCommitRangeForCaller() {CODE
LOWweb/src/components/Changes/Changes.tsx166 function updateInternalRefsOnReadOnlyMode() {CODE
LOWweb/src/components/Changes/Changes.tsx227 function updateCacheWhenDiffDataArrives() {CODE
LOWweb/src/components/Changes/Changes.tsx332 function updatePageWhenCommitRangeIsChanged() {CODE
LOWweb/src/components/Changes/Changes.tsx433 function jumpToSelectedPathFromURL() {CODE
LOWweb/src/components/CommentBox/CommentBox.tsx465 function renderToggleCommentsButton() {CODE
LOWweb/src/components/CommitsView/CommitsView.tsx287function renderPullRequestLinkFromCommitMessage(CODE
LOWweb/src/components/CommitInfo/CommitInfo.tsx55 function renderPullRequestLinkFromCommitMessage(CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx255 function alwaysExpandDiffIfChangedSinceLastView() {CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx287 function renderDiffAndCommentsIfInViewportOrSchedule() {CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx321 function serializeDeserializeContent() {CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx417 function adjustScrollPositionWhenCollapsingFile() {CODE
LOWweb/src/components/DiffViewer/usePullReqComments.tsx943 function bindClickEventToStartNewCommentThread() {CODE
LOWweb/src/components/DiffViewer/DiffViewerUtils.tsx206export function createCommentOppositePlaceHolder(lineNumber: number, isNewCommentThread = false): HTMLTableRowElement {CODE
LOWweb/src/components/DiffViewer/DiffViewerUtils.tsx236export function activitiesToDiffCommentItems(CODE
LOWweb/src/hooks/useSetPageContainerWidthVar.tsx33export function useSetPageContainerWidthVar({ domRef }: { domRef: React.RefObject<HTMLElement> }) {CODE
LOW…/src/ar/__mocks__/hooks/useGovernanceMetaDataModal.tsx33export function useGovernanceMetaDataModal(_props: UseGovernanceModalProps): UseConnectorGovernanceModalPayload {CODE
LOW…loadRequestsProvider/AsyncDownloadRequestsProvider.tsx40function AsyncDownloadRequestsProvider({ children }: { children: React.ReactNode }) {CODE
LOW…AsyncDownloadRequestsProvider/AsyncDownloadRequest.tsx35function AsyncDownloadRequestStatusIcon(props: AsyncDownloadRequestStatusIconProps) {CODE
LOW…ents/IncludeExcludePatterns/IncludeExcludePatterns.tsx48function shouldShowIncludeExcludeList(values: FormData): boolean {CODE
LOWweb/src/ar/components/CleanupPolicyList/utils.tsx21export function getFormattedFormDataForCleanupPolicy(values: RepositoryRequest): RepositoryRequest {CODE
LOWweb/src/ar/components/CleanupPolicyList/utils.tsx29export function getFormattedIntialValuesForCleanupPolicy(values: RepositoryRequest): RepositoryRequest {CODE
LOW…s/MetadataFilterSelector/useMetadataFilterFromQuery.ts29export default function useMetadatadataFilterFromQuery() {CODE
LOW…/src/ar/components/Badge/RepositoryVisibilityBadge.tsx31export default function RepositoryVisibilityBadge(props: RepositoryVisibilityBadgeProps): JSX.Element {CODE
LOWweb/src/ar/common/utils.ts34export function getIdentifierStringForBreadcrumb(label: string, value: string): string {CODE
LOWweb/src/ar/common/utils.ts43export function getPackageTypesForApiQueryParams(packageTypes: RepositoryPackageType[]): string | undefined {CODE
LOWweb/src/ar/hooks/useGetRepositoryListViewType.ts21export function useGetRepositoryListViewType() {CODE
LOW…c/ar/frameworks/Version/ArtifactTreeNodeViewWidget.tsx32export default function ArtifactTreeNodeViewWidget(props: ArtifactTreeNodeViewWidgetProps): JSX.Element {CODE
LOW…ar/frameworks/Version/VersionTreeNodeDetailsWidget.tsx32export default function VersionTreeNodeDetailsWidget(props: VersionTreeNodeDetailsWidgetProps): JSX.Element {CODE
LOW…r/frameworks/Version/ArtifactTreeNodeDetailsWidget.tsx31export default function ArtifactTreeNodeDetailsWidget(props: ArtifactTreeNodeDetailsWidgetProps): JSX.Element {CODE
LOW…rc/ar/frameworks/Version/VersionTreeNodeViewWidget.tsx32export default function VersionTreeNodeViewWidget(props: VersionTreeNodeViewWidgetProps): JSX.Element {CODE
LOW…r/frameworks/Version/ArtifactRowSubComponentWidget.tsx32export default function ArtifactRowSubComponentWidget(props: ArtifactRowSubComponentWidgetProps): JSX.Element {CODE
LOW…eworks/RepositoryStep/RepositoryTreeNodeViewWidget.tsx32export default function RepositoryTreeNodeViewWidget(props: RepositoryTreeNodeViewWidgetProps): JSX.Element {CODE
LOW…meworks/RepositoryStep/RepositorySetupClientWidget.tsx34export default function RepositorySetupClientWidget(props: RepositorySetupClientWidgetProps): JSX.Element {CODE
LOW…rks/RepositoryStep/RepositoryTreeNodeDetailsWidget.tsx31export default function RepositoryTreeNodeDetailsWidget(props: RepositoryTreeNodeDetailsWidgetProps): JSX.Element {CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts30function convertSecretInputToFormFields(CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts41export function transformFormValuesToSubmitValues(CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts61function convertFormFieldsToSecreteInput(formData: Webhook, secretField: string, secretSpacePathField: string) {CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts71export function transformWebhookDataToFormValues(data: Webhook, parent: Parent): WebhookRequestUI {CODE
LOW…list/components/ExemptionForm/ExemptionFormContent.tsx34function CreateExemptionFormContent(props: CreateExemptionFormContentProps) {CODE
LOW…onForm/ExemptionDetailsAndJustificationFormContent.tsx27export default function ExemptionDetailsAndJustificationFormContent(CODE
LOW…mponents/ExemptionForm/BasicInformationFormContent.tsx33export default function BasicInformationFormContent(props: BasicInformationFormContentProps) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx48function SecurityPolicyFailureDetailsItem({CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx93function LicensePolicyFailureDetailItem({ data }: { data: LicensePolicyFailureDetailConfigV3 }) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx114function PackageAgeViolationPolicyFailureDetailItem({CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx139function OssRiskLevelViolationPolicyFailureDetailItem({ data }: { data: OssRiskLevelPolicyFailureDetailConfigV3 }) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx154function GenericPolicyFailureDetailItem({ data }: { data: KVO }) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx168function ViolationFailureDetailsItem(props: ViolationFailureDetailsItemProps) {CODE
129 more matches not shown…
Verbosity Indicators29 hits · 56 pts
SeverityFileLineSnippetContext
LOWapp/api/request/pullreq.go123 // TODO: Remove the "includeGitStats := true" line and uncomment the following code block.COMMENT
LOW…or/container/embedded_docker_container_orchestrator.go119 // Step 1: Validate access keyCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go125 // Step 2: Get Docker clientCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go135 // Step 3: Check the current state of the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go141 // Step 4: Handle different container statesCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go287 // Step 1: Get Docker clientCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go294 // Step 2: Check the current state of the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go300 // Step 3: Handle container statesCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go345 // Step 4: Create log stream for stopping the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go352 // Step 5: Stop the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go378 // Step 1: Get Docker clientCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go385 // Step 4: Create logger stream for stopping and removing the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go177 // Step 5: Retrieve container information and return responseCOMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go51 // Step 1: Get orphan manifest IDs (lightweight query).COMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go63 // Step 2: Process in smaller sub-batches.COMMENT
LOW…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx12 // Step 1: Split by newline to get each JSON stringCOMMENT
LOW…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx15 // Step 2: Parse each line and clean up escaped strings inside 'out' keyCOMMENT
LOWtests/load/usage_metrics_test.go163 // Step 1: AuthenticateCOMMENT
LOWtests/load/usage_metrics_test.go173 // Step 2: Import repository from github.com/google/uuidCOMMENT
LOWtests/load/usage_metrics_test.go182 // Step 3: Wait for import to completeCOMMENT
LOWtests/load/usage_metrics_test.go189 // Step 4: Fetch a file from the repository (README.md)COMMENT
LOWregistry/app/dist_temp/dcontext/http.go183 // We need to check if that's intentional (could be a bug).COMMENT
LOWregistry/app/api/handler/cargo/upload.go66 // Step 1: Read first 4 bytes to get JSON lengthCOMMENT
LOWregistry/app/api/handler/cargo/upload.go72 // Step 2: Read the JSON metadataCOMMENT
LOWregistry/app/store/database/artifact.go894 // Step 1: Find the latest artifact IDCOMMENT
LOWregistry/app/store/database/artifact.go918 // Step 2: Fetch full metadata for this specific artifact.COMMENT
LOWregistry/app/store/database/registry.go360 // Step 1: Fetch base registry data.COMMENT
LOWgit/api/diff.go341// The purpose of this function is to get data based on which code comments could be repositioned.COMMENT
LOWgit/api/diff.go393// The purpose of this function is to get diff data with which code comments could be generated.COMMENT
AI Slop Vocabulary18 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMtypes/check.go94// CheckPayloadInternal is for internal use for more seamless integration forCOMMENT
MEDIUMtypes/enum/pullreq.go88// Essentially, the Type determines the structure of the pull request activity's Payload structure.COMMENT
MEDIUMapp/services/codeowners/service_test.go206\ \ \# user2@harness.ioCODE
MEDIUMapp/services/codeowners/service_test.go294a #user1@harness.ioCODE
MEDIUMapp/services/codeowners/service_test.go295b # user1@harness.ioCODE
MEDIUMapp/services/codeowners/service_test.go298e# user1@harness.ioCODE
MEDIUMapp/services/codeowners/service_test.go299f user1@harness.io#user2@harness.ioCODE
MEDIUMapp/services/codeowners/service_test.go300g user1@harness.io # user2@harness.ioCODE
MEDIUM…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUMstream/redis_consumer.go204 // NOTE: for the first call ever we want to get the history of the consumer (to allow for seamless restarts)COMMENT
MEDIUM.engops/pr_source_code_changes.sh9# The purpose of this script is to facilitate auto-tagging ofCOMMENT
MEDIUM.engops/pr_source_code_changes.sh29# Called by https://harness0.harness.io/ng/account/l7B_kbSEQD2wjrM7PShm5w/all/orgs/Audit/projects/Engops_Audit/pipelinesCOMMENT
MEDIUMregistry/types/digest.go247// These functions allow seamless conversion between types.Digest and digest.Digest.COMMENT
Structural Annotation Overuse25 hits · 50 pts
SeverityFileLineSnippetContext
LOW…or/container/embedded_docker_container_orchestrator.go119 // Step 1: Validate access keyCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go125 // Step 2: Get Docker clientCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go135 // Step 3: Check the current state of the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go141 // Step 4: Handle different container statesCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go287 // Step 1: Get Docker clientCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go294 // Step 2: Check the current state of the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go300 // Step 3: Handle container statesCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go345 // Step 4: Create log stream for stopping the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go352 // Step 5: Stop the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go378 // Step 1: Get Docker clientCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go385 // Step 4: Create logger stream for stopping and removing the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go177 // Step 5: Retrieve container information and return responseCOMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go51 // Step 1: Get orphan manifest IDs (lightweight query).COMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go63 // Step 2: Process in smaller sub-batches.COMMENT
LOW…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx12 // Step 1: Split by newline to get each JSON stringCOMMENT
LOW…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx15 // Step 2: Parse each line and clean up escaped strings inside 'out' keyCOMMENT
LOWtests/load/usage_metrics_test.go163 // Step 1: AuthenticateCOMMENT
LOWtests/load/usage_metrics_test.go173 // Step 2: Import repository from github.com/google/uuidCOMMENT
LOWtests/load/usage_metrics_test.go182 // Step 3: Wait for import to completeCOMMENT
LOWtests/load/usage_metrics_test.go189 // Step 4: Fetch a file from the repository (README.md)COMMENT
LOWregistry/app/api/handler/cargo/upload.go66 // Step 1: Read first 4 bytes to get JSON lengthCOMMENT
LOWregistry/app/api/handler/cargo/upload.go72 // Step 2: Read the JSON metadataCOMMENT
LOWregistry/app/store/database/artifact.go894 // Step 1: Find the latest artifact IDCOMMENT
LOWregistry/app/store/database/artifact.go918 // Step 2: Fetch full metadata for this specific artifact.COMMENT
LOWregistry/app/store/database/registry.go360 // Step 1: Fetch base registry data.COMMENT
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMapp/services/linkedpr/handlers/github/check_test.go116// ─── stubs ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/github/check_test.go185// ─── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/github/check_test.go223// ─── tests ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/services/linkedpr/handlers/github/pullrequest_test.go85// ─── mock harnesses ───────────────────────────────────────────────────────COMMENT
MEDIUM…/services/linkedpr/handlers/github/pullrequest_test.go363// ─── fixtures ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…/services/linkedpr/handlers/github/pullrequest_test.go454// ─── tests ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/services/linkedpr/handlers/github/pullrequest_test.go1096// ─── repository counter assertions ───────────────────────────────────────COMMENT
MEDIUMapp/services/merge/tx_ref_and_database_update_test.go31// ─── stubs ────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/merge/tx_ref_and_database_update_test.go130// ─── helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/merge/tx_ref_and_database_update_test.go168// ─── tests ────────────────────────────────────────────────────────────────COMMENT
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…itspace/orchestrator/utils/script_templates/set_env.sh18 # Create the export statementCOMMENT
MEDIUMregistry/tests/conformance_test.sh24 # Define the URL and request payloadCOMMENT
MEDIUMregistry/tests/conformance_test.sh49 # Define the URL and request payloadCOMMENT
MEDIUMregistry/tests/maven/generate_junit_report.sh15# Create a timestamp for the reportCOMMENT
MEDIUMregistry/tests/scripts/generate_report.sh47 # Create a timestampCOMMENT
MEDIUMregistry/tests/scripts/generate_report.sh50 # Create a JSON reportCOMMENT
MEDIUMregistry/tests/scripts/maven_tests.sh6# Create a Maven registry with timestamp to ensure uniquenessCOMMENT
MEDIUMregistry/tests/scripts/npm_tests.sh12# Create an NPM registry with timestamp to ensure uniquenessCOMMENT
MEDIUMregistry/tests/scripts/oci_tests.sh19# Create a temporary directory to run tests outside of the moduleCOMMENT
Redundant / Tautological Comments13 hits · 20 pts
SeverityFileLineSnippetContext
LOW…or/utils/script_templates/install_tools_vs_code_web.sh7# Check if curl is installedCOMMENT
LOW…ace/orchestrator/utils/script_templates/manage_user.sh8# Check if the user's home directory existsCOMMENT
LOW…/orchestrator/utils/script_templates/run_vscode_web.sh33 # Check if the process is still runningCOMMENT
LOW…pace/orchestrator/utils/script_templates/clone_code.sh57# Check if .devcontainer/devcontainer.json existsCOMMENT
LOW…itspace/orchestrator/utils/script_templates/set_env.sh21 # Check if the variable is already present in /etc/profileCOMMENT
LOW…ace/orchestrator/utils/script_templates/install_git.sh9 # Check if Git is installedCOMMENT
LOWregistry/tests/conformance_test.sh37 # Check if jq command succeededCOMMENT
LOWregistry/tests/conformance_test.sh59 # Check if jq command succeededCOMMENT
LOWregistry/tests/gopkg/scripts/setup_test.sh132 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
LOWregistry/tests/cargo/scripts/setup_test.sh132 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
LOWregistry/tests/maven/generate_junit_report.sh5# Check if the JSON report existsCOMMENT
LOWregistry/tests/maven/scripts/setup_test.sh114 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
LOWregistry/tests/npm/scripts/setup_test.sh114 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
LOW…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWregistry/app/pkg/docker/local.go936 // TODO: implement thisCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWblob/gcs_test.go51 KeyPath: "/tmp/fake-key.json",CODE