Repository Analysis

kubernetes-sigs/agent-sandbox

agent-sandbox enables easy management of isolated, stateful, singleton workloads, ideal for use cases like AI agent runtimes.

10.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kubernetes-sigs/agent-sandbox, a Go project with 3,153 GitHub stars. SynthScan v2.0 examined 172,719 lines of code across 835 source files, recording 1634 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 10.8 places this repository in the Low AI signal band.

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

10.8
Adjusted Score
10.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.2K
Stars
Go
Language
172.7K
Lines of Code
835
Files
1.6K
Pattern Hits
2026-07-14
Scan Date
0.02
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 3HIGH 15MEDIUM 81LOW 1535

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 1634 distinct pattern matches across 22 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.

Hyper-Verbose Identifiers600 hits · 598 pts
SeverityFileLineSnippetContext
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py127def test_suspend_resume_new_sandbox(client, warmpool_name: str, namespace: str) -> None:CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py174def test_timestamp_based_listing_and_deletion(sandbox, creation_time, suspend_third_snapshot_uid):CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py238def test_restore_from_snapshot(sandbox, snapshot_uid: str):CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py257def test_restore_fails_on_running_sandbox(sandbox, snapshot_uid: str):CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py268def test_suspend_resume_restore_cycle(sandbox) -> tuple[str, str]:CODE
LOW…/agentic-sandbox-client/test_computer_use_extension.py133 def test_agent_without_api_key(self):CODE
LOWclients/python/agentic-sandbox-client/test_client.py165def test_explicit_close_connection_and_persistence(client: SandboxClient, warmpool_name: str, namespace: str):CODE
LOWclients/python/agentic-sandbox-client/test_client.py189def test_creation_get_and_list_sandboxes(client: SandboxClient, warmpool_name: str, namespace: str) -> tuple[Sandbox, SaCODE
LOWclients/python/agentic-sandbox-client/test_client.py221def test_termination_and_deletion(client: SandboxClient, sandbox: Sandbox, sandbox2: Sandbox, namespace: str):CODE
LOWclients/python/agentic-sandbox-client/test_client.py287def test_volume_claim_templates(client: SandboxClient, warmpool_name: str, namespace: str):CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py364 def get_sandbox_claim_warmpool_name(self, claim_name: str, namespace: str) -> str:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py39def _router_timeout_header_value(timeout) -> str | None:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py22def construct_sandbox_claim_lifecycle_spec(shutdown_after_seconds: int) -> dict[str, str]:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py123def is_valid_gateway_hostname(s: str) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py42def _router_timeout_header_value(timeout) -> str | None:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py79 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py96 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py133 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py231 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py276 def should_inject_router_headers(self) -> bool:CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py46 def test_connect_returns_correct_dns_url(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py50 def test_connect_uses_custom_port(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py55 def test_connect_is_idempotent(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py58 def test_does_not_inject_router_headers(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py61 def test_verify_connection_does_not_raise(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py64 def test_close_does_not_raise(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py67 def test_connect_uses_pod_ip_when_callable_provided(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py72 def test_connect_falls_back_to_dns_when_callable_returns_none(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py77 def test_connect_uses_dns_when_no_callable(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py82 def test_connect_pod_ip_uses_custom_port(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py87 def test_connect_caches_pod_ip_until_close(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py129 def test_direct_injects_headers(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py133 def test_gateway_injects_headers(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py140 def test_local_tunnel_injects_headers(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py157 def test_selects_in_cluster_strategy(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py162 def test_selects_direct_strategy(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py167 def test_raises_on_unknown_config_type(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py178 def _make_connector_with_strategy(self, strategy, config):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py225 def test_timeout_header_is_sent_for_router_requests(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py237 def test_timeout_tuple_uses_last_value_for_router_requests(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py249 def test_timeout_tuple_without_read_timeout_does_not_send_header(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py261 def test_unsupported_timeout_does_not_send_header(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py273 def test_timeout_header_is_not_sent_for_in_cluster_requests(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py285 def test_in_cluster_url_is_pod_dns(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py297 def test_allow_redirects_is_false(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py308 def test_allow_redirects_in_kwargs_popped(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py319 def test_redirect_raises_error(self):CODE
LOW…x-client/k8s_agent_sandbox/test/unit/test_lifecycle.py25 def test_builds_correct_lifecycle_dict(self, mock_datetime):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py28 def test_labels_and_annotations_coexist_in_manifest(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py44 def test_labels_only_no_annotations(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py58 def test_no_labels_no_annotations(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py69 def test_created_by_label_override_rejected(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py82 def test_lifecycle_included_in_manifest(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py99 def test_no_lifecycle_omits_key(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py109 def test_pod_metadata_included_in_manifest(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py124 def test_no_pod_metadata_omits_key(self, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py141 def test_resolve_sandbox_name_template_not_found(self, mock_watch_class, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py170 def test_resolve_sandbox_name_deleted_event(self, mock_watch_class, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py222 def test_wait_for_gateway_ip_valid_ip(self, mock_watch_class, mock_config, mock_api_cls, mock_core_cls):CODE
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py241 def test_wait_for_gateway_ip_valid_hostname(self, mock_watch_class, mock_config, mock_api_cls, mock_core_cls):CODE
540 more matches not shown…
Over-Commented Block542 hits · 538 pts
SeverityFileLineSnippetContext
LOWcodegen.go1// Copyright 2025 The Kubernetes Authors.COMMENT
LOWcodegen.go21//go:generate go tool -modfile=tools.mod sigs.k8s.io/controller-tools/cmd/controller-gen object crd:maxDescLen=0 paths=.COMMENT
LOWclients/go/sandbox/tracing_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/gateway.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/sandbox_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/files.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/tracing.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/options.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/options.go81COMMENT
LOWclients/go/sandbox/options.go121 // RestConfig overrides the Kubernetes REST config. If nil, the client firstCOMMENT
LOWclients/go/sandbox/tunnel.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/commands_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/types.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/strategy.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/client.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/connector.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/testmain_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/files_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/ip.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/connector_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/ip_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/sandbox.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/integration_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/client_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/commands.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/k8s.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/examples/basic/main.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/examples/gateway/main.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…/agentic-sandbox-client/test_computer_use_extension.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOWclients/python/agentic-sandbox-client/test_client.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/metrics.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…hon/agentic-sandbox-client/k8s_agent_sandbox/models.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…/agentic-sandbox-client/k8s_agent_sandbox/constants.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…entic-sandbox-client/k8s_agent_sandbox/pod_metadata.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOW…ntic-sandbox-client/k8s_agent_sandbox/async_sandbox.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…agentic-sandbox-client/k8s_agent_sandbox/exceptions.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…x-client/k8s_agent_sandbox/test/unit/test_connector.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…x-client/k8s_agent_sandbox/test/unit/test_lifecycle.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…-client/k8s_agent_sandbox/test/unit/test_k8s_helper.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…box-client/k8s_agent_sandbox/test/unit/test_metrics.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…8s_agent_sandbox/test/unit/test_async_sandboxclient.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…sandbox-client/k8s_agent_sandbox/test/unit/__init__.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…-client/k8s_agent_sandbox/test/unit/test_filesystem.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…t/k8s_agent_sandbox/test/unit/test_command_executor.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…t/k8s_agent_sandbox/test/unit/test_async_k8s_helper.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…box-client/k8s_agent_sandbox/test/unit/test_sandbox.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…_agent_sandbox/test/unit/test_lifecycle_integration.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ient/k8s_agent_sandbox/test/unit/test_sandboxclient.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…andbox-client/k8s_agent_sandbox/extensions/__init__.py1# Copyright 2025 The Kubernetes Authors.COMMENT
482 more matches not shown…
Excessive Try-Catch Wrapping144 hits · 168 pts
SeverityFileLineSnippetContext
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py381 except Exception as e:CODE
LOW…/agentic-sandbox-client/test_computer_use_extension.py36 except Exception as e:CODE
LOWclients/python/agentic-sandbox-client/test_client.py432 except Exception as e:STRING
LOWclients/python/agentic-sandbox-client/test_client.py511 except Exception as e:STRING
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py177 except Exception:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py217 except Exception as e:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py296 except Exception as e:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py313 except Exception as e:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py199 except Exception as e:CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/async_sandbox.py135 except Exception as e:CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py144 except Exception:CODE
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py184 except Exception as e:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py120 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py201 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py217 except Exception as e:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py399 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py136 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py292 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py353 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py366 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py388 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py402 except Exception as e:CODE
MEDIUM…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py124def __aexit__(self, exc_type, exc_val, exc_tb) -> None:CODE
MEDIUM…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py385def _delete_one(ns, claim_name):CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py140 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py188 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py224 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py236 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py266 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py277 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py351 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py372 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py456 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py136 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py204 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py264 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py351 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py209 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py251 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py385 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py500 except Exception as e:CODE
LOW…c-sandbox-client/k8s_agent_sandbox/files/filesystem.py137 except Exception as e:CODE
LOW…box-client/k8s_agent_sandbox/files/async_filesystem.py109 except Exception as e:CODE
LOW…-client/k8s_agent_sandbox/commands/command_executor.py58 except Exception as e:CODE
LOW…t/k8s_agent_sandbox/commands/async_command_executor.py62 except Exception as e:CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py603 except Exception:CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py612 except Exception:CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py626 except Exception:CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py702 except Exception as exc:CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py786 except Exception as e:CODE
LOWtest/e2e/clients/python/test_e2e_python_sdk.py171 except Exception as e:CODE
LOWtest/e2e/clients/python/test_e2e_python_sdk.py192 except Exception as e:CODE
LOWtest/e2e/clients/python/test_e2e_python_sdk.py216 except Exception as e:CODE
LOWtest/e2e/clients/python/test_e2e_python_sdk.py245 except Exception as e:CODE
LOWtest/e2e/clients/python/framework/context.py150 except Exception as e:CODE
MEDIUMtest/e2e/clients/python/framework/context.py151 print(f"Error during watch: {e}")CODE
LOWtest/e2e/clients/python/framework/context.py240 except Exception as e:CODE
MEDIUMtest/e2e/clients/python/framework/context.py241 print(f"An error occurred: {e}")CODE
LOWexamples/langchain/coding_agent.py80 except Exception as e:CODE
LOWexamples/langchain/coding_agent.py419 except Exception as e:CODE
84 more matches not shown…
Structural Annotation Overuse83 hits · 136 pts
SeverityFileLineSnippetContext
LOWdocs/api-migration-guide.md237### Step 1: Disable Conversion WebhooksCOMMENT
LOWdocs/api-migration-guide.md248### Step 2: Scale down the controller deploymentCOMMENT
LOWdocs/api-migration-guide.md255### Step 3: Delete upgraded resourcesCOMMENT
LOWdocs/api-migration-guide.md261### Step 4: Delete shadow pools (optional)COMMENT
LOWdocs/api-migration-guide.md269### Step 5: Reset CRD storedVersions to v1alpha1COMMENT
LOWdocs/api-migration-guide.md281### Step 6: Revert the CRD manifests and ControllerCOMMENT
LOWdocs/api-migration-guide.md296### Step 7: Restore Data from BackupCOMMENT
LOWdocs/prowjob_manual_run.md46#### Step 1: Trigger the JobCOMMENT
LOWdocs/prowjob_manual_run.md55#### Step 2: Identify the PodCOMMENT
LOWdocs/prowjob_manual_run.md66#### Step 3: Monitor ExecutionCOMMENT
LOWdocs/prowjob_manual_run.md75#### Step 4: Verify ResultsCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3381 // Step 1: CreateFunc → entry addedCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3385 // Step 2: First reconcile → Not-Ready → Ready transition → entry cleaned.COMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3387 // Step 3: Post-Ready UpdateFuncCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3391 // Step 4: Reconcile with old=Ready, new=ReadyCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go4249 // Step 1: Reconcile without templateCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go4285 // Step 2: Create template and reconcile againCOMMENT
LOWexamples/kata-gke-sandbox/setup.sh67echo "### Step 1: Creating/Checking GKE Cluster ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh97echo "### Step 2: Installing the Kata Infrastructure ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh119echo "### Step 3: Registering the RuntimeClass ###"CODE
LOWexamples/kata-gke-sandbox/README.md27## Step 1: Run the Setup ScriptCOMMENT
LOWexamples/kata-gke-sandbox/README.md34## Step 2: Install the Agent Sandbox ControllerCOMMENT
LOWexamples/kata-gke-sandbox/README.md38## Step 3: Deploy an Agent SandboxCOMMENT
LOWexamples/kata-gke-sandbox/README.md67## Step 4: Verify the Sandbox is RunningCOMMENT
LOWexamples/kata-gke-sandbox/README.md83## Step 5: Verify the IsolationCOMMENT
LOWexamples/ray-integration/README.md162### Step 1: Deploy the GKE GatewayCOMMENT
LOWexamples/ray-integration/README.md173### Step 2: Wait for the Public IPCOMMENT
LOWexamples/ray-integration/README.md186### Step 3: Upgrade the Python CodeCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md48### Step 1: Prepare and Push the Sandbox ImageCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md67### Step 2: Deploy InfrastructureCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md81### Step 3: Initialize KubeRay OperatorCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md95### Step 4: Apply RBAC Permissions for the Ray WorkersCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md105### Step 5: Deploy Sandbox WarmPool InfrastructureCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md114### Step 6: Create the RL Training Source ConfigMapCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md121### Step 7: Submit the Production RayJobCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md129### Step 8: Verify the E2E Execution LogsCOMMENT
LOWexamples/quickstart/gvisor.md11## Step 1: Install gVisor RuntimeCOMMENT
LOWexamples/quickstart/gvisor.md15## Step 2: Create KIND Cluster with gVisorCOMMENT
LOWexamples/quickstart/README.md26## Step 1: Clone the Agent Sandbox RepositoryCOMMENT
LOWexamples/quickstart/README.md43## Step 2: Create Kubernetes ClusterCOMMENT
LOWexamples/quickstart/README.md56## Step 3: Install Agent Sandbox ControllerCOMMENT
LOWexamples/quickstart/README.md76## Step 4: Apply SandboxTemplateCOMMENT
LOWexamples/quickstart/README.md90## Step 5: Create SandboxWarmPoolCOMMENT
LOWexamples/quickstart/README.md147## Step 6: Build and Deploy RouterCOMMENT
LOWexamples/quickstart/README.md161## Step 7: Load Router Image and Deploy RouterCOMMENT
LOWexamples/quickstart/README.md226## Step 8: Install Python SDKCOMMENT
LOWexamples/quickstart/README.md238## Step 9: Test the SetupCOMMENT
LOWexamples/quickstart/README.md276## Step 10: CleanupCOMMENT
LOWexamples/quickstart/kata-containers.md18## Step 1: Start minikube with ContainerdCOMMENT
LOWexamples/quickstart/kata-containers.md32## Step 2: Install Kata Containers using HelmCOMMENT
LOWexamples/gke-swap/README.md63### Step 1: GKE Swap ConfigurationCOMMENT
LOWexamples/gke-swap/README.md83### Step 2: Deploy the GKE ClusterCOMMENT
LOWexamples/gke-swap/README.md94### Step 3: Configure the Sandbox WorkloadsCOMMENT
LOWexamples/gke-swap/README.md124### Step 4: Run the Performance/Density TestsCOMMENT
LOWexamples/jupyterlab/jupyterlab.yaml106 # WARNING: The following configuration disables critical security features:COMMENT
LOWexamples/jupyterlab/jupyterlab-full.yaml231 # WARNING: The following configuration disables critical security features:COMMENT
LOWexamples/manual-pdb/README.md28### Step 1: Apply the TemplateCOMMENT
LOWexamples/manual-pdb/README.md34### Step 2: Apply the WarmPoolCOMMENT
LOWexamples/manual-pdb/README.md40### Step 3: Apply the Shared PDB (Once per Namespace)COMMENT
LOWexamples/manual-pdb/README.md48### Step 4: Create Sandbox ClaimsCOMMENT
23 more matches not shown…
Unused Imports107 hits · 88 pts
SeverityFileLineSnippetContext
LOW…/agentic-sandbox-client/test_computer_use_extension.py17CODE
LOWclients/python/agentic-sandbox-client/test_client.py22CODE
LOWclients/python/agentic-sandbox-client/test_client.py24CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py15CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py28CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py30CODE
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py15CODE
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py17CODE
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py18CODE
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py18CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py35CODE
LOW…box-client/k8s_agent_sandbox/test/unit/test_metrics.py17CODE
LOW…box-client/k8s_agent_sandbox/test/unit/test_metrics.py18CODE
LOW…box-client/k8s_agent_sandbox/test/unit/test_metrics.py19CODE
LOW…box-client/k8s_agent_sandbox/test/unit/test_metrics.py23CODE
LOW…t/k8s_agent_sandbox/test/unit/test_command_executor.py20CODE
LOW…k8s_agent_sandbox/gke_extensions/snapshots/__init__.py15CODE
LOW…pshots/test/unit/test_sandbox_with_snapshot_support.py21CODE
LOW…pshots/test/unit/test_sandbox_with_snapshot_support.py30CODE
LOW…c-sandbox-client/k8s_agent_sandbox/files/filesystem.py17CODE
LOW…-client/k8s_agent_sandbox/commands/command_executor.py15CODE
LOWtest/e2e/clients/python/test_e2e_python_sdk.py19CODE
LOWexamples/agent-sandbox-rl/tests/loadtest.py33CODE
LOWexamples/agent-sandbox-rl/tests/test_observability.py19CODE
LOW…/agent-sandbox-rl/tests/run_full_swebench_benchmark.py39CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/handles.py17CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/handles.py27CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/capacity.py33CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/config.py21CODE
LOW…amples/agent-sandbox-rl/agent_sandbox_rl/strategies.py23CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py24CODE
LOW…/agent-sandbox-rl/agent_sandbox_rl/registry_rewrite.py24CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py27CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py28CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py28CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py28CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py29CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py29CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py29CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py29CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py29CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py36CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py36CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py36CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py37CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py37CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py37CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py37CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py37CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py44CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py44CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py44CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py44CODE
47 more matches not shown…
Modern AI Meta-Vocabulary38 hits · 87 pts
SeverityFileLineSnippetContext
MEDIUMclients/python/agentic-sandbox-client/README.md81 pip install "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clients/python/ageCODE
MEDIUMclients/python/agentic-sandbox-client/README.md81 pip install "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clients/python/ageCODE
MEDIUMcmd/agent-sandbox-controller/main.go52 //+kubebuilder:scaffold:importsCOMMENT
MEDIUMcmd/agent-sandbox-controller/main.go395 //+kubebuilder:scaffold:builderCOMMENT
MEDIUM.agents/skills/triage-issues/evals/eval_runner.py137 # Default P3 (Nice-to-have, cleanup, refactor, test scaffolding)COMMENT
MEDIUMdocs/keps/359-refactor-python-sdk/README.md1292. Sandbox Manager POC: https://github.com/SHRUTI6991/agent-sandbox-initial-playing/tree/two-clients/clients/python/agenCODE
MEDIUMextensions/examples/kata-aks/router.yaml83 # See clients/python/agentic-sandbox-client/sandbox-router/sandbox_router.yamlCOMMENT
MEDIUMexamples/code-interpreter-agent-on-adk/README.md20 pip install google-adk==1.19.0 "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clieCODE
MEDIUMexamples/code-interpreter-agent-on-adk/README.md20 pip install google-adk==1.19.0 "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clieCODE
MEDIUMexamples/agent-sandbox-rl/docs/design.md1# Design: `agent-sandbox-rl` — generic, multi-cluster batch orchestration for RL on Agent SandboxCOMMENT
MEDIUM…emo-cilium-egress/manifests/router/sandbox-router.yaml2# Adapted from clients/python/agentic-sandbox-client/sandbox-router/sandbox_router.yamlCOMMENT
MEDIUMexamples/ray-integration/README.md54(Note: Ensure you have built and replaced the IMAGE_PLACEHOLDER in sandbox_router.yaml as per the [router documentation]CODE
MEDIUMexamples/ray-integration/direct-proxy/README.md30# We use e2-standard-4 (4 vCPU, 16GB RAM) to ensure the Ray orchestration processes have enough headroom.COMMENT
MEDIUMexamples/quickstart/README.md317- [Python SDK Source](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/)CODE
MEDIUMexamples/sandboxed-tools/main.go150// Session represents an agentic "chat" session (a stream of messages / tools calls etc).COMMENT
MEDIUMsite/content/docs/filesystem/_index.md16- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/filesystem/_index.md52The full template (with isolation runtime options) lives at [`clients/python/agentic-sandbox-client/python-sandbox-templCODE
MEDIUMsite/content/docs/filesystem/upload-download/_index.md12- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/filesystem/list-files/_index.md12- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/filesystem/read-write/_index.md12- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…ent/docs/use-cases/kata-containers-isolation/_index.md73With Kata runtimes, direct pod port-forwarding is not compatible. Use the [Sandbox Router](https://github.com/kubernetesCODE
MEDIUMsite/content/docs/use-cases/gvisor-isolation/_index.md62With gVisor or Kata runtimes, direct pod port-forwarding is not compatible. Use the [Sandbox Router](https://github.com/CODE
MEDIUMsite/content/docs/use-cases/computer-use/_index.md353. **Programmatic control** — use the [`agent-sandbox` Python SDK](https://github.com/agent-infra/sandbox/tree/main/sdk/CODE
MEDIUMsite/content/docs/sandbox/metrics/_index.md17- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/sandbox/snapshots/_index.md21- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…cs/sandbox/custom_sandbox/custom_environment/_index.md17- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…te/content/docs/sandbox/custom_sandbox/image/_index.md11- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…ntent/docs/getting_started/go-sdk-quickstart/_index.md14- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…ntent/docs/getting_started/go-sdk-quickstart/_index.md15- A `SandboxWarmPool` in the target namespace (for example `python-sandbox-pool` backed by `python-sandbox-template`). SCODE
MEDIUM…content/docs/getting_started/troubleshooting/_index.md20- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…t/docs/getting_started/install_prerequisites/_index.md47 curl -sSL https://raw.githubusercontent.com/kubernetes-sigs/agent-sandbox/refs/tags/${VERSION}/clients/python/agenticCODE
MEDIUM…t/docs/getting_started/install_prerequisites/_index.md56 curl -sSLO http://raw.githubusercontent.com/kubernetes-sigs/agent-sandbox/refs/tags/${VERSION}/clients/python/agenticCODE
MEDIUMsite/data/link_replacements.yaml8 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/REACODE
MEDIUMsite/data/link_replacements.yaml23 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/)'CODE
MEDIUMsite/data/link_replacements.yaml38 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/REACODE
MEDIUMsite/data/link_replacements.yaml43 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/REACODE
MEDIUMsite/data/link_replacements.yaml48 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/tesCODE
MEDIUMsite/data/link_replacements.yaml68 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/GCPCODE
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHexamples/analytics-tool/analytics-tool/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHexamples/gemini-cu-sandbox/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHexamples/python-runtime-sandbox/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHsite/content/docs/sandbox/snapshots/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGHsite/content/docs/sandbox/lifecycle/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGH…cs/sandbox/custom_sandbox/custom_environment/_index.md0a simple health check endpoint to confirm the server is running.STRING
HIGH…nt/docs/volumes/volume-claim-template/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGH…/docs/getting_started/troubleshooting/source/server.py0a simple health check endpoint to confirm the server is running.STRING
Deep Nesting36 hits · 35 pts
SeverityFileLineSnippetContext
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py144CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py121CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py182CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py308CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py52CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py123CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py316CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py341CODE
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py102CODE
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py161CODE
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py285CODE
LOW…ient/k8s_agent_sandbox/test/unit/test_sandboxclient.py523CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py83CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py147CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py215CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py299CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py325CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py222CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py269CODE
LOW…c-sandbox-client/sandbox-router/test_sandbox_router.py960CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py507CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py524CODE
LOWexamples/langchain/coding_agent.py365CODE
LOWexamples/hpa-swp-scaling/create-claim.py36CODE
LOWexamples/agent-sandbox-rl/tests/loadtest.py128CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py587CODE
LOW…les/agent-sandbox-rl/agent_sandbox_rl/observability.py247CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/sources.py105CODE
LOW…mples/agent-sandbox-rl/agent_sandbox_rl/async_fleet.py339CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py237CODE
LOW…s/agent-sandbox-rl/agent_sandbox_rl/adapters/r2egym.py91CODE
LOWdev/tools/test-migration.py283CODE
LOWdev/tools/test-migration.py377CODE
LOWdev/tools/test-migration.py841CODE
LOWdev/tools/shared/headers.py161CODE
LOWdev/tools/shared/headers.py202CODE
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALexamples/policy/vap/secure-sandbox-policy.yaml86 !object.spec.podTemplate.spec.volumes.exists(v,CODE
CRITICALexamples/policy/vap/secure-sandbox-policy.yaml97 !object.spec.podTemplate.spec.volumes.exists(v, has(v.hostPath))CODE
CRITICALexamples/policy/vap/secure-sandbox-policy.yaml157 object.spec.podTemplate.spec.tolerations.exists(t,CODE
Decorative Section Separators8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMexamples/ray-integration/rl_poc_local.py84 # ==========================================COMMENT
MEDIUMexamples/ray-integration/rl_poc_local.py86 # ==========================================COMMENT
MEDIUMexamples/ray-integration/rl_poc_prod.py83 # ==========================================COMMENT
MEDIUMexamples/ray-integration/rl_poc_prod.py85 # ==========================================COMMENT
MEDIUM…/ray-integration/direct-proxy/ray-autopilot-setup.yaml77 # ==============================================================================COMMENT
MEDIUM…/ray-integration/direct-proxy/ray-autopilot-setup.yaml80 # ==============================================================================COMMENT
MEDIUM…les/ray-integration/direct-proxy/rl_production_loop.py19# ==============================================================================COMMENT
MEDIUM…les/ray-integration/direct-proxy/rl_production_loop.py26# ==============================================================================COMMENT
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM…n/agentic-sandbox-client/test_podsnapshot_extension.py134 # Create the initial sandbox to take the snapshot fromCOMMENT
MEDIUM…n/agentic-sandbox-client/test_podsnapshot_extension.py375 # Create a fresh sandbox to test suspend-resume flow on a brand new instanceCOMMENT
MEDIUM…amples/demo-cilium-egress/scripts/01-create-cluster.sh16# Create a GKE Standard cluster WITHOUT Dataplane V2 so we can install upstream Cilium.COMMENT
MEDIUM…les/ray-integration/direct-proxy/rl_production_loop.py218 # Define the scale of the distributed job.COMMENT
MEDIUMexamples/gemini-cu-sandbox/run-test-kind.sh64# Create a temporary kubeconfig file for kindCOMMENT
MEDIUMexamples/policy/vap/secure-sandbox-policy.yaml14 # Define a variable to check ALL container types: containers, initContainers, and ephemeralContainers.COMMENT
MEDIUMhelm/files/migrate.sh277 # Create the deduped shadow pools.COMMENT
Redundant / Tautological Comments13 hits · 20 pts
SeverityFileLineSnippetContext
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py211 # Check if the sandbox actually exists in KubernetesCOMMENT
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py378 # Verify if the connection is active before sending the requestCOMMENT
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py167 # Check if Snapshot UID is present in the condition.messageCOMMENT
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py223 # Check if already deletedCOMMENT
LOWexamples/kata-gke-sandbox/setup.sh69# Check if the cluster already existsCOMMENT
LOW…ples/vscode-sandbox/overlays/kata-mshv/patch-kata.yaml8 # Set runtimeClassName to use kata mshv runtime classCOMMENT
LOW…mples/vscode-sandbox/overlays/gvisor/patch-gvisor.yaml8 # Set runtimeClassName to use gVisorCOMMENT
LOWexamples/vscode-sandbox/overlays/kata/patch-kata.yaml8 # Set runtimeClassName to use kata qemu classCOMMENT
LOW…policy/policy-controller/template-sandbox-binding.yaml39 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW…policy/policy-controller/template-sandbox-binding.yaml62 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW…es/policy/opa-gatekeeper/template-sandbox-binding.yaml39 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW…es/policy/opa-gatekeeper/template-sandbox-binding.yaml62 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW.github/workflows/check-api-docs.yml48 # Check if there are any differencesCOMMENT
Verbosity Indicators15 hits · 20 pts
SeverityFileLineSnippetContext
LOWextensions/controllers/sandboxclaim_controller_test.go3381 // Step 1: CreateFunc → entry addedCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3385 // Step 2: First reconcile → Not-Ready → Ready transition → entry cleaned.COMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3387 // Step 3: Post-Ready UpdateFuncCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3391 // Step 4: Reconcile with old=Ready, new=ReadyCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go4249 // Step 1: Reconcile without templateCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go4285 // Step 2: Create template and reconcile againCOMMENT
LOWexamples/kata-gke-sandbox/setup.sh67echo "### Step 1: Creating/Checking GKE Cluster ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh97echo "### Step 2: Installing the Kata Infrastructure ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh119echo "### Step 3: Registering the RuntimeClass ###"CODE
LOWdev/tools/test-migration.py851 # Step 1: Disable conversion webhookSTRING
LOWdev/tools/test-migration.py865 # Step 2: Delete upgraded resources while upgraded CRD spec (v1beta1) is still installedSTRING
LOWdev/tools/test-migration.py869 # Step 3: Delete shadow warm poolsSTRING
LOWdev/tools/test-migration.py878 # Step 4: Reset storedVersions to v1alpha1 in CRD statusSTRING
LOWdev/tools/test-migration.py884 # Step 5: Downgrade controller and CRDs to v1alpha1STRING
LOWdev/tools/test-migration.py974 # Step 6: Restore data from backupSTRING
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM…/agent-sandbox-rl/tests/run_full_swebench_benchmark.py168 # general load-test harness for repeated-tasks-per-image batches.COMMENT
MEDIUMexamples/agent-sandbox-rl/examples/plan_capacity.py145 sys.path.insert(0, tests_dir) # robust to cwdCODE
MEDIUMexamples/sandboxed-tools/pkg/tools/write_file.go69 // The -- separator makes execution more robust e.g. if path is "--help"COMMENT
MEDIUMexamples/sandboxed-tools/pkg/tools/list_files.go59 // The -- separator makes execution more robust e.g. if path is "--help"COMMENT
MEDIUMexamples/sandboxed-tools/pkg/tools/read_file.go61 // The -- separator makes execution more robust e.g. if path is "--help"COMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…ic-sandbox-client/k8s_agent_sandbox/async_connector.py145Sends an HTTP request asynchronously to the sandbox with standard parameters. This method automatically resolveSTRING
HIGH…/agentic-sandbox-client/k8s_agent_sandbox/connector.py342Sends an HTTP request to the sandbox with standard parameters. This method automatically resolves the gateway oSTRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHextensions/examples/kata-aks/README.md168 --from-literal=OPENAI_API_KEY="<your-api-key>" \CODE
HIGHexamples/sandboxed-tools/README.md56export GEMINI_API_KEY="your-api-key-here"CODE
Modern Structural Boilerplate9 hits · 9 pts
SeverityFileLineSnippetContext
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py22logger = logging.getLogger(__name__)CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py21logger = logging.getLogger(__name__)CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py38logger = logging.getLogger(__name__)CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py39logger = logging.getLogger(__name__)CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py30logger = logging.getLogger(__name__)CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py37logger = logging.getLogger(__name__)CODE
LOW…pshots/test/unit/test_sandbox_with_snapshot_support.py51logger = logging.getLogger(__name__)CODE
LOW…ensions/snapshots/test/unit/test_podsnapshot_client.py31logger = logging.getLogger(__name__)CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py75__all__ = [CODE
Cross-Language Confusion2 hits · 9 pts
SeverityFileLineSnippetContext
HIGH…agent-sandbox-rl/agent_sandbox_rl/adapters/swebench.py36 " || ls -d /testbed 2>/dev/null || ls /",CODE
HIGHdev/tools/test-migration.py854 patch = '{"spec":{"conversion":{"strategy":"None","webhook":null}}}'STRING
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWsandbox-router/authz/authorizer_test.go39 Username: "user@example.com",CODE
LOWsandbox-router/authz/authorizer_test.go48 Username: "user@example.com",CODE
LOWexamples/openclaw-sandbox/run-test-kind.sh39sed "s/dummy-token-for-sandbox/$OPENCLAW_GATEWAY_TOKEN/g" openclaw-sandbox.yaml | kubectl apply -f -CODE
LOWexamples/openclaw-sandbox/README.md27 sed "s/dummy-token-for-sandbox/$OPENCLAW_GATEWAY_TOKEN/g" openclaw-sandbox.yaml | kubectl apply -f -CODE
LOWexamples/openclaw-sandbox/openclaw-sandbox.yaml31 value: "dummy-token-for-sandbox"CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/pull_request_template.md19Note: Automated release notes are generated by Gemini using the PR description in the first section.CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsandbox-router/dev/smoke-test/run.sh27# Usage:COMMENT
LOWhelm/files/migrate.sh41# Usage:COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/prepull.py67CODE
LOWdev/ci/shared/runner.py72CODE