Repository Analysis

trycua/cua

Scale computer-use 2.0 with open-source drivers, cross-OS fleets, and benchmarks for training, evaluation, and data generation.

13.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of trycua/cua, a HTML project with 21,988 GitHub stars. SynthScan v2.0 examined 956,471 lines of code across 3222 source files, recording 8527 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 13.6 places this repository in the Low AI signal band.

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

13.6
Adjusted Score
13.6
Raw Score
100%
Time Factor
2026-08-28
Last Push
22.0K
Stars
HTML
Language
956.5K
Lines of Code
3.2K
Files
8.5K
Pattern Hits
2026-08-29
Scan Date
0.11
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 44HIGH 306MEDIUM 1514LOW 6663

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 8527 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1084 hits · 3372 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_image_builder.py18# ── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_image_builder.py29# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py31# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py200# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py202# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py262# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py264# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py335# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder.py337# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/android_rps_benchmark_local.py26# ── Data types ────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py69# ── Helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py82# ── Sandbox lifecycle ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py120# ── Per-sandbox actions ───────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py165# ── Worker loop ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py191# ── Progress reporter ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py216# ── Benchmark orchestrator ────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py226 # ── Provision ──────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py240 # ── Load test ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py265 # ── Cleanup ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py269 # ── Aggregate ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py286# ── Report ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark_local.py318# ── CLI ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py28# ── Data types ────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py71# ── Helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py84# ── Sandbox lifecycle ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py127# ── Per-sandbox actions ───────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py174# ── Worker loop ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py201# ── Progress reporter ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py226# ── Benchmark orchestrator ────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py237 # ── Provision ──────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py253 # ── Load test ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py278 # ── Cleanup ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py282 # ── Aggregate ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py299# ── Report ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py331# ── CLI ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/android_rps_benchmark.py396 # ── --delete ──────────────────────────────────────────────────────────STRING
MEDIUMtests/android_rps_benchmark.py410 # ── --continue ────────────────────────────────────────────────────────STRING
MEDIUMtests/android_rps_benchmark.py477 # ── --provision ───────────────────────────────────────────────────────STRING
MEDIUMtests/android_rps_benchmark.py514 # ── normal (all-in-one) ───────────────────────────────────────────────STRING
MEDIUMtests/test_image_builder_cloud.py26# ── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_image_builder_cloud.py37# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py39# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py59# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py61# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py72# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py74# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py263# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py265# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py577# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py579# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py767# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py769# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py806# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py808# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py44# ── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_interfaces.py71# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py73# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py191# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py193# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_interfaces.py364# ═══════════════════════════════════════════════════════════════════════════COMMENT
1024 more matches not shown…
Hyper-Verbose Identifiers1621 hits · 1594 pts
SeverityFileLineSnippetContext
LOWtests/test_image_builder.py125 async def test_variable_used_in_run(self):CODE
LOWtests/test_image_builder.py142 async def test_copy_preserves_content(self, tmp_path):CODE
LOWtests/test_image_builder.py154 async def test_expose_port_reachable(self):CODE
LOWtests/test_image_builder.py352 async def test_apk_install_from_env(self):CODE
LOWtests/test_tracing.py83async def test_tracing_api_call_recording():CODE
LOWtests/test_tracing.py156async def test_tracing_config_options():CODE
LOWtests/test_tracing.py199async def test_tracing_accessibility_tree():CODE
LOWtests/test_mcp_server_streaming.py166def test_run_cua_task_streams_partial_results(server_module):CODE
LOWtests/test_mcp_server_streaming.py249def test_run_multi_cua_tasks_reports_progress(server_module, monkeypatch):CODE
LOWtests/shell_cmd.py76async def test_cmd_command_with_error(computer):CODE
LOWtests/test_venv.py94async def test_venv_exec_with_package(computer):CODE
LOWtests/test_venv.py108async def test_venv_exec_error_handling(computer):CODE
LOWtests/test_venv.py119async def test_venv_exec_with_args_kwargs(computer):CODE
LOWtests/test_venv.py144async def test_venv_exec_stdout_capture(computer, capfd):CODE
LOWtests/test_venv.py186async def test_remote_decorator_with_custom_computer(computer):CODE
LOWtests/test_image_builder_cloud.py51async def test_android_env_multiple():CODE
LOWtests/test_files.py160async def test_read_bytes_with_offset_and_length(computer):CODE
LOWtests/test_files.py256async def test_read_write_text_with_encoding(computer):CODE
LOWtests/test_files.py286async def test_write_text_append_mode(computer):CODE
LOWtests/test_files.py382async def test_text_file_edge_cases(computer):CODE
LOWtests/test_mcp_server_session_management.py183 async def initialize_session_manager():CODE
LOWtests/test_mcp_server_session_management.py248def test_screenshot_cua_with_session_id(server_module):CODE
LOWtests/test_mcp_server_session_management.py261def test_screenshot_cua_creates_new_session(server_module):CODE
LOWtests/test_mcp_server_session_management.py274def test_run_cua_task_with_session_management(server_module):CODE
LOWtests/test_mcp_server_session_management.py291def test_run_multi_cua_tasks_sequential(server_module):CODE
LOWtests/test_mcp_server_session_management.py308def test_run_multi_cua_tasks_concurrent(server_module):CODE
LOWtests/test_mcp_server_session_management.py353def test_concurrent_sessions_isolation(server_module):CODE
LOWtests/test_mcp_server_session_management.py377def test_session_reuse_with_same_id(server_module):CODE
LOWtests/test_mcp_server_session_management.py396def test_error_handling_with_session_management(server_module):CODE
LOWtests/test_shell_bash.py77async def test_bash_command_with_error(computer):CODE
LOWtests/test_public_containerdisk_refs.py14 def test_tracked_files_do_not_reference_private_containerdisk_repositories(self) -> None:CODE
LOWtests/test_interfaces.py274 async def test_screenshot_returns_bytes(self):CODE
LOWtests/test_interfaces.py279 async def test_screenshot_png_magic(self):CODE
LOWtests/test_interfaces.py567 async def test_keypress_combination(self):CODE
LOWtests/test_interfaces.py588 async def test_forward_single_context_manager(self):CODE
LOWtests/test_interfaces.py776 async def test_get_active_title_returns_string(self):CODE
LOWtests/test_interfaces.py800 async def test_get_active_title_returns_string(self):CODE
LOWtests/test_interfaces.py89 async def test_run_failure_returncode(self):CODE
LOWtests/test_interfaces.py107 async def test_run_multiline_output(self):CODE
LOWtests/test_interfaces.py113 async def test_run_sequential_state(self):CODE
LOWtests/test_interfaces.py126 async def test_commandresult_fields(self):CODE
LOWtests/test_interfaces.py308 async def test_screenshot_returns_bytes(self):CODE
LOWtests/test_interfaces.py313 async def test_screenshot_png_magic(self):CODE
LOWtests/test_interfaces.py336 async def test_screenshot_returns_bytes(self):CODE
LOWtests/test_interfaces.py353 async def test_screenshot_returns_bytes(self):CODE
LOWtests/test_interfaces.py511 async def test_keypress_combination(self):CODE
LOWtests/test_interfaces.py515 async def test_keypress_string_list(self):CODE
LOWtests/test_interfaces.py543 async def test_keypress_combination(self):CODE
LOWtests/test_interfaces.py606 async def test_forward_multiple_ports(self):CODE
LOWtests/test_interfaces.py629 async def test_forward_no_ports_raises(self):CODE
LOWtests/test_interfaces.py689 async def test_create_custom_dimensions(self):CODE
LOWtests/test_interfaces.py709 async def test_close_returns_exit_code_or_none(self):CODE
LOWtests/test_interfaces.py717 async def test_multiple_sessions_independent(self):CODE
LOWtests/test_interfaces.py788 async def test_get_active_title_returns_string(self):CODE
LOWtests/test_interfaces.py892 async def test_gesture_invalid_raises(self):CODE
LOWtests/test_telemetry.py41 def test_telemetry_disabled_when_cua_telemetry_is_off(self):CODE
LOWtests/test_telemetry.py46 def test_telemetry_enabled_when_cua_telemetry_not_set(self):CODE
LOWtests/test_telemetry.py55 def test_send_test_event_to_posthog(self):CODE
LOW…/integration/sandbox_cli/test_linux_local_container.py43async def test_linux_local_container():CODE
LOW…ntegration/sandbox_cli/test_macos_local_registry_vm.py41async def test_macos_local_registry_vm():CODE
1561 more matches not shown…
Excessive Try-Catch Wrapping1441 hits · 1552 pts
SeverityFileLineSnippetContext
LOWtests/android_rps_benchmark_local.py184 except Exception as e:CODE
LOWtests/cold_start_benchmark.py34 except Exception as e:CODE
LOWtests/test_tracing.py265 except Exception as e:CODE
LOWtests/test_tracing.py272 except Exception as e:CODE
LOWtests/android_rps_benchmark.py194 except Exception as e:CODE
LOWtests/android_rps_benchmark.py427 except Exception as e:STRING
LOWtests/integration/sandbox_cli/test_android_local_vm.py31 except Exception:CODE
LOWtests/integration/sandbox_cli/test_android_local_cdp.py35 except Exception:CODE
LOWtests/integration/sandbox_cli/test_android_local_cdp.py61 except Exception:CODE
LOWtests/integration/sandbox_cli/test_windows_local_vm.py35 except Exception:CODE
MEDIUMtests/integration/sandbox_cli/test_windows_local_vm.py29def _has_qemu() -> bool:CODE
LOWtests/integration/sandbox_sdk/test_android_local_vm.py40 except Exception:CODE
MEDIUMtests/integration/sandbox_sdk/test_android_local_vm.py32def _has_android_sdk() -> bool:CODE
LOW…integration/sandbox_sdk/test_linux_local_osworld_vm.py50 except Exception:CODE
MEDIUM…integration/sandbox_sdk/test_linux_local_osworld_vm.py44def _has_qemu() -> bool:CODE
LOWtests/integration/sandbox_sdk/test_windows_local_vm.py38 except Exception:CODE
MEDIUMtests/integration/sandbox_sdk/test_windows_local_vm.py32def _has_qemu() -> bool:CODE
LOW…/integration/sandbox_sdk/test_android_local_gym_pwa.py53 except Exception:CODE
MEDIUM…/integration/sandbox_sdk/test_android_local_gym_pwa.py47def _has_java() -> bool:CODE
LOWtests/agent_loop_testing/agent_test_uitars.py182 except Exception as e:CODE
LOWtests/agent_loop_testing/agent_test.py193 except Exception as e:CODE
MEDIUMdocs/scripts/modal_app.py441 print(f"Error crawling {url}: {e}")CODE
LOWdocs/scripts/modal_app.py440 except Exception as e:CODE
MEDIUMdocs/scripts/modal_app.py1255 print(f"Error during parallel indexing: {e}")STRING
LOWdocs/scripts/modal_app.py1736 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1836 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1847 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1859 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1870 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1253 except Exception as e:STRING
LOWdocs/scripts/modal_app.py1447 except Exception as e:STRING
LOWdocs/scripts/crawl_docs.py283 except Exception as e:CODE
MEDIUMdocs/scripts/crawl_docs.py284 print(f"Error crawling {url}: {e}")CODE
LOWdocs/scripts/docs-mcp-server/main.py100 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py179 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py190 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py202 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py213 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py303 except Exception:CODE
LOWdocs/scripts/docs-mcp-server/main.py362 except Exception:CODE
LOWdocs/scripts/docs-mcp-server/main.py425 except Exception:CODE
LOWdocs/scripts/docs-mcp-server/main.py493 except Exception:CODE
LOWblog/sandboxed-python-execution.md148 except Exception as e:CODE
LOWblog/sandboxed-python-execution.md170 except Exception as e:CODE
LOWblog/sandboxed-python-execution.md181 except Exception as e:CODE
LOWblog/sandboxed-python-execution.md280 except Exception as e:CODE
LOWblog/sandboxed-python-execution.md347 except Exception as e:CODE
MEDIUMblog/sandboxed-python-execution.md343def robust_function(data):CODE
LOWblog/human-in-the-loop.md94except Exception:CODE
LOWlibs/cua-driver/python/build_wheel.py158 except Exception as e:CODE
LOWlibs/cua-driver/python/build_wheel.py190 except Exception as e:CODE
LOWlibs/cua-driver/python/src/cua_driver/wrapper.py92 except Exception as e:CODE
MEDIUMlibs/cua-driver/python/src/cua_driver/wrapper.py93 print(f"Error executing cua-driver: {e}", file=sys.stderr)CODE
MEDIUMlibs/cua-driver/python/src/cua_driver/_native.py321def _uniffi_trait_interface_call(call_status, make_call, write_return_value):CODE
MEDIUMlibs/cua-driver/python/src/cua_driver/_native.py328def _uniffi_trait_interface_call_with_error(call_status, make_call, write_returnCODE
MEDIUMlibs/cua-driver/python/src/cua_driver/_native.py365def get(self, handle):CODE
MEDIUMlibs/cua-driver/python/src/cua_driver/_native.py413def check_lower(cls, value):CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py324 except Exception as e:CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py335 except Exception as e:CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py404 except Exception:CODE
1381 more matches not shown…
Unused Imports1319 hits · 1141 pts
SeverityFileLineSnippetContext
LOWtests/test_image_builder.py12CODE
LOWtests/android_rps_benchmark_local.py11CODE
LOWtests/test_tracing.py245CODE
LOWtests/shell_cmd.py12CODE
LOWtests/test_venv.py13CODE
LOWtests/android_rps_benchmark.py11CODE
LOWtests/android_rps_benchmark.py17CODE
LOWtests/test_image_builder_cloud.py11CODE
LOWtests/test_files.py12CODE
LOWtests/test_shell_bash.py12CODE
LOWtests/test_interfaces.py34CODE
LOWtests/integration/sandbox_cli/conftest.py3CODE
LOW…/integration/sandbox_cli/test_linux_local_container.py11CODE
LOWtests/integration/sandbox_cli/test_android_cloud_vm.py12CODE
LOWtests/integration/sandbox_cli/test_android_local_vm.py12CODE
LOW…ntegration/sandbox_cli/test_macos_local_registry_vm.py12CODE
LOW…/integration/sandbox_cli/test_linux_cloud_container.py12CODE
LOW…ntegration/sandbox_cli/test_linux_local_registry_vm.py13CODE
LOWtests/integration/sandbox_cli/test_android_local_cdp.py16CODE
LOWtests/integration/sandbox_cli/test_macos_local_vm.py12CODE
LOWtests/integration/sandbox_cli/test_linux_cloud_vm.py12CODE
LOWtests/integration/sandbox_cli/test_macos_cloud_vm.py12CODE
LOWtests/integration/sandbox_cli/test_linux_local_vm.py11CODE
LOWtests/integration/sandbox_cli/test_windows_cloud_vm.py12CODE
LOWtests/integration/sandbox_cli/test_windows_local_vm.py12CODE
LOW…/integration/sandbox_sdk/test_linux_local_container.py17CODE
LOWtests/integration/sandbox_sdk/test_android_cloud_vm.py21CODE
LOWtests/integration/sandbox_sdk/test_android_local_vm.py22CODE
LOW…ntegration/sandbox_sdk/test_macos_local_registry_vm.py19CODE
LOW…integration/sandbox_sdk/test_linux_local_osworld_vm.py22CODE
LOW…/integration/sandbox_sdk/test_linux_cloud_container.py16CODE
LOW…ntegration/sandbox_sdk/test_linux_local_registry_vm.py20CODE
LOWtests/integration/sandbox_sdk/test_macos_local_vm.py15CODE
LOWtests/integration/sandbox_sdk/test_linux_cloud_vm.py16CODE
LOWtests/integration/sandbox_sdk/test_macos_cloud_vm.py15CODE
LOWtests/integration/sandbox_sdk/test_linux_local_vm.py17CODE
LOWtests/integration/sandbox_sdk/test_windows_cloud_vm.py18CODE
LOWtests/integration/sandbox_sdk/test_windows_local_vm.py19CODE
LOW…/integration/sandbox_sdk/test_android_local_gym_pwa.py21CODE
LOWdocs/public/examples/local-models/cua-mcp-filter.py8CODE
LOW…cua-driver/python/tests/test_compatibility_contract.py3CODE
LOWlibs/cua-driver/python/tests/test_uniffi_loader.py1CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py9CODE
1259 more matches not shown…
Over-Commented Block999 hits · 908 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml41 args: ["--fix"]COMMENT
LOWnix/cua-driver/compositor/cua_compositor_patch.py1#!/usr/bin/env python3COMMENT
LOWnix/cua-driver/compositor/cua_compositor_patch.py21# client sends the `cua-inject v1` banner (echoed back on match), then everyCOMMENT
LOWnix/cua-driver/compositor/cua_compositor_patch.py41#include <time.h>COMMENT
LOWdocs/scripts/modal_app.py41image = (COMMENT
LOWdocs/scripts/modal_app.py621COMMENT
LOWdocs/scripts/modal_app.py641#COMMENT
LOWdocs/scripts/modal_app.py661# 1. scheduled_crawl() runs daily at 6 AM UTC:COMMENT
LOW…s/cua-driver/kwin-target-helper/kwin_target_helper.cpp1// SPDX-License-Identifier: MITCOMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py1# This file was autogenerated by some hot garbage in the `uniffi` crate.COMMENT
LOW…s/cua-driver/python/src/cua_driver/_native_contract.py1# This file was autogenerated by some hot garbage in the `uniffi` crate.COMMENT
LOW…a-driver/rust/crates/pip-preview/src/desktop_layout.rs41 pub content: LayoutRect,COMMENT
LOWlibs/cua-driver/rust/crates/pip-preview/src/lib.rs281}COMMENT
LOWlibs/cua-driver/rust/crates/pip-preview/src/lib.rs321COMMENT
LOW…-driver/rust/crates/cua-driver-testkit/src/response.rs1//! Normalized tool response — the common shape both transports return.COMMENT
LOW…s/cua-driver/rust/crates/cua-driver-testkit/src/lib.rs1//! Shared test harness for cua-driver integration tests.COMMENT
LOW…s/cua-driver/rust/crates/cua-driver-testkit/src/lib.rs21//! transport axis (CLI vs MCP) testable instead of MCP-only.COMMENT
LOW…ua-driver/rust/crates/cua-driver-testkit/src/daemon.rs141 NoneCOMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/Cargo.toml21cursor-overlay = { path = "../cursor-overlay" }COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/build.rs1// Bake Swift runtime rpaths into the cua-driver binary on macOS.COMMENT
LOW…r/rust/crates/cua-driver/tests/protocol_schema_test.rs1//! Pure `tools/list` schema-shape assertions.COMMENT
LOW…rates/cua-driver/tests/cross_platform_behavior_test.rs1//! Cross-platform behavioral scenarios derived from the external CUA matrix.COMMENT
LOW…ust/crates/cua-driver/tests/schema_consistency_test.rs1//! Cross-platform tool-contract consistency gate.COMMENT
LOW…river/rust/crates/cua-driver/tests/harness_wpf_test.rs1//! Integration test against the CuaTestHarness.Wpf .NET 8 app.COMMENT
LOW…river/rust/crates/cua-driver/tests/harness_wpf_test.rs21//! cargo test --test harness_wpf_test -- --ignored --nocaptureCOMMENT
LOW…er/rust/crates/cua-driver/tests/harness_appkit_test.rs1//! Integration test against the CuaTestHarness.AppKit Swift app.COMMENT
LOW…/rust/crates/cua-driver/tests/capture_contract_test.rs1//! `get_window_state` perception contract,COMMENT
LOW…st/crates/cua-driver/tests/desktop_scope_macos_test.rs1//! macOS **desktop-scope** (vision/foreground) modality, exercised through theCOMMENT
LOW…st/crates/cua-driver/tests/desktop_scope_linux_test.rs1//! Linux **desktop-scope** (vision/foreground) modality through the SAMECOMMENT
LOW…st/crates/cua-driver/tests/protocol_tools_call_test.rs1//! Per-tool `tools/call` integration tests.COMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs1//! Optional integration tests against a live LibreOffice Writer instance.COMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs21//! 3. **`harness_lo_vcl_modal_input_roundtrip_works`** — SAL/VCLCOMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs41//! beyond Writer.COMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs201/// with `actions=[invoke]` — agents could re-fire the press half butCOMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs261/// "Font Color" (the SALTMPSUBFRAME color picker).COMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs381/// before the MSAA path landed), AND that the dialog acceptsCOMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs541/// Pre-MSAA, the UIA→MSAA proxy collapsed every BUTTONDROPDOWN to aCOMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs601COMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs781 assert!(COMMENT
LOW…st/crates/cua-driver/tests/harness_libreoffice_test.rs921 .args(["/F", "/IM", "soffice.bin"])COMMENT
LOW…/cua-driver/tests/installed_app_textedit_macos_test.rs1//! TextEdit background-delivery integration check for macOS.COMMENT
LOW…/rust/crates/cua-driver/tests/protocol_session_test.rs1//! Multi-client / multi-cursor / overlay session tests.COMMENT
LOW…ust/crates/cua-driver/tests/protocol_handshake_test.rs1//! MCP JSON-RPC handshake + tools/list contract tests.COMMENT
LOW…river/rust/crates/cua-driver/tests/harness_web_test.rs1//! Integration tests against the CuaTestHarness.WebView (WPF + WebView2)COMMENT
LOW…river/rust/crates/cua-driver/tests/harness_web_test.rs481}COMMENT
LOW…er/rust/crates/cua-driver/tests/harness_winui3_test.rs1//! Integration test against the CuaTestHarness.WinUI3 .NET 8 app.COMMENT
LOW…er/rust/crates/cua-driver/tests/harness_winui3_test.rs401}COMMENT
LOW…/crates/cua-driver/tests/desktop_scope_windows_test.rs1//! Harness integration test for the **desktop-scope** modality (#1968 / #2019).COMMENT
LOW…/cua-driver/tests/transport_config_persistence_test.rs1//! Transport axis: `set_config` visibility across the CLI vs MCP transports.COMMENT
LOW…r/rust/crates/cua-driver/tests/harness_swiftui_test.rs1//! Integration test against the CuaTestHarness.SwiftUI Swift app.COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs1//! `cua-driver autostart {enable|disable|status|kick}` — register / inspect /COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs21//! `ITaskFolder`, `IPrincipal`, ...) is ~10 nested COM-wrapper calls inCOMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs41 "cua-driver-serve"COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs141/// chain down to a versioned release path, which then gets baked into theCOMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs181/// `UNC\server\share` form the extended-length namespace also carries.COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs201 /// `Start-Process -WindowStyle Hidden`. Without this, Task SchedulerCOMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs221 /// **Account-name format**: on domain-joined machines USERDOMAIN holds theCOMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/telemetry.rs1//! Content-free product telemetry for Cua Driver.COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/serve.rs1//! Local daemon server and client for `cua-driver serve`/`stop`/`status`.COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/updater.rs1//! `cua-driver update --apply` implementation.COMMENT
939 more matches not shown…
Cross-File Repetition160 hits · 800 pts
SeverityFileLineSnippetContext
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0context-manger to allocate a buffer using a _uniffirustbufferbuilder. the allocated buffer will be automatically freed iSTRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0context-manger to allocate a buffer using a _uniffirustbufferbuilder. the allocated buffer will be automatically freed iSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0context-manger to allocate a buffer using a _uniffirustbufferbuilder. the allocated buffer will be automatically freed iSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0context-manger to allocate a buffer using a _uniffirustbufferbuilder. the allocated buffer will be automatically freed iSTRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0context-manager to consume a buffer using a _uniffirustbufferstream. the _uniffirustbuffer will be freed once the contexSTRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0context-manager to consume a buffer using a _uniffirustbufferstream. the _uniffirustbuffer will be freed once the contexSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0context-manager to consume a buffer using a _uniffirustbufferstream. the _uniffirustbuffer will be freed once the contexSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0context-manager to consume a buffer using a _uniffirustbufferstream. the _uniffirustbuffer will be freed once the contexSTRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0context-manager to read a buffer using a _uniffirustbufferstream. this is like consume_with_stream, but doesn't free theSTRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0context-manager to read a buffer using a _uniffirustbufferstream. this is like consume_with_stream, but doesn't free theSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0context-manager to read a buffer using a _uniffirustbufferstream. this is like consume_with_stream, but doesn't free theSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0context-manager to read a buffer using a _uniffirustbufferstream. this is like consume_with_stream, but doesn't free theSTRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0helper for structured reading of bytes from a _uniffirustbufferSTRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0helper for structured reading of bytes from a _uniffirustbufferSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0helper for structured reading of bytes from a _uniffirustbufferSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0helper for structured reading of bytes from a _uniffirustbufferSTRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0helper for structured writing of bytes into a _uniffirustbuffer.STRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0helper for structured writing of bytes into a _uniffirustbuffer.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0helper for structured writing of bytes into a _uniffirustbuffer.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0helper for structured writing of bytes into a _uniffirustbuffer.STRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0a map where inserting, getting and removing data is synchronized with a lock.STRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0a map where inserting, getting and removing data is synchronized with a lock.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0a map where inserting, getting and removing data is synchronized with a lock.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0a map where inserting, getting and removing data is synchronized with a lock.STRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0low-level insert, this assumes `self._lock` is held.STRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0low-level insert, this assumes `self._lock` is held.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0low-level insert, this assumes `self._lock` is held.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0low-level insert, this assumes `self._lock` is held.STRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0function pointer for a rust task, which a callback function that takes a opaque pointerSTRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0function pointer for a rust task, which a callback function that takes a opaque pointerSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0function pointer for a rust task, which a callback function that takes a opaque pointerSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0function pointer for a rust task, which a callback function that takes a opaque pointerSTRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0factory function to create callback function types for async functionsSTRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0factory function to create callback function types for async functionsSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0factory function to create callback function types for async functionsSTRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0factory function to create callback function types for async functionsSTRING
HIGHlibs/cua-driver/python/src/cua_driver/_native.py0this is how we find and load the dynamic library provided by the component. for now we just look it up by name.STRING
HIGH…s/cua-driver/python/src/cua_driver/_native_contract.py0this is how we find and load the dynamic library provided by the component. for now we just look it up by name.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py0this is how we find and load the dynamic library provided by the component. for now we just look it up by name.STRING
HIGHlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py0this is how we find and load the dynamic library provided by the component. for now we just look it up by name.STRING
HIGHlibs/python/core/tests/conftest.py0pytest configuration and shared fixtures for computer package tests. this file contains shared fixtures and configuratioSTRING
HIGHlibs/python/mcp-server/tests/conftest.py0pytest configuration and shared fixtures for computer package tests. this file contains shared fixtures and configuratioSTRING
HIGHlibs/python/agent/tests/conftest.py0pytest configuration and shared fixtures for computer package tests. this file contains shared fixtures and configuratioSTRING
HIGHlibs/python/computer-server/tests/conftest.py0pytest configuration and shared fixtures for computer package tests. this file contains shared fixtures and configuratioSTRING
HIGHlibs/python/computer/tests/conftest.py0pytest configuration and shared fixtures for computer package tests. this file contains shared fixtures and configuratioSTRING
HIGHlibs/python/mcp-server/tests/conftest.py0disable telemetry for tests. use this fixture to ensure no telemetry is sent during tests.STRING
HIGHlibs/python/agent/tests/conftest.py0disable telemetry for tests. use this fixture to ensure no telemetry is sent during tests.STRING
HIGHlibs/python/computer-server/tests/conftest.py0disable telemetry for tests. use this fixture to ensure no telemetry is sent during tests.STRING
HIGHlibs/python/computer/tests/conftest.py0disable telemetry for tests. use this fixture to ensure no telemetry is sent during tests.STRING
HIGHlibs/python/agent/benchmarks/contrib.md0predict click coordinates for the given image and instruction. args: image: pil image to analyze instruction: text instrSTRING
HIGHlibs/python/agent/benchmarks/models/gta1.py0predict click coordinates for the given image and instruction. args: image: pil image to analyze instruction: text instrSTRING
HIGHlibs/python/agent/benchmarks/models/base.py0predict click coordinates for the given image and instruction. args: image: pil image to analyze instruction: text instrSTRING
HIGHlibs/python/agent/cua_agent/computers/custom.py0take a screenshot and return as base64 string. args: text: optional descriptive text (for compatibility with gpt-4o modeSTRING
HIGHlibs/python/agent/cua_agent/computers/cua.py0take a screenshot and return as base64 string. args: text: optional descriptive text (for compatibility with gpt-4o modeSTRING
HIGHlibs/python/agent/cua_agent/computers/base.py0take a screenshot and return as base64 string. args: text: optional descriptive text (for compatibility with gpt-4o modeSTRING
HIGHlibs/python/agent/cua_agent/computers/custom.py0scroll at coordinates with specified scroll amounts.STRING
HIGHlibs/python/agent/cua_agent/computers/cua.py0scroll at coordinates with specified scroll amounts.STRING
HIGHlibs/python/agent/cua_agent/computers/base.py0scroll at coordinates with specified scroll amounts.STRING
HIGHlibs/python/agent/cua_agent/integrations/hud/agent.py0you are a ui grounding expert. follow these guidelines: 1. never ask for confirmation. complete all tasks autonomously. STRING
HIGHlibs/python/agent/cua_agent/loops/openai.py0you are a ui grounding expert. follow these guidelines: 1. never ask for confirmation. complete all tasks autonomously. STRING
100 more matches not shown…
Cross-Language Confusion106 hits · 581 pts
SeverityFileLineSnippetContext
HIGHnix/cua-driver/compositor/cua_compositor_patch.py300 if (!node || node->type != WLR_SCENE_NODE_BUFFER) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py306 if (!sc || wl_list_empty(&sc->pointers)) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py313 if (!sc || wl_list_empty(&sc->pointers)) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py542 if (end && !*end && fn >= 1 && fn <= 10) kc = KEY_F1 + (uint32_t)fn - 1;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py543 else if (end && !*end && fn == 11) kc = KEY_F11;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py544 else if (end && !*end && fn == 12) kc = KEY_F12;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py152 if (pid <= 0 || root_pid <= 0) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py153 for (int depth = 0; depth < 64 && pid > 1; depth++) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py167 if (!close || sscanf(close + 2, "%c %ld", &state, &parent) != 2 ||CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py168 parent <= 0 || parent == pid) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py204 if (a && strcmp(a, app_id) == 0) { found = t; matches++; }CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py223 if (target_pid > 0 && cua_toplevel_pid(t) == target_pid) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py244 if (target_pid > 0 && cua_toplevel_pid(t) == target_pid) target = t;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py289 if (!t || idx < 0 || idx >= CUA_MAXDEV) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py351 if (!sc || wl_list_empty(&sc->pointers)) return NULL;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py363 if (!t || idx < 0 || idx >= CUA_MAXDEV) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py368 if (!sc || wl_list_empty(&sc->pointers)) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py386 if (!t || idx < 0 || idx >= CUA_MAXDEV) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py389 if (!sc || wl_list_empty(&sc->pointers)) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py434 if (cp > 0 && cp < 128 && !g_chartab[cp].valid) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py459 if (!sc || wl_list_empty(&sc->keyboards)) return NULL;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py461 if (focused && wlr_surface_get_root_surface(focused) == surface) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py563 if (!kc && key[0] && !key[1]) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py565 if (cp < 128 && g_chartab[cp].valid) kc = g_chartab[cp].keycode;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py665 if (nl > p && nl[-1] == '\r') nl[-1] = 0;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py735 if (bind(fd, (struct sockaddr *)&addr, sizeof addr) < 0 || listen(fd, 4) < 0) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py772 "\tif (!toplevel->cua_initial_activation_sent && prev_surface) {\n"STRING
HIGHnix/cua-driver/compositor/cua_compositor_patch.py818 "\t\tif (cua_ptr[i].entered && wlr_surface_get_root_surface(cua_ptr[i].entered) == cua_surface) cua_ptr[i].entered =STRING
HIGHnix/cua-driver/compositor/cua_compositor_patch.py819 "\t\tif (cua_kbd_state[i].entered && wlr_surface_get_root_surface(cua_kbd_state[i].entered) == cua_surface) cua_kbd_STRING
HIGHtests/test_image_builder.py48 out = await _run(image, "curl --version && wget --version")CODE
HIGHtests/test_image_builder.py53 out = await _run(image, "curl --version && wget --version")CODE
HIGHtests/test_image_builder.py101 out = await _run(image, "test -d /opt/myapp && echo exists")CODE
HIGHtests/test_image_builder.py216 out = await _run(image, "jq --version && wget --version")CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py1213 "ensure_unrestricted_daemon || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py1298 "run_retry_sequence || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py996 "status=0\nretry_result_is_exact || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py1013 "status=0\nretry_result_is_exact || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py1187 "ensure_unrestricted_daemon || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py1250 "run_retry_sequence || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py1279 "run_retry_sequence || status=$?\n"CODE
HIGHlibs/cua-driver/scripts/tests/test_macos_lume_runner.py346 """stdin="$(cat || true)"STRING
HIGHlibs/python/cua-sandbox/cua_sandbox/image.py525 lines.append(f"apt-get update && apt-get install -y {pkgs}")CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/image.py559 f"npm install -g @bubblewrap/cli 2>/dev/null || true\n"CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/image.py561 f"(cd \"$_BWW_DIR\" && bubblewrap init --manifest '{manifest_url}' --directory . --skipPwaValidaCODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/qemu.py943 ["wsl", "-e", "bash", "-c", "test -e /dev/kvm && which qemu-system-x86_64"],CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/lume.py444 "launchctl bootout gui/$(id -u)/com.trycua.computer_server 2>/dev/null; "CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/lume.py513 "pkill -f 'python.*computer_server' 2>/dev/null || true",CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/builder/executor.py155 cmd = f"sudo bash -c '. /etc/profile.d/cua-env.sh 2>/dev/null; {_bash_escape(cmd)}'"CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/builder/executor.py160 f"'. /etc/profile.d/cua-env.sh 2>/dev/null; {_bash_escape(cmd)}'"CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/builder/executor.py164 cmd = f"sh -c '. /data/local/tmp/.cua_env 2>/dev/null; {_bash_escape(cmd)}'"CODE
HIGHlibs/python/cua-sandbox/tests/test_snapshots.py36 "apt-get update -qq && apt-get install -y -qq cowsay", timeout=120CODE
HIGHlibs/python/computer-server/computer_server/browser.py87 "playwright is not installed. Please install it with: pip install playwright && playwright install -CODE
HIGHlibs/python/computer-server/computer_server/browser.py119 defaultGetter.toString();STRING
HIGHlibs/python/computer-server/computer_server/browser.py121 set: undefined,STRING
HIGHlibs/python/computer-server/computer_server/browser.py136 patchedGetter.toString();"""STRING
HIGH…on/computer-server/computer_server/handlers/android.py72 "shell", "uiautomator dump /sdcard/ui_dump.xml && cat /sdcard/ui_dump.xml", decode=TrueCODE
HIGH…andbox-apps/cua_sandbox_apps/pipeline/creator_agent.py163 sandbox_run(name, 'killall "Setup Assistant" 2>/dev/null; true')CODE
HIGH…andbox-apps/cua_sandbox_apps/pipeline/creator_agent.py164 sandbox_run(name, 'osascript -e "tell application \"System Events\" to click button \"Skip\" of window 1 of process \"CODE
HIGH…andbox-apps/cua_sandbox_apps/pipeline/creator_agent.py547 "cat /tmp/install.exit 2>/dev/null; echo DONE"CODE
HIGHlibs/python/bench-ui/bench_ui/child.py53 "if(!el){return null;}"CODE
46 more matches not shown…
Self-Referential Comments190 hits · 520 pts
SeverityFileLineSnippetContext
MEDIUMtests/shell_cmd.py38 # Create a remote Windows computer with CuaCOMMENT
MEDIUMtests/test_venv.py40 # Create a remote Linux computer with CuaCOMMENT
MEDIUMtests/test_venv.py48 # # Create a local macOS computer with CuaCOMMENT
MEDIUMtests/test_venv.py62 # Create a test virtual environment and install requestsCOMMENT
MEDIUMtests/test_venv.py168 # Define a function with the remote decoratorCOMMENT
MEDIUMtests/test_venv.py189 # Define a function with the remote decorator that explicitly specifies the computerCOMMENT
MEDIUMtests/test_files.py38 # Create a remote Linux computer with CuaCOMMENT
MEDIUMtests/test_files.py46 # Create a local macOS computer with CuaCOMMENT
MEDIUMtests/test_files.py211 # Create a file larger than 10MB (10 * 1024 * 1024 = 10,485,760 bytes)COMMENT
MEDIUMtests/test_files.py330 # Create a large text content (approximately 6MB)COMMENT
MEDIUMtests/test_shell_bash.py38 # Create a remote Linux computer with CuaCOMMENT
MEDIUMtests/agent_loop_testing/agent_test_uitars.py123 # Create the real CUA ComputerAgentCOMMENT
MEDIUMtests/agent_loop_testing/agent_test.py139 # Create the real Cua ComputerAgentCOMMENT
MEDIUMdocs/scripts/generate_sqlite.py120 # Create main pages tableCOMMENT
MEDIUMdocs/scripts/modal_app.py24# Define the Modal appCOMMENT
MEDIUMdocs/scripts/modal_app.py40# Define the container image with all dependenciesCOMMENT
MEDIUMdocs/scripts/modal_app.py1344 # Create main tableSTRING
MEDIUMdocs/scripts/docs-mcp-server/main.py500# Create the ASGI appCOMMENT
MEDIUMlibs/cua-driver/python/src/cua_driver/_native.py290 # This function is used for rust calls that return Result<> and therefore can set the CALL_ERROR status code.COMMENT
MEDIUM…s/cua-driver/python/src/cua_driver/_native_contract.py288 # This function is used for rust calls that return Result<> and therefore can set the CALL_ERROR status code.COMMENT
MEDIUMlibs/cuabot/src/mcp/overlay-cursor.py225 # Create an empty region (no input area)COMMENT
MEDIUMlibs/cuabot/src/mcp/overlay-cursor.py318 # Create a copy to modifyCOMMENT
MEDIUMlibs/cuabot/src/mcp/overlay-cursor.py327 # Create a new pixel arrayCOMMENT
MEDIUMlibs/python/core/cua_core/telemetry/__init__.py1"""This module provides the core telemetry functionality for Cua libraries.STRING
MEDIUM…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1263# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py317 # Create a small data-only ISO with Autounattend.xml + setup script.COMMENT
MEDIUMlibs/python/cua-cli/tests/conftest.py149 # Create a fake MP4 file for replay testsCOMMENT
MEDIUMlibs/python/cua-cli/tests/conftest.py209 # Create a small test fileCOMMENT
MEDIUMlibs/python/mcp-server/mcp_server/server.py383 # Create a task to shutdown gracefullyCOMMENT
MEDIUMlibs/python/agent/tests/test_telemetry_events.py99 # Create a mock computer_call itemCOMMENT
MEDIUMlibs/python/agent/benchmarks/utils.py393 # Create a copy of the imageCOMMENT
MEDIUMlibs/python/agent/cua_agent/ui/gradio/app.py216 # Create the computerCOMMENT
MEDIUMlibs/python/agent/cua_agent/ui/gradio/ui_components.py205 # Create the Gradio interfaceCOMMENT
MEDIUMlibs/python/agent/cua_agent/tools/browser_tool.py254 # Create a task and wait for itCOMMENT
MEDIUM…s/python/agent/cua_agent/callbacks/trajectory_saver.py36 # Create a copy of the dictionaryCOMMENT
MEDIUMlibs/python/agent/cua_agent/callbacks/logging.py23 # Create a copy of the dictionaryCOMMENT
MEDIUMlibs/python/agent/cua_agent/callbacks/telemetry.py242 # Create a copy of the item with timestampCOMMENT
MEDIUMlibs/python/agent/cua_agent/human_tool/ui.py97 # Create a formatted message for the tool callCOMMENT
MEDIUMlibs/python/agent/cua_agent/human_tool/__main__.py15# Create the Gradio demoCOMMENT
MEDIUMlibs/python/agent/cua_agent/loops/glm45v.py823 # Create a simple click instruction promptCOMMENT
MEDIUMlibs/python/computer-server/computer_server/server.py94 # Create a task to run the serverCOMMENT
MEDIUM…/python/computer-server/computer_server/pty_manager.py28 # Create a sessionSTRING
MEDIUMlibs/python/computer-server/computer_server/main.py1220 # Define a direct computer tool that implements the AsyncComputerHandler protocolCOMMENT
MEDIUM…on/computer-server/computer_server/diorama/safezone.py147 # Create an accessibility element for the DockCOMMENT
MEDIUM…hon/computer-server/computer_server/diorama/diorama.py68 # Create a hash for this app_list to use as a keyCOMMENT
MEDIUM…python/computer-server/computer_server/diorama/draw.py241 # Create a dictionary of window z-orderCOMMENT
MEDIUM…python/computer-server/computer_server/diorama/draw.py751 # Create an accessibility element for the applicationCOMMENT
MEDIUM…python/computer-server/computer_server/diorama/draw.py822 # Create an accessibility element for the DockCOMMENT
MEDIUM…thon/computer-server/computer_server/handlers/macos.py902 # Create a serializable dictionary representation of an accessibility elementCOMMENT
MEDIUM…andlers/_grpc_emulator/emulator_controller_pb2_grpc.py1263# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…dbox_apps/apps/vim/linux/logs/transcript/page-001.html504 &#34;content&#34;: &#34;#!/bin/bash\n\n# Launch Vim (gvim GUI version)\n# Opens a new gvim window with an empty file\nCODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html636 &#34;content&#34;: &#34;#!/bin/bash\nset -e\n\necho \&#34;=== IntelliJ IDEA Community Edition Install Script ===\&#34;CODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html1424 &#34;content&#34;: &#34;#!/bin/bash\n#############################################################################\n# CODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html2393 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html2466 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html2555 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html2701 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html385 &#34;content&#34;: &#34;#!/bin/bash\nset -e\n\necho \&#34;=== IntelliJ IDEA Install Script ===\&#34;\necho \&#34;InstaCODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html453 &#34;content&#34;: &#34;#!/bin/bash\nset -e\n\necho \&#34;=== IntelliJ IDEA Install Script ===\&#34;\necho \&#34;InstaCODE
MEDIUM…apps/intellij-idea/linux/logs/transcript/page-001.html1001 &#34;content&#34;: &#34;#!/bin/bash\nset -e\n\necho \&#34;=== IntelliJ IDEA Community Edition Install Script ===\&#34;CODE
130 more matches not shown…
Hallucination Indicators44 hits · 490 pts
SeverityFileLineSnippetContext
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html893 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManageCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html894 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html895 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManagerCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html898 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html899 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html900 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(ACODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html901 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(ACODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html902 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractCCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html903 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractCoCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html904 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html905 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html906 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:285)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html907 at org.elasticsearch.server@9.3.3/org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:273)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html908 at org.elasticsearch.server@9.3.3/org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:130)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html913 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManageCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html914 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html915 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManagerCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html918 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html919 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html920 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(ACODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html921 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(ACODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html922 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractCCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html923 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractCoCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html924 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html925 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html926 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:285)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html927 at org.elasticsearch.server@9.3.3/org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:273)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html928 at org.elasticsearch.server@9.3.3/org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:130)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html933 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethoCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html934 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html935 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html936 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(ACODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html937 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(ACODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html938 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractCCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html939 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractCoCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html940 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguCODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html941 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html942 at org.apache.logging.log4j.core@9.3.3/org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:285)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html943 at org.elasticsearch.server@9.3.3/org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:273)CODE
CRITICAL…apps/elasticsearch/linux/logs/transcript/page-001.html944 at org.elasticsearch.server@9.3.3/org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:130)CODE
CRITICAL…hon/computer/computer/providers/winsandbox/provider.py144 file_exists = sandbox.rpyc.modules.os.path.exists(server_address_file)CODE
CRITICAL…et/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt871 ai.cua.cyclops.sdk.schema.uniffiEnsureInitialized()CODE
CRITICAL…et/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt1685 private val cleaner = com.sun.jna.internal.Cleaner.getCleaner()CODE
CRITICAL…kotlin/ai/cua/cyclops/sdk/schema/cyclops_sdk_schema.kt1198 private val cleaner = com.sun.jna.internal.Cleaner.getCleaner()CODE
Redundant / Tautological Comments350 hits · 481 pts
SeverityFileLineSnippetContext
LOWlibs/cuabot/src/mcp/overlay-cursor.py566 # Check if already running - send move command insteadCOMMENT
LOWlibs/cuabot/src/scripts/agent-device-wrapper.sh9# Check if nested virtualization is enabledCOMMENT
LOWlibs/cuabot/src/scripts/agent-device-wrapper.sh88# Check if nested virtualization is enabledCOMMENT
LOWlibs/cuabot/src/scripts/agent-device-wrapper.sh91# Check if Android system images existCOMMENT
LOWlibs/python/cua-sandbox/cua_sandbox/image.py68 # Check if we already have the extracted resultCOMMENT
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py445 # Check if this is a Windows server (no screen_size endpoint)COMMENT
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py648 # Check if pwa2apk is installed globally or locallyCOMMENT
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py52 # Check if java works without JAVA_HOMECOMMENT
LOWlibs/python/som/som/detection.py59 # Check if the model file already existsCOMMENT
LOWlibs/python/som/som/detection.py69 # Check if the model exists in cacheCOMMENT
LOWlibs/python/som/som/ocr.py23 # Check if we're in the main threadCOMMENT
LOWlibs/python/som/som/detect.py254 # Check if this center point is inside the non-OCR elementCOMMENT
LOWlibs/python/cua-cli/cua_cli/commands/trajectory.py224 os.kill(pid, 0) # Check if process exists (doesn't actually send a signal)CODE
LOWlibs/python/cua-cli/cua_cli/commands/mcp.py119 # Check if it's a groupCOMMENT
LOWlibs/python/cua-cli/cua_cli/commands/image.py496 # Read file into memory (for simplicity - could stream for very large files)COMMENT
LOWlibs/python/mcp-server/build-extension.py123 # Check if fileicon is installedCOMMENT
LOWlibs/python/mcp-server/desktop-extension/run_server.sh15 # Check if it has the required packagesCOMMENT
LOWlibs/python/mcp-server/scripts/install_mcp_server.sh40# Check if Python is installedCOMMENT
LOWlibs/python/mcp-server/scripts/install_mcp_server.sh46# Check if pip is installedCOMMENT
LOWlibs/python/mcp-server/mcp_server/session_manager.py54 # Check if we can create a new oneCOMMENT
LOWlibs/python/mcp-server/mcp_server/session_manager.py60 # Check if we should use host computer serverCOMMENT
LOWlibs/python/mcp-server/mcp_server/session_manager.py94 # Check if computer has been idle too longCOMMENT
LOWlibs/python/mcp-server/mcp_server/session_manager.py170 # Check if session exists and is not shutting downCOMMENT
LOWlibs/python/mcp-server/mcp_server/session_manager.py225 # Check if session has active tasksCOMMENT
LOWlibs/python/agent/example.py135 # # Print outputCOMMENT
LOWlibs/python/agent/benchmarks/ss-v2.py75 # Check if prediction is correctCOMMENT
LOWlibs/python/agent/benchmarks/ss-pro.py69 # Check if prediction is correctCOMMENT
LOWlibs/python/agent/benchmarks/interactive.py163 # Display results summaryCOMMENT
LOWlibs/python/agent/cua_agent/responses.py763 # Check if this is the "[Execution completed. See screenshot below]" patternCOMMENT
LOWlibs/python/agent/cua_agent/__init__.py28 # Check if telemetry is enabledCOMMENT
LOWlibs/python/agent/cua_agent/agent.py601 # Check if it's a BaseTool instanceCOMMENT
LOWlibs/python/agent/cua_agent/agent.py604 # Check if it's a regular callableCOMMENT
LOWlibs/python/agent/cua_agent/agent.py574 # Check if it's a computer object (has interface attribute)COMMENT
LOWlibs/python/agent/cua_agent/agent.py745 # # Print messagesCOMMENT
LOWlibs/python/agent/cua_agent/agent.py795 # Check if this was a terminate actionCOMMENT
LOWlibs/python/agent/cua_agent/__main__.py14 # Check if 'cli' is specified as the moduleCOMMENT
LOWlibs/python/agent/cua_agent/ui/gradio/ui_components.py54 # Check if API keys are availableCOMMENT
LOWlibs/python/agent/cua_agent/playground/server.py267 # Check if there's already a running event loopCOMMENT
LOW…s/python/agent/cua_agent/callbacks/trajectory_saver.py480 # Check if action has x/y coordinates and there's a screenshot in the resultCOMMENT
LOWlibs/python/agent/cua_agent/callbacks/telemetry.py200 # Check if it's a cuaComputerHandler with a cua_computerCOMMENT
LOWlibs/python/agent/cua_agent/human_tool/ui.py45 # Check if it's a base64 image or URLCOMMENT
LOWlibs/python/agent/cua_agent/human_tool/ui.py416 # Check if there are any pending callsCOMMENT
LOWlibs/python/agent/cua_agent/adapters/mlxvlm_adapter.py291 # Check if output contains box tokens that need processingCOMMENT
LOW…bs/python/agent/cua_agent/adapters/azure_ml_adapter.py92 # Check if message has tool_calls that need double-encodingCOMMENT
LOWlibs/python/agent/cua_agent/loops/anthropic.py776 # Check if this is a custom function tool or computer toolCOMMENT
LOWlibs/python/agent/cua_agent/loops/fara/config.py195 # Check if the last message is a terminate function_call_outputCOMMENT
LOWlibs/python/agent/cua_agent/loops/fara/config.py212 # Check if it's a terminate action output (contains "terminated": True)COMMENT
LOWlibs/python/agent/cua_agent/loops/fara/config.py280 # Check if computer_handler has get_current_url methodCOMMENT
LOWlibs/python/computer-server/test_connection.py54 # Check if authentication was successfulCOMMENT
LOWlibs/python/computer-server/test_connection.py213 # Check if container name is provided but API key is missingCOMMENT
LOWlibs/python/computer-server/computer_server/browser.py40 # Check if browser was closed and needs reinitializationCOMMENT
LOWlibs/python/computer-server/computer_server/browser.py43 # Check if context is still valid by trying to access itCOMMENT
LOWlibs/python/computer-server/computer_server/browser.py245 # Check if page is still valid and get a new one if neededCOMMENT
LOWlibs/python/computer-server/computer_server/browser.py307 # Check if this is a "browser/page/context closed" errorCOMMENT
LOWlibs/python/computer-server/computer_server/main.py634 # Check if CONTAINER_NAME is set (indicating cloud provider)COMMENT
LOWlibs/python/computer-server/computer_server/main.py799 # Check if CONTAINER_NAME is set (indicating cloud provider)COMMENT
LOWlibs/python/computer-server/computer_server/main.py1479 # Check if CONTAINER_NAME is set (indicating cloud provider)COMMENT
LOW…thon/computer-server/computer_server/handlers/macos.py350 # Check if it's an accessibility element by checking its type IDCOMMENT
LOW…ps/cua_sandbox_apps/apps/vim/linux/extract_metadata.sh44 # Check if this is a vim iconCOMMENT
LOW…-apps/cua_sandbox_apps/apps/vim/linux/logs/result.json11 "extract_metadata_script": "#!/bin/bash\n\n# Extract metadata for Vim installation\n\n# Find the main Vim binary\nBINACODE
290 more matches not shown…
Deep Nesting526 hits · 449 pts
SeverityFileLineSnippetContext
LOWtests/cold_start_benchmark.py54CODE
LOWtests/integration/sandbox_cli/test_android_local_cdp.py50CODE
LOWtests/agent_loop_testing/agent_test_uitars.py111CODE
LOWtests/agent_loop_testing/agent_test.py127CODE
LOWdocs/public/examples/local-models/cua-mcp-filter.py36CODE
LOWdocs/public/examples/local-models/cua-mcp-filter.py53CODE
LOWdocs/scripts/generate_sqlite.py18CODE
LOWdocs/scripts/generate_sqlite.py41CODE
LOWdocs/scripts/modal_app.py211CODE
LOWdocs/scripts/modal_app.py264CODE
LOWdocs/scripts/modal_app.py968CODE
LOWdocs/scripts/modal_app.py1482CODE
LOWdocs/scripts/modal_app.py218CODE
LOWdocs/scripts/crawl_docs.py203CODE
LOWdocs/scripts/crawl_docs.py302CODE
LOWdocs/scripts/generate_db.py53CODE
LOWdocs/scripts/docs-mcp-server/main.py311CODE
LOWdocs/scripts/docs-mcp-server/main.py433CODE
LOWlibs/cua-driver/python/build_wheel.py37CODE
LOWlibs/cua-driver/python/build_wheel.py136CODE
LOWlibs/cua-driver/python/build_wheel.py162CODE
LOWlibs/cua-driver/python/build_wheel.py196CODE
LOWlibs/cua-driver/python/build_wheel.py243CODE
LOWlibs/cua-driver/python/tests/test_uniffi_loader.py129CODE
LOWlibs/cua-driver/python/tests/test_uniffi_loader.py161CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py299CODE
LOW…s/cua-driver/python/src/cua_driver/_native_contract.py297CODE
LOWlibs/cuabot/src/mcp/overlay-cursor.py43CODE
LOWlibs/cuabot/src/mcp/overlay-cursor.py482CODE
LOWlibs/cuabot/src/mcp/overlay-cursor.py514CODE
LOWlibs/cuabot/src/mcp/computer-use-mcp.py54CODE
LOWlibs/python/core/cua_core/telemetry/posthog.py72CODE
LOWlibs/python/core/cua_core/telemetry/otel.py50CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1334CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1366CODE
LOWlibs/python/cua-sandbox/cua_sandbox/_config.py107CODE
LOWlibs/python/cua-sandbox/cua_sandbox/image.py516CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py64CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py477CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py158CODE
LOW…ython/cua-sandbox/cua_sandbox/transport/fleet_cloud.py517CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/ssh.py192CODE
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py82CODE
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py175CODE
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py363CODE
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py827CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/compat.py232CODE
LOW…thon/cua-sandbox/cua_sandbox/runtime/qemu_installer.py113CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/docker.py110CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/docker.py287CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/qemu.py268CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/qemu.py784CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/qemu.py823CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/lume.py274CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/lume.py409CODE
LOWlibs/python/cua-sandbox/cua_sandbox/registry/resolve.py128CODE
LOW…bs/python/cua-sandbox/cua_sandbox/registry/manifest.py43CODE
LOW…bs/python/cua-sandbox/cua_sandbox/registry/manifest.py186CODE
LOW…bs/python/cua-sandbox/cua_sandbox/registry/manifest.py234CODE
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py118CODE
466 more matches not shown…
AI Slop Vocabulary97 hits · 191 pts
SeverityFileLineSnippetContext
LOWtests/agent_loop_testing/agent_test.py123 # All other commands just return successCOMMENT
MEDIUMlibs/cua-driver/python/src/cua_driver/wrapper.py74 # test harness. The Rust binary owns validation, consent, identity, andCOMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py4687 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py5375 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py5910 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py6052 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py6266 # and just create a new instance with the required handle.COMMENT
MEDIUMlibs/cua-driver/rust/crates/cua-driver/Cargo.toml79# Shared integration-test harness (MCP/CLI transports, child reaping, paths,COMMENT
MEDIUM…river/rust/crates/cua-driver/tests/harness_wpf_test.rs1503 // coords, so it's the more robust slider integration test.COMMENT
MEDIUM…st/crates/cua-driver/tests/desktop_scope_linux_test.rs17//! #[ignore] (needs an X11/Xwayland display + AT-SPI + the GTK3 harness). Run:COMMENT
MEDIUM…st/crates/cua-driver/tests/desktop_scope_linux_test.rs101/// carries that aid and has a frame, so we're robust to the exact field name.COMMENT
MEDIUM…s/cua-driver/tests/standalone_browser_behavior_test.rs78 r#"<main class="harness-grid">"#,CODE
MEDIUM…-driver/rust/crates/platform-linux/src/atspi/native.rs2177/// Vision/pixel click that actually lands — the Wayland answer (and a robustCOMMENT
MEDIUM…driver/rust/crates/platform-windows/src/tools/impl_.rs5649 // the string. Documented gap-closer (PR #1699 harness exposed).COMMENT
MEDIUM…ust/crates/platform-windows/src/tools/page_bookmark.rs142/// is robust against re-renders that change the title mid-flight.COMMENT
MEDIUM…a-driver/rust/crates/platform-macos/src/tools/click.rs266 // screenshot width / logical screen width. This is robust even whenCOMMENT
MEDIUMlibs/cua-driver/scripts/_install-common.sh114 # user's `cua-driver-rs-foo` test harness or any scriptCOMMENT
MEDIUMlibs/cua-driver/scripts/_install-common.sh173 # robust to a missing trailing newline.COMMENT
MEDIUMlibs/cuabot/src/cuabotd.ts525 // Xpra runs in seamless mode - each app window is a separate Xpra window on the host,COMMENT
MEDIUM…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py639 """Retrieves the current status of the emulator. This includes comprehensiveSTRING
LOWlibs/python/cua-sandbox/cua_sandbox/registry/resolve.py99 # For containers, docker pull handles everything — just return the refCOMMENT
LOWlibs/python/cua-sandbox/cua_sandbox/builder/build.py334 # Nothing to bake in — just use the baseSTRING
LOWlibs/python/agent/cua_agent/agent.py93 # Handle enums — just use their valueCOMMENT
LOWlibs/python/agent/cua_agent/integrations/hud/agent.py272 # If we don't have the tool call inputs, we should just use the previous outputSTRING
LOWlibs/python/agent/cua_agent/loops/gemini.py80 # Handle enums early — just use their valueCOMMENT
MEDIUM…andlers/_grpc_emulator/emulator_controller_pb2_grpc.py639 """Retrieves the current status of the emulator. This includes comprehensiveSTRING
MEDIUM…andbox_apps/apps/eclipse-ide/linux/extract_metadata.sh3# Extract metadata for Eclipse IDE - robust versionCOMMENT
MEDIUM…a_sandbox_apps/apps/eclipse-ide/linux/logs/result.json8 "extract_metadata_script": "#!/bin/bash\n\n# Extract metadata for Eclipse IDE - robust version\n\n# First, try to findCODE
LOW…s/apps/eclipse-ide/linux/logs/transcript/page-001.html259 &#34;content&#34;: &#34;#!/bin/bash\nset -e\n\necho \&#34;=== Installing Eclipse IDE ===\&#34;\n\n# Update system packCODE
MEDIUM…s/apps/eclipse-ide/linux/logs/transcript/page-001.html747 &#34;content&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Eclipse IDE - robust version\n\n# First, try to find EclCODE
MEDIUM…s/apps/eclipse-ide/linux/logs/transcript/page-001.html825 &#34;content&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Eclipse IDE - robust version\n\n# First, try to find EclCODE
MEDIUM…s/apps/eclipse-ide/linux/logs/transcript/page-001.html860 &#34;extract_metadata_script&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Eclipse IDE - robust version\n\n# FirsCODE
MEDIUM…a_sandbox_apps/apps/netbeans/linux/extract_metadata.sh3# Extract NetBeans metadata with robust discoveryCOMMENT
MEDIUM…/cua_sandbox_apps/apps/netbeans/linux/logs/result.json7 "extract_metadata_script": "#!/bin/bash\n\n# Extract NetBeans metadata with robust discovery\n\n# Find the binary usinCODE
MEDIUM…apps/apps/netbeans/linux/logs/transcript/page-001.html2707# Extract NetBeans metadata with robust discoveryCOMMENT
MEDIUM…apps/apps/netbeans/linux/logs/transcript/page-001.html2341 - extract_metadata_script: FAIL: The script hardcodes a fallback version (&quot;29&quot;) when dynamic discovery failsCODE
MEDIUM…apps/apps/netbeans/linux/logs/transcript/page-001.html2626 &#34;content&#34;: &#34;#!/bin/bash\n\n# Extract NetBeans metadata with robust discovery\n\n# Find the binary using whCODE
MEDIUM…apps/apps/netbeans/linux/logs/transcript/page-001.html2664 &#34;content&#34;: &#34;#!/bin/bash\n\n# Extract NetBeans metadata with robust discovery\n\n# Find the binary using whCODE
MEDIUM…apps/apps/netbeans/linux/logs/transcript/page-001.html2886 &#34;extract_metadata_script&#34;: &#34;#!/bin/bash\n\n# Extract NetBeans metadata with robust discovery\n\n# Find tCODE
MEDIUM…apps/apps/netbeans/linux/logs/transcript/page-001.html2907 &#34;notes&#34;: &#34;Apache NetBeans 29 successfully installed and launched on Linux. Application requires Java 21 CODE
MEDIUM…ps/apps/kubernetes/linux/logs/transcript/page-001.html2255 &#34;notes&#34;: &#34;Kubernetes is a container orchestration system installed with kubectl (CLI client) v1.35.3, miCODE
MEDIUM…sandbox_apps/apps/metasploit/linux/extract_metadata.sh3# Extract metadata for Metasploit Framework - final robust versionCOMMENT
MEDIUM…ua_sandbox_apps/apps/metasploit/linux/logs/result.json7 "extract_metadata_script": "#!/bin/bash\n\n# Extract metadata for Metasploit Framework - final robust version\n\n# 1. CODE
MEDIUM…ps/apps/metasploit/linux/logs/transcript/page-001.html2761 &#34;content&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Metasploit Framework - robust version\n\n# 1. Find binarCODE
MEDIUM…ps/apps/metasploit/linux/logs/transcript/page-001.html2795 &#34;extract_metadata_script&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Metasploit Framework - robust version\CODE
MEDIUM…ps/apps/metasploit/linux/logs/transcript/page-001.html2864 &#34;content&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Metasploit Framework - final robust version\n\n# 1. FindCODE
MEDIUM…ps/apps/metasploit/linux/logs/transcript/page-001.html2898 &#34;extract_metadata_script&#34;: &#34;#!/bin/bash\n\n# Extract metadata for Metasploit Framework - final robust veCODE
MEDIUM…dbox_apps/apps/git/linux/logs/transcript/page-001.html200Based on the redirect page you&#x27;ve shared, the comprehensive installation guide is available at **https://git-scm.coCODE
LOWlibs/python/computer/computer/helpers.py310 # If from stdlib/third-party, just add importCOMMENT
LOW…bs/python/computer/computer/providers/lume/provider.py77 # No initialization needed, just return selfCOMMENT
MEDIUMlibs/kasm/src/ubuntu/install/firefox/install_firefox.sh109 # Update firefox to utilize the system certificate store instead of the one that ships with firefoxCOMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py1955 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3003 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3104 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3235 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3362 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3487 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3798 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py2384 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py3568 # and just create a new instance with the required handle.COMMENT
37 more matches not shown…
Docstring Block Structure32 hits · 160 pts
SeverityFileLineSnippetContext
HIGHlibs/python/core/cua_core/telemetry/otel.py394Create a trace span context. Args: name: Span name attributes: Span attributes Yields: STRING
HIGHlibs/python/cua-cli/cua_cli/utils/docker.py10Find a free port in the given range. Args: start: Start of port range (inclusive) end: End of port STRING
HIGHlibs/python/agent/cua_agent/computers/__init__.py38 Create a computer handler from a computer interface. Args: computer: Either a ComputerHandler instanceSTRING
HIGHlibs/python/agent/cua_agent/tools/base.py165 Verify and parse the parameters as JSON. Args: params: Parameters as string or dict STRING
HIGHlibs/python/agent/cua_agent/adapters/human_adapter.py35Queue a completion request and return the call ID. Args: messages: Messages in OpenAI format STRING
HIGHlibs/python/agent/cua_agent/adapters/human_adapter.py57Wait for human to complete the call. Args: call_id: ID of the queued completion call ReturSTRING
HIGHlibs/python/agent/cua_agent/adapters/human_adapter.py107Async version of wait_for_completion. Args: call_id: ID of the queued completion call RetuSTRING
HIGHlibs/python/computer/computer/computer.py1174 Execute a Playwright browser command. Args: command: The browser command to execute (visitSTRING
HIGHlibs/python/computer/computer/diorama_computer.py64 Send a command to the diorama interface through the computer. Args: action (str): The actiSTRING
HIGHlibs/python/computer/computer/interface/generic.py261Press a single key. Args: key: The key to press. Can be any of: - A Key enum value STRING
HIGHlibs/python/computer/computer/interface/generic.py299Press multiple keys simultaneously. Args: *keys: Multiple keys to press simultaneously. Each key caSTRING
HIGHlibs/python/computer/computer/interface/generic.py793 Execute a Playwright browser command. Args: command: The browser command to execute (visitSTRING
HIGHlibs/python/computer/computer/interface/factory.py23Create an interface for the specified OS. Args: os: Operating system type ('macos', 'linux', or 'wiSTRING
HIGHlibs/python/computer/computer/interface/base.py624Run shell command and return structured result. Executes a shell command using subprocess.run with shell=True aSTRING
HIGHlibs/python/computer/computer/providers/factory.py29Create a VM provider of the specified type. Args: provider_type: Type of VM provider to create STRING
HIGH…bs/python/computer/computer/providers/lume/provider.py392Pull a VM image from the registry. Args: name: Name for the VM after pulling image: TheSTRING
HIGHlibs/cua-bench/cua_bench/actions.py115Parse an action from repr format string. Args: action_repr: Action string in repr format, e.g., "ClickActioSTRING
HIGHlibs/cua-bench/cua_bench/actions.py139Parse an action from snake_case format string. Args: action_str: Action string in snake_case format, e.g., STRING
HIGHlibs/cua-bench/cua_bench/actions.py163Parse an action from either repr or snake_case format. This is the unified entry point for parsing action strings. STRING
HIGHlibs/cua-bench/cua_bench/actions.py247Convert a dictionary to an Action object. Args: action_dict: Dictionary with 'type' key and action parameteSTRING
HIGHlibs/cua-bench/cua_bench/iconify.py27 Process HTML containing iconify-icon elements and replace them with inline SVGs. Args: html: HTML contSTRING
HIGHlibs/cua-bench/cua_bench/computers/remote.py789Execute a shell command. Args: command: Shell command to execute check: If True (defaulSTRING
HIGHlibs/cua-bench/cua_bench/computers/remote.py865Execute a shell command (alias for shell_command). Args: command: Shell command to execute STRING
HIGHlibs/cua-bench/cua_bench/computers/base.py223Execute a shell command on the native desktop environment. This method is only available with the native providSTRING
HIGHlibs/cua-bench/cua_bench/runner/docker_utils.py65Find a free port in the given range. Args: start: Start of port range (inclusive) end: End of port STRING
HIGHlibs/cua-bench/cua_bench/agents/__init__.py28Load an agent class from an import path. Args: import_path: Import path in format 'module.path:ClassName' STRING
HIGHlibs/cua-bench/cua_bench/agents/base.py99 Render the instruction using the prompt template if provided. Args: instruction: The raw iSTRING
HIGHlibs/cua-bench/cua_bench/cli/commands/registry.py37Ensure the registry is cloned and optionally updated. Args: update: Whether to run git pull if registry exiSTRING
HIGHlibs/cua-bench/cua_bench/sessions/manager.py25Create a session provider for the specified provider. Args: provider_name: Name of the provider: STRING
HIGH…ench/cua_bench/sessions/providers/local_environment.py271Start a sandbox container. Args: platform: Platform type (linux-docker, windows-qemu, etc.) STRING
HIGHlibs/cua-bench/cua_bench/workers/worker_manager.py119Spawn N worker servers on automatically allocated free ports. Args: n_workers: Number of worker servers to STRING
HIGHlibs/cua-bench/cua_bench/apps/kicad.py426Export a SPICE netlist from a .kicad_sch using kicad-cli. Args: schematic_path: Path to the .kicad_STRING
Modern Structural Boilerplate146 hits · 144 pts
SeverityFileLineSnippetContext
LOWlibs/cua-driver/python/src/cua_driver/__init__.py171__all__ = [CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py6478__all__ = [CODE
LOW…s/cua-driver/python/src/cua_driver/_native_contract.py5309__all__ = [CODE
LOWlibs/python/cua-fleet/cua_fleet/__init__.py5__all__ = ["TrainClient"]CODE
LOWlibs/python/core/cua_core/telemetry/__init__.py24__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/__init__.py61__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py90logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/pool.py32logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/image.py31logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py19logger = logging.getLogger(__name__)CODE
LOW…s/python/cua-sandbox/cua_sandbox/transport/__init__.py14__all__ = [CODE
LOW…ython/cua-sandbox/cua_sandbox/transport/fleet_cloud.py53logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/vncssh.py17logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/http.py21logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/qmp.py29logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/ssh.py20logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/vnc.py17logger = logging.getLogger(__name__)CODE
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py29logger = logging.getLogger(__name__)CODE
LOW…thon/cua-sandbox/cua_sandbox/runtime/qemu_installer.py15logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/__init__.py14__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/docker.py23logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/hyperv.py33logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/tart.py35logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/qemu.py33logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/lume.py27logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/registry/resolve.py26logger = logging.getLogger(__name__)CODE
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py40logger = logging.getLogger(__name__)CODE
LOW…bs/python/cua-sandbox/cua_sandbox/registry/__init__.py16__all__ = [CODE
LOW…hon/cua-sandbox/cua_sandbox/registry/container_disk.py22logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/build.py35logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/overlay.py17logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/__init__.py6__all__ = ["LayerExecutor", "create_overlay", "IMAGES_DIR"]CODE
LOW…on/cua-sandbox/cua_sandbox/builder/windows_unattend.py14logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/executor.py17logger = logging.getLogger(__name__)CODE
LOW…/python/cua-sandbox/cua_sandbox/interfaces/__init__.py14__all__ = [CODE
LOWlibs/python/cua-auto/cua_auto/__init__.py34__all__ = ["mouse", "keyboard", "screen", "window", "clipboard", "shell", "terminal"]CODE
LOWlibs/python/som/som/detection.py12logger = logging.getLogger(__name__)CODE
LOWlibs/python/som/som/__init__.py15__all__ = [CODE
LOWlibs/python/som/som/visualization.py10logger = logging.getLogger(__name__)CODE
LOWlibs/python/som/som/ocr.py12logger = logging.getLogger(__name__)CODE
LOWlibs/python/som/som/detect.py34logger = logging.getLogger(__name__)CODE
LOWlibs/python/som/som/util/utils.py13logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-cli/cua_cli/auth/__init__.py10__all__ = ["OAuthCredentials", "clear_credentials", "load_credentials", "save_credentials"]CODE
LOWlibs/python/cua-cli/cua_cli/utils/__init__.py13__all__ = [CODE
LOWlibs/python/cua-cli/cua_cli/commands/__init__.py5__all__ = ["auth", "sandbox", "image", "skills", "mcp", "trajectory", "wif_token"]CODE
LOWlibs/python/mcp-server/mcp_server/__init__.py19__all__ = ["server", "main"]CODE
LOWlibs/python/cua-cloud/cua_cloud/__init__.py5__all__ = ["__version__"]CODE
LOWlibs/python/agent/benchmarks/models/__init__.py3__all__ = ["ModelProtocol"]CODE
LOWlibs/python/agent/cua_agent/__init__.py14__all__ = ["register_agent", "ComputerAgent", "Messages", "AgentResponse"]CODE
LOWlibs/python/agent/cua_agent/__init__.py18logger = logging.getLogger(__name__)CODE
LOWlibs/python/agent/cua_agent/ui/__init__.py7__all__ = ["launch_ui", "create_gradio_ui"]CODE
LOWlibs/python/agent/cua_agent/ui/gradio/__init__.py8__all__ = ["launch_ui", "create_gradio_ui"]CODE
LOWlibs/python/agent/cua_agent/tools/__init__.py16__all__ = [CODE
LOWlibs/python/agent/cua_agent/tools/browser_tool.py16logger = logging.getLogger(__name__)CODE
LOWlibs/python/agent/cua_agent/proxy/handlers.py18logger = logging.getLogger(__name__)CODE
LOWlibs/python/agent/cua_agent/playground/server.py18logger = logging.getLogger(__name__)CODE
LOWlibs/python/agent/cua_agent/playground/__init__.py5__all__ = ["PlaygroundServer"]CODE
LOW…s/python/agent/cua_agent/callbacks/trajectory_saver.py275 def _update_usage(self, usage: Dict[str, Any]) -> None:CODE
LOWlibs/python/agent/cua_agent/callbacks/logging.py72 def _update_usage(self, usage: Dict[str, Any]) -> None:CODE
LOWlibs/python/agent/cua_agent/callbacks/__init__.py15__all__ = [CODE
86 more matches not shown…
Structural Annotation Overuse84 hits · 136 pts
SeverityFileLineSnippetContext
LOWblog/app-use.md128### Step 1: Start the cua-computer-serverCOMMENT
LOWblog/app-use.md140### Step 2: Connect iPhone MirroringCOMMENT
LOWblog/app-use.md144### Step 3: Create an iPhone Automation SessionCOMMENT
LOWblog/introducing-cua-cloud-containers.md33### Step 1: Get Your API KeyCOMMENT
LOWblog/introducing-cua-cloud-containers.md43### Step 2: Launch Your First SandboxCOMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs284 // Step 1: click with from_zoom=true and NO prior zoom context — expect error.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs301 // Step 2: call zoom on that window to store context.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs321 // Step 3: click with from_zoom=true — should NOT return the "no zoom context" error.COMMENT
LOW…driver/rust/crates/platform-windows/src/tools/impl_.rs3235 // Step 2: pin overlay to target window, then animate to screen coords.COMMENT
LOW…driver/rust/crates/platform-windows/src/tools/impl_.rs3238 // Step 3: click pulse + actual click.COMMENT
LOW…river/rust/crates/platform-macos/src/input/skylight.rs540 // Step 3: defocus previous front.COMMENT
LOW…river/rust/crates/platform-macos/src/input/skylight.rs544 // Step 4: focus target.COMMENT
LOW…a-driver/rust/crates/platform-macos/src/input/mouse.rs450 // Step 1: mouseMoved at target (phase=2, clickState=0).COMMENT
LOW…a-driver/rust/crates/platform-macos/src/input/mouse.rs462 // Step 2: off-screen primer click — opens Chromium user-activation gateCOMMENT
LOW…a-driver/rust/crates/platform-macos/src/input/mouse.rs487 // Step 3: target click pair(s) with clickState stepped 1→N for double-clickCOMMENT
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py314 # Step 1: Get ISOsCOMMENT
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py322 # Step 2: Create diskCOMMENT
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py325 # Step 3: Run QEMU installCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py214 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py218 # Step 2: Convert responses items to completion messagesCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py223 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py255 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py265 # Step 5: Get all element descriptions and populate desc2xy mappingCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py283 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py286 # Step 7: Return output and usageCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py172 # Step 0: Store last computer call image, if none then take a screenshotCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py393 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py397 # Step 2: Convert responses items to completion messagesCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py407 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py434 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py443 # Step 5: Use Moondream to get coordinates for each descriptionCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py457 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py460 # Step 7: Return output and usageCOMMENT
LOW…python/computer-server/computer_server/diorama/draw.py530 # Step 1: Collect dock items to draw, with their computed target rectsCOMMENT
LOW…python/computer-server/computer_server/diorama/draw.py615 # Step 2: Pack the target rects along the main axis, removing gapsCOMMENT
LOW…python/computer-server/computer_server/diorama/draw.py673 # Step 3: Draw dock items using packed and recentered positionsCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh11# Step 1: Find the binary dynamicallyCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh41# Step 2: Find desktop entry fileCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh59# Step 3: Extract metadata from desktop entryCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh73# Step 4: Try to get version from package manager if installed as packageCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh82# Step 5: Search for icon filesCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh110# Step 6: Fallback defaultsCOMMENT
LOW…pps/cua_sandbox_apps/apps/unity/linux/logs/result.json8 "extract_metadata_script": "#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\"\"\nBINARY_PATCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2255# Step 4: Try to get version from package manager if installed as packageCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2264# Step 5: Search for icon filesCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html1917 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html1944 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2024 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2119 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2193# Step 1: Find the binary dynamicallyCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2223# Step 2: Find desktop entry fileCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2241# Step 3: Extract metadata from desktop entryCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2292# Step 6: Fallback defaultsCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2353 &#34;extract_metadata_script&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html1424 &#34;content&#34;: &#34;#!/bin/bash\n#############################################################################\n# CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2393 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2466 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2555 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2701 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html3773# Step 1: Update package listsCOMMENT
24 more matches not shown…
AI Structural Patterns166 hits · 130 pts
SeverityFileLineSnippetContext
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox_state.py24CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1895CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1924CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py594CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py710CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py770CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1366CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py34CODE
LOW…ython/cua-sandbox/cua_sandbox/transport/fleet_cloud.py424CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/vncssh.py23CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1281CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1311CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1341CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1371CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1401CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1431CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1461CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1491CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1521CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1551CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1581CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1611CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1641CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1671CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1701CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1731CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1761CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1791CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1821CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1851CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1881CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1911CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1941CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py1971CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2001CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2031CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2061CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2091CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2121CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2151CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2181CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2211CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2241CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2271CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2301CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2331CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2361CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2391CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2421CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2451CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2481CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2511CODE
LOW…ansport/_grpc_emulator/emulator_controller_pb2_grpc.py2541CODE
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py225CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/docker.py87CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/hyperv.py80CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/qemu.py222CODE
LOWlibs/python/agent/cua_agent/agent.py263CODE
LOWlibs/python/agent/cua_agent/ui/gradio/app.py201CODE
LOWlibs/python/agent/cua_agent/ui/gradio/ui_components.py602CODE
106 more matches not shown…
Verbosity Indicators79 hits · 130 pts
SeverityFileLineSnippetContext
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs284 // Step 1: click with from_zoom=true and NO prior zoom context — expect error.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs301 // Step 2: call zoom on that window to store context.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs321 // Step 3: click with from_zoom=true — should NOT return the "no zoom context" error.COMMENT
LOW…driver/rust/crates/platform-windows/src/tools/impl_.rs3235 // Step 2: pin overlay to target window, then animate to screen coords.COMMENT
LOW…driver/rust/crates/platform-windows/src/tools/impl_.rs3238 // Step 3: click pulse + actual click.COMMENT
LOW…river/rust/crates/platform-macos/src/input/skylight.rs540 // Step 3: defocus previous front.COMMENT
LOW…river/rust/crates/platform-macos/src/input/skylight.rs544 // Step 4: focus target.COMMENT
LOW…a-driver/rust/crates/platform-macos/src/input/mouse.rs450 // Step 1: mouseMoved at target (phase=2, clickState=0).COMMENT
LOW…a-driver/rust/crates/platform-macos/src/input/mouse.rs462 // Step 2: off-screen primer click — opens Chromium user-activation gateCOMMENT
LOW…a-driver/rust/crates/platform-macos/src/input/mouse.rs487 // Step 3: target click pair(s) with clickState stepped 1→N for double-clickCOMMENT
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py314 # Step 1: Get ISOsCOMMENT
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py322 # Step 2: Create diskCOMMENT
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py325 # Step 3: Run QEMU installCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py214 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py218 # Step 2: Convert responses items to completion messagesCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py223 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py255 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py265 # Step 5: Get all element descriptions and populate desc2xy mappingCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py283 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py286 # Step 7: Return output and usageCOMMENT
LOWlibs/python/agent/cua_agent/loops/composed_grounded.py172 # Step 0: Store last computer call image, if none then take a screenshotCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py393 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py397 # Step 2: Convert responses items to completion messagesCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py407 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py434 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py443 # Step 5: Use Moondream to get coordinates for each descriptionCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py457 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOWlibs/python/agent/cua_agent/loops/moondream3.py460 # Step 7: Return output and usageCOMMENT
LOW…python/computer-server/computer_server/diorama/draw.py530 # Step 1: Collect dock items to draw, with their computed target rectsCOMMENT
LOW…python/computer-server/computer_server/diorama/draw.py615 # Step 2: Pack the target rects along the main axis, removing gapsCOMMENT
LOW…python/computer-server/computer_server/diorama/draw.py673 # Step 3: Draw dock items using packed and recentered positionsCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh11# Step 1: Find the binary dynamicallyCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh41# Step 2: Find desktop entry fileCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh59# Step 3: Extract metadata from desktop entryCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh73# Step 4: Try to get version from package manager if installed as packageCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh82# Step 5: Search for icon filesCOMMENT
LOW…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh110# Step 6: Fallback defaultsCOMMENT
LOW…pps/cua_sandbox_apps/apps/unity/linux/logs/result.json8 "extract_metadata_script": "#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\"\"\nBINARY_PATCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2255# Step 4: Try to get version from package manager if installed as packageCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2264# Step 5: Search for icon filesCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html1917 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html1944 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2024 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2119 &#34;content&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&#34;\&#34;\nBINARYCODE
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2193# Step 1: Find the binary dynamicallyCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2223# Step 2: Find desktop entry fileCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2241# Step 3: Extract metadata from desktop entryCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2292# Step 6: Fallback defaultsCOMMENT
LOW…ox_apps/apps/unity/linux/logs/transcript/page-001.html2353 &#34;extract_metadata_script&#34;: &#34;#!/bin/bash\n# Extract metadata for Unity Hub installation\n\nBINARY_NAME=\&CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html1424 &#34;content&#34;: &#34;#!/bin/bash\n#############################################################################\n# CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2393 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2466 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2555 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…apps/intellij-idea/linux/logs/transcript/page-001.html2701 &#34;install_script&#34;: &#34;#!/bin/bash\n########################################################################CODE
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html3773# Step 1: Update package listsCOMMENT
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html3777# Step 2: Install prerequisite packages (skip postfix for now, gitlab includes it)COMMENT
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html3786# Step 3: Add GitLab repositoryCOMMENT
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html3790# Step 4: Install GitLab (skip postfix, gitlab provides it)COMMENT
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html4548 &#34;content&#34;: &#34;#!/bin/bash\n# GitLab Installation Script for Ubuntu Linux\n# This script installs GitLab EnteCODE
LOW…x_apps/apps/gitlab/linux/logs/transcript/page-001.html4666 &#34;install_script&#34;: &#34;#!/bin/bash\n# GitLab Installation Script for Ubuntu Linux\n# This script installs GiCODE
19 more matches not shown…
Modern AI Meta-Vocabulary38 hits · 106 pts
SeverityFileLineSnippetContext
MEDIUMdocs/scripts/modal_app.py705 # Initialize embedding modelCOMMENT
MEDIUMdocs/scripts/modal_app.py1820 # Initialize embedding model - load eagerly to avoid cold start on first searchCOMMENT
MEDIUMdocs/scripts/modal_app.py1408 # Initialize embedding model and schemaSTRING
MEDIUMdocs/scripts/docs-mcp-server/main.py163# Initialize embedding model - load eagerly to avoid cold start on first searchCOMMENT
MEDIUMblog/build-your-own-operator-on-macos-2.md166- **Anthropic Loop**: Implements a [multi-agent loop pattern](https://platform.claude.com/docs/en/agents-and-tools/tool-CODE
MEDIUMblog/build-your-own-operator-on-macos-2.md194- **AgentLoop.ANTHROPIC**: Ideal for users with Anthropic API access who need strong reasoning capabilities with computeCODE
MEDIUMblog/clawcon-multiplayer.md7We're early OpenClaw contributors and sponsors (we documented [how to deploy OpenClaw to macOS sandboxes with Lume](httpCODE
MEDIUMlibs/cua-driver/python/src/cua_driver/_native.py477 # Get the scaffolding contract version by calling the into the dylibCOMMENT
MEDIUM…s/cua-driver/python/src/cua_driver/_native_contract.py475 # Get the scaffolding contract version by calling the into the dylibCOMMENT
MEDIUM…river/rust/crates/cua-driver-core/src/text_sanitize.rs19//! closing tags before the text leaves the tool layer. Three guardrailsCOMMENT
MEDIUM…river/rust/crates/cua-driver-core/src/text_sanitize.rs59/// See module docs for the false-positive guardrails. The function isCOMMENT
MEDIUM…andbox-apps/cua_sandbox_apps/discovery/batch_enrich.py281 # Also skip already fully enriched (from prior agent-based run or prior batch)COMMENT
MEDIUM…ps/apps/kubernetes/linux/logs/transcript/page-001.html1659 &#34;notes&#34;: &#34;Kubernetes is a container orchestration system. On Linux, it&#39;s primarily used as a CLI tooCODE
MEDIUM…ps/apps/kubernetes/linux/logs/transcript/page-001.html1973 &#34;notes&#34;: &#34;Kubernetes is a container orchestration system. On Linux, the primary interface is through theCODE
MEDIUM…ps/apps/kubernetes/linux/logs/transcript/page-001.html2255 &#34;notes&#34;: &#34;Kubernetes is a container orchestration system installed with kubectl (CLI client) v1.35.3, miCODE
MEDIUM…apps/elasticsearch/linux/logs/transcript/page-001.html1223 &#34;command&#34;: &#34;cat &gt; /tmp/es_status.html &lt;&lt; &#39;EOF&#39;\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;CODE
MEDIUMlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py475 # Get the scaffolding contract version by calling the into the dylibCOMMENT
MEDIUMlibs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py477 # Get the scaffolding contract version by calling the into the dylibCOMMENT
MEDIUMlibs/fleet/scripts/generate-sdk-bindings.sh671# Add the callback-handle map and vtable that its Rust scaffolding expects.COMMENT
MEDIUMlibs/cua-bench/tasks/winarena_adapter/infra/README.md99│ ├── run_azure_batch.py # Azure Batch orchestrationCODE
MEDIUM…asks/winarena_adapter/infra/docs/WAA_IMPLEMENTATION.md99│ ├── run_azure_batch.py # Azure Batch orchestrationCODE
MEDIUM…-bench/datasets/cua-bench-basic/click-button/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…ch/datasets/cua-bench-basic/right-click-menu/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…ua-bench/datasets/cua-bench-basic/click-icon/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…nch/datasets/cua-bench-basic/select-dropdown/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…cua-bench/datasets/cua-bench-basic/fill-form/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…-bench/datasets/cua-bench-basic/typing-input/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…a-bench/datasets/cua-bench-basic/date-picker/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…a-bench/datasets/cua-bench-basic/drag-slider/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…ch/datasets/cua-bench-basic/spreadsheet-cell/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…bench/datasets/cua-bench-basic/toggle-switch/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…-bench/datasets/cua-bench-basic/color-picker/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…-bench/datasets/cua-bench-basic/video-player/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUM…cua-bench/datasets/cua-bench-basic/drag-drop/CLAUDE.md1# cua-bench environment scaffolding guideCOMMENT
MEDIUMscripts/ci/linux/run-rust-e2e-wayland.sh13 # orchestration label separate so focus, z-order, and sentinel observers useCOMMENT
MEDIUM.github/workflows/cd-rust-cua-driver.yml1031 # but run orchestration helpers from the exact workflow revision that wasCOMMENT
MEDIUM.github/release-backfill/rendered.json258 "finalBody": "> **cua-driver-rs**\n>\n> `cua-driver-rs` is the Rust implementation of\n> [`cua-driver`](https://giCODE
MEDIUM.github/release-backfill/catalog.json5131 "body": "> **cua-driver-rs**\n>\n> `cua-driver-rs` is the Rust implementation of\n> [`cua-driver`](https://github.CODE
Magic Placeholder Names6 hits · 28 pts
SeverityFileLineSnippetContext
HIGHblog/introducing-cua-cli.md70cua auth login --api-key sk-your-api-key-hereCODE
HIGHblog/introducing-cua-cli.md117 api_key="your-api-key" # Or load from .envCODE
HIGHblog/introducing-cua-cli.md174export CUA_API_KEY="sk-your-api-key"CODE
HIGHblog/cloud-windows-ga-macos-preview.md50 api_key="your-api-key"CODE
HIGHblog/cloud-windows-ga-macos-preview.md61provider = CloudProvider(api_key="your-api-key")CODE
HIGH…bs/python/agent/cua_agent/adapters/azure_ml_adapter.py28 api_key = "your-api-key"STRING
Fake / Example Data19 hits · 21 pts
SeverityFileLineSnippetContext
LOWblog/sandboxed-python-execution.md158 page.fill('input[name="custtel"]', "555-0123")CODE
LOW…river/rust/crates/cua-driver-core/src/text_sanitize.rs230 let ok = "Lorem ipsum dolor sit amet.";CODE
LOW…river/rust/crates/cua-driver-core/src/text_sanitize.rs230 let ok = "Lorem ipsum dolor sit amet.";CODE
LOW…er/rust/crates/cua-driver-core/src/browser/semantic.rs673 let name = ["aria-label", "placeholder", "title", "name", "id"]CODE
LOW…iver/rust/crates/cua-driver-core/src/browser/engine.rs2816 "placeholder",CODE
LOW…rust/crates/platform-windows/src/browser_consent_ui.rs660 let mut nodes = prompt("placeholder", ["A", "B", "C"]);CODE
LOW…r/rust/crates/platform-windows/src/browser_setup_ui.rs813 let mut checkbox = node("CheckBox", "placeholder", None, &["toggle"]);CODE
LOW…r/rust/crates/platform-windows/src/browser_setup_ui.rs818 "placeholder",CODE
LOW…r/rust/crates/platform-windows/src/browser_setup_ui.rs823 let mut document = node("Document", "placeholder", None, &[]);CODE
LOW…ua-driver/rust/crates/platform-macos/src/tools/page.rs344 "['tagName','textContent','href','id','class','type','value','placeholder','name']"CODE
LOWlibs/python/cua-sandbox/tests/test_cloud.py235 await Sandbox._create(api_key="sk-test-fake-key")CODE
LOW…box-apps/cua_sandbox_apps/apps/pgadmin/linux/launch.sh15bash -c "source $INSTALL_DIR/venv/bin/activate && (echo 'admin@example.com'; echo 'pgadmin123'; echo 'pgadmin123') | timCODE
LOW…s/cua_sandbox_apps/apps/pgadmin/linux/logs/result.json6 "launch_script": "#!/bin/bash\n# Launch pgAdmin4 in Desktop Mode\n\nINSTALL_DIR=\"/opt/pgadmin4\"\n\n# Set up environmCODE
LOWlibs/fleet/backend/auth/policy_card_admission_test.go187 {name: "email-like noncanonical identity is not admin", enabled: true, admins: []string{"admin@example.com"}, user: "uCODE
LOWlibs/fleet/sdk/tests/claim_flow.rs324 let first = claim("placeholder", claim_spec("short-template"), None);CODE
LOW…s/cua-bench/datasets/cua-bench-basic/fill-form/main.py23 "name": "Jane Doe",CODE
LOWlibs/cua-bench/cua_bench/scripts/task_registry.md60 "authors": [{ "name": "Jane Doe", "email": "jane@example.com" }],CODE
LOWlibs/cua-driver-fixtures/form_all_inputs.html59 <input type="tel" id="f-tel" name="tel_field" placeholder="555-1234">CODE
LOWskills/gui-automation/SKILL.md59cua do click 400 200 && cua do type "Jane Doe"CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…python/agent/cua_agent/callbacks/operator_validator.py24 # Mutate in-place as requested, but still return the list for chainingCOMMENT
HIGHlibs/typescript/agent/src/client.ts177 // Initialize peer connection with default options as requestedCOMMENT
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…pps/apps/wireshark/linux/logs/transcript/page-001.html215<div class="message tool-reply" id="msg-2026-04-13T00-25-02-063Z"><div class="message-header"><span class="role-label">TCODE
LOWlibs/lume/src/FileSystem/Settings.swift478 // Don't forget to add the last locationCOMMENT
MEDIUM…ench/tasks/winarena_adapter/evaluators/getters/misc.py101 # special case, you can add more special cases hereCOMMENT
MEDIUM…ench/tasks/winarena_adapter/evaluators/getters/misc.py193 # you can add other replace rules hereCOMMENT
MEDIUMlibs/cua-bench/cua_bench/processors/base.py188 # This is a basic implementation - subclasses may override for custom schemasCOMMENT
Overly Generic Function Names7 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/test_venv.py82 def test_function(message="Hello World"):CODE
LOWlibs/python/computer/tests/test_helpers.py105 def helper(x):CODE
LOWlibs/python/computer/tests/test_helpers.py113 assert "def helper(x):" in codeCODE
LOWlibs/python/computer/tests/test_helpers.py161 def helper(x):CODE
LOWlibs/python/computer/tests/test_helpers.py170 assert "def helper(x):" in codeCODE
LOWlibs/cua-bench/cua_bench/runner/task_runner.py147 async def run_task(CODE
LOWlibs/cua-bench/cua_bench/batch/__init__.py157 async def run_task(task_index: int) -> List[str]:CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWlibs/cua-driver/scripts/uninstall.sh58# Usage:COMMENT
LOW…on/computer-server/computer_server/diorama/safezone.py188 # Example usageCOMMENT
LOWlibs/lume/scripts/setup-cua.sh16# Usage:COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWlibs/python/agent/cua_agent/agent.py813 # TODO: implement a callback for safety checksCOMMENT
LOWlibs/python/agent/cua_agent/agent.py843 # # TODO: implement a callback for URL safety checksCOMMENT
LOW…hon/computer-server/computer_server/utils/wallpaper.py203 elif desktop_env == "razor-qt": # TODO: implement reload of desktop when possibleCODE