AI Slop Code RIsk Monitor

Thysrael/Horizon

📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达

27.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Thysrael/Horizon, a Python project with 9,609 GitHub stars. SynthScan examined 29,289 lines of code across 156 source files, recording 673 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 27.1 (Elevated 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.

27.1
Adjusted Signal
27.1
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
9.6K
Stars
Python
Language
29.3K
Lines of Code
156
Files
673
Pattern Hits
2026-10-12
Scan Date
0.10
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 60.1/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 9.9/100 · LOW

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

Agent Over-Engineering Ratio 67.7/100 · HIGH

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

PR Review Velocity Impact 73.9/100 · HIGH

Which changes need focused human review? 673 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 15MEDIUM 19LOW 639

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 673 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.

Hyper-Verbose Identifiers463 hits · 466 pts
SeverityFileLineSnippetContext
LOWtests/test_extractors_trafilatura.py39def test_returns_extracted_text():CODE
LOW⚡tests/test_extractors_trafilatura.py51def test_returns_none_when_trafilatura_returns_empty():CODE
LOW⚡tests/test_extractors_trafilatura.py58def test_returns_none_on_http_error():CODE
LOW⚡tests/test_extractors_trafilatura.py65def test_returns_none_when_trafilatura_raises():CODE
LOW⚡tests/test_extractors_trafilatura.py74def test_returns_none_when_not_installed():CODE
LOWtests/test_telegram.py16def test_parse_message_ignores_reply_preview_text() -> None:CODE
LOWtests/test_telegram.py54def test_parse_channel_html_keeps_supported_messages() -> None:STRING
LOWtests/test_telegram.py73def test_fetch_channel_uses_alternate_domain_after_dns_failure() -> None:STRING
LOWtests/test_telegram.py102def test_fetch_raises_when_all_telegram_endpoints_fail() -> None:STRING
LOWtests/test_wechat.py38def test_config_defaults_and_limits():CODE
LOWtests/test_wechat.py46def test_session_persistence_ignores_old_fields_and_keeps_credentials_private(tmp_path):CODE
LOWtests/test_wechat.py63def test_only_the_bound_users_new_context_resets_budget():CODE
LOWtests/test_wechat.py113def test_login_endpoints_and_query_encoding(monkeypatch):CODE
LOWtests/test_wechat.py128def test_client_distinguishes_timeouts_business_errors_and_http_errors(monkeypatch):CODE
LOWtests/test_wechat.py149def test_formatting_keeps_links_and_bold_but_flattens_html_and_cjk_italics():CODE
LOWtests/test_wechat.py163def test_chunking_prefers_paragraphs_then_splits_long_lines():CODE
LOWtests/test_wechat.py173def test_budget_reminder_never_exceeds_the_configured_chunk_size(lang, limit):CODE
LOWtests/test_wechat.py209def test_send_summary_chunks_and_persists_budget_across_languages(tmp_path, monkeypatch):CODE
LOWtests/test_wechat.py220def test_first_context_is_picked_up_before_readiness_check_and_chat_is_not_answered(tmp_path, monkeypatch):CODE
LOWtests/test_wechat.py229def test_server_budget_error_stops_partial_delivery_and_new_context_recovers(tmp_path, monkeypatch):CODE
LOWtests/test_wechat.py243def test_stored_budget_is_only_an_estimate_server_can_allow_more(tmp_path, monkeypatch):CODE
LOWtests/test_wechat.py249def test_receive_timeout_does_not_block_delivery(tmp_path, monkeypatch):CODE
LOWtests/test_wechat.py260def test_delivery_failure_results(tmp_path, monkeypatch, error, status):CODE
LOWtests/test_wechat.py266def test_disabled_filtered_missing_and_stale_sessions_do_not_send(tmp_path, monkeypatch):CODE
LOW⚡tests/test_mcp_adapter.py19def test_resolve_horizon_path_accepts_explicit_repo() -> None:CODE
LOW⚡tests/test_mcp_adapter.py25def test_resolve_config_path_defaults_to_repo_data_config(tmp_path: Path) -> None:CODE
LOW⚡tests/test_mcp_adapter.py34def test_load_mcp_secrets_loads_generic_env_keys(tmp_path: Path, monkeypatch) -> None:CODE
LOWtests/test_mcp_adapter.py61def test_load_config_expands_env_vars(tmp_path: Path, monkeypatch) -> None:CODE
LOWtests/test_mcp_adapter.py87def test_apply_source_filter_handles_twitter_and_openbb() -> None:CODE
LOWtests/test_mcp_adapter.py131def test_mcp_source_registry_covers_model_source_types() -> None:CODE
LOWtests/test_mcp_adapter.py135def test_mcp_filter_and_reporting_support_every_registered_source() -> None:CODE
LOWtests/test_analyzer.py31def test_analyze_batch_does_not_sleep_by_default(monkeypatch):CODE
LOWtests/test_analyzer.py51def test_analyze_batch_sleeps_between_items_when_throttle_configured(monkeypatch):CODE
LOWtests/test_analyzer.py71def test_analyze_batch_concurrent_processing(monkeypatch):CODE
LOWtests/test_analyzer.py94def test_analyze_batch_concurrent_preserves_order(monkeypatch):CODE
LOWtests/test_analyzer.py110def test_analyze_item_accepts_valid_result():CODE
LOWtests/test_analyzer.py137def test_reanalysis_clears_stale_artifacts():CODE
LOWtests/test_analyzer.py162def test_analysis_prompt_combines_common_rules_and_profile_policy():CODE
LOWtests/test_analyzer.py171def test_analyze_item_repairs_invalid_result_once():CODE
LOWtests/test_analyzer.py204def test_tech_blog_analysis_uses_head_middle_tail_content_sampling():CODE
LOWtests/test_analyzer.py245def test_analyze_item_malformed_json_result_uses_fallback(result):CODE
LOWtests/test_analyzer.py263def test_auto_profile_classification_runs_before_analysis():CODE
LOW⚡tests/test_webhook.py127 def test_short_value_not_truncated(self):CODE
LOW⚡tests/test_webhook.py132 def test_truncate_by_segments(self):CODE
LOW⚡tests/test_webhook.py139 def test_single_segment_exceeds_limit_still_kept(self):CODE
LOW⚡tests/test_webhook.py146 def test_no_split_delimiter_in_value(self):CODE
LOW⚡tests/test_webhook.py172 def test_plain_key_without_params(self):CODE
LOW⚡tests/test_webhook.py178 def test_key_with_limit_and_split(self):CODE
LOW⚡tests/test_webhook.py186 def test_key_with_limit_no_truncation_needed(self):CODE
LOW⚡tests/test_webhook.py193 def test_missing_variable_with_params(self):CODE
LOW⚡tests/test_webhook.py1358 def test_unsafe_url_raises_value_error(self, url):CODE
LOW⚡tests/test_webhook.py1367 def test_no_hostname_raises_value_error(self):CODE
LOW⚡tests/test_webhook.py1375 def test_wrong_scheme_raises_value_error(self):CODE
LOW⚡tests/test_webhook.py1386 def test_invalid_port_raises_value_error(self):CODE
LOW⚡tests/test_webhook.py1394 def test_empty_env_var_value_raises_value_error(self):CODE
LOW⚡tests/test_webhook.py1402 def test_env_var_not_set_sets_url_none(self):CODE
LOW⚡tests/test_webhook.py1409 def test_url_env_null_sets_url_none(self):CODE
LOW⚡tests/test_webhook.py1415 def test_whitespace_url_stripped_and_validated(self):CODE
LOW⚡tests/test_webhook.py1423 def test_shell_escape_artifacts_stripped(self):CODE
LOW⚡tests/test_webhook.py1741 def test_invalid_delivery_raises_validation_error(self):CODE
403 more matches not shown…
Decorative Section Separators18 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_category_wiring.py31# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_category_wiring.py33# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_category_wiring.py258# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_category_wiring.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_category_wiring.py71# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_category_wiring.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_category_wiring.py133# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_category_wiring.py135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_category_wiring.py303# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/test_category_wiring.py305# ---------------------------------------------------------------------------STRING
MEDIUMtests/test_category_wiring.py343# ---------------------------------------------------------------------------STRING
MEDIUMtests/test_category_wiring.py345# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/test_twitter.py76# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_twitter.py78# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_twitter.py312# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_twitter.py314# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_twitter.py505# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_twitter.py507# ---------------------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping61 hits · 60 pts
SeverityFileLineSnippetContext
LOWsrc/orchestrator.py351 except Exception as e:CODE
LOWsrc/orchestrator.py398 except Exception as e:CODE
LOWsrc/orchestrator.py526 except Exception as exc:CODE
LOWsrc/orchestrator.py675 except Exception as e:CODE
LOWsrc/orchestrator.py1011 except Exception as exc:CODE
LOWsrc/main.py95 except Exception as e:CODE
LOWsrc/main.py110 except Exception as e:CODE
LOWsrc/processing/tools.py35 except Exception as exc:CODE
LOWsrc/setup/ai_recommend.py49 except Exception:CODE
LOWsrc/mcp/service.py737 except Exception:CODE
LOWsrc/mcp/server.py106 except Exception as exc:CODE
LOWsrc/mcp/server.py122 except Exception as exc:CODE
LOWsrc/mcp/server.py306 except Exception as exc:CODE
LOWsrc/mcp/server.py328 except Exception as exc:CODE
LOWsrc/mcp/server.py350 except Exception as exc:CODE
LOWsrc/mcp/server.py372 except Exception as exc:CODE
LOWsrc/mcp/server.py394 except Exception as exc:CODE
LOWsrc/mcp/horizon_adapter.py127 except Exception as exc: # pragma: no cover - import failure edge caseCODE
LOWsrc/mcp/horizon_adapter.py156 except Exception as exc:CODE
LOWsrc/mcp/horizon_adapter.py266 except Exception as exc:CODE
LOWsrc/ai/classifier.py76 except Exception as exc:CODE
LOWsrc/ai/client.py276 except Exception as exc:CODE
LOWsrc/ai/client.py420 except Exception as exc:CODE
LOWsrc/ai/client.py611 except Exception as exc:CODE
LOWsrc/ai/analyzer.py66 except Exception as e:CODE
LOWsrc/ai/enricher.py190 except Exception as exc:CODE
LOWsrc/scrapers/rss.py134 except Exception as e:CODE
LOWsrc/scrapers/rss.py163 except Exception:CODE
LOWsrc/scrapers/twitter_playwright.py140 except Exception as exc:CODE
LOWsrc/scrapers/twitter_playwright.py254 except Exception as exc:CODE
LOWsrc/scrapers/twitter_playwright.py285 except Exception as exc:CODE
LOWsrc/scrapers/twitter_playwright.py316 except Exception:CODE
LOWsrc/scrapers/twitter_playwright.py351 except Exception as exc:CODE
LOWsrc/scrapers/twitter_playwright.py396 except Exception as exc:CODE
LOWsrc/scrapers/twitter.py81 except Exception as exc:CODE
LOWsrc/scrapers/twitter.py121 except Exception as exc:CODE
LOWsrc/scrapers/twitter.py151 except Exception as exc:CODE
LOWsrc/scrapers/twitter.py164 except Exception as exc:CODE
LOWsrc/scrapers/twitter.py354 except Exception as exc:CODE
LOWsrc/scrapers/gdelt.py100 except Exception as exc:CODE
LOWsrc/scrapers/gdelt.py121 except Exception as exc:CODE
LOWsrc/scrapers/gdelt.py166 except Exception as exc:CODE
LOWsrc/scrapers/reddit.py64 except Exception as e:CODE
LOWsrc/scrapers/reddit.py71 except Exception as e:CODE
LOWsrc/scrapers/reddit.py391 except Exception:CODE
LOWsrc/scrapers/google_news.py109 except Exception as exc:CODE
LOWsrc/scrapers/google_news.py171 except Exception as exc:CODE
LOWsrc/scrapers/google_news.py201 except Exception:CODE
LOWsrc/scrapers/google_news.py216 except Exception:CODE
LOWsrc/scrapers/openbb.py100 except Exception as exc:CODE
LOWsrc/extractors/trafilatura.py49 except Exception as e:CODE
LOWsrc/services/wechat_cli.py47 except Exception: # pragma: no cover - terminal/library dependentCODE
LOWsrc/services/wechat_cli.py212 except Exception as exc:CODE
LOWsrc/services/webhook.py660 except Exception as e:CODE
LOWsrc/services/wechat.py389 except Exception as exc:CODE
LOWsrc/services/email.py141 except Exception as e:CODE
LOWsrc/services/email.py157 except Exception:CODE
LOWsrc/services/email.py222 except Exception as e:STRING
LOWsrc/services/email.py225 except Exception as e:STRING
LOWsrc/services/email.py242 except Exception as e:CODE
1 more matches not shown…
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHsrc/setup/wizard.py478except FileNotFoundError:CODE
HIGHsrc/setup/wizard.py208except ValueError:CODE
HIGHsrc/mcp/service.py77except ValueError:CODE
HIGHsrc/ai/utils.py18except (json.JSONDecodeError, ValueError):CODE
HIGHsrc/ai/utils.py26except (json.JSONDecodeError, ValueError, IndexError):CODE
HIGHsrc/ai/utils.py34except (json.JSONDecodeError, ValueError, IndexError):CODE
HIGHsrc/ai/utils.py57except (json.JSONDecodeError, ValueError):CODE
HIGHsrc/scrapers/reddit.py262except (TypeError, ValueError):CODE
HIGHsrc/scrapers/reddit.py272except ValueError:CODE
HIGHsrc/services/webhook.py337except json.JSONDecodeError:CODE
Unused Imports41 hits · 39 pts
SeverityFileLineSnippetContext
LOWtests/test_extractors_trafilatura.py1CODE
LOWtests/test_mcp_adapter.py1CODE
LOWtests/conftest.py1CODE
LOWtests/test_chained_client.py4CODE
LOWtests/test_chained_client.py4CODE
LOWtests/test_gdelt.py1CODE
LOWtests/test_url_security.py1CODE
LOWtests/test_rss.py1CODE
LOWtests/test_mcp_run_store.py1CODE
LOWtests/test_azure_client.py3CODE
LOWtests/test_storage.py6CODE
LOWtests/test_fetch_reporting.py1CODE
LOWtests/test_minimax_client.py3CODE
LOWtests/test_minimax_client.py6CODE
LOWtests/test_setup_wizard.py1CODE
LOWtests/test_google_news.py1CODE
LOWtests/test_category_wiring.py7CODE
LOWtests/test_category_wiring.py216CODE
LOWtests/test_extractors_registry.py1CODE
LOWtests/test_mcp_service_smoke.py1CODE
LOWtests/test_openbb_scraper.py14CODE
LOWscripts/check_mcp.py4CODE
LOWsrc/url_security.py3CODE
LOWsrc/processing/__init__.py3CODE
LOWsrc/processing/__init__.py3CODE
LOWsrc/processing/profiles.py3CODE
LOWsrc/setup/wizard.py4CODE
LOWsrc/setup/ai_recommend.py4CODE
LOWsrc/mcp/service.py3CODE
LOWsrc/mcp/server.py3CODE
LOWsrc/mcp/errors.py3CODE
LOWsrc/mcp/run_store.py3CODE
LOWsrc/mcp/horizon_adapter.py3CODE
LOWsrc/ai/tokens.py7CODE
LOWsrc/scrapers/telegram.py6CODE
LOWsrc/scrapers/gdelt.py22CODE
LOWsrc/scrapers/google_news.py27CODE
LOWsrc/scrapers/openbb.py27CODE
LOWsrc/extractors/__init__.py1CODE
LOWsrc/extractors/__init__.py2CODE
LOWsrc/extractors/__init__.py3CODE
Deep Nesting30 hits · 30 pts
SeverityFileLineSnippetContext
LOWsrc/orchestrator.py227CODE
LOWsrc/orchestrator.py575CODE
LOWsrc/orchestrator.py630CODE
LOWsrc/orchestrator.py853CODE
LOWsrc/main.py38CODE
LOWsrc/processing/profiles.py134CODE
LOWsrc/setup/presets.py137CODE
LOWsrc/setup/presets.py281CODE
LOWsrc/setup/wizard.py154CODE
LOWsrc/setup/wizard.py216CODE
LOWsrc/mcp/service.py41CODE
LOWsrc/mcp/service.py749CODE
LOWsrc/mcp/horizon_adapter.py185CODE
LOWsrc/ai/client.py542CODE
LOWsrc/ai/enricher.py317CODE
LOWsrc/ai/markdown_utils.py62CODE
LOWsrc/ai/markdown_utils.py65CODE
LOWsrc/ai/utils.py8CODE
LOWsrc/scrapers/rss.py61CODE
LOWsrc/scrapers/rss.py139CODE
LOWsrc/scrapers/twitter_playwright.py207CODE
LOWsrc/scrapers/twitter_playwright.py212CODE
LOWsrc/scrapers/github.py115CODE
LOWsrc/scrapers/reddit.py378CODE
LOWsrc/scrapers/google_news.py190CODE
LOWsrc/services/wechat_cli.py52CODE
LOWsrc/services/webhook.py314CODE
LOWsrc/services/wechat.py353CODE
LOWsrc/services/email.py44CODE
LOWsrc/services/email.py162CODE
Modern Structural Boilerplate23 hits · 23 pts
SeverityFileLineSnippetContext
LOWsrc/processing/tools.py15logger = logging.getLogger(__name__)CODE
LOWsrc/processing/__init__.py5__all__ = ["LoadedProfile", "ProfileRegistry"]CODE
LOWsrc/processing/history.py15logger = logging.getLogger(__name__)CODE
LOWsrc/mcp/__init__.py3__all__ = ["__version__"]CODE
LOWsrc/ai/classifier.py16logger = logging.getLogger(__name__)CODE
LOWsrc/ai/client.py18logger = logging.getLogger(__name__)CODE
LOWsrc/ai/analyzer.py11logger = logging.getLogger(__name__)CODE
LOWsrc/ai/enricher.py36logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/hackernews.py13logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/rss.py18logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/telegram.py15logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/twitter_playwright.py17logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/twitter.py16logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/gdelt.py33logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/github.py12logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/reddit.py25logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/google_news.py43logger = logging.getLogger(__name__)CODE
LOWsrc/scrapers/openbb.py39logger = logging.getLogger(__name__)CODE
LOWsrc/extractors/__init__.py5__all__ = ["BaseExtractor", "ExtractorRegistry", "TrafilaturaExtractor"]CODE
LOWsrc/extractors/trafilatura.py12logger = logging.getLogger(__name__)CODE
LOWsrc/services/webhook.py21logger = logging.getLogger(__name__)CODE
LOWsrc/services/wechat.py26logger = logging.getLogger(__name__)CODE
LOWsrc/services/email.py25logger = logging.getLogger(__name__)CODE
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡src/setup/wizard.py403 # Step 1: AI configurationCOMMENT
LOW⚡src/setup/wizard.py409 # Step 2: Interest descriptionCOMMENT
LOW⚡src/setup/wizard.py412 # Step 3: Preset library matchingCOMMENT
LOWsrc/setup/wizard.py437 # Step 4: AI recommendations (optional)COMMENT
LOW⚡src/setup/wizard.py460 # Step 5: Interactive source selectionCOMMENT
LOW⚡src/setup/wizard.py466 # Step 6: Build configCOMMENT
Structural Annotation Overuse6 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡src/setup/wizard.py403 # Step 1: AI configurationCOMMENT
LOW⚡src/setup/wizard.py409 # Step 2: Interest descriptionCOMMENT
LOW⚡src/setup/wizard.py412 # Step 3: Preset library matchingCOMMENT
LOWsrc/setup/wizard.py437 # Step 4: AI recommendations (optional)COMMENT
LOW⚡src/setup/wizard.py460 # Step 5: Interactive source selectionCOMMENT
LOW⚡src/setup/wizard.py466 # Step 6: Build configCOMMENT
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHsrc/main.py159 "max_items": null,CODE
HIGHsrc/scrapers/twitter_playwright.py89 "Playwright not installed. Run: uv sync --extra twitter && uv run playwright install chromium"CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHsrc/setup/presets.py105Load presets from API (preferred) or local file (fallback). Args: presets_path: Path to the local presets JSTRING
HIGHsrc/ai/client.py681Factory function to create appropriate AI client. Args: config: AI configuration Returns: AIClSTRING
Fake / Example Data6 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_email.py74 manager.send_daily_summary("# Hello", "Daily", ["user@example.com"])CODE
LOW⚡tests/test_email.py81 assert smtp.messages[0]["To"] == "user@example.com"CODE
LOW⚡tests/test_email.py92 manager.send_daily_summary("# Hello", "Daily", ["user@example.com"])CODE
LOW⚡tests/test_email.py133 "# Hello\n\n<img src=x onerror=alert(1)>", "Daily", ["user@example.com"]CODE
LOWtests/test_email.py162 manager.send_daily_summary(summary, "Daily", ["user@example.com"])STRING
LOWtests/test_email.py197 manager.send_daily_summary(summary, "Daily", ["user@example.com"])STRING
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/ai/client.py55 f"Set {expected_env}=your_api_key in .env or your shell, then set "CODE
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_mcp_adapter.py26 # Create a temporary config.json so resolve_config_path doesn't raiseCOMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/mcp/service.py596CODE
LOWsrc/mcp/server.py267CODE
Redundant / Tautological Comments1 hit · 0 pts
SeverityFileLineSnippetContext
LOWsrc/setup/wizard.py105 # Check if the key is actually setSTRING