Repository Analysis

e2b-dev/E2B

Open-source, secure environment with real-world tools for enterprise-grade agents.

19.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of e2b-dev/E2B, a Python project with 13,577 GitHub stars. SynthScan v2.0 examined 147,157 lines of code across 878 source files, recording 1730 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 19.2 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).

19.2
Adjusted Score
19.2
Raw Score
100%
Time Factor
2026-08-28
Last Push
13.6K
Stars
Python
Language
147.2K
Lines of Code
878
Files
1.7K
Pattern Hits
2026-08-29
Scan Date
0.28
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 243MEDIUM 32LOW 1455

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 1730 distinct pattern matches across 18 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 Identifiers928 hits · 1042 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/tests/conftest.py44def pytest_runtest_makereport(item, call):CODE
LOWpackages/python-sdk/tests/conftest.py228 def catch_cmd_exit_error_in_background(cmd: AsyncCommandHandle):CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py23def test_maps_invalid_argument():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py28def test_maps_unauthenticated():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py38def test_maps_resource_exhausted_to_rate_limit():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py44def test_maps_unavailable_to_timeout():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py49def test_maps_deadline_exceeded_to_timeout():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py57def test_falls_back_to_sandbox_exception():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py62def test_returns_original_when_not_connect_error():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py101def test_transport_failure_detection():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py128def test_wrapped_client_failure_maps_by_code():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py136def test_health_check_not_run_for_wrapped_client_failure():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py144def test_cancellation_restores_cancelled_error():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py151def test_health_check_not_run_for_cancellation():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py159def test_returns_raw_transport_failure_without_health_result():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py165def test_health_check_confirms_sandbox_killed():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py171def test_health_check_running_returns_raw_error():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py177def test_health_check_unknown_returns_raw_error():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py183def test_health_check_failure_returns_raw_error():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py192def test_health_check_not_run_for_other_exceptions():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py202async def test_async_health_check_confirms_sandbox_killed():CODE
LOWpackages/python-sdk/tests/test_envd_rpc_exception.py211async def test_async_health_check_failure_returns_raw_error():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py85def test_sync_stream_reset_leaves_the_shared_connection_usable():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py108def test_sync_dropped_connection_redials_for_the_health_probe():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py129async def test_async_stream_reset_leaves_the_shared_connection_usable():CODE
LOWpackages/python-sdk/tests/test_shared_transport_pool.py150async def test_async_dropped_connection_redials_for_the_health_probe():CODE
LOWpackages/python-sdk/tests/test_paginator.py25def test_paginator_exposes_state_and_advances():CODE
LOWpackages/python-sdk/tests/test_paginator.py47def test_paginator_raises_once_exhausted():CODE
LOWpackages/python-sdk/tests/test_connection_config.py24def test_api_url_has_correct_priority(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py31def test_sandbox_url_uses_stable_host_for_supported_domain():CODE
LOWpackages/python-sdk/tests/test_connection_config.py37def test_sandbox_url_uses_stable_host_for_supported_non_prod_domain():CODE
LOWpackages/python-sdk/tests/test_connection_config.py43def test_sandbox_url_uses_explicit_url_first():CODE
LOWpackages/python-sdk/tests/test_connection_config.py51def test_sandbox_url_falls_back_to_per_sandbox_host_for_custom_domain():CODE
LOWpackages/python-sdk/tests/test_connection_config.py60def test_sandbox_url_falls_back_to_per_sandbox_host_for_unsupported_subdomain():CODE
LOWpackages/python-sdk/tests/test_connection_config.py69def test_sandbox_url_debug_uses_localhost():CODE
LOWpackages/python-sdk/tests/test_connection_config.py75def test_get_host_keeps_per_sandbox_host_for_supported_domain():CODE
LOWpackages/python-sdk/tests/test_connection_config.py81def test_sandbox_direct_url_keeps_per_sandbox_host_for_supported_domain():CODE
LOWpackages/python-sdk/tests/test_connection_config.py90def test_sandbox_direct_url_uses_explicit_url_first():CODE
LOWpackages/python-sdk/tests/test_connection_config.py99def test_debug_false_overrides_env_var(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py106def test_debug_defaults_to_env_var(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py113def test_set_integration_appends_to_user_agent():CODE
LOWpackages/python-sdk/tests/test_connection_config.py127def test_custom_user_agent_is_preserved_without_integration():CODE
LOWpackages/python-sdk/tests/test_connection_config.py133def test_custom_user_agent_wins_over_integration(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py141def test_integration_survives_api_param_rebuilds(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py182def test_per_call_user_agent_override_wins_in_api_params(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py190def test_per_call_api_headers_user_agent_wins_over_headers():CODE
LOWpackages/python-sdk/tests/test_connection_config.py199def test_request_timeout_zero_means_no_timeout():CODE
LOWpackages/python-sdk/tests/test_connection_config.py207def test_get_api_params_includes_sandbox_url():CODE
LOWpackages/python-sdk/tests/test_connection_config.py4def test_api_url_defaults_correctly(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_connection_config.py153def test_cleared_integration_does_not_leak_into_api_param_rebuilds():CODE
LOWpackages/python-sdk/tests/test_connection_config.py167def test_custom_user_agent_survives_api_param_rebuilds(monkeypatch):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py39def test_sync_api_client_proxy_uses_explicit_transport(test_api_key):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py59def test_sync_get_transport_keyed_by_proxy(test_api_key):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py86def test_sync_transports_keyed_by_http_version(test_api_key):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py125def test_sync_transports_pass_http_version_to_pyqwest(test_api_key, monkeypatch):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py154def test_sync_transport_passes_pool_tuning_to_pyqwest(test_api_key, monkeypatch):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py187def test_sync_api_client_applies_request_timeout(test_api_key):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py201def test_sync_api_client_request_timeout_zero_disables_timeout(test_api_key):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py215def test_sync_envd_and_api_share_one_transport(test_api_key):CODE
LOWpackages/python-sdk/tests/test_api_client_transport.py234def test_sync_envd_api_client_wiring(test_api_key):CODE
868 more matches not shown…
Docstring Block Structure208 hits · 1040 pts
SeverityFileLineSnippetContext
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py120List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py169List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py213List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…n-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py260List sandboxes (v2) List all sandboxes Args: metadata (Union[Unset, str]): state (Union[UnsetSTRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py75List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py106List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py132List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py161List sandbox metrics List metrics for given sandboxes Args: sandbox_ids (list[str]): Raises: STRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py78Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py112Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py141Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…lient/api/sandboxes/post_sandboxes_sandbox_id_pause.py173Pause sandbox Pause the sandbox Args: sandbox_id (str): body (SandboxPauseRequest): RaisSTRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py70Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py104Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py133Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py165Refresh sandbox Refresh the sandbox extending its time to live Args: sandbox_id (str): body (STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py89Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py127Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py160Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…client/api/sandboxes/post_sandboxes_sandbox_id_fork.py196Fork sandbox Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py74Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py110Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py141Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_timeout.py175Set sandbox timeout Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the requesSTRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py63Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py94Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py120Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…pi/client/api/sandboxes/delete_sandboxes_sandbox_id.py149Kill sandbox Kill a sandbox Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py82Create sandbox Create a sandbox from the template Args: body (NewSandbox): Raises: errorSTRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py113Create sandbox Create a sandbox from the template Args: body (NewSandbox): Raises: errorSTRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py139Create sandbox Create a sandbox from the template Args: body (NewSandbox): Raises: errorSTRING
HIGH…hon-sdk/e2b/api/client/api/sandboxes/post_sandboxes.py168Create sandbox Create a sandbox from the template Args: body (NewSandbox): Raises: errorSTRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py96Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py130Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py159Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. STRING
HIGH…ent/api/sandboxes/post_sandboxes_sandbox_id_connect.py191Connect sandbox Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py101Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py147Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py188Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…ent/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py232Sandbox logs (v2) Get sandbox logs Args: sandbox_id (str): cursor (Union[Unset, int]): STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py65Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py96Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py122Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py151Sandbox Get a sandbox by id Args: sandbox_id (str): Raises: errors.UnexpectedStatus: If STRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py78Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py115Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py147Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…ient/api/sandboxes/put_sandboxes_sandbox_id_network.py182Update sandbox network Update the network configuration for a running sandbox. Replaces the current egress rules wSTRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py79Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py116Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py148Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py183Sandbox logs Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead. Args: sandbox_id (str): STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py92Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py126Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py155Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…ient/api/sandboxes/post_sandboxes_sandbox_id_resume.py187Resume sandbox Resume the sandbox Args: sandbox_id (str): body (ResumedSandbox): Raises:STRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_snapshots.py80Create snapshot Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create newSTRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_snapshots.py115Create snapshot Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create newSTRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_snapshots.py145Create snapshot Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create newSTRING
HIGH…t/api/sandboxes/post_sandboxes_sandbox_id_snapshots.py178Create snapshot Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create newSTRING
148 more matches not shown…
Unused Imports292 hits · 192 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/e2b/__init__.py28CODE
LOWpackages/python-sdk/e2b/__init__.py28CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py32CODE
LOWpackages/python-sdk/e2b/__init__.py38CODE
LOWpackages/python-sdk/e2b/__init__.py38CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py39CODE
LOWpackages/python-sdk/e2b/__init__.py60CODE
LOWpackages/python-sdk/e2b/__init__.py60CODE
LOWpackages/python-sdk/e2b/__init__.py60CODE
LOWpackages/python-sdk/e2b/__init__.py60CODE
LOWpackages/python-sdk/e2b/__init__.py60CODE
LOWpackages/python-sdk/e2b/__init__.py60CODE
LOWpackages/python-sdk/e2b/__init__.py68CODE
LOWpackages/python-sdk/e2b/__init__.py69CODE
LOWpackages/python-sdk/e2b/__init__.py69CODE
LOWpackages/python-sdk/e2b/__init__.py69CODE
LOWpackages/python-sdk/e2b/__init__.py70CODE
LOWpackages/python-sdk/e2b/__init__.py70CODE
LOWpackages/python-sdk/e2b/__init__.py74CODE
LOWpackages/python-sdk/e2b/__init__.py74CODE
LOWpackages/python-sdk/e2b/__init__.py74CODE
LOWpackages/python-sdk/e2b/__init__.py74CODE
LOWpackages/python-sdk/e2b/__init__.py75CODE
LOWpackages/python-sdk/e2b/__init__.py76CODE
LOWpackages/python-sdk/e2b/__init__.py77CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
LOWpackages/python-sdk/e2b/__init__.py78CODE
232 more matches not shown…
Excessive Try-Catch Wrapping116 hits · 124 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/tests/conftest.py159 except Exception as e:CODE
LOWpackages/python-sdk/tests/conftest.py203 except Exception as e:CODE
LOWpackages/python-sdk/tests/conftest.py254 except Exception as e:CODE
LOWpackages/python-sdk/tests/envd_frame_server.py151 except Exception as e: # noqa: BLE001 — surfaced via assert_no_errorsCODE
LOWpackages/python-sdk/tests/envd_frame_server.py305 except Exception as e: # noqa: BLE001 — surfaced via assert_no_errorsCODE
MEDIUMpackages/python-sdk/tests/envd_frame_server.py89def run(self):CODE
LOW…thon-sdk/tests/async/template_async/test_stacktrace.py93 except Exception as e: # noqa: BLE001 - we want to assert on the traceback regardless of typeCODE
LOW…s/python-sdk/tests/async/sandbox_async/test_network.py324 except Exception:CODE
LOW…es/python-sdk/tests/async/sandbox_async/test_create.py64 except Exception:CODE
LOW…es/python-sdk/tests/async/sandbox_async/test_create.py302 except Exception:CODE
LOW…sdk/tests/async/sandbox_async/files/test_files_list.py151 except Exception as err:CODE
LOW…python-sdk/tests/sync/template_sync/test_stacktrace.py93 except Exception as e: # noqa: BLE001 - we want to assert on the traceback regardless of typeCODE
LOW…ckages/python-sdk/tests/sync/sandbox_sync/test_host.py20 except Exception as e:CODE
LOW…ges/python-sdk/tests/sync/sandbox_sync/test_network.py317 except Exception:CODE
LOW…ages/python-sdk/tests/sync/sandbox_sync/test_create.py64 except Exception:CODE
LOW…ages/python-sdk/tests/sync/sandbox_sync/test_create.py299 except Exception:CODE
LOW…n-sdk/tests/sync/sandbox_sync/files/test_files_list.py151 except Exception as err:CODE
LOWpackages/python-sdk/e2b/template_sync/build_api.py159 except Exception:CODE
LOWpackages/python-sdk/e2b/template_sync/build_api.py165 except Exception as e:CODE
LOWpackages/python-sdk/e2b/template_async/build_api.py167 except Exception:CODE
LOWpackages/python-sdk/e2b/template_async/build_api.py173 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/client_shared.py48 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py143 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py158 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py179 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/interceptors.py204 except Exception as e:CODE
LOWpackages/python-sdk/e2b/envd/api.py48 except Exception:CODE
LOWpackages/python-sdk/e2b/envd/api.py61 except Exception:CODE
LOWpackages/python-sdk/e2b/envd/rpc.py131 except Exception:CODE
LOWpackages/python-sdk/e2b/envd/rpc.py146 except Exception:CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py147 except Exception:CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py213 except Exception as err:CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py227 except Exception as err:CODE
LOWpackages/python-sdk/e2b/sandbox_async/main.py255 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py44 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py63 except Exception as e:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py73 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py93 except Exception as e:CODE
MEDIUM…ython-sdk/e2b/sandbox_async/filesystem/watch_handle.py47def _iterate_events(self):CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py521 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py550 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py581 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py605 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py638 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py666 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py755 except Exception as e:CODE
LOW…/python-sdk/e2b/sandbox_async/filesystem/filesystem.py758 except Exception:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py88 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py116 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py149 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py180 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py338 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py341 except Exception:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py397 except Exception as e:CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py400 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py187 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py216 except Exception:CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py236 except Exception as e:CODE
MEDIUM…ython-sdk/e2b/sandbox_async/commands/command_handle.py141def _iterate_events(CODE
MEDIUM…ython-sdk/e2b/sandbox_async/commands/command_handle.py219def _handle_events(self):CODE
56 more matches not shown…
Cross-File Repetition21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHpackages/python-sdk/e2b/sandbox_async/git.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/main.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/git.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py0module for running git operations in the sandbox. :deprecated: run git with `sandbox.commands.run()` instead. the git moSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/sandbox_api.py0get the metrics of the sandbox specified by sandbox id. :param sandbox_id: sandbox id :param start: start time for the mSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/main.py0get the metrics of the sandbox specified by sandbox id. :param sandbox_id: sandbox id :param start: start time for the mSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py0get the metrics of the sandbox specified by sandbox id. :param sandbox_id: sandbox id :param start: start time for the mSTRING
HIGHpackages/python-sdk/e2b/sandbox_async/main.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGHpackages/python-sdk/e2b/sandbox_sync/main.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGH…-python/e2b_code_interpreter/code_interpreter_async.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGH…r-python/e2b_code_interpreter/code_interpreter_sync.py0e2b cloud sandbox is a secure and isolated cloud environment. the sandbox allows you to: - access linux os - create, lisSTRING
HIGH…i/client/api/templates/delete_templates_template_id.py0delete a path args: volume_id (str): path (str): raises: errors.unexpectedstatus: if the server returns an undocumented STRING
HIGH…e2b/api/client/api/volumes/delete_volumes_volume_id.py0delete a path args: volume_id (str): path (str): raises: errors.unexpectedstatus: if the server returns an undocumented STRING
HIGH…ent/api/volumes/delete_volumecontent_volume_id_path.py0delete a path args: volume_id (str): path (str): raises: errors.unexpectedstatus: if the server returns an undocumented STRING
HIGHpackages/python-sdk/e2b/secret/secret_async.py0module for managing e2b secrets and workload identity helpers. secret values are write-only: they are accepted by ``creaSTRING
HIGHpackages/python-sdk/e2b/secret/base.py0module for managing e2b secrets and workload identity helpers. secret values are write-only: they are accepted by ``creaSTRING
HIGHpackages/python-sdk/e2b/secret/secret_sync.py0module for managing e2b secrets and workload identity helpers. secret values are write-only: they are accepted by ``creaSTRING
HIGH…erpreter-python/tests/async/test_async_display_data.py0import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 20, 100) y = np.sin(x) plt.plot(x, y) plt.show() xSTRING
HIGH…ode-interpreter-python/tests/sync/test_display_data.py0import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 20, 100) y = np.sin(x) plt.plot(x, y) plt.show() xSTRING
HIGH…interpreter-python/tests/async/test_async_streaming.py0import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 20, 100) y = np.sin(x) plt.plot(x, y) plt.show() xSTRING
HIGH…s/code-interpreter-python/tests/sync/test_streaming.py0import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 20, 100) y = np.sin(x) plt.plot(x, y) plt.show() xSTRING
Self-Referential Comments26 hits · 86 pts
SeverityFileLineSnippetContext
MEDIUM…es/python-sdk/tests/async/template_async/test_build.py31 # Create a symlink to a file that does not existCOMMENT
MEDIUM…sdk/tests/async/sandbox_async/files/test_files_list.py222 # Create a dictionary of entries by name for easier verificationCOMMENT
MEDIUM…hon-sdk/tests/async/sandbox_async/commands/test_run.py27 # Create a string with 8191 'a' characters followed by the problematic byte 0xe2COMMENT
MEDIUM…ts/shared/template/utils/test_get_all_files_in_path.py117 # Create a mix of files and directoriesCOMMENT
MEDIUM…ts/shared/template/utils/test_get_all_files_in_path.py199 # Create a complex structureCOMMENT
MEDIUM…ts/shared/template/utils/test_get_all_files_in_path.py287 # Create a file and a symlink to itCOMMENT
MEDIUM…ages/python-sdk/tests/sync/template_sync/test_build.py31 # Create a symlink to a file that does not existCOMMENT
MEDIUM…n-sdk/tests/sync/sandbox_sync/files/test_files_list.py221 # Create a dictionary of entries by name for easier verificationCOMMENT
MEDIUM…ython-sdk/tests/sync/sandbox_sync/commands/test_run.py25 # Create a string with 8191 'a' characters followed by the problematic byte 0xe2COMMENT
MEDIUMpackages/python-sdk/e2b/template/dockerfile_parser.py79 # Create a temporary DockerfileCOMMENT
MEDIUMpackages/python-sdk/e2b/template/main.py1037 # Create a TemplateBuilder first to use its methodsCOMMENT
MEDIUMpackages/desktop-python/tests/conftest.py13 # Create a new sandbox instance for each testCOMMENT
MEDIUMpackages/desktop-python/tests/test_controls.py77 # Create a file and open it in a text editorCOMMENT
MEDIUMpackages/desktop-python/e2b_desktop/main.py255 # Initialize environment variables with DISPLAYCOMMENT
MEDIUM…ckages/code-interpreter-js/tests/charts/scales.test.ts14 # Create the plotCOMMENT
MEDIUM…ckages/code-interpreter-js/tests/charts/scales.test.ts38 # Create the plotCOMMENT
MEDIUM…kages/code-interpreter-js/tests/charts/unknown.test.ts11# Create a figure and an axisCOMMENT
MEDIUMpackages/code-interpreter-js/tests/charts/log.test.ts15# Create the plotCOMMENT
MEDIUM…es/code-interpreter-js/tests/charts/superchart.test.ts14# Create a figure with multiple subplotsCOMMENT
MEDIUMpackages/code-interpreter-js/tests/charts/line.test.ts19# Create the plotCOMMENT
MEDIUM…code-interpreter-python/tests/charts/test_log_chart.py14# Create the plotCOMMENT
MEDIUM…ode-interpreter-python/tests/charts/test_superchart.py12# Create a figure with multiple subplotsCOMMENT
MEDIUM…ages/code-interpreter-python/tests/charts/test_line.py19# Create the plotCOMMENT
MEDIUM…ges/code-interpreter-python/tests/charts/test_scale.py15 # Create the plotCOMMENT
MEDIUM…ges/code-interpreter-python/tests/charts/test_scale.py39 # Create the plotCOMMENT
MEDIUM…s/code-interpreter-python/tests/charts/test_unknown.py8# Create a figure and an axisCOMMENT
Cross-Language Confusion8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHpackages/python-sdk/tests/test_command_handle.py101 events.push(_stdout_event(b"a"))CODE
HIGHpackages/python-sdk/tests/test_command_handle.py114 events.push(_stdout_event(b"b"))CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py12 git_sandbox.git.push(CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py33 git_sandbox.git.push(repo_path, set_upstream=False)CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py47 git_sandbox.git.push(CODE
HIGHpackages/python-sdk/tests/shared/git/test_sync.py64 git_sandbox.git.push(repo_path)CODE
HIGHpackages/python-sdk/tests/shared/git/test_clone.py13 git_sandbox.git.push(CODE
HIGHpackages/python-sdk/e2b/template/main.py621 + " | sudo tee /devcontainer.sh > /dev/null && sudo chmod +x /devcontainer.sh && sudo touch /devcontaineCODE
Verbosity Indicators16 hits · 33 pts
SeverityFileLineSnippetContext
LOWpackages/cli/src/commands/template/init.ts177 // Step 1: Get template name (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts197 // Step 2: Get language (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts227 // Step 3: Create template directory - fail if it already existsCOMMENT
LOWpackages/cli/src/commands/template/init.ts239 // Step 4: Generate template and build files in the template directoryCOMMENT
LOWpackages/cli/src/commands/template/init.ts246 // Step 5: Add scriptsCOMMENT
LOWpackages/cli/src/commands/template/init.ts259 // Step 6: Create README.mdCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts10# Step 1: Define the data for the pie chartCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts14# Step 2: Create the figure and axis objectsCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts20# Step 3: Create the pie chartCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts23# Step 4: Add title and legendCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts27# Step 5: Show the plotCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py8# Step 1: Define the data for the pie chartCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py12# Step 2: Create the figure and axis objectsCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py18# Step 3: Create the pie chartCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py21# Step 4: Add title and legendCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py25# Step 5: Show the plotCOMMENT
Structural Annotation Overuse16 hits · 33 pts
SeverityFileLineSnippetContext
LOWpackages/cli/src/commands/template/init.ts177 // Step 1: Get template name (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts197 // Step 2: Get language (from CLI or prompt)COMMENT
LOWpackages/cli/src/commands/template/init.ts227 // Step 3: Create template directory - fail if it already existsCOMMENT
LOWpackages/cli/src/commands/template/init.ts239 // Step 4: Generate template and build files in the template directoryCOMMENT
LOWpackages/cli/src/commands/template/init.ts246 // Step 5: Add scriptsCOMMENT
LOWpackages/cli/src/commands/template/init.ts259 // Step 6: Create README.mdCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts10# Step 1: Define the data for the pie chartCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts14# Step 2: Create the figure and axis objectsCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts20# Step 3: Create the pie chartCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts23# Step 4: Add title and legendCOMMENT
LOWpackages/code-interpreter-js/tests/charts/pie.test.ts27# Step 5: Show the plotCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py8# Step 1: Define the data for the pie chartCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py12# Step 2: Create the figure and axis objectsCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py18# Step 3: Create the pie chartCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py21# Step 4: Add title and legendCOMMENT
LOW…kages/code-interpreter-python/tests/charts/test_pie.py25# Step 5: Show the plotCOMMENT
AI Structural Patterns32 hits · 32 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/e2b/connection_config.py215CODE
LOW…ckages/python-sdk/e2b/envd/filesystem/filesystem_pb.py305CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py258CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py631CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py664CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py695CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py728CODE
LOWpackages/python-sdk/e2b/sandbox_async/git.py819CODE
LOWpackages/python-sdk/e2b/sandbox_async/main.py171CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py184CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py216CODE
LOW…kages/python-sdk/e2b/sandbox_async/commands/command.py247CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py274CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py258CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py619CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py650CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py679CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py710CODE
LOWpackages/python-sdk/e2b/sandbox_sync/git.py801CODE
LOWpackages/python-sdk/e2b/sandbox_sync/main.py167CODE
LOW…ckages/python-sdk/e2b/sandbox_sync/commands/command.py183CODE
LOW…ckages/python-sdk/e2b/sandbox_sync/commands/command.py215CODE
LOW…ckages/python-sdk/e2b/sandbox_sync/commands/command.py244CODE
LOWpackages/python-sdk/e2b/volume/connection_config.py91CODE
LOWpackages/desktop-python/e2b_desktop/main.py216CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py110CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py145CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py178CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py133CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py104CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py139CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py172CODE
Synthetic Comment Markers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHREADME.md20[E2B](https://e2b.dev/?utm_source=github&utm_medium=referral&utm_campaign=readme&utm_content=E2B) is an open-source infrCODE
HIGHpackages/python-sdk/README.md17[E2B](https://e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=e2b) is an open-source infrasCODE
HIGHpackages/js-sdk/README.md20[E2B](https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b) is an open-source infrastCODE
HIGHpackages/code-interpreter-js/README.md16[E2B](https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=code-interpreter) is an open-sCODE
HIGHpackages/code-interpreter-python/README.md16[E2B](https://e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=code-interpreter) is an open-CODE
Deep Nesting23 hits · 22 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/tests/envd_frame_server.py89CODE
LOWpackages/python-sdk/tests/envd_frame_server.py228CODE
LOWpackages/python-sdk/tests/mock_volume_content.py85CODE
LOWpackages/python-sdk/tests/test_client.py80CODE
LOW…thon-sdk/tests/async/template_async/test_stacktrace.py89CODE
LOW…dk/tests/shared/template/utils/test_tar_file_stream.py17CODE
LOW…python-sdk/tests/sync/template_sync/test_stacktrace.py89CODE
LOWpackages/python-sdk/e2b/template_sync/build_api.py247CODE
LOWpackages/python-sdk/e2b/template_async/build_api.py255CODE
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py437CODE
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py219CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py55CODE
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py158CODE
LOWpackages/python-sdk/e2b/sandbox_sync/sandbox_api.py390CODE
LOW…python-sdk/e2b/sandbox_sync/commands/command_handle.py160CODE
LOWpackages/python-sdk/e2b/sandbox/sandbox_api.py605CODE
LOW…ages/python-sdk/e2b/sandbox/filesystem/watch_handle.py36CODE
LOWpackages/python-sdk/e2b/volume/volume_sync.py574CODE
LOWpackages/python-sdk/e2b/volume/volume_async.py481CODE
LOWpackages/python-sdk/e2b/volume/volume_async.py541CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py328CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py459CODE
LOW…code-interpreter-python/e2b_code_interpreter/charts.py213CODE
Redundant / Tautological Comments11 hits · 18 pts
SeverityFileLineSnippetContext
LOWscripts/fetch-spec.sh45# Set COPYBARA_IMAGE to skip the image build and use a prebuilt image insteadCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/paginator.py98 # Check if res.parsed is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py330 # Check if res.parse is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py430 # Check if res.parse is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_async/sandbox_api.py549 # Check if res.parse is ErrorCOMMENT
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py68 # Check if input is a file path that existsCOMMENT
LOWpackages/python-sdk/e2b/template/dockerfile_parser.py70 # Read the file contentCOMMENT
LOWpackages/python-sdk/e2b/sandbox_sync/paginator.py98 # Check if res.parsed is ErrorCOMMENT
LOWpackages/python-sdk/e2b/sandbox_sync/sandbox_api.py557 # Check if res.parse is ErrorCOMMENT
LOWpackages/desktop-python/tests/test_controls.py16 # Check if there is any differenceCOMMENT
LOWpackages/desktop-python/tests/test_controls.py52 # Check if the image is a valid image formatCOMMENT
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWpackages/python-sdk/e2b/__init__.py162__all__ = [CODE
LOWpackages/python-sdk/e2b/paginator.py50 def _update_pagination(self, headers: Mapping[str, str]) -> None:CODE
LOWpackages/python-sdk/e2b/connection_config.py151 def set_integration(cls, integration: Optional[str]) -> None:CODE
LOWpackages/python-sdk/e2b/sandbox_async/main.py44logger = logging.getLogger(__name__)CODE
LOWpackages/python-sdk/e2b/sandbox_sync/main.py43logger = logging.getLogger(__name__)CODE
LOWpackages/python-sdk/e2b/sandbox/_git/__init__.py47__all__ = [CODE
LOWpackages/python-sdk/e2b/api/client/types.py54__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]CODE
LOWpackages/python-sdk/e2b/api/client/errors.py16__all__ = ["UnexpectedStatus"]CODE
LOWpackages/python-sdk/e2b/secret/__init__.py5__all__ = [CODE
LOWpackages/python-sdk/e2b/volume/types.py61__all__ = [CODE
LOWpackages/python-sdk/e2b/volume/client/types.py54__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]CODE
LOWpackages/python-sdk/e2b/volume/client/errors.py16__all__ = ["UnexpectedStatus"]CODE
LOWpackages/desktop-python/tests/conftest.py8logger = logging.getLogger(__name__)CODE
LOW…-python/e2b_code_interpreter/code_interpreter_async.py35logger = logging.getLogger(__name__)CODE
LOW…code-interpreter-python/e2b_code_interpreter/models.py37logger = logging.getLogger(__name__)CODE
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py31logger = logging.getLogger(__name__)CODE
Over-Commented Block9 hits · 9 pts
SeverityFileLineSnippetContext
LOWredocly.yaml1# Filters the synced REST API spec (spec/openapi.yml) down to the endpointCOMMENT
LOWscripts/fetch-spec.sh1#!/usr/bin/env bashCOMMENT
LOW…ython-sdk/e2b/sandbox_async/commands/command_handle.py181 # Optional scalar: unset reads as "" — the presenceCOMMENT
LOW…s/python-sdk/e2b/sandbox_sync/filesystem/filesystem.py341 # when any entry is a file-like object so a streamed upload isn'tCOMMENT
LOWpackages/js-sdk/tests/bundle/edgeCompat.test.ts1import { existsSync, readFileSync } from 'node:fs'COMMENT
LOW…-python/e2b_code_interpreter/code_interpreter_async.py221 headers=headers,COMMENT
LOW…r-python/e2b_code_interpreter/code_interpreter_sync.py61 # Honors the `sandbox_url` option and the `E2B_SANDBOX_URL` environmentCOMMENT
LOWpackages/desktop-js/tests/mouse.test.ts21//COMMENT
LOW.vscode/settings.json81 "cursorpyright.analysis.typeCheckingMode": "basic",COMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpackages/code-interpreter-js/tests/images/bar.test.ts15 print("done")CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackages/python-sdk/tests/test_watch_handle.py119CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/cli/tests/user_config_migration.test.ts20 email: 'user@example.com',CODE