Repository Analysis

opensandbox-group/OpenSandbox

Secure, Fast, and Extensible Sandbox runtime for AI agents.

22.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of opensandbox-group/OpenSandbox, a Python project with 12,003 GitHub stars. SynthScan v2.0 examined 361,285 lines of code across 1750 source files, recording 5651 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 22.7 places this repository in the Moderate 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).

22.7
Adjusted Score
22.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
12.0K
Stars
Python
Language
361.3K
Lines of Code
1.8K
Files
5.7K
Pattern Hits
2026-07-14
Scan Date
0.29
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 7HIGH 494MEDIUM 242LOW 4908

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 5651 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.

Hyper-Verbose Identifiers1879 hits · 1762 pts
SeverityFileLineSnippetContext
LOW…python/tests/test_code_service_adapter_sync_headers.py22def test_sync_adapter_merges_endpoint_headers_into_both_clients() -> None:CODE
LOW…python/tests/test_code_service_adapter_sync_headers.py37def test_sync_adapter_endpoint_headers_override_connection_headers() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py81def test_code_execution_converter_includes_context() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py90async def test_run_code_streaming_happy_path_updates_execution() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py101async def test_run_code_streaming_merges_endpoint_headers() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py125async def test_run_code_can_accept_language_string_without_context() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py136async def test_run_code_rejects_blank_code() -> None:CODE
LOW…er/python/tests/test_code_service_adapter_streaming.py146async def test_run_code_rejects_mismatched_language_and_context() -> None:CODE
LOW…ython/tests/test_code_service_adapter_openapi_calls.py32async def test_create_context_uses_openapi_and_converts(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ython/tests/test_code_service_adapter_openapi_calls.py54async def test_interrupt_calls_openapi(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…de-interpreter/python/tests/test_adapter_eager_init.py24async def test_code_service_eager_init_and_client_available() -> None:CODE
LOW…de-interpreter/python/tests/test_adapter_eager_init.py34async def test_code_service_eager_init_merges_endpoint_headers() -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py53async def test_create_requires_sandbox() -> None:CODE
LOW…n/tests/test_code_interpreter_create_and_delegation.py59async def test_create_wires_code_service_and_delegates_properties() -> None:CODE
LOW…interpreter/python/src/code_interpreter/models/code.py62 def language_must_not_be_empty(cls, v: str) -> str:CODE
LOW…preter/python/src/code_interpreter/models/code_sync.py38 def language_must_not_be_empty(cls, v: str) -> str:CODE
LOW…preter/python/src/code_interpreter/adapters/factory.py48 def create_code_execution_service(self, endpoint: SandboxEndpoint) -> Codes:CODE
LOW…rpreter/adapters/converter/code_execution_converter.py95 def from_api_code_context_dict(api_context: dict[str, Any]) -> CodeContext:CODE
LOW…r/python/src/code_interpreter/sync/adapters/factory.py44 def create_code_execution_service(self, endpoint: SandboxEndpoint) -> CodesSync:CODE
LOW…preter/javascript/src/factory/defaultAdapterFactory.ts41export function createDefaultAdapterFactory(): AdapterFactory {CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py60async def test_async_write_files_direct_execd_uses_chunked_upload() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py82async def test_async_write_files_direct_execd_rewinds_seekable_streams() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py101async def test_async_write_files_direct_execd_escapes_filename_header() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py118async def test_async_write_files_server_proxy_uses_content_length_and_preserves_charset() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py142async def test_async_write_files_direct_execd_encodes_strings_with_entry_encoding() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py161def test_sync_write_files_direct_execd_uses_chunked_upload() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py182def test_sync_write_files_direct_execd_rewinds_seekable_streams() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py200def test_sync_write_files_direct_execd_escapes_filename_header() -> None:CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py216def test_sync_write_files_server_proxy_uses_content_length_and_preserves_charset() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py59def test_parse_sandbox_error_from_json_bytes() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py66def test_parse_sandbox_error_from_plain_text_string() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py81def test_handle_api_error_raises_with_parsed_message() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py99def test_handle_api_error_noop_on_success() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py107def test_require_parsed_includes_request_id_on_invalid_payload() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py118def test_exception_converter_maps_common_types() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py126def test_exception_converter_maps_generated_unexpected_status_to_api_exception() -> (CODE
LOW…box/python/tests/test_converters_and_error_handling.py139def test_exception_converter_maps_httpx_status_error_to_api_exception() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py154def test_execution_converter_to_api_run_command_request() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py203def test_run_command_opts_validates_gid_requires_uid() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py208def test_filesystem_and_metrics_converters() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py236def test_sandbox_model_converter_to_api_create_request_and_renew_tz() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py270def test_platform_spec_accepts_windows() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py276def test_sandbox_model_converter_preserves_null_timeout_for_manual_cleanup() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py294def test_sandbox_model_converter_snapshot_restore_request() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py315def test_sandbox_model_converter_maps_platform_from_create_response() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py344def test_sandbox_model_converter_preserves_missing_metadata_default() -> None:CODE
LOW…box/python/tests/test_converters_and_error_handling.py360def test_sandbox_model_converter_supports_windows_platform_request() -> None:CODE
LOW…python/tests/test_connection_config_env_and_timeout.py23def test_get_api_key_from_env(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…python/tests/test_connection_config_env_and_timeout.py29def test_get_domain_from_env_and_default(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…python/tests/test_connection_config_env_and_timeout.py39def test_timeout_must_be_positive() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py72def test_default_acquire_min_remaining_ttl_scales_for_short_idle_timeout() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py79def test_negative_acquire_min_remaining_ttl_rejected() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py86def test_explicit_acquire_min_remaining_ttl_at_or_above_idle_timeout_rejected() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py97def test_async_explicit_acquire_min_remaining_ttl_at_or_above_idle_timeout_rejected() -> (CODE
LOWsdks/sandbox/python/tests/test_pool_config.py108def test_acquire_min_remaining_ttl_just_below_idle_timeout_accepted() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py118def test_zero_acquire_min_remaining_ttl_opts_out() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py127def test_sync_pool_config_positional_owner_id_stays_compatible() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py143def test_async_pool_config_positional_owner_id_stays_compatible() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py159def test_pool_facade_sandbox_creator_is_appended_after_factories() -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_config.py175def test_sync_pool_config_keeps_sandbox_creator() -> None:CODE
1819 more matches not shown…
Docstring Block Structure347 hits · 1735 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md269Create a new sandbox instance. Args: image: Container image specification timeout: Sandbox timeout STRING
HIGH…preter/python/src/code_interpreter/code_interpreter.py174 Creates a CodeInterpreter from an existing Sandbox instance. This factory method handles the creation STRING
HIGH…r/python/src/code_interpreter/sync/code_interpreter.py151 Create a CodeInterpreterSync from an existing SandboxSync instance (blocking). Args: sandbSTRING
HIGH…hon/src/code_interpreter/sync/adapters/code_adapter.py240 Execute code within the specified context using SSE streaming (sync). Args: code: Source cSTRING
HIGH…eter/python/src/code_interpreter/sync/services/code.py59 Create a new execution context for code interpretation (blocking). An execution context maintains statSTRING
HIGH…eter/python/src/code_interpreter/sync/services/code.py118 Execute code within the specified context (blocking). This method runs the provided code string in theSTRING
HIGH…terpreter/python/src/code_interpreter/services/code.py75 Creates a new execution context for code interpretation. An execution context maintains the state of vSTRING
HIGH…terpreter/python/src/code_interpreter/services/code.py162 Executes code within the specified context. This method runs the provided code string in the language STRING
HIGHsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py146Create a sandbox and store it in the MCP server session. This allocates a new sandbox instance using the OpenSaSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py213 Get a specific network endpoint for this sandbox. Args: port: The port number to get the eSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py230 Get a signed endpoint URL with an OSEP-0011 route token. Args: port: The port number to geSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py278 Renew the sandbox expiration time to delay automatic termination. The new expiration time will be set STRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py529 Create a new sandbox instance with the specified configuration. Args: image: Container imaSTRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py671 Connect to an existing sandbox instance by ID. Args: sandbox_id: ID of the existing sandboSTRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py134 List sandboxes with filtering options. Args: filter: Filter criteria for sandbox listing STRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py149 Get information for a single sandbox by its ID. Args: sandbox_id: Sandbox ID to retrieve iSTRING
HIGH…/python/src/opensandbox/adapters/filesystem_adapter.py169Read file content as bytes with support for range and line-based requests. Args: path: Path to the STRING
HIGH…box/python/src/opensandbox/adapters/metrics_adapter.py98Retrieve current resource usage metrics for a sandbox. Args: sandbox_id: The unique identifier of tSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py94Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py129Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py159Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…i/egress/api/credential_vault/post_credential_vault.py192Create a sandbox-local Credential Vault Create the initial sandbox-local Credential Vault revision and activate itSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py80Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py109Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py133Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…al_vault/get_credential_vault_bindings_binding_name.py160Get sanitized metadata for one binding Args: binding_name (str): Raises: errors.UnexpectedStatSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py80Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py109Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py133Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…lt/get_credential_vault_credentials_credential_name.py160Get sanitized metadata for one credential Args: credential_name (str): Raises: errors.UnexpectSTRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py98Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py127Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py151Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…/egress/api/credential_vault/patch_credential_vault.py178Atomically mutate sandbox-local credentials and bindings Args: body (CredentialVaultMutationRequest): STRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py89Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py124Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py154Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…src/opensandbox/api/egress/api/policy/delete_policy.py187Delete egress rules Remove specific egress rules from the currently enforced policy by target. - Accepts a liSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py93Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py129Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py160Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…/src/opensandbox/api/egress/api/policy/patch_policy.py194Patch egress rules Merge incoming egress rules with the currently enforced policy. This endpoint uses merge sSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py85Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py117Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py144Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…i/execd/api/isolated_execution/isolated_remove_dirs.py174Remove directories Args: session_id (UUID): path (list[str]): Raises: errors.UnexpecteSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py99Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py134Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py164Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…ecd/api/isolated_execution/isolated_replace_content.py197Replace file content Args: session_id (UUID): verbose (bool | Unset): body (IsolatedReplaceSTRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py84Get isolated session state Args: session_id (UUID): Raises: errors.UnexpectedStatus: If the seSTRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py113Get isolated session state Args: session_id (UUID): Raises: errors.UnexpectedStatus: If the seSTRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py137Get isolated session state Args: session_id (UUID): Raises: errors.UnexpectedStatus: If the seSTRING
HIGH…i/execd/api/isolated_execution/get_isolated_session.py164Get isolated session state Args: session_id (UUID): Raises: errors.UnexpectedStatus: If the seSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py84Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py116Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py143Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…api/execd/api/isolated_execution/isolated_make_dirs.py173Create directories Args: session_id (UUID): body (IsolatedMakeDirsBody): Raises: errorSTRING
HIGH…xecd/api/isolated_execution/isolated_list_directory.py108List directory contents Args: session_id (UUID): path (str): depth (int | Unset): Default:STRING
HIGH…xecd/api/isolated_execution/isolated_list_directory.py143List directory contents Args: session_id (UUID): path (str): depth (int | Unset): Default:STRING
287 more matches not shown…
Over-Commented Block1486 hits · 1471 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml21 # entry: gofmtCOMMENT
LOWsandboxes/code-interpreter/build.sh1#!/bin/bashCOMMENT
LOWsandboxes/code-interpreter/scripts/code-interpreter.sh1#!/bin/bashCOMMENT
LOW…boxes/code-interpreter/scripts/code-interpreter-env.sh1#!/bin/bashCOMMENT
LOW…es/code-interpreter/scripts/jupyter_notebook_config.py1# Copyright 2025 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/python/pyproject.toml1# Copyright 2025 Alibaba Group Holding Ltd.COMMENT
LOW…python/tests/test_code_service_adapter_sync_headers.py1#COMMENT
LOW…er/python/tests/test_code_service_adapter_streaming.py1#COMMENT
LOW…ython/tests/test_code_service_adapter_openapi_calls.py1#COMMENT
LOW…de-interpreter/python/tests/test_adapter_eager_init.py1#COMMENT
LOW…n/tests/test_code_interpreter_create_and_delegation.py1#COMMENT
LOW…preter/python/src/code_interpreter/code_interpreter.py1#COMMENT
LOW…de-interpreter/python/src/code_interpreter/__init__.py1#COMMENT
LOW…interpreter/python/src/code_interpreter/models/code.py1#COMMENT
LOW…rpreter/python/src/code_interpreter/models/__init__.py1#COMMENT
LOW…preter/python/src/code_interpreter/models/code_sync.py1#COMMENT
LOW…r/python/src/code_interpreter/adapters/code_adapter.py1#COMMENT
LOW…reter/python/src/code_interpreter/adapters/__init__.py1#COMMENT
LOW…preter/python/src/code_interpreter/adapters/factory.py1#COMMENT
LOW…rpreter/adapters/converter/code_execution_converter.py1#COMMENT
LOW…on/src/code_interpreter/adapters/converter/__init__.py1#COMMENT
LOW…r/python/src/code_interpreter/sync/code_interpreter.py1#COMMENT
LOW…terpreter/python/src/code_interpreter/sync/__init__.py1#COMMENT
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py1#COMMENT
LOW…/python/src/code_interpreter/sync/adapters/__init__.py1#COMMENT
LOW…r/python/src/code_interpreter/sync/adapters/factory.py1#COMMENT
LOW…eter/python/src/code_interpreter/sync/services/code.py1#COMMENT
LOW…/python/src/code_interpreter/sync/services/__init__.py1#COMMENT
LOW…terpreter/python/src/code_interpreter/services/code.py1#COMMENT
LOW…reter/python/src/code_interpreter/services/__init__.py1#COMMENT
LOW…nSandbox.CodeInterpreter.Tests/CodeInterpreterTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…tests/OpenSandbox.CodeInterpreter.Tests/ModelsTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…OpenSandbox.CodeInterpreter.Tests/CodesAdapterTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…ests/OpenSandbox.CodeInterpreter.Tests/FactoryTests.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs41/// <summary>COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/CodeInterpreter.cs61 /// </summary>COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs21/// </summary>COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs41 /// </summary>COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs61 /// Gets or sets the context ID.COMMENT
LOW…p/src/OpenSandbox.CodeInterpreter/Models/CodeModels.cs101 /// <summary>COMMENT
LOW…c/OpenSandbox.CodeInterpreter/Adapters/CodesAdapter.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs21COMMENT
LOW…eInterpreter/Factory/ICodeInterpreterAdapterFactory.cs41COMMENT
LOW…preter/Factory/DefaultCodeInterpreterAdapterFactory.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs21/// <summary>COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs41 /// <returns>The context.</returns>COMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs61 /// <exception cref="InvalidArgumentException">Thrown when <paramref name="contextId"/> is null or empty.</exceptionCOMMENT
LOW…arp/src/OpenSandbox.CodeInterpreter/Services/ICodes.cs81 /// <exception cref="InvalidArgumentException">Thrown when required request fields are missing.</exception>COMMENT
LOWsdks/code-interpreter/javascript/tsup.config.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/interpreter.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/index.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/models.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…de-interpreter/javascript/src/adapters/openapiError.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…de-interpreter/javascript/src/adapters/codesAdapter.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOWsdks/code-interpreter/javascript/src/adapters/sse.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
LOW…preter/javascript/src/factory/defaultAdapterFactory.ts1// Copyright 2026 Alibaba Group Holding Ltd.COMMENT
1426 more matches not shown…
Decorative Section Separators193 hits · 692 pts
SeverityFileLineSnippetContext
MEDIUMsdks/sandbox/python/tests/test_models_stability.py187# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/tests/test_models_stability.py189# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/tests/test_models_stability.py358# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/tests/test_models_stability.py360# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/src/opensandbox/models/sandboxes.py346# ============================================================================COMMENT
MEDIUMsdks/sandbox/python/src/opensandbox/models/sandboxes.py348# ============================================================================COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py214 # ── RW mode: run-based file tests ─────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py432 # ── Overlay mode tests ────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py641 # ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py87 # ── Helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py100 # ── Core session tests ────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py248 # ── RW mode: filesystem API tests ─────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py371 # ── RO mode tests ─────────────────────────────────────────────────COMMENT
MEDIUMtests/python/tests/test_isolated_session_e2e.py596 # ── run_once / session convenience method tests ──────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java210 // ── RW mode: filesystem API tests ───────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java396 // ── RO mode tests ───────────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java476 // ── Overlay mode tests ──────────────────────────────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java693 // ── run_once / withSession convenience API tests ─────────────────COMMENT
MEDIUM…om/alibaba/opensandbox/e2e/IsolatedSessionE2ETest.java749 // ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs180 // ── RW mode: filesystem API tests ───────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs417 // ── RO mode tests ───────────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs516 // ── Overlay mode tests ──────────────────────────────────────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs793 // ── RunOnceAsync / WithSessionAsync convenience API tests ────────COMMENT
MEDIUM…csharp/OpenSandbox.E2ETests/IsolatedSessionE2ETests.cs843 // ── Bind mount tests (explicit source->dest binds) ─────────────────COMMENT
MEDIUM…sts/javascript/tests/test_isolated_session_e2e.test.ts709 // ── runOnce / withSession convenience API tests ──────────────────COMMENT
MEDIUMserver/tests/test_signing.py34# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py36# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py74# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py76# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py127# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py129# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py234# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py236# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py164# ============================================================COMMENT
MEDIUMserver/tests/test_signing.py166# ============================================================COMMENT
MEDIUMserver/tests/test_ingress.py75# ============================================================COMMENT
MEDIUMserver/tests/test_ingress.py77# ============================================================COMMENT
MEDIUMserver/tests/test_config.py1139# ============================================================COMMENT
MEDIUMserver/tests/test_config.py1141# ============================================================COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/tests/k8s/test_provider_common.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py60# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py62# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py266# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py268# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py384# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py386# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py498# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py500# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/pool.py73# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/pool.py75# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py28# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py30# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py71# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py73# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py141# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py143# ============================================================================COMMENT
MEDIUMserver/opensandbox_server/api/schema.py357# ============================================================================COMMENT
133 more matches not shown…
Unused Imports625 hits · 556 pts
SeverityFileLineSnippetContext
LOW…er/python/tests/test_code_service_adapter_streaming.py16CODE
LOW…ython/tests/test_code_service_adapter_openapi_calls.py16CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py27CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py28CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py28CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py32CODE
LOW…rpreter/python/src/code_interpreter/models/__init__.py20CODE
LOW…rpreter/python/src/code_interpreter/models/__init__.py20CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py20CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py21CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py24CODE
LOW…on/src/code_interpreter/adapters/converter/__init__.py20CODE
LOW…terpreter/python/src/code_interpreter/sync/__init__.py16CODE
LOW…/python/src/code_interpreter/sync/adapters/__init__.py20CODE
LOW…/python/src/code_interpreter/sync/adapters/__init__.py21CODE
LOW…/python/src/code_interpreter/sync/services/__init__.py23CODE
LOW…reter/python/src/code_interpreter/services/__init__.py20CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py15CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/__init__.py18CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/__main__.py15CODE
LOW…ndbox/python/tests/test_filesystem_upload_transport.py16CODE
LOW…box/python/tests/test_converters_and_error_handling.py16CODE
LOWsdks/sandbox/python/tests/test_pool_config.py18CODE
LOWsdks/sandbox/python/tests/test_models_stability.py16CODE
LOW…/sandbox/python/tests/test_credential_vault_adapter.py16CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py1CODE
LOWsdks/sandbox/python/tests/test_isolation_run_once.py18CODE
LOWsdks/sandbox/python/tests/test_redis_pool_store.py1CODE
LOW…python/tests/test_sandbox_service_adapter_lifecycle.py16CODE
LOW…python/tests/test_command_service_adapter_streaming.py16CODE
LOW…s/sandbox/python/tests/test_isolated_service_import.py25CODE
LOW…thon/tests/test_sandbox_manager_sync_business_logic.py16CODE
LOW…n/tests/test_sandbox_sync_service_adapter_lifecycle.py16CODE
LOW…ndbox/python/tests/test_sandbox_sync_business_logic.py16CODE
LOW…n/tests/test_sync_command_service_adapter_streaming.py16CODE
LOWsdks/sandbox/python/tests/test_pool_async.py1CODE
LOW…ks/sandbox/python/tests/test_async_redis_pool_store.py1CODE
LOWsdks/sandbox/python/tests/test_pool_manager.py1CODE
LOWsdks/sandbox/python/tests/test_pool_kill_discarded.py25CODE
LOW…ox/python/tests/test_sandbox_manager_business_logic.py16CODE
LOW…ndbox/python/tests/test_diagnostics_service_adapter.py16CODE
LOW…ks/sandbox/python/tests/test_sandbox_business_logic.py16CODE
LOWsdks/sandbox/python/tests/test_isolation_list.py18CODE
LOWsdks/sandbox/python/tests/test_sandbox_destroy.py16CODE
LOWsdks/sandbox/python/src/opensandbox/pool_redis.py21CODE
LOWsdks/sandbox/python/src/opensandbox/pool_redis.py22CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py18CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py18CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py18CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py26CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py18CODE
LOW…ks/sandbox/python/src/opensandbox/_async_pool_store.py18CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py100CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py101CODE
565 more matches not shown…
Excessive Try-Catch Wrapping439 hits · 459 pts
SeverityFileLineSnippetContext
LOW…preter/python/src/code_interpreter/code_interpreter.py215 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py185 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py204 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py222 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py236 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py252 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py334 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py340 except Exception as e:CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py361 except Exception as e:CODE
LOW…r/python/src/code_interpreter/sync/code_interpreter.py175 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py159 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py179 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py200 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py213 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py228 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py309 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py314 except Exception as e:CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py332 except Exception as e:CODE
LOWsdks/sandbox/python/README.md60 except Exception as e:CODE
MEDIUMsdks/sandbox/python/README.md61 print(f"Error: {e}")CODE
LOWsdks/sandbox/python/README.md287 except Exception:CODE
LOWsdks/sandbox/python/tests/test_pool_store.py157 except Exception as exc:CODE
MEDIUMsdks/sandbox/python/tests/test_pool_store.py147def worker() -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py106 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py119 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py130 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py216 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py232 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py243 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py462 except Exception as exc:CODE
MEDIUMsdks/sandbox/python/src/opensandbox/pool_async.py533def _raise_if_pool_namespace_destroyed(self) -> None:CODE
MEDIUMsdks/sandbox/python/src/opensandbox/pool_async.py745def _release_primary_lock_best_effort(self) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py538 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py547 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py557 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py750 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py161 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py226 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py232 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py283 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py395 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py417 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py431 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py633 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py126 except Exception as exc:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py131 except Exception:CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py177 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py538 except Exception as exc:STRING
LOWsdks/sandbox/python/src/opensandbox/sandbox.py390 except Exception as e:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py425 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py465 except Exception as e:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py643 except Exception as cleanup_ex:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py735 except Exception as e:CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py812 except Exception as e:CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py161 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py179 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py184 except Exception:CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py224 except Exception as exc:CODE
LOWsdks/sandbox/python/src/opensandbox/manager.py297 except Exception as e:CODE
LOW…ndbox/python/src/opensandbox/config/connection_sync.py122 except Exception:CODE
379 more matches not shown…
Cross-File Repetition76 hits · 380 pts
SeverityFileLineSnippetContext
HIGH…r/python/src/code_interpreter/adapters/code_adapter.py0return the client for execd api (no auth required).STRING
HIGH…dbox/python/src/opensandbox/adapters/health_adapter.py0return the client for execd api (no auth required).STRING
HIGH…/python/src/opensandbox/adapters/filesystem_adapter.py0return the client for execd api (no auth required).STRING
HIGH…box/python/src/opensandbox/adapters/command_adapter.py0return the client for execd api (no auth required).STRING
HIGH…box/python/src/opensandbox/adapters/metrics_adapter.py0return the client for execd api (no auth required).STRING
HIGHsdks/sandbox/python/src/opensandbox/sandbox.py0provides access to the connection configuration (including shared transport).STRING
HIGHsdks/sandbox/python/src/opensandbox/manager.py0provides access to the connection configuration (including shared transport).STRING
HIGHsdks/sandbox/python/src/opensandbox/sync/sandbox.py0provides access to the connection configuration (including shared transport).STRING
HIGHsdks/sandbox/python/src/opensandbox/sync/manager.py0provides access to the connection configuration (including shared transport).STRING
HIGH…dbox/python/src/opensandbox/adapters/health_adapter.py0initialize the metrics service adapter. args: connection_config: connection configuration (shared transport, headers, tiSTRING
HIGH…box/python/src/opensandbox/adapters/command_adapter.py0initialize the metrics service adapter. args: connection_config: connection configuration (shared transport, headers, tiSTRING
HIGH…box/python/src/opensandbox/adapters/metrics_adapter.py0initialize the metrics service adapter. args: connection_config: connection configuration (shared transport, headers, tiSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0a class for keeping track of data related to the api the following are accepted as keyword arguments and will be used toSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get a new client matching this one with additional headersSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get a new client matching this one with additional headersSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get a new client matching this one with additional headersSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get a new client matching this one with additional headersSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get a new client matching this one with additional cookiesSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get a new client matching this one with additional cookiesSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get a new client matching this one with additional cookiesSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get a new client matching this one with additional cookiesSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get a new client matching this one with a new timeout configurationSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0manually set the underlying httpx.asyncclient **note**: this will override any other settings on the client, including cSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get the underlying httpx.client, constructing a new one if not previously setSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0enter a context manager for self.client—you cannot enter twice (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0exit a context manager for internal httpx.client (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0get the underlying httpx.asyncclient, constructing a new one if not previously setSTRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0enter a context manager for underlying httpx.asyncclient—you cannot enter twice (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0exit a context manager for underlying httpx.asyncclient (see httpx docs)STRING
HIGH…ks/sandbox/python/src/opensandbox/api/egress/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGHsdks/sandbox/python/src/opensandbox/api/execd/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGH…andbox/python/src/opensandbox/api/diagnostic/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
HIGH…sandbox/python/src/opensandbox/api/lifecycle/client.py0a client which has been authenticated for use on secured endpoints the following are accepted as keyword arguments and wSTRING
16 more matches not shown…
Magic Placeholder Names47 hits · 235 pts
SeverityFileLineSnippetContext
HIGHREADME.md97osb config set connection.api_key <your-api-key>CODE
HIGHsdks/code-interpreter/python/README.md48 api_key="your-api-key",CODE
HIGHsdks/code-interpreter/python/README.md109 api_key="your-api-key",CODE
HIGHsdks/code-interpreter/csharp/README.md33 ApiKey = "your-api-key"CODE
HIGHsdks/code-interpreter/javascript/README.md45 apiKey: "your-api-key",CODE
HIGHsdks/sandbox/go/README.md35 lc := opensandbox.NewLifecycleClient("http://localhost:8080/v1", "your-api-key")CODE
HIGHsdks/sandbox/python/README.md36 api_key="your-api-key"CODE
HIGHsdks/sandbox/python/README.md80 api_key="your-api-key",CODE
HIGHsdks/sandbox/python/src/opensandbox/__init__.py57 api_key="your-api-key",STRING
HIGHsdks/sandbox/kotlin/README.md43 .apiKey("your-api-key")CODE
HIGHsdks/sandbox/kotlin/code-interpreter/README.md54 .apiKey("your-api-key")CODE
HIGH…main/kotlin/com/alibaba/opensandbox/sandbox/Sandbox.kt718 * .apiKey("your-api-key")COMMENT
HIGHsdks/sandbox/csharp/README.md34 ApiKey = "your-api-key",CODE
HIGHsdks/sandbox/javascript/README.md37 apiKey: "your-api-key",CODE
HIGHspecs/sandbox-lifecycle.yml30 OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHspecs/sandbox-lifecycle.yml35 OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHspecs/sandbox-lifecycle.yml689 1. HTTP Header: OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHspecs/diagnostic-api.yml27 OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHspecs/diagnostic-api.yml32 OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHspecs/diagnostic-api.yml190 1. HTTP Header: OPEN-SANDBOX-API-KEY: your-api-keyCODE
HIGHdocs/sdks/kotlin.md49 .apiKey("your-api-key")CODE
HIGHdocs/sdks/go.md40 lc := opensandbox.NewLifecycleClient("http://localhost:8080/v1", "your-api-key")CODE
HIGHdocs/sdks/go.md121 APIKey: "your-api-key",CODE
HIGHdocs/sdks/python.md42 api_key="your-api-key"CODE
HIGHdocs/sdks/python.md86 api_key="your-api-key",CODE
HIGHdocs/sdks/csharp.md40 ApiKey = "your-api-key",CODE
HIGHdocs/sdks/javascript.md43 apiKey: "your-api-key",CODE
HIGHdocs/sdks/code-interpreter/kotlin.md58 .apiKey("your-api-key")CODE
HIGHdocs/sdks/code-interpreter/python.md52 api_key="your-api-key",CODE
HIGHdocs/sdks/code-interpreter/python.md113 api_key="your-api-key",CODE
HIGHdocs/sdks/code-interpreter/csharp.md37 ApiKey = "your-api-key"CODE
HIGHdocs/sdks/code-interpreter/javascript.md51 apiKey: "your-api-key",CODE
HIGHdocs/cli/index.md59osb config set connection.api_key <your-api-key>CODE
HIGHdocs/cli/index.md388api_key = "your-api-key"CODE
HIGHdocs/examples/docker-ossfs-volume-mount.md63export SANDBOX_API_KEY=your-api-keyCODE
HIGHdocs/examples/kubernetes-pvc-volume-mount.md99export OPEN_SANDBOX_API_KEY=your-api-keyCODE
HIGHdocs/examples/qwen-code.md36export API_KEY=your-api-keyCODE
HIGHdocs/api/index.md44- HTTP Header: `OPEN-SANDBOX-API-KEY: your-api-key`CODE
HIGHdocs/api/index.md58- HTTP Header: `OPEN-SANDBOX-API-KEY: your-api-key`CODE
HIGHcli/README.md54osb config set connection.api_key <your-api-key>CODE
HIGHcli/README.md384api_key = "your-api-key"CODE
HIGHcli/src/opensandbox_cli/config.py48# api_key = "your-api-key"COMMENT
HIGHexamples/kubernetes-pvc-volume-mount/main.py29 export OPEN_SANDBOX_API_KEY=your-api-keySTRING
HIGHoseps/0003-volume-and-volumebinding-support.md237client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
HIGHoseps/0003-volume-and-volumebinding-support.md297client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
HIGHoseps/0003-volume-and-volumebinding-support.md375client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
HIGHoseps/0003-volume-and-volumebinding-support.md462client = AuthenticatedClient(base_url="https://api.opensandbox.io", token="YOUR_API_KEY")CODE
Structural Annotation Overuse115 hits · 198 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/pool_reconciler.go134 // Step 1: Try to acquire the primary lock.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go146 // Step 2: Reap expired idle entries.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go166 // Step 3: Snapshot counters and determine current state.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go179 // Step 4: If idle > maxIdle, shrink excess.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go215 // Step 5: If deficit > 0 and not in backoff, create sandboxes.COMMENT
LOWsdks/sandbox/kotlin/code-interpreter/README.md201// Step 1: Define variablesCOMMENT
LOWsdks/sandbox/kotlin/code-interpreter/README.md211// Step 2: Use variables from previous stepCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py458 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py464 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py476 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py541 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py603 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py609 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py621 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py683 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py746 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py754 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py446 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py529 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py591 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py671 # Step 1: Verify the marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py734 # Step 1: Verify the subpath marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py710 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py717 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py791 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py850 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py857 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py869 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py927 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py987 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py997 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py697 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py729 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py779 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py837 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py915 # Step 1: Verify the marker file is readable on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py974 # Step 1: Verify the subpath marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java531 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java539 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java552 // Step 3: Verify the written file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java559 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java605 // Step 1: Verify the host marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java613 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java662 // Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java669 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java682 // Step 3: Verify the written file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java689 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java735 // Step 1: Verify the marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java742 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java792 // Step 1: Verify the subpath marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java799 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java815 // Step 3: Write a file and verifyCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts305 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts311 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts447 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts453 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts590 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts599 // Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts289 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts327 // Step 4: Verify the mount path is a proper directoryCOMMENT
55 more matches not shown…
Modern Structural Boilerplate165 hits · 165 pts
SeverityFileLineSnippetContext
LOW…preter/python/src/code_interpreter/code_interpreter.py36logger = logging.getLogger(__name__)CODE
LOW…de-interpreter/python/src/code_interpreter/__init__.py34__all__ = [CODE
LOW…rpreter/python/src/code_interpreter/models/__init__.py25__all__ = [CODE
LOW…r/python/src/code_interpreter/adapters/code_adapter.py51logger = logging.getLogger(__name__)CODE
LOW…reter/python/src/code_interpreter/adapters/__init__.py26__all__ = [CODE
LOW…on/src/code_interpreter/adapters/converter/__init__.py24__all__ = [CODE
LOW…r/python/src/code_interpreter/sync/code_interpreter.py33logger = logging.getLogger(__name__)CODE
LOW…terpreter/python/src/code_interpreter/sync/__init__.py18__all__ = ["CodeInterpreterSync"]CODE
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py46logger = logging.getLogger(__name__)CODE
LOW…/python/src/code_interpreter/sync/adapters/__init__.py23__all__ = [CODE
LOW…/python/src/code_interpreter/sync/services/__init__.py25__all__ = [CODE
LOW…reter/python/src/code_interpreter/services/__init__.py22__all__ = [CODE
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/__init__.py25__all__ = ["create_server"]CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py579 def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/tests/test_pool_async.py593 async def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_redis.py24__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py43logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool_manager.py276__all__ = [CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py291 async def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOW…ndbox/python/src/opensandbox/async_redis_pool_store.py307 async def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py770__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py55logger = logging.getLogger(__name__)CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py34logger = logging.getLogger(__name__)CODE
LOW…ks/sandbox/python/src/opensandbox/_async_pool_store.py180 async def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOW…ks/sandbox/python/src/opensandbox/_async_pool_store.py185 async def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/__init__.py130__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py375 def set_max_idle(self, pool_name: str, max_idle: int) -> None:STRING
LOWsdks/sandbox/python/src/opensandbox/redis_pool_store.py391 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:STRING
LOWsdks/sandbox/python/src/opensandbox/sandbox.py63logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py35logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool.py52__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_store.py184 def set_max_idle(self, pool_name: str, max_idle: int) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_store.py189 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None:CODE
LOWsdks/sandbox/python/src/opensandbox/manager.py42logger = logging.getLogger(__name__)CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py219 def set_max_idle(self, pool_name: str, max_idle: int) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py221 def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py261 async def set_max_idle(self, pool_name: str, max_idle: int) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/pool_types.py263 async def set_idle_entry_ttl(self, pool_name: str, idle_ttl: timedelta) -> None: ...CODE
LOWsdks/sandbox/python/src/opensandbox/config/__init__.py23__all__ = ["ConnectionConfig", "ConnectionConfigSync"]CODE
LOWsdks/sandbox/python/src/opensandbox/models/__init__.py91__all__ = [CODE
LOW…/sandbox/python/src/opensandbox/exceptions/__init__.py36__all__ = [CODE
LOW…dbox/python/src/opensandbox/adapters/health_adapter.py31logger = logging.getLogger(__name__)CODE
LOW…x/python/src/opensandbox/adapters/sandboxes_adapter.py60logger = logging.getLogger(__name__)CODE
LOW…dbox/python/src/opensandbox/adapters/egress_adapter.py47logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py58logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py518 async def set_permissions(self, entries: list[SetPermissionEntry]) -> None:CODE
LOW…python/src/opensandbox/adapters/diagnostics_adapter.py34logger = logging.getLogger(__name__)CODE
LOW…box/python/src/opensandbox/adapters/command_adapter.py57logger = logging.getLogger(__name__)CODE
LOW…ks/sandbox/python/src/opensandbox/adapters/__init__.py30__all__ = [CODE
LOW…ox/python/src/opensandbox/adapters/isolated_adapter.py53logger = logging.getLogger(__name__)CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py53logger = logging.getLogger(__name__)CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py305 async def set_permissions(self, entries: list[SetPermissionEntry]) -> None:CODE
LOW…box/python/src/opensandbox/adapters/metrics_adapter.py40logger = logging.getLogger(__name__)CODE
LOW…src/opensandbox/adapters/converter/response_handler.py33logger = logging.getLogger(__name__)CODE
LOW…/opensandbox/adapters/converter/exception_converter.py54logger = logging.getLogger(__name__)CODE
LOW…/python/src/opensandbox/adapters/converter/__init__.py48__all__ = [CODE
LOWsdks/sandbox/python/src/opensandbox/api/egress/types.py70__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]CODE
LOW…ks/sandbox/python/src/opensandbox/api/egress/errors.py32__all__ = ["UnexpectedStatus"]CODE
LOWsdks/sandbox/python/src/opensandbox/api/execd/types.py70__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]CODE
LOWsdks/sandbox/python/src/opensandbox/api/execd/errors.py32__all__ = ["UnexpectedStatus"]CODE
105 more matches not shown…
Verbosity Indicators89 hits · 157 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/pool_reconciler.go134 // Step 1: Try to acquire the primary lock.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go146 // Step 2: Reap expired idle entries.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go166 // Step 3: Snapshot counters and determine current state.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go179 // Step 4: If idle > maxIdle, shrink excess.COMMENT
LOWsdks/sandbox/go/pool_reconciler.go215 // Step 5: If deficit > 0 and not in backoff, create sandboxes.COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py458 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py464 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py476 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py541 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py603 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py609 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py621 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py683 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py746 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py754 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py446 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py529 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py591 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py671 # Step 1: Verify the marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e_sync.py734 # Step 1: Verify the subpath marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py710 # Step 2: Write a file from inside the sandbox to the mounted path (read-write)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py717 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py791 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py850 # Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py857 # Step 3: Verify the written file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py869 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py927 # Step 2: Verify writing is denied on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py987 # Step 2: Verify we only see the subpath contents (not the full volume)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py997 # Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/python/tests/test_sandbox_e2e.py697 # Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py729 # Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py779 # Step 1: Verify the host marker file is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py837 # Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py915 # Step 1: Verify the marker file is readable on read-only mountCOMMENT
LOWtests/python/tests/test_sandbox_e2e.py974 # Step 1: Verify the subpath marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java531 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java539 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java552 // Step 3: Verify the written file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java559 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java605 // Step 1: Verify the host marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java613 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java662 // Step 1: Verify the marker file seeded into the named volume is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java669 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java682 // Step 3: Verify the written file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java689 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java735 // Step 1: Verify the marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java742 // Step 2: Verify writing is denied on read-only mountCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java792 // Step 1: Verify the subpath marker file is readableCOMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java799 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOW…t/java/com/alibaba/opensandbox/e2e/SandboxE2ETest.java815 // Step 3: Write a file and verifyCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts305 // Step 2: Write a file from inside the sandbox to the mounted pathCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts311 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts447 // Step 2: Write a file from inside the sandbox to the named volumeCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts453 // Step 3: Verify the written file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts590 // Step 2: Verify only subPath contents are visible (not the full volume)COMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts599 // Step 3: Write a file and verify (retry read-back for transient SSE drops)COMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts289 // Step 1: Verify the host marker file is visible inside the sandboxCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts327 // Step 4: Verify the mount path is a proper directoryCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts372 // Step 1: Verify the host marker file is readableCOMMENT
LOWtests/javascript/tests/test_sandbox_e2e.test.ts388 // Step 2: Verify writing is denied on read-only mountCOMMENT
29 more matches not shown…
Cross-Language Confusion22 hits · 120 pts
SeverityFileLineSnippetContext
HIGH…python/tests/test_command_service_adapter_streaming.py84 b'data: {"type":"error","error":{"ename":"CommandExecError","evalue":"fork/exec /usr/bin/bash: resource CODE
HIGH…n/tests/test_sync_command_service_adapter_streaming.py75 b'data: {"type":"error","error":{"ename":"CommandExecError","evalue":"fork/exec /usr/bin/bash: resource CODE
HIGHtests/python/tests/test_isolated_session_e2e.py229 await session.run("mkdir -p /tmp/subdir && echo nested > /tmp/subdir/file.txt")CODE
HIGHtests/python/tests/test_isolated_session_e2e.py230 result = await session.run("cat /tmp/persist.txt && cat /tmp/subdir/file.txt")CODE
HIGHtests/python/tests/test_isolated_session_e2e.py442 f"cat /tmp/{marker} 2>&1 || echo NOT_FOUND"CODE
HIGHtests/python/tests/test_isolated_session_e2e.py487 host_check = await self.sandbox.commands.run(f"cat {path} 2>&1 || echo NOT_FOUND")CODE
HIGHtests/python/tests/test_isolated_session_e2e.py184 "cat /tmp/isolated_test_file.txt 2>&1 || echo NOT_FOUND"CODE
HIGHserver/tests/k8s/test_k8s_windows_profile.py141 entrypoint=["/bin/sh", "-c", "patch && exec /run/entry.sh"],CODE
HIGHserver/tests/k8s/test_k8s_windows_profile.py146 assert main["command"] == ["/bin/sh", "-c", "patch && exec /run/entry.sh"]CODE
HIGHserver/opensandbox_server/config.py461 "Set to 0 to disable (TOML cannot express null). "CODE
HIGHserver/opensandbox_server/api/schema.py419 "When omitted or null, the sandbox will not auto-terminate and must be deleted explicitly. "CODE
HIGHserver/opensandbox_server/services/signing.py23 inner = BE32(len(secret)) || secret || BE32(len(canonical)) || canonicalSTRING
HIGHserver/opensandbox_server/services/signing.py145 ``inner = BE32(len(secret)) || secret || BE32(len(canonical)) || canonical``STRING
HIGH…ver/opensandbox_server/services/k8s/provider_common.py128 "chmod +x /opt/opensandbox/bwrap || true)"CODE
HIGHcomponents/execd/tests/smoke_api.py54 payload = {"command": "echo smoke-command && sleep 1", "background": True}CODE
HIGHcomponents/execd/tests/smoke_api.py155 "command": "sh -c 'echo long-run-start && sleep 20 && echo long-run-end'",CODE
HIGHexamples/qwen-code/main.py115 'cd /tmp/qwen-code-example && qwen -p "Compute 1+1 and reply with only the final number."'CODE
HIGHexamples/host-volume-mount/main.py171 "touch /mnt/readonly/should-fail.txt 2>&1 || echo 'Write denied (expected)'"CODE
HIGHexamples/docker-pvc-volume-mount/main.py198 "touch /mnt/readonly/should-fail.txt 2>&1 || echo 'Write denied (expected)'"CODE
HIGHexamples/docker-pvc-volume-mount/main.py312 result = await sandbox.commands.run("test -f /mnt/training-data/marker.txt && echo FOUND || echo NOT-FOUND")CODE
HIGHexamples/docker-pvc-volume-mount/main.py312 result = await sandbox.commands.run("test -f /mnt/training-data/marker.txt && echo FOUND || echo NOT-FOUND")CODE
HIGHexamples/rl-training/main.py113 "apt-get update && apt-get install -y python3-pip",CODE
Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt249 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…om/alibaba/opensandbox/sandbox/pool/SandboxPoolTest.kt279 com.alibaba.opensandbox.sandbox.domain.pool.PoolConfig.builder()CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt79 com.alibaba.opensandbox.sandbox.infrastructure.cache.EndpointCache(CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt242 name?.let { com.alibaba.opensandbox.sandbox.api.models.CreateSnapshotRequest(name = it) },CODE
CRITICAL…ox/infrastructure/adapters/service/SandboxesAdapter.kt287 val key = com.alibaba.opensandbox.sandbox.infrastructure.cache.EndpointCacheKey(sandboxId, port, useServerProxy)CODE
CRITICAL…tructure/adapters/service/IsolatedFilesystemAdapter.kt259 com.alibaba.opensandbox.sandbox.api.models.execd.Permission(CODE
CRITICAL…x/infrastructure/adapters/service/FilesystemAdapter.kt265 com.alibaba.opensandbox.sandbox.api.models.execd.Permission(CODE
Deep Nesting76 hits · 64 pts
SeverityFileLineSnippetContext
LOW…hon/src/code_interpreter/sync/adapters/code_adapter.py232CODE
LOWsdks/sandbox/python/tests/test_pool_store.py138CODE
LOWsdks/sandbox/python/tests/test_pool_store.py147CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py167CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py267CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py403CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py472CODE
LOW…ndbox/python/src/opensandbox/_async_pool_reconciler.py61CODE
LOWsdks/sandbox/python/src/opensandbox/_pool_reconciler.py111CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py274CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py329CODE
LOW…/python/src/opensandbox/adapters/filesystem_adapter.py341CODE
LOW…rc/opensandbox/adapters/isolated_filesystem_adapter.py183CODE
LOW…src/opensandbox/adapters/converter/response_handler.py101CODE
LOW…ndbox/adapters/converter/filesystem_model_converter.py74CODE
LOW…ndbox/adapters/converter/execution_event_dispatcher.py45CODE
LOW…rc/opensandbox/api/egress/models/credential_binding.py56CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py173CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py274CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py393CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py457CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py240CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py292CODE
LOW…on/src/opensandbox/sync/adapters/filesystem_adapter.py303CODE
LOW…thon/src/opensandbox/sync/adapters/isolated_adapter.py224CODE
LOW…ensandbox/sync/adapters/isolated_filesystem_adapter.py187CODE
LOW…/sync/adapters/converter/execution_event_dispatcher.py41CODE
LOWtests/python/tests/test_sandbox_pool_e2e_async.py849CODE
LOWtests/python/tests/test_sandbox_pool_e2e_sync.py905CODE
LOWtests/python/tests/test_code_interpreter_e2e.py116CODE
LOWtests/python/tests/test_code_interpreter_e2e.py172CODE
LOWtests/python/tests/test_code_interpreter_e2e.py303CODE
LOWtests/python/tests/test_code_interpreter_e2e.py139CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py109CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py165CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py132CODE
LOWtests/python/tests/test_code_interpreter_e2e_sync.py935CODE
LOWtests/python/tests/test_sandbox_manager_e2e_sync.py54CODE
LOWserver/tests/test_docker_service.py2553CODE
LOWserver/tests/test_docker_service.py2718CODE
LOWserver/opensandbox_server/config.py332CODE
LOWserver/opensandbox_server/config.py965CODE
LOWserver/opensandbox_server/api/proxy.py347CODE
LOWserver/opensandbox_server/services/sandbox_service.py63CODE
LOW…er/opensandbox_server/services/docker/container_ops.py382CODE
LOW…r/opensandbox_server/services/docker/docker_service.py504CODE
LOW…/opensandbox_server/services/docker/windows_profile.py119CODE
LOW…/opensandbox_server/services/docker/windows_profile.py198CODE
LOWserver/opensandbox_server/services/docker/volumes.py49CODE
LOWserver/opensandbox_server/services/docker/volumes.py349CODE
LOWserver/opensandbox_server/services/docker/runtime.py51CODE
LOWserver/opensandbox_server/services/docker/networking.py383CODE
LOWserver/opensandbox_server/services/docker/networking.py545CODE
LOW…ensandbox_server/services/docker/docker_diagnostics.py67CODE
LOWserver/opensandbox_server/services/k8s/volume_helper.py51CODE
LOW…/opensandbox_server/services/k8s/kubernetes_service.py198CODE
LOW…/opensandbox_server/services/k8s/kubernetes_service.py407CODE
LOW…/opensandbox_server/services/k8s/kubernetes_service.py718CODE
LOW…/opensandbox_server/services/k8s/kubernetes_service.py1385CODE
LOW…ver/opensandbox_server/services/k8s/windows_profile.py64CODE
16 more matches not shown…
Modern AI Meta-Vocabulary15 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUMserver/opensandbox_server/api/lifecycle.py302 # Delegate to the service layer for pause orchestrationCOMMENT
MEDIUMserver/opensandbox_server/api/lifecycle.py339 # Delegate to the service layer for resume orchestrationCOMMENT
MEDIUMkubernetes/cmd/controller/main.go49 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMkubernetes/cmd/controller/main.go136 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMkubernetes/cmd/controller/main.go468 // +kubebuilder:scaffold:builderCOMMENT
MEDIUMkubernetes/config/crd/kustomization.yaml8# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMkubernetes/config/crd/kustomization.yaml13# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUMkubernetes/config/default/kustomization.yaml225# targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.COMMENT
MEDIUMkubernetes/config/default/kustomization.yaml226# +kubebuilder:scaffold:crdkustomizecainjectionnsCOMMENT
MEDIUMkubernetes/config/default/kustomization.yaml233# targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.COMMENT
MEDIUMkubernetes/config/default/kustomization.yaml234# +kubebuilder:scaffold:crdkustomizecainjectionnameCOMMENT
MEDIUMkubernetes/config/samples/kustomization.yaml6# +kubebuilder:scaffold:manifestskustomizesamplesCOMMENT
MEDIUMkubernetes/config/scorecard/kustomization.yaml18# +kubebuilder:scaffold:patchesCOMMENT
MEDIUMkubernetes/internal/controller/suite_test.go39 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMkubernetes/internal/controller/suite_test.go70 // +kubebuilder:scaffold:schemeCOMMENT
Fake / Example Data33 hits · 34 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/go/credential_vault_test.go61 "placeholder": "__api_token__",CODE
LOWsdks/sandbox/go/types.go340 Placeholder string `json:"placeholder"`CODE
LOW…ensandbox/api/egress/models/credential_substitution.py62 "placeholder": placeholder,CODE
LOW…ensandbox/api/egress/models/credential_substitution.py74 placeholder = d.pop("placeholder")CODE
LOW…x/infrastructure/adapters/service/EgressAdapterTest.kt206 assertEquals("__api_token__", substitution["placeholder"]!!.jsonPrimitive.content)CODE
LOW…ndbox/infrastructure/adapters/service/EgressAdapter.kt370 put("placeholder", JsonPrimitive(placeholder))CODE
LOW…OpenSandbox.Tests/EgressAdapterCredentialVaultTests.cs89 root.GetProperty("bindings")[0].GetProperty("auth").GetProperty("substitutions")[0].GetProperty("placeholder").GCODE
LOWsdks/sandbox/csharp/src/OpenSandbox/Models/Sandboxes.cs251 [JsonPropertyName("placeholder")]CODE
LOWtests/python/tests/test_credential_vault_e2e.py156 "placeholder": "__query_secret__",CODE
LOWtests/python/tests/test_credential_vault_e2e.py170 "placeholder": "__path_secret__",CODE
LOWtests/python/tests/test_credential_vault_e2e.py184 "placeholder": "__body_secret__",CODE
LOWdocs/guides/credential-vault.md149 "placeholder": "__client_secret__",CODE
LOWdocs/guides/credential-vault.md206 "placeholder": "__tenant_id__",CODE
LOWdocs/guides/credential-vault.md211 "placeholder": "__api_key__",CODE
LOWdocs/guides/credential-vault.md216 "placeholder": "__client_secret__",CODE
LOWdocs/guides/credential-vault.md305 "ANTHROPIC_API_KEY": "fake-key-inside-sandbox",CODE
LOWdocs/examples/openclaw.md25| `OPENCLAW_TOKEN` | `dummy-token-for-sandbox` | Gateway authentication token |CODE
LOWdocs/examples/openclaw.md92- Token: `OPENCLAW_GATEWAY_TOKEN` (default: `dummy-token-for-sandbox`)CODE
LOWdocs/examples/aks-kata.md221# Expected: fake-key-inside-sandboxCOMMENT
LOWcomponents/egress/mitmscripts/system.py371 placeholder = substitution.get("placeholder")CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py274 "placeholder": "__query_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py279 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py284 "placeholder": "__body_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py289 "placeholder": "__form_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py389 "placeholder": "__a__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py394 "placeholder": "__b__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py431 "placeholder": "__header_secret__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py480 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/tests/test_mitmscripts_system.py515 "placeholder": "__tenant_id__",CODE
LOWcomponents/egress/pkg/credentialvault/vault.go142 Placeholder string `json:"placeholder"`CODE
LOWcomponents/egress/pkg/credentialvault/vault.go199 Placeholder string `json:"placeholder"`CODE
LOWexamples/openclaw/main.py30DEFAULT_TOKEN = os.getenv("OPENCLAW_TOKEN", "dummy-token-for-sandbox")CODE
LOWexamples/aks-kata/main.py209 "AZURE_OPENAI_API_KEY": "fake-key-inside-sandbox",CODE
Self-Referential Comments7 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUMsdks/sandbox/python/src/opensandbox/sync/sandbox.py97 # Create a sandbox (blocking)STRING
MEDIUMtests/python/tests/test_isolated_session_e2e.py652 # Create the source dir and the destination mount point (bwrap bindsCOMMENT
MEDIUMserver/tests/test_docker_service.py3428 # Create the subPath directoryCOMMENT
MEDIUMserver/tests/test_docker_service.py3474 # Create a symlink within the allowed path that points to /COMMENT
MEDIUMserver/tests/k8s/test_provider_factory.py128 # Create a custom provider classSTRING
MEDIUM…/opensandbox_server/services/k8s/kubernetes_service.py819 # Create the workload CR. Three failure modes drive PVC cleanup:COMMENT
MEDIUMkubernetes/config/crd/kustomizeconfig.yaml1# This file is for teaching kustomize how to substitute name and namespace reference in CRDCOMMENT
AI Structural Patterns13 hits · 12 pts
SeverityFileLineSnippetContext
LOWsdks/mcp/sandbox/python/src/opensandbox_mcp/server.py129CODE
LOWsdks/sandbox/python/src/opensandbox/pool_async.py63CODE
LOWsdks/sandbox/python/src/opensandbox/sandbox.py506CODE
LOWsdks/sandbox/python/src/opensandbox/sync/sandbox.py491CODE
LOWsdks/sandbox/python/src/opensandbox/sync/pool.py62CODE
LOWtests/python/tests/test_sandbox_pool_e2e_sync.py803CODE
LOWserver/tests/k8s/test_pool_service.py29CODE
LOWserver/opensandbox_server/middleware/auth.py136CODE
LOWserver/opensandbox_server/middleware/auth.py153CODE
LOW…nsandbox_server/services/k8s/agent_sandbox_provider.py123CODE
LOW…nsandbox_server/services/k8s/agent_sandbox_provider.py246CODE
LOW…ensandbox_server/services/k8s/batchsandbox_provider.py103CODE
LOW…r/opensandbox_server/services/k8s/workload_provider.py36CODE
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/guides/secure-container.md38OpenSandbox is designed to execute untrusted code generated by AI models (Claude, GPT-4, Gemini, etc.). Secure runtimes CODE
HIGHoseps/0004-secure-container-runtime.md47OpenSandbox is designed to execute untrusted code generated by AI models (such as Claude, GPT-4, Gemini). While standardCODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsdks/sandbox/python/scripts/generate_api.py336 # Check if openapi-python-client is availableCOMMENT
LOWtests/python/tests/test_code_interpreter_e2e.py244 # Check if it's a retryable network errorCOMMENT
LOWexamples/kubernetes-pvc-volume-mount/main.py106 # Read the file written by the previous sandboxCOMMENT
LOWoseps/init-osep.sh176# Check if destination existsCOMMENT
Overly Generic Function Names6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ndbox/python/tests/test_filesystem_upload_transport.py49 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…/sandbox/python/tests/test_credential_vault_adapter.py80 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsdks/sandbox/python/tests/test_pool_sync.py585 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…thon/tests/test_sandbox_manager_sync_business_logic.py113 def handle_request(self, request: httpx.Request) -> httpx.Response: # pragma: no coverCODE
LOW…n/tests/test_sync_command_service_adapter_streaming.py29 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsdks/sandbox/python/tests/test_pool_manager.py168 def handle_request(self, request: Any) -> Any:CODE
Example Usage Blocks4 hits · 5 pts
SeverityFileLineSnippetContext
LOWcomponents/execd/bootstrap.sh299# Usage:COMMENT
LOWcomponents/execd/tests/sigterm_forward.sh21# Usage:COMMENT
LOWcomponents/execd/tests/smoke_bwrap.sh6# Usage:COMMENT
LOWcomponents/execd/configs/isolation.example.toml3# Usage:COMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWserver/tests/k8s/test_kubernetes_service.py1284 # must catch this for ALL PVC mounts, not just create-if-not-exists.COMMENT