AI Slop Code Risk Monitor

can1357/oh-my-pi

SlopCodeMonitor badge for can1357/oh-my-pi Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

⌥ Coding agent with the IDE wired in. Built by Stencil Labs.

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for can1357/oh-my-pi, a TypeScript project with 37,310 GitHub stars. SynthScan examined 2,823,101 lines of code across 8148 source files, recording 7327 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low 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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
37.3K
Stars
TypeScript
Language
2.8M
Lines of Code
8.1K
Files
7.3K
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.7/100 · LOW

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

Agent Over-Engineering Ratio 11.8/100 · LOW

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

PR Review Velocity Impact 16.3/100 · LOW

Which changes need focused human review? 7327 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 40HIGH 126MEDIUM 875LOW 6286

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 7327 distinct pattern matches across 26 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 Identifiers4416 hits · 4144 pts
SeverityFileLineSnippetContext
LOWcrates/pi-natives/tools/cache/tokenization_kimi.py234 def _split_whitespaces_or_nonwhitespaces(CODE
LOWcrates/pi-natives/tools/cache/tokenization_kimi.py276 def _format_chat_token_output(self,CODE
LOW…ates/pi-natives/src/utok/claude/testdata/fixtures.json2955 "text": "import { countTokens as countTokensNat } from \"@oh-my-pi/pi-natives\";\n\nconst accurate = process.env.PI_TOCODE
LOWpython/robomp/tests/test_permissions_e2e.py37def _require_linux_root_toolchain() -> None:CODE
LOWpython/robomp/tests/test_permissions_e2e.py239def _prepare_shared_cargo_cache(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Path:CODE
LOWpython/robomp/tests/test_permissions_e2e.py251def test_slot_workspace_runs_bun_biome_cargo_and_git_after_root_reentry(CODE
LOWpython/robomp/tests/test_permissions_e2e.py299def test_git_pool_metadata_survives_root_push_and_retry_slot(CODE
LOWpython/robomp/tests/test_permissions_e2e.py340def _prepare_shared_natives_cache(slot_tmp_path: Path) -> NativesCache:CODE
LOWpython/robomp/tests/test_permissions_e2e.py365def test_natives_cache_shares_artifacts_across_slot_workspaces(CODE
LOW⚡python/robomp/tests/test_retry.py35def test_event_retry_delays_parsing_skips_garbage(env: dict[str, str], monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡python/robomp/tests/test_retry.py42def test_event_retry_delays_defaults_when_empty(env: dict[str, str], monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡python/robomp/tests/test_retry.py49def test_retry_delay_escalates_and_clamps(env: dict[str, str], monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpython/robomp/tests/test_retry.py62def test_retry_delay_jitter_stays_in_band(env: dict[str, str], monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpython/robomp/tests/test_retry.py73def test_schedule_retry_gates_claim_until_available(db: Database) -> None:CODE
LOWpython/robomp/tests/test_retry.py89def test_schedule_retry_zero_delay_is_immediately_claimable(db: Database) -> None:CODE
LOWpython/robomp/tests/test_retry.py98def test_schedule_retry_only_transitions_running_or_failed(db: Database) -> None:CODE
LOWpython/robomp/tests/test_retry.py111def test_manual_requeue_clears_retry_backoff(db: Database) -> None:CODE
LOWpython/robomp/tests/test_retry.py153async def test_run_event_retries_then_marks_failed(CODE
LOWpython/robomp/tests/test_retry.py191async def test_run_event_success_after_transient_failure(CODE
LOWpython/robomp/tests/test_git_ops.py43def test_token_hardening_neutralizes_path_specific_http_mitm(tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_git_ops.py90def test_token_url_safe_config_is_empty_without_auth_url() -> None:CODE
LOWpython/robomp/tests/test_git_ops.py94def test_token_url_safe_config_covers_smart_http_paths() -> None:CODE
LOWpython/robomp/tests/test_git_ops.py111def test_token_config_never_blanks_ca_locations() -> None:CODE
LOW⚡python/robomp/tests/test_git_ops.py160def test_push_release_lands_branch_and_tag_atomically(tmp_path: Path) -> None:CODE
LOW⚡python/robomp/tests/test_git_ops.py169def test_push_release_forces_existing_tag_to_new_head(tmp_path: Path) -> None:CODE
LOW⚡python/robomp/tests/test_git_ops.py177def test_push_release_rejects_non_fast_forward_without_moving_tag(tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/conftest.py45def _open_tmp_path_for_slot_traversal(tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py126def test_repo_command_env_scrubs_secrets_and_uses_workspace_cache(CODE
LOWpython/robomp/tests/test_host_tools.py156def test_run_repo_command_uses_slot_identity_kwargs(CODE
LOWpython/robomp/tests/test_host_tools.py198def test_ensure_workspace_dependencies_installs_when_missing(CODE
LOWpython/robomp/tests/test_host_tools.py222def test_ensure_workspace_dependencies_reinstalls_when_node_modules_present(CODE
LOWpython/robomp/tests/test_host_tools.py251def test_ensure_workspace_dependencies_skips_non_bun_repo(CODE
LOWpython/robomp/tests/test_host_tools.py272def test_ensure_workspace_dependencies_swallows_install_failure(CODE
LOWpython/robomp/tests/test_host_tools.py296def test_guarded_push_branch_rev_parse_runs_via_repo_command_and_passes_slot_uid(CODE
LOWpython/robomp/tests/test_host_tools.py361def test_gh_post_comment_happy_path(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py384def test_gh_post_comment_validates_body(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py394def test_gh_post_comment_defaults_to_inbound_pr_thread(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py427def test_gh_post_comment_explicit_number_overrides_inbound(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py459def test_gh_post_comment_propagates_github_error(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py471def test_gh_open_pr_requires_template_sections(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py484def test_repro_record_writes_transcript(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py506def test_repro_record_clears_needs_info_after_actionable_reply(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py535def test_repro_record_advances_needs_info_when_label_is_missing(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py561def test_repro_record_advances_needs_info_when_cleanup_transport_fails(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py586def test_repro_record_chowns_to_slot_when_root(db: Database, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py615def test_repro_record_rejects_bad_args(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py627def test_mark_unable_posts_comment_marks_needs_info_and_labels_issue(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py651def test_mark_unable_keeps_needs_info_when_label_is_missing(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py668def test_mark_unable_keeps_needs_info_when_label_transport_fails(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py696def test_abort_task_signals_controller_and_abandons_without_comment(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py744def test_abort_task_rejects_empty_reason(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py757def test_abort_task_signal_is_idempotent(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py768def test_fetch_issue_thread_returns_markdown(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py800def test_classify_issue_applies_labels_and_persists_primary(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py845def test_classify_issue_question_skips_repro_path(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py862def test_classify_issue_wontfix_takes_comment_only_path(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py881def test_gh_search_issues_scopes_repo_and_renders_matches(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py945def test_gh_search_issues_rejects_repo_qualifier_and_empty_query(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py957def test_gh_search_issues_serves_from_local_index_once_synced(db: Database, tmp_path: Path) -> None:CODE
LOWpython/robomp/tests/test_host_tools.py1029def test_search_commits_message_and_patch_modes(db: Database, tmp_path: Path) -> None:CODE
4356 more matches not shown…
Decorative Section Separators839 hits · 2514 pts
SeverityFileLineSnippetContext
MEDIUM⚡Cargo.toml133# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml135# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml139# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml141# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml150# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml152# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml155# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml157# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml165# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml167# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml175# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml177# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml180# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml182# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml189# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml191# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml196# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml198# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml203# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml205# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml211# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml213# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml217# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml219# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml223# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml225# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml228# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml230# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml233# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml235# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml239# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml241# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml247# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml249# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml263# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml265# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml274# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml276# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml282# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml284# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml289# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml291# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml294# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml296# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml302# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml304# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml314# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml316# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml319# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml321# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml325# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml327# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml353# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml355# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml360# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml362# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml369# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml371# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml379# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡Cargo.toml381# ──────────────────────────────────────────────────────────────────────────────COMMENT
779 more matches not shown…
Over-Commented Block1266 hits · 1206 pts
SeverityFileLineSnippetContext
LOWCargo.toml61# recoverable at the appropriate boundary: the uutils boundaryCOMMENT
LOWCargo.toml221verbose_bit_mask = "allow" # Explicit bit patterns can be clearer than hexCOMMENT
LOWCargo.toml341 "Win32_System_Threading",COMMENT
LOWCargo.toml481tree-sitter-toml-ng = "0.7"COMMENT
LOW.config/nextest.toml1# nextest runs every test in its own process and schedules them in parallelCOMMENT
LOWcrates/pi-walker/src/pattern.rs1//! Glob patterns with the semantics of Rust's `globset` built with literalCOMMENT
LOWcrates/pi-walker/src/pattern.rs21//! directory match?) and [`Glob::max_depth`] (how deep can a match be?).COMMENT
LOWcrates/pi-walker/src/exec.rs1//! Fixed pools of worker tasks fed through a channel.COMMENT
LOWcrates/pi-walker/src/lib.rs1//! Parallel filesystem walking, globbing, and content search.COMMENT
LOWcrates/pi-walker/src/lib.rs21//!COMMENT
LOWcrates/pi-walker/src/glob.rs1//! Path selection in pi's glob dialect, and the glob search behind the `glob`COMMENT
LOWcrates/pi-walker/src/glob.rs161 /// walking.COMMENT
LOWcrates/pi-walker/src/ignore.rs1//! Gitignore-format rules and the ignore-file chain walks honour.COMMENT
LOWcrates/pi-walker/src/ignore.rs441/// Evaluates ignore chains for one walk: the global excludes file and theCOMMENT
LOWcrates/pi-walker/src/walk/cache.rs1//! Process-wide directory-listing cache for [`super::Options::cache`] walks.COMMENT
LOWcrates/pi-walker/src/walk/tree.rs1//! Serial, ordered, streaming depth-first traversal.COMMENT
LOWcrates/pi-walker/src/walk/tree.rs41pub enum Follow {COMMENT
LOWcrates/pi-walker/src/walk/tree.rs81 /// applies `detail` everywhere.COMMENT
LOWcrates/pi-walker/src/walk/mod.rs1//! The parallel directory walker every search traverses with: gitignore-aware,COMMENT
LOWcrates/pi-walker/src/walk/mod.rs21//! only when a listing contains them, unchanged directories are served fromCOMMENT
LOWcrates/pi-walker/src/walk/mod.rs61COMMENT
LOWcrates/pi-walker/src/walk/mod.rs81 pub detail: Detail,COMMENT
LOWcrates/pi-walker/src/walk/mod.rs241const BATCHES_PER_WORKER: usize = 4;COMMENT
LOWcrates/pi-walker/src/walk/mod.rs361/// Collects the entries below `root` that `filter` keeps.COMMENT
LOWcrates/pi-walker/src/walk/parallel.rs1//! The tokio engine behind [`super::walk`] and [`super::collect`].COMMENT
LOWcrates/pi-walker/src/grep/mod.rs1//! Content search: the engine behind the `grep`, `search`, and `hasMatch`COMMENT
LOWcrates/pi-walker/src/grep/mod.rs81 /// outside [`Mode::Content`].COMMENT
LOWcrates/pi-walker/src/grep/mod.rs161}COMMENT
LOWcrates/pi-walker/src/grep/mod.rs181 /// What to report.COMMENT
LOWcrates/pi-walker/src/grep/engine.rs101/// macOS, where PCRE2's SLJIT executable allocator can fault while compilingCOMMENT
LOWcrates/pi-walker/src/fs/mod.rs1//! Filesystem layer every walk and search reads through: directory listings,COMMENT
LOWcrates/pi-walker/src/fs/mod.rs41COMMENT
LOWcrates/pi-walker/src/fs/mod.rs61 /// Also modification times for every entry and sizes for regular files.COMMENT
LOWcrates/pi-walker/src/fs/mod.rs81COMMENT
LOWcrates/pi-walker/src/fs/root.rs21}COMMENT
LOWcrates/pi-walker/src/fs/native/mod.rs1//! Host filesystem through direct syscalls, one implementation per platform:COMMENT
LOWcrates/pi-walker/src/fs/native/windows.rs1//! Windows directory reads:COMMENT
LOWcrates/pi-walker/src/fs/native/darwin.rs1//! macOS directory reads:COMMENT
LOWcrates/pi-walker/src/fs/native/linux.rs1//! Linux directory reads:COMMENT
LOWcrates/pi-diff/src/lib.rs1//! jsdiff-compatible diff primitives without an FFI dependency.COMMENT
LOWcrates/pi-shell/tests/nonutf8_env.rs1//! Regression tests for oh-my-pi issue #8925: a host environment entry whoseCOMMENT
LOWcrates/pi-shell/tests/minimizer_fixtures.rs1//! End-to-end fixture harness for the output minimizer with a token-savingsCOMMENT
LOWcrates/pi-shell/src/minimizer.rs41 pub changed: bool,COMMENT
LOWcrates/pi-shell/src/shell.rs381/// layer), so producer exit, pipe EOF, the consumer's final flush and theCOMMENT
LOWcrates/pi-shell/src/shell.rs2561 let slave = unsafe { fs::File::from_raw_fd(slave) };COMMENT
LOWcrates/pi-shell/src/shell.rs4281 )COMMENT
LOWcrates/pi-shell/src/shell.rs4641 assert_eq!(exit_code(&exec), 1, "command -v exit code when nothing resolves");COMMENT
LOWcrates/pi-shell/src/shell.rs6081COMMENT
LOWcrates/pi-shell/src/shell.rs7381 assert_eq!(output, "start\nn=1\nn=2\n");COMMENT
LOWcrates/pi-shell/src/shell.rs7481 ///COMMENT
LOWcrates/pi-shell/src/shell.rs7921 /// 1. the first stage runs in its **own session** (`getsid == own pid`),COMMENT
LOWcrates/pi-shell/src/shell.rs8221 #[tokio::test(flavor = "multi_thread")]COMMENT
LOWcrates/pi-shell/src/output_decode.rs1//! Decode child-process stdout/stderr into Unicode.COMMENT
LOWcrates/pi-shell/src/taps.rs1//! The bytes crossing one run's pipeline pipes, kept readable while the runCOMMENT
LOWcrates/pi-shell/src/git.rs1//! `git` builtin layering opt-in behavior over the git binary.COMMENT
LOWcrates/pi-shell/src/process.rs681 /// Launch arguments for this process.COMMENT
LOWcrates/pi-shell/src/process.rs781 /// any pid in `protected`.COMMENT
LOWcrates/pi-shell/src/process.rs901/// pid makes the harness enumerate as a false descendant, so cancelling aCOMMENT
LOWcrates/pi-shell/src/process.rs1141/// the run being cancelled (issue #4605).COMMENT
LOWcrates/pi-shell/src/process.rs1161 /// without this watermark, every subsequent `record` would findCOMMENT
1206 more matches not shown…
Hallucination Indicators40 hits · 400 pts
SeverityFileLineSnippetContext
CRITICALcrates/pi-shell/src/minimizer/filters/jvm.rs1866 org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1)\n\n[INFO] BUILD \CODE
CRITICALcrates/pi-shell/src/minimizer/filters/jvm.rs1992 "\tat org.apache.commons.cli.RtkInducedFailTest.rtkInducedFailure(RtkInducedFailTest.\CODE
CRITICALcrates/pi-shell/src/minimizer/filters/jvm.rs2730 org.junit.platform.engine.discovery.DiscoverySelectors.selectMethod(DiscoverySelectors.\CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts578 expect(open.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "stop" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts579 expect(pooled.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "error" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts613 expect(open.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "stop" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts614 expect(pooled.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "error" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts688 expect(peer.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "stop" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts694 expect(peer.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "error" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts722 expect(open.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "stop" });CODE
CRITICAL…oding-agent/test/claude-auto-reset-integration.test.ts725 expect(pooled.session.agent.state.messages.at(-1)).toMatchObject({ role: "assistant", stopReason: "error" });CODE
CRITICAL…agent/test/agent-session-plan-mode-convergence.test.ts260 const advisorCards = harness.session.agent.state.messages.filter(CODE
CRITICAL…agent/test/agent-session-plan-mode-convergence.test.ts275 const sawIrc = harness.session.agent.state.messages.some(CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts241 return harness.session.agent.state.messages.filter(CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts275 expect(harness.session.agent.state.messages.at(-1)).toMatchObject({CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts356 expect(harness.session.agent.state.messages.at(-1)).toMatchObject({ stopReason: "stop" });CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts521 const priorAssistant = harness.session.agent.state.messages.find(CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts558 expect(harness.session.agent.state.messages.at(-1)).toMatchObject({CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts620 expect(harness.session.agent.state.messages.at(-1)).toMatchObject({CODE
CRITICAL…test/agent-session-responses-body-read-timeout.test.ts752 expect(harness.session.agent.state.messages.at(-1)).toMatchObject({CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts175 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts461 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts495 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts529 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts557 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts584 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…s/coding-agent/test/prefix-binding-tool-roster.test.ts604 const notices = harness.session.agent.state.messages.filter(CODE
CRITICAL…-agent/test/agent-session-interrupted-thinking.test.ts295 const hidden = harness.session.agent.state.messages.find(isInterruptedThinkingMessage);CODE
CRITICAL…-agent/test/agent-session-interrupted-thinking.test.ts339 expect(harness.session.agent.state.messages.some(isInterruptedThinkingMessage)).toBe(true);CODE
CRITICAL…-agent/src/tools/browser/aria/aria-snapshot.bundle.txt5`:return"\\n";case"\r":return"\\r";case"\t":return"\\t";default:return"\\x"+t.charCodeAt(0).toString(16).padStart(2,"0")CODE
CRITICAL…ding-agent/src/modes/controllers/command-controller.ts606 const credentialSource = this.ctx.session.modelRegistry.authStorage.keys.describe(CODE
CRITICAL…ding-agent/src/modes/controllers/command-controller.ts749 this.ctx.session.modelRegistry.authStorage.oauth.identity(provider, sessionId ?? this.ctx.session.sessionId);CODE
CRITICAL…ing-agent/src/modes/controllers/selector-controller.ts441 ? this.ctx.session.modelRegistry.authStorage.oauth.identity(currentProvider, this.ctx.session.sessionId)CODE
CRITICAL…ing-agent/src/modes/controllers/selector-controller.ts556 const identity = this.ctx.session.modelRegistry.authStorage.oauth.identity(CODE
CRITICAL…ing-agent/src/modes/controllers/selector-controller.ts2151 const identity = await this.ctx.session.modelRegistry.authStorage.oauth.login(providerId as OAuthProvider, {CODE
CRITICAL…ing-agent/src/modes/controllers/selector-controller.ts2312 this.ctx.session.modelRegistry.authStorage.credentials.has(provider.id),CODE
CRITICALpackages/coding-agent/src/slash-commands/seance.ts40 const taskTool = ctx.session.agent.state.tools.find(tool => tool.name === "task");CODE
CRITICAL…oding-agent/src/slash-commands/helpers/usage-report.ts177 ? runtime.session.modelRegistry.authStorage.oauth.identity(currentProvider, runtime.session.sessionId)CODE
CRITICALpackages/ai/test/cursor-external-tool-executor.test.ts217 ? answer.value.result.value.content.map(item =>CODE
CRITICALpackages/ai/test/cursor-exec-modern.test.ts1039 expect(answer.value.result.value.servers.map(s => s.serverIdentifier)).toEqual(["fixture"]);CODE
Empty Error Handlers38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHpython/robomp/src/queue.py184except TimeoutError:CODE
HIGHpython/robomp/src/queue.py204except TimeoutError:CODE
HIGHpython/robomp/src/natives_cache.py236except FileNotFoundError:CODE
HIGHpython/robomp/src/natives_cache.py486except OSError:CODE
HIGHpython/robomp/src/natives_cache.py181except FileExistsError:CODE
HIGHpython/robomp/src/autoclose.py105except (asyncio.CancelledError, Exception):CODE
HIGHpython/robomp/src/dashboard.py66except json.JSONDecodeError:CODE
HIGHpython/robomp/src/sandbox.py503except FileNotFoundError:CODE
HIGHpython/robomp/src/sandbox.py577except FileNotFoundError:CODE
HIGHpython/robomp/src/issue_index.py183except (asyncio.CancelledError, Exception):CODE
HIGHpython/robomp/src/github_client.py210except ValueError:CODE
HIGHpython/robomp/src/github_client.py216except ValueError:CODE
HIGHsdk/python/omp-rpc/tests/test_client.py2269except (OSError, ValueError):CODE
HIGHsdk/python/omp-rpc/tests/test_client.py2489except OSError:CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py235except OSError:CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py2177except ValueError:CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py724except Exception:CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py735except OSError:CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py740except OSError:CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py804except ValueError:CODE
HIGHscripts/edit_benchmark_common.py800except Exception:CODE
HIGHscripts/session-stats/sync.py909except Exception:CODE
HIGHscripts/session-stats/sync.py431except ValueError:CODE
HIGHscripts/session-stats/analyze.py385except Exception:CODE
HIGHpackages/snapcompact/research/snapcompact_viz_city.py46except OSError:CODE
HIGHpackages/coding-agent/src/ida/worker.py27except (AttributeError, ValueError):CODE
HIGHpackages/coding-agent/src/tiny/mlx-server.py237except OSError:CODE
HIGHpackages/coding-agent/src/tiny/mlx-server.py291except (BrokenPipeError, ConnectionResetError, OSError):CODE
HIGHpackages/coding-agent/src/eval/py/runner.py2540except (OSError, ValueError):CODE
HIGHpackages/coding-agent/src/eval/py/runner.py2548except (OSError, ValueError):CODE
HIGHpackages/coding-agent/src/eval/py/runner.py1394except ProcessLookupError:CODE
HIGHpackages/coding-agent/src/eval/py/runner.py1860except Exception:CODE
HIGHpackages/coding-agent/src/eval/py/runner.py2490except ValueError:CODE
HIGHpackages/coding-agent/src/eval/py/runner.py2580except ValueError:CODE
HIGHpackages/coding-agent/src/eval/py/runner.py2767except Exception:CODE
HIGHpackages/coding-agent/src/eval/py/prelude.py608except (TypeError, ValueError):CODE
HIGHpackages/ai/scripts/cursor-log.py272except KeyboardInterrupt:CODE
HIGHpackages/ai/scripts/cursor-log.py241except json.JSONDecodeError:CODE
Cross-Language Confusion (JS/TS)31 hits · 188 pts
SeverityFileLineSnippetContext
HIGH…/coding-agent/test/tools/fetch-navigation-gate.test.ts22print(r.ok)CODE
HIGH…/coding-agent/test/tools/fetch-navigation-gate.test.ts23print(r.time)</code></pre>CODE
HIGH…/coding-agent/test/tools/browser-open-download.test.ts86print(marker, await tab.title());CODE
HIGH…kages/coding-agent/test/tools/eval-description.test.ts359 " return True",CODE
HIGHpackages/coding-agent/test/tools/ida-worker.test.ts23 return FalseCODE
HIGHpackages/coding-agent/test/tools/ida-worker.test.ts25 return TrueCODE
HIGH⚡…ages/coding-agent/test/core/python-tool-bridge.test.ts134 print(await tool.constrained())CODE
HIGH⚡…ages/coding-agent/test/core/python-tool-bridge.test.ts135 print(await tool.constrained(i=None))CODE
HIGH⚡…ages/coding-agent/test/core/python-tool-bridge.test.ts136 print(await tool.constrained(i="allowed"))CODE
HIGH⚡…ages/coding-agent/test/core/python-tool-bridge.test.ts140 print("invalid rejected")CODE
HIGH…ages/coding-agent/test/core/python-tool-bridge.test.ts334 print(await __omp_with_call_site__("py:0", tool.read, {"path": "foo.txt"}))CODE
HIGH…ages/coding-agent/test/core/python-tool-bridge.test.ts335 print(await __omp_with_call_site__("py:0", tool.read, {"path": "foo.txt"}))CODE
HIGH…es/coding-agent/test/eval/js-shadow-projection.test.ts37print(target);CODE
HIGHpackages/coding-agent/scripts/gen-rpc/python.ts601 statement: `data = ${call}\n return None if data is None else ${decoder}(data, ${pyString(command.name)})`,CODE
HIGHpackages/coding-agent/src/cleanse/index.ts39 print(text: string): void;CODE
HIGHpackages/coding-agent/src/cli/bench-cli.ts1179 print(`${chalk.bold(label)}${selector === label ? "" : chalk.dim(` (${selector})`)}`);CODE
HIGHpackages/coding-agent/src/cli/bench-cli.ts1290 print(formatCachePairLine(pair, index, pairs.length));CODE
HIGHpackages/coding-agent/src/cli/bench-cli.ts1303 print(CODE
HIGHpackages/coding-agent/src/cli/bench-cli.ts1351 print(formatRunLine(results[offset + nextToPrint]!, nextToPrint, step.runs, { tagKind }));CODE
HIGHpackages/coding-agent/src/cli/bench-cli.ts1359 print(CODE
HIGHpackages/coding-agent/src/cli/bench-cli.ts1388 print(["", ...formatBenchTable(rows, tableSpec)].join("\n"));CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts53 print(JSON.stringify(output, null, 2));CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts58 print(chalk.dim("No active Collab hosts."));CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts62 print(chalk.green(`${hosts.length} active Collab ${hosts.length === 1 ? "host" : "hosts"}`));CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts82 print("");CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts83 print(`${host.instanceId} ${session} ${chalk.dim(cwd)}`);CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts84 print(` ${chalk.dim(details.join(" · "))}`);CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts86 print(chalk.dim("Get a link: omp collab link <instanceId|pid> [--view]"));CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts96 print(JSON.stringify(output, null, 2));CODE
HIGH⚡packages/coding-agent/src/cli/collab-cli.ts99 print(link.url);CODE
HIGHpackages/tui/test/eval-format-python-render.test.ts52 " return None",CODE
Unused Imports183 hits · 164 pts
SeverityFileLineSnippetContext
LOWinfra/vmon/omp_ci_template.py42CODE
LOWpython/robomp/tests/test_permissions_e2e.py1CODE
LOWpython/robomp/tests/test_retry.py11CODE
LOWpython/robomp/tests/test_git_ops.py3CODE
LOWpython/robomp/tests/conftest.py3CODE
LOWpython/robomp/tests/test_host_tools.py3CODE
LOWpython/robomp/tests/test_slot_pool.py1CODE
LOWpython/robomp/tests/test_natives_cache.py7CODE
LOWpython/robomp/tests/test_pragmas.py1CODE
LOWpython/robomp/tests/test_status_contract.py7CODE
LOWpython/robomp/tests/test_db.py1CODE
LOWpython/robomp/tests/test_persona.py3CODE
LOWpython/robomp/tests/test_autoclose.py3CODE
LOWpython/robomp/tests/test_worker.py8CODE
LOWpython/robomp/tests/test_issue_index.py3CODE
LOWpython/robomp/tests/test_tasks_directive.py3CODE
LOWpython/robomp/tests/test_server.py3CODE
LOWpython/robomp/tests/test_tasks_release.py1CODE
LOWpython/robomp/tests/test_queue_cancel.py9CODE
LOWpython/robomp/tests/test_proxy_server.py3CODE
LOWpython/robomp/tests/test_sandbox.py1CODE
LOWpython/robomp/tests/test_config.py1CODE
LOWpython/robomp/tests/test_worker_smoke.py17CODE
LOWpython/robomp/tests/test_worker_pragmas.py3CODE
LOWpython/robomp/tests/test_queue_dispatch.py3CODE
LOWpython/robomp/tests/test_proxy_client.py4CODE
LOWpython/robomp/tests/test_github_client.py3CODE
LOWpython/robomp/tests/test_github_events.py1CODE
LOWpython/robomp/tests/test_queue_shutdown.py9CODE
LOWpython/robomp/src/queue.py3CODE
LOWpython/robomp/src/worker.py13CODE
LOWpython/robomp/src/pragmas.py47CODE
LOWpython/robomp/src/db.py3CODE
LOWpython/robomp/src/natives_cache.py8CODE
LOWpython/robomp/src/server.py3CODE
LOWpython/robomp/src/proxy_hmac.py8CODE
LOWpython/robomp/src/tasks.py3CODE
LOWpython/robomp/src/config.py3CODE
LOWpython/robomp/src/logging_config.py3CODE
LOWpython/robomp/src/github_backend.py9CODE
LOWpython/robomp/src/git_ops.py15CODE
LOWpython/robomp/src/proxy_client.py12CODE
LOWpython/robomp/src/autoclose.py17CODE
LOWpython/robomp/src/manual_triage.py6CODE
LOWpython/robomp/src/cancellation.py13CODE
LOWpython/robomp/src/persona.py9CODE
LOWpython/robomp/src/dashboard.py8CODE
LOWpython/robomp/src/sandbox.py38CODE
LOWpython/robomp/src/cli.py3CODE
LOWpython/robomp/src/slot_pool.py1CODE
LOWpython/robomp/src/host_tools.py7CODE
LOWpython/robomp/src/github_events.py3CODE
LOWpython/robomp/src/issue_index.py18CODE
LOWpython/robomp/src/github_client.py3CODE
LOWpython/robomp/src/proxy/server.py12CODE
LOWpython/robomp/src/proxy/__main__.py3CODE
LOWsdk/python/omp-rpc/tests/test_protocol.py1CODE
LOWsdk/python/omp-rpc/tests/test_host_uris.py1CODE
LOWsdk/python/omp-rpc/tests/__init__.py1CODE
LOWsdk/python/omp-rpc/tests/test_client.py1CODE
123 more matches not shown…
Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHpackages/snapcompact/research/exp19_bestglm.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp18_bestkimi.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp16_bestfable.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp15_bestgemini.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp04_layout.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp14_bestgpt.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp17_bestopus.py0greedy word-wrap, no mid-word breaks (hard split only for width+ words).STRING
HIGHpackages/snapcompact/research/exp19_bestglm.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp18_bestkimi.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp16_bestfable.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp15_bestgemini.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp04_layout.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp14_bestgpt.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp17_bestopus.py0greedy paragraph-aligned packing: [(i, j)] para ranges, one per page.STRING
HIGHpackages/snapcompact/research/exp19_bestglm.py0per-line per-char glyph color cycling hue per sentence across the page.STRING
HIGHpackages/snapcompact/research/exp04_layout.py0per-line per-char glyph color cycling hue per sentence across the page.STRING
HIGHpackages/snapcompact/research/exp14_bestgpt.py0per-line per-char glyph color cycling hue per sentence across the page.STRING
HIGHpackages/snapcompact/research/exp18_bestkimi.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp16_bestfable.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp08_foveate.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp01_patchalign.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp14_bestgpt.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp17_bestopus.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp13_extractive.py0disk-cache `fn() -> dict` keyed by (model, tag, payload). truncations are not cached.STRING
HIGHpackages/snapcompact/research/exp04_layout.py0two-column bw page: left column rows top-to-bottom, then right column.STRING
HIGHpackages/snapcompact/research/exp14_bestgpt.py0two-column bw page: left column rows top-to-bottom, then right column.STRING
HIGHpackages/snapcompact/research/exp17_bestopus.py0two-column bw page: left column rows top-to-bottom, then right column.STRING
Fake / Example Data124 hits · 124 pts
SeverityFileLineSnippetContext
LOWcrates/pi-shell/src/minimizer/filters/gt.rs322 assert!(!out.text.contains("user@example.com"));CODE
LOWcrates/pi-builtins/src/rsync/acl.rs887 fn fake_name(kind: AclKind) -> Vec<u8> {CODE
LOWcrates/pi-builtins/src/rsync/acl.rs904 return match tree.get_xattr(rel, bytes_os(&fake_name(kind))?, false) {CODE
LOWcrates/pi-builtins/src/rsync/acl.rs949 bytes_os(&fake_name(kind)).and_then(|name| tree.remove_xattr(rel, name, false))CODE
LOWcrates/pi-builtins/src/rsync/acl.rs962 let name = fake_name(kind);CODE
LOWdocs/rpc.md1713 "placeholder": "feature/...",CODE
LOWdocs/skills/authoring-marketplaces.md89 "name": "Acme Corp",CODE
LOWsdk/go/omp-rpc/wire.go5675 d.optional("placeholder", &out.Placeholder)CODE
LOWsdk/python/omp-rpc/tests/test_client.py585 print(json.dumps({"type": "extension_ui_request", "id": "ui-1", "method": "input", "title": "Need input"STRING
LOWsdk/python/omp-rpc/tests/test_client.py611 print(json.dumps({"type": "extension_ui_request", "id": "ui-3", "method": "editor", "title": "Edit", "plSTRING
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py2963 placeholder=optional(payload, "placeholder", decode_str, path),CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3079 placeholder=optional(payload, "placeholder", decode_str, path),CODE
LOWpackages/coding-agent/test/rpc-event-filter.test.ts49 `providers:\n anthropic:\n baseUrl: http://127.0.0.1:${server.port}\n apiKey: test-dummy-key\n`,CODE
LOWpackages/coding-agent/test/auth-broker-import.test.ts251 email: "foo@bar.com",CODE
LOWpackages/coding-agent/test/auth-broker-import.test.ts274 expect(persisted?.email).toBe("foo@bar.com");CODE
LOW…t/agent-session-auto-compaction-progress-guard.test.ts628 const bigText = "lorem ipsum ".repeat(4000); // ~10k tokens of summarizable textCODE
LOW…t/agent-session-auto-compaction-progress-guard.test.ts1417 const smallText = "lorem ipsum ".repeat(100);CODE
LOW…t/agent-session-auto-compaction-progress-guard.test.ts1472 const smallText = "lorem ipsum ".repeat(100);CODE
LOWpackages/coding-agent/test/sdk-skills.test.ts213 fs.writeFileSync(path.join(userAgentDir, "placeholder.txt"), "placeholder");CODE
LOW…-agent/test/issue-6767-usage-command-streaming.test.ts31 metadata: { email: "user@example.com" },CODE
LOW…coding-agent/test/agent-session-retry-fallback.test.ts6700 const bigText = "lorem ipsum ".repeat(5000);CODE
LOW…coding-agent/test/agent-session-retry-fallback.test.ts6820 const bigText = "lorem ipsum ".repeat(5000);CODE
LOW…coding-agent/test/agent-session-retry-fallback.test.ts6918 content: [{ type: "thinking", thinking: "lorem ipsum ".repeat(5000) }],CODE
LOW…coding-agent/test/agent-session-retry-fallback.test.ts6995 arguments: { path: "report.txt", content: "lorem ipsum ".repeat(5000) },CODE
LOWpackages/coding-agent/test/usage-cli.test.ts178 const values = ["dum.my@example.org", "dum.my9@example.net", "dummy@example.net"];CODE
LOWpackages/coding-agent/test/usage-cli.test.ts2010 oauth("claude-max", { email: "dev@example.test", orgId: "org-claude", orgName: "Acme Corp" }),CODE
LOWpackages/coding-agent/test/usage-cli.test.ts2115 const identities = ["dev@example.test", "spare@example.test", "acct-team", "org-claude", "Acme Corp"];CODE
LOWpackages/coding-agent/test/active-oauth-account.test.ts43 const identity = { email: "user@example.com" };CODE
LOWpackages/coding-agent/test/active-oauth-account.test.ts48 expect(limitMatchesActiveAccount(makeReport(), makeLimit({ accountId: "user@example.com" }), identity)).toBe(CODE
LOWpackages/coding-agent/test/active-oauth-account.test.ts175 const report = makeReport({ limits: [], metadata: { email: "user@example.com" } });CODE
LOWpackages/coding-agent/test/active-oauth-account.test.ts176 expect(reportMatchesActiveAccount(report, { email: "user@example.com" })).toBe(false);CODE
LOW…coding-agent/test/codex-auto-reset-integration.test.ts24const EMAIL = "user@example.com";CODE
LOWpackages/coding-agent/test/acp-builtins.test.ts330 metadata: { email: "user@example.com" },CODE
LOWpackages/coding-agent/test/acp-builtins.test.ts364 metadata: { email: "user@example.com" },CODE
LOWpackages/coding-agent/test/acp-builtins.test.ts393 metadata: { email: "user@example.com" },CODE
LOWpackages/coding-agent/test/acp-builtins.test.ts419 email: "user@example.com",CODE
LOWpackages/coding-agent/test/acp-builtins.test.ts437 email: "user@example.com",CODE
LOW…-agent/test/agent-session-persisted-keys-cache.test.ts45 getApiKey: () => "fake-key",CODE
LOW…nt/test/issue-12281-lm-studio-placeholder-auth.test.ts202 const storage = await bootStorage("placeholder");CODE
LOWpackages/coding-agent/test/claude-auto-reset.test.ts24 const email = options.email ?? "user@example.com";CODE
LOWpackages/coding-agent/test/claude-auto-reset.test.ts87 email: options.email ?? "user@example.com",CODE
LOWpackages/coding-agent/test/claude-auto-reset.test.ts126 email: "user@example.com",CODE
LOWpackages/coding-agent/test/claude-auto-reset.test.ts601 const legacy: OAuthAccountSummary = { position: 0, credentialId: 11, email: "user@example.com", active: true };CODE
LOW…ing-agent/test/agent-session-tool-rebuild-skip.test.ts959 const dynamicTool = createMcpCustomTool("mcp__nucleus_search", "nucleus", "search", "placeholder");CODE
LOWpackages/coding-agent/test/codex-auto-reset.test.ts43const EMAIL = "user@example.com";CODE
LOW…coding-agent/test/advisor/tool-result-eviction.test.ts16 return "lorem ipsum dolor sit amet ".repeat(Math.ceil((approxTokens * 4) / 27));CODE
LOW…coding-agent/test/advisor/tool-result-eviction.test.ts16 return "lorem ipsum dolor sit amet ".repeat(Math.ceil((approxTokens * 4) / 27));CODE
LOW…ckages/coding-agent/test/tools/browser-queries.test.ts54 <input id="placeholder" placeholder="Search records" value="needle">CODE
LOW…es/coding-agent/test/tools/fetch-markup-tokens.test.ts15<meta name="author" content="Jane Doe">CODE
LOW…kages/coding-agent/test/tools/web-search-codex.test.ts264 email: "user@example.com",CODE
LOW…ing-agent/test/modes/controllers/usage-command.test.ts34 metadata: { email: "user@example.com" },CODE
LOW…ing-agent/test/modes/controllers/usage-command.test.ts88 metadata: { email: "user@example.com" },CODE
LOWpackages/coding-agent/test/security/comparison.test.ts15 scanId: "placeholder",CODE
LOW…oding-agent/test/session-manager/build-context.test.ts226 const retainedAssistant = msg("4", "3", "assistant", "placeholder");CODE
LOW…kages/coding-agent/test/ssh/connection-manager.test.ts11 await Bun.write(keyPath, "dummy-key");CODE
LOWpackages/coding-agent/test/task/task-spawn.test.ts743 "placeholder",CODE
LOWpackages/coding-agent/test/skillshare/tar.test.ts13 const archive = writeTar([{ path: "placeholder", content, executable: false }]);CODE
LOWpackages/coding-agent/src/tools/yield.ts212 "placeholder",CODE
LOW…kages/coding-agent/src/tools/browser/query-handlers.ts67 (element.getAttribute("placeholder") ?? "").trim().toLocaleLowerCase().includes(wanted),CODE
LOW…kages/coding-agent/src/tools/browser/query-handlers.ts270 element.getAttribute("placeholder") ||CODE
64 more matches not shown…
Deep Nesting118 hits · 109 pts
SeverityFileLineSnippetContext
LOWpython/robomp/tests/test_status_contract.py28CODE
LOWpython/robomp/tests/test_sandbox.py613CODE
LOWpython/robomp/tests/test_sandbox.py623CODE
LOWpython/robomp/src/queue.py167CODE
LOWpython/robomp/src/queue.py195CODE
LOWpython/robomp/src/queue.py277CODE
LOWpython/robomp/src/queue.py371CODE
LOWpython/robomp/src/worker.py142CODE
LOWpython/robomp/src/worker.py303CODE
LOWpython/robomp/src/worker.py458CODE
LOWpython/robomp/src/worker.py548CODE
LOWpython/robomp/src/db.py577CODE
LOWpython/robomp/src/natives_cache.py169CODE
LOWpython/robomp/src/natives_cache.py193CODE
LOWpython/robomp/src/natives_cache.py346CODE
LOWpython/robomp/src/tasks.py78CODE
LOWpython/robomp/src/persona.py235CODE
LOWpython/robomp/src/sandbox.py427CODE
LOWpython/robomp/src/sandbox.py878CODE
LOWpython/robomp/src/sandbox.py1138CODE
LOWpython/robomp/src/host_tools.py306CODE
LOWpython/robomp/src/host_tools.py1659CODE
LOWpython/robomp/src/host_tools.py2206CODE
LOWpython/robomp/src/host_tools.py1668CODE
LOWpython/robomp/src/host_tools.py2207CODE
LOWpython/robomp/src/issue_index.py56CODE
LOWsdk/python/omp-rpc/tests/test_client.py1335CODE
LOWsdk/python/omp-rpc/tests/test_client.py1500CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py976CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py1151CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py1316CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py1903CODE
LOWbazel/toolchains/darwin/extract_pkg.py113CODE
LOWscripts/tool_io.py152CODE
LOWscripts/edit_benchmark_common.py729CODE
LOWscripts/analyze_small_edits.py274CODE
LOWscripts/rate-edit-tool.py1140CODE
LOWscripts/rate-edit-tool.py1207CODE
LOWscripts/session-stats/sync.py328CODE
LOWscripts/session-stats/sync.py572CODE
LOWscripts/session-stats/sync.py675CODE
LOWscripts/session-stats/sync.py717CODE
LOWscripts/session-stats/sync.py820CODE
LOWscripts/session-stats/analyze.py205CODE
LOWscripts/session-stats/analyze.py241CODE
LOWscripts/session-stats/analyze.py728CODE
LOWscripts/session-stats/analyze.py921CODE
LOWscripts/session-stats/harmony_backtest.py472CODE
LOWscripts/session-stats/read_optimizer.py309CODE
LOWscripts/session-stats/read_optimizer.py374CODE
LOWscripts/session-stats/read_optimizer.py490CODE
LOW…/snapcompact/research/snapcompact_materialize_sweep.py105CODE
LOW…/snapcompact/research/snapcompact_materialize_sweep.py134CODE
LOWpackages/snapcompact/research/bdf.py48CODE
LOWpackages/snapcompact/research/bdf.py153CODE
LOWpackages/snapcompact/research/bdf.py179CODE
LOWpackages/snapcompact/research/exp11_memhier.py226CODE
LOWpackages/snapcompact/research/exp10_profiles.py80CODE
LOWpackages/snapcompact/research/final.py321CODE
LOWpackages/snapcompact/research/exp22_ttf6pt.py204CODE
58 more matches not shown…
Cross-Language Confusion25 hits · 105 pts
SeverityFileLineSnippetContext
HIGHpython/robomp/tests/test_permissions_e2e.py66 "check": "bun run check:ts && cargo check --workspace",CODE
HIGHpython/robomp/tests/test_permissions_e2e.py361 "export const embeddedAddon = null;\n",CODE
HIGH⚡python/robomp/tests/test_natives_cache.py88 (native_dir / "embedded-addon.js").write_text("export const embeddedAddon = null;\n")CODE
HIGHpython/robomp/tests/test_proxy_server.py686 body = b'{"repo":"octo/widget","pr_number":4,"reviewers":["alice"],"team_reviewers":null}'CODE
HIGHpython/robomp/tests/test_sandbox.py1783 (native_dir1 / "embedded-addon.js").write_text("export const embeddedAddon = null;\n")CODE
HIGHsdk/python/omp-rpc/tests/test_client.py1362 decoded = decoder.push(CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py1931 payload = self._frame_decoder.push(raw_payload)CODE
HIGHsdk/python/omp-rpc/src/omp_rpc/client.py1424 """Send one command and return its `data` (`{}` when absent or null)."""STRING
HIGHscripts/edit_benchmark_common.py120 self.connections.push(Connection { id, active: true });CODE
HIGHscripts/edit_benchmark_common.py316 self.connections.push(Connection {CODE
HIGHscripts/edit_benchmark_common.py329 .find(|c| c.id == id && c.active)CODE
HIGHscripts/rate-edit-tool.py175 return typeof value === "object" && value !== null;STRING
HIGHscripts/rate-edit-tool.py194 logLevel: (parsed.logLevel as LogLevel | undefined) ?? LogLevel.Info,STRING
HIGHscripts/rate-edit-tool.py195 tags: (parsed.tags as Record<string, string> | undefined) ?? {},STRING
HIGHscripts/rate-edit-tool.py223 this.#history.push(`started:${this.getAddress()}`);STRING
HIGHscripts/rate-edit-tool.py229 this.#history.push("stopped");STRING
HIGHscripts/rate-edit-tool.py281 this.#items.push(item);STRING
HIGHscripts/rate-edit-tool.py401 self.history.push("stopped".into());STRING
HIGHscripts/rate-edit-tool.py460 self.items.push(item);STRING
HIGHscripts/session-stats/harmony_backtest.py34NULLISH_RE = re.compile(r"\b(undefined|null)\b")CODE
HIGH…es/snapcompact/research/snapcompact_convergence_viz.py153 if value != value: # NaN guard (layer-0 RSA is undefined)CODE
HIGHpackages/coding-agent/src/eval/py/prelude.py1069 raise TypeError("WorkPool.push() expects string items")CODE
HIGHpackages/metaharness/agent/pi_upstream.py112 " if command -v apt-get >/dev/null 2>&1; then apt-get update && DEBIAN_FRONTEND=noninteractive apt-get CODE
HIGHpackages/metaharness/agent/pi_upstream.py117 "command -v xz >/dev/null 2>&1 || { if command -v apt-get >/dev/null 2>&1; then apt-get update && DEBIANCODE
HIGHpackages/metaharness/agent/omp_local.py328 " apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl unzip ca-certificates taCODE
Excessive Try-Catch Wrapping70 hits · 65 pts
SeverityFileLineSnippetContext
LOWpython/robomp/src/queue.py156 except Exception:CODE
LOWpython/robomp/src/queue.py190 except Exception:CODE
LOWpython/robomp/src/queue.py213 except Exception:CODE
LOWpython/robomp/src/queue.py248 except Exception:CODE
LOWpython/robomp/src/queue.py273 except Exception:CODE
LOWpython/robomp/src/queue.py291 except Exception as exc:CODE
LOWpython/robomp/src/worker.py298 except Exception as exc: # noqa: BLE001 — best-effort post-turn probeCODE
LOWpython/robomp/src/worker.py744 except Exception:CODE
LOWpython/robomp/src/worker.py878 except Exception as exc:CODE
LOWpython/robomp/src/worker.py894 except Exception as exc:CODE
LOWpython/robomp/src/natives_cache.py397 except Exception:CODE
LOWpython/robomp/src/server.py388 except Exception as exc:CODE
LOWpython/robomp/src/server.py405 except Exception:CODE
LOWpython/robomp/src/server.py602 except Exception as exc: # GitHubError, network, etc.CODE
LOWpython/robomp/src/proxy_client.py59 except Exception:CODE
LOWpython/robomp/src/autoclose.py117 except Exception:CODE
LOWpython/robomp/src/cli.py31 except Exception as exc:CODE
MEDIUMpython/robomp/src/cli.py28def _settings_or_die() -> Settings:CODE
LOWpython/robomp/src/host_tools.py188 except Exception as exc: # noqa: BLE001 - best-effort optional label cleanupCODE
LOWpython/robomp/src/host_tools.py677 except Exception as exc: # pragma: no cover - defensiveCODE
LOWpython/robomp/src/host_tools.py1538 except Exception as exc: # noqa: BLE001 - best-effort optional label setupCODE
LOWpython/robomp/src/issue_index.py195 except Exception:CODE
LOWpython/robomp/src/github_client.py265 except Exception:CODE
LOWpython/robomp/src/proxy/server.py655 except Exception as exc:CODE
LOWpython/robomp/src/proxy/__main__.py25 except Exception as exc:CODE
MEDIUMsdk/python/omp-rpc/src/omp_rpc/client.py216def _leader_exited() -> bool:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py724 except Exception:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py880 except Exception as exc:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py1618 except Exception as exc:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py1730 except Exception as exc:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py2008 except Exception as exc:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py2037 except Exception as exc:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py2142 except Exception:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py2155 except Exception as exc:CODE
LOWscripts/edit_benchmark_common.py794 except Exception:CODE
LOWscripts/edit_benchmark_common.py800 except Exception:CODE
LOWscripts/edit_benchmark_common.py825 except Exception as exc:CODE
LOWscripts/rate-edit-tool.py1280 except Exception as error: # noqa: BLE001CODE
LOWscripts/session-stats/sync.py598 except Exception:CODE
LOWscripts/session-stats/sync.py909 except Exception:CODE
LOWscripts/session-stats/sync.py1160 except Exception:CODE
LOWscripts/session-stats/sync.py1265 except Exception as e:CODE
LOWscripts/session-stats/sync.py1291 except Exception as e:CODE
LOWscripts/session-stats/analyze.py218 except Exception:STRING
LOWscripts/session-stats/analyze.py385 except Exception:STRING
LOWscripts/session-stats/analyze.py812 except Exception:STRING
LOWscripts/session-stats/analyze.py1016 except Exception:STRING
LOWscripts/session-stats/analyze.py1190 except Exception:STRING
LOWscripts/session-stats/analyze.py1203 except Exception:STRING
LOWpackages/snapcompact/research/diag_kimi_probe.py126 except Exception as e: # noqa: BLE001CODE
LOWpackages/snapcompact/research/diag_kimi_probe.py153 except Exception as e: # noqa: BLE001CODE
LOWpackages/snapcompact/research/exp06_rolecolor.py424 except Exception as err: # noqa: BLE001 -- partial results still get written; rerun resumes from cacheCODE
LOWpackages/coding-agent/src/ida/worker.py185 except Exception as e:CODE
LOWpackages/coding-agent/src/ida/worker.py730 except Exception as e:CODE
LOWpackages/coding-agent/src/ida/worker.py753 except Exception:CODE
LOWpackages/coding-agent/src/ida/worker.py776 except Exception as e:CODE
LOWpackages/coding-agent/src/tiny/mlx-server.py289 except Exception: # noqa: BLE001 - every failure is reported to the clientCODE
LOW⚡packages/coding-agent/src/eval/py/runner.py2285 except Exception:CODE
LOW⚡packages/coding-agent/src/eval/py/runner.py2297 except Exception:CODE
LOW⚡packages/coding-agent/src/eval/py/runner.py2616 except Exception:CODE
10 more matches not shown…
Verbosity Indicators28 hits · 56 pts
SeverityFileLineSnippetContext
LOW⚡crates/pi-natives/src/pty.rs603 // Step 1: Close the ConPTY input pipe first.COMMENT
LOW⚡crates/pi-natives/src/pty.rs610 // Step 2: Drop master so the reader sees EOF if the slave is gone, thenCOMMENT
LOW⚡crates/pi-builtins/src/dirname.rs93 // Step 1: Strip trailing slashes (but not if the entire path is slashes)COMMENT
LOW⚡crates/pi-builtins/src/dirname.rs103 // Step 2: Check if it ends with `/.` and strip the `/+.` patternCOMMENT
LOWcrates/pi-builtins/src/dirname.rs125 // Step 3: Normal dirname - find last / and remove everything after itCOMMENT
LOW⚡packages/coding-agent/src/tools/fetch.ts1162 // Step 0: Normalize URL (ensure scheme for special handlers)COMMENT
LOW⚡packages/coding-agent/src/tools/fetch.ts1165 // Step 1: Try special handlers for known sites (unless raw mode)COMMENT
LOW⚡packages/coding-agent/src/tools/fetch.ts1171 // Step 2: Fetch pageCOMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1327 // Step 3: Handle convertible binary files (PDF, DOCX, etc.)COMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1382 // Step 4: Handle non-HTML text contentCOMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1447 // Step 5: For HTML, try digestible formats first (unless raw mode)COMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1557 // Step 6: If rendered output is low quality, try more targeted fallbacks. A reader'sCOMMENT
LOWpackages/coding-agent/src/mcp/oauth-discovery.ts534 // Step 1: If a resource_metadata URL was provided, fetch it to discover auth servers.COMMENT
LOWpackages/coding-agent/src/mcp/oauth-discovery.ts554 // Step 2: Add explicit authServerUrl as an issuer candidate (skipped by the loopCOMMENT
LOW…ages/coding-agent/src/extensibility/plugins/manager.ts582 // Step 1: write the spec into plugins/package.json + node_modules.COMMENT
LOW…ages/coding-agent/src/extensibility/plugins/manager.ts630 // Step 2: refresh the git lockfile pin when re-installing an existingCOMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts694 // Step 1: initial query was sent on startCOMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts698 // Step 2: Mode 2031 notification arrives — queues re-query since initial is pendingCOMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts701 // Step 3: Complete initial OSC 11 response (light)COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts707 // Step 4: Complete both initial DA1 sentinels — keyboard probe first, then OSC 11.COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts715 // Step 5: Complete 2nd OSC 11 response with a different color (dark)COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts718 // Step 6: Complete 2nd DA1COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts721 // Step 7: Verify appearance changed and callback firedCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts33 // Step 1: Create context with the calculate toolCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts40 // Step 2: Ask the LLM to make a tool callCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts47 // Step 3: Get the assistant's response (should contain a tool call)COMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts61 // Step 4: Send a user message WITHOUT providing tool resultCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts69 // Step 5: The fix should filter out the orphaned tool call, and the request should succeedCOMMENT
Structural Annotation Overuse28 hits · 56 pts
SeverityFileLineSnippetContext
LOW⚡crates/pi-natives/src/pty.rs603 // Step 1: Close the ConPTY input pipe first.COMMENT
LOW⚡crates/pi-natives/src/pty.rs610 // Step 2: Drop master so the reader sees EOF if the slave is gone, thenCOMMENT
LOW⚡crates/pi-builtins/src/dirname.rs93 // Step 1: Strip trailing slashes (but not if the entire path is slashes)COMMENT
LOW⚡crates/pi-builtins/src/dirname.rs103 // Step 2: Check if it ends with `/.` and strip the `/+.` patternCOMMENT
LOWcrates/pi-builtins/src/dirname.rs125 // Step 3: Normal dirname - find last / and remove everything after itCOMMENT
LOW⚡packages/coding-agent/src/tools/fetch.ts1162 // Step 0: Normalize URL (ensure scheme for special handlers)COMMENT
LOW⚡packages/coding-agent/src/tools/fetch.ts1165 // Step 1: Try special handlers for known sites (unless raw mode)COMMENT
LOW⚡packages/coding-agent/src/tools/fetch.ts1171 // Step 2: Fetch pageCOMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1327 // Step 3: Handle convertible binary files (PDF, DOCX, etc.)COMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1382 // Step 4: Handle non-HTML text contentCOMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1447 // Step 5: For HTML, try digestible formats first (unless raw mode)COMMENT
LOWpackages/coding-agent/src/tools/fetch.ts1557 // Step 6: If rendered output is low quality, try more targeted fallbacks. A reader'sCOMMENT
LOWpackages/coding-agent/src/mcp/oauth-discovery.ts534 // Step 1: If a resource_metadata URL was provided, fetch it to discover auth servers.COMMENT
LOWpackages/coding-agent/src/mcp/oauth-discovery.ts554 // Step 2: Add explicit authServerUrl as an issuer candidate (skipped by the loopCOMMENT
LOW…ages/coding-agent/src/extensibility/plugins/manager.ts582 // Step 1: write the spec into plugins/package.json + node_modules.COMMENT
LOW…ages/coding-agent/src/extensibility/plugins/manager.ts630 // Step 2: refresh the git lockfile pin when re-installing an existingCOMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts694 // Step 1: initial query was sent on startCOMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts698 // Step 2: Mode 2031 notification arrives — queues re-query since initial is pendingCOMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts701 // Step 3: Complete initial OSC 11 response (light)COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts707 // Step 4: Complete both initial DA1 sentinels — keyboard probe first, then OSC 11.COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts715 // Step 5: Complete 2nd OSC 11 response with a different color (dark)COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts718 // Step 6: Complete 2nd DA1COMMENT
LOW⚡packages/tui/test/terminal-appearance.test.ts721 // Step 7: Verify appearance changed and callback firedCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts33 // Step 1: Create context with the calculate toolCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts40 // Step 2: Ask the LLM to make a tool callCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts47 // Step 3: Get the assistant's response (should contain a tool call)COMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts61 // Step 4: Send a user message WITHOUT providing tool resultCOMMENT
LOW⚡packages/ai/test/tool-call-without-result.test.ts69 // Step 5: The fix should filter out the orphaned tool call, and the request should succeedCOMMENT
Modern AI Meta-Vocabulary16 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMcrates/pi-vcs/src/git/read.rs1655 // entries for empty scaffold dirs).COMMENT
MEDIUMdocs/models.md79 maxContextWindow: 256000 # optional extended-context windowCODE
MEDIUMdocs/handoff-generation-pipeline.md175## Short-session and minimum-content guardrailsCOMMENT
MEDIUMpackages/coding-agent/src/ratchet/ratchet.ts406 // Price overrides decide cost guardrails, so changing them must re-open the plan.COMMENT
MEDIUM…kages/coding-agent/src/cli/gallery-fixtures/agentic.ts1// Gallery fixtures for agentic orchestration (task, wait, goal, yield).COMMENT
MEDIUM…ges/coding-agent/src/prompts/system/workflow-notice.md18- {{#if py}}`workpool(agent=None, *, name=None, context=None{{#if evalTools}}, tools=None{{/if}})`{{else}}`await workpooCODE
MEDIUMpackages/coding-agent/src/commands/commit.ts36 // The agentic commit flow opens keep-alive sockets to the model providerCOMMENT
MEDIUMpackages/tui/src/overlays/usage-row.ts74 this.#input += usage.input + usage.cacheWrite + (usage.orchestration?.input ?? 0);CODE
MEDIUMpackages/tui/src/overlays/usage-row.ts75 this.#output += usage.output + (usage.orchestration?.output ?? 0);CODE
MEDIUMpackages/catalog/src/compat/rules.json1{"version":1,"files":["auth/_order.kdl","auth/abliteration.kdl","auth/aiand.kdl","auth/aimlapi.kdl","auth/alibaba-codingCODE
MEDIUMpackages/catalog/src/compat/rules/README.md222`context-window-authoritative #true` preserves a host's supplied context window through runtime model selection instead CODE
MEDIUMpackages/catalog/src/compat/rules/README.md224`long-context-window-uncapped #true` keeps a model's `long-context-cost` tier from capping its runtime context window whCODE
MEDIUMpackages/ai/test/issue-1227-repro.test.ts108 // The critical /btw scenario: session already has tool history (prior agenticCOMMENT
MEDIUMpackages/ai/test/issue-6276-repro.test.ts126describe("issue #6276 — Amazon Bedrock guardrails", () => {CODE
MEDIUMpackages/ai/test/openai-completions-ttft.test.ts3// is a structured `tool_calls` entry (the common agentic shape onCOMMENT
MEDIUMpackages/natives/scripts/gen-enums.ts134 // content replacement — no scaffold, no template file.COMMENT
Modern Structural Boilerplate40 hits · 38 pts
SeverityFileLineSnippetContext
LOWpython/robomp/src/queue.py481__all__ = ["WorkerPool"]CODE
LOWpython/robomp/src/worker.py912__all__ = ["DirectiveInfo", "ReleaseTaskContext", "TaskInputs", "ThreadMessage", "run_task"]CODE
LOWpython/robomp/src/pragmas.py176__all__ = [CODE
LOWpython/robomp/src/db.py460 def set_event_model(self, delivery_id: str, model: str) -> None:CODE
LOWpython/robomp/src/db.py836 def set_release_state(self, key: str, state: ReleaseState, *, error: str | None = None) -> None:CODE
LOWpython/robomp/src/db.py844 def set_release_sha(self, key: str, sha: str) -> None:CODE
LOW⚡python/robomp/src/db.py913 def set_issue_state(self, key: str, state: IssueState) -> None:CODE
LOW⚡python/robomp/src/db.py920 def set_issue_pr(self, key: str, pr_number: int) -> None:CODE
LOW⚡python/robomp/src/db.py927 def set_issue_classification(self, key: str, classification: str) -> None:CODE
LOW⚡python/robomp/src/db.py934 def set_issue_branch(self, key: str, branch: str) -> None:CODE
LOWpython/robomp/src/db.py1468 def set_issue_index_watermark(self, repo: str, last_synced: str) -> None:CODE
LOWpython/robomp/src/natives_cache.py491__all__ = [CODE
LOWpython/robomp/src/server.py913__all__ = ["create_app"]CODE
LOWpython/robomp/src/proxy_hmac.py91__all__ = [CODE
LOWpython/robomp/src/tasks.py1063__all__ = [CODE
LOWpython/robomp/src/github_backend.py122__all__ = ["GitHubBackend"]CODE
LOWpython/robomp/src/git_ops.py1021__all__ = [CODE
LOWpython/robomp/src/proxy_client.py738__all__ = ["GitHubProxyClient", "ProxyGitTransport"]CODE
LOWpython/robomp/src/autoclose.py194__all__ = ["AutocloseScheduler"]CODE
LOWpython/robomp/src/manual_triage.py154__all__ = [CODE
LOWpython/robomp/src/cancellation.py68__all__ = [CODE
LOWpython/robomp/src/persona.py425__all__ = [CODE
LOWpython/robomp/src/dashboard.py133__all__ = [CODE
LOWpython/robomp/src/sandbox.py1218__all__ = [CODE
LOWpython/robomp/src/host_tools.py2622__all__ = ["AbortController", "ReleaseToolContext", "ToolBindings", "build"]CODE
LOWpython/robomp/src/github_events.py459__all__ = [CODE
LOWpython/robomp/src/issue_index.py246__all__ = [CODE
LOWpython/robomp/src/github_client.py1012__all__ = [CODE
LOWpython/robomp/src/proxy/server.py993__all__ = ["create_proxy_app"]CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py1248 def _settle_prompt(self, request_id: str) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/__init__.py59__all__ = [CODE
LOW⚡sdk/python/omp-rpc/src/omp_rpc/_wire.py3514 def set_steering_mode(self, mode: QueueMode) -> None:CODE
LOW⚡sdk/python/omp-rpc/src/omp_rpc/_wire.py3520 def set_follow_up_mode(self, mode: QueueMode) -> None:CODE
LOW⚡sdk/python/omp-rpc/src/omp_rpc/_wire.py3526 def set_interrupt_mode(self, mode: InterruptMode) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3497 def set_thinking_level(self, level: ThinkingLevel) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3539 def set_auto_compaction(self, enabled: bool) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3551 def set_auto_retry(self, enabled: bool) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3629 def set_label(self, entry_id: str, *, label: str | None = None) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3647 def set_session_name(self, name: str) -> None:CODE
LOWsdk/python/omp-rpc/src/omp_rpc/_wire.py3951__all__ = [CODE
AI Slop Vocabulary13 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUMcrates/pi-predict/src/smollm/mod.rs30//! # Parity (research harness, `test-small`, KSR % at quiet / balanced / parity)COMMENT
MEDIUMcrates/pi-edit/tests/common/mod.rs31#![allow(dead_code, reason = "each test binary uses a subset of the harness")]COMMENT
MEDIUMscripts/session-stats/analyze.py539 # The harness `is_error` flag is authoritative. The current edit format emitsSTRING
MEDIUMpackages/snapcompact/research/exp08_foveate.py47# harness fuzzy-locates them in the chunk and zooms that row band)COMMENT
MEDIUM…ages/snapcompact/research/snapcompact_viz_waterfall.py59 # Use one common robust scale so answer/random amplitudes are visually comparable.COMMENT
MEDIUMpackages/snapcompact/research/diag_glm_mono.py116 # Reread the original OpenRouter run's cached raw texts, robust-parse, rescore.COMMENT
MEDIUMpackages/snapcompact/research/exp02_surprisal.py230# --- harness (mirrors final.py) -----------------------------------------------COMMENT
MEDIUM…-agent/test/tools/browser-cmux-release-mid-run.test.ts244 // bounded loop keeps the test robust against future micro-batchingCOMMENT
MEDIUM…-agent/test/lsp/issue-4910-diagnostics-bounded.test.ts75 // Generous ceiling to stay robust on slow CI machines.COMMENT
MEDIUMpackages/coding-agent/src/modes/acp/acp-agent.ts130 * `#scheduleBootstrapUpdates`. Exported so the ACP test harness canCOMMENT
MEDIUMpackages/tui/test/kitty-graphics.test.ts46 // Distinct rows carry distinct row diacritics (robust under slicing).COMMENT
MEDIUMpackages/utils/test/ptree-bytes.test.ts13 // chunk threshold, so it stays robust to future Bun runtime changes.COMMENT
MEDIUMpackages/utils/src/which.ts1// OS-agnostic "which" helper with robust macOS toolchain lookup and flexible cache control.COMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHpackages/coding-agent/test/task/worktree.test.ts1212 // message instead of an AI-generated summary.COMMENT
HIGHpackages/coding-agent/test/task/worktree.test.ts1276 // extra commit with the AI-generated message, NOT silently dropped.COMMENT
HIGHpackages/tui/src/overlays/agents-hub.ts234 // Create flow (AI-generated agent definition).COMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM⚡python/robomp/tests/test_sandbox.py318 # Create a second branch that collides with the rename target.COMMENT
MEDIUMpython/robomp/tests/test_sandbox.py345 # Create a worktree on `farm/badhex/bad-branch`.COMMENT
MEDIUMpython/robomp/tests/test_sandbox.py1202 # Create a real repo_dir on disk so `repo_dir.exists()` is True on entry.COMMENT
MEDIUMpackages/coding-agent/src/commands/launch-help.ts146 `# Create a shell shortcut for a work profile\n ${APP_NAME} --profile work --alias omp-work`,CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/install.sh78# Check if bun is availableCOMMENT
LOWscripts/install.sh159# Check if git is availableCOMMENT
LOWscripts/install.sh178# Check if git-lfs is availableCOMMENT
LOWscripts/install.sh350 # Check if in PATHCOMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpackages/coding-agent/src/eval/py/prelude.py173Read task/agent output by ID. Returns text or JSON depending on format. Args: *ids: Output IDs to rSTRING
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpackages/ai/README.md923 apiKey: "your-api-key",CODE
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWcrates/pi-natives/tools/cache/tokenization_kimi.py357CODE
LOWpython/robomp/src/git_ops.py201CODE
LOWsdk/python/omp-rpc/src/omp_rpc/client.py454CODE
LOWpackages/coding-agent/src/tools/browser/prelude.py595CODE
LOWpackages/coding-agent/src/eval/py/prelude.py1022CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/ci-macos-upload-secrets.sh17# Usage:COMMENT
LOWpackages/coding-agent/src/web/scrapers/terraform.ts137 // Usage exampleCOMMENT
LOWpackages/coding-agent/src/web/scrapers/terraform.ts251 // Usage exampleCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pi-builtins/src/rm.rs1263// TODO: implement one-file-system (this may get partially implemented inCOMMENT
LOWpackages/natives/test/native.test.ts68 // TODO: implementCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/robomp/tests/test_proxy_client.py137 def handle_request(self, request: httpx.Request) -> httpx.Response: # type: ignore[override]CODE
LOWpython/robomp/src/worker.py786async def run_task(CODE