AI Slop Code Risk Monitor

kubernetes-sigs/kueue

SlopCodeMonitor badge for kubernetes-sigs/kueue Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

:vertical_traffic_light: Kubernetes-native Job Queueing and Scheduling

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for kubernetes-sigs/kueue, a Go project with 3,128 GitHub stars. SynthScan examined 944,580 lines of code across 3621 source files, recording 1003 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.1K
Stars
Go
Language
944.6K
Lines of Code
3.6K
Files
1.0K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 1003 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 22HIGH 17MEDIUM 58LOW 906

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1003 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block696 hits · 660 pts
SeverityFileLineSnippetContext
LOWcmd/experimental/webhook-conversion-repro/repro.sh1#!/bin/bashCOMMENT
LOWcmd/experimental/kueue-populator/run-e2e.sh1#!/usr/bin/env bashCOMMENT
LOW…rimental/kueue-populator/test/verify-helm-lifecycle.sh1#!/usr/bin/env bashCOMMENT
LOW…tal/kueue-populator/charts/kueue-populator/values.yaml1# Configuration for the Kueue Populator componentCOMMENT
LOW…tal/kueue-populator/charts/kueue-populator/values.yaml41 # levels:COMMENT
LOWcmd/experimental/skills/.skillsaw.yaml61 # warn: 6000COMMENT
LOWcmd/experimental/skills/.skillsaw.yaml81 # rule:COMMENT
LOW…perimental/kueue-priority-booster/pkg/config/config.go41 // Defaults to 100000.COMMENT
LOWcmd/kueueviz/backend/middleware/auth.go121 cache: utilcache.NewLRUExpireCacheWithClock(size, clock),COMMENT
LOWapis/config/v1beta2/configuration_types.go41 Namespace *string `json:"namespace,omitempty"`COMMENT
LOWapis/config/v1beta2/configuration_types.go61 // never be managed by Kueue, even if they have a kueue.x-k8s.io/queue-name label.COMMENT
LOWapis/config/v1beta2/configuration_types.go101 // FeatureGates is a map of feature names to bools that allows to override theCOMMENT
LOWapis/config/v1beta2/configuration_types.go121COMMENT
LOWapis/config/v1beta2/configuration_types.go161 // Host is the hostname that the webhook server binds to.COMMENT
LOWapis/config/v1beta2/configuration_types.go181 MetricsAccessControlModeDelegated MetricsAccessControlMode = "Delegated"COMMENT
LOWapis/config/v1beta2/configuration_types.go201 // for serving prometheus metrics.COMMENT
LOWapis/config/v1beta2/configuration_types.go241COMMENT
LOWapis/config/v1beta2/configuration_types.go261 // - ClusterQueueCOMMENT
LOWapis/config/v1beta2/configuration_types.go281 // LocalQueueSelector can be used to choose the local queues that need metrics to be collected.COMMENT
LOWapis/config/v1beta2/configuration_types.go301}COMMENT
LOWapis/config/v1beta2/configuration_types.go321 // Defaults to 2 minutes if not set.COMMENT
LOWapis/config/v1beta2/configuration_types.go341 // RequeuingStrategy defines the strategy for requeuing a Workload.COMMENT
LOWapis/config/v1beta2/configuration_types.go361 // a late observation does not restart the timeout.COMMENT
LOWapis/config/v1beta2/configuration_types.go381 // Defaults to 1min. If 0, the garbage collection is disabled.COMMENT
LOWapis/config/v1beta2/configuration_types.go401 // - If specified, the workload will be handled by the named dispatcher.COMMENT
LOWapis/config/v1beta2/configuration_types.go441 // MultiKueueDispatcherModeAllAtOnce is the name of dispatcher mode where all worker clusters are considered at onceCOMMENT
LOWapis/config/v1beta2/configuration_types.go461 // Once the number is reached, the workload is deactivated (`.spec.activate`=`false`).COMMENT
LOWapis/config/v1beta2/configuration_types.go501 // Enable controls the use of internal cert management for the webhook,COMMENT
LOWapis/config/v1beta2/configuration_types.go521}COMMENT
LOWapis/config/v1beta2/configuration_types.go541 // See https://pkg.go.dev/crypto/tls#CurveID for values supported by the current Go version.COMMENT
LOWapis/config/v1beta2/configuration_types.go581 Burst *int32 `json:"burst,omitempty"`COMMENT
LOWapis/config/v1beta2/configuration_types.go601 // - "pod"COMMENT
LOWapis/config/v1beta2/configuration_types.go661const Replace ResourceTransformationStrategy = "Replace"COMMENT
LOWapis/config/v1beta2/configuration_types.go681 // "strategy" is Retain.COMMENT
LOWapis/config/v1beta2/configuration_types.go701// DeviceClassMapping holds device class to logical resource mappingsCOMMENT
LOWapis/config/v1beta2/configuration_types.go721 // followed by a slash and a DNS label, or just a DNS label.COMMENT
LOWapis/config/v1beta2/configuration_types.go741 // Counter configures counter-based quota for partitionable devices.COMMENT
LOWapis/config/v1beta2/configuration_types.go761 // for a given driver without requiring one mapping per device.COMMENT
LOWapis/config/v1beta2/configuration_types.go781}COMMENT
LOWapis/config/v1beta2/configuration_types.go821 // AlmostLCA(preemptee, preemptor). These are the shares of ClusterQueues themselvesCOMMENT
LOWapis/config/v1beta2/configuration_types.go841 // - ["LessThanInitialShare"]COMMENT
LOWapis/config/v1beta2/configuration_types.go861}COMMENT
LOWapis/config/v1beta2/configuration_types.go881 // AfterDeactivatedByKueue is the duration to wait after *any* Kueue-managed WorkloadCOMMENT
LOWapis/kueue/v1beta2/workload_types.go21COMMENT
LOWapis/kueue/v1beta2/workload_types.go41 // queueName is the name of the LocalQueue the Workload is associated with.COMMENT
LOWapis/kueue/v1beta2/workload_types.go61 // Possible values are:COMMENT
LOWapis/kueue/v1beta2/workload_types.go81 // The gates are closed by default.COMMENT
LOWapis/kueue/v1beta2/workload_types.go101 // If both this field and the cluster-wide WaitForPodsReady.Timeout are set,COMMENT
LOWapis/kueue/v1beta2/workload_types.go161// PriorityClassRef references a PriorityClass in a specific API group.COMMENT
LOWapis/kueue/v1beta2/workload_types.go181 // keywords which indicate the highest priorities with the former beingCOMMENT
LOWapis/kueue/v1beta2/workload_types.go201 // +kubebuilder:validation:MaxLength=63COMMENT
LOWapis/kueue/v1beta2/workload_types.go221 // podIndexLabel indicates the name of the label indexing the pods.COMMENT
LOWapis/kueue/v1beta2/workload_types.go241 // +optionalCOMMENT
LOWapis/kueue/v1beta2/workload_types.go261 // in `kueue.x-k8s.io/podset-slice-required-topology` annotation.COMMENT
LOWapis/kueue/v1beta2/workload_types.go281COMMENT
LOWapis/kueue/v1beta2/workload_types.go321 // name is the name of the podSet. It should match one of the names in .spec.podSets.COMMENT
LOWapis/kueue/v1beta2/workload_types.go341 // in that case spec.podSets[*].count value will be used.COMMENT
LOWapis/kueue/v1beta2/workload_types.go361 // (aimed to optimize the total bytesize for very large number of domains; see examples below):COMMENT
LOWapis/kueue/v1beta2/workload_types.go381 // topologyAssignment:COMMENT
LOWapis/kueue/v1beta2/workload_types.go401 // - cloud.provider.com/topology-blockCOMMENT
636 more matches not shown…
Hallucination Indicators22 hits · 220 pts
SeverityFileLineSnippetContext
CRITICAL…tic/v0.19/examples/sample-enforce-requests-policy.yaml19 object.spec.template.spec.containers.all(c,CODE
CRITICAL…tic/v0.20/examples/sample-enforce-requests-policy.yaml19 object.spec.template.spec.containers.all(c,CODE
CRITICAL…te/static/examples/sample-enforce-requests-policy.yaml19 object.spec.template.spec.containers.all(c,CODE
CRITICALpkg/config/validation.go748 c.ObjectRetentionPolicies.Workloads.AfterDeactivatedByKueue.Duration.String(), apimachineryvalidation.IsNegativeErrorCODE
CRITICALpkg/controller/core/localqueue_controller.go370 seeded = lq.Status.FairSharing.AdmissionFairSharingStatus.ConsumedResources.DeepCopy()CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go77 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go173 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go231 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go283 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go327 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go384 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go432 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go496 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go547 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go589 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICALpkg/controller/jobs/rayjob/rayjob_controller_test.go650 PodSpec(*rayJob.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICAL…ntroller/jobs/raycluster/raycluster_controller_test.go97 PodSpec(*rayJob.Spec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICAL…ntroller/jobs/raycluster/raycluster_controller_test.go148 PodSpec(*rayJob.Spec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICAL…ntroller/jobs/raycluster/raycluster_controller_test.go206 PodSpec(*rayJob.Spec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICAL…ntroller/jobs/raycluster/raycluster_controller_test.go258 PodSpec(*rayJob.Spec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICAL…ntroller/jobs/raycluster/raycluster_controller_test.go302 PodSpec(*rayJob.Spec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
CRITICAL…ntroller/jobs/raycluster/raycluster_controller_test.go366 PodSpec(*rayJob.Spec.HeadGroupSpec.Template.Spec.DeepCopy()).CODE
Structural Annotation Overuse116 hits · 186 pts
SeverityFileLineSnippetContext
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md17## Step 1 - Confirm platform and build the Kueue imageCOMMENT
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md31## Step 2 - Pick the target suiteCOMMENT
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md48## Step 3 - Bring up the cluster in dev modeCOMMENT
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md76## Step 4 - Optional: use a released or staging image instead of buildingCOMMENT
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md90## Step 5 - Verify the cluster is readyCOMMENT
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md100## Step 6 - IterateCOMMENT
LOW…mental/skills/kueue-e2e-cluster-singlecluster/SKILL.md114## Step 7 - Clean up when doneCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md16### Step 1 - identify the Prow build and download the primary logCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md73### Step 2 - inspect the CI Pod and distinguish OOM from ordinary failureCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md101### Step 3 - query Prow Prometheus for resource evidenceCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md108### Step 4 - inspect envtest parallelism and lifecycleCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md135### Step 5 - enable and collect apiserver logs when they are missingCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md156### Step 6 - analyze control-plane and node artifactsCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md191### Step 7 - match the failure to test and framework codeCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md207### Step 8 - reason about retries and resource changesCOMMENT
LOWcmd/experimental/skills/kueue-flake-debugger/SKILL.md226### Step 9 - recommendations and final reportCOMMENT
LOWcmd/experimental/skills/was-cluster/SKILL.md21### Step 1: Build the kind node image from k8s mainCOMMENT
LOWcmd/experimental/skills/was-cluster/SKILL.md29### Step 2: Stand up the cluster with Kueue deployed, no testsCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md17## Step 1 - Confirm platform and build the Kueue imageCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md29## Step 2 - Pick the target suiteCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md41## Step 3 - Bring up the clusters in dev modeCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md80## Step 4 - Optional: use a released or staging image instead of buildingCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md87## Step 5 - Verify the clusters and contextsCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md100## Step 6 - IterateCOMMENT
LOW…erimental/skills/kueue-e2e-cluster-multikueue/SKILL.md108## Step 7 - Clean up when doneCOMMENT
LOWcmd/experimental/skills/kueue-lineage/SKILL.md26### Step 0: Find the Workload (skip if user already provided a workload name)COMMENT
LOWcmd/experimental/skills/kueue-lineage/SKILL.md69### Step 1: Get the workload's parent jobCOMMENT
LOWcmd/experimental/skills/kueue-lineage/SKILL.md78### Step 2: Fetch intermediate resources and pods by job typeCOMMENT
LOWcmd/experimental/skills/kueue-lineage/SKILL.md207### Step 3: Display the lineage treeCOMMENT
LOWhack/testing/e2e-kueueviz-rbac-bypass.sh81# Step 1: Create a "victim" namespace with a Pod containing a secret environment variable.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh99# Step 2: Create an "attacker" namespace with an unprivileged ServiceAccount.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh106# Step 3: Verify the attacker ServiceAccount is denied direct API access to the victim Pod.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh128# Step 4: Ask the KueueViz backend for the victim Pod using the attacker's token.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh129# Step 5: Assert the backend responds with HTTP 401/403 (Forbidden) and not HTTP 200.COMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md51### Step 1: Create Kind ClustersCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md107### Step 2: Install Kueue on All ClustersCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md120### Step 3: Configure Manager for KindCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md163### Step 4: Configure Worker ClustersCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md250### Step 5: Configure Manager ClusterCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md265### Step 6: Validate the SetupCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md287### Step 7: Submit a TAS JobCOMMENT
LOW…/enforce_job_management/opt_in_namespace_management.md27### Step 1: Label NamespacesCOMMENT
LOW…/enforce_job_management/opt_in_namespace_management.md35### Step 2: Configure the SelectorCOMMENT
LOW…itor_pending_workloads/pending_workloads_in_grafana.md25### Step 1: Configure Cluster PermissionsCOMMENT
LOW…itor_pending_workloads/pending_workloads_in_grafana.md43### Step 2: Generate a Service Account TokenCOMMENT
LOW⚡…itor_pending_workloads/pending_workloads_in_grafana.md54### Step 3: Set up port forwarding for GrafanaCOMMENT
LOW⚡…itor_pending_workloads/pending_workloads_in_grafana.md64### Step 4: Install the Infinity PluginCOMMENT
LOW⚡…itor_pending_workloads/pending_workloads_in_grafana.md71### Step 5: Configure the Infinity Data SourceCOMMENT
LOW…itor_pending_workloads/pending_workloads_in_grafana.md82### Step 6: Import the Pending Workloads DashboardCOMMENT
LOW…itor_pending_workloads/pending_workloads_in_grafana.md92### Step 7: Set Up ClusterQueueCOMMENT
LOW…itor_pending_workloads/pending_workloads_in_grafana.md104### Step 8: Create Sample WorkloadsCOMMENT
LOW…itor_pending_workloads/pending_workloads_in_grafana.md116### Step 9: View the DashboardCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md51### Step 1: Create Kind ClustersCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md107### Step 2: Install Kueue on All ClustersCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md120### Step 3: Configure Manager for KindCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md163### Step 4: Configure Worker ClustersCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md250### Step 5: Configure Manager ClusterCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md265### Step 6: Validate the SetupCOMMENT
LOW…/tasks/dev/setup_multikueue_development_environment.md287### Step 7: Submit a TAS JobCOMMENT
LOW…n/docs/tasks/manage/setup_topology_aware_scheduling.md29## Step 1: A cluster with topology labelsCOMMENT
56 more matches not shown…
Self-Referential Comments24 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMcmd/kueuectl/app/create/create_localqueue.go41 # Create a local queueCOMMENT
MEDIUMcmd/kueuectl/app/create/create_localqueue.go44 # Create a local queue with unknown cluster queueCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_clusterqueue.go59 # Create a ClusterQueueCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_clusterqueue.go62 # Create a ClusterQueue with cohort, namespace selector and other detailsCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_clusterqueue.go70 # Create a ClusterQueue with nominal quota and one resource flavor named alphaCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_clusterqueue.go73 # Create a ClusterQueue with multiple resource flavors named alpha and betaCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_resourceflavor.go45 # Create a resource flavorCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_resourceflavor.go48 # Create a resource flavor with labelsCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_resourceflavor.go52 # Create a resource flavor with node taintsCOMMENT
MEDIUM⚡cmd/kueuectl/app/create/create_resourceflavor.go56 # Create a resource flavor with tolerationsCOMMENT
MEDIUM…bility_lifecycle/reference/versioned_feature_list.yaml1# This file is generated by compatibility_lifecycle tool.COMMENT
MEDIUMconfig/components/crd/kustomizeconfig.yaml1# This file is for teaching kustomize how to substitute name and namespace reference in CRDCOMMENT
MEDIUMhack/cherry_pick_pull.sh344 # Create a single commit for the whole PR. '--author' sets the PR author; '-s'COMMENT
MEDIUM.github/actions/create-draft-release/action.yml76 # Create a draft release.COMMENT
MEDIUM…19/examples/multikueue/create-multikueue-kubeconfig.sh25# Creating a restricted MultiKueue role, service account and role binding"COMMENT
MEDIUM…19/examples/multikueue/create-multikueue-kubeconfig.sh330# Create the Kubeconfig fileCOMMENT
MEDIUM…9/examples/multikueue/dev/setup-kind-multikueue-tas.sh161 # Create a secret bound to the new service accountCOMMENT
MEDIUM…20/examples/multikueue/create-multikueue-kubeconfig.sh25# Creating a restricted MultiKueue role, service account and role binding"COMMENT
MEDIUM…20/examples/multikueue/create-multikueue-kubeconfig.sh330# Create the Kubeconfig fileCOMMENT
MEDIUM…0/examples/multikueue/dev/setup-kind-multikueue-tas.sh161 # Create a secret bound to the new service accountCOMMENT
MEDIUM…ic/examples/multikueue/create-multikueue-kubeconfig.sh25# Creating a restricted MultiKueue role, service account and role binding"COMMENT
MEDIUM…ic/examples/multikueue/create-multikueue-kubeconfig.sh330# Create the Kubeconfig fileCOMMENT
MEDIUM…c/examples/multikueue/dev/setup-kind-multikueue-tas.sh161 # Create a secret bound to the new service accountCOMMENT
MEDIUMsite/data/featuregates/versioned_feature_list.yaml1# This file is generated by compatibility_lifecycle tool.COMMENT
Decorative Section Separators19 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMhack/infra/stats/collect_stats.sh97# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡hack/testing/shard_test_packages.sh17# ==============================================================================COMMENT
MEDIUM⚡hack/testing/shard_test_packages.sh19# ==============================================================================COMMENT
MEDIUM⚡hack/testing/shard_test_packages.sh25# ==============================================================================COMMENT
MEDIUMsite/i18n/en.yaml47# ==============================================================================COMMENT
MEDIUMsite/i18n/en.yaml49# ==============================================================================COMMENT
MEDIUMsite/i18n/en.yaml130# ==============================================================================COMMENT
MEDIUMsite/i18n/en.yaml132# ==============================================================================COMMENT
MEDIUMsite/i18n/en.yaml180# ==============================================================================COMMENT
MEDIUMsite/i18n/en.yaml182# ==============================================================================COMMENT
MEDIUMsite/i18n/zh-CN.yaml46# ==============================================================================COMMENT
MEDIUMsite/i18n/zh-CN.yaml48# ==============================================================================COMMENT
MEDIUMsite/i18n/zh-CN.yaml129# ==============================================================================COMMENT
MEDIUMsite/i18n/zh-CN.yaml131# ==============================================================================COMMENT
MEDIUMsite/i18n/zh-CN.yaml179# ==============================================================================COMMENT
MEDIUMsite/i18n/zh-CN.yaml181# ==============================================================================COMMENT
MEDIUMsite/data/talks.yaml1# =====================================================================COMMENT
MEDIUMsite/data/talks.yaml3# =====================================================================COMMENT
MEDIUMsite/data/talks.yaml25# =====================================================================COMMENT
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGH…e/static/v0.19/examples/python/install-kueue-queues.py0install kueue and the queue components. this will error if they are already installed.STRING
HIGH…e/static/v0.20/examples/python/install-kueue-queues.py0install kueue and the queue components. this will error if they are already installed.STRING
HIGHsite/static/examples/python/install-kueue-queues.py0install kueue and the queue components. this will error if they are already installed.STRING
HIGH…e/static/v0.19/examples/python/install-kueue-queues.py0get the install version. if a version is specified, use it. otherwise install from the main branch.STRING
HIGH…e/static/v0.20/examples/python/install-kueue-queues.py0get the install version. if a version is specified, use it. otherwise install from the main branch.STRING
HIGHsite/static/examples/python/install-kueue-queues.py0get the install version. if a version is specified, use it. otherwise install from the main branch.STRING
HIGHsite/static/v0.19/examples/python/sample-trainjob.py0submit a trainjob via the kubeflow sdk. this requires kubeflow trainer to be installed, the selected runtime to exist, aSTRING
HIGHsite/static/v0.20/examples/python/sample-trainjob.py0submit a trainjob via the kubeflow sdk. this requires kubeflow trainer to be installed, the selected runtime to exist, aSTRING
HIGHsite/static/examples/python/sample-trainjob.py0submit a trainjob via the kubeflow sdk. this requires kubeflow trainer to be installed, the selected runtime to exist, aSTRING
Hyper-Verbose Identifiers38 hits · 35 pts
SeverityFileLineSnippetContext
LOWcmd/kueueviz/frontend/src/UsageBar.jsx58export function aggregateResourceForQueue(queue, resourceName) {CODE
LOWhack/infra/stats/plot.py219def per_build_cpu_samples_dur(series, min_dur_min=0.0, exclude=None):CODE
LOWhack/infra/stats/plot.py238def per_build_cpu_samples_dur_overhead(data, min_dur_min=0.0, exclude=None):CODE
LOWhack/infra/stats/plot.py483def per_build_target_peak_cpu(data, min_dur, cfg):CODE
LOWhack/infra/stats/plot.py521def cpu_reco_target_duration_improved(data, min_dur, cfg):CODE
LOWhack/infra/stats/plot.py644def cpu_reco_target_duration_improved_recursive(data, min_dur, cfg):CODE
LOWhack/infra/stats/plot.py880def plot_new_cpu_distribution(data, base_dir, reco, bins=30, min_dur=0.0,CODE
LOWhack/infra/stats/plot.py977def plot_duration_distribution(data, base_dir, bins=30, min_dur=0.0,CODE
LOWhack/infra/stats/plot.py999def plot_peak_duration_distribution(data, base_dir, bins=30, min_dur=0.0, cfg=None):CODE
LOWhack/infra/stats/plot.py1112def plot_throttle_distribution(data, base_dir, threshold=5.0, bins=30):CODE
LOWhack/tools/prow-runtimes/prow_runtimes.py744def load_kueue_presubmit_jobs(CODE
LOWhack/releasing/set_release_note_test.py150 def test_updates_pull_request_body(self) -> None:CODE
LOWhack/releasing/set_release_note_test.py240 def test_rejects_multiple_release_note_blocks(self) -> None:CODE
LOWhack/releasing/set_release_note_test.py252 def test_enforces_updated_body_length_limit(self) -> None:CODE
LOWhack/releasing/set_release_note_test.py312 def test_reports_validation_error(self) -> None:CODE
LOWhack/releasing/manual_release_submission_test.py30 def test_submission_and_dry_run_control_flow(self):CODE
LOW⚡hack/releasing/log_to_issue_test.py43 def test_template_markers_match_workflow_commands(self) -> None:CODE
LOW⚡hack/releasing/log_to_issue_test.py51 def test_checks_only_the_item_of_the_command(self) -> None:CODE
LOW⚡hack/releasing/log_to_issue_test.py59 def test_release_log_is_not_changed(self) -> None:CODE
LOWhack/releasing/log_to_issue_test.py70 def test_issue_from_older_template_is_not_changed(self) -> None:CODE
LOWhack/releasing/log_to_issue_test.py76 def test_only_success_reports_mark_done(self) -> None:CODE
LOWhack/releasing/log_to_issue_test.py115 def test_latest_entry_is_on_top(self) -> None:CODE
LOWhack/releasing/set_release_note.py119def _is_set_release_note_line(line: str) -> bool:CODE
LOWhack/releasing/create_release_tag_test.py165 def test_tag_step_is_selected_after_a_preceding_step(self):STRING
LOWhack/releasing/create_release_tag_test.py170 def test_git_wrapper_passes_empty_arguments_to_git(self):STRING
LOWhack/releasing/create_release_tag_test.py181 def test_lookup_errors_leave_local_and_remote_tags_unchanged(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py192 def test_invalid_response_stops_before_modifying_tags(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py200 def test_published_release_is_not_modified(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py206 def test_empty_changelog_is_rejected(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py210 def test_remote_lookup_failure_preserves_tags(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py215 def test_local_creation_failure_preserves_remote_tag(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py219 def test_rejected_push_preserves_remote_tag(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py232 def test_concurrent_update_is_not_overwritten(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py237 def test_concurrent_creation_is_not_overwritten(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py244 def test_draft_tag_is_updated(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py247 def test_remote_tag_is_updated_without_local_tag(self):STRING
LOW⚡hack/releasing/create_release_tag_test.py251 def test_missing_release_can_create_tag_despite_stale_local_tag(self):STRING
LOWhack/releasing/authorize_release_actor_test.py46 def test_invalid_configuration(self) -> None:CODE
Verbosity Indicators15 hits · 28 pts
SeverityFileLineSnippetContext
LOWhack/testing/e2e-kueueviz-rbac-bypass.sh81# Step 1: Create a "victim" namespace with a Pod containing a secret environment variable.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh99# Step 2: Create an "attacker" namespace with an unprivileged ServiceAccount.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh106# Step 3: Verify the attacker ServiceAccount is denied direct API access to the victim Pod.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh128# Step 4: Ask the KueueViz backend for the victim Pod using the attacker's token.COMMENT
LOW⚡hack/testing/e2e-kueueviz-rbac-bypass.sh129# Step 5: Assert the backend responds with HTTP 401/403 (Forbidden) and not HTTP 200.COMMENT
LOWpkg/scheduler/flavorassigner/tas_flavorassigner.go191 // PodSet explicitly requires TAS, so we need to check if the flavor supports it.COMMENT
LOWpkg/controller/core/dqo/distribution.go254 // Step 1: Apply calculated effective quotas to all target ClusterQueues in the subtree.COMMENT
LOWpkg/controller/core/dqo/distribution.go272 // Step 2: Apply calculated effective quotas to all target Cohorts in the subtree.COMMENT
LOWpkg/controller/core/dqo/distribution.go375 // Step 1: Determine the resource scale and unit.COMMENT
LOWpkg/controller/core/dqo/distribution.go386 // Step 2: Calculate floor_i and exact remainder_i = (capacity * specNominal_i) - (floor_i * sumSpecNominal).COMMENT
LOW⚡pkg/controller/core/dqo/distribution.go401 // Step 3: Calculate unallocated surplus capacity (diff) and number of surplus units (surplusUnits).COMMENT
LOW⚡pkg/controller/core/dqo/distribution.go406 // Step 4: Sort participants by remainder descending, breaking ties deterministically by object UID per KEP-12382.COMMENT
LOW⚡pkg/controller/core/dqo/distribution.go414 // Step 5: Assign final allocations, adding +1 capacity unit to each of the top N (surplusUnits) participants, and recoCOMMENT
LOW…controller/admissionchecks/multikueue/workload_test.go2355 // Step 1: worker2 is reconnecting — reconcile should requeue and NOT delete worker2's workload.COMMENT
LOW…controller/admissionchecks/multikueue/workload_test.go2369 // Step 2: worker2 finishes reconnecting — reconcile should clean up the orphaned workload.COMMENT
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHhack/releasing/authorize_release_actor_test.py86 "aliases: {release-team: null}",CODE
HIGH…e/static/v0.19/examples/python/install-kueue-queues.py29 help="Version of Kueue to install (if undefined, will install from master branch)",CODE
HIGH…e/static/v0.20/examples/python/install-kueue-queues.py29 help="Version of Kueue to install (if undefined, will install from master branch)",CODE
HIGHsite/static/examples/python/install-kueue-queues.py29 help="Version of Kueue to install (if undefined, will install from master branch)",CODE
Modern AI Meta-Vocabulary7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…formance/multikueue/configs/baseline/expectations.yaml1# Broad regression guardrails for the dedicated MultiKueue performance periodic.COMMENT
MEDIUMconfig/components/crd/kustomization.yaml16#+kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMconfig/components/crd/kustomization.yaml27#+kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUMconfig/components/crd/kustomization.yaml35#+kubebuilder:scaffold:crdkustomizecainjectionpatchCOMMENT
MEDIUMkeps/13396-configurable-preemptions/FUTURE_WORK.md26- [PreemptionLimit (Rate-Limiting Guardrails)](#preemptionlimit-rate-limiting-guardrails)CODE
MEDIUMkeps/13396-configurable-preemptions/README.md304Rate-limiting guardrails via a separate **PreemptionLimit** cluster-scoped CRD across global, queue, and workload scopesCODE
MEDIUMkeps/13396-configurable-preemptions/README.md3843. In future milestones, use a `PreemptionLimit` with 0 allowed preemptions from the hero job's CQ (see [Future Work](FUCODE
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippetContext
LOWcmd/experimental/skills/.skillsaw.yaml106 # Check if instruction count in a file exceeds LLM instruction budget (~150)COMMENT
LOWhack/testing/get-build-logs.sh34 # Check if the URL starts with the prefixCOMMENT
LOWhack/testing/e2e-kueueviz-local.sh37# Set trap to clean up on exitCOMMENT
LOWhack/testing/e2e-kueueviz-backend.sh44# Set trap to clean up on exitCOMMENT
LOWhack/testing/e2e-kueueviz-backend.sh67# Check if the container is runningCOMMENT
LOWhack/testing/e2e-kueueviz-backend.sh74# Check if the workspace volume is emptyCOMMENT
LOWhack/releasing/promote_pull.sh283 # Check if version matches vMAJOR.MINOR.PATCHCOMMENT
LOWhack/releasing/wait_for_images.sh171 # Verify if a timeout was requested and if we exceeded itCOMMENT
LOWhack/releasing/prepare_pull.sh145# Check if the branch exists on the remoteCOMMENT
LOW.github/workflows/release-utils.yml402 # Check if branch already existsCOMMENT
LOWsite/scripts/lsync.sh28# Check if path exists, and whether it is a directory or a fileCOMMENT
Excessive Try-Catch Wrapping13 hits · 16 pts
SeverityFileLineSnippetContext
LOWhack/infra/stats/fetch_prow_metrics.py293 except Exception:CODE
LOWhack/infra/stats/fetch_prow_metrics.py502 except Exception as e: # keep the batch goingCODE
LOWhack/infra/stats/fetch_prow_metrics.py654 except Exception as err:CODE
MEDIUMhack/infra/stats/fetch_prow_metrics.py499def work(job):CODE
LOWhack/tools/prow-runtimes/prow_runtimes.py1107 except Exception as e:CODE
MEDIUMhack/releasing/log_to_issue.py50 print("Error: Neither command nor alias was provided.", file=sys.stderr)CODE
MEDIUMhack/releasing/log_to_issue.py93 print("Error: release-log-start or release-log-end marker is missing or corrupted in the issue body.", file=sys.CODE
LOW…N/v0.19/docs/tasks/manage/setup_wait_for_pods_ready.md232 except Exception as e:CODE
LOW…t/zh-CN/docs/tasks/manage/setup_wait_for_pods_ready.md232 except Exception as e:CODE
LOW…N/v0.20/docs/tasks/manage/setup_wait_for_pods_ready.md232 except Exception as e:CODE
LOW…n/v0.19/docs/tasks/manage/setup_wait_for_pods_ready.md252 except Exception as e:CODE
LOW…tent/en/docs/tasks/manage/setup_wait_for_pods_ready.md342 except Exception as e:CODE
LOW…n/v0.20/docs/tasks/manage/setup_wait_for_pods_ready.md342 except Exception as e:CODE
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMapis/kueue/v1beta2/topology_types.go44 // but want to leverage TAS capabilities improve accuracy of admitting jobsCOMMENT
MEDIUMapis/kueue/v1alpha1/dynamicquotaorchestrator_types.go100// TODO: once we graduate this API to beta, we should leverage beta API's ResourceFlavorReference type instead of Alpha COMMENT
MEDIUMhack/testing/get-build-logs.sh17# This shell script is designed to facilitate the build logs from a Kueue CI/CD (GCS) bucket using the gcloud CLI.COMMENT
MEDIUMhack/releasing/milestone_pull.sh21# Resolved without `git rev-parse` so the file stays sourceable from the test harness.COMMENT
MEDIUMpkg/controller/admissionchecks/multikueue/workload.go1080 // In the future, we may introduce more nuanced remote workload propagation policies,COMMENT
Fake / Example Data8 hits · 11 pts
SeverityFileLineSnippetContext
LOWpkg/config/config_test.go1452 BearerToken: "fake-token",CODE
LOWpkg/scheduler/scheduler_test.go10114 *utiltestingapi.MakeWorkload("placeholder", "default").COMMENT
LOWpkg/scheduler/scheduler_test.go10161 *utiltestingapi.MakeWorkload("placeholder", "default").COMMENT
LOWpkg/scheduler/scheduler_test.go10221 *utiltestingapi.MakeWorkload("placeholder", "default").COMMENT
LOWpkg/scheduler/scheduler_test.go10245 *utiltestingapi.MakeWorkload("placeholder", "default").COMMENT
LOWpkg/scheduler/scheduler_test.go10314 *utiltestingapi.MakeWorkload("placeholder", "default").COMMENT
LOWpkg/scheduler/scheduler_test.go10347 *utiltestingapi.MakeWorkload("placeholder", "default").COMMENT
LOW…r/admissionchecks/multikueue/multikueuecluster_test.go1833 rc := newTestClient(ctx, []byte("placeholder"), nil, nil)CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHhack/infra/stats/fetch_prow_metrics.py214except ValueError:CODE
HIGHhack/tools/prow-runtimes/prow_runtimes.py152except ValueError:CODE
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWhack/infra/stats/fetch_prow_metrics.py222CODE
LOWhack/infra/stats/fetch_prow_metrics.py368CODE
LOWhack/infra/stats/fetch_prow_metrics.py492CODE
LOWhack/infra/stats/fetch_prow_metrics.py540CODE
LOWhack/tools/prow-runtimes/prow_runtimes.py324CODE
LOWhack/tools/prow-runtimes/prow_runtimes.py457CODE
LOWhack/releasing/set_release_note_test.py312CODE
LOWhack/releasing/log_to_issue.py46CODE
LOWhack/releasing/set_release_note.py182CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHkeps/3258-delayed-admission-check-retries/README.md332# In this example, Kueue will wait until 00:10:00Z (the longest delay)COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpkg/workload/workload_test.go1239 // Retain keeps gpumem as requested (1024), not the multiplyByCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWhack/testing/retry.sh36# Usage:COMMENT
LOWpkg/controller/jobframework/indexer.go39// Example usage:COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWhack/tools/prow-runtimes/prow_runtimes.py607CODE