Semantic version control => entity-level diffs, blame, and impact analysis on top of git. 28 languages via tree-sitter. Built for coding agents.
This report presents the forensic synthetic code analysis of Ataraxy-Labs/sem, a Rust project with 3,321 GitHub stars. SynthScan v2.0 examined 133,740 lines of code across 223 source files, recording 645 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 5.6 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 645 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/sem-plugin/src/bindings.rs | 981 | pub use alloc_crate::alloc; | COMMENT |
| LOW | crates/sem-mcp/tests/mcp_protocol.rs | 1 | //! RED tests proving three MCP server gaps, run against the real `sem-mcp` | COMMENT |
| LOW | crates/sem-mcp/src/cache.rs | 1 | //! Thin re-export of `sem_core::persist::disk_cache`. | COMMENT |
| LOW | crates/sem-mcp/src/cache.rs | 21 | //! `DiskCache` implementation here used to. | COMMENT |
| LOW | crates/sem-mcp/src/cache.rs | 41 | use rusqlite::{params, Connection, OptionalExtension, Transaction}; | COMMENT |
| LOW | crates/sem-mcp/src/cloud.rs | 1 | //! Cloud routing for the MCP tools. | COMMENT |
| LOW | crates/sem-mcp/src/lib.rs | 41 | // production scale (the socket accepted connections and never answered), | COMMENT |
| LOW | crates/sem-mcp/src/agent_review.rs | 1 | //! Client for the sem-cloud "agent review listener" API. | COMMENT |
| LOW | crates/sem-mcp/src/agent_review.rs | 121 | } | COMMENT |
| LOW | crates/sem-mcp/src/agent_review.rs | 161 | /// existing `agent_review::unanswerable_result` / `agent_review::review_gone_result` | COMMENT |
| LOW | crates/sem-mcp/src/agent_review.rs | 261 | let truncated: String = text.chars().take(max_chars).collect(); | COMMENT |
| LOW | crates/sem-mcp/src/server.rs | 101 | /// [`CachedGraph`]) it's checked first and skips [`CachedGraph`]'s | COMMENT |
| LOW | crates/sem-mcp/src/server.rs | 121 | /// a `std::sync::Mutex`, not the atomic-UPDATE-claim idiom a job queue would | COMMENT |
| LOW | crates/sem-mcp/src/server.rs | 441 | /// Answers "every entity under this directory" from the query index: no | COMMENT |
| LOW | crates/sem-mcp/src/server.rs | 3621 | ); | COMMENT |
| LOW | crates/sem-mcp/src/watch.rs | 1 | //! Filesystem watcher that keeps the MCP server's in-memory entity graph hot. | COMMENT |
| LOW | crates/sem-mcp/src/review_protocol.rs | 1 | //! Centralized "loop discipline" text for the review-listener tools | COMMENT |
| LOW | crates/sem-cli/tests/impact_direct_deps.rs | 461 | ); | COMMENT |
| LOW | crates/sem-cli/tests/review_listen_dry_run.rs | 1 | //! `sem review listen --dry-run` — drives the real `sem` binary against a | COMMENT |
| LOW | crates/sem-cli/tests/support/mod.rs | 1 | //! Shared stub-server plumbing for `sem`'s cloud-facing integration tests | COMMENT |
| LOW | crates/sem-cli/src/telemetry.rs | 1 | //! Anonymous command-usage telemetry — three modes, local by default. | COMMENT |
| LOW | crates/sem-cli/src/build_cache.rs | 1 | //! The build plane's warm-cache tier, and `index.sem`'s writer ( | COMMENT |
| LOW | crates/sem-cli/src/build_cache.rs | 41 | // PartialCache` had here before moved its definition to `sem-core`. | COMMENT |
| LOW | crates/sem-cli/src/build_cache.rs | 121 | /// experiment measured every other verb byte-identical and equally fast from | COMMENT |
| LOW | crates/sem-cli/src/hyperlinks.rs | 1 | //! Optional OSC8 terminal hyperlinks for entity references. | COMMENT |
| LOW | crates/sem-cli/src/main.rs | 181 | #[arg(long)] | COMMENT |
| LOW | crates/sem-cli/src/main.rs | 221 | file: Option<String>, | COMMENT |
| LOW | crates/sem-cli/src/main.rs | 281 | COMMENT | |
| LOW | crates/sem-cli/src/main.rs | 341 | /// List only entities of these kinds (repeatable), e.g. --only function --only struct. | COMMENT |
| LOW | crates/sem-cli/src/main.rs | 401 | /// Start the MCP server (stdin/stdout transport) | COMMENT |
| LOW | crates/sem-cli/src/corpus_columns.rs | 1 | //! The build's **one** post-graph corpus read, and the columns derived from | COMMENT |
| LOW | crates/sem-cli/src/corpus_columns.rs | 21 | //! `Xxh3::new().update(bytes).digest()` (`incremental.rs:440`) — the same | COMMENT |
| LOW | crates/sem-cli/src/corpus_columns.rs | 41 | //! distinction, so a non-UTF-8 file still gets its `cache.db` row and still | COMMENT |
| LOW | crates/sem-cli/src/corpus_columns.rs | 61 | /// order-sensitive by SQL statement order and the bit-identical gate covers | COMMENT |
| LOW | crates/sem-cli/src/corpus_columns.rs | 181 | .map(|row| (row.path.as_str(), row.imports.clone())) | COMMENT |
| LOW | crates/sem-cli/src/corpus_columns.rs | 201 | /// incremental save path calls it), `read_to_string` + | COMMENT |
| LOW | crates/sem-cli/src/commands/hook.rs | 1 | //! `sem hook prompt-submit` — the prompt-time prefetch, compiled. | COMMENT |
| LOW | crates/sem-cli/src/commands/review.rs | 1 | //! `sem review listen <diff-id-or-url>` — the one-command agent attach. | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 141 | /// - `{"entities":[…],"edges":[…],"stats":{"entityCount":N,"edgeCount":M}}` | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 321 | CacheSourceScope::Custom | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 361 | COMMENT | |
| LOW | crates/sem-cli/src/commands/graph.rs | 421 | } | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 461 | } | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 681 | /// What a cold miss writes. The three variants are the three artifact sets a | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 701 | /// incremental rebuild instead of a full one. | COMMENT |
| LOW | crates/sem-cli/src/commands/graph.rs | 821 | ); | COMMENT |
| LOW | crates/sem-cli/src/commands/cloud.rs | 61 | } | COMMENT |
| LOW | crates/sem-cli/src/commands/cloud.rs | 581 | /// How the server will handle caller/callee relations for this snapshot: | COMMENT |
| LOW | crates/sem-cli/src/commands/query.rs | 1 | //! `sem find` / `sem callers` / `sem refs` — query verbs that answer directly | COMMENT |
| LOW | crates/sem-cli/src/commands/query.rs | 141 | /// transitive walk, `sem graph`'s whole-repo dump, `sem context`'s subgraph). | COMMENT |
| LOW | crates/sem-cli/src/commands/query.rs | 181 | defs: Vec<EntityInfo>, | COMMENT |
| LOW | crates/sem-cli/src/commands/mod.rs | 61 | COMMENT | |
| LOW | crates/sem-cli/src/commands/mod.rs | 101 | // an already-absolute `path` must be canonicalized the same | COMMENT |
| LOW | crates/sem-cli/src/commands/mod.rs | 481 | COMMENT | |
| LOW | crates/sem-cli/src/commands/impact.rs | 41 | pub dependents: Vec<EntityInfo>, | COMMENT |
| LOW | crates/sem-cli/src/commands/impact.rs | 101 | } | COMMENT |
| LOW | crates/sem-cli/src/commands/impact.rs | 361 | timings.mark("cli_output_serialization"); | COMMENT |
| LOW | crates/sem-cli/src/commands/impact.rs | 381 | /// query from being answered against the wrong entity. For a name carrying | COMMENT |
| LOW | crates/sem-cli/src/commands/impact.rs | 441 | }; | COMMENT |
| LOW | crates/sem-cli/src/commands/impact.rs | 521 | /// callers of an entity, via `callers_of` instead of `refs_of`. `Dependents` | COMMENT |
| 432 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bench/agent-accuracy.py | 28 | # ── Config ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 65 | # ── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 130 | # ── Scoring ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 183 | # ── API ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 237 | # ── Main ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 320 | # ── Summary ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 357 | # ── Write results ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | bench/agent-accuracy.py | 373 | # ── Update HTML ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cloud-client/src/lib.rs | 23 | // ─── Credentials ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cloud-client/src/lib.rs | 67 | // ─── Cloud API Response Types ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cloud-client/src/lib.rs | 224 | // ─── Repo Cache ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cloud-client/src/lib.rs | 329 | // ─── URL Normalization ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cloud-client/src/lib.rs | 380 | // ─── CloudClient ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-mcp/src/agent_review.rs | 42 | // ─── Config ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-mcp/src/agent_review.rs | 90 | // ─── Errors ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-mcp/src/agent_review.rs | 165 | // ─── Wire types ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-mcp/src/agent_review.rs | 301 | // ─── Client ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 26 | // ─── Credentials ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 70 | // ─── Cloud conversion nudge ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 148 | // ─── sem login ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 212 | // ─── sem login --github ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 365 | // ─── sem logout ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 413 | // ─── sem whoami ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 470 | // ─── Cloud API Response Types ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 616 | // ─── Repo Cache ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 681 | // ─── URL Normalization ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 750 | // ─── CloudClient ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 1261 | // ─── try_cloud_* helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/cloud.rs | 1750 | // ─── Helper to convert CloudEntityBrief to JSON ───────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/update.rs | 22 | // ─── Update notification ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/update.rs | 154 | // ─── sem update ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 22 | // ─── Consent state ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 108 | // ─── Public consent queries (used by the cloud routing path) ──────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 146 | // ─── Outbound request ledger ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 174 | // ─── Helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 228 | // ─── sem cloud enable ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 319 | // ─── sem cloud share ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 404 | // ─── sem cloud list ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 470 | // ─── sem cloud status ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 524 | // ─── sem cloud preview ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 583 | // ─── sem cloud log ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 623 | // ─── sem cloud never ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 645 | // ─── sem cloud forget ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/consent.rs | 688 | // ─── Passive discovery tip ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/repos.rs | 54 | // ─── Cloud section ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/repos.rs | 128 | // ─── Local section ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-cli/src/commands/repos.rs | 294 | // ─── Output helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/tests/scope_resolve_bench.rs | 1493 | // ═══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | crates/sem-core/tests/scope_resolve_bench.rs | 1495 | // ═══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | crates/sem-core/tests/scope_resolve_bench.rs | 1837 | // ═══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | crates/sem-core/tests/scope_resolve_bench.rs | 1839 | // ═══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | crates/sem-core/src/parser/test_detect.rs | 84 | // ── Built-in directory patterns ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/test_detect.rs | 126 | // ── File-name patterns ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/test_detect.rs | 136 | // ── Negative cases ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/test_detect.rs | 149 | // ── Custom directories ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/graph.rs | 12134 | // ── is_test_entity / filter_test_entities tests ───────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/plugins/json.rs | 777 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/plugins/json.rs | 779 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/plugins/json.rs | 809 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/sem-core/src/parser/plugins/json.rs | 811 | // ───────────────────────────────────────────────────────────────────────── | COMMENT |
| 23 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-skill/guard/sem-guard.py | 66 | except Exception: | CODE |
| LOW | agent-skill/guard/sem-guard.py | 76 | except Exception: | CODE |
| LOW | agent-skill/guard/sem-guard.py | 187 | except Exception: | CODE |
| LOW | agent-skill/guard/sem-guard.py | 245 | except Exception: | CODE |
| MEDIUM | agent-skill/guard/sem-guard.py | 62 | def load_state(): | CODE |
| MEDIUM | agent-skill/guard/sem-guard.py | 70 | def save_state(s): | CODE |
| LOW | agent-skill/badge/statusline-sem.py | 49 | except Exception: | CODE |
| LOW | agent-skill/badge/statusline-sem.py | 70 | except Exception: | CODE |
| LOW | agent-skill/badge/statusline-sem.py | 85 | except Exception: | CODE |
| MEDIUM | agent-skill/badge/statusline-sem.py | 46 | def read_lifetime(): | CODE |
| MEDIUM | agent-skill/badge/statusline-sem.py | 67 | def main(): | CODE |
| LOW | agent-skill/badge/sem-activity.py | 39 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-activity.py | 62 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-activity.py | 108 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-activity.py | 126 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-activity.py | 133 | except Exception: | CODE |
| MEDIUM | agent-skill/badge/sem-activity.py | 36 | def main(): | CODE |
| LOW | agent-skill/badge/sem-live.py | 59 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-live.py | 116 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-live.py | 138 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-live.py | 261 | except Exception: | CODE |
| LOW | agent-skill/badge/sem-live.py | 297 | except Exception: | CODE |
| MEDIUM | agent-skill/badge/sem-live.py | 258 | def term_width(): | CODE |
| LOW | .claude/hooks/sem-first.sh | 20 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 34 | ### Step 1: Add the tree-sitter dependency | COMMENT |
| LOW | CONTRIBUTING.md | 45 | ### Step 2: Add a getter function | COMMENT |
| LOW | CONTRIBUTING.md | 61 | ### Step 3: Define the language config | COMMENT |
| LOW | CONTRIBUTING.md | 85 | ### Step 4: Register the config | COMMENT |
| LOW | CONTRIBUTING.md | 96 | ### Step 5: Register the extensions | COMMENT |
| LOW | CONTRIBUTING.md | 107 | ### Step 6: Add a test | COMMENT |
| LOW | CONTRIBUTING.md | 140 | ### Step 7: Run tests | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6520 | // Step 1: every file's scan — reused from cache when eligible and its own | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6570 | // Step 2: aggregate export-side data from *every* scan (green or red — | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6615 | // Step 3: fingerprint every file that contributes to the export surface, | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6642 | // Step 4: decide GREEN/RED per file, using the cache's *previous* read | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6658 | // Step 5: build entries for every RED file. GREEN files are untouched — | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6807 | // Step 6: apply. Sequential — `HashMap::insert`/`remove` on the one | COMMENT |
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 188 | # Step 1: Index the project (may already be indexed, that's fine) | COMMENT |
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 194 | # Step 2: Parse all files to build entity map and call sites | COMMENT |
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 213 | # Step 3: For each call site, query stack-graphs and resolve | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/sem-core/src/parser/graph.rs | 6520 | // Step 1: every file's scan — reused from cache when eligible and its own | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6570 | // Step 2: aggregate export-side data from *every* scan (green or red — | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6615 | // Step 3: fingerprint every file that contributes to the export surface, | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6642 | // Step 4: decide GREEN/RED per file, using the cache's *previous* read | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6658 | // Step 5: build entries for every RED file. GREEN files are untouched — | COMMENT |
| LOW | crates/sem-core/src/parser/graph.rs | 6807 | // Step 6: apply. Sequential — `HashMap::insert`/`remove` on the one | COMMENT |
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 188 | # Step 1: Index the project (may already be indexed, that's fine) | COMMENT |
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 194 | # Step 2: Parse all files to build entity map and call sites | COMMENT |
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 213 | # Step 3: For each call site, query stack-graphs and resolve | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-skill/guard/sem-guard.py | 173 | CODE | |
| LOW | agent-skill/badge/statusline-sem.py | 67 | CODE | |
| LOW | agent-skill/badge/sem-activity.py | 36 | CODE | |
| LOW | agent-skill/badge/sem-live.py | 51 | CODE | |
| LOW | benchmarks/dependency-accuracy/run_benchmark.py | 186 | CODE | |
| LOW | benchmarks/dependency-accuracy/run_benchmark.py | 236 | CODE | |
| LOW | benchmarks/dependency-accuracy/run_benchmark.py | 275 | CODE | |
| LOW | benchmarks/dependency-accuracy/run_benchmark.py | 343 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/sem-core/tests/graph_accuracy.rs | 30 | .args(["config", "user.email", "test@test.com"]) | CODE |
| LOW | crates/sem-core/tests/graph_accuracy.rs | 125 | .args(["config", "user.email", "test@test.com"]) | CODE |
| LOW | crates/sem-core/tests/graph_accuracy.rs | 218 | vec!["config", "user.email", "test@test.com"], | CODE |
| LOW | crates/sem-core/tests/scope_resolve_bench.rs | 28 | .args(["config", "user.email", "test@test.com"]) | CODE |
| LOW | crates/sem-core/tests/stem_collision_ground_truth.rs | 31 | vec!["config", "user.email", "test@test.com"], | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | benchmarks/dependency-accuracy/run_benchmark.py | 220 | # Check if definition points to an import binding | COMMENT |
| LOW | benchmarks/dependency-accuracy/run_benchmark.py | 286 | # Check if this is a top-level function (not inside a class) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/sem-core/src/parser/facts_store.rs | 1288 | /// from `facts.path`'s extension — cheaper, and robust to a future | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/dependency-accuracy/project/compat.py | 3 | CODE | |
| LOW | benchmarks/dependency-accuracy/project/noise.py | 11 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/dependency-accuracy/run_benchmark.py | 442 | def pycg_normalize_constructors(edges, truth_edges): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/dependency-accuracy/project/api.py | 12 | def handle_request(request): | CODE |