AI Slop Code RIsk Monitor

Ataraxy-Labs/sem

Semantic version control => entity-level diffs, blame, and impact analysis on top of git. 28 languages via tree-sitter. Built for coding agents.

5.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Ataraxy-Labs/sem, a Rust project with 3,406 GitHub stars. SynthScan examined 217,802 lines of code across 526 source files, recording 868 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 5.1 (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.

5.1
Adjusted Signal
5.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
3.4K
Stars
Rust
Language
217.8K
Lines of Code
526
Files
868
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 14.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 9.5/100 · LOW

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

PR Review Velocity Impact 23.6/100 · LOW

Which changes need focused human review? 868 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 0HIGH 20MEDIUM 102LOW 746

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 868 distinct pattern matches across 16 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.

Over-Commented Block594 hits · 535 pts
SeverityFileLineSnippetContext
LOWuninstall.sh1#!/bin/shCOMMENT
LOWinstall.sh1#!/bin/shCOMMENT
LOWcrates/sem-plugin/src/bindings.rs981 pub use alloc_crate::alloc;COMMENT
LOWcrates/sem-mcp/tests/mcp_protocol.rs1//! RED tests proving three MCP server gaps, run against the real `sem-mcp`COMMENT
LOWcrates/sem-mcp/src/cache.rs1//! Thin re-export of `sem_core::persist::disk_cache`.COMMENT
LOWcrates/sem-mcp/src/cache.rs21//! `DiskCache` implementation here used to.COMMENT
LOWcrates/sem-mcp/src/cache.rs41use rusqlite::{params, Connection, OptionalExtension, Transaction};COMMENT
LOWcrates/sem-mcp/src/cloud.rs1//! Cloud routing for the MCP tools.COMMENT
LOWcrates/sem-mcp/src/lib.rs81COMMENT
LOWcrates/sem-mcp/src/agent_review.rs1//! Client for the sem-cloud "agent review listener" API.COMMENT
LOWcrates/sem-mcp/src/agent_review.rs121 }COMMENT
LOWcrates/sem-mcp/src/agent_review.rs161/// existing `agent_review::unanswerable_result` / `agent_review::review_gone_result`COMMENT
LOWcrates/sem-mcp/src/agent_review.rs261 let truncated: String = text.chars().take(max_chars).collect();COMMENT
LOWcrates/sem-mcp/src/server.rs181/// Not redundant with [`CachedGraph`]: this is a genuinely lighter disk-loadCOMMENT
LOWcrates/sem-mcp/src/server.rs201/// re-triggering the build.COMMENT
LOWcrates/sem-mcp/src/server.rs541 fn read_file_at(abs_path: &Path, display_path: &str) -> Result<String, String> {COMMENT
LOWcrates/sem-mcp/src/server.rs3141 ) -> Result<CallToolResult, rmcp::ErrorData> {COMMENT
LOWcrates/sem-mcp/src/server.rs4441 /// each redundantly rebuilt the whole graph (thundering herd). Fires manyCOMMENT
LOWcrates/sem-mcp/src/server.rs4521COMMENT
LOWcrates/sem-mcp/src/watch.rs1//! Filesystem watcher that keeps the MCP server's in-memory entity graph hot.COMMENT
LOWcrates/sem-mcp/src/review_protocol.rs1//! Centralized "loop discipline" text for the review-listener toolsCOMMENT
LOWcrates/sem-cli/tests/arch_diff_scale.rs1//! `sem arch-diff` memory on a huge repository with a tiny change.COMMENT
LOWcrates/sem-cli/tests/impact_direct_deps.rs461 );COMMENT
LOWcrates/sem-cli/tests/check_cli.rs1//! `sem check` end to end on fixture projects. The property every case asserts:COMMENT
LOWcrates/sem-cli/tests/arch_diff_budget.rs1//! `sem arch-diff --budget N` bounds the command's wall time.COMMENT
LOWcrates/sem-cli/tests/cli_simplify.rs1//! The simplified command line: core verbs, flags for their variations, andCOMMENT
LOWcrates/sem-cli/tests/review_listen_dry_run.rs1//! `sem review listen --dry-run` — drives the real `sem` binary against aCOMMENT
LOWcrates/sem-cli/tests/callers_soundness_cli.rs1//! `sem callers` never answers a confident "none" it cannot back.COMMENT
LOWcrates/sem-cli/tests/support/mod.rs1//! Shared stub-server plumbing for `sem`'s cloud-facing integration testsCOMMENT
LOWcrates/sem-cli/src/telemetry.rs1//! Anonymous command-usage telemetry — three modes, local by default.COMMENT
LOWcrates/sem-cli/src/telemetry.rs61COMMENT
LOWcrates/sem-cli/src/build_cache.rs1//! The build plane's warm-cache tier, and `index.sem`'s writer (COMMENT
LOWcrates/sem-cli/src/build_cache.rs41// PartialCache` had here before moved its definition to `sem-core`.COMMENT
LOWcrates/sem-cli/src/build_cache.rs121/// experiment measured every other verb byte-identical and equally fast fromCOMMENT
LOWcrates/sem-cli/src/hyperlinks.rs1//! Optional OSC8 terminal hyperlinks for entity references.COMMENT
LOWcrates/sem-cli/src/main.rs241 /// Entity name(s), each optionally as "type name" (e.g. "function parseConfig").COMMENT
LOWcrates/sem-cli/src/main.rs301 /// Listing: every kind except these (repeatable). Example: sem find --in src --except importCOMMENT
LOWcrates/sem-cli/src/main.rs321COMMENT
LOWcrates/sem-cli/src/main.rs361 /// Where does this text appear? Regex search, rg-style `file:line:text`COMMENT
LOWcrates/sem-cli/src/main.rs381 /// Pattern to search for, repeatable (rg-style `-e p1 -e p2`); eachCOMMENT
LOWcrates/sem-cli/src/main.rs401 line_number: bool,COMMENT
LOWcrates/sem-cli/src/main.rs421 #[command(verbatim_doc_comment, hide = true)]COMMENT
LOWcrates/sem-cli/src/main.rs461 /// Extra laws files (the promises format), besides `.sem/promises/*.json` at head.COMMENT
LOWcrates/sem-cli/src/main.rs481 max_items: usize,COMMENT
LOWcrates/sem-cli/src/main.rs501 #[arg(long, default_value = "auto", value_parser = ["auto", "full", "diff"], hide = true)]COMMENT
LOWcrates/sem-cli/src/main.rs521 #[arg(long, conflicts_with_all = ["view", "html"])]COMMENT
LOWcrates/sem-cli/src/main.rs541 #[arg(long, default_value_t = 8)]COMMENT
LOWcrates/sem-cli/src/main.rs561 #[arg(long, default_value_t = 16)]COMMENT
LOWcrates/sem-cli/src/main.rs621COMMENT
LOWcrates/sem-cli/src/main.rs741 },COMMENT
LOWcrates/sem-cli/src/main.rs801 /// Only include files with these extensions (e.g. --file-exts .ts .tsx)COMMENT
LOWcrates/sem-cli/src/main.rs821 /// Show each entity's header under its row: the signature up to theCOMMENT
LOWcrates/sem-cli/src/main.rs841 /// Output as JSON (shorthand for --format json)COMMENT
LOWcrates/sem-cli/src/main.rs901 /// Show lifetime diff statisticsCOMMENT
LOWcrates/sem-cli/src/main.rs921 resident: bool,COMMENT
LOWcrates/sem-cli/src/main.rs941 Logout,COMMENT
LOWcrates/sem-cli/src/main.rs961 action: TelemetryAction,COMMENT
LOWcrates/sem-cli/src/main.rs981 #[command(hide = true)]COMMENT
LOWcrates/sem-cli/src/main.rs1021 /// Where is my code stored? Repos indexed on the account and local caches. Example: sem cloud reposCOMMENT
LOWcrates/sem-cli/src/main.rs1041 #[command(hide = true)]COMMENT
534 more matches not shown…
Decorative Section Separators85 hits · 252 pts
SeverityFileLineSnippetContext
MEDIUMbench/agent-accuracy.py28# ── Config ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py65# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py130# ── Scoring ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py183# ── API ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py237# ── Main ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py320 # ── Summary ──────────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py357 # ── Write results ────────────────────────────────────────────────────────COMMENT
MEDIUMbench/agent-accuracy.py373 # ── Update HTML ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cloud-client/src/lib.rs23// ─── Credentials ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cloud-client/src/lib.rs67// ─── Cloud API Response Types ────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cloud-client/src/lib.rs224// ─── Repo Cache ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cloud-client/src/lib.rs329// ─── URL Normalization ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cloud-client/src/lib.rs380// ─── CloudClient ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-mcp/src/agent_review.rs42// ─── Config ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-mcp/src/agent_review.rs90// ─── Errors ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-mcp/src/agent_review.rs165// ─── Wire types ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-mcp/src/agent_review.rs301// ─── Client ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs26// ─── Credentials ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs70// ─── Cloud conversion nudge ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs148// ─── sem login ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs212// ─── sem login --github ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs365// ─── sem logout ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs413// ─── sem whoami ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs470// ─── Cloud API Response Types ────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs616// ─── Repo Cache ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs681// ─── URL Normalization ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs750// ─── CloudClient ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs1261// ─── try_cloud_* helpers ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/cloud.rs1750// ─── Helper to convert CloudEntityBrief to JSON ─────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/update.rs22// ─── Update notification ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/update.rs154// ─── sem update ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs22// ─── Consent state ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs108// ─── Public consent queries (used by the cloud routing path) ────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs146// ─── Outbound request ledger ────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs174// ─── Helpers ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs228// ─── sem cloud enable ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs319// ─── sem cloud share ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs404// ─── sem cloud status ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs458// ─── sem cloud preview ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs517// ─── sem cloud log ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs557// ─── sem cloud never ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs579// ─── sem cloud forget ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/consent.rs622// ─── Passive discovery tip ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/repos.rs54// ─── Cloud section ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/repos.rs128// ─── Local section ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/repos.rs294// ─── Output helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/check/python.rs122// ── type checking ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/check/python.rs394// ── early cutoff ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-cli/src/commands/check/python.rs517// ── pytest ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-core/tests/scope_resolve_bench.rs885// ═══════════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/sem-core/tests/scope_resolve_bench.rs887// ═══════════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/sem-core/tests/scope_resolve_bench.rs1229// ═══════════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/sem-core/tests/scope_resolve_bench.rs1231// ═══════════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/sem-core/src/parser/test_detect.rs84 // ── Built-in directory patterns ──────────────────────────────────────COMMENT
MEDIUMcrates/sem-core/src/parser/test_detect.rs126 // ── File-name patterns ───────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-core/src/parser/test_detect.rs136 // ── Negative cases ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-core/src/parser/test_detect.rs149 // ── Custom directories ───────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-core/src/parser/graph.rs12449 // ── is_test_entity / filter_test_entities tests ─────────────────────COMMENT
MEDIUMcrates/sem-core/src/parser/plugins/json.rs777 // ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sem-core/src/parser/plugins/json.rs779 // ─────────────────────────────────────────────────────────────────────────COMMENT
25 more matches not shown…
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHagent-skill/guard/sem-guard.py76except Exception:CODE
HIGHagent-skill/guard/sem-guard.py245except Exception:CODE
HIGHagent-skill/badge/sem-activity.py108except Exception:CODE
HIGHagent-skill/badge/sem-activity.py133except Exception:CODE
HIGHagent-skill/badge/sem-activity.py126except Exception:CODE
HIGHagent-skill/badge/sem-live.py297except Exception:CODE
HIGHwitness/rt/witness_rt.py307except Exception:CODE
HIGHwitness/rt/witness_rt.py287except Exception:CODE
HIGHwitness/rt/witness_rt.py296except Exception:CODE
HIGHwitness/rt/witness_rt.py376except Exception:CODE
HIGHwitness/rt/witness_rt.py130except Exception:CODE
HIGHbenchmarks/shared-mcp/run.py93except ProcessLookupError:CODE
HIGHscripts/system/py_trace/sitecustomize.py74except OSError:CODE
HIGHscripts/system/py_trace/sitecustomize.py65except OSError:CODE
Hyper-Verbose Identifiers59 hits · 68 pts
SeverityFileLineSnippetContext
LOWcrates/sem-cli/tests/qualified_names_cli.rs62 r#"def create_reverse_many_to_one_manager(superclass):CODE
LOWcrates/sem-cli/tests/qualified_names_cli.rs70def create_forward_many_to_many_manager(superclass):CODE
LOWpi/extensions/pi-sem.ts89export async function startServersAndRegisterTools(CODE
LOWpi/src/transaction/protocol-generalization.ts179export function describeRepositoryCapabilities(CODE
LOW⚡pi/src/transaction/simple/test_cpp_validation.py11 def test_cmake_and_ctest_reach_resource_policy(self):CODE
LOW⚡pi/src/transaction/simple/test_cpp_validation.py19 def test_rejections_advertise_capabilities_without_execution(self):CODE
LOWpi/src/transaction/simple/test_junit_reports.py8 def test_success_unavailable_and_other_runners_do_not_collect(self):CODE
LOWpi/src/transaction/simple/test_junit_reports.py17 def test_failure_details_do_not_change_verdict_or_provenance(self):CODE
LOWpi/src/transaction/simple/test_junit_reports.py30 def test_report_failure_does_not_hide_test_failure(self):CODE
LOWpi/src/transaction/simple/test_junit_reports.py47 def test_fresh_reports_only_without_extracting_links(self):CODE
LOWpi/src/transaction/simple/test_junit_reports.py58 def test_bad_xml_does_not_erase_other_evidence(self):CODE
LOWpi/src/transaction/simple/test_report_presentation.py9 def test_full_report_retained_but_response_omits_repeated_stack_details(self):CODE
LOWpi/src/transaction/simple/test_jest_evidence.py7 def test_named_assertions_include_values_and_source(self):CODE
LOWpi/src/transaction/simple/test_jest_evidence.py24 def test_assertion_context_is_bounded(self):CODE
LOW⚡pi/src/transaction/simple/test_validation_resources.py8 def test_bazel_wrappers_keep_targets_and_test_args(self):CODE
LOW⚡pi/src/transaction/simple/test_validation_resources.py15 def test_non_bazel_commands_unchanged(self):CODE
LOW⚡pi/src/transaction/simple/test_validation_resources.py18 def test_conflicting_resource_flags_are_rejected(self):CODE
LOWpi/src/transaction/simple/test_validation_evidence.py9 def test_success_is_smaller_and_exactly_recoverable(self):CODE
LOWpi/src/transaction/simple/test_validation_evidence.py25 def test_failures_are_bounded_and_exactly_recoverable(self):CODE
LOWpi/src/transaction/simple/test_validation_evidence.py44 def test_unknown_is_not_compacted(self):CODE
LOWpi/src/transaction/simple/test_validation_evidence.py52 def test_content_identity_and_corruption(self):CODE
LOWpi/src/transaction/simple/test_patch_delta.py29 def test_only_changed_file_is_touched(self):CODE
LOWpi/src/transaction/simple/test_patch_delta.py40 def test_binary_rename_create_and_delete(self):CODE
LOWpi/src/transaction/simple/test_patch_delta.py52 def test_bad_previous_patch_fails_without_worktree_changes(self):CODE
LOWpi/src/transaction/simple/test_patch_delta.py61 def test_real_index_is_unchanged(self):CODE
LOWpi/src/transaction/simple/test_gradle_evidence.py7 def test_parameterized_failure_keeps_assertion_and_location(self):CODE
LOWpi/src/transaction/simple/test_gradle_evidence.py19 def test_plain_failed_word_is_not_a_gradle_test(self):CODE
LOW⚡pi/src/transaction/simple/test_check_command.py11 def test_make_recipe_metacharacters_fail_before_execution(self):CODE
LOW⚡pi/src/transaction/simple/test_check_command.py17 def test_direct_regex_remains_single_argument(self):CODE
LOW⚡pi/src/transaction/simple/test_check_command.py20 def test_python_module_preserves_interpreter_and_test_selection(self):CODE
LOW⚡pi/src/transaction/simple/test_check_command.py26 def test_entrypoint_unchanged(self):CODE
LOW⚡pi/src/transaction/simple/test_check_command.py29 def test_no_arbitrary_python_or_shell(self):CODE
LOW⚡pi/src/transaction/simple/test_check_command.py37 def test_invalid_quoting_is_unavailable_not_exception(self):CODE
LOWpi/src/transaction/simple/test_checker_recovery.py14 def test_timeout_preserves_diagnostics_and_retry_works(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py5 def test_long_assertion_locates_difference_outside_prefix(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py15 def test_failure_message_and_trace_without_rerunning(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py23 def test_bounded_and_incomplete_reports_are_explicit(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py29 def test_identical_parameterized_failures_keep_counts_and_test_identity(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py37 def test_success_report_never_becomes_a_verdict(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py42 def test_rejects_oversized_and_entity_payloads(self):CODE
LOW⚡pi/src/transaction/simple/test_junit_evidence.py47 def test_large_diagnostics_are_marked_truncated(self):CODE
LOWpi/src/transaction/simple/test_check_timings.py14 def test_timeout_preserves_output_and_restores_checker(self):CODE
LOWpi/src/transaction/simple/test_check_timings.py35 def test_timings_preserve_command_output_and_verdict(self):CODE
LOWpi/src/transaction/simple/test_cpu_affinity.py11 def test_hostname_is_short_stable_and_locally_resolvable(self):CODE
LOWpi/src/transaction/simple/test_maven_validation.py5 def test_preserves_targets_and_forces_offline(self):CODE
LOWpi/src/transaction/simple/test_maven_validation.py10 def test_offline_is_not_duplicated(self):CODE
LOWpi/src/tools/sem-read.ts403function trimTrailingUnpairedSurrogate(s: string): string {CODE
LOWpi/src/tools/weave-edit.ts365function formatVerificationFailure(params: OneWeaveEditParams, entity: Entity, reason: string, coordination: CoordinatioCODE
LOWpi/src/tools/weave-edit.ts387function formatIdentityChangeFailure(CODE
LOWpi/src/tools/weave-edit.ts465function formatMergeConflictFailure(CODE
LOWpi/src/tools/weave-edit.ts489function formatMergeDroppedOursFailure(CODE
LOWpi/src/tools/weave-edit.ts536function formatWriteWindowLostFailure(CODE
LOWpi/src/tools/weave-edit.ts583function formatRollbackWindowLostFailure(CODE
LOWpi/src/tools/weave-edit.ts1311async function resyncCoordinationAfterRollback(CODE
LOWpi/src/tools/internal/entities.ts230function parentNameWouldDisambiguate(candidates: Entity[]): boolean {CODE
LOWpi/src/bridge/bash-audit.ts108function stripHeredocsAndHereStrings(command: string): string {CODE
LOWpi/src/codemode/tool.ts142export function buildRoutinesPromptSection(cwd: string, sessionSavedRoutines?: ReadonlySet<string>): string {CODE
LOWpi/src/codemode/tool.ts207export function buildSystemPromptAddendum(CODE
LOWbenchmarks/dependency-accuracy/run_benchmark.py442def pycg_normalize_constructors(edges, truth_edges):CODE
Excessive Try-Catch Wrapping39 hits · 44 pts
SeverityFileLineSnippetContext
LOWagent-skill/guard/sem-guard.py66 except Exception:CODE
LOWagent-skill/guard/sem-guard.py76 except Exception:CODE
LOWagent-skill/guard/sem-guard.py187 except Exception:CODE
LOWagent-skill/guard/sem-guard.py245 except Exception:CODE
MEDIUMagent-skill/guard/sem-guard.py62def load_state():CODE
MEDIUMagent-skill/guard/sem-guard.py70def save_state(s):CODE
LOWagent-skill/badge/statusline-sem.py49 except Exception:CODE
LOWagent-skill/badge/statusline-sem.py70 except Exception:CODE
LOWagent-skill/badge/statusline-sem.py85 except Exception:CODE
MEDIUMagent-skill/badge/statusline-sem.py46def read_lifetime():CODE
MEDIUMagent-skill/badge/statusline-sem.py67def main():CODE
LOWagent-skill/badge/sem-activity.py39 except Exception:CODE
LOWagent-skill/badge/sem-activity.py62 except Exception:CODE
LOWagent-skill/badge/sem-activity.py108 except Exception:CODE
LOWagent-skill/badge/sem-activity.py126 except Exception:CODE
LOWagent-skill/badge/sem-activity.py133 except Exception:CODE
MEDIUMagent-skill/badge/sem-activity.py36def main():CODE
LOWagent-skill/badge/sem-live.py59 except Exception:CODE
LOWagent-skill/badge/sem-live.py116 except Exception:CODE
LOWagent-skill/badge/sem-live.py138 except Exception:CODE
LOWagent-skill/badge/sem-live.py261 except Exception:CODE
LOWagent-skill/badge/sem-live.py297 except Exception:CODE
MEDIUMagent-skill/badge/sem-live.py258def term_width():CODE
LOWwitness/deps.py34 except Exception:CODE
LOWwitness/propose.py80 except Exception:CODE
LOWwitness/propose.py156 except Exception:CODE
LOWwitness/rt/witness_rt.py101 except Exception:CODE
LOWwitness/rt/witness_rt.py130 except Exception:CODE
LOWwitness/rt/witness_rt.py222 except Exception:CODE
LOWwitness/rt/witness_rt.py287 except Exception:CODE
LOWwitness/rt/witness_rt.py296 except Exception:CODE
LOWwitness/rt/witness_rt.py307 except Exception:CODE
LOWwitness/rt/witness_rt.py376 except Exception:CODE
LOWwitness/rt/witness_rt.py410 except Exception:CODE
LOWwitness/rt/witness_rt.py491 except Exception:CODE
LOW.claude/hooks/sem-first.sh20except Exception:CODE
LOWpi/src/transaction/simple/junit_reports.py29 except Exception as error:CODE
LOWscripts/system/trace_edges.py83 except Exception:CODE
LOWscripts/system/trace_edges.py166 except Exception:CODE
AI Slop Vocabulary11 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMwitness/propose.py126 parts += ["## Your previous harness", "```", previous, "```", "## What happened", feedback or "",CODE
MEDIUMwitness/rt/witness_rt.py38# the runtime's own references: a harness may replace external contractsCOMMENT
MEDIUMwitness/rt/witness_rt.py50# entry call starts, so no harness code that runs before it can ever see itCOMMENT
MEDIUMwitness/rt/witness_rt.py268 # harness code may RECEIVE the canary (a contract stub such asCOMMENT
MEDIUMwitness/rt/witness_rt.py421 # only repo or harness code gets stubs: an installed library probingCOMMENT
MEDIUMwitness/rt/witness_rt.py461# ------------------------------------------------------------------ repo code patched by the harness?COMMENT
MEDIUMwitness/rt/witness_rt.py482 # values the harness provided as an external module (W.stub_module) areCOMMENT
MEDIUMwitness/rt/witness_rt.py530# pure computation is not an external boundary: a harness may fake theCOMMENT
MEDIUMwitness/rt/witness_rt.py545# ------------------------------------------------------------------ the harness APICOMMENT
MEDIUMcrates/sem-core/src/parser/facts_store.rs1194/// from `facts.path`'s extension — cheaper, and robust to a futureCOMMENT
MEDIUMscripts/promises-hook.sh5# promises-hook.sh <file>... # any harness: pass the edited pathsCOMMENT
Cross-Language Confusion5 hits · 30 pts
SeverityFileLineSnippetContext
HIGHwitness/deps.py77 cmd = ("pip install -q --target /tmp/uv uv && PYTHONPATH=/tmp/uv python -m uv pip install -q --python python3 "CODE
HIGHwitness/propose.py54 process.chdir('<literal path>'), process.argv = [...] / process.argv.push(...) (CLI contracts)CODE
HIGHwitness/sandbox.py61 copy = "cd /src && tar -cf - --exclude=.git --exclude=node_modules $(ls -A /src | grep -vx .git) | tar -C /work CODE
HIGH⚡pi/src/transaction/simple/test_cpp_validation.py20 for command in ['cmake --build build && ctest', 'unknown-command', 'ctest | head']:CODE
HIGH⚡pi/src/transaction/simple/test_check_command.py33 'pytest && echo yes','pytest | tee out',''):CODE
Structural Annotation Overuse16 hits · 26 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md34### Step 1: Add the tree-sitter dependencyCOMMENT
LOWCONTRIBUTING.md45### Step 2: Add a getter functionCOMMENT
LOWCONTRIBUTING.md61### Step 3: Define the language configCOMMENT
LOWCONTRIBUTING.md85### Step 4: Register the configCOMMENT
LOWCONTRIBUTING.md96### Step 5: Register the extensionsCOMMENT
LOWCONTRIBUTING.md107### Step 6: Add a testCOMMENT
LOWCONTRIBUTING.md140### Step 7: Run testsCOMMENT
LOWcrates/sem-core/src/parser/graph.rs6771 // Step 1: every file's scan — reused from cache when eligible and its ownCOMMENT
LOWcrates/sem-core/src/parser/graph.rs6821 // Step 2: aggregate export-side data from *every* scan (green or red —COMMENT
LOWcrates/sem-core/src/parser/graph.rs6888 // Step 3: fingerprint every file that contributes to the export surface,COMMENT
LOWcrates/sem-core/src/parser/graph.rs6916 // Step 4: decide GREEN/RED per file, using the cache's *previous* readCOMMENT
LOWcrates/sem-core/src/parser/graph.rs6932 // Step 5: build entries for every RED file. GREEN files are untouched —COMMENT
LOWcrates/sem-core/src/parser/graph.rs7121 // Step 6: apply. Sequential — `HashMap::insert`/`remove` on the oneCOMMENT
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py188 # Step 1: Index the project (may already be indexed, that's fine)COMMENT
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py194 # Step 2: Parse all files to build entity map and call sitesCOMMENT
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py213 # Step 3: For each call site, query stack-graphs and resolveCOMMENT
Deep Nesting21 hits · 20 pts
SeverityFileLineSnippetContext
LOWagent-skill/guard/sem-guard.py173CODE
LOWagent-skill/badge/statusline-sem.py67CODE
LOWagent-skill/badge/sem-activity.py36CODE
LOWagent-skill/badge/sem-live.py51CODE
LOWwitness/anticheat.py53CODE
LOWwitness/anticheat.py143CODE
LOWwitness/rt/witness_rt.py107CODE
LOWwitness/rt/witness_rt.py262CODE
LOWwitness/rt/witness_rt.py477CODE
LOWpi/src/transaction/simple/junit_reports.py37CODE
LOWpi/src/transaction/simple/container-check-v8.py57CODE
LOWpi/src/transaction/simple/container-check-v8.py174CODE
LOWpi/src/transaction/simple/junit_evidence.py25CODE
LOWpi/src/transaction/simple/test_check_timings.py35CODE
LOWbenchmarks/shared-mcp/run.py99CODE
LOWbenchmarks/dependency-accuracy/run_benchmark.py186CODE
LOWbenchmarks/dependency-accuracy/run_benchmark.py236CODE
LOWbenchmarks/dependency-accuracy/run_benchmark.py275CODE
LOWbenchmarks/dependency-accuracy/run_benchmark.py343CODE
LOWscripts/system/trace_edges.py109CODE
LOWscripts/system/trace_edges.py157CODE
Verbosity Indicators9 hits · 16 pts
SeverityFileLineSnippetContext
LOWcrates/sem-core/src/parser/graph.rs6771 // Step 1: every file's scan — reused from cache when eligible and its ownCOMMENT
LOWcrates/sem-core/src/parser/graph.rs6821 // Step 2: aggregate export-side data from *every* scan (green or red —COMMENT
LOWcrates/sem-core/src/parser/graph.rs6888 // Step 3: fingerprint every file that contributes to the export surface,COMMENT
LOWcrates/sem-core/src/parser/graph.rs6916 // Step 4: decide GREEN/RED per file, using the cache's *previous* readCOMMENT
LOWcrates/sem-core/src/parser/graph.rs6932 // Step 5: build entries for every RED file. GREEN files are untouched —COMMENT
LOWcrates/sem-core/src/parser/graph.rs7121 // Step 6: apply. Sequential — `HashMap::insert`/`remove` on the oneCOMMENT
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py188 # Step 1: Index the project (may already be indexed, that's fine)COMMENT
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py194 # Step 2: Parse all files to build entity map and call sitesCOMMENT
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py213 # Step 3: For each call site, query stack-graphs and resolveCOMMENT
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWcrates/sem-core/tests/graph_accuracy.rs30 .args(["config", "user.email", "test@test.com"])CODE
LOWcrates/sem-core/tests/graph_accuracy.rs125 .args(["config", "user.email", "test@test.com"])CODE
LOWcrates/sem-core/tests/graph_accuracy.rs218 vec!["config", "user.email", "test@test.com"],CODE
LOWcrates/sem-core/tests/scope_resolve_bench.rs28 .args(["config", "user.email", "test@test.com"])CODE
LOWcrates/sem-core/tests/stem_collision_ground_truth.rs38 vec!["config", "user.email", "test@test.com"],CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpi/test/tools/grep-literal.test.ts32 " return True",CODE
Redundant / Tautological Comments2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡benchmarks/dependency-accuracy/run_benchmark.py220 # Check if definition points to an import bindingCOMMENT
LOWbenchmarks/dependency-accuracy/run_benchmark.py286 # Check if this is a top-level function (not inside a class)COMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWuninstall.sh4# Usage:COMMENT
LOWinstall.sh4# Usage:COMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWpi/src/transaction/simple/test_patch_delta.py1CODE
LOWbenchmarks/dependency-accuracy/project/compat.py3CODE
LOWbenchmarks/dependency-accuracy/project/noise.py11CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpi/test/tools/weave-edit.test.ts62 const helperStart = lines.findIndex((l) => l === "def helper():");CODE
LOWbenchmarks/dependency-accuracy/project/api.py12def handle_request(request):CODE