AI Slop Code RIsk Monitor

calibrain/shelfmark

25.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for calibrain/shelfmark, a Python project with 4,002 GitHub stars. SynthScan examined 193,130 lines of code across 677 source files, recording 4112 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 25.4 (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.

25.4
Adjusted Signal
25.4
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
4.0K
Stars
Python
Language
193.1K
Lines of Code
677
Files
4.1K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 59.0/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 6.1/100 · LOW

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

Agent Over-Engineering Ratio 68.0/100 · HIGH

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

PR Review Velocity Impact 72.1/100 · HIGH

Which changes need focused human review? 4112 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 1HIGH 73MEDIUM 224LOW 3814

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 4112 distinct pattern matches across 17 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 Identifiers3239 hits · 3180 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py33def _clear_torrent_fetch_cache():CODE
LOWtests/audiobookbay/test_scraper_contract.py58def test_info_hash_is_normalized_to_canonical_btih() -> None:STRING
LOW⚡tests/audiobookbay/test_scraper_contract.py71def test_magnet_fallback_when_info_hash_cell_is_junk() -> None:CODE
LOW⚡tests/audiobookbay/test_scraper_contract.py80def test_missing_info_hash_returns_none_not_crash() -> None:CODE
LOW⚡tests/audiobookbay/test_scraper_contract.py89def test_search_layout_drift_degrades_to_empty() -> None:CODE
LOWtests/audiobookbay/test_handler.py93 def test_download_uses_source_url_for_hashed_task_id(CODE
LOWtests/audiobookbay/test_handler.py132 def test_download_rejects_source_url_host_mismatch(CODE
LOWtests/audiobookbay/test_handler.py167 def test_download_allows_configured_source_url_host(CODE
LOWtests/audiobookbay/test_handler.py208 def test_download_existing_complete(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py255 def test_retry_imports_finished_torrent_while_site_is_down(CODE
LOWtests/audiobookbay/test_handler.py325 def test_failed_scrape_caches_no_magnet(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py353 def test_download_existing_in_progress(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py398 def test_download_cancellation(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py424 def test_download_no_magnet_link(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py457 def test_download_no_client_configured(CODE
LOWtests/audiobookbay/test_handler.py488 def test_download_client_add_failure(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py520 def test_download_existing_no_path(self, mock_get_client, mock_extract_magnet):CODE
LOWtests/audiobookbay/test_handler.py567 def test_category_selection_qbittorrent_audiobook(CODE
LOWtests/audiobookbay/test_handler.py611 def test_category_selection_transmission_general(CODE
LOWtests/audiobookbay/test_handler.py655 def test_category_selection_non_audiobook(CODE
LOWtests/audiobookbay/test_handler.py695 def test_cancel_returns_false(self):CODE
LOW⚡tests/audiobookbay/test_utils.py11 def test_curly_apostrophe_becomes_ascii(self):CODE
LOW⚡tests/audiobookbay/test_utils.py15 def test_all_single_quote_variants(self):CODE
LOW⚡tests/audiobookbay/test_utils.py20 def test_all_double_quote_variants(self):CODE
LOW⚡tests/audiobookbay/test_utils.py30 def test_ellipsis_expands_to_three_dots(self):CODE
LOW⚡tests/audiobookbay/test_utils.py34 def test_ascii_query_is_unchanged(self):CODE
LOW⚡tests/audiobookbay/test_utils.py38 def test_ascii_dash_runs_are_not_collapsed(self):CODE
LOW⚡tests/audiobookbay/test_utils.py42 def test_other_punctuation_is_preserved(self):CODE
LOW⚡tests/audiobookbay/test_utils.py62 def test_parse_size_kilobytes(self):CODE
LOW⚡tests/audiobookbay/test_utils.py69 def test_parse_size_megabytes(self):CODE
LOW⚡tests/audiobookbay/test_utils.py76 def test_parse_size_gigabytes(self):CODE
LOW⚡tests/audiobookbay/test_utils.py82 def test_parse_size_terabytes(self):CODE
LOW⚡tests/audiobookbay/test_utils.py87 def test_parse_size_case_insensitive(self):CODE
LOW⚡tests/audiobookbay/test_utils.py98 def test_parse_size_empty_string(self):CODE
LOW⚡tests/audiobookbay/test_utils.py102 def test_parse_size_invalid_format(self):CODE
LOW⚡tests/audiobookbay/test_utils.py108 def test_parse_size_with_whitespace(self):CODE
LOWtests/audiobookbay/test_scraper.py99 def test_search_audiobookbay_success(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py126 def test_search_audiobookbay_pagination(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py145 def test_search_audiobookbay_page_one_uses_root_search_endpoint(CODE
LOWtests/audiobookbay/test_scraper.py165 def test_search_audiobookbay_bootstraps_and_reuses_session(CODE
LOWtests/audiobookbay/test_scraper.py188 def test_search_audiobookbay_empty(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py216 def test_search_audiobookbay_redirect_to_homepage(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py230 def test_search_audiobookbay_request_exception(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py244 def test_search_audiobookbay_relative_link(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py270 def test_search_audiobookbay_protocol_relative_links(self, mock_config_get, mock_html_get):STRING
LOWtests/audiobookbay/test_scraper.py300 def test_search_audiobookbay_exact_phrase_query(self, mock_config_get, mock_html_get):STRING
LOWtests/audiobookbay/test_scraper.py322 def test_search_audiobookbay_normalizes_curly_apostrophe(self, mock_config_get, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py339 def test_search_audiobookbay_percent_encodes_reserved_characters(CODE
LOWtests/audiobookbay/test_scraper.py360 def test_search_audiobookbay_always_uses_legacy_category_query(CODE
LOWtests/audiobookbay/test_scraper.py388 def test_extract_magnet_link_success(self, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py407 def test_extract_magnet_link_reuses_bootstrap_session(self, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py426 def test_extract_magnet_link_fallback(self, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py441 def test_extract_magnet_link_no_info_hash(self, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py463 def test_extract_magnet_link_request_exception(self, mock_html_get):CODE
LOWtests/audiobookbay/test_scraper.py474 def test_extract_magnet_link_cleans_info_hash(self, mock_html_get):CODE
LOW⚡tests/audiobookbay/test_source.py44 def test_map_language_unknown(self):CODE
LOW⚡tests/audiobookbay/test_source.py54 def test_map_language_with_whitespace(self):CODE
LOW⚡tests/audiobookbay/test_source.py63 def test_parse_bitrate_to_kbps(self):CODE
LOW⚡tests/audiobookbay/test_source.py68 def test_parse_bitrate_to_kbps_invalid(self):CODE
LOW⚡tests/audiobookbay/test_source.py78 def test_generate_source_id_consistent(self):CODE
3179 more matches not shown…
Decorative Section Separators203 hits · 754 pts
SeverityFileLineSnippetContext
MEDIUMwireguard.sh250# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh252# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh525# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh528# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh638# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh640# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh848# ---------------------------------------------------------------------------COMMENT
MEDIUMwireguard.sh850# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py31# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py33# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py78# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py80# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py123# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py125# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py152# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py154# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py206# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py208# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py271# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py273# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py313# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py315# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py349# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py351# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py387# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py389# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py470# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_integration_failures.py472# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py172# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py174# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py411# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py413# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py500# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py502# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py574# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py576# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py677# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py679# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py760# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py762# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py895# =============================================================================COMMENT
MEDIUM⚡tests/prowlarr/test_failure_scenarios.py897# =============================================================================COMMENT
MEDIUMtests/prowlarr/test_failure_scenarios.py26# =============================================================================COMMENT
MEDIUMtests/prowlarr/test_failure_scenarios.py28# =============================================================================COMMENT
MEDIUMtests/prowlarr/test_failure_scenarios.py304# =============================================================================COMMENT
MEDIUMtests/prowlarr/test_failure_scenarios.py306# =============================================================================COMMENT
MEDIUM⚡tests/core/test_requests_service.py803# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py805# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py859# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py861# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py908# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py910# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1080# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1082# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1160# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1162# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1533# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1535# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1588# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/core/test_requests_service.py1590# ---------------------------------------------------------------------------COMMENT
143 more matches not shown…
Cross-File Repetition45 hits · 225 pts
SeverityFileLineSnippetContext
HIGHtests/audiobookbay/test_handler.py0records progress and status updates during download.STRING
HIGHtests/prowlarr/test_handler.py0records progress and status updates during download.STRING
HIGHtests/prowlarr/test_failure_scenarios.py0records progress and status updates during download.STRING
HIGHtests/prowlarr/test_integration_handler.py0records progress and status updates during download.STRING
HIGHtests/prowlarr/test_deluge_client.py0create a config.get function that returns values from a dict.STRING
HIGHtests/prowlarr/test_rtorrent_client.py0create a config.get function that returns values from a dict.STRING
HIGHtests/prowlarr/test_transmission_client.py0create a config.get function that returns values from a dict.STRING
HIGHtests/prowlarr/test_client_settings_ssl_verify.py0create a config.get function that returns values from a dict.STRING
HIGHtests/prowlarr/test_qbittorrent_settings.py0create a config.get function that returns values from a dict.STRING
HIGHtests/prowlarr/test_rtorrent_client.py0test is_configured returns true when properly configured.STRING
HIGHtests/prowlarr/test_transmission_client.py0test is_configured returns true when properly configured.STRING
HIGHtests/prowlarr/test_sabnzbd_client.py0test is_configured returns true when properly configured.STRING
HIGHtests/prowlarr/test_qbittorrent_client.py0test is_configured returns true when properly configured.STRING
HIGHtests/prowlarr/test_nzbget_client.py0test is_configured returns true when properly configured.STRING
HIGHtests/prowlarr/test_rtorrent_client.py0test is_configured returns false when different client selected.STRING
HIGHtests/prowlarr/test_transmission_client.py0test is_configured returns false when different client selected.STRING
HIGHtests/prowlarr/test_sabnzbd_client.py0test is_configured returns false when different client selected.STRING
HIGHtests/prowlarr/test_qbittorrent_client.py0test is_configured returns false when different client selected.STRING
HIGHtests/prowlarr/test_nzbget_client.py0test is_configured returns false when different client selected.STRING
HIGHtests/core/test_download_api_guardrails.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_request_routes_api.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_config_api.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_activity_terminal_snapshots.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_auth_api.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_cover_proxy_api.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_activity_routes_api.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_notifications_settings_api.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_api_key_env.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/core/test_releases_api_direct_provider.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/e2e/test_auth_endpoints.py0import `shelfmark.main` with background thread startup disabled.STRING
HIGHtests/download/test_http_challenge_503.py0minimal stand-in for requests.response covering what html_get_page touches.STRING
HIGHtests/download/test_ddg_check_probe_handoff.py0minimal stand-in for requests.response covering what html_get_page touches.STRING
HIGHtests/download/test_http_cookie_challenge.py0minimal stand-in for requests.response covering what html_get_page touches.STRING
HIGHshelfmark/bypass/internal_bypasser.py0return a positive integer config value or the provided default.STRING
HIGHshelfmark/release_sources/audiobookbay/source.py0return a positive integer config value or the provided default.STRING
HIGHshelfmark/release_sources/libgen/source.py0return a positive integer config value or the provided default.STRING
HIGHshelfmark/download/clients/realdebrid.py0return the local directory containing downloaded files.STRING
HIGHshelfmark/download/clients/debridlink.py0return the local directory containing downloaded files.STRING
HIGHshelfmark/download/clients/alldebrid.py0return the local directory containing downloaded files.STRING
HIGHshelfmark/download/clients/rtorrent.py0add torrent by url (magnet or .torrent). args: url: magnet link or .torrent url name: display name for the torrent categSTRING
HIGHshelfmark/download/clients/transmission.py0add torrent by url (magnet or .torrent). args: url: magnet link or .torrent url name: display name for the torrent categSTRING
HIGHshelfmark/download/clients/qbittorrent.py0add torrent by url (magnet or .torrent). args: url: magnet link or .torrent url name: display name for the torrent categSTRING
HIGHshelfmark/download/clients/rtorrent.py0get torrent status by hash. args: download_id: torrent info_hash returns: current download status.STRING
HIGHshelfmark/download/clients/transmission.py0get torrent status by hash. args: download_id: torrent info_hash returns: current download status.STRING
HIGHshelfmark/download/clients/qbittorrent.py0get torrent status by hash. args: download_id: torrent info_hash returns: current download status.STRING
Unused Imports197 hits · 181 pts
SeverityFileLineSnippetContext
LOWtests/audiobookbay/test_scraper_contract.py15CODE
LOWtests/prowlarr/test_blackhole_client.py3CODE
LOWtests/core/test_download_api_guardrails.py3CODE
LOWtests/core/test_library_provider_calibre.py3CODE
LOWtests/core/test_stats.py3CODE
LOWtests/core/test_release_search.py3CODE
LOWtests/core/test_request_routes_api.py3CODE
LOWtests/core/test_viewer_redaction.py3CODE
LOWtests/core/test_config_api.py3CODE
LOWtests/core/test_activity_terminal_snapshots.py3CODE
LOWtests/core/test_metadata_search_library.py3CODE
LOWtests/core/test_auth_api.py3CODE
LOWtests/core/test_config_user_overrides.py3CODE
LOWtests/core/test_config_user_overrides.py12CODE
LOWtests/core/test_config_user_overrides.py87CODE
LOWtests/core/test_config_user_overrides.py150CODE
LOWtests/core/test_onboarding.py1CODE
LOWtests/core/test_download_history_service.py3CODE
LOWtests/core/test_builtin_admin_sync.py3CODE
LOWtests/core/test_library_index.py3CODE
LOWtests/core/test_cover_proxy_api.py3CODE
LOWtests/core/test_activity_routes_api.py3CODE
LOWtests/core/test_releases_api_budget.py10CODE
LOWtests/core/test_release_inspect_routes.py3CODE
LOWtests/core/test_notifications_settings_api.py3CODE
LOWtests/core/test_api_key_env.py3CODE
LOWtests/core/test_activity_view_state_service.py3CODE
LOWtests/core/test_startup_reconcile.py7CODE
LOWtests/core/test_releases_api_direct_provider.py3CODE
LOWtests/config/test_mirror_settings_migration.py5CODE
LOWtests/config/test_mirror_settings_migration.py117CODE
LOWtests/config/test_tor_script_rules.py1CODE
LOWtests/config/test_dns_settings_live_apply.py2CODE
LOWtests/config/test_users_settings.py3CODE
LOWtests/config/test_docker_volumes.py3CODE
LOWtests/config/test_mirror_settings_live_apply.py3CODE
LOWtests/config/test_mirror_settings_live_apply.py32CODE
LOWtests/config/test_download_settings.py186CODE
LOWtests/config/test_download_settings.py346CODE
LOWtests/config/test_entrypoint_permissions.py1CODE
LOWtests/config/test_environment.py373CODE
LOWtests/config/test_environment.py390CODE
LOWtests/config/test_environment.py406CODE
LOWtests/download/test_ssl_verify.py315CODE
LOWtests/download/test_ssl_verify.py341CODE
LOWtests/download/test_ssl_verify.py276CODE
LOWtests/download/test_orchestrator_lifecycle.py1CODE
LOWtests/download/test_orchestrator_retry.py1CODE
LOWtests/download/test_archive_extraction.py1CODE
LOWtests/download/test_torrent_queue_stall.py3CODE
LOWtests/download/test_postprocess_scan_archives.py1CODE
LOWtests/download/test_fs_delete_denied.py8CODE
LOWtests/download/test_torrent_removal.py3CODE
LOWtests/download/test_postprocess_scan_blocking_io.py1CODE
LOWtests/download/test_doh_resolver_mock.py11CODE
LOWtests/download/test_fs_run_blocking_io.py1CODE
LOWtests/download/test_webseed_torrent_generator.py10CODE
LOWtests/e2e/test_proxy_auth_middleware.py3CODE
LOWtests/e2e/test_auth_endpoints.py7CODE
LOWtests/e2e/platform/suite/test_cluster_clients.py14CODE
137 more matches not shown…
Excessive Try-Catch Wrapping131 hits · 138 pts
SeverityFileLineSnippetContext
LOW⚡tests/prowlarr/test_integration_failures.py91 except Exception:CODE
LOW⚡tests/prowlarr/test_integration_failures.py104 except Exception:CODE
LOW⚡tests/prowlarr/test_integration_failures.py118 except Exception:CODE
LOW⚡tests/prowlarr/test_integration_failures.py264 except Exception:CODE
LOWtests/prowlarr/test_integration_failures.py240 except Exception as e:CODE
LOW⚡tests/prowlarr/test_integration_clients.py190 except Exception:CODE
LOW⚡tests/prowlarr/test_integration_clients.py207 except Exception:CODE
LOW⚡tests/prowlarr/test_integration_clients.py221 except Exception:CODE
LOWtests/prowlarr/test_integration_clients.py236 except Exception:CODE
LOWtests/prowlarr/test_integration_clients.py252 except Exception:CODE
LOWtests/prowlarr/test_integration_clients.py267 except Exception:CODE
LOWtests/prowlarr/test_integration_handler.py49 except Exception:CODE
LOWtests/prowlarr/test_cache.py112 except Exception as e:CODE
MEDIUMtests/prowlarr/test_cache.py105def cache_operations():CODE
MEDIUMdocs/dev/release-sources-plugin-guide.md325def download(self, task, cancel_flag, progress_callback, status_callback):CODE
MEDIUMdocs/dev/release-sources-plugin-guide.md868def download(self, task, cancel_flag, progress_callback, status_callback):CODE
LOW⚡docs/dev/release-sources-plugin-guide.md1053 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md226 except Exception:CODE
LOWdocs/dev/release-sources-plugin-guide.md366 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md625 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md858 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md873 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md1100 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md1285 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md1289 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md1363 except Exception:CODE
LOWdocs/dev/release-sources-plugin-guide.md1370 except Exception as e:CODE
LOWdocs/dev/release-sources-plugin-guide.md1423except Exception:CODE
LOWdocs/dev/plugin-settings.md175 except Exception as e:CODE
LOWdocs/dev/plugin-settings.md368 except Exception as e:CODE
LOWdocs/dev/plugin-settings.md477 except Exception as e:CODE
LOWscripts/bypasser_permission_lab.sh102 except Exception as e:CODE
LOWscripts/bypasser_permission_lab.sh113 except Exception as e:CODE
LOWscripts/generate_env_docs.py100 except Exception:CODE
LOWscripts/test_clients.py137 except Exception as e:CODE
LOWscripts/test_clients.py164 except Exception as e:CODE
LOWscripts/test_clients.py202 except Exception as e:CODE
LOWscripts/test_clients.py266 except Exception as e:CODE
LOWscripts/test_clients.py324 except Exception as e:CODE
LOWscripts/test_clients.py426 except Exception as e:CODE
LOWscripts/test_clients.py518 except Exception as e:CODE
MEDIUM⚡skills/shelfmark/download_books.py254 print(f"Error: Invalid JSON in {source}: {e}")STRING
MEDIUM⚡skills/shelfmark/download_books.py258 print(f"Error: JSON in {source} must be an array of book objects")STRING
MEDIUM⚡skills/shelfmark/download_books.py265 print(f"Error: Each book object must have 'title' and 'author' keys: {item}")STRING
MEDIUM⚡skills/shelfmark/download_books.py292 print(f"Error: File not found: {args.file}")STRING
MEDIUM⚡skills/shelfmark/download_books.py295 print(f"Error reading file: {e}")STRING
MEDIUM⚡skills/shelfmark/download_books.py302 print("Error: No books specified. Use positional JSON args or --file <path>")STRING
LOWshelfmark/core/admin_routes.py457 except Exception:CODE
LOWshelfmark/core/onboarding.py64 except Exception:CODE
LOWshelfmark/core/onboarding.py739 except Exception as e:CODE
LOWshelfmark/core/oidc_routes.py247 except Exception:CODE
LOWshelfmark/core/oidc_routes.py313 except Exception:CODE
LOWshelfmark/core/oidc_routes.py367 except Exception:CODE
LOWshelfmark/core/library_index.py78 except Exception as exc: # noqa: BLE001 - any failure must fail openCODE
LOWshelfmark/core/library_index.py189 except Exception as exc: # noqa: BLE001 - surface any error to the userCODE
LOWshelfmark/core/requests_service.py593 except Exception:CODE
LOW⚡shelfmark/core/settings_registry.py1183 except Exception as e:CODE
LOWshelfmark/core/settings_registry.py451 except Exception:CODE
LOWshelfmark/core/settings_registry.py510 except Exception:CODE
LOWshelfmark/core/settings_registry.py516 except Exception:CODE
71 more matches not shown…
Deep Nesting114 hits · 86 pts
SeverityFileLineSnippetContext
LOWtests/prowlarr/test_integration_clients.py174CODE
LOWtests/core/test_download_api_guardrails.py663CODE
LOWtests/core/test_request_routes_api.py70CODE
LOWtests/core/test_request_routes_api.py133CODE
LOWtests/core/test_request_routes_api.py164CODE
LOWtests/core/test_request_routes_api.py194CODE
LOWtests/core/test_request_routes_api.py250CODE
LOWtests/core/test_request_routes_api.py322CODE
LOWtests/core/test_request_routes_api.py389CODE
LOWtests/core/test_request_routes_api.py436CODE
LOWtests/core/test_request_routes_api.py481CODE
LOWtests/core/test_request_routes_api.py549CODE
LOWtests/core/test_request_routes_api.py826CODE
LOWtests/core/test_request_routes_api.py870CODE
LOWtests/core/test_request_routes_api.py915CODE
LOWtests/core/test_request_routes_api.py958CODE
LOWtests/core/test_request_routes_api.py1311CODE
LOWtests/core/test_request_routes_api.py1366CODE
LOWtests/core/test_request_routes_api.py1422CODE
LOWtests/core/test_request_routes_api.py1485CODE
LOWtests/core/test_request_routes_api.py1548CODE
LOWtests/core/test_request_routes_api.py1653CODE
LOWtests/core/test_request_routes_api.py1704CODE
LOWtests/core/test_request_routes_api.py1772CODE
LOWtests/core/test_request_routes_api.py2010CODE
LOWtests/core/test_request_routes_api.py2605CODE
LOWtests/core/test_request_routes_api.py2657CODE
LOWtests/core/test_request_routes_api.py2800CODE
LOWtests/core/test_request_routes_api.py2856CODE
LOWtests/core/test_request_routes_api.py3011CODE
LOWtests/core/test_request_routes_api.py3042CODE
LOWtests/core/test_request_routes_api.py3070CODE
LOWtests/core/test_request_routes_api.py3098CODE
LOWtests/core/test_request_routes_api.py3129CODE
LOWtests/core/test_request_routes_api.py3157CODE
LOWtests/core/test_request_routes_api.py3205CODE
LOWtests/core/test_processing_integration.py1013CODE
LOWtests/config/test_security.py43CODE
LOWtests/config/test_security.py83CODE
LOWtests/config/test_security.py121CODE
LOWtests/config/test_security.py142CODE
LOWtests/config/test_security.py176CODE
LOWtests/config/test_security.py210CODE
LOWtests/config/test_security.py234CODE
LOWtests/config/test_security.py282CODE
LOWtests/e2e/test_download_flow.py103CODE
LOWtests/e2e/test_auth_flow.py88CODE
LOWtests/e2e/test_prowlarr_flow.py170CODE
LOWtests/e2e/platform/suite/conftest.py92CODE
LOWscripts/test_clients.py142CODE
LOWscripts/test_clients.py329CODE
LOWskills/shelfmark/download_books.py28CODE
LOWskills/shelfmark/download_books.py129CODE
LOWskills/shelfmark/download_books.py249CODE
LOWshelfmark/core/queue.py95CODE
LOWshelfmark/core/queue.py200CODE
LOWshelfmark/core/queue.py275CODE
LOWshelfmark/core/queue.py346CODE
LOWshelfmark/core/admin_settings_routes.py39CODE
LOWshelfmark/core/admin_settings_routes.py154CODE
54 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHtests/prowlarr/test_integration_failures.py104except Exception:CODE
HIGHtests/prowlarr/test_integration_failures.py118except Exception:CODE
HIGHtests/prowlarr/test_integration_failures.py264except Exception:CODE
HIGHtests/prowlarr/test_integration_clients.py221except Exception:CODE
HIGHtests/prowlarr/test_integration_clients.py236except Exception:CODE
HIGHtests/prowlarr/test_integration_clients.py267except Exception:CODE
HIGHtests/config/test_tor_script_rules.py210except subprocess.TimeoutExpired:CODE
HIGHtests/download/test_orchestrator_lifecycle.py195except _StopCoordinator:CODE
HIGHtests/e2e/platform/suite/conftest.py59except requests.RequestException:CODE
HIGHskills/shelfmark/download_books.py101except:CODE
HIGHshelfmark/core/settings_registry.py1202except ImportError:CODE
HIGHshelfmark/core/settings_registry.py1226except ImportError:CODE
HIGHshelfmark/core/settings_registry.py1243except ImportError:CODE
HIGHshelfmark/download/fs.py478except OSError:CODE
HIGHshelfmark/download/network.py117except ValueError:CODE
Docstring Block Structure13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHshelfmark/download/fs.py233Write data to a file with atomic collision detection. If the destination already exists, retries with counter suffiSTRING
HIGHshelfmark/download/fs.py508Move a file with collision detection. Uses os.rename() for same-filesystem moves (atomic, triggers inotify events),STRING
HIGHshelfmark/download/fs.py682Create a hardlink with atomic collision detection. Args: source_path: Source file to link from destSTRING
HIGHshelfmark/download/fs.py734Copy a file with atomic collision detection. Uses a temp file in the destination directory and publishes it via renSTRING
HIGHshelfmark/download/clients/nzbget.py74Make a JSON-RPC call to NZBGet. Args: method: RPC method name params: Method parametersSTRING
HIGHshelfmark/download/clients/nzbget.py137Add NZB by URL. Fetches the NZB content from the URL (e.g., Prowlarr proxy) and sends it base64-encodedSTRING
HIGHshelfmark/download/clients/__init__.py288Add a download to the client. Args: url: Download URL (magnet link, .torrent URL, or NZB URL) STRING
HIGHshelfmark/download/clients/rtorrent.py154Add torrent by URL (magnet or .torrent). Args: url: Magnet link or .torrent URL name: DSTRING
HIGHshelfmark/download/clients/sabnzbd.py194Make an API call to SABnzbd. Args: mode: API mode (e.g., "version", "addurl", "queue", "history") STRING
HIGHshelfmark/download/clients/sabnzbd.py405Add NZB by URL. Args: url: NZB URL (can be Prowlarr proxy URL) name: Display name for tSTRING
HIGHshelfmark/download/clients/transmission.py217Add torrent by URL (magnet or .torrent). Args: url: Magnet link or .torrent URL name: DSTRING
HIGHshelfmark/download/clients/qbittorrent.py456Add torrent by URL (magnet or .torrent). Args: url: Magnet link or .torrent URL name: DSTRING
HIGH…fmark/release_sources/direct_download/annas_archive.py711Search for books matching the query. Args: query: Search term (ISBN, title, author, etc.) filters: STRING
Fake / Example Data46 hits · 52 pts
SeverityFileLineSnippetContext
LOW⚡tests/core/test_requests_service.py1628 "author": "Jane Doe",CODE
LOWtests/core/test_requests_service.py43 "author": "Jane Doe",CODE
LOWtests/core/test_requests_service.py198 "author": "Jane Doe",CODE
LOWtests/core/test_requests_service.py842 "author": "Jane Doe",CODE
LOW⚡tests/core/test_oidc_auth.py76 id_token = {"email": "user@example.com"}CODE
LOW⚡tests/core/test_oidc_auth.py128 "name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py134 assert info["display_name"] == "John Doe"CODE
LOW⚡tests/core/test_oidc_auth.py143 "name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py177 "display_name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py192 "display_name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py204 "display_name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py217 "display_name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py235 "display_name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py251 "display_name": "John Doe",CODE
LOW⚡tests/core/test_oidc_auth.py272 "display_name": "John Doe",CODE
LOW⚡tests/core/test_user_db.py507 display_name="John Doe",CODE
LOW⚡tests/core/test_user_db.py512 assert user["display_name"] == "John Doe"CODE
LOW⚡tests/core/test_cwa_user_sync.py23 email="admin@example.com",CODE
LOW⚡tests/core/test_cwa_user_sync.py31 cwa_email="admin@example.com",CODE
LOW⚡tests/core/test_oidc_routes.py253 "name": "John Doe",CODE
LOWtests/core/test_oidc_routes.py278 "name": "John Doe",CODE
LOWtests/core/test_oidc_routes.py303 "name": "John Doe",CODE
LOWtests/core/test_oidc_routes.py332 "email": "admin@example.com",CODE
LOWtests/config/test_download_settings.py217 assert bound_fields[0]["placeholder"] == "{Author}/{Series/}{Title} ({Year})"CODE
LOWshelfmark/core/settings_registry.py1037 result["placeholder"] = field.placeholderCODE
LOWshelfmark/core/settings_registry.py1041 result["placeholder"] = field.placeholderCODE
LOWshelfmark/core/settings_registry.py1060 result["placeholder"] = field.placeholderCODE
LOWshelfmark/config/notifications_settings.py291 "placeholder": "Select events...",CODE
LOWshelfmark/config/notifications_settings.py297 "placeholder": "e.g. ntfys://ntfy.sh/shelfmark",CODE
LOWshelfmark/config/notifications_settings.py326 "placeholder": "Select events...",CODE
LOWshelfmark/config/notifications_settings.py332 "placeholder": "e.g. ntfys://ntfy.sh/username-topic",CODE
LOWshelfmark/config/security.py210 "placeholder": "https://auth.example.com/.well-known/openid-configuration",CODE
LOWshelfmark/config/security.py220 "placeholder": "shelfmark",CODE
LOWshelfmark/config/security.py248 "placeholder": "groups",CODE
LOWshelfmark/config/security.py258 "placeholder": "shelfmark-admins",CODE
LOWshelfmark/config/security.py286 "placeholder": "Sign in with OIDC",CODE
LOW⚡shelfmark/config/users_settings.py171 "placeholder": "Select source...",CODE
LOW⚡shelfmark/config/users_settings.py179 "placeholder": "Select content type...",CODE
LOW⚡shelfmark/config/users_settings.py188 "placeholder": "Select mode...",CODE
LOWshelfmark/config/settings.py1323 placeholder="user@example.com",CODE
LOWshelfmark/metadata_providers/__init__.py141 "placeholder": getattr(search_field, "placeholder", ""),CODE
LOW⚡shelfmark/release_sources/newznab/settings.py104 "placeholder": "NZBGeek",CODE
LOW⚡shelfmark/release_sources/newznab/settings.py110 "placeholder": "https://api.nzbgeek.info",CODE
LOW⚡shelfmark/release_sources/newznab/settings.py116 "placeholder": "Optional",CODE
LOWsrc/frontend/src/components/settings/users/UserCard.tsx369 const emailField = createTextField('email', 'Email', form.email, 'user@example.com');CODE
LOWsrc/frontend/src/components/settings/users/UserCard.tsx482 const emailField = createTextField('email', 'Email', user.email || '', 'user@example.com');CODE
Redundant / Tautological Comments32 hits · 49 pts
SeverityFileLineSnippetContext
LOWtor.sh31# Check if EXT_BYPASSER_URL is definedCOMMENT
LOWtor.sh279# Check if outgoing IP is using TorCOMMENT
LOWgenDebug.sh65# Check if IPv6 is enabledCOMMENT
LOWgenDebug.sh126# Check if running in DockerCOMMENT
LOWtests/e2e/test_download_flow.py346 # Check if it erroredCOMMENT
LOWskills/shelfmark/download_books.py90 # Check if any matching book is already in the download queueCOMMENT
LOWskills/shelfmark/download_books.py96 # Check if the current download matches our searchCOMMENT
LOWshelfmark/main.py973 # Check if user has a valid sessionCOMMENT
LOWshelfmark/main.py1888 # Check if caching is enabledCOMMENT
LOWshelfmark/main.py2319 # Check if account is locked due to failed login attemptsCOMMENT
LOWshelfmark/main.py2408 # Check if user exists and password is correctCOMMENT
LOWshelfmark/main.py2412 # Check if user has admin role (ROLE_ADMIN = 1, bit flag)COMMENT
LOWshelfmark/main.py2509 # Check if user has a valid sessionCOMMENT
LOWshelfmark/core/queue.py104 # Check if task was cancelled while in queueCOMMENT
LOWshelfmark/core/admin_routes.py242 # Check if username already existsCOMMENT
LOWshelfmark/core/cache.py148 # Check if metadata caching is enabledCOMMENT
LOWshelfmark/core/utils.py268 # Check if content-type routing is enabled (new or legacy setting)COMMENT
LOWshelfmark/core/utils.py321 # Check if cover caching is enabledCOMMENT
LOW⚡shelfmark/core/settings_registry.py1178 # Check if callback accepts current_values parameterCOMMENT
LOWshelfmark/core/settings_registry.py473 # Check if config directory exists and is writableCOMMENT
LOWshelfmark/download/network.py674 # Check if hostname is already an IP address, no need to resolveCOMMENT
LOWshelfmark/download/network.py679 # Check if hostname is a private IP address, and skip DoH if it isCOMMENT
LOWshelfmark/download/network.py1333 # Check if it looks like IP addressesCOMMENT
LOWshelfmark/download/clients/torrent_utils.py304 # Check if response is actually a magnet link (text response)COMMENT
LOWshelfmark/download/clients/base_handler.py839 # Check if this download already exists in the clientCOMMENT
LOWshelfmark/metadata_providers/__init__.py554 # Check if the provider is enabledCOMMENT
LOWshelfmark/release_sources/audiobookbay/scraper.py238 # Check if we were redirected to the homepage (search was rejected/blocked)COMMENT
LOW…fmark/release_sources/direct_download/annas_archive.py1554 # Check if we've hit the failure thresholdCOMMENT
LOWshelfmark/release_sources/irc/client.py297 # Check if user has an elevated prefixCOMMENT
LOWshelfmark/release_sources/irc/client.py325 # Check if we have a complete line in bufferCOMMENT
LOWshelfmark/release_sources/irc/connection_manager.py133 # Check if we need to join a different channelCOMMENT
LOWshelfmark/release_sources/irc/connection_manager.py142 # Check if another thread is already connectingCOMMENT
Modern Structural Boilerplate30 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/core/test_request_routes_api.py29def _set_session(client, *, user_id: str, db_user_id: int | None, is_admin: bool) -> None:CODE
LOWtests/core/test_config_api.py27def _set_session(client, *, user_id: str, db_user_id: int, is_admin: bool) -> None:CODE
LOWtests/core/test_queue.py71 def update_status_yielding_to_the_worker(task_id: str, status: QueueStatus) -> None:CODE
LOWtests/core/test_activity_routes_api.py33def _set_session(client, *, user_id: str, db_user_id: int | None, is_admin: bool) -> None:CODE
LOWtests/core/test_notifications_settings_api.py32def _set_session(client, *, user_id: str, db_user_id: int, is_admin: bool) -> None:CODE
LOWtests/config/test_security.py18def _set_config_dir(monkeypatch, config_dir: Path) -> None:CODE
LOWshelfmark/core/queue.py127 def _update_status(self, book_id: str, status: QueueStatus) -> None:CODE
LOW⚡shelfmark/core/queue.py174 def update_status(self, book_id: str, status: QueueStatus) -> None:CODE
LOW⚡shelfmark/core/queue.py182 def update_download_path(self, task_id: str, download_path: str) -> None:CODE
LOW⚡shelfmark/core/queue.py188 def update_progress(self, task_id: str, progress: float) -> None:CODE
LOW⚡shelfmark/core/queue.py194 def update_status_message(self, task_id: str, message: str) -> None:CODE
LOWshelfmark/core/admin_routes.py52__all__ = [CODE
LOWshelfmark/core/__init__.py7__all__ = [CODE
LOWshelfmark/core/user_db.py380 def update_user(self, user_id: int, **kwargs: object) -> None:CODE
LOWshelfmark/core/user_db.py487 def set_user_settings(self, user_id: int, settings: dict[str, Any]) -> None:CODE
LOWshelfmark/download/orchestrator.py872def update_download_progress(book_id: str, progress: float) -> None:CODE
LOWshelfmark/download/orchestrator.py918def update_download_status(book_id: str, status: str, message: str | None = None) -> None:CODE
LOWshelfmark/download/orchestrator.py1064def set_activity_grace(book_id: str, seconds: float) -> None:CODE
LOWshelfmark/download/network.py251def _set_runtime_dns_state(servers: list[str], doh_server: str) -> None:CODE
LOWshelfmark/download/network.py658 def _set_cached(self, hostname: str, record_type: str, ips: list[str]) -> None:CODE
LOWshelfmark/download/clients/torbox.py614 def _set_error(state: _DownloadState, message: str) -> None:CODE
LOW⚡shelfmark/download/clients/transmission.py85def _set_transmission_protocol_if_supported(client: object, protocol: str) -> None:CODE
LOW⚡shelfmark/download/clients/settings.py95def _set_transmission_protocol_if_supported(client: object, protocol: str) -> None:CODE
LOWshelfmark/download/postprocess/__init__.py13__all__ = ["post_process_download"]CODE
LOWshelfmark/download/postprocess/pipeline.py58__all__ = [CODE
LOWshelfmark/api/websocket.py18logger = logging.getLogger(__name__)CODE
LOW⚡shelfmark/api/websocket.py66 def set_queue_status_fn(self, fn: Callable) -> None:CODE
LOW⚡shelfmark/api/websocket.py80 def _set_sid_room_locked(self, sid: str, room: str | None) -> None:CODE
LOWshelfmark/release_sources/prowlarr/handler.py66__all__ = [CODE
LOWshelfmark/release_sources/direct_download/__init__.py11__all__ = [CODE
Self-Referential Comments10 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMgenDebug.sh190# Create the zip file directly from LOG_DIRCOMMENT
MEDIUMtests/conftest.py20# Create the directories that will be usedCOMMENT
MEDIUMtests/conftest.py90 # Create a mock config moduleCOMMENT
MEDIUMtests/prowlarr/test_handler.py902 # Create a test fileCOMMENT
MEDIUMtests/prowlarr/test_bencode.py166 # Create a minimal valid v1 torrent structure (has 'pieces' key)COMMENT
MEDIUMtests/prowlarr/test_remote_path_mappings.py401 # Create a local file that represents the mounted pathCOMMENT
MEDIUMtests/prowlarr/test_remote_path_mappings.py481 # Create a local file that represents the mounted pathCOMMENT
MEDIUM⚡tests/core/test_oidc_auth.py265 # Create a local user with the same usernameCOMMENT
MEDIUM⚡tests/core/test_naming.py625 # Create the directory structureCOMMENT
MEDIUMshelfmark/download/orchestrator.py304 # Create a source-agnostic download task from release dataCOMMENT
Over-Commented Block31 hits · 28 pts
SeverityFileLineSnippetContext
LOWdocker-compose.test-clients.yml1# Test stack for download client developmentCOMMENT
LOWwireguard.sh1#!/bin/bashCOMMENT
LOWwireguard.sh21# lookups use a defined resolver instead of the container'sCOMMENT
LOWwireguard.sh41# loopback, the tunnel device and the LAN allowlist. Set trueCOMMENT
LOWwireguard.sh221 PATH="${SYSCTL_SHIM_DIR}:${PATH}" wg-quick "$@"COMMENT
LOWwireguard.sh241COMMENT
LOWwireguard.sh261# the config file: after wg-quick is up these are always concrete resolvedCOMMENT
LOWwireguard.sh301 fiCOMMENT
LOWwireguard.sh321# re-runnable after a bounce.COMMENT
LOWwireguard.sh421# closed at all times: during the (app-traffic-free) build window, and if anyCOMMENT
LOWwireguard.sh521 ip6tables -A OUTPUT -j DROPCOMMENT
LOWwireguard.sh541 DNS_TO_USE="$(echo "$DNS_TO_USE" | tr ',' ' ' | xargs || true)"COMMENT
LOWwireguard.sh581 echo "[*] Enforcing resolver(s): $DNS_TO_USE"COMMENT
LOWwireguard.sh701COMMENT
LOWwireguard.sh721#COMMENT
LOWcompose/docker-compose.wireguard.yml1# Routes all traffic through a WireGuard tunnel - requires root startup.COMMENT
LOWtests/e2e/platform/docker-compose.e2e.yml1# Shelfmark e2e Docker testing platformCOMMENT
LOW.github/dependabot.yml61 # pre-release heuristic to catch PEP 440 tags like 3.15.0a2 / 3.5.0b3, butCOMMENT
LOWshelfmark/main.py3201COMMENT
LOWshelfmark/core/utils.py121# searchable AND downloadable at once. These used to be four hand-maintained copies thatCOMMENT
LOWshelfmark/config/env.py201COMMENT
LOWshelfmark/config/env.py221# Deliberately env-only and off by default: this is a knob for reproducing the questionCOMMENT
LOWshelfmark/bypass/internal_bypasser.py61_BYPASS_EMOJI_MATCH_MIN = 3COMMENT
LOWshelfmark/bypass/internal_bypasser.py641# works, so a separate method ahead of it could only ever repeat the half that hadCOMMENT
LOWshelfmark/bypass/cookie_store.py41# Anna's Archive's own pass for its ?check=1 hop. Without it the hop 302s backCOMMENT
LOWshelfmark/download/http.py561 proxies=get_proxies(current_url),COMMENT
LOWshelfmark/download/http.py701 if issued:COMMENT
LOWshelfmark/download/http.py781 # Before switching to bypasser, check if cookies have become availableCOMMENT
LOWshelfmark/download/network.py281COMMENT
LOW…fmark/release_sources/direct_download/annas_archive.py661 # has nothing of AA's about it. A genuine interstitial has no AA markers.COMMENT
LOWsrc/frontend/src/services/api.ts161COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/prowlarr/test_rtorrent_client.py38 client._rpc.d.custom1.set.assert_called_once_with("ABC123", "imported")CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMshelfmark/release_sources/irc/parser.py45# This comprehensive list is used to identify file extensions in results.COMMENT
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/prowlarr/test_qbittorrent_client.py20CODE
LOWtests/core/test_activity_routes_api.py48CODE
LOWshelfmark/core/external_user_linking.py230CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdocker-compose.test-clients.yml4# Usage:COMMENT