AI Slop Code Risk Monitor

MinishLab/semble

SlopCodeMonitor badge for MinishLab/semble Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for MinishLab/semble, a Python project with 6,338 GitHub stars. SynthScan examined 112,250 lines of code across 185 source files, recording 230 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.

2.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
6.3K
Stars
Python
Language
112.2K
Lines of Code
185
Files
230
Pattern Hits
2026-10-31
Scan Date
0.07
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 7.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.2/100 · LOW

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

Agent Over-Engineering Ratio 10.3/100 · LOW

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

PR Review Velocity Impact 12.6/100 · LOW

Which changes need focused human review? 230 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 13MEDIUM 3LOW 214

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 230 distinct pattern matches across 10 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 Identifiers159 hits · 163 pts
SeverityFileLineSnippetContext
LOWtests/test_chunker.py29def test_chunk_source_empty_string() -> None:CODE
LOWtests/test_chunker.py34def test_chunk_source_language() -> None:CODE
LOW⚡tests/test_chunker.py49def test_chunk_source_line_numbers_match_content(language: str | None) -> None:CODE
LOW⚡tests/test_chunker.py59def test_core_chunk_empty_input() -> None:CODE
LOW⚡tests/test_chunker.py64def test_core_chunk_lines_merges_small_lines() -> None:CODE
LOWtests/test_chunker.py75def test_core_chunk_recursive_split_and_break() -> None:CODE
LOWtests/test_chunker.py89def test_core_chunk_leaf_node_exceeds_desired_length() -> None:CODE
LOWtests/test_chunker.py144def test_unsupported_platform_error() -> None:CODE
LOWtests/test_stats.py40def test_no_color_disables_color_when_empty(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/test_stats.py54def test_savings_output_token_suffixes(tmp_path: Path, file_chars: int, expected: str) -> None:CODE
LOWtests/test_stats.py63def test_savings_do_not_subtract_unknown_baselines(tmp_path: Path) -> None:CODE
LOW⚡tests/test_stats.py84def test_savings_tolerates_bad_json(tmp_path: Path) -> None:CODE
LOW⚡tests/test_stats.py91def test_savings_cli_dispatch(CODE
LOW⚡tests/test_stats.py101def test_savings_buckets_exclude_old_records(tmp_path: Path) -> None:CODE
LOW⚡tests/test_installer.py81def test_merge_mcp_creates_fresh_file(claude_agent):CODE
LOW⚡tests/test_installer.py88def test_merge_mcp_preserves_comments_and_other_entries(claude_agent):CODE
LOW⚡tests/test_installer.py98def test_merge_mcp_adds_section_when_absent(claude_agent):CODE
LOW⚡tests/test_installer.py197def test_mcp_skipped_when_grammar_unavailable(claude_agent, monkeypatch):CODE
LOW⚡tests/test_installer.py207def test_merge_mcp_reparse_guard(claude_agent, monkeypatch):CODE
LOW⚡tests/test_installer.py214def test_remove_mcp_preserves_comments(claude_agent):CODE
LOW⚡tests/test_installer.py424def test_run_skill_and_instructions_keeps_full_block(run_setup, claude_agent):CODE
LOW⚡tests/test_installer.py433def test_apply_subagent_bundled_file_for_every_agent(tmp_path, agent):CODE
LOW⚡tests/test_installer.py442def test_apply_subagent_codex_toml(tmp_path):CODE
LOW⚡tests/test_installer.py465def test_semble_pin_matches_installed_version(monkeypatch):CODE
LOW⚡tests/test_installer.py471def test_semble_pin_uses_local_path_for_editable_install(monkeypatch, tmp_path):CODE
LOW⚡tests/test_installer.py480def test_semble_pin_uses_git_commit_for_non_editable_git_install(monkeypatch):CODE
LOW⚡tests/test_installer.py513def test_mcp_configs_pin_version(config):CODE
LOW⚡tests/test_installer.py518def test_instructions_pin_version():CODE
LOW⚡tests/test_installer.py524def test_codex_mcp_block_pins_version():CODE
LOW⚡tests/test_installer.py529def test_apply_subagent_pins_version(tmp_path):CODE
LOWtests/test_installer.py113def test_merge_mcp_into_empty_object_produces_valid_json(claude_agent, initial):CODE
LOWtests/test_installer.py124def test_merge_mcp_replaces_stale_entry(claude_agent, stale):CODE
LOWtests/test_installer.py132def test_merge_mcp_idempotent(claude_agent, initial, first):CODE
LOWtests/test_installer.py154def test_merge_and_remove_json_member_nested_section_key(tmp_path):CODE
LOWtests/test_installer.py186def test_merge_mcp_writes_under_agent_key(tmp_path, agent_id, key):CODE
LOWtests/test_installer.py240def test_remove_mcp_no_trailing_comma(claude_agent, initial):CODE
LOWtests/test_installer.py247def test_remove_mcp_reparse_guard(claude_agent, monkeypatch):CODE
LOWtests/test_installer.py258def test_remove_mcp_not_found(claude_agent, setup):CODE
LOWtests/test_installer.py265def test_codex_toml_merge_and_remove(tmp_path):CODE
LOWtests/test_installer.py282def test_codex_toml_merge_replaces_section_with_inline_comment(tmp_path):CODE
LOWtests/test_installer.py295def test_remove_toml_not_found(tmp_path, setup, expected):CODE
LOWtests/test_installer.py303def test_remove_toml_deletes_file_when_only_semble(tmp_path):CODE
LOWtests/test_installer.py324def test_remove_toml_strips_sub_tables(tmp_path, content):CODE
LOWtests/test_installer.py381def test_apply_instructions_none():CODE
LOWtests/test_installer.py494def test_semble_pin_falls_back_when_distribution_lookup_fails(monkeypatch):CODE
LOWtests/test_installer.py552def test_is_detected_true_when_config_dir_stat_denied(monkeypatch, tmp_path):CODE
LOWtests/test_installer.py563def test_is_detected_false_on_other_os_error(monkeypatch, tmp_path):CODE
LOWtests/test_installer.py637def test_replace_or_append_marked(tmp_path, initial, block, expected, present, absent):CODE
LOWtests/test_installer.py648def test_remove_marked_strips_block_and_deletes_empty_file(tmp_path):CODE
LOWtests/test_installer.py664def test_remove_marked_not_found(tmp_path, initial):CODE
LOWtests/test_installer.py673def test_cli_dispatches_to_installer_run(monkeypatch, command):CODE
LOWtests/test_installer.py685def test_cli_unattended_flags(monkeypatch, command):CODE
LOWtests/test_installer.py701def test_cli_type_without_agent_errors(monkeypatch, capsys):CODE
LOWtests/test_installer.py711def test_run_unattended_skips_prompts(run_setup, monkeypatch, claude_agent):CODE
LOWtests/test_installer.py729def test_run_unattended_empty_selection_exits(run_setup, agent_ids, integration_ids):CODE
LOWtests/test_search.py118def test_search_source_labels(CODE
LOWtests/test_search.py164def test_load_model_unreachable_hub_raises_helpful_error() -> None:CODE
LOW⚡tests/test_search.py183def test_load_model_hides_only_unauthenticated_warning(CODE
LOW⚡tests/test_search.py193def test_embed_chunks_empty_returns_empty_array(mock_model: Any) -> None:CODE
LOW⚡tests/test_search.py200def test_selectable_basic_backend_rejects_k_below_one(CODE
99 more matches not shown…
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHbenchmarks/baselines/codebase_memory.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/ripgrep.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/colgrep.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/zvecgrep.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/cs.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/ck.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/probe.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
HIGHbenchmarks/baselines/grepai.py0return (mean ndcg@10, p50 latency ms) for a list of tasks.STRING
Unused Imports27 hits · 27 pts
SeverityFileLineSnippetContext
LOWtests/test_cache.py1CODE
LOWsrc/semble/cache.py24CODE
LOWsrc/semble/__init__.py1CODE
LOWsrc/semble/__init__.py2CODE
LOWsrc/semble/__init__.py2CODE
LOWsrc/semble/__init__.py2CODE
LOWsrc/semble/__init__.py2CODE
LOWsrc/semble/__init__.py2CODE
LOWsrc/semble/__init__.py3CODE
LOWsrc/semble/types.py1CODE
LOWsrc/semble/mcp.py1CODE
LOWsrc/semble/utils.py1CODE
LOWsrc/semble/ranking/__init__.py1CODE
LOWsrc/semble/ranking/__init__.py1CODE
LOWsrc/semble/ranking/__init__.py1CODE
LOWsrc/semble/ranking/__init__.py2CODE
LOWsrc/semble/chunking/__init__.py1CODE
LOWsrc/semble/chunking/core.py1CODE
LOWsrc/semble/index/bm25.py1CODE
LOWsrc/semble/index/index.py1CODE
LOWsrc/semble/index/dense.py1CODE
LOWsrc/semble/index/__init__.py1CODE
LOWsrc/semble/index/types.py1CODE
LOWsrc/semble/installer/config.py1CODE
LOWsrc/semble/installer/__init__.py1CODE
LOWsrc/semble/installer/agents.py1CODE
LOWsrc/semble/installer/installer.py1CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHbenchmarks/baselines/grepai.py111except (ProcessLookupError, PermissionError):CODE
HIGHsrc/semble/stats.py93except OSError:CODE
HIGHsrc/semble/index/index.py113except OSError:CODE
HIGHsrc/semble/installer/agents.py61except Exception:CODE
Modern Structural Boilerplate11 hits · 11 pts
SeverityFileLineSnippetContext
LOWsrc/semble/cache.py21logger = logging.getLogger(__name__)CODE
LOWsrc/semble/__init__.py5__all__ = [CODE
LOWsrc/semble/mcp.py23logger = logging.getLogger(__name__)CODE
LOWsrc/semble/stats.py18logger = logging.getLogger(__name__)CODE
LOWsrc/semble/ranking/__init__.py4__all__ = ["apply_query_boost", "boost_multi_chunk_files", "rerank_topk", "resolve_alpha"]CODE
LOWsrc/semble/chunking/chunking.py8logger = logging.getLogger(__name__)CODE
LOWsrc/semble/chunking/__init__.py3__all__ = ["chunk_source"]CODE
LOWsrc/semble/index/bm25.py49 def set_doc_order(self, chunk_ids: list[str]) -> None:CODE
LOWsrc/semble/index/create.py37logger = logging.getLogger(__name__)CODE
LOWsrc/semble/index/__init__.py3__all__ = ["SembleIndex"]CODE
LOWsrc/semble/installer/__init__.py3__all__ = ["run"]CODE
Excessive Try-Catch Wrapping10 hits · 11 pts
SeverityFileLineSnippetContext
LOWsrc/semble/cli.py64 except Exception as e:CODE
MEDIUMsrc/semble/cli.py65 print(f"Error saving index: {e}", file=sys.stderr)CODE
LOWsrc/semble/mcp.py46 except Exception as exc:CODE
LOWsrc/semble/mcp.py187 except Exception as exc:CODE
LOWsrc/semble/mcp.py250 except Exception:CODE
LOWsrc/semble/mcp.py325 except Exception:CODE
LOWsrc/semble/chunking/core.py33 except Exception:CODE
LOWsrc/semble/installer/config.py24 except Exception:CODE
LOWsrc/semble/installer/agents.py61 except Exception:CODE
LOWsrc/semble/installer/installer.py104 except Exception:CODE
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtests/test_cli.py340CODE
LOWtests/index/test_create.py166CODE
LOWtests/index/test_index.py55CODE
LOWbenchmarks/baselines/grepai.py49CODE
LOWsrc/semble/cli.py292CODE
LOWsrc/semble/stats.py57CODE
LOWsrc/semble/index/create.py154CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_cli.py289 # Create the files that PersistencePath.non_existing checksCOMMENT
MEDIUMscripts/demo/record.sh15# Create an isolated $HOME with agent config dirs so `semble install` detects some agents.COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHbenchmarks/README.md136**How the benchmark was built**: queries and ground-truth relevance labels are generated by Claude Sonnet 4.6. The same CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/test_search.py92 shared_content = "def helper():\n pass"CODE