Repository Analysis

TencentCloud/CubeSandbox

Instant, Concurrent, Secure & Lightweight Sandbox for AI Agents.

6.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TencentCloud/CubeSandbox, a Go project with 11,378 GitHub stars. SynthScan v2.0 examined 830,101 lines of code across 3068 source files, recording 3381 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 6.9 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).

6.9
Adjusted Score
6.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
11.4K
Stars
Go
Language
830.1K
Lines of Code
3.1K
Files
3.4K
Pattern Hits
2026-08-29
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 0HIGH 58MEDIUM 1124LOW 2199

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 3381 distinct pattern matches across 23 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.

Decorative Section Separators1083 hits · 3072 pts
SeverityFileLineSnippetContext
MEDIUMCubeS3lvol/make_release.sh103# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh110# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh119# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh127# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh186# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh188# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh197# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh207# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh363# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh369# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh373# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh261# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh263# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh318# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh324# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh384# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh510# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/make_release.sh512# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh67# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh74# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh189# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh196# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh233# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh235# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh493# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh515# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh943# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh945# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh1027# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/setup_dep.sh1029# ---------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh75# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh84# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh184# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh186# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh265# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh272# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh287# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh290# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh308# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh310# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh325# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh327# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh356# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh358# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh485# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/run_all.sh487# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/tools/check_layering.sh77# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/tools/check_layering.sh79# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/tools/check_layering.sh93# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/tools/check_layering.sh98# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/tools/check_layering.sh125# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/tools/check_layering.sh127# --------------------------------------------------------------------------COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh243# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh261# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh292# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh352# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh404# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh488# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh528# ==========================================================================COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_selfimport_test.sh607# ==========================================================================COMMENT
1023 more matches not shown…
Over-Commented Block1023 hits · 948 pts
SeverityFileLineSnippetContext
LOWdocker/cube-entrypoint.sh1#!/bin/shCOMMENT
LOWCubeEgress/start.sh1#!/usr/bin/env bashCOMMENT
LOWCubeEgress/scripts/cube-proxy-iptables-init.sh1#!/usr/bin/env bashCOMMENT
LOWCubeEgress/scripts/cube-proxy-iptables-init.sh21# sub-chain so 'down' tears down our config without touching anythingCOMMENT
LOWCubeS3lvol/make_release.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/make_release.sh21#COMMENT
LOWCubeS3lvol/make_release.sh41#COMMENT
LOWCubeS3lvol/make_release.sh361} > "${PKG_DIR}/VERSION"COMMENT
LOWCubeS3lvol/make_release.sh381# target comes up, DPDK initialises, the RPC server listens, and it exits. ThatCOMMENT
LOWCubeS3lvol/setup_dep.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/setup_dep.sh21# ./setup_dep.sh --print-configure-argsCOMMENT
LOWCubeS3lvol/setup_dep.sh41# The build used to look for SPDK at ../spdk, which works only if whoever clonedCOMMENT
LOWCubeS3lvol/setup_dep.sh61#COMMENT
LOWCubeS3lvol/setup_dep.sh101# What ./configure was given. Deliberately short:COMMENT
LOWCubeS3lvol/setup_dep.sh501#COMMENT
LOWCubeS3lvol/setup_dep.sh521# Debug by default, which is the same call as --enable-debug for SPDK above andCOMMENT
LOWCubeS3lvol/setup_dep.sh801 git clone --quiet --depth 1 --branch "${tag}" "${repo}" "${src}" || return 1COMMENT
LOWCubeS3lvol/test/run_all.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/run_all.sh21# === Why serial, and why this order ===COMMENT
LOWCubeS3lvol/test/run_all.sh41# find out whether one thing broke or ten did. Failures are collected andCOMMENT
LOWCubeS3lvol/test/run_all.sh381 # a previous run that did not clean up. The control test refuses in thisCOMMENT
LOWCubeS3lvol/test/tools/s3_bucket.py1#!/usr/bin/env python3COMMENT
LOWCubeS3lvol/test/tools/check_binary_fresh.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/tools/check_layering.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/tools/check_layering.sh21# 3. module/ must not name aws_* identifiers at all.COMMENT
LOWCubeS3lvol/test/tools/s3lvol_rpc.py1#!/usr/bin/env python3COMMENT
LOWCubeS3lvol/test/tools/s3lvol_rpc.py21#COMMENT
LOWCubeS3lvol/test/tools/s3lvol_rpc.py41#COMMENT
LOWCubeS3lvol/test/tools/s3lvol_rpc.py61# mark for the snapshot. The mark is the *only* record that a delete was askedCOMMENT
LOWCubeS3lvol/test/tools/s3_prefix_rm.py1#!/usr/bin/env python3COMMENT
LOWCubeS3lvol/test/tools/s3_prefix_rm.py21#COMMENT
LOWCubeS3lvol/test/integration/s3_wal_test.c41#include "spdk/stdinc.h"COMMENT
LOWCubeS3lvol/test/dataplane/run_selfimport_test.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/dataplane/run_selfimport_test.sh21# - an esnap clone's parent is pinned by the export, which can be released or canCOMMENT
LOWCubeS3lvol/test/dataplane/run_selfimport_test.sh541# be worth looking at on its own, but it is a different question from this one andCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh21# 2. writing the imported volume does not touch the source. It reads through toCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh621COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh1121 >/dev/null 2>"${WORKDIR}/rm_ns.err"; thenCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh1241#COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh1421# unable to handle at all until the walk learned to follow the chain, and becauseCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh1581# ==========================================================================COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh1781#COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh2221COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh2241# 1. the export stays zero-copy -- the zeroed clusters are recognised as holesCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh2541# a corner. It used to be refused outright: the imports registry is keyed byCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh2841COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3041COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3061# and a filesystem that would not mount.COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3361# imports submitted at the same time, all decoupling from the same export, andCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3381#COMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3701# snapshot and writes its own manifest -- but that is exactly why this has toCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3941echoCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh3961# under the read, or the object is still missing afterCOMMENT
LOWCubeS3lvol/test/dataplane/run_export_test.sh4001elseCOMMENT
LOWCubeS3lvol/test/dataplane/run_activation_test.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh21#COMMENT
LOWCubeS3lvol/test/dataplane/run_guards_test.sh1#!/usr/bin/env bashCOMMENT
LOWCubeS3lvol/test/dataplane/run_guards_test.sh21# The lvstore name is its key prefix in the bucket (s3_bs_dev_create doesCOMMENT
963 more matches not shown…
Hyper-Verbose Identifiers469 hits · 435 pts
SeverityFileLineSnippetContext
LOWweb/src/lib/templateConfig.ts55export function extractTemplateRuntimeConfig(cr: unknown): TemplateRuntimeConfig | null {CODE
LOWweb/src/lib/templateConfig.ts73export function extractTemplateNetworkPolicy(cr: unknown): TemplateNetworkPolicy {CODE
LOWweb/src/pages/Versions.tsx63function stripPlatformVersionSuffix(version: string): string {CODE
LOWtests/e2e/sdk_compat/conftest.py198def pytest_collection_modifyitems(config: pytest.Config, items: list[pytest.Item]) -> None:CODE
LOWtests/e2e/sdk_compat/conftest.py229def pytest_runtest_makereport(item: pytest.Item, call: pytest.CallInfo):CODE
LOWtests/e2e/sdk_compat/conftest.py477def _scale_capacity_retries_for_xdist(cfg: SdkE2EConfig) -> SdkE2EConfig:CODE
LOWtests/e2e/sdk_compat/conftest.py580def _log_effective_environment(cfg: SdkE2EConfig) -> None:CODE
LOWtests/e2e/sdk_compat/framework/config.py22def volume_plugin_enabled_from_env() -> bool:CODE
LOWtests/e2e/sdk_compat/framework/host_mount.py37def backend_supports_host_mount(backend: str) -> bool:CODE
LOWtests/e2e/sdk_compat/framework/host_mount.py47def skip_if_host_mount_unavailable(backend: str, config) -> None:CODE
LOWtests/e2e/sdk_compat/framework/host_mount.py105def is_missing_hostpath_source_error(exc: BaseException | str) -> bool:CODE
LOWtests/e2e/sdk_compat/framework/host_mount.py124def warn_pass_missing_hostpath_source(CODE
LOWtests/e2e/sdk_compat/framework/volume_hints.py18def volume_plugin_misconfigured_hint(detail: str = "") -> str:CODE
LOWtests/e2e/sdk_compat/framework/volume.py50def wait_delete_volume_status(CODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py82def wait_until_data_plane_ready(CODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py139def wait_for_platform_destroy(CODE
LOWtests/e2e/sdk_compat/framework/network_probe.py215def require_conclusive_flow_outcome(outcome: str, target: str) -> str:STRING
LOWtests/e2e/sdk_compat/framework/network_probe.py233def wait_established_flow_outcome(STRING
LOWtests/e2e/sdk_compat/framework/create_retry.py90def create_with_capacity_retry(CODE
LOWtests/e2e/sdk_compat/framework/preflight.py113def _check_backend_dependencies(backends: tuple[str, ...], errors: list[str]) -> None:CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py84def test_rw_and_ro_mounts_visible(sdk_sandbox, sdk_e2e_config):CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py98def test_rw_mount_accepts_writes(sdk_sandbox, sdk_e2e_config):CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py112def test_ro_mount_rejects_writes(sdk_sandbox, sdk_e2e_config):CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py127def test_disallowed_hostpath_rejected_at_create(sdk_backend, sdk_e2e_config):CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py152def test_get_info_returns_volume_mounts(sdk_sandbox):CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py175def test_list_returns_volume_mounts(sdk_sandbox, sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py61def _require_host_mount_backend(sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py108def test_illegal_hostpath_rejected(case, host_path, reason, sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py129def test_illegal_mountpath_rejected(case, mount_path, sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py141def test_mixed_valid_and_invalid_entries_rejected(sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py169def test_malformed_annotation_rejected(case, raw, sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py194def test_nonexistent_hostpath_rejected_at_create(sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py215def test_file_hostpath_rejected_at_create(sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py275def test_exact_allowed_prefix_dir_mounts(sdk_sandbox, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py289def test_empty_mount_list_is_noop(sdk_sandbox, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py302def test_rw_mount_shares_data_across_sandboxes(sdk_backend, sdk_e2e_config):CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py377def test_nested_ro_parent_rw_child_writable_when_child_listed_first(CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py535def test_symlink_escapes_allowed_prefix(sdk_backend, sdk_e2e_config):CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py73def test_is_capacity_error_ignores_other_errors(message: str) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py77def test_is_capacity_error_matches_numeric_code_attribute() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py82def test_is_capacity_error_ignores_unrelated_code() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py86def test_is_capacity_error_matches_real_apierror_shape() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py117def test_is_capacity_error_requires_code_word_boundary() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py123def test_backoff_delay_grows_and_is_capped(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py132def test_backoff_delay_uncapped_when_max_non_positive(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py137def test_backoff_delay_stays_within_ceiling() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py143def test_backoff_delay_uncapped_overflow_clamps_to_finite_ceiling(CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py153def test_backoff_delay_uncapped_grows_within_finite_ceiling() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py59def test_is_capacity_error_matches_transient(message: str) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py103def test_is_capacity_error_matches_real_wire_message() -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py165def test_returns_on_first_success(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py179def test_retries_capacity_error_then_succeeds(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py201def test_non_capacity_error_raises_immediately(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py214def test_raises_last_capacity_error_when_exhausted(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py227def test_retries_zero_is_single_attempt(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py240def test_negative_retries_treated_as_zero(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py261def test_total_budget_stops_before_exceeding(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py279def test_total_budget_disabled_when_non_positive(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/e2e/sdk_compat/cases/framework/test_reporting.py21def test_serial_run_uses_plain_events_file(tmp_path, monkeypatch):CODE
LOWtests/e2e/sdk_compat/cases/framework/test_reporting.py30def test_xdist_worker_gets_own_file(tmp_path, monkeypatch):CODE
409 more matches not shown…
Structural Annotation Overuse149 hits · 264 pts
SeverityFileLineSnippetContext
LOWcubecow/examples/go-test/main.go380 // Step 1: Create volumeCOMMENT
LOWcubecow/examples/go-test/main.go383 // Step 2: Get volume infoCOMMENT
LOWcubecow/examples/go-test/main.go386 // Step 3: Get volume block infoCOMMENT
LOWcubecow/examples/go-test/main.go389 // Step 4: Resize volumeCOMMENT
LOWcubecow/examples/go-test/main.go392 // Step 5: Create snapshotCOMMENT
LOWcubecow/examples/go-test/main.go395 // Step 6: List snapshotsCOMMENT
LOWcubecow/examples/go-test/main.go398 // Step 7: Derive a writable volume from the snapshot (auto-activated).COMMENT
LOWcubecow/examples/go-test/main.go401 // Step 8: List volumesCOMMENT
LOWcubecow/examples/go-test/main.go404 // Step 9: Get metricsCOMMENT
LOWcubecow/examples/go-test/main.go407 // Step 10: Cleanup - delete clone, snapshot, then volume (unless -no-cleanup)COMMENT
LOWcubecow/src/engine/s3.rs550 // Step 1: build the base projection under the read lock andCOMMENT
LOWcubecow/src/engine/s3.rs577 // Step 2: if the entry is an exported snapshot, refreshCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh2944# Step 1: terraform initCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh2977# Step 2: terraform apply (with retry logic)COMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh3461# Step 6: Replace with the CubeSandbox kernelCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh3675# Step 7: Reboot the CVM and verify the new kernelCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh3830# Step 8: Initialize all compute nodes (purchased sequentially in step 3)COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go210 // Step 1: Create-restore from tpl-T sets BOTH bindings.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go216 // Step 2: Commit A advances the runtime-snapshot binding only.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go222 // Step 3: Commit B — same invariant.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go227 // Step 4: Rollback to A: rollback restarts the VM, so it bumps BOTH.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go233 // Step 5: Commit C after rollback — runtime-snapshot advances; theCOMMENT
LOWdocs/guide/dev-environment.md45### Step 1: Prepare the image (one-off)COMMENT
LOWdocs/guide/dev-environment.md57### Step 2: Boot the VMCOMMENT
LOWdocs/guide/dev-environment.md68### Step 3: Log in (in a new terminal)COMMENT
LOWdocs/guide/bare-metal-deploy.md29## Step 1: InstallCOMMENT
LOWdocs/guide/bare-metal-deploy.md73## Step 2: Create a TemplateCOMMENT
LOWdocs/guide/bare-metal-deploy.md102## Step 3: Run Your First Agent CodeCOMMENT
LOWdocs/guide/quickstart.md47## Step 1: Provision a Cloud Server & Install the PVM KernelCOMMENT
LOWdocs/guide/quickstart.md171## Step 2: InstallCOMMENT
LOWdocs/guide/quickstart.md199## Step 3: Create a TemplateCOMMENT
LOWdocs/guide/quickstart.md232## Step 4: Run Your First Agent CodeCOMMENT
LOWdocs/guide/multi-node-deploy.md46## Step 1: Prepare the Release BundleCOMMENT
LOWdocs/guide/multi-node-deploy.md55## Step 2: Configure Environment VariablesCOMMENT
LOWdocs/guide/multi-node-deploy.md109## Step 3: InstallCOMMENT
LOWdocs/guide/pvm-deploy.md43## Step 0: Provision a Cloud ServerCOMMENT
LOWdocs/guide/pvm-deploy.md59## Step 1: Install the PVM Host KernelCOMMENT
LOWdocs/guide/pvm-deploy.md159## Step 2: Install Cube Sandbox with PVM EnabledCOMMENT
LOWdocs/guide/pvm-deploy.md221## Step 3: Verify the PVM EnvironmentCOMMENT
LOWdocs/guide/pvm-deploy.md235## Step 4: Create a Template and Get StartedCOMMENT
LOWdocs/guide/self-build-deploy.md54## Step 1: Build the Release BundleCOMMENT
LOWdocs/guide/self-build-deploy.md125## Step 2: Deploy to the Target MachineCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md28### Step 1: Write a DockerfileCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md45### Step 2: Build the imageCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md51### Step 3: Verify that envd is healthyCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md66### Step 4: Create the templateCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md86### Step 5: Wait for the template to become readyCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md101### Step 6: Verify the templateCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md181### Step 1: Write a DockerfileCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md185### Step 2: Build the image with a registry prefixCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md192### Step 3: Verify that envd is healthyCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md196### Step 4: Log in and push the imageCOMMENT
LOWdocs/guide/tutorials/template-build-practice.md206### Step 5: Create the templateCOMMENT
LOW…s/blog/posts/2026-06-03-cubesandbox-v0.3.0-snapshot.md137# Step 1: take a base snapshot in the v0 stateCOMMENT
LOW…s/blog/posts/2026-06-03-cubesandbox-v0.3.0-snapshot.md144# Step 2: spin up a new sandbox from the base snapshotCOMMENT
LOW…s/blog/posts/2026-06-03-cubesandbox-v0.3.0-snapshot.md148# Step 3: write v1 and drop a checkpointCOMMENT
LOW…s/blog/posts/2026-06-03-cubesandbox-v0.3.0-snapshot.md154# Step 4: write v2 and confirm it landedCOMMENT
LOW…s/blog/posts/2026-06-03-cubesandbox-v0.3.0-snapshot.md161# Step 5: roll back to the v1 checkpointCOMMENT
LOW…s/blog/posts/2026-06-03-cubesandbox-v0.3.0-snapshot.md165# Step 6: verify state is restored to v1 (sandbox_id unchanged)COMMENT
LOWdocs/blog/posts/2026-07-08-cubesandbox-arm-support.md94### Step 1: Download and installCOMMENT
89 more matches not shown…
Excessive Try-Catch Wrapping228 hits · 234 pts
SeverityFileLineSnippetContext
LOWCubeS3lvol/test/run_all.sh397except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_selfimport_test.sh125except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_selfimport_test.sh571except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh2645except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh2760except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh2948except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh3173except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh3213except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh3508except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh3573except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_export_test.sh3590except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_activation_test.sh75 except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh102except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh136except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh229except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh387except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh418except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_fs_test.sh274except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_snapdelete_test.sh174except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_snapdelete_test.sh385except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_dataplane_test.sh1012except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_control_test.sh136except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_control_test.sh177except Exception:CODE
LOWCubeS3lvol/test/dataplane/run_control_test.sh583except Exception:CODE
LOWCubeS3lvol/scripts/rcow_common.sh1035except Exception:CODE
LOWCubeS3lvol/scripts/rcow_common.sh850except Exception:CODE
LOWCubeS3lvol/scripts/rcow_common.sh1058except Exception as e:CODE
LOWCubeS3lvol/scripts/rcow_common.sh1101except Exception:CODE
LOWCubeS3lvol/scripts/rcow_purge.sh148except Exception:CODE
LOWCubeS3lvol/scripts/rcow_purge.sh227except Exception:CODE
LOWCubeS3lvol/scripts/rcow_purge.sh294except Exception as e:CODE
LOWtests/e2e/sdk_compat/conftest.py267 except Exception as exc: # noqa: BLE001 - diagnostics must not hide the failureCODE
LOWtests/e2e/sdk_compat/conftest.py544 except Exception as exc: # noqa: BLE001 - keep remote sandbox, close local handles best-effortCODE
LOWtests/e2e/sdk_compat/framework/trace.py164 except Exception as exc:CODE
LOWtests/e2e/sdk_compat/framework/platform_lifecycle.py44 except Exception as exc: # noqa: BLE001 - probe should stay best-effortCODE
LOWtests/e2e/sdk_compat/framework/host_mount.py79 except Exception as exc: # noqa: BLE001 - the rejection is the assertionCODE
LOWtests/e2e/sdk_compat/framework/cleanup.py25 except Exception as exc: # noqa: BLE001 - cleanup must continueCODE
LOWtests/e2e/sdk_compat/framework/cleanup.py35 except Exception as exc: # noqa: BLE001 - fallback delete handles thisCODE
LOWtests/e2e/sdk_compat/framework/cleanup.py48 except Exception as exc: # noqa: BLE001 - teardown must be best-effortCODE
LOWtests/e2e/sdk_compat/framework/cleanup.py57 except Exception as exc: # noqa: BLE001CODE
LOWtests/e2e/sdk_compat/framework/cleanup.py63 except Exception as exc: # noqa: BLE001CODE
LOWtests/e2e/sdk_compat/framework/cleanup.py75 except Exception as api_exc: # noqa: BLE001CODE
LOWtests/e2e/sdk_compat/framework/volume.py88 except Exception as exc: # noqa: BLE001 - cleanup must continueCODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py106 except Exception as exc: # noqa: BLE001 - probe until ready or timeoutCODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py163 except Exception:CODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py181 except Exception as exc:CODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py192 except Exception as exc:CODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py197 except Exception as exc:CODE
LOWtests/e2e/sdk_compat/framework/network_probe.py128except Exception as exc:CODE
LOWtests/e2e/sdk_compat/framework/create_retry.py138 except Exception as exc: # noqa: BLE001 - decide per-exception whether to retryCODE
LOWtests/e2e/sdk_compat/framework/preflight.py42 except Exception as exc: # noqa: BLE001 - preflight aggregates diagnosticsCODE
LOWtests/e2e/sdk_compat/framework/preflight.py77 except Exception as exc: # noqa: BLE001 - preflight should aggregate diagnosticsCODE
LOWtests/e2e/sdk_compat/framework/preflight.py91 except Exception as exc: # noqa: BLE001CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py502 except Exception as exc: # noqa: BLE001 - missing source => passCODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py517 except Exception as exc: # noqa: BLE001 - missing source => passCODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py619 except Exception as exc: # noqa: BLE001 - a rejected create is the secure outcomeCODE
LOW…dk_compat/cases/network/test_template_network_merge.py93 except Exception:CODE
LOW…dk_compat/cases/network/test_template_network_merge.py180 except Exception as exc: # noqa: BLE001 - defer to cubesandbox test bodyCODE
LOW…dk_compat/cases/network/test_template_network_merge.py185 except Exception:CODE
LOW…dk_compat/cases/network/test_template_network_merge.py193 except Exception:CODE
168 more matches not shown…
Unused Imports156 hits · 142 pts
SeverityFileLineSnippetContext
LOWCubeS3lvol/test/tools/s3_bucket.py24CODE
LOWCubeS3lvol/scripts/rpc.py32CODE
LOWtests/e2e/sdk_compat/conftest.py4CODE
LOWtests/e2e/sdk_compat/framework/auth.py4CODE
LOWtests/e2e/sdk_compat/framework/trace.py4CODE
LOWtests/e2e/sdk_compat/framework/platform_lifecycle.py4CODE
LOWtests/e2e/sdk_compat/framework/config.py4CODE
LOWtests/e2e/sdk_compat/framework/models.py4CODE
LOWtests/e2e/sdk_compat/framework/host_mount.py14CODE
LOWtests/e2e/sdk_compat/framework/volume_hints.py6CODE
LOWtests/e2e/sdk_compat/framework/assertions.py4CODE
LOWtests/e2e/sdk_compat/framework/cleanup.py4CODE
LOWtests/e2e/sdk_compat/framework/volume.py4CODE
LOWtests/e2e/sdk_compat/framework/volume.py13CODE
LOWtests/e2e/sdk_compat/framework/volume.py13CODE
LOWtests/e2e/sdk_compat/framework/volume.py13CODE
LOWtests/e2e/sdk_compat/framework/capabilities.py4CODE
LOWtests/e2e/sdk_compat/framework/lifecycle.py4CODE
LOWtests/e2e/sdk_compat/framework/exceptions.py4CODE
LOWtests/e2e/sdk_compat/framework/network_probe.py6CODE
LOWtests/e2e/sdk_compat/framework/parallel.py11CODE
LOWtests/e2e/sdk_compat/framework/build_throttle.py27CODE
LOWtests/e2e/sdk_compat/framework/create_retry.py37CODE
LOWtests/e2e/sdk_compat/framework/preflight.py4CODE
LOWtests/e2e/sdk_compat/framework/reporting.py4CODE
LOW…/sdk_compat/cases/host-mount/test_create_with_mount.py21CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py31CODE
LOW…ts/e2e/sdk_compat/cases/framework/test_create_retry.py10CODE
LOWtests/e2e/sdk_compat/cases/framework/test_reporting.py12CODE
LOWtests/e2e/sdk_compat/cases/framework/test_parallel.py10CODE
LOWtests/e2e/sdk_compat/cases/auth/conftest.py4CODE
LOWtests/e2e/sdk_compat/cases/auth/test_api_key.py21CODE
LOW…dk_compat/cases/network/test_template_network_merge.py6CODE
LOWtests/e2e/sdk_compat/cases/network/test_dns_allow.py6CODE
LOW…sts/e2e/sdk_compat/cases/network/test_policy_update.py13CODE
LOWtests/e2e/sdk_compat/cases/network/test_l7_egress.py6CODE
LOW…e2e/sdk_compat/cases/network/test_mask_request_host.py18CODE
LOWtests/e2e/sdk_compat/cases/network/test_policy.py4CODE
LOW…_compat/cases/network/test_dns_concurrent_af_unspec.py26CODE
LOW…ts/e2e/sdk_compat/cases/network/test_l7_custom_port.py37CODE
LOWtests/e2e/sdk_compat/cases/run_code/test_python.py4CODE
LOWtests/e2e/sdk_compat/cases/lifecycle/test_connect.py4CODE
LOW…/e2e/sdk_compat/cases/lifecycle/test_rollback_clone.py4CODE
LOW…dk_compat/cases/lifecycle/test_negative_and_timeout.py4CODE
LOW…/sdk_compat/cases/lifecycle/test_log_forward_cycles.py25CODE
LOW…/e2e/sdk_compat/cases/lifecycle/test_auto_lifecycle.py4CODE
LOW…ts/e2e/sdk_compat/cases/lifecycle/test_pause_resume.py4CODE
LOWtests/e2e/sdk_compat/cases/lifecycle/test_kill.py4CODE
LOWtests/e2e/sdk_compat/cases/lifecycle/test_create.py4CODE
LOW…/e2e/sdk_compat/cases/lifecycle/test_create_options.py4CODE
LOW…dk_compat/cases/lifecycle/test_pause_resume_network.py6CODE
LOWtests/e2e/sdk_compat/cases/filesystem/test_extended.py4CODE
LOW…2e/sdk_compat/cases/filesystem/test_batch_and_watch.py4CODE
LOW…sts/e2e/sdk_compat/cases/filesystem/test_read_write.py4CODE
LOW…sts/e2e/sdk_compat/cases/concurrency/test_isolation.py4CODE
LOWtests/e2e/sdk_compat/cases/commands/test_run.py4CODE
LOW…s/e2e/sdk_compat/cases/commands/test_connect_stream.py17CODE
LOWtests/e2e/sdk_compat/cases/volume/conftest.py4CODE
LOWtests/e2e/sdk_compat/cases/volume/test_bind_unbind.py13CODE
LOWtests/e2e/sdk_compat/cases/volume/test_read_only.py11CODE
96 more matches not shown…
Verbosity Indicators63 hits · 117 pts
SeverityFileLineSnippetContext
LOWcubecow/examples/go-test/main.go380 // Step 1: Create volumeCOMMENT
LOWcubecow/examples/go-test/main.go383 // Step 2: Get volume infoCOMMENT
LOWcubecow/examples/go-test/main.go386 // Step 3: Get volume block infoCOMMENT
LOWcubecow/examples/go-test/main.go389 // Step 4: Resize volumeCOMMENT
LOWcubecow/examples/go-test/main.go392 // Step 5: Create snapshotCOMMENT
LOWcubecow/examples/go-test/main.go395 // Step 6: List snapshotsCOMMENT
LOWcubecow/examples/go-test/main.go398 // Step 7: Derive a writable volume from the snapshot (auto-activated).COMMENT
LOWcubecow/examples/go-test/main.go401 // Step 8: List volumesCOMMENT
LOWcubecow/examples/go-test/main.go404 // Step 9: Get metricsCOMMENT
LOWcubecow/examples/go-test/main.go407 // Step 10: Cleanup - delete clone, snapshot, then volume (unless -no-cleanup)COMMENT
LOWcubecow/src/engine/s3.rs550 // Step 1: build the base projection under the read lock andCOMMENT
LOWcubecow/src/engine/s3.rs577 // Step 2: if the entry is an exported snapshot, refreshCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh2944# Step 1: terraform initCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh2977# Step 2: terraform apply (with retry logic)COMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh3461# Step 6: Replace with the CubeSandbox kernelCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh3675# Step 7: Reboot the CVM and verify the new kernelCOMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh3830# Step 8: Initialize all compute nodes (purchased sequentially in step 3)COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go210 // Step 1: Create-restore from tpl-T sets BOTH bindings.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go216 // Step 2: Commit A advances the runtime-snapshot binding only.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go222 // Step 3: Commit B — same invariant.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go227 // Step 4: Rollback to A: rollback restarts the VM, so it bumps BOTH.COMMENT
LOW…services/cubebox/snapshot_base_memory_fallback_test.go233 // Step 5: Commit C after rollback — runtime-snapshot advances; theCOMMENT
LOWCubeOps/internal/service/agenthub.go1093 // Step 1: plain restart.COMMENT
LOWCubeOps/internal/service/agenthub.go1109 // Step 2: find latest healthy snapshot.COMMENT
LOWCubeOps/internal/service/agenthub.go1122 // Step 3: rollback to the healthy snapshot.COMMENT
LOWCubeOps/internal/service/agenthub.go1152 // Step 4: restart OpenClaw again after rollback.COMMENT
LOWCubeMaster/pkg/templatecenter/image/native.go146 // Step 1: Concurrently prefetch layers to disk to maximize network throughput.COMMENT
LOWCubeMaster/pkg/templatecenter/image/native.go245 // Step 2: Sequentially apply and immediately delete layers as they finish downloading.COMMENT
LOWexamples/openai-agents-example/simple_demo.py216 # Step 1: Create sandbox and write a marker fileCOMMENT
LOWexamples/openai-agents-example/simple_demo.py236 # Step 3: Pause (stop + shutdown with pause_on_exit=True)COMMENT
LOWexamples/openai-agents-example/simple_demo.py244 # Step 4: ResumeCOMMENT
LOWexamples/openai-agents-example/simple_demo.py251 # Step 5: Verify marker file persistsCOMMENT
LOWexamples/snapshot-rollback-clone/rollback_demo.py18# Step 1: create a base snapshotCOMMENT
LOWexamples/snapshot-rollback-clone/rollback_demo.py25# Step 2: spin up a sandbox from the base snapshotCOMMENT
LOWexamples/snapshot-rollback-clone/rollback_demo.py29 # Step 3: write v1 to both disk and tmpfs, take a checkpointCOMMENT
LOWexamples/snapshot-rollback-clone/rollback_demo.py35 # Step 4: write v2, verify it stuck on bothCOMMENT
LOWexamples/snapshot-rollback-clone/rollback_demo.py42 # Step 5: rollback to the v1 checkpointCOMMENT
LOWexamples/snapshot-rollback-clone/rollback_demo.py46 # Step 6: verify both disk and tmpfs restored to v1COMMENT
LOWexamples/snapshot-rollback-clone/09_rollback.py17# Step 1: create a base snapshot at v0COMMENT
LOWexamples/snapshot-rollback-clone/09_rollback.py24# Step 2: spin up a sandbox from the base snapshotCOMMENT
LOWexamples/snapshot-rollback-clone/09_rollback.py28# Step 3: write v1, take a checkpointCOMMENT
LOWexamples/snapshot-rollback-clone/09_rollback.py34# Step 4: write v2, confirm it stuckCOMMENT
LOWexamples/snapshot-rollback-clone/09_rollback.py41# Step 5: rollback to the v1 checkpointCOMMENT
LOWexamples/snapshot-rollback-clone/09_rollback.py45# Step 6: verify state is v1COMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh274 # Step 1: create volumes/<volume_id>/ in the COS bucketCOMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh277 # Step 2: return success; private_data carries the COS key prefix for AttachCOMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh292 # Step 1: delete volumes/<volume_id>/ from COS (irreversible)COMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh321 # Step 1: serialize concurrent attach for the same volumeCOMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh325 # Step 2: mount COS folder with cosfs (skip if already mounted)COMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh374 # Step 2: find mount path (prefer path saved at attach time)COMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh379 # Step 3: last user gone — unmount FUSE (COS data stays until destroy)COMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh336 # Step 3: return host_path so Cubelet can bind-mount into the sandboxCOMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh362 # Step 1: other sandboxes still mounted — leave cosfs runningCOMMENT
LOWhypervisor/vmm/src/soft_dirty.rs159 // Step 1: allocate a page-aligned anonymous scratch region. TheCOMMENT
LOWhypervisor/vmm/src/soft_dirty.rs181 // Step 2: write one byte. This is the **first** write to this page,COMMENT
LOWhypervisor/vmm/src/soft_dirty.rs190 // Step 3: read the pagemap entry and check bit 55.COMMENT
LOWhypervisor/vmm/src/soft_dirty.rs206 // Step 4: kernel really supports soft-dirty. Arm the tracker byCOMMENT
LOWhypervisor/scripts/run_integration_tests_x86_64.sh242 # Step 1: Priority 1 - Boot & Lifecycle (parallel)COMMENT
LOWhypervisor/scripts/run_integration_tests_x86_64.sh249 # Step 2: Priority 2 - Core I/O Devices (parallel)COMMENT
LOWhypervisor/scripts/run_integration_tests_x86_64.sh258 # Step 3: Priority 3 - Hotplug (parallel)COMMENT
3 more matches not shown…
Cross-Language Confusion22 hits · 115 pts
SeverityFileLineSnippetContext
HIGHtests/e2e/sdk_compat/framework/network_probe.py206 f"test -f {ESTABLISHED_READY_PATH} && echo READY || echo WAIT",STRING
HIGHtests/e2e/sdk_compat/framework/network_probe.py242 f"cat {ESTABLISHED_RESULT_PATH} 2>/dev/null || echo PENDING",CODE
HIGH…/sdk_compat/cases/host-mount/test_create_with_mount.py101 f"echo cube > {_RW_MOUNT}/sdk-compat-rw.txt && cat {_RW_MOUNT}/sdk-compat-rw.txt",CODE
HIGHtests/e2e/sdk_compat/cases/host-mount/test_boundary.py278 "test -d /mnt/exact && echo mounted",CODE
HIGHtests/e2e/sdk_compat/cases/host-mount/test_boundary.py326 f"echo {payload} > {mount}/note.txt && sync",CODE
HIGH…sts/e2e/sdk_compat/cases/network/test_policy_update.py194 "getent hosts dns.google >/dev/null && echo RESOLVED || echo UNRESOLVED",CODE
HIGH…sts/e2e/sdk_compat/cases/network/test_policy_update.py194 "getent hosts dns.google >/dev/null && echo RESOLVED || echo UNRESOLVED",CODE
HIGHexamples/network-policy/network_dynamic_update.py109 f"&& echo REACHABLE || echo BLOCKED",CODE
HIGHexamples/network-policy/network_dynamic_update.py162 f"for i in $(seq 10); do grep -q . /tmp/hold.out && break; sleep 1; done; "CODE
HIGHexamples/network-policy/network_dynamic_update.py172 "for i in $(seq 15); do test $(wc -l </tmp/hold.out) -ge 2 && break; sleep 1; done; "CODE
HIGHexamples/openai-agents-example/main.py381 result = await session.exec("uname -a && cat /etc/os-release | head -3")CODE
HIGH…ude-code-integration/tests/test_cubesandbox_rewrite.py31 "true && touch host-sentinel",CODE
HIGH…ude-code-integration/tests/test_cubesandbox_rewrite.py50 "cwd": "cwd && touch host-sentinel",CODE
HIGH…ude-code-integration/tests/test_cubesandbox_rewrite.py66 "--mount=cwd && touch host-sentinel",CODE
HIGH…ude-code-integration/tests/test_cubesandbox_rewrite.py279 "true cubesandbox_exec.py && echo host-side",CODE
HIGH…les/claude-code-integration/tests/test_hook_install.py207 stale_command = "/old/checkout/hooks/cubesandbox_rewrite.py || exit 2"CODE
HIGH…ples/claude-code-integration/hooks/cubesandbox_exec.py374 f'cd -- {default_cwd} 2>/dev/null || cd -- "$HOME" || exit 1; 'CODE
HIGH…ples/claude-code-integration/hooks/cubesandbox_exec.py375 f'else cd -- {default_cwd} 2>/dev/null || cd -- "$HOME" || exit 1; fi; 'CODE
HIGH…ples/claude-code-integration/hooks/cubesandbox_exec.py386 f"then pwd > {cwd_file_q} 2>/dev/null; fi; "CODE
HIGHexamples/volume/cos/verify_volume.py445 run_cmd(sb, "test -d %s && echo EXIST" % mp, "挂载点目录存在", tag)CODE
HIGHexamples/volume/cos/verify_volume.py447 run_cmd(sb, "df -hT %s 2>&1 || df -h %s" % (mp, mp), "df 挂载点文件系统/容量", tag)CODE
HIGHexamples/volume/cos/volume_complex_concurrent_test.py325 out = reader.commands.run(f"cat {path} 2>/dev/null || true")CODE
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHtests/e2e/sdk_compat/framework/create_retry.py99Call ``create`` and retry it while the scheduler is out of capacity. Args: create: Zero-argument callable tSTRING
HIGHsdk/python/cubesandbox/_volume.py334POST /volumes — Create a new persistent volume. e2b-compatible by default: when ``driver`` is omitted (``None``STRING
HIGHsdk/python/cubesandbox/_volume.py380GET /volumes — List all volumes. The returned entries never carry a ``token`` (it is only surfaced on cSTRING
HIGHsdk/python/cubesandbox/_volume.py411GET /volumes/{volumeID} — Fetch a single volume, including its token. Args: volume_id: Volume identSTRING
HIGHsdk/python/cubesandbox/_volume.py442GET /volumes/{volumeID} — Connect to an existing volume. e2b-compatible: fetches the volume via ``get_info`` (`STRING
HIGHsdk/python/cubesandbox/_volume.py475DELETE /volumes/{volumeID} — Permanently delete a volume. e2b-compatible: returns ``True`` on success, ``False`STRING
HIGHsdk/python/cubesandbox/_template.py150GET /templates — List all templates. Args: config: SDK config. Uses default (env-based) config if STRING
HIGHsdk/python/cubesandbox/_template.py181GET /templates/:templateID — Get a template and its build history. Args: template_id: Template idenSTRING
HIGHsdk/python/cubesandbox/_template.py240POST /templates - Build (create) a new template from an image. Submits CubeAPI's create-from-image request and STRING
HIGHsdk/python/cubesandbox/_template.py462PUT /templates/:templateID/alias — Set, reassign, or clear the alias of an existing template. Args: STRING
HIGHsdk/python/cubesandbox/sandbox.py200POST /sandboxes - Create a new sandbox. Args: template: Template ID. Falls back to ``CUBE_TEMPLATE_STRING
HIGHsdk/python/cubesandbox/sandbox.py309POST /sandboxes/:sandboxID/connect - Connect to an existing sandbox. Resumes the sandbox if it is currently pauSTRING
HIGHsdk/python/cubesandbox/sandbox.py399POST /execute - Execute code inside the sandbox. Streams the ndjson response from the sandbox's envd process viSTRING
HIGHsdk/python/cubesandbox/sandbox.py622POST /sandboxes/:sandboxID/snapshots — Create a snapshot (1.1). The sandbox is temporarily paused during snapshSTRING
HIGHsdk/python/cubesandbox/sandbox.py711POST /sandboxes/:sandboxID/rollback — Roll back a sandbox to a snapshot (1.5). Reverts the sandbox's filesystemSTRING
HIGHsdk/python/cubesandbox/sandbox.py773Clone this sandbox *n* times (1.6). Internally this executes three steps: 1. :meth:`create_snapshot` —STRING
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHexamples/host-mount/env_utils.py0best-effort load of a nearby .env file without overriding real env vars.STRING
HIGHexamples/route-aware-egress/env_utils.py0best-effort load of a nearby .env file without overriding real env vars.STRING
HIGHexamples/pi-agent-integration/env_utils.py0best-effort load of a nearby .env file without overriding real env vars.STRING
HIGHexamples/network-policy/env_utils.py0best-effort load of a nearby .env file without overriding real env vars.STRING
HIGHexamples/grpc-ingress/env_utils.py0best-effort load of a nearby .env file without overriding real env vars.STRING
HIGHexamples/code-sandbox-quickstart/env_utils.py0best-effort load of a nearby .env file without overriding real env vars.STRING
HIGHexamples/code-sandbox-quickstart/auto-kill.py0\ import hashlib data = "cube sandbox pause/resume demo" hash_val = hashlib.sha256(data.encode()).hexdigest()[:16] pi_apSTRING
HIGHexamples/code-sandbox-quickstart/auto-resume.py0\ import hashlib data = "cube sandbox pause/resume demo" hash_val = hashlib.sha256(data.encode()).hexdigest()[:16] pi_apSTRING
HIGHexamples/code-sandbox-quickstart/pause.py0\ import hashlib data = "cube sandbox pause/resume demo" hash_val = hashlib.sha256(data.encode()).hexdigest()[:16] pi_apSTRING
HIGHexamples/code-sandbox-quickstart/auto-kill.py0on_stdout may deliver multi-line blobs; normalize to individual lines.STRING
HIGHexamples/code-sandbox-quickstart/auto-resume.py0on_stdout may deliver multi-line blobs; normalize to individual lines.STRING
HIGHexamples/code-sandbox-quickstart/pause.py0on_stdout may deliver multi-line blobs; normalize to individual lines.STRING
HIGHexamples/code-sandbox-quickstart/auto-kill.py0extract value from 'key = value' formatted output line.STRING
HIGHexamples/code-sandbox-quickstart/auto-resume.py0extract value from 'key = value' formatted output line.STRING
HIGHexamples/code-sandbox-quickstart/pause.py0extract value from 'key = value' formatted output line.STRING
AI Slop Vocabulary20 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMCubeS3lvol/test/dataplane/run_export_test.sh293# Report a measured operation with the harness overhead taken out.COMMENT
MEDIUMCubeS3lvol/test/dataplane/run_export_test.sh1022# add_ns, the host rescan, udev -- belongs to the test harness rather than to theCOMMENT
MEDIUMCubeS3lvol/test/dataplane/run_agent_template_test.sh200# a rescan; rescanning on every pass makes the wait robust on hosts where theCOMMENT
LOWCubeS3lvol/scripts/rcow_common.sh306# Exported, not just set, because the target inherits them -- without that theCOMMENT
MEDIUMcubecow/benches/reflink_ops.rs236 // we name it explicitly so the recipe is robust to defaultCOMMENT
MEDIUMdeploy/pvm/pvm_setup.sh80# is more robust and is a no-op on RPM distributions.COMMENT
MEDIUMdeploy/one-click/terraform/tencentcloud/validate.sh103 # keep this robust across checkout layouts. Gate on errors so genuine bugsCOMMENT
MEDIUMdeploy/one-click/terraform/tencentcloud/create.sh359 # fall through to auto-detect / prompt so re-runs stay robust.COMMENT
MEDIUM…_compat/cases/network/test_dns_concurrent_af_unspec.py62# ``RESULT:<json>`` line so the harness can parse it deterministically.COMMENT
MEDIUMtests/perf/cubebench.sh465 # the section body runs) makes the reap robust: reading $! only after the blockCOMMENT
MEDIUMtests/perf/cubebench.sh501 # block the whole harness forever. No section backgrounds anything today,COMMENT
MEDIUMtests/perf/cubebench.sh618 # Prove the harness can actually operate BEFORE asking the operator toCOMMENT
MEDIUMtests/perf/cubebench.sh621 # operator has already typed "yes" to wipe a cluster the harness never runsCOMMENT
MEDIUMCubelet/pkg/cubelet/versioninfo/hostfacts.go86 // lifetime; re-collecting until a non-empty result lands makes it robust.COMMENT
MEDIUMagent/rustjail/src/mount.rs1396 // the runtime, so checking the effective cap set is more robust thanCOMMENT
MEDIUMdocs/package-lock.json3401 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMdev-env/internal/setup_selinux.sh53# most robust fix is to flip SELinux to permissive mode. We do it bothCOMMENT
MEDIUMCubeMaster/pkg/templatecenter/image/disk.go321 // set explicitly to be robust); --numeric-owner avoids name lookupsCOMMENT
MEDIUMCubeMaster/pkg/templatecenter/image/native.go147 // Temp directory is created in destDir's workspace to utilize the same fast disk.COMMENT
LOWexamples/openai-agents-example/main.py18 python main.py --sandbox-only # just create & destroy sandboxSTRING
Example Usage Blocks39 hits · 57 pts
SeverityFileLineSnippetContext
LOWCubeEgress/scripts/cube-proxy-iptables-init.sh24# Usage:COMMENT
LOWCubeS3lvol/make_release.sh9# Usage:COMMENT
LOWCubeS3lvol/setup_dep.sh13# Usage:COMMENT
LOWCubeS3lvol/test/run_all.sh44# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_selfimport_test.sh47# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_pending_delete_test.sh45# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_guards_test.sh45# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_fs_test.sh98# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_snapdelete_test.sh54# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_decouple_queue_test.sh27# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_dataplane_test.sh55# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_control_test.sh41# Usage:COMMENT
LOWCubeS3lvol/test/dataplane/run_recovery_test.sh47# Usage:COMMENT
LOWCubeS3lvol/patches/apply.sh11# Usage:COMMENT
LOWCubeS3lvol/scripts/rcow_start.sh43# Usage:COMMENT
LOWdeploy/one-click/build-guest-image.sh5# Usage:COMMENT
LOWdeploy/one-click/build-agent-ext4.sh7# Usage:COMMENT
LOWdeploy/one-click/scripts/cube-diag/collect-logs.sh20# Usage:COMMENT
LOWdeploy/one-click/scripts/cube-diag/cube-check.sh18# Usage:COMMENT
LOWdeploy/one-click/scripts/cube-diag/check-procs.sh17# Usage:COMMENT
LOWdeploy/kubernetes/chart/scripts/cleanup-node-host.sh8# Usage:COMMENT
LOWtests/unittest/run_sdk_test.sh17# Usage:COMMENT
LOWtests/unittest/run.sh17# Usage:COMMENT
LOWtests/perf/cubebench.sh73# Usage:COMMENT
LOWdev-env/run_vm.sh18# Usage:COMMENT
LOWdev-env/prepare_image.sh19# Usage:COMMENT
LOWdev-env/cube-autostart.sh18# Usage:COMMENT
LOWdev-env/login.sh11# Usage:COMMENT
LOWdev-env/copy_logs.sh12# Usage:COMMENT
LOWCubeAPI/scripts/test-cube-api.sh4# Usage:COMMENT
LOWCubeMaster/scripts/redis_key_migrate.sh4# Usage:COMMENT
LOWexamples/volume/s3/install-deps.sh17# Usage:COMMENT
LOWexamples/volume/cos/verify_volume.py63# Usage:COMMENT
LOWexamples/volume/cos/install-deps.sh12# Usage:COMMENT
LOWexamples/volume/cos/binary/cube-volume-cos.sh110# Usage:COMMENT
LOWscripts/bump-image.sh17# Usage:COMMENT
LOWscripts/new-migration.sh12# Usage:COMMENT
LOWscripts/gh.sh7# Usage:COMMENT
LOW.github/workflows/publish-go-sdk.yml6# Usage:COMMENT
Deep Nesting35 hits · 32 pts
SeverityFileLineSnippetContext
LOWtests/e2e/sdk_compat/conftest.py97CODE
LOWtests/e2e/sdk_compat/conftest.py229CODE
LOWtests/e2e/sdk_compat/framework/build_throttle.py186CODE
LOWtests/e2e/sdk_compat/framework/preflight.py50CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py377CODE
LOWtests/e2e/sdk_compat/cases/host-mount/test_boundary.py535CODE
LOW…dk_compat/cases/network/test_template_network_merge.py127CODE
LOW…ts/e2e/sdk_compat/cases/network/test_l7_custom_port.py213CODE
LOWtests/e2e/sdk_compat/cases/filesystem/test_extended.py29CODE
LOWtests/e2e/sdk_compat/cases/volume/test_read_only.py35CODE
LOWtests/e2e/sdk_compat/adapters/e2b_adapter.py85CODE
LOWtests/e2e/sdk_compat/adapters/e2b_adapter.py333CODE
LOWtests/e2e/sdk_compat/adapters/e2b_adapter.py453CODE
LOWtests/e2e/resource_metrics/lifecycle_metrics.py232CODE
LOWCubeAPI/examples/benchmark.py611CODE
LOWsdk/python/cubesandbox/_pty.py464CODE
LOWsdk/python/cubesandbox/_stream.py15CODE
LOWsdk/python/cubesandbox/sandbox.py772CODE
LOWsdk/python/cubesandbox/_models.py231CODE
LOWsdk/python/cubesandbox/_commands.py209CODE
LOWsdk/python/cubesandbox/_commands.py235CODE
LOWexamples/pi-agent-integration/_pi_common.py38CODE
LOWexamples/pi-agent-integration/run_pi_warmup.py58CODE
LOW…raining/mini-swe-agent-patch/environments/extra/e2b.py195CODE
LOW…aining/mini-swe-agent-patch/run/benchmarks/swebench.py227CODE
LOWexamples/mini-rl-training/scripts/run-concurrent.py669CODE
LOWexamples/mini-rl-training/scripts/run-concurrent.py730CODE
LOWexamples/openai-agents-example/main.py399CODE
LOWexamples/openai-agents-example/main.py444CODE
LOWexamples/e2b-dev-sidecar/dev_sidecar.py180CODE
LOWexamples/e2b-dev-sidecar/dev_sidecar.py198CODE
LOW…ai-agents-code-interpreter/code_interpreter_demo_ci.py519CODE
LOW…ples/claude-code-integration/hooks/cubesandbox_exec.py434CODE
LOWexamples/ivshmem/ivshmem_benchmark.py155CODE
LOWexamples/volume/cos/volume_complex_concurrent_test.py126CODE
Self-Referential Comments11 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMCubeS3lvol/test/dataplane/run_guards_test.sh87# Create the lvstore directly, so the create path can be exercised withoutCOMMENT
MEDIUMCubeS3lvol/scripts/rcow_common.sh795# Create the whole grid in one pass. Existing subsystems are left alone so thatCOMMENT
MEDIUMdeploy/pvm/common.sh3# This file is sourced by build-pvm-host-kernel-pkg.sh andCOMMENT
MEDIUMdeploy/one-click/terraform/tencentcloud/main.tf537# Create the database (via the jumpserver)COMMENT
MEDIUMdeploy/one-click/terraform/tencentcloud/lib-phases.sh21# This file is sourced by create.sh (and by the test). It must not run anythingCOMMENT
MEDIUMdeploy/one-click/terraform/tencentcloud/create.sh5453 # Create the MySQL instance (+ cube account/privilege + the applicationCOMMENT
MEDIUMdeploy/one-click/scripts/common/validation.sh5# This file is sourced by callers that already define die().COMMENT
MEDIUMdeploy/one-click/lib/guest-image.sh9# This file is a sourced library; do not set shell options here.COMMENT
MEDIUMdeploy/one-click/lib/common.sh3# This file is a sourced library. Do not set shell options here: entrypointCOMMENT
MEDIUMsdk/python/cubesandbox/_volume.py235 # Create a volume (name auto-generated when omitted) -> Volume instanceSTRING
MEDIUMscripts/new-migration.sh5# Create a new CubeMaster MySQL migration with a UTC timestamp version prefix.COMMENT
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHdocs/guide/integrations/langchain.md370+ # export CUBE_API_KEY="<your-api-key>" # only for auth-enabled backendsCODE
HIGHdocs/zh/guide/integrations/langchain.md355+ # export CUBE_API_KEY="<your-api-key>" # 仅用于启用了鉴权的后端CODE
HIGHexamples/mini-rl-training/README.md48E2B_API_KEY="<your-api-key>"CODE
HIGHexamples/mini-rl-training/README_zh.md46E2B_API_KEY="<your-api-key>"CODE
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWtests/e2e/sdk_compat/conftest.py622def _setup_log(message: str) -> None:CODE
LOWtests/e2e/sdk_compat/framework/volume.py20__all__ = [CODE
LOWtests/e2e/sdk_compat/adapters/__init__.py139__all__ = [CODE
LOWtests/e2e/sdk_compat/adapters/e2b_adapter.py438 def set_timeout(self, timeout: int) -> None:CODE
LOWtests/e2e/sdk_compat/adapters/cubesandbox_adapter.py204 def set_timeout(self, timeout: int) -> None:CODE
LOWtests/e2e/sdk_compat/adapters/cubesandbox_adapter.py253 def update_network(self, network: dict | None = None) -> None:CODE
LOWtests/e2e/sdk_compat/adapters/base.py91 def set_timeout(self, timeout: int) -> None:CODE
LOWtests/e2e/sdk_compat/adapters/base.py115 def update_network(self, network: dict | None = None) -> None:CODE
LOWtests/e2e/sdk_compat/adapters/tracing_adapter.py207 def set_timeout(self, timeout: int) -> None:CODE
LOWtests/e2e/sdk_compat/adapters/tracing_adapter.py293 def update_network(self, network: dict | None = None) -> None:CODE
LOWsdk/python/cubesandbox/_filesystem.py11logger = logging.getLogger(__name__)CODE
LOWsdk/python/cubesandbox/__init__.py14__all__ = [CODE
LOWsdk/python/cubesandbox/_stream.py12logger = logging.getLogger(__name__)CODE
LOWsdk/python/cubesandbox/sandbox.py511 def set_timeout(self, timeout: int) -> None:CODE
LOWsdk/python/cubesandbox/sandbox.py529 def update_network(self, network: Dict[str, Any] | None = None) -> None:CODE
LOWexamples/mini-rl-training/scripts/run-concurrent.py499def _update_preds(path: Path, instance_id: str, model_name: str, patch: str) -> None:CODE
Redundant / Tautological Comments8 hits · 11 pts
SeverityFileLineSnippetContext
LOWdeploy/one-click/install.sh915 # Check if the user has explicitly opted to skip this check.COMMENT
LOWdeploy/one-click/online-install.sh215 # Check if the closest existing parent directory is writable by root (detects read-only mounts)COMMENT
LOWdeploy/one-click/terraform/tencentcloud/create.sh2860 # Set TENCENTCLOUD_COMPUTE_INSTANCE_TYPE to choose explicitly.COMMENT
LOWdeploy/kubernetes/chart/values.yaml594 # Set nameservers to an explicit list to override: that turns follow-nodeCOMMENT
LOWagent/bootstrap.sh3# Check if the user is running this script as rootCOMMENT
LOW…visor/scripts/run_integration_tests_windows_aarch64.sh33# Check if the images are presentCOMMENT
LOW…rvisor/scripts/run_integration_tests_windows_x86_64.sh33# Check if the images are presentCOMMENT
LOWhypervisor/scripts/run_integration_tests_aarch64.sh220# Check if there is any error in the execution of `update_workloads`.COMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWweb/src/locales/zh/command.json3 "placeholder": "搜索或输入命令…",CODE
LOWweb/src/locales/en/command.json3 "placeholder": "Search or type a command…",CODE
LOWweb/src/components/CommandPalette.tsx36 placeholder={t('placeholder')}CODE
LOWweb/src/i18n/index.ts35 'placeholder',CODE
LOWweb/src/pages/Placeholder.tsx10type PlaceholderKey = ParseKeys<'placeholder'>;CODE
LOWweb/src/pages/Placeholder.tsx21 const { t } = useTranslation('placeholder');CODE
LOWCubeAPI/src/services/sandboxes.rs1503 "user@example.com",CODE
LOWCubeMaster/pkg/service/sandbox/util_test.go104 "user@example.com",CODE
Modern AI Meta-Vocabulary4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMCubeS3lvol/test/dataplane/run_export_test.sh3518# Expose all three, one RPC after another as an orchestration layer would.COMMENT
MEDIUMdocs/guide/usecases/trpc-agent-go.md17[trpc-agent-go](https://github.com/trpc-group/trpc-agent-go) is Tencent's open-source Go framework for building productiCODE
MEDIUMdocs/changelog/v0.4.0.md56- **Artifact management** (#506): A new job runner orchestrates the full pipeline (image export → rootfs artifact build CODE
MEDIUMdocs/changelog/v0.3.0.md54- **Docker Compose container lifecycle** (#386): Container lifecycle management migrated to Docker Compose, simplifying CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHhypervisor/virtio-devices/src/vsock/csm/connection.rs57// receiving peer's behavior is undefined. In this implementation, we forcefully terminateCOMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOWhypervisor/vmm/src/vm.rs1303 // Don't forget to set the terminal in canonical modeCOMMENT
LOWhypervisor/virtiofsd/src/passthrough/mod.rs1372 // a new option here, don't forget to add it there, too, and handle it both inCOMMENT
LOWhypervisor/src/lib.rs354 // Don't forget to set the terminal in canonical modeCOMMENT
LOWhypervisor/src/main.rs770 // Don't forget to set the terminal in canonical modeCOMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWCubelet/scripts/cubebox_appsnapshot.py106CODE
LOWsdk/python/cubesandbox/_template.py210CODE
LOWsdk/python/cubesandbox/sandbox.py184CODE
LOWsdk/python/cubesandbox/_models.py63CODE
LOW…aining/mini-swe-agent-patch/run/benchmarks/swebench.py227CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWweb/public/mockServiceWorker.js124async function handleRequest(event, requestId, requestInterceptedAt) {CODE
LOWsdk/python/cubesandbox/_transport.py25 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE