AI Slop Code RIsk Monitor

opendatalab/MinerU

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

18.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for opendatalab/MinerU, a Python project with 81,411 GitHub stars. SynthScan examined 189,921 lines of code across 745 source files, recording 3243 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 18.8 (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.

18.8
Adjusted Signal
18.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
81.4K
Stars
Python
Language
189.9K
Lines of Code
745
Files
3.2K
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 39.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 16.9/100 · LOW

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

Agent Over-Engineering Ratio 50.5/100 · HIGH

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

PR Review Velocity Impact 63.6/100 · HIGH

Which changes need focused human review? 3243 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 4HIGH 60MEDIUM 132LOW 3047

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 3243 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1840 hits · 1668 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py29def isolate_optional_llm_configuration(request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py77def test_historical_cache_rebuilds_fts_and_default_tier(tmp_path: Path, family: str) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py99def test_all_supported_formats_compact_to_current_protocol(tmp_path: Path, legacy_family: str) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py134def test_old_protocol_cache_is_not_available_or_compacted(tmp_path: Path, old_version: str | None) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py174def test_compaction_preserves_batches_with_conflicting_envelopes(tmp_path: Path, field: str) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py279def test_old_cache_hits_exports_and_serializes_without_mutating_storage(tmp_path: Path, family: str) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py321def test_old_cache_only_schedules_uncovered_pages(tmp_path: Path, family: str) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py340def test_mixed_cache_compaction_keeps_latest_pages_and_writes_new_ranges(tmp_path: Path, family: str) -> None:CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py367def test_failed_mixed_cache_compaction_preserves_old_records(CODE
LOWtests/unittest/test_docvortex_routing.py18def test_flash_routes_classification_and_native_analysis_explicitly(CODE
LOWtests/unittest/test_docvortex_routing.py83def test_hybrid_and_vlm_pdf_outputs_share_docvortex_text_cleanup(CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py126def test_previous_window_arrays_die_before_next_render(monkeypatch: pytest.MonkeyPatch, effort: str) -> None:CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py142def test_window_failure_closes_images_and_clears_owned_containers(monkeypatch: pytest.MonkeyPatch, failure: str) -> NoneCODE
LOWtests/unittest/test_pdf_memory_lifecycle.py163def test_document_cleanup_order_and_global_switch(CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py206def test_real_window_and_document_hooks_share_switch(CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py233def test_allocator_failure_preserves_window_exception(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py245def test_async_window_lifecycle_matches_sync(monkeypatch: pytest.MonkeyPatch, failure: str) -> None:CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py279def test_cancelled_window_preparation_still_closes_returned_images(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡tests/unittest/test_filetypes.py30def test_office_extensions_includes_legacy_binary_formats() -> None:CODE
LOW⚡tests/unittest/test_filetypes.py34def test_only_pdf_supports_page_range_parsing() -> None:CODE
LOW⚡tests/unittest/test_filetypes.py42def test_image_parser_rejects_explicit_page_range(tmp_path: Path) -> None:CODE
LOW⚡tests/unittest/test_filetypes.py54def test_legacy_office_extensions_are_parseable_and_ingestible() -> None:CODE
LOW⚡tests/unittest/test_filetypes.py61def test_file_type_by_extension_maps_legacy_office_to_self() -> None:CODE
LOW⚡tests/unittest/test_filetypes.py67def test_mime_type_by_extension_covers_legacy_office() -> None:CODE
LOW⚡tests/unittest/test_filetypes.py74def test_rtf_is_a_flash_only_parseable_office_type() -> None:CODE
LOW⚡tests/unittest/test_filetypes.py84def test_odf_extensions_are_flash_only_office_types() -> None:CODE
LOWtests/unittest/test_filetypes.py99def test_csv_is_a_flash_only_parseable_type_instead_of_plain_text() -> None:CODE
LOWtests/unittest/test_filetypes.py113def test_epub_is_a_flash_only_parseable_e_book_type() -> None:CODE
LOWtests/unittest/test_filetypes.py125def test_html_extensions_are_canonical_flash_only_inputs() -> None:CODE
LOWtests/unittest/test_filetypes.py137def test_ofd_is_an_independent_fixed_layout_flash_type() -> None:CODE
LOWtests/unittest/test_filetypes.py149def test_additional_text_extensions_are_ingestible_but_not_parseable() -> None:CODE
LOWtests/unittest/test_filetypes.py161def test_mineru_kit_discovers_and_accepts_csv_inputs(tmp_path: Path) -> None:CODE
LOWtests/unittest/test_content_list_render.py51def _assert_no_internal_fields(value: object) -> None:CODE
LOWtests/unittest/test_kit_gradio_epub_preview.py16def test_epub_preview_static_routes_are_local_and_complete(tmp_path: Path) -> None:CODE
LOWtests/unittest/test_kit_gradio_epub_preview.py35def test_epub_preview_viewer_sanitizes_before_enabling_chapter_events() -> None:CODE
LOWtests/unittest/test_kit_gradio_epub_preview.py57def test_epub_preview_viewer_accepts_font_obfuscation_and_stream_limits_payload() -> None:CODE
LOWtests/unittest/test_kit_gradio_epub_preview.py75def test_epub_preview_viewer_uses_serialized_section_navigation_and_internal_links() -> None:CODE
LOWtests/unittest/test_kit_gradio_i18n.py43def test_bilingual_errors_and_html_keep_untrusted_details_as_text() -> None:CODE
LOWtests/unittest/test_kit_gradio_i18n.py57def test_frontend_language_policy_and_dynamic_events() -> None:CODE
LOWtests/unittest/test_kit_gradio_i18n.py72def test_browser_local_status_timer_lifecycle() -> None:CODE
LOWtests/unittest/test_kit_gradio_i18n.py88def test_conversion_preserves_all_preview_components_until_success(CODE
LOWtests/unittest/test_parser_model_preload.py13def test_preload_local_models_initializes_conditional_model_families(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unittest/test_parser_model_preload.py45def test_preload_basic_models_initializes_only_local_models(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unittest/test_parser_model_preload.py55def test_preload_standard_models_initializes_platform_engine_and_local_models(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unittest/test_parser_model_preload.py79def test_local_preload_and_parse_reuse_llama_predictor(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:CODE
LOWtests/unittest/test_parser_model_preload.py123def test_classify_model_preload_error(exc: Exception, expected_code: str) -> None:CODE
LOWtests/unittest/test_render_api.py59def test_unified_render_dispatches_all_native_output_types_without_mutation() -> None:CODE
LOWtests/unittest/test_render_api.py93def test_unified_render_forwards_format_specific_options() -> None:CODE
LOWtests/unittest/test_render_api.py199def test_unified_docx_uses_typed_asset_resolver_and_propagates_public_errors() -> None:CODE
LOWtests/unittest/test_render_api.py239def test_unified_render_rejects_legacy_format_and_mismatched_options() -> None:CODE
LOWtests/unittest/test_render_api.py263def test_public_options_validate_fields() -> None:CODE
LOWtests/unittest/test_render_api.py325def test_public_render_exposes_all_three_structured_output_names() -> None:CODE
LOWtests/unittest/test_pdf_text_styles.py58def test_hybrid_txt_reuses_loaded_chars_and_applies_styles(CODE
LOWtests/unittest/test_pdf_text_styles.py172def test_hybrid_txt_efforts_apply_dehyphenated_links(CODE
LOWtests/unittest/test_pdf_text_styles.py269def test_hybrid_txt_efforts_apply_shared_script_sidecar(CODE
LOWtests/unittest/test_pdf_text_styles.py329def test_ocr_path_does_not_collect_or_apply_pdf_styles(CODE
LOWtests/unittest/test_pdf_text_styles.py389def test_high_char_count_txt_path_skips_pdf_text_enrichment(CODE
LOWtests/unittest/test_pdf_text_styles.py456def test_native_span_fill_does_not_read_preloaded_page_chars_twice() -> None:CODE
LOWtests/unittest/test_parse_result_assets.py84def test_save_externalizes_assets_without_changing_json_only_contract(tmp_path: Path) -> None:CODE
LOWtests/unittest/test_parse_result_assets.py114def test_server_zip_roundtrip_restores_direct_and_markup_images(CODE
1780 more matches not shown…
Unused Imports654 hits · 609 pts
SeverityFileLineSnippetContext
LOWtools/validate_docvortex_boundary.py3CODE
LOWtools/compare_docvortex_boundary.py3CODE
LOWtests/conftest.py3CODE
LOWtests/get_coverage.py6CODE
LOWtests/unittest/test_doclib_legacy_page_ranges.py1CODE
LOWtests/unittest/test_docvortex_routing.py3CODE
LOWtests/unittest/test_pdf_memory_lifecycle.py3CODE
LOWtests/unittest/test_filetypes.py1CODE
LOWtests/unittest/test_content_list_render.py1CODE
LOWtests/unittest/test_kit_gradio_epub_preview.py3CODE
LOWtests/unittest/test_kit_gradio_i18n.py3CODE
LOWtests/unittest/test_parser_model_preload.py1CODE
LOWtests/unittest/test_render_api.py1CODE
LOWtests/unittest/test_pdf_text_styles.py1CODE
LOWtests/unittest/test_parse_result_assets.py3CODE
LOWtests/unittest/test_flash_pdf_render_scheduling.py3CODE
LOWtests/unittest/test_process_heap_memory.py3CODE
LOWtests/unittest/test_http_api_example_script.py11CODE
LOWtests/unittest/test_source_metadata.py3CODE
LOWtests/unittest/test_structured_content_render.py1CODE
LOWtests/unittest/test_cli_output_markup.py1CODE
LOWtests/unittest/_docx_equationxml_test_utils.py3CODE
LOWtests/unittest/test_doclib_cache_semantics.py1CODE
LOWtests/unittest/test_render_config.py1CODE
LOWtests/unittest/test_doclib_api_page_remap.py3CODE
LOWtests/unittest/test_markdown_render.py1CODE
LOWtests/unittest/test_vlm_config.py1CODE
LOWtests/unittest/test_errors.py1CODE
LOWtests/unittest/_mtef_test_utils.py3CODE
LOWtests/unittest/test_mfr_latex_utils.py1CODE
LOWtests/unittest/test_kit_gradio.py1CODE
LOWtests/unittest/test_api_server_logging.py3CODE
LOWtests/unittest/test_doclib_config.py1CODE
LOWtests/unittest/test_stdio.py1CODE
LOWtests/unittest/test_kit_gradio_json.py3CODE
LOWtests/unittest/test_flash_model.py1CODE
LOWtests/unittest/test_flash_legacy_ppt.py1CODE
LOWtests/unittest/test_cli_runtime_contract.py1CODE
LOWtests/unittest/test_text_block_anchor.py1CODE
LOWtests/unittest/test_flash_office_image_mtef.py1CODE
LOWtests/unittest/test_vlm_remote.py1CODE
LOWtests/unittest/test_model_json.py1CODE
LOWtests/unittest/test_backend_architecture.py1CODE
LOWtests/unittest/test_cli_i18n.py3CODE
LOWtests/unittest/test_kit_gradio_mhtml_preview.py3CODE
LOWtests/unittest/test_pdf_layout_integration.py3CODE
LOWtests/unittest/test_pdf_analyze_visual_blocks.py1CODE
LOWtests/unittest/test_cli_command_contract.py1CODE
LOWtests/unittest/test_kit_commands.py1CODE
LOWtests/unittest/_legacy_xls_test_utils.py3CODE
LOWtests/unittest/test_flash_html.py1CODE
LOWtests/unittest/_odf_test_utils.py1CODE
LOWtests/unittest/test_flash_odf.py1CODE
LOWtests/unittest/test_pdf_model_inputs.py3CODE
LOWtests/unittest/test_kit_gradio_download.py3CODE
LOWtests/unittest/test_doclib_telemetry_core.py1CODE
LOWtests/unittest/_span_test_utils.py1CODE
LOWtests/unittest/test_pdf_native_script_detection.py1CODE
LOWtests/unittest/test_native_async_runtime.py3CODE
LOWtests/unittest/test_kit_gradio_page_range.py3CODE
594 more matches not shown…
Decorative Section Separators118 hits · 358 pts
SeverityFileLineSnippetContext
MEDIUMtests/unittest/test_http_api_example_script.py47# ─── helpers ────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unittest/test_http_api_example_script.py110# ─── mock V1 service ────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unittest/test_http_api_example_script.py247# ─── real Flash service (no model download, no GPU) ─────────────────────────COMMENT
MEDIUMtests/unittest/test_http_api_example_script.py327# ─── mock service: protocol and exit-code contract ──────────────────────────COMMENT
MEDIUMtests/unittest/test_http_api_example_script.py458# ─── mock service: same-origin credential isolation ─────────────────────────COMMENT
MEDIUMtests/unittest/test_http_api_example_script.py526# ─── mock service: download redirects do not leak credentials ───────────────COMMENT
MEDIUMmineru/filetypes.py9# ── file types ─────────────────────────────────────────────────────COMMENT
MEDIUMmineru/errors.py20# ── error_code → type mapping ──────────────────────────────────────COMMENT
MEDIUMmineru/errors.py154# ── exception hierarchy ────────────────────────────────────────────COMMENT
MEDIUMmineru/errors.py207# ── FastAPI error response builder ─────────────────────────────────COMMENT
MEDIUM⚡mineru/parser/api_server.py169# ── helper ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡mineru/parser/api_server.py179# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mineru/parser/api_server.py181# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mineru/parser/api_server.py186# ── Error ────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡mineru/parser/api_server.py987 # ── defaults → app state ─────────────────────────────────────────COMMENT
MEDIUM⚡mineru/parser/api_server.py1001# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mineru/parser/api_server.py1003# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mineru/parser/api_server.py1020# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mineru/parser/api_server.py1022# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py135# ── literal type aliases ────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py295# ── Health ───────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py312# ── Models API ───────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py338# ── Tiers API ────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py360# ── Upload ───────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py402# ── File ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py435# ── Job sources ──────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py492# ── Job responses ────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py584# ── Usage ────────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py618# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py620# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py659 # ── ID generation ────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py669 # ── blob helpers ─────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py693 # ── uploads ──────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py888 # ── files ────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1318# ── source helpers ───────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1579# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py1581# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py1649# ── Models ───────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1693# ── Tiers ────────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1712# ── Uploads ──────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1798# ── Files ────────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1870# ── Parse Jobs ───────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py2062# ── Usage ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py2080# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py2082# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_server.py2480# ── CLI ──────────────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_server.py1618# ── Health ───────────────────────────────────────────────────────────STRING
MEDIUM⚡mineru/parser/api_client.py583 # ── build ParseResult ────────────────────────────────────────────COMMENT
MEDIUM⚡mineru/parser/api_client.py592# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mineru/parser/api_client.py594# ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmineru/parser/api_client.py153 # ── DocumentParser interface ─────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_client.py217 # ── payload construction ─────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_client.py297 # ── HTTP helpers ─────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_client.py333 # ── upload ───────────────────────────────────────────────────────COMMENT
MEDIUMmineru/parser/api_client.py507 # ── parse execution ──────────────────────────────────────────────COMMENT
MEDIUMmineru/doclib/core/fts.py19# ── tokenization ───────────────────────────────────────────────────COMMENT
MEDIUMmineru/doclib/core/fts.py41# ── FTS manager ────────────────────────────────────────────────────COMMENT
MEDIUMmineru/doclib/core/fts.py48 # ── fts_contents ────────────────────────────────────────────COMMENT
MEDIUMmineru/doclib/core/fts.py98 # ── fts_filenames ────────────────────────────────────────────COMMENT
MEDIUMmineru/doclib/core/fts.py134# ── helpers ────────────────────────────────────────────────────────COMMENT
58 more matches not shown…
Empty Error Handlers49 hits · 245 pts
SeverityFileLineSnippetContext
HIGHtests/unittest/test_transformers5_runtime.py102except asyncio.CancelledError:CODE
HIGHmineru/kit/gradio/source_preview.py166except (LookupError, UnicodeDecodeError):CODE
HIGHmineru/kit/gradio/source_preview.py220except ValueError:CODE
HIGHmineru/kit/gradio/source_preview.py276except ValueError:CODE
HIGHmineru/kit/gradio/client.py398except Exception:CODE
HIGHmineru/kit/gradio/mhtml_preview.py29except LookupError:CODE
HIGHmineru/kit/gradio/mhtml_preview.py84except MhtmlParseError:CODE
HIGH…ru/kit/gradio/_vendor/ofd2html/render/page_renderer.py369except ValueError:CODE
HIGH…ru/kit/gradio/_vendor/ofd2html/render/page_renderer.py341except ValueError:CODE
HIGHmineru/kit/router/proxy.py307except RouterProxyError:CODE
HIGHmineru/kit/router/proxy.py317except RouterProxyError:CODE
HIGHmineru/kit/router/proxy.py153except ValueError:CODE
HIGHmineru/kit/router/app.py420except asyncio.CancelledError:CODE
HIGHmineru/kit/router/workers.py395except asyncio.CancelledError:CODE
HIGHmineru/kit/router/workers.py281except subprocess.TimeoutExpired:CODE
HIGHmineru/utils/async_utils.py34except BaseException:CODE
HIGHmineru/utils/logger.py65except ValueError:CODE
HIGHmineru/utils/cli_parser.py17except ValueError:CODE
HIGHmineru/backend/analysis/pdf/window.py127except Exception:CODE
HIGHmineru/backend/analysis/pdf/window.py671except BaseException:CODE
HIGHmineru/cli/commands/server.py124except OSError:CODE
HIGHmineru/cli/commands/server.py144except OSError:CODE
HIGHmineru/cli/commands/server.py152except OSError:CODE
HIGHmineru/cli/commands/server.py201except DoclibLockUnavailable:CODE
HIGHmineru/cli/commands/parse.py295except Exception:CODE
HIGHmineru/parser/process_control.py61except FileNotFoundError:CODE
HIGHmineru/parser/process_control.py139except OSError:CODE
HIGHmineru/parser/process_control.py147except OSError:CODE
HIGHmineru/parser/process_control.py239except OSError:CODE
HIGHmineru/parser/api_server.py1325except Exception:CODE
HIGHmineru/doclib/endpoint.py66except OSError:CODE
HIGHmineru/doclib/endpoint.py76except OSError:CODE
HIGHmineru/doclib/app.py559except KeyboardInterrupt:CODE
HIGHmineru/doclib/app.py599except FileNotFoundError:CODE
HIGHmineru/doclib/background/ingest.py125except Exception:CODE
HIGHmineru/doclib/background/parse_worker.py80except Exception:CODE
HIGHmineru/doclib/background/compaction.py227except OSError:CODE
HIGHmineru/doclib/background/compaction.py215except OSError:CODE
HIGHmineru/doclib/background/watch.py71except asyncio.TimeoutError:CODE
HIGHmineru/doclib/core/db.py183except Exception:CODE
HIGHmineru/doclib/services/cleanup_svc.py186except OSError:CODE
HIGHmineru/doclib/services/cleanup_svc.py193except OSError:CODE
HIGHmineru/model/runtime/device.py29except Exception:CODE
HIGHmineru/model/runtime/device.py34except Exception:CODE
HIGHmineru/model/runtime/device.py41except Exception:CODE
HIGHmineru/model/runtime/device.py48except Exception:CODE
HIGHmineru/model/vlm/async_runtime.py182except BaseException:CODE
HIGHscripts/benchmark_async_analysis.py117except asyncio.TimeoutError:CODE
HIGHscripts/benchmark_async_analysis.py102except psutil.Error:CODE
Modern Structural Boilerplate171 hits · 176 pts
SeverityFileLineSnippetContext
LOWtests/unittest/_docx_equationxml_test_utils.py70def _set_paragraph_style(shape: etree._Element, style_id: str) -> None:CODE
LOWmineru/config.py271def update_config_file(patch: dict[str, Any]) -> None:CODE
LOWmineru/config.py577__all__ = [CODE
LOWmineru/__init__.py27__all__ = [CODE
LOWmineru/types.py226__all__ = [CODE
LOWmineru/kit/__init__.py3__all__ = []CODE
LOWmineru/kit/errors.py19__all__ = ["exit_with_message"]CODE
LOWmineru/kit/output.py7__all__ = ["print_error", "print_info", "print_json", "print_success"]CODE
LOWmineru/kit/vlm_server/mlx_vlm_server.py60__all__ = ["main"]CODE
LOWmineru/kit/gradio/preview.py30__all__ = ["draw_layout_overlay"]CODE
LOWmineru/kit/gradio/pdf_preview.py30__all__ = ["pdf_preview_js", "register_pdf_preview_resources"]CODE
LOWmineru/kit/gradio/epub_preview.py8__all__ = ["register_epub_preview_resources"]CODE
LOWmineru/kit/gradio/source_preview.py20__all__ = ["build_html_preview", "build_mhtml_preview", "prepare_source_preview"]CODE
LOWmineru/kit/gradio/client.py487__all__ = [CODE
LOWmineru/kit/gradio/conversion.py118__all__ = ["ConversionRun", "SessionConversions", "await_task_completion", "run_sync_output"]CODE
LOWmineru/kit/gradio/__init__.py6__all__ = [CODE
LOWmineru/kit/gradio/page_range.py86__all__ = ["PdfPageMetadata", "effective_page_range", "pdf_page_metadata", "read_pdf_page_count", "validate_max_pages"]CODE
LOWmineru/kit/gradio/mhtml_preview.py273__all__ = ["build_mhtml_preview"]CODE
LOWmineru/kit/gradio/app.py1390__all__ = ["build_gradio_app", "launch_gradio"]CODE
LOWmineru/kit/gradio/ofd_preview.py7__all__ = ["build_ofd_preview"]CODE
LOWmineru/kit/gradio/i18n.py199__all__ = ["MESSAGES", "localized_message", "localized_text", "preview_placeholder", "translations"]CODE
LOWmineru/kit/gradio/artifacts.py689__all__ = [CODE
LOWmineru/kit/gradio/status.py149__all__ = [CODE
LOWmineru/kit/gradio/_vendor/__init__.py3__all__ = []CODE
LOWmineru/kit/gradio/_vendor/ofd2html/__init__.py5__all__ = ["ofd_to_html"]CODE
LOWmineru/kit/gradio/_vendor/ofd2html/reader/__init__.py3__all__ = []CODE
LOWmineru/kit/gradio/_vendor/ofd2html/render/__init__.py3__all__ = []CODE
LOWmineru/kit/gradio/_vendor/ofd2html/html/__init__.py3__all__ = []CODE
LOWmineru/kit/gradio/_vendor/ofd2html/pkg/__init__.py3__all__ = []CODE
LOWmineru/kit/commands/models.py219__all__ = ["app", "download_cmd", "download_main", "show_cmd", "verify_cmd", "model_repo_names"]CODE
LOWmineru/kit/commands/webui.py129__all__ = ["webui_cmd", "main"]CODE
LOWmineru/kit/commands/__init__.py5__all__ = ["api_server", "models", "parse", "router", "vlm_server", "webui"]CODE
LOWmineru/kit/commands/api_server.py132__all__ = ["api_server_cmd", "main"]CODE
LOWmineru/kit/commands/router.py6__all__ = ["router_cmd"]CODE
LOWmineru/kit/commands/vlm_server.py149__all__ = ["FORWARD_CONTEXT_SETTINGS", "main", "vlm_server_cmd"]CODE
LOWmineru/kit/router/proxy.py429__all__ = [CODE
LOWmineru/kit/router/__init__.py8__all__ = ["RouterSettings", "create_app", "main"]CODE
LOWmineru/kit/router/cli.py79__all__ = ["main", "router_cmd"]CODE
LOWmineru/kit/router/app.py906__all__ = ["create_app", "create_app_from_env"]CODE
LOWmineru/kit/router/resources.py265__all__ = [CODE
LOWmineru/kit/router/workers.py513__all__ = [CODE
LOWmineru/render/docx.py24__all__ = ["DocxRenderError", "render_docx"]CODE
LOWmineru/render/html.py30__all__ = ["render_html"]CODE
LOWmineru/render/__init__.py32__all__ = [CODE
LOWmineru/render/pdf.py28__all__ = ["render_pdf"]CODE
LOWmineru/render/content_list.py23__all__ = ["render_content_list"]CODE
LOWmineru/render/structured_content.py27__all__ = ["render_structured_content"]CODE
LOWmineru/render/api.py245__all__ = ["render"]CODE
LOWmineru/render/content_list_v2.py23__all__ = ["render_content_list_v2"]CODE
LOWmineru/render/markdown.py30__all__ = ["render_markdown"]CODE
LOWmineru/render/contracts.py84__all__ = [CODE
LOWmineru/render/epub.py36__all__ = ["render_epub"]CODE
LOWmineru/render/latex.py25__all__ = ["render_latex"]CODE
LOWmineru/render/_internal/content_list/v1.py256__all__ = ["render_content_list"]CODE
LOWmineru/render/_internal/content_list/common.py277__all__ = [CODE
LOWmineru/render/_internal/content_list/v2.py319__all__ = ["render_content_list_v2"]CODE
LOWmineru/utils/async_utils.py39__all__ = ["drain_future", "run_sync"]CODE
LOWmineru/utils/__init__.py3__all__ = []CODE
LOWmineru/utils/logger.py74__all__ = ["LogLevel", "configure_global_log_level"]CODE
LOWmineru/utils/timing.py26__all__ = ["stage_timer"]CODE
111 more matches not shown…
Excessive Try-Catch Wrapping146 hits · 153 pts
SeverityFileLineSnippetContext
LOWtools/validate_docvortex_boundary.py76 except Exception as error:CODE
LOWtools/validate_docvortex_boundary.py78 except Exception as error:CODE
MEDIUMtests/clean_coverage.py16 print(f"Error deleting file '{path}': {e}")CODE
MEDIUMtests/clean_coverage.py22 print(f"Error deleting directory '{path}': {e}")CODE
MEDIUM⚡tests/unittest/test_cli_runtime_contract.py21 monkeypatch.setattr(output, "print_error", lambda msg: print(f"Error: {msg}", file=sys.stderr))CODE
LOW…cs/plans/2026-06-17-cli-json-error-consistency-plan.md92except Exception as exc:CODE
LOWdocs/zh/usage/sdk_api.md83 except Exception as exc: # 终态任务失败与传输错误都会抛出异常CODE
LOWdocs/en/usage/sdk_api.md83 except Exception as exc: # terminal job failures and transport errors both raiseCODE
LOWmineru/config.py58 except Exception:CODE
MEDIUMmineru/config.py54def _uds_available() -> bool:CODE
LOWmineru/kit/gradio/source_preview.py347 except Exception as exc:CODE
LOWmineru/kit/gradio/client.py235 except Exception as exc:CODE
LOWmineru/kit/gradio/client.py358 except Exception:CODE
LOWmineru/kit/gradio/client.py368 except Exception:CODE
LOWmineru/kit/gradio/client.py398 except Exception:CODE
LOWmineru/kit/gradio/conversion.py104 except Exception:CODE
LOWmineru/kit/gradio/page_range.py41 except Exception as exc:CODE
LOWmineru/kit/gradio/app.py917 except Exception as exc:CODE
LOWmineru/kit/gradio/app.py1383 except Exception as exc:CODE
LOWmineru/kit/gradio/artifacts.py181 except Exception as exc:CODE
LOWmineru/kit/gradio/artifacts.py287 except Exception as exc:CODE
LOWmineru/kit/gradio/artifacts.py472 except Exception:CODE
LOWmineru/kit/commands/models.py109 except Exception as exc:CODE
LOWmineru/kit/commands/webui.py116 except Exception as exc:CODE
LOWmineru/kit/commands/parse.py81 except Exception as exc:CODE
LOWmineru/kit/commands/parse.py113 except Exception as exc:CODE
LOWmineru/kit/router/proxy.py417 except Exception:CODE
LOWmineru/kit/router/workers.py235 except Exception:CODE
LOWmineru/kit/router/workers.py243 except Exception:CODE
LOWmineru/kit/router/workers.py381 except Exception as exc:CODE
LOWmineru/kit/router/workers.py434 except Exception as exc:CODE
LOWmineru/kit/router/workers.py457 except Exception as exc:CODE
LOWmineru/utils/i18n.py57 except Exception: # noqa: BLE001 — Windows API 探测失败时静默回退英文CODE
LOWmineru/backend/analysis/pdf/window.py127 except Exception:CODE
LOW⚡mineru/backend/analysis/pdf/tables.py523 except Exception as exc:CODE
LOW⚡mineru/backend/analysis/pdf/tables.py533 except Exception as exc:CODE
LOW⚡mineru/backend/analysis/pdf/tables.py540 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py291 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py507 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py828 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py858 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py903 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py909 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py931 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py1009 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/tables.py1059 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/text/native.py91 except Exception as exc:CODE
LOWmineru/backend/analysis/pdf/text/content.py453 except Exception:CODE
LOWmineru/backend/postprocess/llm_client.py64 except Exception as exc:CODE
LOW⚡mineru/cli/telemetry.py63 except Exception:STRING
LOW⚡mineru/cli/telemetry.py72 except Exception:STRING
LOWmineru/cli/runtime.py79 except Exception as exc:CODE
LOWmineru/cli/runtime.py197 except Exception:CODE
LOWmineru/cli/commands/server.py165 except Exception:CODE
LOWmineru/cli/commands/server.py266 except Exception as exc:CODE
LOWmineru/cli/commands/server.py298 except Exception as exc:CODE
MEDIUMmineru/cli/commands/server.py158def _server_running() -> bool:CODE
MEDIUMmineru/cli/commands/server.py169def _doclib_lock_available() -> bool:CODE
LOWmineru/cli/commands/parse.py217 except Exception:CODE
LOWmineru/cli/commands/parse.py295 except Exception:CODE
86 more matches not shown…
Deep Nesting151 hits · 139 pts
SeverityFileLineSnippetContext
LOWtools/validate_docvortex_boundary.py12CODE
LOWtools/compare_docvortex_boundary.py25CODE
LOWtools/compare_docvortex_boundary.py59CODE
LOWtests/unittest/test_pdf_text_styles.py29CODE
LOWtests/unittest/test_parse_result_assets.py150CODE
LOWtests/unittest/_docx_equationxml_test_utils.py87CODE
LOWtests/unittest/test_doclib_api_page_remap.py106CODE
LOWtests/unittest/test_backend_architecture.py139CODE
LOWtests/unittest/test_backend_architecture.py154CODE
LOWtests/unittest/test_cli_i18n.py152CODE
LOWtests/unittest/test_cli_command_contract.py95CODE
LOWtests/unittest/test_kit_commands.py1237CODE
LOWtests/unittest/test_docvortex_import_boundary.py24CODE
LOWtests/unittest/_ooxml_mtef_test_utils.py299CODE
LOWtests/unittest/_ooxml_mtef_test_utils.py402CODE
LOWtests/unittest/_ooxml_mtef_test_utils.py469CODE
LOWtests/unittest/_ooxml_mtef_test_utils.py631CODE
LOWtests/benchmarks/pdf_cpu_gaps.py56CODE
LOWtests/benchmarks/opencv_paths.py16CODE
LOWmineru/config.py129CODE
LOWmineru/kit/common.py27CODE
LOWmineru/kit/common.py107CODE
LOWmineru/kit/vlm_server/llama_cpp_server.py122CODE
LOWmineru/kit/vlm_server/llama_cpp_server.py140CODE
LOWmineru/kit/vlm_server/llama_cpp_server.py187CODE
LOWmineru/kit/gradio/client.py373CODE
LOWmineru/kit/gradio/client.py437CODE
LOWmineru/kit/gradio/mhtml_preview.py88CODE
LOWmineru/kit/gradio/mhtml_preview.py157CODE
LOWmineru/kit/gradio/mhtml_preview.py177CODE
LOWmineru/kit/gradio/app.py362CODE
LOWmineru/kit/gradio/artifacts.py520CODE
LOWmineru/kit/gradio/status.py89CODE
LOW…ru/kit/gradio/_vendor/ofd2html/render/page_renderer.py98CODE
LOWmineru/kit/gradio/_vendor/ofd2html/html/exporter.py11CODE
LOWmineru/kit/commands/vlm_server.py88CODE
LOWmineru/kit/router/proxy.py216CODE
LOWmineru/kit/router/app.py244CODE
LOWmineru/kit/router/workers.py269CODE
LOWmineru/kit/router/workers.py413CODE
LOWmineru/backend/analyze.py32CODE
LOWmineru/backend/analysis/pdf/window.py349CODE
LOWmineru/backend/analysis/pdf/visual_containers.py22CODE
LOWmineru/backend/analysis/pdf/tables.py204CODE
LOWmineru/backend/analysis/pdf/tables.py390CODE
LOWmineru/backend/analysis/pdf/tables.py481CODE
LOWmineru/backend/analysis/pdf/tables.py669CODE
LOWmineru/backend/analysis/pdf/tables.py814CODE
LOWmineru/backend/analysis/pdf/tables.py888CODE
LOWmineru/backend/analysis/pdf/normalization.py112CODE
LOWmineru/backend/analysis/pdf/text/native.py73CODE
LOWmineru/backend/analysis/pdf/text/native.py613CODE
LOWmineru/backend/analysis/pdf/text/content.py256CODE
LOWmineru/backend/analysis/pdf/text/content.py376CODE
LOWmineru/backend/postprocess/legacy_schema_adapter.py139CODE
LOWmineru/backend/postprocess/legacy_schema_adapter.py636CODE
LOWmineru/backend/postprocess/llm_aided.py30CODE
LOWmineru/backend/postprocess/title_leveling.py18CODE
LOWmineru/backend/postprocess/legacy_middle_json.py105CODE
LOWmineru/cli/commands/server.py192CODE
91 more matches not shown…
AI Structural Patterns63 hits · 58 pts
SeverityFileLineSnippetContext
LOWtests/unittest/_docx_equationxml_test_utils.py137CODE
LOWtests/unittest/_epub_test_utils.py11CODE
LOWtests/unittest/_ooxml_mtef_test_utils.py299CODE
LOWtests/unittest/_ooxml_mtef_test_utils.py631CODE
LOWtests/benchmarks/opencv_paths.py114CODE
LOWmineru/kit/commands/webui.py62CODE
LOWmineru/kit/commands/api_server.py33CODE
LOWmineru/kit/commands/parse.py29CODE
LOWmineru/kit/router/cli.py20CODE
LOWmineru/backend/analyze.py32CODE
LOWmineru/backend/analyze.py95CODE
LOWmineru/backend/analysis/pdf/images.py61CODE
LOWmineru/cli/commands/parse.py78CODE
LOWmineru/cli/commands/parse.py299CODE
LOWmineru/parser/api_server.py2255CODE
LOWmineru/parser/api_client.py817CODE
LOWmineru/parser/api_client.py836CODE
LOWmineru/doclib/server.py391CODE
LOWmineru/doclib/client.py136CODE
LOWmineru/doclib/base.py112CODE
LOWmineru/doclib/base.py572CODE
LOWmineru/doclib/services/parse_svc.py1101CODE
LOWmineru/model/_internal/pytorchocr/modeling/necks/rnn.py91CODE
LOWmineru/model/_internal/pytorchocr/modeling/necks/rnn.py324CODE
LOW…del/_internal/pytorchocr/modeling/heads/det_db_head.py162CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py1308CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py159CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py682CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py798CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py995CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py1433CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py1646CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py1954CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py2035CODE
LOW…ternal/pytorchocr/modeling/heads/rec_unimernet_head.py2346CODE
LOW…nal/pytorchocr/modeling/heads/rec_ppformulanet_head.py406CODE
LOW…nal/pytorchocr/modeling/heads/rec_ppformulanet_head.py642CODE
LOW…nal/pytorchocr/modeling/heads/rec_ppformulanet_head.py718CODE
LOW…nal/pytorchocr/modeling/heads/rec_ppformulanet_head.py919CODE
LOW…nternal/pytorchocr/modeling/backbones/rec_pphgnetv2.py42CODE
LOW…nternal/pytorchocr/modeling/backbones/rec_pphgnetv2.py1208CODE
LOW…_internal/pytorchocr/modeling/backbones/rec_svtrnet.py21CODE
LOW…_internal/pytorchocr/modeling/backbones/rec_svtrnet.py53CODE
LOW…_internal/pytorchocr/modeling/backbones/rec_svtrnet.py131CODE
LOW…_internal/pytorchocr/modeling/backbones/rec_svtrnet.py200CODE
LOW…_internal/pytorchocr/modeling/backbones/rec_svtrnet.py405CODE
LOW…ternal/pytorchocr/modeling/backbones/rec_donut_swin.py437CODE
LOW…ternal/pytorchocr/modeling/backbones/rec_donut_swin.py21CODE
LOWmineru/model/ocr/pp_ocr_v6_onnx.py70CODE
LOWmineru/model/ocr/pp_ocr_v6_onnx.py363CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py699CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1221CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1481CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1609CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1723CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1850CODE
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1996CODE
LOW…nimernet_hf/unimer_mbart/configuration_unimer_mbart.py106CODE
LOW…ernet/unimernet_hf/unimer_swin/modeling_unimer_swin.py400CODE
LOW…/unimernet_hf/unimer_swin/configuration_unimer_swin.py91CODE
3 more matches not shown…
Cross-Language Confusion7 hits · 48 pts
SeverityFileLineSnippetContext
HIGH⚡mineru/kit/gradio/source_preview.py52 if (event.source !== parent || !data || data.type !== "mineru-source-preview-probe") return;CODE
HIGH⚡mineru/kit/gradio/source_preview.py56 if (window.navigation && typeof window.navigation.addEventListener === "function") {CODE
HIGH⚡mineru/kit/gradio/source_preview.py66 if (injectedWidth >= 320 && injectedWidth <= 2400) return injectedWidth;CODE
HIGH⚡mineru/kit/gradio/source_preview.py73 if (numeric >= 320 && numeric <= 2400) return numeric;CODE
HIGHmineru/kit/gradio/source_preview.py85 var width = viewportWidth || innerWidth || 0;CODE
HIGHmineru/kit/gradio/source_preview.py107 if (!preferredWidth || measured > preferredWidth) preferredWidth = measured;CODE
HIGH⚡mineru/model/mfr/utils.py325 r'\\(?:lefteqn|boldmath|ensuremath|centering|textsubscript|sides|textsl|textcent|emph|protect|null)')CODE
Hallucination Indicators4 hits · 45 pts
SeverityFileLineSnippetContext
CRITICALtests/unittest/test_parser_api_contract.py2963 tier: runtime.effort for tier, runtime in server.config.app.state.tier_runtime_options.items()CODE
CRITICALtests/unittest/test_parser_api_contract.py2986 tier: runtime.effort for tier, runtime in server.config.app.state.tier_runtime_options.items()CODE
CRITICALtests/unittest/test_parser_api_contract.py3010 tier: runtime.effort for tier, runtime in server.config.app.state.tier_runtime_options.items()CODE
CRITICAL⚡mineru/resources/epub_preview/epub.min.js1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof dCODE
Over-Commented Block28 hits · 28 pts
SeverityFileLineSnippetContext
LOWmineru/filetypes.py1from __future__ import annotationsCOMMENT
LOWmineru/resources/pdf_preview/viewer.css21#status { position: absolute; z-index: 5; top: calc(var(--toolbar-height) + 10px); left: 10px; right: 10px; padding: 10pCOMMENT
LOW…/model/_internal/pytorchocr/modeling/necks/__init__.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWmineru/model/_internal/pytorchocr/modeling/necks/rnn.py21 # def forward(self, x):COMMENT
LOW…internal/pytorchocr/modeling/architectures/__init__.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOW…/model/_internal/pytorchocr/modeling/heads/__init__.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOW…nal/pytorchocr/modeling/heads/rec_ppformulanet_head.py1# Copyright (c) Opendatalab. All rights reserved.COMMENT
LOW…el/_internal/pytorchocr/modeling/backbones/__init__.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOW…_internal/pytorchocr/modeling/backbones/rec_lcnetv3.py1# Copyright (c) Opendatalab. All rights reserved.COMMENT
LOW…el/_internal/pytorchocr/postprocess/rec_postprocess.py1# Copyright (c) Opendatalab. All rights reserved.COMMENT
LOW…neru/model/_internal/pytorchocr/data/imaug/__init__.py1# Copyright (c) Opendatalab. All rights reserved.COMMENT
LOW…eru/model/_internal/pytorchocr/data/imaug/operators.py1"""COMMENT
LOWmineru/model/ocr/seal_det_warp.py1# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWmineru/model/ocr/seal_crop.py1# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOW…net/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py1# coding=utf-8COMMENT
LOW…nimernet_hf/unimer_mbart/configuration_unimer_mbart.py1# coding=utf-8COMMENT
LOW…ernet/unimernet_hf/unimer_swin/modeling_unimer_swin.py1# coding=utf-8COMMENT
LOW…/unimernet_hf/unimer_swin/configuration_unimer_swin.py1# coding=utf-8COMMENT
LOWmineru/model/table/rec/slanet_plus/matcher.py1# Copyright (c) Opendatalab. All rights reserved.COMMENT
LOWmineru/model/table/rec/slanet_plus/table_structure.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOW…u/model/table/rec/slanet_plus/table_structure_utils.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWmineru/model/table/rec/slanet_plus/matcher_utils.py1# Copyright (c) Opendatalab. All rights reserved.COMMENT
LOWmineru/model/table/rec/slanet_plus/matcher_utils.py121 if not has_span_in_head:COMMENT
LOWmineru/model/table/rec/unet_table/main.py201 continueCOMMENT
LOWscripts/http_api_example.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/http_api_example.sh21# TRANSFER_TIMEOUT (optional) Max seconds per upload/download (default: 300).COMMENT
LOW.github/workflows/cla.yml41 #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA AssistaCOMMENT
LOW.github/workflows/cli.yml41# notify_to_feishu:COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…_internal/pytorchocr/modeling/backbones/rec_svtrnet.py0drop paths (stochastic depth) per sample (when applied in main path of residual blocks).STRING
HIGH…ternal/pytorchocr/modeling/backbones/rec_donut_swin.py0drop paths (stochastic depth) per sample (when applied in main path of residual blocks).STRING
HIGH…ernet/unimernet_hf/unimer_swin/modeling_unimer_swin.py0drop paths (stochastic depth) per sample (when applied in main path of residual blocks).STRING
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM⚡mineru/resources/epub_preview/epub.min.js1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof dCODE
MEDIUM⚡mineru/resources/epub_preview/epub.min.js1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof dCODE
MEDIUM…ru/kit/gradio/_vendor/ofd2html/render/page_renderer.py108 # robust against documents that interleave comments with content.COMMENT
MEDIUM…nal/pytorchocr/modeling/heads/rec_ppformulanet_head.py976 # 1. Check whether the user has defined `decoder_input_ids` manually. To facilitate in terms of input naming,COMMENT
MEDIUM…el/_internal/pytorchocr/postprocess/rec_postprocess.py112 ): # grouping word with '-', such as 'state-of-the-art'CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…nternal/pytorchocr/modeling/backbones/rec_pphgnetv2.py546use 'handle_func' to modify the sub-layer(s) specified by 'layer_name_pattern'. Args: layer_name_paSTRING
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/http_api_example.sh8# Usage:COMMENT
Fake / Example Data2 hits · 1 pts
SeverityFileLineSnippetContext
LOWtests/unittest/test_kit_gradio.py1133 source.write_bytes(b"placeholder")CODE
LOWtests/unittest/test_kit_gradio.py1264 source.write_bytes(b"placeholder")CODE