match command-line arguments to their help text
This report summarizes scanner evidence for idank/explainshell, a Python project with 14,280 GitHub stars. SynthScan examined 62,160 lines of code across 144 source files, recording 705 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 15.6 (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? 39 finding(s).
Are wrappers, guards, and repeated structures necessary? 605 finding(s).
Which changes need focused human review? 705 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 705 distinct pattern matches across 13 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_web_views.py | 87 | def test_explain_cmd_no_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 92 | def test_command_substitution_escapes_nested_command(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 101 | def test_command_substitution_escapes_explain_prefix(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 107 | def test_unknown_release_with_cmd_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 115 | def test_unknown_release_with_program_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 120 | def test_unknown_release_with_section_and_program_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 125 | def test_unknown_release_without_cmd_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 131 | def test_explain_no_cmd_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 136 | def test_explain_empty_cmd_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 140 | def test_explain_program_no_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 145 | def test_explain_section_program_no_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 150 | def test_explain_program_links_to_raw_source_in_debug(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 157 | def test_explain_program_omits_raw_source_link_outside_debug(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 166 | def test_explain_cmd_with_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 171 | def test_explain_program_with_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 176 | def test_explain_section_program_with_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 188 | def test_explain_prefix_with_distro_in_form(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 192 | def test_explain_prefix_without_distro_in_form(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 197 | def test_explain_prefix_in_command_links(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 202 | def test_explain_prefix_without_distro_in_command_links(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 207 | def test_default_distro_prefers_ubuntu(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 243 | def test_distro_only_no_cmd_redirects(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 247 | def test_suggestion_links_use_distro_prefix(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 252 | def test_suggestion_links_no_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 339 | def test_url_distro_no_fallback(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 347 | def test_all_distros_miss_still_raises(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 355 | def test_pipeline_anchors_to_fallback_distro(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 419 | def test_manpage_view_sets_etag_and_cache_control(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 427 | def test_cmd_view_sets_etag_and_cache_control(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 434 | def test_browser_lifetime_is_shorter_than_cdn(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 497 | def test_etag_flips_on_db_rebuild(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 503 | def test_etag_flips_on_code_deploy(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 509 | def test_cmd_unknown_program_is_not_cached(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 519 | def test_missing_manpage_is_not_cached(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 573 | def test_manpage_displays_source_text(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 583 | def test_manpage_roff_rendered_as_pre(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 587 | def test_manpage_markdown_rendered_as_html(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 596 | def test_manpage_mismatched_dir_file_section(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 601 | def test_manpage_filename_with_spaces(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 606 | def test_manpage_filename_with_plus(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 634 | def test_list_filtered_by_section(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 639 | def test_list_empty_for_unknown_section(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 645 | def test_list_links_point_to_manpage_view(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 649 | def test_list_links_url_encode_special_chars(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 721 | def test_bare_angle_brackets_escaped(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 726 | def test_already_escaped_entities(self): | CODE |
| LOW⚡ | tests/test_web_views.py | 732 | def test_blockquotes_preserved(self): | CODE |
| LOW | tests/test_web_views.py | 35 | def test_get_store_uses_per_request_store_in_debug(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_web_views.py | 56 | def test_get_store_uses_app_scoped_cache_when_debug_disabled(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_web_views.py | 282 | def _store_with_ubuntu_and_arch(self) -> Store: | CODE |
| LOW | tests/test_web_views.py | 328 | def test_default_distro_falls_back(self): | CODE |
| LOW | tests/test_web_views.py | 366 | def test_program_default_falls_back(self): | CODE |
| LOW | tests/test_web_views.py | 375 | def test_program_url_distro_no_fallback(self): | CODE |
| LOW | tests/test_web_views.py | 451 | def test_if_none_match_skips_rendering(self): | CODE |
| LOW | tests/test_web_views.py | 467 | def test_if_none_match_skips_rendering_for_program(self): | CODE |
| LOW | tests/test_web_views.py | 477 | def test_stale_etag_still_renders(self): | CODE |
| LOW | tests/test_web_views.py | 544 | def test_program_view_has_no_cache_headers(self): | CODE |
| LOW | tests/test_web_views.py | 550 | def test_cmd_view_has_no_cache_headers(self): | CODE |
| LOW | tests/test_web_views.py | 619 | def test_release_index_unknown_distro(self): | CODE |
| LOW | tests/test_web_views.py | 690 | def test_explain_program_returns_str_options(self): | CODE |
| 390 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/bench_src_index.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/bench_src_index.py | 31 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/fetch_manned.py | 253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/fetch_manned.py | 255 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 524 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 526 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 1211 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 1213 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 1774 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 1776 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 1828 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_manager.py | 1830 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 97 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 99 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 280 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 282 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 863 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 865 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 1683 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 1685 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2048 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2050 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2164 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2166 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2193 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2195 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2440 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2442 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2493 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2495 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2628 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_manager.py | 2630 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 95 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 97 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 271 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 273 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 344 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 346 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 388 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 390 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 404 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 406 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 473 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_response.py | 475 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/extraction/llm/test_response.py | 176 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/extraction/llm/test_response.py | 178 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_text.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_text.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_text.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_text.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_text.py | 320 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/extraction/llm/test_text.py | 322 | # --------------------------------------------------------------------------- | COMMENT |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/evals/render/render_eval.py | 785 | const card = id && document.getElementById(id); | CODE |
| HIGH⚡ | tests/evals/render/render_eval.py | 791 | if (updateHash && location.hash.slice(1) !== id) {{ | CODE |
| HIGH⚡ | tests/evals/render/render_eval.py | 792 | history.replaceState(null, "", "#" + id); | CODE |
| HIGH⚡ | tests/extraction/llm/test_codex_provider.py | 108 | jsonl = '{"type":"turn.completed","usage":null}\n' | CODE |
| HIGH | explainshell/extraction/llm/prompt.py | 28 | "positional": null, // name string for positional operands with no flags (e.g. | CODE |
| HIGH | explainshell/extraction/llm/prompt.py | 31 | "prefix": null, // literal sigil character the SYNOPSIS attaches to this | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/fetch_manned.py | 544 | # Step 1: within a package, prefer the latest `released`; | COMMENT |
| LOW⚡ | tools/fetch_manned.py | 575 | # Step 2: prefer standard man-path if any candidate is there. | COMMENT |
| LOW⚡ | tools/fetch_manned.py | 578 | # Step 3: latest released wins; lowest shorthash tiebreaks. | COMMENT |
| LOW | .claude/skills/mandoc-fix/SKILL.md | 26 | ## Step 1: Scope | COMMENT |
| LOW | .claude/skills/mandoc-fix/SKILL.md | 36 | ## Step 2: Capture absolute baseline | COMMENT |
| LOW⚡ | .claude/skills/mandoc-fix/SKILL.md | 51 | ## Step 3: Dispatch subagent | COMMENT |
| LOW⚡ | .claude/skills/mandoc-fix/SKILL.md | 59 | ## Step 4: Validate (three layers) | COMMENT |
| LOW⚡ | .claude/skills/mandoc-fix/SKILL.md | 69 | ## Step 5: Apply the rubric | COMMENT |
| LOW⚡ | .claude/skills/mandoc-fix/SKILL.md | 75 | ## Step 6: Promote and propose downstream | COMMENT |
| LOW | .claude/skills/eval-llm/SKILL.md | 23 | ## Step 1: Produce a baseline run and a candidate run | COMMENT |
| LOW | .claude/skills/eval-llm/SKILL.md | 40 | ## Step 2: Compare | COMMENT |
| LOW | .claude/skills/eval-llm/SKILL.md | 55 | ## Step 3: Classify every flagged page | COMMENT |
| LOW | .claude/skills/eval-llm/SKILL.md | 70 | ## Step 4: Apply the rubric | COMMENT |
| LOW | .claude/skills/eval-llm/SKILL.md | 76 | ## Step 5: Report | COMMENT |
| LOW | .claude/skills/eval-render/SKILL.md | 22 | ## Step 1: Render baseline + candidate | COMMENT |
| LOW⚡ | .claude/skills/eval-render/SKILL.md | 34 | ## Step 2: Compare | COMMENT |
| LOW⚡ | .claude/skills/eval-render/SKILL.md | 43 | ## Step 3: Classify every flagged page | COMMENT |
| LOW⚡ | .claude/skills/eval-render/SKILL.md | 51 | ## Step 4: Generate the diff report | COMMENT |
| LOW | .claude/skills/eval-render/SKILL.md | 62 | ## Step 5: Apply the rubric | COMMENT |
| LOW | .claude/skills/eval-render/SKILL.md | 68 | ## Step 6: Handoff prompt (only on regression) | COMMENT |
| LOW | .claude/skills/eval-render/SKILL.md | 109 | ## Step 7: Report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prod/datadog/apply.py | 19 | CODE | |
| LOW | tools/loadtest.py | 25 | CODE | |
| LOW | tools/postprocess_ubuntu_archive.py | 15 | CODE | |
| LOW | tools/experiments/eval_size_routing.py | 7 | CODE | |
| LOW | tests/test_postprocess_ubuntu_archive.py | 3 | CODE | |
| LOW | tests/evals/_common.py | 9 | CODE | |
| LOW | tests/evals/llm/llm_eval.py | 10 | CODE | |
| LOW | tests/evals/render/render_eval.py | 9 | CODE | |
| LOW | tests/extraction/test_postprocess.py | 3 | CODE | |
| LOW | tests/extraction/llm/test_openai_provider.py | 3 | CODE | |
| LOW | tests/extraction/llm/test_codex_provider.py | 3 | CODE | |
| LOW | explainshell/diff.py | 6 | CODE | |
| LOW | explainshell/manager.py | 22 | CODE | |
| LOW | explainshell/logger/json_logging.py | 11 | CODE | |
| LOW | explainshell/extraction/prefilter.py | 13 | CODE | |
| LOW | explainshell/extraction/runner.py | 7 | CODE | |
| LOW | explainshell/extraction/manifest.py | 7 | CODE | |
| LOW | explainshell/extraction/postprocess.py | 3 | CODE | |
| LOW | explainshell/extraction/__init__.py | 11 | CODE | |
| LOW | explainshell/extraction/__init__.py | 13 | CODE | |
| LOW | explainshell/extraction/__init__.py | 13 | CODE | |
| LOW | explainshell/extraction/__init__.py | 13 | CODE | |
| LOW | explainshell/extraction/__init__.py | 13 | CODE | |
| LOW | explainshell/extraction/types.py | 3 | CODE | |
| LOW | explainshell/extraction/common.py | 3 | CODE | |
| LOW | explainshell/extraction/report.py | 6 | CODE | |
| LOW | explainshell/extraction/llm/response.py | 3 | CODE | |
| LOW | explainshell/extraction/llm/extractor.py | 45 | CODE | |
| LOW | explainshell/extraction/llm/text.py | 4 | CODE | |
| LOW | explainshell/extraction/llm/providers/codex.py | 3 | CODE | |
| LOW | explainshell/extraction/llm/providers/__init__.py | 3 | CODE | |
| LOW | explainshell/extraction/llm/providers/gemini.py | 3 | CODE | |
| LOW | explainshell/extraction/llm/providers/openai.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/loadtest.py | 267 | except Exception as e: | CODE |
| LOW | tools/loadtest.py | 530 | except Exception as e: | CODE |
| LOW | tools/loadtest.py | 568 | except Exception as e: | CODE |
| LOW | tools/loadtest.py | 694 | except Exception as e: | CODE |
| LOW | tools/loadtest.py | 706 | except Exception: | CODE |
| LOW | tools/fetch_manned.py | 322 | except Exception: | CODE |
| LOW | tools/fetch_manned.py | 633 | except Exception: | CODE |
| LOW | tests/evals/render/render_eval.py | 233 | except Exception as exc: | CODE |
| MEDIUM | tests/extraction/test_runner.py | 671 | def _run() -> None: | CODE |
| LOW | tests/extraction/test_runner.py | 674 | except Exception as e: # pragma: no cover - test harness plumbing | CODE |
| LOW | explainshell/util.py | 155 | except Exception: | CODE |
| LOW | explainshell/util.py | 164 | except Exception: | CODE |
| LOW | explainshell/roff_utils.py | 103 | except Exception as e: | CODE |
| LOW | explainshell/web/markdown.py | 14 | except Exception: | CODE |
| LOW | explainshell/web/views.py | 326 | except Exception as error_msg: | CODE |
| LOW | explainshell/extraction/runner.py | 82 | except Exception as e: | CODE |
| LOW | explainshell/extraction/runner.py | 145 | except Exception as e: | CODE |
| LOW | explainshell/extraction/runner.py | 178 | except Exception as e: | CODE |
| LOW | explainshell/extraction/runner.py | 350 | except Exception: | CODE |
| LOW | explainshell/extraction/runner.py | 413 | except Exception as e: | CODE |
| LOW | explainshell/extraction/runner.py | 428 | except Exception as e: | CODE |
| LOW | explainshell/extraction/runner.py | 523 | except Exception as e: | CODE |
| LOW | explainshell/extraction/llm/extractor.py | 497 | except Exception as e: | CODE |
| LOW | explainshell/extraction/llm/providers/gemini.py | 127 | except Exception as e: | CODE |
| LOW | explainshell/extraction/llm/providers/openai.py | 217 | except Exception as e: | CODE |
| LOW | explainshell/extraction/llm/providers/openai.py | 288 | except Exception as e: | CODE |
| LOW | explainshell/extraction/llm/providers/openai.py | 326 | except Exception as e: | CODE |
| LOW | explainshell/extraction/llm/providers/openai.py | 393 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/loadtest.py | 483 | CODE | |
| LOW | tools/fetch_manned.py | 301 | CODE | |
| LOW | tools/experiments/eval_size_routing.py | 34 | CODE | |
| LOW | tests/extraction/llm/test_openai_provider.py | 771 | CODE | |
| LOW | explainshell/store.py | 570 | CODE | |
| LOW | explainshell/matcher.py | 260 | CODE | |
| LOW | explainshell/matcher.py | 499 | CODE | |
| LOW | explainshell/matcher.py | 938 | CODE | |
| LOW | explainshell/matcher.py | 562 | CODE | |
| LOW | explainshell/util.py | 93 | CODE | |
| LOW | explainshell/diff.py | 60 | CODE | |
| LOW | explainshell/diff.py | 188 | CODE | |
| LOW | explainshell/manager.py | 586 | CODE | |
| LOW | explainshell/manager.py | 1197 | CODE | |
| LOW | explainshell/web/views.py | 193 | CODE | |
| LOW | explainshell/web/views.py | 531 | CODE | |
| LOW | explainshell/web/views.py | 647 | CODE | |
| LOW | explainshell/extraction/prefilter.py | 204 | CODE | |
| LOW | explainshell/extraction/runner.py | 188 | CODE | |
| LOW | explainshell/extraction/runner.py | 289 | CODE | |
| LOW | explainshell/extraction/runner.py | 470 | CODE | |
| LOW | explainshell/extraction/postprocess.py | 116 | CODE | |
| LOW | explainshell/extraction/report.py | 90 | CODE | |
| LOW | explainshell/extraction/llm/text.py | 218 | CODE | |
| LOW | explainshell/extraction/llm/providers/openai.py | 175 | CODE | |
| LOW | explainshell/extraction/llm/providers/openai.py | 329 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/migrate_mongo_to_sqlite.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/postprocess_ubuntu_archive.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/fetch_manned.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/evals/_common.py | 21 | __all__ = [ | CODE |
| LOW | explainshell/store.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/store.py | 456 | def update_mapping_score(self, src: str, dst: str, score: int) -> None: | CODE |
| LOW | explainshell/manpage.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/matcher.py | 67 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/roff_utils.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | explainshell/manager.py | 442 | def _setup_console_logging(log_level_str: str) -> None: | CODE |
| LOW | explainshell/web/__init__.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/web/views.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | explainshell/extraction/prefilter.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/extraction/runner.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/extraction/runner.py | 39 | def set_total_batches(self, n: int) -> None: | CODE |
| LOW | explainshell/extraction/manifest.py | 40 | def set_total_batches(self, n: int) -> None: ... | CODE |
| LOW | explainshell/extraction/manifest.py | 70 | def set_total_batches(self, n: int) -> None: | CODE |
| LOW⚡ | explainshell/extraction/postprocess.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/extraction/__init__.py | 22 | __all__ = [ | CODE |
| LOW | explainshell/extraction/llm/response.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/extraction/llm/extractor.py | 97 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/extraction/llm/providers/gemini.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | explainshell/extraction/llm/providers/openai.py | 20 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | explainshell/extraction/llm/response.py | 53 | except json.JSONDecodeError: | CODE |
| HIGH | explainshell/extraction/llm/extractor.py | 204 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prod/integration-test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/download-latest-db.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/bench_src_index.py | 21 | # | COMMENT |
| LOW | explainshell/web/static/js/jquery.js | 1341 | COMMENT | |
| LOW | explainshell/web/static/js/jquery.js | 9581 | // Expose jQuery as an AMD module, but only for AMD loaders that | COMMENT |
| LOW | explainshell/extraction/types.py | 21 | COMMENT | |
| LOW | explainshell/extraction/llm/prompt.py | 21 | { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/extraction/test_runner.py | 674 | except Exception as e: # pragma: no cover - test harness plumbing | CODE |
| LOW | explainshell/web/__init__.py | 49 | # (e.g. `make deploy-local`). We just pass it through. | COMMENT |
| MEDIUM | explainshell/web/static/js/jquery.js | 9588 | // AMD modules. A named AMD is safest and most robust way to register. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/fetch_manned.py | 544 | # Step 1: within a package, prefer the latest `released`; | COMMENT |
| LOW⚡ | tools/fetch_manned.py | 575 | # Step 2: prefer standard man-path if any candidate is there. | COMMENT |
| LOW⚡ | tools/fetch_manned.py | 578 | # Step 3: latest released wins; lowest shorthash tiebreaks. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/download-latest-db.sh | 4 | # Usage: | COMMENT |