📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 511 finding(s).
Are imports declared and package/API names verified? 50 finding(s).
Are wrappers, guards, and repeated structures necessary? 577 finding(s).
Which changes need focused human review? 673 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_extractors_trafilatura.py | 39 | def test_returns_extracted_text(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 51 | def test_returns_none_when_trafilatura_returns_empty(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 58 | def test_returns_none_on_http_error(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 65 | def test_returns_none_when_trafilatura_raises(): | CODE |
| LOW⚡ | tests/test_extractors_trafilatura.py | 74 | 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_wechat.py | 38 | def test_config_defaults_and_limits(): | CODE |
| LOW | tests/test_wechat.py | 46 | def test_session_persistence_ignores_old_fields_and_keeps_credentials_private(tmp_path): | CODE |
| LOW | tests/test_wechat.py | 63 | def test_only_the_bound_users_new_context_resets_budget(): | CODE |
| LOW | tests/test_wechat.py | 113 | def test_login_endpoints_and_query_encoding(monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 128 | def test_client_distinguishes_timeouts_business_errors_and_http_errors(monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 149 | def test_formatting_keeps_links_and_bold_but_flattens_html_and_cjk_italics(): | CODE |
| LOW | tests/test_wechat.py | 163 | def test_chunking_prefers_paragraphs_then_splits_long_lines(): | CODE |
| LOW | tests/test_wechat.py | 173 | def test_budget_reminder_never_exceeds_the_configured_chunk_size(lang, limit): | CODE |
| LOW | tests/test_wechat.py | 209 | def test_send_summary_chunks_and_persists_budget_across_languages(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 220 | def test_first_context_is_picked_up_before_readiness_check_and_chat_is_not_answered(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 229 | def test_server_budget_error_stops_partial_delivery_and_new_context_recovers(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 243 | def test_stored_budget_is_only_an_estimate_server_can_allow_more(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 249 | def test_receive_timeout_does_not_block_delivery(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_wechat.py | 260 | def test_delivery_failure_results(tmp_path, monkeypatch, error, status): | CODE |
| LOW | tests/test_wechat.py | 266 | def test_disabled_filtered_missing_and_stale_sessions_do_not_send(tmp_path, monkeypatch): | CODE |
| 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 | 87 | def test_apply_source_filter_handles_twitter_and_openbb() -> None: | CODE |
| LOW | tests/test_mcp_adapter.py | 131 | def test_mcp_source_registry_covers_model_source_types() -> None: | CODE |
| LOW | tests/test_mcp_adapter.py | 135 | def test_mcp_filter_and_reporting_support_every_registered_source() -> None: | CODE |
| LOW | tests/test_analyzer.py | 31 | def test_analyze_batch_does_not_sleep_by_default(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 51 | def test_analyze_batch_sleeps_between_items_when_throttle_configured(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 71 | def test_analyze_batch_concurrent_processing(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 94 | def test_analyze_batch_concurrent_preserves_order(monkeypatch): | CODE |
| LOW | tests/test_analyzer.py | 110 | def test_analyze_item_accepts_valid_result(): | CODE |
| LOW | tests/test_analyzer.py | 137 | def test_reanalysis_clears_stale_artifacts(): | CODE |
| LOW | tests/test_analyzer.py | 162 | def test_analysis_prompt_combines_common_rules_and_profile_policy(): | CODE |
| LOW | tests/test_analyzer.py | 171 | def test_analyze_item_repairs_invalid_result_once(): | CODE |
| LOW | tests/test_analyzer.py | 204 | def test_tech_blog_analysis_uses_head_middle_tail_content_sampling(): | CODE |
| LOW | tests/test_analyzer.py | 245 | def test_analyze_item_malformed_json_result_uses_fallback(result): | CODE |
| LOW | tests/test_analyzer.py | 263 | def test_auto_profile_classification_runs_before_analysis(): | CODE |
| LOW⚡ | tests/test_webhook.py | 127 | def test_short_value_not_truncated(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 132 | def test_truncate_by_segments(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 139 | def test_single_segment_exceeds_limit_still_kept(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 146 | def test_no_split_delimiter_in_value(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 172 | def test_plain_key_without_params(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 178 | def test_key_with_limit_and_split(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 186 | def test_key_with_limit_no_truncation_needed(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 193 | def test_missing_variable_with_params(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1358 | def test_unsafe_url_raises_value_error(self, url): | CODE |
| LOW⚡ | tests/test_webhook.py | 1367 | def test_no_hostname_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1375 | def test_wrong_scheme_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1386 | def test_invalid_port_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1394 | def test_empty_env_var_value_raises_value_error(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1402 | def test_env_var_not_set_sets_url_none(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1409 | def test_url_env_null_sets_url_none(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1415 | def test_whitespace_url_stripped_and_validated(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1423 | def test_shell_escape_artifacts_stripped(self): | CODE |
| LOW⚡ | tests/test_webhook.py | 1741 | def test_invalid_delivery_raises_validation_error(self): | CODE |
| 403 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_category_wiring.py | 31 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 258 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_category_wiring.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_category_wiring.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_category_wiring.py | 133 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_category_wiring.py | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_category_wiring.py | 303 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/test_category_wiring.py | 305 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/test_category_wiring.py | 343 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/test_category_wiring.py | 345 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/test_twitter.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 78 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 312 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 314 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 505 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_twitter.py | 507 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/orchestrator.py | 351 | except Exception as e: | CODE |
| LOW | src/orchestrator.py | 398 | except Exception as e: | CODE |
| LOW | src/orchestrator.py | 526 | except Exception as exc: | CODE |
| LOW | src/orchestrator.py | 675 | except Exception as e: | CODE |
| LOW | src/orchestrator.py | 1011 | except Exception as exc: | CODE |
| LOW | src/main.py | 95 | except Exception as e: | CODE |
| LOW | src/main.py | 110 | except Exception as e: | CODE |
| LOW | src/processing/tools.py | 35 | except Exception as exc: | CODE |
| LOW | src/setup/ai_recommend.py | 49 | except Exception: | CODE |
| LOW | src/mcp/service.py | 737 | except Exception: | CODE |
| LOW | src/mcp/server.py | 106 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 122 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 306 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 328 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 350 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 372 | except Exception as exc: | CODE |
| LOW | src/mcp/server.py | 394 | 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 | 266 | except Exception as exc: | CODE |
| LOW | src/ai/classifier.py | 76 | except Exception as exc: | CODE |
| LOW | src/ai/client.py | 276 | except Exception as exc: | CODE |
| LOW | src/ai/client.py | 420 | except Exception as exc: | CODE |
| LOW | src/ai/client.py | 611 | except Exception as exc: | CODE |
| LOW | src/ai/analyzer.py | 66 | except Exception as e: | CODE |
| LOW | src/ai/enricher.py | 190 | except Exception as exc: | CODE |
| LOW | src/scrapers/rss.py | 134 | except Exception as e: | CODE |
| LOW | src/scrapers/rss.py | 163 | except Exception: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 140 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 254 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 285 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 316 | except Exception: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 351 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter_playwright.py | 396 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 81 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 121 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 151 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 164 | except Exception as exc: | CODE |
| LOW | src/scrapers/twitter.py | 354 | 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 | 166 | except Exception as exc: | CODE |
| LOW | src/scrapers/reddit.py | 64 | except Exception as e: | CODE |
| LOW | src/scrapers/reddit.py | 71 | except Exception as e: | CODE |
| LOW | src/scrapers/reddit.py | 391 | except Exception: | CODE |
| LOW | src/scrapers/google_news.py | 109 | except Exception as exc: | CODE |
| LOW | src/scrapers/google_news.py | 171 | except Exception as exc: | CODE |
| LOW | src/scrapers/google_news.py | 201 | except Exception: | CODE |
| LOW | src/scrapers/google_news.py | 216 | except Exception: | CODE |
| LOW | src/scrapers/openbb.py | 100 | except Exception as exc: | CODE |
| LOW | src/extractors/trafilatura.py | 49 | except Exception as e: | CODE |
| LOW | src/services/wechat_cli.py | 47 | except Exception: # pragma: no cover - terminal/library dependent | CODE |
| LOW | src/services/wechat_cli.py | 212 | except Exception as exc: | CODE |
| LOW | src/services/webhook.py | 660 | except Exception as e: | CODE |
| LOW | src/services/wechat.py | 389 | except Exception as exc: | CODE |
| LOW | src/services/email.py | 141 | except Exception as e: | CODE |
| LOW | src/services/email.py | 157 | except Exception: | CODE |
| LOW | src/services/email.py | 222 | except Exception as e: | STRING |
| LOW | src/services/email.py | 225 | except Exception as e: | STRING |
| LOW | src/services/email.py | 242 | except Exception as e: | CODE |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/setup/wizard.py | 478 | except FileNotFoundError: | CODE |
| HIGH | src/setup/wizard.py | 208 | except ValueError: | CODE |
| HIGH | src/mcp/service.py | 77 | except ValueError: | CODE |
| HIGH | src/ai/utils.py | 18 | except (json.JSONDecodeError, ValueError): | CODE |
| HIGH | src/ai/utils.py | 26 | except (json.JSONDecodeError, ValueError, IndexError): | CODE |
| HIGH | src/ai/utils.py | 34 | except (json.JSONDecodeError, ValueError, IndexError): | CODE |
| HIGH | src/ai/utils.py | 57 | except (json.JSONDecodeError, ValueError): | CODE |
| HIGH | src/scrapers/reddit.py | 262 | except (TypeError, ValueError): | CODE |
| HIGH | src/scrapers/reddit.py | 272 | except ValueError: | CODE |
| HIGH | src/services/webhook.py | 337 | except json.JSONDecodeError: | CODE |
| 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 | 6 | 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 | 7 | CODE | |
| LOW | tests/test_category_wiring.py | 216 | 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/processing/__init__.py | 3 | CODE | |
| LOW | src/processing/__init__.py | 3 | CODE | |
| LOW | src/processing/profiles.py | 3 | CODE | |
| LOW | src/setup/wizard.py | 4 | 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/tokens.py | 7 | 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 | 227 | CODE | |
| LOW | src/orchestrator.py | 575 | CODE | |
| LOW | src/orchestrator.py | 630 | CODE | |
| LOW | src/orchestrator.py | 853 | CODE | |
| LOW | src/main.py | 38 | CODE | |
| LOW | src/processing/profiles.py | 134 | CODE | |
| LOW | src/setup/presets.py | 137 | CODE | |
| LOW | src/setup/presets.py | 281 | CODE | |
| LOW | src/setup/wizard.py | 154 | CODE | |
| LOW | src/setup/wizard.py | 216 | CODE | |
| LOW | src/mcp/service.py | 41 | CODE | |
| LOW | src/mcp/service.py | 749 | CODE | |
| LOW | src/mcp/horizon_adapter.py | 185 | CODE | |
| LOW | src/ai/client.py | 542 | CODE | |
| LOW | src/ai/enricher.py | 317 | 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 | 139 | CODE | |
| LOW | src/scrapers/twitter_playwright.py | 207 | CODE | |
| LOW | src/scrapers/twitter_playwright.py | 212 | CODE | |
| LOW | src/scrapers/github.py | 115 | CODE | |
| LOW | src/scrapers/reddit.py | 378 | CODE | |
| LOW | src/scrapers/google_news.py | 190 | CODE | |
| LOW | src/services/wechat_cli.py | 52 | CODE | |
| LOW | src/services/webhook.py | 314 | CODE | |
| LOW | src/services/wechat.py | 353 | CODE | |
| LOW | src/services/email.py | 44 | CODE | |
| LOW | src/services/email.py | 162 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/processing/tools.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/processing/__init__.py | 5 | __all__ = ["LoadedProfile", "ProfileRegistry"] | CODE |
| LOW | src/processing/history.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/mcp/__init__.py | 3 | __all__ = ["__version__"] | CODE |
| LOW | src/ai/classifier.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/ai/client.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/ai/analyzer.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/ai/enricher.py | 36 | logger = logging.getLogger(__name__) | 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 | 25 | 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 | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/services/wechat.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/services/email.py | 25 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/setup/wizard.py | 403 | # Step 1: AI configuration | COMMENT |
| LOW⚡ | src/setup/wizard.py | 409 | # Step 2: Interest description | COMMENT |
| LOW⚡ | src/setup/wizard.py | 412 | # Step 3: Preset library matching | COMMENT |
| LOW | src/setup/wizard.py | 437 | # Step 4: AI recommendations (optional) | COMMENT |
| LOW⚡ | src/setup/wizard.py | 460 | # Step 5: Interactive source selection | COMMENT |
| LOW⚡ | src/setup/wizard.py | 466 | # Step 6: Build config | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/setup/wizard.py | 403 | # Step 1: AI configuration | COMMENT |
| LOW⚡ | src/setup/wizard.py | 409 | # Step 2: Interest description | COMMENT |
| LOW⚡ | src/setup/wizard.py | 412 | # Step 3: Preset library matching | COMMENT |
| LOW | src/setup/wizard.py | 437 | # Step 4: AI recommendations (optional) | COMMENT |
| LOW⚡ | src/setup/wizard.py | 460 | # Step 5: Interactive source selection | COMMENT |
| LOW⚡ | src/setup/wizard.py | 466 | # Step 6: Build config | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/main.py | 159 | "max_items": null, | CODE |
| HIGH | src/scrapers/twitter_playwright.py | 89 | "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 | 681 | Factory function to create appropriate AI client. Args: config: AI configuration Returns: AICl | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_email.py | 74 | manager.send_daily_summary("# Hello", "Daily", ["user@example.com"]) | CODE |
| LOW⚡ | tests/test_email.py | 81 | assert smtp.messages[0]["To"] == "user@example.com" | CODE |
| LOW⚡ | tests/test_email.py | 92 | manager.send_daily_summary("# Hello", "Daily", ["user@example.com"]) | CODE |
| LOW⚡ | tests/test_email.py | 133 | "# Hello\n\n<img src=x onerror=alert(1)>", "Daily", ["user@example.com"] | CODE |
| LOW | tests/test_email.py | 162 | manager.send_daily_summary(summary, "Daily", ["user@example.com"]) | STRING |
| LOW | tests/test_email.py | 197 | manager.send_daily_summary(summary, "Daily", ["user@example.com"]) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/ai/client.py | 55 | 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 | 596 | CODE | |
| LOW | src/mcp/server.py | 267 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/setup/wizard.py | 105 | # Check if the key is actually set | STRING |