📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
This report presents the forensic synthetic code analysis of Thysrael/Horizon, a Python project with 8,166 GitHub stars. SynthScan v2.0 examined 21,843 lines of code across 109 source files, recording 516 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 28.3 places this repository in the Moderate 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 516 distinct pattern matches across 17 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⚡ | tests/test_extractors_trafilatura.py | 38 | def test_returns_extracted_text(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 46 | def test_returns_none_when_trafilatura_returns_empty(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 53 | def test_returns_none_on_http_error(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 60 | def test_returns_none_when_trafilatura_raises(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 69 | def test_returns_none_when_not_installed(): | CODE |
| LOW | tests/test_telegram.py | 16 | def test_parse_message_ignores_reply_preview_text() -> None: | CODE |
| LOW | tests/test_telegram.py | 54 | def test_parse_channel_html_keeps_supported_messages() -> None: | STRING |
| LOW | tests/test_telegram.py | 73 | def test_fetch_channel_uses_alternate_domain_after_dns_failure() -> None: | STRING |
| LOW | tests/test_telegram.py | 102 | def test_fetch_raises_when_all_telegram_endpoints_fail() -> None: | STRING |
| LOW⚡ | tests/test_mcp_adapter.py | 19 | def test_resolve_horizon_path_accepts_explicit_repo() -> None: | CODE |
| LOW⚡ | tests/test_mcp_adapter.py | 25 | def test_resolve_config_path_defaults_to_repo_data_config(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/test_mcp_adapter.py | 34 | def test_load_mcp_secrets_loads_generic_env_keys(tmp_path: Path, monkeypatch) -> None: | CODE |
| LOW | tests/test_mcp_adapter.py | 61 | def test_load_config_expands_env_vars(tmp_path: Path, monkeypatch) -> None: | CODE |
| LOW | tests/test_mcp_adapter.py | 86 | def test_apply_source_filter_handles_twitter_and_openbb() -> None: | CODE |
| LOW | tests/test_mcp_adapter.py | 114 | def test_mcp_source_registry_covers_model_source_types() -> None: | CODE |
| LOW | tests/test_mcp_adapter.py | 118 | def test_mcp_filter_and_reporting_support_every_registered_source() -> None: | CODE |
| LOW | tests/test_analyzer.py | 22 | def test_analyze_batch_does_not_sleep_by_default(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 42 | def test_analyze_batch_sleeps_between_items_when_throttle_configured(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 62 | def test_analyze_batch_concurrent_processing(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 85 | def test_analyze_batch_concurrent_preserves_order(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 101 | def test_analyze_item_accepts_valid_result(): | CODE |
| LOW | tests/test_analyzer.py | 134 | def test_analyze_item_malformed_json_result_uses_fallback(result): | CODE |
| LOW⚡ | tests/test_webhook.py | 118 | def test_short_value_not_truncated(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 123 | def test_truncate_by_segments(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 130 | def test_single_segment_exceeds_limit_still_kept(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 137 | def test_no_split_delimiter_in_value(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 163 | def test_plain_key_without_params(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 169 | def test_key_with_limit_and_split(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 177 | def test_key_with_limit_no_truncation_needed(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 184 | def test_missing_variable_with_params(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1251 | def test_unsafe_url_raises_value_error(self, url): | CODE |
| LOW⚡ | tests/test_webhook.py | 1260 | def test_no_hostname_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1268 | def test_wrong_scheme_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1279 | def test_invalid_port_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1287 | def test_empty_env_var_value_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1295 | def test_env_var_not_set_sets_url_none(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1302 | def test_url_env_null_sets_url_none(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1308 | def test_whitespace_url_stripped_and_validated(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1316 | def test_shell_escape_artifacts_stripped(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1634 | def test_invalid_delivery_raises_validation_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1638 | def test_invalid_platform_raises_validation_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1642 | def test_invalid_layout_raises_validation_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1646 | def test_invalid_fallback_layout_raises_validation_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1650 | def test_invalid_overview_position_raises_validation_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1654 | def test_all_valid_values_pass(self): | CODE |
| LOW | tests/test_webhook.py | 57 | def test_summary_with_multiline_content(self): | CODE |
| LOW | tests/test_webhook.py | 92 | def test_non_string_values_preserved(self): | CODE |
| LOW | tests/test_webhook.py | 106 | def test_summary_with_quotes_safely_replaced(self): | CODE |
| LOW | tests/test_webhook.py | 148 | def test_exact_limit_with_join(self): | CODE |
| LOW | tests/test_webhook.py | 198 | def test_mix_of_plain_and_parameterized(self): | CODE |
| LOW | tests/test_webhook.py | 207 | def test_details_references_are_flattened_for_webhook(self): | CODE |
| LOW | tests/test_webhook.py | 432 | def test_disabled_webhook_skips_notification(self): | CODE |
| LOW | tests/test_webhook.py | 443 | def test_empty_url_env_skips_notification(self): | CODE |
| LOW | tests/test_webhook.py | 454 | def test_get_request_when_no_body(self): | CODE |
| LOW | tests/test_webhook.py | 479 | def test_post_request_with_json_body(self): | CODE |
| LOW | tests/test_webhook.py | 511 | def test_post_request_with_json_str_body_containing_summary(self): | CODE |
| LOW | tests/test_webhook.py | 550 | def test_post_request_with_json_str_body_summary_with_quotes_breaks_json(self): | CODE |
| LOW | tests/test_webhook.py | 590 | def test_post_request_with_form_body(self): | CODE |
| LOW | tests/test_webhook.py | 647 | def test_post_request_with_dict_body(self): | CODE |
| LOW | tests/test_webhook.py | 690 | def test_post_request_with_dict_body_and_special_chars(self): | CODE |
| 258 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/orchestrator.py | 298 | except Exception as e: | CODE |
| LOW | src/orchestrator.py | 335 | except Exception as e: | CODE |
| LOW | src/orchestrator.py | 456 | except Exception as exc: | CODE |
| LOW | src/orchestrator.py | 598 | except Exception as e: | CODE |
| LOW | src/orchestrator.py | 836 | except Exception as exc: | CODE |
| LOW | src/main.py | 71 | except Exception as e: | CODE |
| LOW | src/main.py | 82 | except Exception as e: | CODE |
| LOW | src/setup/ai_recommend.py | 49 | except Exception: | CODE |
| LOW | src/mcp/service.py | 683 | except Exception: | CODE |
| LOW | src/mcp/server.py | 101 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 117 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 301 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 323 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 345 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 367 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 389 | except Exception as exc: | CODE |
| LOW | src/mcp/horizon_adapter.py | 127 | except Exception as exc: # pragma: no cover - import failure edge case | CODE |
| LOW | src/mcp/horizon_adapter.py | 156 | except Exception as exc: | CODE |
| LOW | src/mcp/horizon_adapter.py | 258 | except Exception as exc: | CODE |
| LOW | src/ai/client.py | 273 | except Exception as exc: | CODE |
| LOW | src/ai/client.py | 417 | except Exception as exc: | CODE |
| LOW | src/ai/client.py | 599 | except Exception as exc: | CODE |
| LOW | src/ai/analyzer.py | 63 | except Exception as e: | CODE |
| MEDIUM | src/ai/analyzer.py | 64 | print(f"Error analyzing item {item.id}: {e}") | CODE |
| LOW | src/ai/enricher.py | 52 | except Exception as e: | CODE |
| MEDIUM | src/ai/enricher.py | 53 | print(f"Error enriching item {item.id}: {e}, falling back to translation") | CODE |
| LOW | src/ai/enricher.py | 86 | except Exception: | CODE |
| LOW | src/ai/enricher.py | 129 | except Exception: | CODE |
| LOW | src/ai/enricher.py | 258 | except Exception: | CODE |
| LOW | src/scrapers/rss.py | 133 | except Exception as e: | CODE |
| LOW | src/scrapers/rss.py | 159 | except Exception: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 133 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 247 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 278 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 309 | except Exception: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 344 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 388 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 86 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 103 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 116 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 152 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 312 | except Exception as exc: | CODE |
| LOW | src/scrapers/gdelt.py | 100 | except Exception as exc: | CODE |
| LOW | src/scrapers/gdelt.py | 121 | except Exception as exc: | CODE |
| LOW | src/scrapers/gdelt.py | 165 | except Exception as exc: | CODE |
| LOW | src/scrapers/reddit.py | 63 | except Exception as e: | CODE |
| LOW | src/scrapers/reddit.py | 70 | except Exception as e: | CODE |
| LOW | src/scrapers/reddit.py | 368 | except Exception: | CODE |
| LOW | src/scrapers/google_news.py | 109 | except Exception as exc: | CODE |
| LOW | src/scrapers/google_news.py | 170 | except Exception as exc: | CODE |
| LOW | src/scrapers/google_news.py | 200 | except Exception: | CODE |
| LOW | src/scrapers/google_news.py | 215 | except Exception: | CODE |
| LOW | src/scrapers/openbb.py | 100 | except Exception as exc: | CODE |
| LOW | src/extractors/trafilatura.py | 39 | except Exception as e: | CODE |
| LOW | src/services/webhook.py | 650 | except Exception as e: | CODE |
| LOW | src/services/email.py | 151 | except Exception as e: | CODE |
| LOW | src/services/email.py | 216 | except Exception as e: | STRING |
| LOW | src/services/email.py | 219 | except Exception as e: | STRING |
| LOW | src/services/email.py | 238 | except Exception as e: | CODE |
| LOW | src/services/webhook_cli.py | 209 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_category_wiring.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 223 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 225 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_category_wiring.py | 69 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_category_wiring.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 265 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/test_category_wiring.py | 267 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/test_category_wiring.py | 302 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/test_category_wiring.py | 304 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/test_twitter.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 290 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 292 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_extractors_trafilatura.py | 1 | CODE | |
| LOW | tests/test_mcp_adapter.py | 1 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/test_chained_client.py | 4 | CODE | |
| LOW | tests/test_chained_client.py | 4 | CODE | |
| LOW | tests/test_gdelt.py | 1 | CODE | |
| LOW | tests/test_url_security.py | 1 | CODE | |
| LOW | tests/test_rss.py | 1 | CODE | |
| LOW | tests/test_mcp_run_store.py | 1 | CODE | |
| LOW | tests/test_azure_client.py | 3 | CODE | |
| LOW | tests/test_storage.py | 3 | CODE | |
| LOW | tests/test_fetch_reporting.py | 1 | CODE | |
| LOW | tests/test_minimax_client.py | 3 | CODE | |
| LOW | tests/test_minimax_client.py | 6 | CODE | |
| LOW | tests/test_setup_wizard.py | 1 | CODE | |
| LOW | tests/test_google_news.py | 1 | CODE | |
| LOW | tests/test_category_wiring.py | 6 | CODE | |
| LOW | tests/test_category_wiring.py | 181 | CODE | |
| LOW | tests/test_extractors_registry.py | 1 | CODE | |
| LOW | tests/test_mcp_service_smoke.py | 1 | CODE | |
| LOW | tests/test_openbb_scraper.py | 14 | CODE | |
| LOW | scripts/check_mcp.py | 4 | CODE | |
| LOW | src/url_security.py | 3 | CODE | |
| LOW | src/setup/wizard.py | 3 | CODE | |
| LOW | src/setup/wizard.py | 6 | CODE | |
| LOW | src/setup/ai_recommend.py | 4 | CODE | |
| LOW | src/mcp/service.py | 3 | CODE | |
| LOW | src/mcp/server.py | 3 | CODE | |
| LOW | src/mcp/errors.py | 3 | CODE | |
| LOW | src/mcp/run_store.py | 3 | CODE | |
| LOW | src/mcp/horizon_adapter.py | 3 | CODE | |
| LOW | src/ai/analyzer.py | 4 | CODE | |
| LOW | src/ai/analyzer.py | 5 | CODE | |
| LOW | src/ai/tokens.py | 7 | CODE | |
| LOW | src/ai/enricher.py | 9 | CODE | |
| LOW | src/ai/enricher.py | 10 | CODE | |
| LOW | src/ai/summarizer.py | 5 | CODE | |
| LOW | src/scrapers/telegram.py | 6 | CODE | |
| LOW | src/scrapers/gdelt.py | 22 | CODE | |
| LOW | src/scrapers/google_news.py | 27 | CODE | |
| LOW | src/scrapers/openbb.py | 27 | CODE | |
| LOW | src/extractors/__init__.py | 1 | CODE | |
| LOW | src/extractors/__init__.py | 2 | CODE | |
| LOW | src/extractors/__init__.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/orchestrator.py | 185 | CODE | |
| LOW | src/orchestrator.py | 505 | CODE | |
| LOW | src/orchestrator.py | 554 | CODE | |
| LOW | src/orchestrator.py | 686 | CODE | |
| LOW | src/setup/presets.py | 137 | CODE | |
| LOW | src/setup/presets.py | 281 | CODE | |
| LOW | src/setup/wizard.py | 129 | CODE | |
| LOW | src/setup/wizard.py | 191 | CODE | |
| LOW | src/mcp/service.py | 38 | CODE | |
| LOW | src/mcp/service.py | 687 | CODE | |
| LOW | src/mcp/horizon_adapter.py | 177 | CODE | |
| LOW | src/ai/client.py | 533 | CODE | |
| LOW | src/ai/markdown_utils.py | 62 | CODE | |
| LOW | src/ai/markdown_utils.py | 65 | CODE | |
| LOW | src/ai/utils.py | 8 | CODE | |
| LOW | src/scrapers/rss.py | 61 | CODE | |
| LOW | src/scrapers/rss.py | 138 | CODE | |
| LOW | src/scrapers/twitter_playwright.py | 200 | CODE | |
| LOW | src/scrapers/twitter_playwright.py | 205 | CODE | |
| LOW | src/scrapers/github.py | 115 | CODE | |
| LOW | src/scrapers/reddit.py | 355 | CODE | |
| LOW | src/scrapers/google_news.py | 189 | CODE | |
| LOW | src/services/webhook.py | 324 | CODE | |
| LOW | src/services/email.py | 54 | CODE | |
| LOW | src/services/email.py | 154 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/setup/wizard.py | 363 | # Step 1: AI configuration | COMMENT |
| LOW⚡ | src/setup/wizard.py | 369 | # Step 2: Interest description | COMMENT |
| LOW⚡ | src/setup/wizard.py | 372 | # Step 3: Preset library matching | COMMENT |
| LOW | src/setup/wizard.py | 394 | # Step 4: AI recommendations (optional) | COMMENT |
| LOW⚡ | src/setup/wizard.py | 413 | # Step 5: Interactive source selection | COMMENT |
| LOW⚡ | src/setup/wizard.py | 419 | # Step 6: Build config | COMMENT |
| LOW⚡ | src/ai/enricher.py | 158 | # Step 1: AI identifies concepts to explain | COMMENT |
| LOW⚡ | src/ai/enricher.py | 161 | # Step 2: Search web for each concept | COMMENT |
| LOW | src/ai/enricher.py | 175 | # Step 3: AI generates background grounded in search results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/setup/wizard.py | 363 | # Step 1: AI configuration | COMMENT |
| LOW⚡ | src/setup/wizard.py | 369 | # Step 2: Interest description | COMMENT |
| LOW⚡ | src/setup/wizard.py | 372 | # Step 3: Preset library matching | COMMENT |
| LOW | src/setup/wizard.py | 394 | # Step 4: AI recommendations (optional) | COMMENT |
| LOW⚡ | src/setup/wizard.py | 413 | # Step 5: Interactive source selection | COMMENT |
| LOW⚡ | src/setup/wizard.py | 419 | # Step 6: Build config | COMMENT |
| LOW⚡ | src/ai/enricher.py | 158 | # Step 1: AI identifies concepts to explain | COMMENT |
| LOW⚡ | src/ai/enricher.py | 161 | # Step 2: Search web for each concept | COMMENT |
| LOW | src/ai/enricher.py | 175 | # Step 3: AI generates background grounded in search results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/mcp/__init__.py | 3 | __all__ = ["__version__"] | CODE |
| LOW | src/scrapers/hackernews.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/rss.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/telegram.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/twitter_playwright.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/twitter.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/gdelt.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/github.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/reddit.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/google_news.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/scrapers/openbb.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/extractors/__init__.py | 5 | __all__ = ["BaseExtractor", "ExtractorRegistry", "TrafilaturaExtractor"] | CODE |
| LOW | src/extractors/trafilatura.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/services/webhook.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/services/email.py | 22 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/ai/analyzer.py | 0 | try multiple strategies to extract a json object from an ai response. returns the parsed dict, or none if all strategies | STRING |
| HIGH | src/ai/enricher.py | 0 | try multiple strategies to extract a json object from an ai response. returns the parsed dict, or none if all strategies | STRING |
| HIGH | src/ai/utils.py | 0 | try multiple strategies to extract a json object from an ai response. returns the parsed dict, or none if all strategies | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/main.py | 126 | "max_items": null, | CODE |
| HIGH | src/scrapers/twitter_playwright.py | 82 | "Playwright not installed. Run: uv sync --extra twitter && uv run playwright install chromium" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/setup/presets.py | 105 | Load presets from API (preferred) or local file (fallback). Args: presets_path: Path to the local presets J | STRING |
| HIGH | src/ai/client.py | 669 | Factory function to create appropriate AI client. Args: config: AI configuration Returns: AICl | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_email.py | 59 | manager.send_daily_summary("# Hello", "Daily", ["user@example.com"]) | CODE |
| LOW⚡ | tests/test_email.py | 66 | assert smtp.messages[0]["To"] == "user@example.com" | CODE |
| LOW⚡ | tests/test_email.py | 77 | manager.send_daily_summary("# Hello", "Daily", ["user@example.com"]) | CODE |
| LOW⚡ | tests/test_email.py | 90 | "# Hello\n\n<img src=x onerror=alert(1)>", "Daily", ["user@example.com"] | CODE |
| LOW | tests/test_email.py | 119 | manager.send_daily_summary(summary, "Daily", ["user@example.com"]) | STRING |
| LOW | tests/test_email.py | 154 | manager.send_daily_summary(summary, "Daily", ["user@example.com"]) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/ai/analyzer.py | 158 | # Parse JSON response with robust fallback | COMMENT |
| MEDIUM | src/ai/enricher.py | 193 | # Parse JSON response with robust fallback | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/ai/client.py | 52 | f"Set {expected_env}=your_api_key in .env or your shell, then set " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_mcp_adapter.py | 26 | # Create a temporary config.json so resolve_config_path doesn't raise | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/mcp/service.py | 553 | CODE | |
| LOW | src/mcp/server.py | 262 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/setup/wizard.py | 81 | # Check if the key is actually set | STRING |