AI Slop Code Risk Monitor

kata-containers/kata-containers

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

Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for kata-containers/kata-containers, a Rust project with 9,060 GitHub stars. SynthScan examined 556,589 lines of code across 2160 source files, recording 899 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
9.1K
Stars
Rust
Language
556.6K
Lines of Code
2.2K
Files
899
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 8.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 10.2/100 · LOW

Which changes need focused human review? 899 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 15HIGH 9MEDIUM 58LOW 817

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 899 distinct pattern matches across 16 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 Block738 hits · 720 pts
SeverityFileLineSnippetContext
LOW…kaging/kata-deploy/local-build/kata-deploy-binaries.sh761 latest_artefact+="-$(get_latest_nvidia_repo_version)"COMMENT
LOW…kaging/kata-deploy/local-build/kata-deploy-binaries.sh1181# gpudirect -> enable use-cases like GPUDirect RDMA, GPUDirect GDSCOMMENT
LOW…ackaging/kata-deploy/helm-chart/kata-deploy/Chart.yaml1apiVersion: v2COMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-gpu.values.yaml1# Example values file to enable NVIDIA GPU shimsCOMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-gpu.values.yaml21 # Nodes upgrading from an earlier profile must recreate cached EROFS layersCOMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-gpu.values.yaml41# host feature we do not control, we disable fs-verity so it works on the widestCOMMENT
LOW…loy/helm-chart/kata-deploy/try-kata-remote.values.yaml1# Example values file to enable the remote hypervisor shim (peer pods)COMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-cpu.values.yaml1# Example values file to enable NVIDIA CPU shimsCOMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-cpu.values.yaml21 # (image) layer integrity.COMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-cpu.values.yaml41# possible range of setups; we take that hit deliberately to keep the profileCOMMENT
LOW…-deploy/helm-chart/kata-deploy/try-kata-fc.values.yaml1# Example values file to enable the Firecracker shim (fc)COMMENT
LOW…deploy/helm-chart/kata-deploy/try-kata-tee.values.yaml1# Example values file to enable Trusted Execution Environment (TEE) shimsCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml1# Deployment model for installing/cleaning up Kata on nodes.COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml21# When you add nodes later, re-run `helm upgrade` so the dispatcher enumeratesCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml41#COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml61 tag: "0.3.0"COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml81 # schedulable on clusters whose every node is tainted (a single-node cluster, forCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml101 # nodes: ["worker-1", "worker-2"]COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml121 # (`--timeout`, 5m by default) TOGETHER with extracting the artifacts andCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml141 # Scheduled reconcile: covers the nodes that join after the release was applied.COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml161 schedule: "*/15 * * * *"COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml181 # there - the safe direction. Narrow it to this install's own markCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml201 # collection (seconds). Applies to both install and cleanup per-node Jobs.COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml281# holds containerd's configuration, which is mounted into the install, and whereCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml301 #COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml321 # Optional user-provided containerd drop-in TOML content.COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml341# (nodeSelector/affinity to select, tolerations to decide which tainted nodes areCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml361# Install on control-plane nodes ONLY (select them, and tolerate their taint -COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml381# requests a Kata RuntimeClass can be scheduled before the runtime binaries existCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml401# - "katacontainers.io/kata-runtime:NoSchedule"COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml421#COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml441# podAntiAffinity, and preferredDuringSchedulingIgnoredDuringExecution pass through.COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml461affinity: {}COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml481# Default is RollingUpdate with maxUnavailable: 1COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml501# a ~220-vCPU node tops out under 10 MiB, and the patched post-re-execCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml521# pods that need guest debugging.COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml541# /healthz returns 200 as soon as the server starts (process is alive).COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml581# shims that do need one - guest pull through nydus, shared_fs=none throughCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml601 # - "disk" → default_size = "10G" (disk-backed rw layer)COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml621# nodeBinaries:COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml641# Requires deploymentMode: job, the install being staged so the binaries are inCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml661# devmapper), a confidential-computing capable CPU, an NVIDIA GPU, a peer-podCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml681# helm pull oci://ghcr.io/kata-containers/kata-deploy-charts/kata-deploy \COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml701# shims:COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml721# example.io/feature: "true"COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml841COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml861#COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml881# The rule and the key requests are gated together on purpose: an extended-resourceCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml901COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml921 # --set-file verification.pod=/path/to/your-verification-pod.yamlCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml941# enabled: trueCOMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml961# scheduling:COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml981#COMMENT
LOWtools/packaging/kata-deploy/binary/src/rootless.rs401 #[rstest]COMMENT
LOWtools/packaging/kata-deploy/binary/src/rootless.rs501 #[case] mode: u32,COMMENT
LOWtools/packaging/kata-deploy/binary/src/config.rs221 /// Independent of rw-layer backing; works with both disk and memory modes.COMMENT
LOWtools/packaging/kata-deploy/binary/src/config.rs241 pub containerd_shim_extra_pod_annotations_for_arch: Vec<String>,COMMENT
LOWtools/packaging/kata-deploy/binary/src/main.rs21COMMENT
LOWtools/packaging/kata-deploy/binary/src/main.rs81 #[clap(name = "install-stage-load-kernel-modules")]COMMENT
LOWtools/packaging/kata-deploy/binary/src/main.rs141/// Every install marks its own nodes with a label named after itsCOMMENT
678 more matches not shown…
Hallucination Indicators15 hits · 150 pts
SeverityFileLineSnippetContext
CRITICALtests/cleanup_resources.py6from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALsrc/tools/genpolicy/src/policy.rs793 .set_container_path(self.config.settings.devices.vfio.device_path.clone());CODE
CRITICALsrc/tools/genpolicy/src/policy.rs808 self.config.settings.devices.vfio.anno_key_regex.clone(),CODE
CRITICALsrc/tools/genpolicy/src/policy.rs848 Version: self.config.settings.kata_config.oci_version.clone(),CODE
CRITICALsrc/tools/genpolicy/src/job.rs172 self.spec.template.spec.securityContext.as_ref()CODE
CRITICALsrc/tools/genpolicy/src/deployment.rs183 self.spec.template.spec.securityContext.as_ref()CODE
CRITICALsrc/tools/genpolicy/src/stateful_set.rs216 self.spec.template.spec.securityContext.as_ref()CODE
CRITICALsrc/tools/genpolicy/src/replication_controller.rs136 self.spec.template.spec.securityContext.as_ref()CODE
CRITICALsrc/tools/genpolicy/src/replica_set.rs133 self.spec.template.spec.securityContext.as_ref()CODE
CRITICALsrc/tools/genpolicy/src/daemon_set.rs172 self.spec.template.spec.securityContext.as_ref()CODE
CRITICAL…rates/resource/src/network/endpoint/ipvlan_endpoint.rs75 self.net_pair.tap.tap_iface.hard_addr.clone()CODE
CRITICAL…ates/resource/src/network/endpoint/macvlan_endpoint.rs74 self.net_pair.tap.tap_iface.hard_addr.clone()CODE
CRITICAL…/crates/resource/src/network/endpoint/veth_endpoint.rs74 self.net_pair.tap.tap_iface.hard_addr.clone()CODE
CRITICAL…/crates/resource/src/network/endpoint/vlan_endpoint.rs74 self.net_pair.tap.tap_iface.hard_addr.clone()CODE
CRITICAL…/runtime-rs/crates/hypervisor/ch-config/src/convert.rs1666 if !d.cfg.cfg.boot_info.image.is_empty() {CODE
Self-Referential Comments29 hits · 92 pts
SeverityFileLineSnippetContext
MEDIUM…kaging/kata-deploy/local-build/kata-deploy-binaries.sh1884 # Create a sym-link with the extension removedCOMMENT
MEDIUM…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml938# Create a custom-runtimes.values.yaml file:COMMENT
MEDIUMtools/osbuilder/scripts/lib.sh198# Create a YAML metadata file inside the rootfs.COMMENT
MEDIUMtools/osbuilder/rootfs-builder/rootfs.sh728# This file is part of systemd.COMMENT
MEDIUMtools/osbuilder/rootfs-builder/rootfs.sh918 # Create an empty /etc/resolv.conf, to allow agent to bind mount container resolv.conf to Kata VMCOMMENT
MEDIUMtools/testing/kata-webhook/create-certs.sh37# Create a Certificate Signing Request configuration file.COMMENT
MEDIUMci/openshift-ci/run_smoke_test.sh16# Create a pod.COMMENT
MEDIUMci/openshift-ci/smoke/service.yaml5# Create the service on port 80 for the http-server app.COMMENT
MEDIUMci/openshift-ci/smoke/service.yaml18# Create the route to the app's service '/'.COMMENT
MEDIUMci/openshift-ci/smoke/service_kubernetes.yaml5# Create the service on port 80 for the http-server app.COMMENT
MEDIUMtests/gha-run-k8s-common.sh248 # Create the cluster.COMMENT
MEDIUMtests/gha-run-k8s-common.sh871 # Create a new namespace for the tests and switch to itCOMMENT
MEDIUMtests/common.bash7# This file contains common functions thatCOMMENT
MEDIUMtests/common.bash48 # This function is called to indicate a fatal error occurred, soCOMMENT
MEDIUMtests/common.bash1626# This function provides consistent test execution and reporting acrossCOMMENT
MEDIUMtests/cmd/github-labels/github-labels.sh109 # Create the master database from the templateCOMMENT
MEDIUMtests/integration/nerdctl/gha-run.sh54 # Create the default containerd configurationCOMMENT
MEDIUM⚡tests/integration/kubernetes/confidential_common.sh223# Create the sealed secret test secret:COMMENT
MEDIUM⚡tests/integration/kubernetes/confidential_common.sh229# Create the NIM test instruct secret:COMMENT
MEDIUM⚡tests/integration/kubernetes/confidential_common.sh235# Create the NIM test embedqa secret:COMMENT
MEDIUMtests/integration/kubernetes/lib.sh34# Create a pod with a given number of retries if an output includes a timeout.COMMENT
MEDIUMtests/integration/kubernetes/lib.sh73# Create a pod and wait it be ready, otherwise fail.COMMENT
MEDIUMtests/integration/kubernetes/lib.sh252# Create a pod then assert it fails to run. Use in tests that you expect theCOMMENT
MEDIUMtests/integration/kubernetes/lib.sh301# Create a pod then assert it remains in ContainerCreating.COMMENT
MEDIUMtests/integration/kubernetes/lib.sh377# Create a pod configuration out of a template file.COMMENT
MEDIUMtests/functional/vfio-ap/run.sh168 # Create a mediated device (mdev) for the released deviceCOMMENT
MEDIUMtests/functional/vfio-ap/run.sh223 # Create a container and run the testCOMMENT
MEDIUMutils/kata-manager.sh196 # Create an array to store architecture namesCOMMENT
MEDIUMutils/kata-manager.sh215 # Create a regular expression for matchingCOMMENT
Decorative Section Separators23 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUM…/packaging/kata-deploy/binary/src/artifacts/install.rs1253const KATA_DEPLOY_CONFIG_WARNING: &str = r#"# ==========================================================================CODE
MEDIUM…/packaging/kata-deploy/binary/src/artifacts/install.rs1264# =============================================================================COMMENT
MEDIUMtools/packaging/scripts/configure-hypervisor.sh7#---------------------------------------------------------------------COMMENT
MEDIUMtools/packaging/scripts/configure-hypervisor.sh15#---------------------------------------------------------------------COMMENT
MEDIUMtools/packaging/scripts/configure-hypervisor.sh210 #---------------------------------------------------------------------COMMENT
MEDIUMtools/packaging/scripts/configure-hypervisor.sh218 #---------------------------------------------------------------------COMMENT
MEDIUMtools/packaging/scripts/configure-hypervisor.sh419 #---------------------------------------------------------------------COMMENT
MEDIUMtools/packaging/scripts/configure-hypervisor.sh496 #---------------------------------------------------------------------COMMENT
MEDIUMci/gh-util.sh17#---------------------------------------------------------------------COMMENT
MEDIUMci/check_agent_policy_coverage.sh25# ---------------------------------------------------------------------------COMMENT
MEDIUMci/check_agent_policy_coverage.sh27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ci/check_agent_policy_coverage.sh52# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ci/check_agent_policy_coverage.sh56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ci/check_agent_policy_coverage.sh66# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ci/check_agent_policy_coverage.sh68# ---------------------------------------------------------------------------COMMENT
MEDIUMci/check_agent_policy_coverage.sh94# ---------------------------------------------------------------------------COMMENT
MEDIUMci/check_agent_policy_coverage.sh96# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kata-doc-to-script.sh125 #----------------------------------------------COMMENT
MEDIUM⚡tests/kata-doc-to-script.sh129 #----------------------------------------------COMMENT
MEDIUM⚡tests/kata-doc-to-script.sh131 #----------------------------------------------COMMENT
MEDIUM⚡tests/kata-doc-to-script.sh133 #----------------------------------------------COMMENT
MEDIUMsrc/tools/log-parser/display.go20#----------------------------------------COMMENT
MEDIUMsrc/tools/log-parser/display.go26#----------------------------------------COMMENT
Synthetic Comment Markers8 hits · 60 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md50## AI generated codeCOMMENT
HIGH…untime-rs/crates/hypervisor/src/ch/inner_hypervisor.rs910 // Early Check to verify if boot memory is the same as requestedCOMMENT
HIGHsrc/runtime/virtcontainers/clh.go1371 // Early Check to verify if boot memory is the same as requestedCOMMENT
HIGH…gent/rustjail/src/cgroups/systemd/interface/session.rs11//! This code was generated by `zbus-xmlgen` `2.0.1` from DBus introspection data.COMMENT
HIGH…agent/rustjail/src/cgroups/systemd/interface/system.rs11//! This code was generated by `zbus-xmlgen` `3.1.1` from DBus introspection data.COMMENT
HIGHsrc/dragonball/crates/dbs_virtio_devices/src/mem.rs1271 // Make sure we have the correct resource as requested.COMMENT
HIGH…l/crates/dbs_virtio_devices/src/vhost/vhost_user/fs.rs446 // Make sure we have the correct resource as requested, and currently we only support oneCOMMENT
HIGH…/dragonball/crates/dbs_virtio_devices/src/fs/device.rs916 // Make sure we have the correct resource as requested, and currently we only support oneCOMMENT
Redundant / Tautological Comments25 hits · 38 pts
SeverityFileLineSnippetContext
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml116 # Set it to 0 on clusters that may legitimately have no eligible node, whichCOMMENT
LOW…helm-chart/kata-deploy/templates/verification-job.yaml306 # Check if pod is stuck - look for events indicating it can't startCOMMENT
LOWtools/packaging/scripts/download-with-oras-cache.sh104# Check if artifact exists in GHCR and pull itCOMMENT
LOWtools/packaging/scripts/download-with-oras-cache.sh151 # Check if this version already exists in cache (avoid race conditions with parallel builds)COMMENT
LOWtools/packaging/scripts/configure-hypervisor.sh66# Display message to stderr and exit indicating script failed.COMMENT
LOWtools/packaging/static-build/kernel/install_yq.sh49 # Check if we need sudo to install yqCOMMENT
LOWtools/packaging/static-build/kernel/install_yq.sh51 # Check if we have sudo privilegesCOMMENT
LOWtools/packaging/guest-image/build_se_image.sh56 # Check if FAKE_SE_IMAGE mode is enabledCOMMENT
LOWtools/osbuilder/image-builder/image_builder.sh213 # Check if we have alternative init systems installedCOMMENT
LOWtools/osbuilder/rootfs-builder/debian/config.sh9# Set OS_NAME to the desired debian "codename"COMMENT
LOWci/install_yq.sh49 # Check if we need sudo to install yqCOMMENT
LOWci/install_yq.sh51 # Check if we have sudo privilegesCOMMENT
LOWci/openshift-ci/cluster/install_kata.sh190# Set SELinux to permissive modeCOMMENT
LOWtests/gha-run-k8s-common.sh1285 # Check if this mapping has a colon (shim-specific)COMMENT
LOWtests/static-checks.sh943 # Check if the expected linter versionCOMMENT
LOWtests/govulncheck-runner.sh93 # Check if any real vulnerabilities remainCOMMENT
LOWtests/govulncheck-runner.sh102# Check if binary existsCOMMENT
LOWtests/common.bash144 # Check if first two arguments are numbers (for max_tries and interval)COMMENT
LOWtests/common.bash222# Check if the $1 argument is the name of a 'known'COMMENT
LOWtests/common.bash1122 # Check if helm is available in the system's PATHCOMMENT
LOWtests/common.bash1603# Check if the 1st argument version is greater than and equal to 2nd oneCOMMENT
LOWtests/integration/kubernetes/lib.sh114 # Check if there is an existing node debugger pod and reuse itCOMMENT
LOWtests/integration/kubernetes/run_kubernetes_nv_tests.sh42 # Check if drop-in already existsCOMMENT
LOW…n/kubernetes/runtimeclass_workloads/numa/entrypoint.sh20# Print results to stdout (readable via "kubectl logs"), then sleep toCOMMENT
LOWtests/stability/common_stability.bash12# Set variables to reasonable defaults if unset or emptyCOMMENT
Structural Annotation Overuse20 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/integration/kubernetes/numa-pinning-check.sh7# WARNING: This script runs directly on the host, NOT inside a container.COMMENT
LOWdocs/how-to/how-to-use-erofs-snapshotter-with-kata.md71### Step 1: Install erofs-utilsCOMMENT
LOWdocs/how-to/how-to-use-erofs-snapshotter-with-kata.md109### Step 2: Configure containerdCOMMENT
LOWdocs/how-to/how-to-use-erofs-snapshotter-with-kata.md221### Step 3: Configure Kata Containers (runtime-rs)COMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md26## Step 1: Inspect the Host NUMA TopologyCOMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md66## Step 2: Kubernetes CPU Manager PolicyCOMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md103## Step 3: Configure Kata Containers for NUMACOMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md205## Step 4: Deploy a NUMA-Aware PodCOMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md269## Step 5: Verify NUMA Inside the GuestCOMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md344## Step 6: Verify NUMA on the HostCOMMENT
LOWdocs/how-to/how-to-use-numa-with-kata.md412## Step 7: Verify GPU NUMA Placement (GPU Passthrough Only)COMMENT
LOWsrc/tools/agent-ctl/src/image.rs43 // Step 1: Use skopeo to copy the image to a local OCI directory with explicit tagCOMMENT
LOWsrc/tools/agent-ctl/src/image.rs63 // Step 2: Use umoci to unpack the OCI image into a bundleCOMMENT
LOW⚡…rs/crates/resource/src/cdi_devices/container_device.rs47 // Step 1: Extract all devices and filter out devices without device_info for vfio_devicesCOMMENT
LOW⚡…rs/crates/resource/src/cdi_devices/container_device.rs57 // Step 2: Group devices by vendor_id-class_idCOMMENT
LOW…rs/crates/resource/src/cdi_devices/container_device.rs73 // Step 3: Sort devices within each group by guest_pcipathCOMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs247 // Step 0: Remove stale device if it already existsCOMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs253 // Step 1: Create device as read-onlyCOMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs302 // Step 2: Load table and resume (activate)COMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs306 // Step 3: Ensure the device node exists under /dev/mapper/.COMMENT
Verbosity Indicators10 hits · 20 pts
SeverityFileLineSnippetContext
LOW…kaging/kata-deploy/local-build/kata-deploy-binaries.sh2243 # The variants could be built independently we need to check ifCOMMENT
LOWsrc/tools/agent-ctl/src/image.rs43 // Step 1: Use skopeo to copy the image to a local OCI directory with explicit tagCOMMENT
LOWsrc/tools/agent-ctl/src/image.rs63 // Step 2: Use umoci to unpack the OCI image into a bundleCOMMENT
LOW⚡…rs/crates/resource/src/cdi_devices/container_device.rs47 // Step 1: Extract all devices and filter out devices without device_info for vfio_devicesCOMMENT
LOW⚡…rs/crates/resource/src/cdi_devices/container_device.rs57 // Step 2: Group devices by vendor_id-class_idCOMMENT
LOW…rs/crates/resource/src/cdi_devices/container_device.rs73 // Step 3: Sort devices within each group by guest_pcipathCOMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs247 // Step 0: Remove stale device if it already existsCOMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs253 // Step 1: Create device as read-onlyCOMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs302 // Step 2: Load table and resume (activate)COMMENT
LOW⚡src/libs/kata-types/src/dmverity.rs306 // Step 3: Ensure the device node exists under /dev/mapper/.COMMENT
Example Usage Blocks10 hits · 15 pts
SeverityFileLineSnippetContext
LOW…helm-chart/kata-deploy/try-kata-nvidia-gpu.values.yaml4# Usage:COMMENT
LOW…loy/helm-chart/kata-deploy/try-kata-remote.values.yaml14# Usage:COMMENT
LOW…helm-chart/kata-deploy/try-kata-nvidia-cpu.values.yaml5# Usage:COMMENT
LOW…-deploy/helm-chart/kata-deploy/try-kata-fc.values.yaml12# Usage:COMMENT
LOW…deploy/helm-chart/kata-deploy/try-kata-tee.values.yaml4# Usage:COMMENT
LOW…ckaging/kata-deploy/helm-chart/kata-deploy/values.yaml919 # Usage:COMMENT
LOWtools/packaging/scripts/populate-oras-tarball-cache.sh15# Usage:COMMENT
LOWtests/common.bash136# Usage:COMMENT
LOWtests/common.bash1636# Example usage:COMMENT
LOWtests/common.bash1687# Example usage:COMMENT
AI Slop Vocabulary7 hits · 15 pts
SeverityFileLineSnippetContext
LOWtools/packaging/scripts/gen_versions_txt.sh160 # (ie, 1.8.0-alpha0 may live on stable-1.8 as well as master: we'd just use master in this case)COMMENT
LOWtests/gha-run-k8s-common.sh347 # Due to this issue, let's simply use a different port (:9999) andCOMMENT
LOWtests/integration/kubernetes/lib.sh14# Delete all pods if any exist, otherwise just returnCOMMENT
LOWtests/stability/soak_parallel_rm.sh39# then just set this to a very large numberCOMMENT
MEDIUM…ime-rs/crates/resource/src/coco_data/initdata_block.rs235 // Essentially, it unwraps the layered writers (compression, buffering) to get back the original temporary file (temCOMMENT
MEDIUMsrc/runtime/virtcontainers/container_test.go340 // Create container to utilize this mount/secretCOMMENT
MEDIUMsrc/runtime/virtcontainers/kata_agent.go2086// given container and will update the OCI spec to utilize this mount point as the new source for theCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/crates/dbs_virtio_devices/src/vsock/csm/connection.rs60// is undefined. In this implementation, we forcefully terminate theCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…kaging/kata-deploy/local-build/kata-deploy-binaries.sh543 # docker export dumps the container filesystem, which carries scaffolding theCOMMENT
MEDIUMdocs/use-cases/NVIDIA-GPU-passthrough-and-Kata-QEMU.md177#### UVM orchestration flowCOMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/testing/gatekeeper/jobs.py253 def get_jobs_for_workflow_run(self, run_id):CODE
LOWtools/testing/gatekeeper/jobs.py259 def check_workflow_runs_status(self, attempt):CODE
LOWtests/integration/cri-containerd/integration-tests.sh414function TestContainerMemoryUpdate() {CODE
LOWtests/integration/cri-containerd/integration-tests.sh446function PrepareContainerMemoryUpdate() {CODE
LOWtests/integration/cri-containerd/integration-tests.sh664function startDeviceCgroupContainers() {CODE
LOWtests/integration/cri-containerd/integration-tests.sh719function stopDeviceCgroupContainers() {CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml59 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/dragonball/src/device_manager/blk_dev_mgr.rs1284 let dummy_id = String::from("1");CODE
LOWsrc/dragonball/src/device_manager/blk_dev_mgr.rs1293 drive_id: dummy_id.clone(),CODE
LOWsrc/dragonball/src/device_manager/blk_dev_mgr.rs1341 .get_index_of_drive_id(&dummy_id)CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/testing/gatekeeper/skips.py76CODE