AI Slop Code RIsk Monitor

trycua/cua

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

8.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for trycua/cua, a Rust project with 29,295 GitHub stars. SynthScan examined 2,169,610 lines of code across 7006 source files, recording 13356 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 8.6 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.6
Adjusted Signal
8.6
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
29.3K
Stars
Rust
Language
2.2M
Lines of Code
7.0K
Files
13.4K
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 8646 finding(s).

Hallucinated Dependency & Supply Chain Risk 6.3/100 · LOW

Are imports declared and package/API names verified? 1948 finding(s).

Agent Over-Engineering Ratio 22.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 6623 finding(s).

PR Review Velocity Impact 36.4/100 · MEDIUM

Which changes need focused human review? 13356 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 21HIGH 641MEDIUM 1447LOW 11247

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 13356 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers3740 hits · 3808 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
LOW⚡tests/test_image_builder_cloud.py51async def test_android_env_multiple():CODE
LOWtests/test_public_containerdisk_refs.py14 def test_tracked_files_do_not_reference_private_containerdisk_repositories(self) -> None:CODE
LOW⚡tests/test_interfaces.py274 async def test_screenshot_returns_bytes(self):CODE
LOW⚡tests/test_interfaces.py279 async def test_screenshot_png_magic(self):CODE
LOW⚡tests/test_interfaces.py567 async def test_keypress_combination(self):CODE
LOW⚡tests/test_interfaces.py588 async def test_forward_single_context_manager(self):CODE
LOW⚡tests/test_interfaces.py776 async def test_get_active_title_returns_string(self):CODE
LOW⚡tests/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
LOW⚡tests/test_telemetry.py43 def test_disabled_when_cua_telemetry_is_off(self, monkeypatch):CODE
LOW⚡tests/test_telemetry.py47 def test_enabled_when_nothing_set(self):CODE
LOW⚡tests/test_telemetry.py54 def test_disabled_by_do_not_track(self, monkeypatch):CODE
LOW⚡tests/test_telemetry.py58 def test_off_in_ci_unless_opted_in(self, monkeypatch):CODE
LOW⚡tests/test_telemetry.py64 def test_record_event_uses_mocked_client_only(self, offline):CODE
LOW⚡tests/test_telemetry.py70 def test_record_event_noop_when_disabled(self, offline, monkeypatch, tmp_path):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
LOW…/integration/sandbox_cli/test_linux_cloud_container.py34async def test_linux_cloud_container():CODE
LOW…ntegration/sandbox_cli/test_linux_local_registry_vm.py42async def test_linux_local_registry_vm():CODE
LOW…/integration/sandbox_sdk/test_linux_local_container.py37async def test_linux_local_container():CODE
LOW…ntegration/sandbox_sdk/test_macos_local_registry_vm.py42async def test_macos_local_registry_vm():CODE
LOW…integration/sandbox_sdk/test_linux_local_osworld_vm.py56async def test_linux_local_osworld_vm():CODE
LOW…/integration/sandbox_sdk/test_linux_cloud_container.py32async def test_linux_cloud_container():CODE
LOW…ntegration/sandbox_sdk/test_linux_local_registry_vm.py44async def test_linux_local_registry_vm():CODE
LOW…/integration/sandbox_sdk/test_android_local_gym_pwa.py93async def test_android_local_gym_pwa():CODE
LOW⚡tests/e2e/cua-sdk/test_run_janitor.py29 def test_only_this_runs_prefix(self) -> None:CODE
LOW⚡tests/e2e/cua-sdk/test_run_janitor.py32 def test_refuses_run_ids_that_could_widen_the_match(self) -> None:CODE
LOW⚡tests/e2e/cua-sdk/test_run_janitor.py37 def test_nothing_matches_nothing_removed(self) -> None:CODE
LOW…s/e2e/cua-sdk/test_fleet_gateway_conformance_bearer.py80def test_bearer_file_is_private_rewritten_on_refresh_and_removed_on_stop():CODE
LOW…s/e2e/cua-sdk/test_fleet_gateway_conformance_bearer.py97def test_background_thread_refreshes_before_expiry():CODE
LOWtests/e2e/cua-sdk/python/conftest.py49def pytest_runtest_makereport(item, call):CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py165def test_first_cloud_fleet_fake(fake_fleet, fixtures):CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py195def test_first_cloud_fleet_live(live_fleet):CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py212def test_first_cloud_fleet_env_image(live_fleet):CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py240def test_first_cloud_fleet_env_image_kubevirt(live_fleet):CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py376def test_ephemeral_pool_cleaned_up_live(live_fleet):CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py383def test_pool_name_collision_is_typed(live_fleet):CODE
LOWtests/e2e/cua-sdk/python/test_images.py127def test_cli_build_push_run_container(local_cua, tmp_path):CODE
LOWtests/e2e/cua-sdk/python/test_images.py164def test_sdk_local_layers_apply(local_cua):CODE
3680 more matches not shown…
Decorative Section Separators1126 hits · 3504 pts
SeverityFileLineSnippetContext
MEDIUMtools/cli-cast/record.py55# --------------------------------------------------------------------------COMMENT
MEDIUMtools/cli-cast/record.py57# --------------------------------------------------------------------------COMMENT
MEDIUMtools/cli-cast/record.py90# --------------------------------------------------------------------------COMMENT
MEDIUMtools/cli-cast/record.py92# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/cli-cast/record.py158# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/cli-cast/record.py160# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/cli-cast/record.py177# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/cli-cast/record.py179# --------------------------------------------------------------------------COMMENT
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
MEDIUM⚡tests/test_image_builder_cloud.py59# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_image_builder_cloud.py61# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py72# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_image_builder_cloud.py74# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_interfaces.py263# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_interfaces.py265# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_interfaces.py577# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_interfaces.py579# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_interfaces.py767# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/test_interfaces.py769# ═══════════════════════════════════════════════════════════════════════════COMMENT
1066 more matches not shown…
Over-Commented Block3607 hits · 3286 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml41 args: ["--fix"]COMMENT
LOWtools/cli-cast/record-all.sh1#!/usr/bin/env bashCOMMENT
LOWtools/cli-cast/record.py61# through these rules. They are applied to the *bytes* as recorded, before theCOMMENT
LOWtools/cli-cast/record.py81 # machine and is pure noise in a golden.COMMENT
LOWtools/cli-cast/record.py181# Steps are intentionally few, because anything cleverer is a test frameworkCOMMENT
LOWnix/cua-driver/compositor/cua_compositor_patch.py1#!/usr/bin/env python3COMMENT
LOWnix/cua-driver/compositor/cua_compositor_patch.py41#include <errno.h>COMMENT
LOWtests/e2e/cua-sdk/ci-setup.sh1#!/usr/bin/env bashCOMMENT
LOWtests/e2e/local-runtimes/tests/builtin_linux.rs1//! A Linux Space on the built-in Linux runtime, through the Spaces SDK theCOMMENT
LOWtests/e2e/local-runtimes/tests/fleet_catalog.rs1//! Every Fleet catalog image, booted locally through the SDKCOMMENT
LOWtests/e2e/local-runtimes/tests/fleet_catalog.rs21//! written to `CUA_E2E_FLEET_CATALOG_REPORT` (defaultCOMMENT
LOWtests/e2e/local-runtimes/src/lib.rs1//! Shared helpers for the local-runtime e2e suite.COMMENT
LOWdocs/public/scripts/openai-agents/run_openai_agents.py1#!/usr/bin/env python3COMMENT
LOWdocs/scripts/modal_app.py41image = (COMMENT
LOWdocs/scripts/modal_app.py621# 1. DOCUMENTATION DATABASES (from cua.ai/docs crawl):COMMENT
LOWdocs/scripts/modal_app.py641#COMMENT
LOW…s/cua-driver/kwin-target-helper/kwin_target_helper.cpp1// SPDX-License-Identifier: MITCOMMENT
LOW…r/tools/cursor-gallery/motion-lab/motion/candidates.js1// Candidate motion styles for the Cua Driver agent cursor.COMMENT
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…hyprland-plugin/tests/desktop_fault_policy_fixture.cpp1// Used by desktop_fault_policy_test.py, which inserts actual production bodies.COMMENT
LOW…bs/cua-driver/hyprland-plugin/tests/transport_test.cpp1#include "cua_hyprland/protocol.hpp"COMMENT
LOWlibs/cua-driver/hyprland-plugin/tests/primary_grab.c1/* Independent foreground adversary. Build with the generated wlr virtualCOMMENT
LOW…ugin/tests/cmake-api/include/src/plugins/PluginAPI.hpp1#pragma onceCOMMENT
LOW…ua-driver/hyprland-plugin/tests/mock-hyprland/mock.hpp1#pragma onceCOMMENT
LOWlibs/cua-driver/hyprland-plugin/src/primary_trace.cpp1#include "primary_trace.hpp"COMMENT
LOW…bs/cua-driver/hyprland-plugin/src/input_experiment.cpp1// Independent-seat design adapted from Dillon DuPont's Hyprland prototype.COMMENT
LOW…bs/cua-driver/hyprland-plugin/src/input_experiment.cpp21#include <src/desktop/state/FocusState.hpp>COMMENT
LOW…bs/cua-driver/hyprland-plugin/src/input_experiment.cpp41#include <cerrno>COMMENT
LOW…bs/cua-driver/hyprland-plugin/src/input_experiment.cpp301 keymap_text = std::move(text);COMMENT
LOWlibs/cua-driver/hyprland-plugin/src/inject_server.cpp1#include "inject_server.hpp"COMMENT
LOWlibs/cua-driver/hyprland-plugin/src/plugin.cpp1#include "inject_server.hpp"COMMENT
LOWlibs/cua-driver/hyprland-plugin/src/plugin.cpp221#ifdef CUA_HYPRLAND_INPUTCOMMENT
LOW…/cua-driver/hyprland-plugin/src/keymap_equivalence.hpp1#pragma onceCOMMENT
LOWlibs/cua-driver/rust/crates/pip-preview/src/lib.rs1//! pip-preview — shared types + trait for the experimentalCOMMENT
LOWlibs/cua-driver/rust/crates/pip-preview/src/lib.rs241 cfg.geometry = cli.geometry;COMMENT
LOW…-driver/rust/crates/cua-driver-testkit/src/response.rs1//! Normalized tool response — the common shape both transports return.COMMENT
LOW…river/rust/crates/cua-driver-testkit/src/host_state.rs1//! Per-daemon isolation from the developer's real per-user state.COMMENT
LOW…river/rust/crates/cua-driver-testkit/src/host_state.rs21//! override instead. Known limitation: the Windows Computer History rootCOMMENT
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…er/rust/crates/cua-driver-testkit/src/boundary_fuzz.rs1//! Fuzz target bodies for the transport-free MCP tool-call boundary.COMMENT
LOW…ua-driver/rust/crates/cua-driver-testkit/src/daemon.rs181/// How far a single readiness probe progressed.COMMENT
LOW…s/cua-driver/rust/crates/cua-driver-testkit/src/mcp.rs81COMMENT
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…ust/crates/cua-driver/tests/schema_consistency_test.rs1//! Cross-platform tool-contract consistency gate.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs1//! Image / capture / recording tool tests.COMMENT
LOW…/cua-driver/tests/named_pipe_instance_recovery_test.rs1#![cfg(target_os = "windows")]COMMENT
LOW…/cua-driver/tests/testkit_host_state_isolation_test.rs1//! Regression coverage for #4094: testkit-owned daemons must not inherit theCOMMENT
LOW…st/crates/cua-driver/tests/protocol_tools_call_test.rs1//! Per-tool `tools/call` integration tests.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 tools/list roster and tool-error surface tests.COMMENT
LOW…/cua-driver/tests/transport_config_persistence_test.rs1//! Transport axis: CLI `set_config` visibility across daemon-backed shellCOMMENT
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.rs161 platform::kick()COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs181 let resolved = exe;COMMENT
LOWlibs/cua-driver/rust/crates/cua-driver/src/autostart.rs221/// **Every failure path must exit non-zero.** The original one-liner wasCOMMENT
3547 more matches not shown…
Unused Imports1647 hits · 1434 pts
SeverityFileLineSnippetContext
LOWtools/cli-cast/scrub.py12CODE
LOWtools/cli-cast/record.py33CODE
LOWtests/test_image_builder.py12CODE
LOWtests/android_rps_benchmark_local.py11CODE
LOWtests/android_rps_benchmark.py11CODE
LOWtests/android_rps_benchmark.py17CODE
LOWtests/test_image_builder_cloud.py11CODE
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
LOWtests/e2e/cua-sdk/run.py23CODE
LOWtests/e2e/cua-sdk/fleet_gateway_conformance.py26CODE
LOWtests/e2e/cua-sdk/test_run_janitor.py6CODE
LOW…s/e2e/cua-sdk/test_fleet_gateway_conformance_bearer.py10CODE
LOWtests/e2e/cua-sdk/python/conftest.py8CODE
LOWtests/e2e/cua-sdk/python/test_fleet_guides.py17CODE
LOWtests/e2e/cua-sdk/python/test_images.py15CODE
LOWtests/e2e/cua-sdk/python/test_unified_api.py20CODE
LOWtests/e2e/cua-sdk/python/test_daemon_agnostic.py8CODE
LOWtests/e2e/cua-sdk/python/test_docs_blocks.py34CODE
LOWtests/e2e/cua-sdk/python/e2e.py15CODE
LOWtests/e2e/cua-sdk/python/test_daemon_vs_embedded.py10CODE
LOWtests/e2e/cua-sdk/python/test_browse.py16CODE
LOWtests/e2e/cua-sdk/python/test_local_vm.py11CODE
LOWtests/e2e/cua-sdk/python/test_sandbox_parity.py20CODE
LOWtests/e2e/cua-sdk/python/test_direct_connect.py8CODE
LOWtests/e2e/cua-sdk/python/test_desktop.py16CODE
LOWtests/e2e/cua-sdk/python/test_cua_sandbox_guides.py10CODE
LOWtests/e2e/cua-sdk/docs/test_config_lane.py3CODE
LOWtests/e2e/cua-sdk/docs/test_coverage.py3CODE
LOWtests/e2e/cua-sdk/docs/cli_shape.py20CODE
LOWtests/e2e/cua-sdk/docs/test_preludes.py11CODE
LOWtests/e2e/cua-sdk/docs/config_lane.py16CODE
LOWtests/e2e/cua-sdk/docs/compile_lane.py17CODE
1587 more matches not shown…
Empty Error Handlers288 hits · 1398 pts
SeverityFileLineSnippetContext
HIGHtools/cli-cast/record.py366except ProcessLookupError:CODE
HIGHtools/cli-cast/record.py362except OSError:CODE
HIGHtests/android_rps_benchmark.py487except FileNotFoundError:CODE
HIGHtests/integration/sandbox_cli/test_android_local_cdp.py61except Exception:CODE
HIGHtests/e2e/cua-sdk/fleet_gateway_conformance.py152except OSError:CODE
HIGHtests/e2e/cua-sdk/fleet_gateway_conformance.py216except OSError:CODE
HIGHtests/e2e/cua-sdk/python/test_daemon_agnostic.py185except cua.CuaError.NotFound:CODE
HIGHtests/e2e/cua-sdk/python/test_docs_blocks.py457except cua.CuaError:CODE
HIGHtests/e2e/cua-sdk/python/test_desktop.py110except cua.CuaError.NotFound:CODE
HIGHdocs/public/examples/local-models/cua-mcp-filter.py127except (BrokenPipeError, OSError):CODE
HIGHdocs/public/examples/local-models/cua-mcp-filter.py132except OSError:CODE
HIGHdocs/public/examples/local-models/cua-mcp-filter.py165except (json.JSONDecodeError, AttributeError, TypeError):CODE
HIGHdocs/public/examples/local-models/cua-mcp-filter.py123except (json.JSONDecodeError, AttributeError):CODE
HIGHlibs/cua-driver/python/src/cua_driver/_native.py2374except RuntimeError:CODE
HIGH…-driver/hyprland-plugin/proofs/production_app_smoke.py556except Exception:CODE
HIGH…prland-plugin/proofs/production_desktop_fault_proof.py505except BrokenPipeError:CODE
HIGH…bs/cua-driver/hyprland-plugin/proofs/production_mcp.py46except (BrokenPipeError, OSError):CODE
HIGH…prland-plugin/proofs/production_session_fault_proof.py381except BrokenPipeError:CODE
HIGHlibs/cua-driver/hyprland-plugin/tests/realapp_proof.py346except (OSError, RuntimeError): passCODE
HIGH…/cua-driver/hyprland-plugin/tests/driver_input_live.py211except OSError:CODE
HIGHlibs/cua-driver/hyprland-plugin/tests/desktop_faults.py331except BrokenPipeError:CODE
HIGH…ua-driver/hyprland-plugin/tests/retirement_evidence.py100except ConnectionResetError:CODE
HIGH…r/rust/crates/cua-perception/scripts/quality_runner.py613except Exception:CODE
HIGH…r/rust/crates/cua-perception/scripts/quality_runner.py1084except Exception:CODE
HIGH…r/rust/crates/cua-perception/scripts/quality_runner.py701except Exception:CODE
HIGH…r/rust/crates/cua-perception/scripts/quality_runner.py899except Exception:CODE
HIGHlibs/cua-driver/examples/jev-use/fixture_server.py129except KeyboardInterrupt:CODE
HIGH…ua-driver/examples/jev-use/verify_session_isolation.py374except Exception:CODE
HIGH…ua-driver/examples/jev-use/verify_session_isolation.py380except Exception:CODE
HIGHlibs/cua-driver/examples/agent-sdks/fixture_server.py134except KeyboardInterrupt:CODE
HIGHlibs/cua-s1/python/src/cua_s1/driver.py550except Exception:CODE
HIGHlibs/cua-s1/training/train_4b_rl.py540except Exception: # noqa: BLE001 - a memory readout must never fail a runCODE
HIGHlibs/cuabot/src/mcp/overlay-cursor.py594except KeyboardInterrupt:CODE
HIGHlibs/cuabot/src/mcp/overlay-cursor.py486except OSError:CODE
HIGHlibs/cuabot/src/mcp/overlay-cursor.py600except:CODE
HIGHlibs/cuabot/src/mcp/overlay-cursor.py576except:CODE
HIGHlibs/cuabot/src/mcp/overlay-cursor.py507except json.JSONDecodeError:CODE
HIGHlibs/cuabot/src/mcp/computer-use-mcp.py71except Exception:CODE
HIGHlibs/python/core/cua_core/telemetry/posthog.py197except Exception:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/sandbox_state.py118except (json.JSONDecodeError, OSError):CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/sandbox.py763except Exception:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/_autopool.py677except Exception: # noqa: BLE001 - the TTL reaps itCODE
HIGHlibs/python/cua-sandbox/cua_sandbox/_config.py182except FileNotFoundError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/_auth.py73except OSError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/env.py266except Exception: # noqa: BLE001 - best effort on teardownCODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/env.py272except Exception: # noqa: BLE001CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/env.py447except NotImplementedError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/vncssh.py94except Exception:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/vncssh.py106except Exception:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/qmp.py138except Exception:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/vnc.py62except Exception:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/transport/vnc.py74except Exception:CODE
HIGH…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py58except (subprocess.SubprocessError, FileNotFoundError):CODE
HIGH…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py882except Exception:CODE
HIGH…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py850except FileNotFoundError:CODE
HIGH…thon/cua-sandbox/cua_sandbox/runtime/qemu_installer.py143except OSError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/native.py351except OSError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/hyperv.py340except RuntimeError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/hyperv.py247except RuntimeError:CODE
HIGHlibs/python/cua-sandbox/cua_sandbox/runtime/hyperv.py251except RuntimeError:CODE
228 more matches not shown…
Excessive Try-Catch Wrapping1103 hits · 1212 pts
SeverityFileLineSnippetContext
LOW⚡tools/cli-cast/record.py173 except Exception as exc: # noqa: BLE001 - recording must not fail on thisCODE
LOWtools/cli-cast/record.py252 except Exception:CODE
LOWtests/android_rps_benchmark_local.py184 except Exception as e:CODE
LOWtests/cold_start_benchmark.py34 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
LOWtests/e2e/cua-sdk/fleet_gateway_conformance.py126 except Exception as e: # keep the old bearer; retry shortlyCODE
LOWtests/e2e/cua-sdk/python/e2e.py161 except Exception as error: # noqa: BLE001 - binding missing or too oldCODE
LOWtests/e2e/cua-sdk/docs/config_lane.py100 except Exception as e: # noqa: BLE001 - any parse error is the findingCODE
LOWtests/e2e/cua-sdk/docs/config_lane.py119 except Exception: # noqa: BLE001CODE
LOWtests/e2e/cua-sdk/docs/preludes/local-cleanup.py37 except Exception as _e: # noqa: BLE001 - best effort, reportedCODE
LOWtests/e2e/omarchy/omarchy_e2e.py86 except Exception as e: # noqa: BLE001 - keep polling; report the last errorCODE
LOWtests/e2e/omarchy/omarchy_e2e.py98 except Exception as e: # noqa: BLE001CODE
LOWdocs/public/scripts/openai-agents/run_openai_agents.py103 except Exception:CODE
LOWdocs/public/scripts/openai-agents/run_openai_agents.py485 except Exception:STRING
LOW⚡docs/public/scripts/openai-agents/run_openai_agents.py561 except Exception as error:STRING
LOW⚡docs/public/scripts/openai-agents/run_openai_agents.py565 except Exception as error:STRING
LOW⚡docs/public/scripts/openai-agents/run_openai_agents.py570 except Exception as error:STRING
LOWdocs/public/scripts/openai-agents/run_openai_agents.py717 except Exception as error:STRING
LOWdocs/scripts/verify-driver-first-run-linux.py396 except Exception as error:CODE
MEDIUMdocs/scripts/modal_app.py424 print(f"Error crawling {url}: {e}")CODE
LOWdocs/scripts/modal_app.py423 except Exception as e:CODE
MEDIUMdocs/scripts/modal_app.py1048 print(f"Error during parallel indexing: {e}")STRING
LOWdocs/scripts/modal_app.py1529 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1642 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1653 except Exception as e:CODE
LOWdocs/scripts/modal_app.py1046 except Exception as e:STRING
LOWdocs/scripts/modal_app.py1240 except Exception as e:STRING
LOWdocs/scripts/crawl_docs.py290 except Exception as e:CODE
MEDIUMdocs/scripts/crawl_docs.py291 print(f"Error crawling {url}: {e}")CODE
LOWdocs/scripts/docs-mcp-server/docs_index.py203 except Exception:STRING
LOWdocs/scripts/docs-mcp-server/docs_index.py356 except Exception as error:CODE
LOWdocs/scripts/docs-mcp-server/sync_docs_index.py63 except Exception as error:CODE
LOWdocs/scripts/docs-mcp-server/sync_docs_index.py181 except Exception as error:CODE
LOWdocs/scripts/docs-mcp-server/sync_docs_index.py312 except Exception as error:CODE
MEDIUMdocs/scripts/docs-mcp-server/sync_docs_index.py194def _install(stage, target, manifest):CODE
LOWdocs/scripts/docs-mcp-server/main.py100 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py184 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py195 except Exception as e:CODE
LOWdocs/scripts/docs-mcp-server/main.py278 except Exception:CODE
LOWdocs/scripts/docs-mcp-server/main.py338 except Exception:CODE
LOWdocs/scripts/docs-mcp-server/main.py401 except Exception:CODE
LOWdocs/scripts/docs-mcp-server/main.py469 except Exception:CODE
LOWblog/sandboxed-python-execution.md148 except Exception as e:CODE
LOWblog/sandboxed-python-execution.md170 except Exception as e:CODE
1043 more matches not shown…
Cross-Language Confusion193 hits · 1049 pts
SeverityFileLineSnippetContext
HIGH⚡nix/cua-driver/compositor/cua_compositor_patch.py301 if (!node || node->type != WLR_SCENE_NODE_BUFFER) return false;CODE
HIGH⚡nix/cua-driver/compositor/cua_compositor_patch.py307 if (!sc || wl_list_empty(&sc->pointers)) {CODE
HIGH⚡nix/cua-driver/compositor/cua_compositor_patch.py314 if (!sc || wl_list_empty(&sc->pointers)) return false;CODE
HIGH⚡nix/cua-driver/compositor/cua_compositor_patch.py543 if (end && !*end && fn >= 1 && fn <= 10) kc = KEY_F1 + (uint32_t)fn - 1;CODE
HIGH⚡nix/cua-driver/compositor/cua_compositor_patch.py544 else if (end && !*end && fn == 11) kc = KEY_F11;CODE
HIGH⚡nix/cua-driver/compositor/cua_compositor_patch.py545 else if (end && !*end && fn == 12) kc = KEY_F12;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py153 if (pid <= 0 || root_pid <= 0) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py154 for (int depth = 0; depth < 64 && pid > 1; depth++) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py168 if (!close || sscanf(close + 2, "%c %ld", &state, &parent) != 2 ||CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py169 parent <= 0 || parent == pid) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py205 if (a && strcmp(a, app_id) == 0) { found = t; matches++; }CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py224 if (target_pid > 0 && cua_toplevel_pid(t) == target_pid) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py245 if (target_pid > 0 && cua_toplevel_pid(t) == target_pid) target = t;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py290 if (!t || idx < 0 || idx >= CUA_MAXDEV) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py352 if (!sc || wl_list_empty(&sc->pointers)) return NULL;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py364 if (!t || idx < 0 || idx >= CUA_MAXDEV) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py369 if (!sc || wl_list_empty(&sc->pointers)) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py387 if (!t || idx < 0 || idx >= CUA_MAXDEV) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py390 if (!sc || wl_list_empty(&sc->pointers)) return false;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py435 if (cp > 0 && cp < 128 && !g_chartab[cp].valid) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py460 if (!sc || wl_list_empty(&sc->keyboards)) return NULL;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py462 if (focused && wlr_surface_get_root_surface(focused) == surface) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py564 if (!kc && key[0] && !key[1]) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py566 if (cp < 128 && g_chartab[cp].valid) kc = g_chartab[cp].keycode;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py666 if (nl > p && nl[-1] == '\r') nl[-1] = 0;CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py736 if (bind(fd, (struct sockaddr *)&addr, sizeof addr) < 0 || listen(fd, 4) < 0) {CODE
HIGHnix/cua-driver/compositor/cua_compositor_patch.py773 "\tif (!toplevel->cua_initial_activation_sent && prev_surface) {\n"STRING
HIGHnix/cua-driver/compositor/cua_compositor_patch.py819 "\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.py820 "\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
HIGHtests/e2e/cua-sdk/fleet_gateway_conformance.py160 f"mkdir -p /etc/cua && printf %s {token} >/etc/cua/env-token && "CODE
HIGHtests/e2e/cua-sdk/python/test_images.py44 "command": f"mkdir -p /opt/cua-e2e && echo {marker} > /opt/cua-e2e/marker",CODE
HIGHtests/e2e/cua-sdk/python/e2e.py102 f"mkdir -p /etc/cua && printf %s {token} >/etc/cua/env-token && "CODE
HIGHtests/e2e/cua-sdk/python/e2e.py535 'xdotool windowactivate --sync "$wid" >/dev/null 2>&1 || true; xdotool windowraise "$wid"; 'CODE
HIGHtests/e2e/cua-sdk/docs/cli_shape.py104 """``a | b && c; d`` -> [[a...], [b...], [c...], [d...]] (redirections dropped)."""STRING
HIGHtests/e2e/cua-sdk/docs/test_preludes.py123 live.push(options.name);CODE
HIGHtests/e2e/cua-sdk/docs/test_preludes.py131 deleted.push(name);CODE
HIGHtests/e2e/cua-sdk/docs/test_cli_shape.py105 "echo hi && cua sb create linux; cua sb --help",CODE
HIGHtests/e2e/browse/e2e_browse.py178 f" for i in $(seq 1 50); do curl -sf 127.0.0.1:{FORM_PORT}/ >/dev/null && break; sleep 0.2; doneCODE
HIGHtests/e2e/omarchy/omarchy_e2e.py672 'grep -q token-sync /proc/$p/cmdline || echo "cua-spacesd $p"; done; }; 'CODE
HIGHdocs/public/scripts/openai-agents/run_openai_agents.py390 "(sudo apt-get update -q && sudo apt-get install -y -q nodejs npm)",STRING
HIGHdocs/public/scripts/openai-agents/run_openai_agents.py469 f"pid=$(cat {shlex.quote(EXECUTOR_PID_PATH)} 2>/dev/null || true); "STRING
HIGHdocs/public/scripts/openai-agents/run_openai_agents.py471 "elif ! kill -0 \"$pid\" 2>/dev/null; then echo EXITED; "STRING
HIGH⚡docs/public/scripts/openai-agents/run_openai_agents.py517 "kill \"$pid\" 2>/dev/null || true; "STRING
HIGH⚡docs/public/scripts/openai-agents/run_openai_agents.py519 "kill -0 \"$pid\" 2>/dev/null || exit 0; sleep 1; done; "STRING
HIGH⚡docs/public/scripts/openai-agents/run_openai_agents.py520 "kill -KILL \"$pid\" 2>/dev/null || true; fi",STRING
HIGH⚡libs/cua-driver/python/tests/test_remote_channel.py132 result = await self.driver.call_tool("health_report", '{"sample":null}')CODE
HIGH⚡…iver/hyprland-plugin/packaging/release/test_release.py371test "$1" = --test-dir && test "$3" = --output-on-failure && test "$4" = --no-tests=error || exit 92CODE
HIGH⚡…iver/hyprland-plugin/packaging/release/test_release.py371test "$1" = --test-dir && test "$3" = --output-on-failure && test "$4" = --no-tests=error || exit 92CODE
HIGH…iver/hyprland-plugin/packaging/release/test_release.py331if command -v ginstall >/dev/null; thenCODE
HIGH…iver/hyprland-plugin/packaging/release/test_release.py334package || exit 1CODE
HIGH…ver/hyprland-plugin/packaging/release/test_workflow.py42 self.assertIn("ref: ${{ inputs.source_ref || github.ref }}", self.job)CODE
HIGH…nd-plugin/packaging/release/profile_download_recipe.py165 " _verify_download check || return 1\n")STRING
HIGH…nd-plugin/packaging/release/profile_download_recipe.py167 "prepare() {\n _verify_download extract || return 1\n _verify\n}")STRING
HIGH…ver/hyprland-plugin/tests/desktop_fault_policy_test.py34 ('action_refusal', 'const auto sequence = number(f[1]);', 'if (lease && Clock::now() >= expires)'),CODE
HIGH…ver/hyprland-plugin/tests/foreground_modifiers_test.py179 check(num != 0 && caps != 0, "lock encodings unresolved");CODE
HIGH…ver/hyprland-plugin/tests/foreground_modifiers_test.py187 check(lane.foreground_started && lane.foreground_modifiers[2] == num,CODE
133 more matches not shown…
Cross-File Repetition126 hits · 630 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/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/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
HIGHlibs/python/agent/cua_agent/loops/anthropic.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/opencua.py0predict click coordinates using ui-ins model via litellm.acompletion. args: model: the ui-ins model name image_b64: baseSTRING
HIGHlibs/python/agent/cua_agent/loops/gta1.py0predict click coordinates using ui-ins model via litellm.acompletion. args: model: the ui-ins model name image_b64: baseSTRING
HIGHlibs/python/agent/cua_agent/loops/gelato.py0predict click coordinates using ui-ins model via litellm.acompletion. args: model: the ui-ins model name image_b64: baseSTRING
HIGHlibs/python/agent/cua_agent/loops/uiins.py0predict click coordinates using ui-ins model via litellm.acompletion. args: model: the ui-ins model name image_b64: baseSTRING
HIGHlibs/python/agent/cua_agent/loops/uitars.py0get list of capabilities supported by this agent config. returns: list of capability stringsSTRING
HIGHlibs/python/agent/cua_agent/loops/openai.py0get list of capabilities supported by this agent config. returns: list of capability stringsSTRING
HIGHlibs/python/agent/cua_agent/loops/glm45v.py0get list of capabilities supported by this agent config. returns: list of capability stringsSTRING
HIGHlibs/python/agent/cua_agent/loops/qwen35.py0coordinates appear in 0..1000 space, scale to actual screen size using dims if provided.STRING
HIGHlibs/python/agent/cua_agent/loops/generic_vlm.py0coordinates appear in 0..1000 space, scale to actual screen size using dims if provided.STRING
HIGHlibs/python/agent/cua_agent/loops/fara/helpers.py0coordinates appear in 0..1000 space, scale to actual screen size using dims if provided.STRING
HIGHlibs/python/agent/cua_agent/loops/qwen35.py0convert qwen computer tool arguments to the computer calls action schema. qwen (example): {"action": "left_click", "coorSTRING
HIGHlibs/python/agent/cua_agent/loops/generic_vlm.py0convert qwen computer tool arguments to the computer calls action schema. qwen (example): {"action": "left_click", "coorSTRING
HIGHlibs/python/agent/cua_agent/loops/fara/helpers.py0convert qwen computer tool arguments to the computer calls action schema. qwen (example): {"action": "left_click", "coorSTRING
HIGHlibs/python/agent/cua_agent/loops/qwen35.py0predict click coordinates using qwen3-vl via litellm.acompletion. only exposes a reduced tool schema with left_click to STRING
66 more matches not shown…
Deep Nesting646 hits · 552 pts
SeverityFileLineSnippetContext
LOWtools/cli-cast/record.py316CODE
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
LOWtests/e2e/cua-sdk/run.py124CODE
LOWtests/e2e/cua-sdk/run.py183CODE
LOWtests/e2e/cua-sdk/run.py207CODE
LOWtests/e2e/cua-sdk/run.py258CODE
LOWtests/e2e/cua-sdk/fleet_gateway_conformance.py165CODE
LOWtests/e2e/cua-sdk/python/test_docs_blocks.py290CODE
LOWtests/e2e/cua-sdk/docs/cli_shape.py60CODE
LOWtests/e2e/cua-sdk/docs/cli_shape.py219CODE
LOWtests/e2e/cua-sdk/docs/cli_shape.py434CODE
LOWtests/e2e/cua-sdk/docs/config_lane.py32CODE
LOWtests/e2e/cua-sdk/docs/coverage.py46CODE
LOWtests/e2e/cua-sdk/docs/extract.py268CODE
LOWtests/e2e/omarchy/omarchy_e2e.py140CODE
LOWdocs/public/examples/local-models/cua-mcp-filter.py92CODE
LOWdocs/public/examples/local-models/cua-mcp-filter.py110CODE
LOWdocs/public/scripts/openai-agents/run_openai_agents.py575CODE
LOWdocs/public/scripts/openai-agents/run_openai_agents.py271CODE
LOWdocs/scripts/verify-driver-first-run-linux.py209CODE
LOWdocs/scripts/modal_app.py222CODE
LOWdocs/scripts/modal_app.py275CODE
LOWdocs/scripts/modal_app.py761CODE
LOWdocs/scripts/modal_app.py1275CODE
LOWdocs/scripts/modal_app.py229CODE
LOWdocs/scripts/crawl_docs.py217CODE
LOWdocs/scripts/crawl_docs.py309CODE
LOWdocs/scripts/tests/test_sandbox_secret_example.py89CODE
LOWdocs/scripts/docs-mcp-server/docs_index.py56CODE
LOWdocs/scripts/docs-mcp-server/main.py286CODE
LOWdocs/scripts/docs-mcp-server/main.py409CODE
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_fleet.py177CODE
LOWlibs/cua-driver/python/tests/test_fleet.py182CODE
LOWlibs/cua-driver/python/tests/test_fleet.py186CODE
LOWlibs/cua-driver/python/tests/test_uniffi_loader.py177CODE
LOWlibs/cua-driver/python/tests/test_uniffi_loader.py213CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py299CODE
LOW…s/cua-driver/python/src/cua_driver/_native_contract.py297CODE
LOW…rland-plugin/packaging/release/test_profile_release.py138CODE
LOW…ugin/packaging/release/test_profile_download_recipe.py116CODE
LOW…r/hyprland-plugin/proofs/production_handshake_probe.py155CODE
LOW…ver/hyprland-plugin/proofs/primary_observer_fixture.py23CODE
LOW…ver/hyprland-plugin/proofs/primary_observer_fixture.py110CODE
LOW…-driver/hyprland-plugin/proofs/production_app_smoke.py78CODE
LOW…-driver/hyprland-plugin/proofs/production_app_smoke.py474CODE
LOW…-driver/hyprland-plugin/proofs/production_app_smoke.py698CODE
LOW…-driver/hyprland-plugin/proofs/production_app_smoke.py746CODE
LOW…ver/hyprland-plugin/proofs/production_realapp_proof.py54CODE
LOW…ver/hyprland-plugin/proofs/production_realapp_proof.py612CODE
LOW…ver/hyprland-plugin/proofs/production_realapp_proof.py693CODE
LOW…land-plugin/proofs/production_target_lifetime_proof.py455CODE
LOW…iver/hyprland-plugin/proofs/production_policy_proof.py289CODE
586 more matches not shown…
AI Slop Vocabulary141 hits · 337 pts
SeverityFileLineSnippetContext
MEDIUMtools/cli-cast/record.py239 # Strip the parent harness out of the child's environment. When aCOMMENT
LOWtests/agent_loop_testing/agent_test.py123 # All other commands just return successCOMMENT
MEDIUMtests/e2e/cua-sdk/python/test_docs_blocks.py467 # image this repo does not publish); the harness sets only the pool names.COMMENT
MEDIUMtests/e2e/cua-sdk/docs/extract.py10 ```python test="docs" prelude="fakefleet" # hidden harness setupSTRING
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.py5997 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py8003 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py8767 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py9430 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py9656 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py9798 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py9960 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py10181 # and just create a new instance with the required handle.COMMENT
LOWlibs/cua-driver/python/src/cua_driver/_native.py10330 # and just create a new instance with the required handle.COMMENT
MEDIUM…er/hyprland-plugin/tests/primary_hover_fixture_test.py75 fixture.check_binary() # Test fixture provenance belongs to the harness.CODE
MEDIUMlibs/cua-driver/rust/crates/cua-driver/Cargo.toml97# Shared integration-test harness (MCP/CLI transports, child reaping, paths,COMMENT
MEDIUM…-driver/rust/crates/platform-linux/src/atspi/native.rs5042/// Vision/pixel click that actually lands — the Wayland answer (and a robustCOMMENT
MEDIUM…driver/rust/crates/platform-windows/src/tools/impl_.rs6159 // the string. Documented gap-closer (PR #1699 harness exposed).COMMENT
MEDIUM…ust/crates/platform-windows/src/tools/page_bookmark.rs144/// is robust against re-renders that change the title mid-flight.COMMENT
MEDIUM…a-driver/rust/crates/platform-macos/src/tools/click.rs365 // screenshot width / logical screen width. This is robust even whenCOMMENT
MEDIUM…r/rust/crates/cua-driver-e2e/tests/harness_wpf_test.rs1721 // coords, so it's the more robust slider integration test.COMMENT
MEDIUM…rates/cua-driver-e2e/tests/desktop_scope_linux_test.rs17//! #[ignore] (needs an X11/Xwayland display + AT-SPI + the GTK3 harness). Run:COMMENT
MEDIUM…rates/cua-driver-e2e/tests/desktop_scope_linux_test.rs101/// carries that aid and has a frame, so we're robust to the exact field name.COMMENT
MEDIUM…a-driver-e2e/tests/standalone_browser_behavior_test.rs76 r#"<main class="harness-grid">"#,CODE
MEDIUMlibs/cua-driver/examples/jev-use/python/native_tasks.py706# The same three tasks run on every repository harness that has a task mode:COMMENT
MEDIUMlibs/cua-driver/examples/jev-use/python/native_tasks.py707# AppKit (macOS AX), WPF and WinUI3 (Windows UIA), and GTK3 (Linux AT-SPI). Each harnessCOMMENT
MEDIUMlibs/cua-driver/examples/jev-use/python/native_tasks.py801# a form harness: it has one task, reached only through the visual fallback.COMMENT
MEDIUM…examples/jev-use/python/tests/test_native_platforms.py61 continue # the visual-only canvas is not a form harness (see test_native_canvas.py)CODE
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.ts526 // 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/builder/build.py344 # 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…andbox_apps/apps/eclipse-ide/linux/extract_metadata.sh3# Extract metadata for Eclipse IDE - robust versionCOMMENT
MEDIUM…a_sandbox_apps/apps/netbeans/linux/extract_metadata.sh3# Extract NetBeans metadata with robust discoveryCOMMENT
MEDIUM…sandbox_apps/apps/metasploit/linux/extract_metadata.sh3# Extract metadata for Metasploit Framework - final robust versionCOMMENT
MEDIUMlibs/images/common/desktop/entrypoint.sh26# SSH when the harness asks for it.COMMENT
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
MEDIUMlibs/cua/bench/streaming/shims/browser.sh7# The page decodes with WebCodecs, so frame lines carry tc_ms. The harnessCOMMENT
MEDIUMlibs/cua/bench/streaming/shims/python.sh7# The harness sets CUA_ENV_URL, CUA_ENV_TOKEN, CUA_BENCH_JSONL,COMMENT
MEDIUMlibs/cua/bench/streaming/shims/node.sh6# bench mode (SCENARIO.md "Benchmark JSONL"). The harness sets CUA_ENV_URL,COMMENT
MEDIUMlibs/cua/bench/streaming/shims/rust-sdk.sh6# decoded media API, as opposed to the harness's own native `rust` lane).COMMENT
MEDIUMlibs/cua/bench/streaming/shims/rust-sdk.sh8# The harness sets CUA_ENV_URL, CUA_ENV_TOKEN, CUA_BENCH_JSONL,COMMENT
MEDIUMlibs/cua/bench/streaming/scripts/build-linux.sh5# Build the benchmark harness for Linux (host arch) inside Docker, for theCOMMENT
MEDIUMlibs/cua/crates/cua-teleport/src/biometric.rs22//! fallback, the robust choice for an unsigned CLI.COMMENT
MEDIUMlibs/cua/crates/cua-teleport/src/biometric.rs231 // value 2): the robust choice for an unsigned CLI that may run where noCOMMENT
MEDIUM…s/cua/crates/cua-spaces-app-core/src/driver_preview.rs21//! One loop is [`DRIVER_LOOP_MS`] and seamless. With Reduce Motion theCOMMENT
MEDIUM…a/crates/cua-spaces-app-core/src/onboarding_preview.rs680 // The loop is seamless.COMMENT
MEDIUM…/crates/cua-spaces-app-core/src/drive_mount_preview.rs17//! [`DRIVE_LOOP_MS`] is seamless. With Reduce Motion the shells drawCOMMENT
MEDIUMlibs/cua-spacesd/tests/spaces-e2e/Cargo.toml7# - the library is the in-process driver harness (temp guest HOME/PATH viaCOMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py2109 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3391 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3498 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3674 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3801 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py3934 # and just create a new instance with the required handle.COMMENT
LOWlibs/fleet/sdk-bindings/python/fleet_sdk/_schema.py4305 # and just create a new instance with the required handle.COMMENT
81 more matches not shown…
Redundant / Tautological Comments143 hits · 219 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.py97 # Check if we already have the extracted resultCOMMENT
LOW…on/cua-sandbox/cua_sandbox/runtime/android_emulator.py53 # Check if java works without JAVA_HOMECOMMENT
LOWlibs/python/cua-sandbox/cua_sandbox/builder/pwa2apk.py49 # Check if pwa2apk is installed globally or locallyCOMMENT
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/agent/example.py131 # # 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
LOW⚡libs/python/agent/cua_agent/__init__.py28 # Check if telemetry is enabledCOMMENT
LOW⚡libs/python/agent/cua_agent/agent.py588 # Check if it's a BaseTool instanceCOMMENT
LOW⚡libs/python/agent/cua_agent/agent.py591 # Check if it's a regular callableCOMMENT
LOWlibs/python/agent/cua_agent/agent.py561 # Check if it's a computer object (has interface attribute)COMMENT
LOWlibs/python/agent/cua_agent/agent.py732 # # Print messagesCOMMENT
LOWlibs/python/agent/cua_agent/agent.py782 # 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
LOW⚡libs/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
LOW…ps/cua_sandbox_apps/apps/vim/linux/extract_metadata.sh44 # Check if this is a vim iconCOMMENT
LOW⚡…/cua_sandbox_apps/apps/unity/linux/extract_metadata.sh75 # Check if unity-hub is in dpkg databaseCOMMENT
LOW…dbox_apps/apps/intellij-idea/linux/extract_metadata.sh10 # Check if installed via package managerCOMMENT
LOW…-apps/cua_sandbox_apps/apps/postgresql/linux/launch.sh11# Check if the server is runningCOMMENT
LOW…sandbox_apps/apps/postgresql/linux/extract_metadata.sh70 # Check if already in listCOMMENT
LOW…dbox-apps/cua_sandbox_apps/apps/gitlab/linux/launch.sh6# Check if GitLab is installedCOMMENT
LOW…box-apps/cua_sandbox_apps/apps/gitlab/linux/install.sh8# Check if already installedCOMMENT
LOW…box-apps/cua_sandbox_apps/apps/mariadb/linux/launch.sh10# Check if MariaDB is already runningCOMMENT
LOW…ox-apps/cua_sandbox_apps/apps/openshot/linux/launch.sh17# Check if process is still runningCOMMENT
LOW…box-apps/cua_sandbox_apps/apps/raneto/linux/install.sh6# Check if Node.js 20+ is already installedCOMMENT
LOW…ua_sandbox_apps/apps/jenkins/linux/extract_metadata.sh172# Check if there's an icon in the Jenkins WAR as last resortCOMMENT
LOW⚡…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh55 # Check if file exists - try without sudo first, then with sudoCOMMENT
LOW…box_apps/apps/github-actions/linux/extract_metadata.sh98 # Check if binary name contains github-actions or similarCOMMENT
LOWlibs/python/bench-ui/examples/folder_example.py33 # Check if button has been clickedCOMMENT
LOWlibs/lumier/src/bin/entry.sh28# Set VM_NAME to env or fallback to container name (from --name)COMMENT
LOWlibs/lumier/src/bin/entry.sh34# Set HOST_STORAGE_PATH to a lume ephemeral storage if not setCOMMENT
LOWlibs/lumier/src/bin/entry.sh57# Check if we're running as PID 1 (important for Docker signal handling)COMMENT
LOWlibs/lumier/src/bin/entry.sh81 # Check if we're in the middle of an image pullCOMMENT
LOWlibs/lumier/src/hooks/on-logon.sh23# Check if the user-provided script existsCOMMENT
LOWlibs/lumier/src/lib/utils.sh54 # Check if all required arguments are providedCOMMENT
LOWlibs/lumier/src/lib/vm.sh13 # Check if VM exists and its status using JSON format - quietlyCOMMENT
LOWlibs/lumier/src/lib/vm.sh16 # Check if VM not found errorCOMMENT
LOWlibs/lumier/src/lib/vm.sh78 # Check if VM status is 'running' and we have IP and VNC URLCOMMENT
LOWlibs/lumier/src/lib/vm.sh113 # Check if script existsCOMMENT
LOWlibs/lume/scripts/install.sh15# Check if running as root or with sudoCOMMENT
LOWlibs/lume/scripts/install.sh160# Check if we're running with appropriate permissionsCOMMENT
83 more matches not shown…
Self-Referential Comments69 hits · 210 pts
SeverityFileLineSnippetContext
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/modal_app.py24# Define the Modal appCOMMENT
MEDIUMdocs/scripts/modal_app.py40# Define the container image with all dependenciesCOMMENT
MEDIUMdocs/scripts/modal_app.py1137 # Create main tableSTRING
MEDIUMdocs/scripts/docs-mcp-server/main.py476# Create the ASGI appCOMMENT
MEDIUM⚡libs/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.py333 # Create a small data-only ISO with Autounattend.xml + setup script.COMMENT
MEDIUMlibs/python/agent/benchmarks/utils.py393 # Create a copy of the imageCOMMENT
MEDIUMlibs/python/agent/cua_agent/ui/gradio/app.py203 # Create the computerCOMMENT
MEDIUMlibs/python/agent/cua_agent/ui/gradio/ui_components.py197 # Create the Gradio interfaceCOMMENT
MEDIUMlibs/python/agent/cua_agent/tools/browser_tool.py263 # 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/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
MEDIUM…dbox-apps/cua_sandbox_apps/apps/sqlite/linux/launch.sh3# Create a demo database fileCOMMENT
MEDIUM…dbox-apps/cua_sandbox_apps/apps/sqlite/linux/launch.sh37# Create a shell script that will be executed in the terminalCOMMENT
MEDIUM…cua_sandbox_apps/apps/sqlite/linux/extract_metadata.sh76# Create the metadata JSON objectCOMMENT
MEDIUM…ox-apps/cua_sandbox_apps/apps/jenkins/linux/install.sh61# Create a simple shell script to run jenkins directlyCOMMENT
MEDIUM…-apps/cua_sandbox_apps/apps/kubernetes/linux/launch.sh19# Create a sample Kubernetes manifest directory for demonstrationCOMMENT
MEDIUM…dbox-apps/cua_sandbox_apps/apps/neovim/linux/launch.sh6# Create a sample file to editCOMMENT
MEDIUM…dbox-apps/cua_sandbox_apps/apps/godot/linux/install.sh27# Create a symlink in /usr/local/bin for easy accessCOMMENT
MEDIUM…s/cua_sandbox_apps/apps/github-actions/linux/launch.sh8# Create a temporary directory for the dashboardCOMMENT
MEDIUM…s/cua_sandbox_apps/apps/github-actions/linux/launch.sh12# Create an HTML dashboardCOMMENT
MEDIUMlibs/kasm/src/ubuntu/install/firefox/install_firefox.sh156 # Creating a default profileCOMMENT
MEDIUMlibs/lumier/src/hooks/on-logon.sh14# Define the path to the user's optional on-logon script within the shared folderCOMMENT
MEDIUMlibs/cua-spacesd/crates/cua-spacesd-teleport/Cargo.toml23# Creating the destination's own Safe Storage secret when re-encryptingCOMMENT
MEDIUMlibs/lume/scripts/install.sh551 # Create the plist file - runs lume via the wrapper scriptCOMMENT
MEDIUMlibs/lume/scripts/install-local.sh279 # Create the plist fileCOMMENT
MEDIUMlibs/lume/scripts/setup-cua.sh163# Create an askpass helper for non-interactive sudoCOMMENT
MEDIUMlibs/lume/scripts/setup-cua.sh361 # Create a wrapper script that reads VNC config from ~/.vnc.envCOMMENT
MEDIUM⚡libs/lume/scripts/install-openclaw-vm.sh104 # Create an askpass helper so all sudo calls during install work without a TTYCOMMENT
MEDIUM⚡libs/fleet/sdk-bindings/python/fleet_sdk/_schema.py288 # This function is used for rust calls that return Result<> and therefore can set the CALL_ERROR status code.COMMENT
MEDIUM⚡libs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py290 # This function is used for rust calls that return Result<> and therefore can set the CALL_ERROR status code.COMMENT
MEDIUM…h/tasks/winarena_adapter/infra/vm/setup/server/main.py1787 # Create a snapshot of the systemSTRING
MEDIUM…ench/tasks/winarena_adapter/evaluators/metrics/docs.py31 # Define the XML namespace used in the fileCOMMENT
MEDIUM…ench/tasks/winarena_adapter/evaluators/metrics/docs.py759 # Define the namespacesCOMMENT
MEDIUM…ench/tasks/winarena_adapter/evaluators/metrics/gimp.py319 # Create a mask where the triangle pixels are TrueCOMMENT
MEDIUM…ch/tasks/winarena_adapter/evaluators/metrics/vscode.py216 # Create a unique module name, it can be arbitrary but must be unique in the current runtime environmentCOMMENT
MEDIUM…bench/tasks/winarena_adapter/evaluators/metrics/vlc.py148 # Define a lambda function to compute cosine distanceCOMMENT
MEDIUM…h/tasks/winarena_adapter/evaluators/getters/impress.py52 # Define the namespace used in the relationships fileCOMMENT
MEDIUM…h/tasks/winarena_adapter/evaluators/getters/impress.py102 # Define the namespace used in the relationships fileCOMMENT
MEDIUM…h/tasks/winarena_adapter/evaluators/getters/impress.py118 # Create a temporary directory to extract the audio fileCOMMENT
MEDIUM…ch/tasks/winarena_adapter/evaluators/getters/chrome.py1327 # Define the keys of interestCOMMENT
MEDIUM…/winarena_adapter/evaluators/getters/microsoftpaint.py21 # Define the red color range for circumferenceCOMMENT
MEDIUM…/winarena_adapter/evaluators/getters/microsoftpaint.py25 # Define the white color range for interiorCOMMENT
MEDIUM⚡…/winarena_adapter/evaluators/getters/microsoftpaint.py47 # Define the bounding box of the detected circleCOMMENT
MEDIUM⚡…/winarena_adapter/evaluators/getters/microsoftpaint.py61 # Define a threshold for considering it a valid white interiorCOMMENT
MEDIUM…ch/datasets/cua-bench-workflows/openshot-tasks/main.py102 # Create the projects directoryCOMMENT
MEDIUMlibs/cua-bench/cua_bench/processors/base.py107 # Create a temp file for the screenshotCOMMENT
MEDIUMlibs/cua-bench/cua_bench/apps/godot.py68 # Create a simpler symlink nameCOMMENT
MEDIUMlibs/cua-bench/scripts/dev/render_slack_grid.py44 # Create a list to hold imagesCOMMENT
9 more matches not shown…
Hallucination Indicators21 hits · 210 pts
SeverityFileLineSnippetContext
CRITICAL…mples/jev-use/typescript/visual_decision_state.test.ts194 request.questions.driver_action.criteria.reobserve.includes('incomplete'),CODE
CRITICALlibs/cua/crates/cua-fleet/tests/fleet.rs317 let template = handle.pool.spec.sandbox_template_ref.name.clone();CODE
CRITICALlibs/cua/crates/cua-fleet/src/spec.rs1128 handle.pool.spec.sandbox_template_ref.name.clone(),CODE
CRITICALlibs/cua/crates/cua-fleet/src/spec.rs1233 let tname = handle.pool.spec.sandbox_template_ref.name.clone();CODE
CRITICALlibs/cua/crates/cua-sandbox-core/src/fleet_local.rs244 let tname = handle.pool.spec.sandbox_template_ref.name.clone();CODE
CRITICALlibs/cua/crates/cua-spacesd-html5/web/e2e/viewer.e2e.ts390 await (window as any).__cuaViewer.share(h, `${(window as any).__cuaViewer.viewer.api.endpoint.params.get("files"CODE
CRITICALlibs/cua/crates/cua-cli/tests/sandbox_do.rs361 let kb = env.mock.state.observed.keyboard.lock().unwrap().clone();CODE
CRITICALlibs/cua/crates/cua-cli/tests/sandbox_do.rs397 let w = env.mock.state.observed.windows.lock().unwrap().clone();CODE
CRITICALlibs/cua/crates/cua-cli/tests/sandbox_do.rs956 let kb = env.mock.state.observed.keyboard.lock().unwrap().clone();CODE
CRITICALlibs/cua-spacesd/crates/cua-spacesd-desktop/src/lib.rs173 entry.target.id.epoch = TargetEpoch(entry.target.id.epoch.0.saturating_add(1));CODE
CRITICAL…a-spacesd/crates/cua-spacesd-doctor/src/checks/auth.rs371 let user = if ctx.manifest.manifest.display.user.is_empty() {CODE
CRITICAL…a-spacesd/crates/cua-spacesd-doctor/src/checks/auth.rs374 ctx.manifest.manifest.display.user.clone()CODE
CRITICAL…a-spacesd/crates/cua-spacesd-doctor/src/checks/auth.rs478 let user = ctx.manifest.manifest.display.user.clone();CODE
CRITICAL…pacesd/crates/cua-spacesd-doctor/src/checks/desktop.rs113 let root = ctx.manifest.manifest.fixtures.root.clone();CODE
CRITICAL…-spacesd/crates/cua-spacesd-doctor/src/checks/audio.rs144 let root = ctx.manifest.manifest.fixtures.root.clone();CODE
CRITICAL…spacesd/crates/cua-spacesd-doctor/src/checks/driver.rs267 let pin = ctx.manifest.manifest.spacesd.cua_driver_version.clone();CODE
CRITICAL…cesd/crates/cua-spacesd-doctor/src/checks/resources.rs91 let home = if ctx.manifest.manifest.display.user.is_empty() {CODE
CRITICAL…et/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt954 ai.cua.cyclops.sdk.schema.uniffiEnsureInitialized()CODE
CRITICAL…et/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt1976 private val cleaner = com.sun.jna.internal.Cleaner.getCleaner()CODE
CRITICAL…kotlin/ai/cua/cyclops/sdk/schema/cyclops_sdk_schema.kt1247 private val cleaner = com.sun.jna.internal.Cleaner.getCleaner()CODE
CRITICAL…/Sources/CuaSpacesMacKit/WebHost/WebUIVideoBench.swift230 let content = surface.view.input.geometry.contentRect.offsetBy(dx: video.minX, dy: video.minY)CODE
Modern AI Meta-Vocabulary44 hits · 129 pts
SeverityFileLineSnippetContext
MEDIUMdocs/scripts/modal_app.py1614 # Initialize embedding model - load eagerly to avoid cold start on first searchCOMMENT
MEDIUMdocs/scripts/modal_app.py1201 # Initialize embedding model and schemaSTRING
MEDIUMdocs/scripts/README.md35 # capture time, embedding model, file hashesCOMMENT
MEDIUMdocs/scripts/docs-mcp-server/main.py164# 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
MEDIUM⚡libs/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
MEDIUMlibs/cua-driver/hyprland-plugin/tests/proof_fixtures.py347# Real-app runner scaffolding (production_realapp_proof.run).COMMENT
MEDIUM…hyprland-plugin/tests/production_realapp_proof_test.py1230 # Exercise orchestration without a compositor, Driver process, or GUI.COMMENT
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
MEDIUMlibs/cua-s1/evals/README.md1# Offline evaluation scaffoldCOMMENT
MEDIUMlibs/cua-s1/python/pyproject.toml71 # by `cua_bench_s1.agentic`, so everything short of an actual rollout worksCOMMENT
MEDIUM⚡libs/cua-s1/training/train_4b_rl.py153# `cua_bench_s1.agentic.CuaBenchBasicEnv` into the closed (element, action)COMMENT
MEDIUM…andbox-apps/cua_sandbox_apps/discovery/batch_enrich.py281 # Also skip already fully enriched (from prior agent-based run or prior batch)COMMENT
MEDIUMlibs/cua/crates/cua-byoc/src/bootstrap.rs10//! Three guardrails make a forgotten VM end on its own:COMMENT
MEDIUMlibs/cua-bench-s1/README.md366## Live agentic rollouts (RL)COMMENT
MEDIUM…python/src/cua_bench_s1/agentic/cua_bench_basic_env.py100#: Hard per-episode step cap for agentic rollouts on this family.COMMENT
MEDIUM⚡libs/fleet/sdk-bindings/python/fleet_sdk/_schema.py475 # Get the scaffolding contract version by calling the into the dylibCOMMENT
MEDIUM⚡libs/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.sh734# 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
MEDIUMscripts/docs-generators/headers/cua-sdk/rust/index.md18- Not API: items hidden from these pages (`#[doc(hidden)]`), the UniFFI scaffolding (`uniffi_*`, `ffi_*`), and cargo feaCODE
MEDIUM.github/workflows/cd-rust-cua-driver.yml1284 # Release inputs stay pinned to the tag checkout above; orchestrationCOMMENT
MEDIUM.github/workflows/cd-rust-cua-driver.yml1589 # The orchestration helpers and the withdrawn list come from the exactCOMMENT
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
Modern Structural Boilerplate119 hits · 119 pts
SeverityFileLineSnippetContext
LOW⚡tools/cli-cast/record.py162def _set_winsize(fd: int, rows: int, cols: int) -> None:CODE
LOWlibs/cua-driver/python/src/cua_driver/__init__.py249__all__ = [CODE
LOWlibs/cua-driver/python/src/cua_driver/_native.py10696__all__ = [CODE
LOW…s/cua-driver/python/src/cua_driver/_native_contract.py8491__all__ = [CODE
LOWlibs/cua-driver/examples/jev-use/python/run.py36__all__ = ["fixture_state", "reset_fixture"]CODE
LOWlibs/cua-driver/examples/jev-use/python/core.py36__all__ = [CODE
LOWlibs/cua-s1/evals/__init__.py5__all__ = ["evaluate_predictions"]CODE
LOWlibs/cua-s1/python/src/cua_s1/__init__.py8__all__ = ["__version__"]CODE
LOWlibs/python/core/cua_core/telemetry/__init__.py24__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/pools.py26__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/containers.py223__all__ = ["Container", "RegistrySecret", "image_build", "has_build", "sidecars_of"]CODE
LOWlibs/python/cua-sandbox/cua_sandbox/_refs.py19logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/__init__.py85__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py137logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/_placement.py31logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/_autopool.py54logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/pool.py46logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/image.py32logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/env.py37logger = logging.getLogger(__name__)CODE
LOW…/python/cua-sandbox/cua_sandbox/transport/agentless.py21logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py26logger = logging.getLogger(__name__)CODE
LOW…s/python/cua-sandbox/cua_sandbox/transport/__init__.py12__all__ = [CODE
LOW…ython/cua-sandbox/cua_sandbox/transport/fleet_cloud.py56logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/vncssh.py17logger = 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.py30logger = logging.getLogger(__name__)CODE
LOW…thon/cua-sandbox/cua_sandbox/runtime/qemu_installer.py16logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/__init__.py14__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/native.py30logger = logging.getLogger(__name__)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.py46logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/runtime/lume.py26logger = logging.getLogger(__name__)CODE
LOW…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py41logger = logging.getLogger(__name__)CODE
LOW…bs/python/cua-sandbox/cua_sandbox/registry/__init__.py13__all__ = [CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/build.py35logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/overlay.py19logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/pwa2apk.py9logger = 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.py16logger = logging.getLogger(__name__)CODE
LOWlibs/python/cua-sandbox/cua_sandbox/builder/executor.py17logger = logging.getLogger(__name__)CODE
LOW…thon/cua-sandbox/cua_sandbox/interfaces/_driver_mcp.py9logger = logging.getLogger(__name__)CODE
LOW…/python/cua-sandbox/cua_sandbox/interfaces/__init__.py14__all__ = [CODE
LOW…bs/python/cua-sandbox/cua_sandbox/interfaces/driver.py38logger = logging.getLogger(__name__)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/agent/benchmarks/models/__init__.py3__all__ = ["ModelProtocol"]CODE
LOW⚡libs/python/agent/cua_agent/__init__.py14__all__ = ["register_agent", "ComputerAgent", "Messages", "AgentResponse"]CODE
LOW⚡libs/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.py25logger = logging.getLogger(__name__)CODE
59 more matches not shown…
AI Structural Patterns121 hits · 98 pts
SeverityFileLineSnippetContext
LOWlibs/cua-s1/python/src/cua_s1/server.py109CODE
LOWlibs/cua-s1/training/train.py178CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox_state.py33CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py276CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py451CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py3144CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py3291CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1322CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1653CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py1735CODE
LOWlibs/python/cua-sandbox/cua_sandbox/sandbox.py2534CODE
LOWlibs/python/cua-sandbox/cua_sandbox/_placement.py180CODE
LOWlibs/python/cua-sandbox/cua_sandbox/_autopool.py525CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/env.py224CODE
LOWlibs/python/cua-sandbox/cua_sandbox/transport/cloud.py53CODE
LOW…ython/cua-sandbox/cua_sandbox/transport/fleet_cloud.py640CODE
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
61 more matches not shown…
Structural Annotation Overuse51 hits · 93 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.rs202 // 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.rs219 // Step 2: read the window, then zoom on it to store context.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs244 // 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_.rs3752 // Step 2: pin overlay to target window, then animate to screen coords.COMMENT
LOW⚡…driver/rust/crates/platform-windows/src/tools/impl_.rs3761 // Step 3: click pulse + actual click.COMMENT
LOW⚡…river/rust/crates/platform-macos/src/input/skylight.rs642 // Step 3: defocus previous front.COMMENT
LOW⚡…river/rust/crates/platform-macos/src/input/skylight.rs647 // Step 4: focus target.COMMENT
LOW⚡…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py330 # Step 1: Get ISOsCOMMENT
LOW⚡…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py338 # Step 2: Create diskCOMMENT
LOW⚡…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py341 # Step 3: Run QEMU installCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py214 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py218 # Step 2: Convert responses items to completion messagesCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py223 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py255 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py265 # Step 5: Get all element descriptions and populate desc2xy mappingCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py283 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOW⚡libs/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
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py393 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py397 # Step 2: Convert responses items to completion messagesCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py407 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py434 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py443 # Step 5: Use Moondream to get coordinates for each descriptionCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py457 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py460 # Step 7: Return output and usageCOMMENT
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…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh14# Step 1: Verify the package is installed and extract basic metadataCOMMENT
LOW⚡…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh45# Step 2: Find binaries that actually exist on the filesystemCOMMENT
LOW…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh80# Step 3: Search for .desktop filesCOMMENT
LOW…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh107# Step 4: Search for security-related icons as fallbackCOMMENT
LOW…ript/playground/src/components/modals/SourcePicker.tsx1// Step 1: Source selection cards (Local Docker, Cloud Sandbox, Custom URL)COMMENT
LOWlibs/cua/crates/cua-cli/tests/mcp_skills_images.rs501 md.contains("### Step 1: click OK") && md.contains("**Context:** a window"),CODE
LOW⚡…cua-bench-s1/python/src/cua_bench_s1/datagen/gui360.py128# Step 1: raw per-episode JSONL iterationCOMMENT
LOW⚡…cua-bench-s1/python/src/cua_bench_s1/datagen/gui360.py145# Step 2: uia_controls_info -> flat element listCOMMENT
LOW⚡…cua-bench-s1/python/src/cua_bench_s1/datagen/gui360.py211# Step 5: element list + option set -> CuaTaskCOMMENT
LOW⚡…h-s1/python/src/cua_bench_s1/datagen/androidcontrol.py93# Step 1: raw TFRecord episode iterationCOMMENT
LOW⚡…h-s1/python/src/cua_bench_s1/datagen/androidcontrol.py230# Step 4: gold action -> (target element, action)COMMENT
LOW⚡…h-s1/python/src/cua_bench_s1/datagen/androidcontrol.py302# Step 6: family assignment (heuristic, documented)COMMENT
LOWlibs/lume/src/Commands/Convert.swift71 // Step 1: Pull the legacy source image into a temp VMSTRING
LOWlibs/lume/src/Commands/Convert.swift86 // Step 2: Push the temp VM in OCI-compliant formatSTRING
LOWlibs/lume/src/Commands/Convert.swift108 // Step 3: Remove the temp VMSTRING
Verbosity Indicators46 hits · 86 pts
SeverityFileLineSnippetContext
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs202 // 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.rs219 // Step 2: read the window, then zoom on it to store context.COMMENT
LOW…er/rust/crates/cua-driver/tests/protocol_media_test.rs244 // 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_.rs3752 // Step 2: pin overlay to target window, then animate to screen coords.COMMENT
LOW⚡…driver/rust/crates/platform-windows/src/tools/impl_.rs3761 // Step 3: click pulse + actual click.COMMENT
LOW⚡…river/rust/crates/platform-macos/src/input/skylight.rs642 // Step 3: defocus previous front.COMMENT
LOW⚡…river/rust/crates/platform-macos/src/input/skylight.rs647 // Step 4: focus target.COMMENT
LOW⚡…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py330 # Step 1: Get ISOsCOMMENT
LOW⚡…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py338 # Step 2: Create diskCOMMENT
LOW⚡…ython/cua-sandbox/cua_sandbox/registry/qemu_builder.py341 # Step 3: Run QEMU installCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py214 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py218 # Step 2: Convert responses items to completion messagesCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py223 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py255 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py265 # Step 5: Get all element descriptions and populate desc2xy mappingCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/composed_grounded.py283 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOW⚡libs/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
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py393 # Step 1: Convert computer calls from xy to descriptionsCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py397 # Step 2: Convert responses items to completion messagesCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py407 # Step 3: Call thinking model with litellm.acompletionCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py434 # Step 4: Convert completion messages back to responses items formatCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py443 # Step 5: Use Moondream to get coordinates for each descriptionCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py457 # Step 6: Convert computer calls from descriptions back to xy coordinatesCOMMENT
LOW⚡libs/python/agent/cua_agent/loops/moondream3.py460 # Step 7: Return output and usageCOMMENT
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…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh14# Step 1: Verify the package is installed and extract basic metadataCOMMENT
LOW⚡…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh45# Step 2: Find binaries that actually exist on the filesystemCOMMENT
LOW…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh80# Step 3: Search for .desktop filesCOMMENT
LOW…/cua_sandbox_apps/apps/wazuh/linux/extract_metadata.sh107# Step 4: Search for security-related icons as fallbackCOMMENT
LOW…ript/playground/src/components/modals/SourcePicker.tsx1// Step 1: Source selection cards (Local Docker, Cloud Sandbox, Custom URL)COMMENT
LOWlibs/cua/crates/cua-cli/tests/mcp_skills_images.rs501 md.contains("### Step 1: click OK") && md.contains("**Context:** a window"),CODE
LOW⚡…cua-bench-s1/python/src/cua_bench_s1/datagen/gui360.py128# Step 1: raw per-episode JSONL iterationCOMMENT
LOW⚡…cua-bench-s1/python/src/cua_bench_s1/datagen/gui360.py145# Step 2: uia_controls_info -> flat element listCOMMENT
LOW⚡…cua-bench-s1/python/src/cua_bench_s1/datagen/gui360.py211# Step 5: element list + option set -> CuaTaskCOMMENT
LOW⚡…h-s1/python/src/cua_bench_s1/datagen/androidcontrol.py93# Step 1: raw TFRecord episode iterationCOMMENT
LOW⚡…h-s1/python/src/cua_bench_s1/datagen/androidcontrol.py230# Step 4: gold action -> (target element, action)COMMENT
LOW⚡…h-s1/python/src/cua_bench_s1/datagen/androidcontrol.py302# Step 6: family assignment (heuristic, documented)COMMENT
LOWlibs/lume/src/Commands/Convert.swift71 // Step 1: Pull the legacy source image into a temp VMSTRING
LOWlibs/lume/src/Commands/Convert.swift86 // Step 2: Push the temp VM in OCI-compliant formatSTRING
LOWlibs/lume/src/Commands/Convert.swift108 // Step 3: Remove the temp VMSTRING
Fake / Example Data80 hits · 85 pts
SeverityFileLineSnippetContext
LOWtests/e2e/cua-sdk/docs/test_extract.py20 "placeholder": {"owner": "docs", "requires_placeholder": True},CODE
LOW⚡tests/e2e/cua-sdk/docs/test_extract.py59 ```python skip="placeholder"STRING
LOWtests/e2e/cua-sdk/docs/test_extract.py113 ```python skip="placeholder"STRING
LOWdocs/code-block-policy.json74 "placeholder": {CODE
LOWblog/sandboxed-python-execution.md158 page.fill('input[name="custtel"]', "555-0123")CODE
LOW…crates/cua-perception/tests/quality-corpus/generate.py324 text_annotation("query", "SEARCH FILES", query, "placeholder"), text_annotation("run-text", "RUN", CODE
LOW…ates/cua-perception/tests/quality-corpus/manifest.json767 "role": "placeholder"CODE
LOW…river/rust/crates/platform-linux/src/input/targeted.rs577pub(crate) fn fake_key(CODE
LOW…river/rust/crates/platform-linux/src/input/targeted.rs602 fake_key(conn, true, code, root)?;CODE
LOW…river/rust/crates/platform-linux/src/input/targeted.rs615 fake_key(conn, false, *code, root)?;CODE
LOW⚡…river/rust/crates/platform-linux/src/input/targeted.rs642 fake_key(conn, true, shift, root)?;CODE
LOW⚡…river/rust/crates/platform-linux/src/input/targeted.rs644 fake_key(conn, true, code, root)?;CODE
LOW⚡…river/rust/crates/platform-linux/src/input/targeted.rs645 fake_key(conn, false, code, root)?;CODE
LOW⚡…river/rust/crates/platform-linux/src/input/targeted.rs647 fake_key(conn, false, shift, root)?;CODE
LOW…river/rust/crates/platform-linux/src/input/targeted.rs1033 fake_key(conn, true, code, root)?;CODE
LOW…river/rust/crates/platform-linux/src/input/targeted.rs1037 fake_key(conn, false, code, root)?;CODE
LOW…er/rust/crates/platform-linux/src/input/interactive.rs385 x::fake_key(&state.conn, press, code, state.root)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.rs680 let name = ["aria-label", "placeholder", "title", "name", "id"]CODE
LOW…iver/rust/crates/cua-driver-core/src/browser/engine.rs2804 "placeholder",CODE
LOW…rust/crates/platform-windows/src/browser_consent_ui.rs779 let mut nodes = prompt("placeholder", ["A", "B", "C"]);CODE
LOW⚡…r/rust/crates/platform-windows/src/browser_setup_ui.rs859 let mut checkbox = node("CheckBox", "placeholder", None, &["toggle"]);CODE
LOW⚡…r/rust/crates/platform-windows/src/browser_setup_ui.rs864 "placeholder",CODE
LOW⚡…r/rust/crates/platform-windows/src/browser_setup_ui.rs869 let mut document = node("Document", "placeholder", None, &[]);CODE
LOW…ua-driver/rust/crates/platform-macos/src/tools/page.rs368 "['tagName','textContent','href','id','class','type','value','placeholder','name']"CODE
LOW⚡libs/cua-s1/python/tests/test_checkpoint.py154 config_weights.write_bytes(b"placeholder")CODE
LOWlibs/cua-s1/python/src/cua_s1/synth.py121 "placeholder": (CODE
LOWlibs/cua-s1/python/src/cua_s1/synth.py135 "placeholder": "",CODE
LOWlibs/cua-s1/python/src/cua_s1/synth.py249 add(element, "fill", entity_index, field["placeholder"])CODE
LOWlibs/cua-s1/python/src/cua_s1/synth.py251 add(element, "skip", placeholder=field["placeholder"])CODE
LOW⚡libs/python/cua-sandbox/tests/test_cloud.py268 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
LOWlibs/cua/crates/cua-spaces-transcript/src/jsonui.rs125 ("placeholder", Node::optional_string(&value.placeholder)),CODE
LOWlibs/cua/crates/cua-spaces-app-core/src/parity.rs383 if let Some(p) = f["placeholder"].as_str() {CODE
LOWlibs/cua/crates/cua-spaces-app-core/src/parity.rs650 format!("{}: {} [{}] = {}{}{}", str_of(&f["id"]), str_of(&f["label"]), opt_str(&f["placeholder"]), str_oCODE
LOWlibs/cua/crates/cua-spaces-app-core/src/parity.rs781 r["placeholder"]CODE
LOWlibs/cua/crates/cua-spaces-app-core/src/parity.rs1770 str_of(&f["placeholder"]),CODE
LOWlibs/cua/skills/gui-automation/SKILL.md61cua do click 400 200 && cua do type "Jane Doe"CODE
LOW…anscriptTests/Goldens/claude-interrupted@mid-turn.json45 "placeholder" : null,CODE
LOW…ts/Goldens/claude-subagent-and-mode@subagent-done.json115 "placeholder" : null,CODE
LOW…ests/Goldens/claude-subagent-and-mode@mode-manual.json46 "placeholder" : null,CODE
LOW…criptTests/Goldens/claude-basic-turn@tool-running.json61 "placeholder" : null,CODE
LOW…scriptTests/Goldens/claude-tool-error@read-failed.json67 "placeholder" : null,CODE
LOW…ranscriptTests/Goldens/claude-basic-turn@thinking.json56 "placeholder" : null,CODE
LOW…riptTests/Goldens/claude-interrupted@after-escape.json46 "placeholder" : null,CODE
LOW…ranscriptTests/Goldens/claude-basic-turn@complete.json133 "placeholder" : null,CODE
LOW…s/Goldens/claude-awaiting-answer@auto-mode-answer.json67 "placeholder" : null,CODE
LOW…ces-sdk-swift/Sources/CuaSpacesTranscript/JSONUI.swift234 ("placeholder", .optionalString(value.placeholder)),CODE
LOW⚡libs/cua-spacesd/crates/cua-spacesd/src/remote.rs285 allowed_users: vec!["user@example.com".into()],CODE
LOW⚡libs/cua-spacesd/crates/cua-spacesd/src/remote.rs293 headers.insert("tailscale-user-login", "user@example.com".parse().unwrap());CODE
LOW⚡libs/cua-spacesd/crates/cua-spacesd/src/remote.rs299 assert_eq!(authorize(&headers, &config()).unwrap(), "user@example.com");CODE
LOWlibs/cua-spacesd/crates/cua-spacesd/src/lib.rs441 allowed_users: vec!["user@example.com".into()],CODE
LOWlibs/cua-spacesd/crates/cua-spacesd/src/lib.rs451 HeaderValue::from_static("user@example.com"),CODE
LOW⚡…-s1/python/src/cua_bench_s1/datagen/cua_bench_basic.py197 el.getAttribute('placeholder') || el.getAttribute('title') || '')CODE
LOWlibs/fleet/backend/featureflagadmin/audit_test.go27 Email: "admin@example.com",CODE
LOWlibs/fleet/backend/featureflagadmin/audit_test.go49 "event": "feature_flag_admin", "actor": "admin-1", "actor_email": "admin@example.com",CODE
LOWlibs/fleet/backend/featureflagadmin/service_test.go222 actor := Actor{Subject: "admin", Email: "admin@example.com", PrincipalType: "spa", TraceID: "trace-1"}CODE
LOWlibs/fleet/backend/auth/policy_middleware_test.go876 request = request.WithContext(context.WithValue(request.Context(), UserKey, &User{ID: "admin-1", Email: "admin@example.CODE
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
20 more matches not shown…
Synthetic Comment Markers11 hits · 82 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.ts200 // Initialize peer connection with default options as requestedCOMMENT
HIGHlibs/cua/crates/cua-sandbox-core/src/runtime.rs182 /// The reference as requested, normalisedCOMMENT
HIGHlibs/cua/crates/cua-sandbox-core/src/provider.rs138 /// The reference as requested, normalised.COMMENT
HIGHlibs/cua/crates/cua-spaces/src/space.rs286 /// The image the sandbox runs (as requested) and the digest of theCOMMENT
HIGHlibs/cua/crates/cua-host/src/provided.rs110 /// The image, as requested.COMMENT
HIGHlibs/cua/crates/cua-sdk/src/native/host.rs241 /// The image, as requested.COMMENT
HIGHlibs/cua/crates/cua-sdk/src/native/sandbox.rs53 /// The reference as requested, normalisedCOMMENT
HIGH…bs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.go4678 // The ref as requested.COMMENT
HIGHlibs/fleet/sdk/src/registry_secrets.rs68 /// The ref as requested.COMMENT
HIGHlibs/cua-bench/cua_bench/runner/batch_runner.py87 # image as requested/resolved, its variant (rootfs|containerdisk|lume),COMMENT
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHlibs/python/core/cua_core/telemetry/otel.py405Create a trace span context. Args: name: Span name attributes: Span attributes Yields: STRING
HIGHlibs/python/agent/cua_agent/computers/__init__.py34 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
HIGH…bs/cua-bench-rl/cua_bench_rl/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/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/computers/remote.py1224Execute a shell command. Args: command: Shell command to execute check: With ``strict_eSTRING
HIGHlibs/cua-bench/cua_bench/computers/base.py246Execute a shell command on the native desktop environment. This method is only available with the native providSTRING
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/apps/kicad.py441Export a SPICE netlist from a .kicad_sch using kicad-cli. Args: schematic_path: Path to the .kicad_STRING
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
Slop Phrases4 hits · 10 pts
SeverityFileLineSnippetContext
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
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHlibs/fleet/src/components/FirstWorkloadGuide.tsx47 print(output)CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡libs/cua-driver/scripts/uninstall.sh60# Usage:COMMENT
LOWlibs/images/build.sh17# Usage:COMMENT
LOWlibs/lume/scripts/setup-cua.sh23# Usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlibs/python/agent/cua_agent/agent.py800 # TODO: implement a callback for safety checksCOMMENT
LOWlibs/python/agent/cua_agent/agent.py830 # # TODO: implement a callback for URL safety checksCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlibs/cua-driver/examples/jev-use/python/run_native.py252async def run_task(args: argparse.Namespace, task: NativeTask) -> str:CODE
LOW…ps/cua-spaces-macos/scripts/reliability/cloud_suite.py447 def run_task():CODE