AI Slop Code RIsk Monitor

docling-project/docling

Get your documents ready for gen AI

7.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for docling-project/docling, a Python project with 68,644 GitHub stars. SynthScan examined 650,369 lines of code across 1375 source files, recording 4076 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 7.4 (Moderate 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.

7.4
Adjusted Signal
7.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
68.6K
Stars
Python
Language
650.4K
Lines of Code
1.4K
Files
4.1K
Pattern Hits
2026-10-12
Scan Date
0.08
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 20.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.5/100 · LOW

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

Agent Over-Engineering Ratio 22.0/100 · LOW

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

PR Review Velocity Impact 32.7/100 · MEDIUM

Which changes need focused human review? 4076 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 0HIGH 116MEDIUM 251LOW 3709

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 4076 distinct pattern matches across 20 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 Identifiers2325 hits · 2140 pts
SeverityFileLineSnippetContext
LOWtests/verify_utils.py50def _strip_embedded_image_data(text: str) -> str:CODE
LOWtests/test_kserve_v2_binary.py17def test_bytes_tensor_binary_encoding_round_trip() -> None:CODE
LOWtests/test_kserve_v2_binary.py52def test_http_binary_request_serialization() -> None:CODE
LOWtests/test_kserve_v2_binary.py106def test_http_binary_response_decoding() -> None:CODE
LOWtests/test_backend_mets_gbs.py87def test_page_missing_coordocr_is_skipped_not_crashed():CODE
LOWtests/test_backend_mets_gbs.py111def test_max_file_bytes_limit(test_doc_path):CODE
LOWtests/test_backend_mets_gbs.py125def test_max_total_bytes_limit(test_doc_path):CODE
LOWtests/test_backend_mets_gbs.py142def test_max_member_count_limit(test_doc_path):CODE
LOWtests/test_backend_mets_gbs.py156def test_limits_with_valid_values(test_doc_path):CODE
LOWtests/test_backend_mets_gbs.py183def test_total_bytes_tracking_across_pages(test_doc_path):CODE
LOWtests/test_backend_mets_gbs.py242def test_member_limit_enforced_while_iterating(test_doc_path, tmp_path):CODE
LOWtests/test_backend_mets_gbs.py265def test_members_after_needed_files_are_not_read(test_doc_path, tmp_path):CODE
LOWtests/test_backend_mets_gbs.py293def test_format_detection_stops_at_member_limit(test_doc_path, tmp_path):CODE
LOWtests/test_backend_mets_gbs.py311def test_stream_input_matches_path_input(test_doc_path):CODE
LOWtests/test_run_pr_fast_checks.py49def test_collect_targets_limits_scope_to_supported_paths(tmp_path: Path) -> None:CODE
LOWtests/test_run_pr_fast_checks.py98def test_collect_targets_uses_smoke_target_for_tooling_only_changes(CODE
LOWtests/test_run_pr_fast_checks.py118def test_collect_targets_skips_unrelated_changes(tmp_path: Path) -> None:CODE
LOWtests/test_run_pr_fast_checks.py134def test_build_check_units_uses_ty_check(monkeypatch) -> None:CODE
LOWtests/test_run_pr_fast_checks.py156def test_git_helpers_accept_synthetic_merge_tree(tmp_path: Path) -> None:CODE
LOWtests/test_run_pr_fast_checks.py199def test_log_result_suppresses_success_output(capsys) -> None:CODE
LOWtests/test_run_pr_fast_checks.py217def test_log_result_prints_failure_output(capsys) -> None:CODE
LOWtests/test_run_pr_fast_checks.py235def test_significant_regression_requires_same_successful_target_set() -> None:CODE
LOWtests/test_ai_pr_triage.py67def test_issue_refs_ignore_own_number_other_repos_and_anchors() -> None:CODE
LOWtests/test_ai_pr_triage.py75def test_sensitive_paths_force_care_and_hints_only_flag_added_lines() -> None:CODE
LOWtests/test_ai_pr_triage.py106def test_overlap_needs_intersecting_hunks_or_many_shared_files() -> None:CODE
LOWtests/test_ai_pr_triage.py122def test_answer_with_unknown_pr_or_verdict_is_rejected() -> None:CODE
LOWtests/test_ai_pr_triage.py133def test_answer_is_read_from_fenced_final_message() -> None:CODE
LOWtests/test_ai_pr_triage.py157def test_model_text_is_literal_in_the_comment() -> None:CODE
LOWtests/test_ai_pr_triage.py188def test_model_code_span_cannot_be_closed_early() -> None:CODE
LOWtests/test_ai_pr_triage.py194def test_deterministic_findings_override_a_safe_model_verdict() -> None:CODE
LOWtests/test_ai_pr_triage.py206def test_stored_result_round_trips_through_validation_in_publish() -> None:CODE
LOWtests/test_ai_pr_triage.py218def test_comment_shows_duplicates_collapses_related_and_hides_unrelated() -> None:CODE
LOWtests/test_ai_pr_triage.py241def test_comment_states_failed_analysis() -> None:CODE
LOWtests/test_ai_pr_triage.py249def test_model_topics_must_come_from_the_repository_label_set() -> None:CODE
LOWtests/test_factory_plugins.py63def test_external_plugin_not_imported_when_disallowed():CODE
LOWtests/test_factory_plugins.py73def test_external_plugin_loaded_when_allowed():CODE
LOW⚡tests/test_rapid_ocr_lang.py539def test_parse_rapidocr_model_spec_rejects_invalid_pairs(spec: str) -> None:CODE
LOW⚡tests/test_rapid_ocr_lang.py547def test_rapidocr_options_model_size_defaults_to_small() -> None:CODE
LOW⚡tests/test_rapid_ocr_lang.py551def test_rapidocr_options_model_size_rejects_invalid_value() -> None:CODE
LOWtests/test_rapid_ocr_lang.py47 def fake_download_url_with_progress(url: str, *, progress: bool) -> BytesIO:CODE
LOWtests/test_rapid_ocr_lang.py104def test_resolve_populates_the_whole_spec() -> None:CODE
LOWtests/test_rapid_ocr_lang.py148def test_resolve_script_families_route_by_backend() -> None:CODE
LOWtests/test_rapid_ocr_lang.py164def test_resolve_rejects_a_malformed_tag() -> None:CODE
LOWtests/test_rapid_ocr_lang.py169def test_resolve_raises_on_unsupported_language() -> None:CODE
LOWtests/test_rapid_ocr_lang.py259def test_rapidocr_malformed_language_raises_at_options_time() -> None:CODE
LOWtests/test_rapid_ocr_lang.py265def test_rapidocr_unsupported_language_raises(monkeypatch, tmp_path: Path) -> None:CODE
LOWtests/test_rapid_ocr_lang.py279def test_rapidocr_no_artifacts_uses_library_params(monkeypatch, tmp_path: Path) -> None:CODE
LOWtests/test_rapid_ocr_lang.py299def test_rapidocr_pinned_paths_skip_download(monkeypatch, tmp_path: Path) -> None:CODE
LOWtests/test_rapid_ocr_lang.py324def test_rapidocr_artifacts_pinned_det_rec_still_requires_cls(CODE
LOWtests/test_rapid_ocr_lang.py359def test_rapidocr_artifacts_missing_raises_with_prefetch_hint(CODE
LOWtests/test_rapid_ocr_lang.py378def test_rapidocr_artifacts_never_downloads(monkeypatch, tmp_path: Path) -> None:CODE
LOWtests/test_rapid_ocr_lang.py400def test_rapidocr_missing_pinned_path_raises(CODE
LOWtests/test_rapid_ocr_lang.py426 def fake_download_url_with_progress(url: str, *, progress: bool) -> BytesIO:CODE
LOWtests/test_rapid_ocr_lang.py448def test_model_downloader_fetches_rapidocr_per_backend(CODE
LOWtests/test_rapid_ocr_lang.py482def test_model_downloader_rapidocr_models_replaces_default(CODE
LOWtests/test_rapid_ocr_lang.py517def test_model_downloader_rejects_bad_rapidocr_spec(tmp_path: Path) -> None:CODE
LOWtests/test_rapid_ocr_lang.py527def test_parse_rapidocr_model_spec_accepts_valid_pairs(spec: str) -> None:CODE
LOWtests/test_rapid_ocr_lang.py583def test_rapidocr_model_size_never_affects_classification(CODE
LOWtests/test_rapid_ocr_lang.py595def test_rapidocr_model_size_tiny_rejects_japanese_at_options_time(CODE
LOWtests/test_rapid_ocr_lang.py612def test_rapidocr_model_size_tiny_rejects_japanese_without_artifacts_path(CODE
2265 more matches not shown…
Decorative Section Separators144 hits · 483 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml76# ============================================================================COMMENT
MEDIUMpyproject.toml78# ============================================================================COMMENT
MEDIUMpyproject.toml91# ============================================================================COMMENT
MEDIUMpyproject.toml93# ============================================================================COMMENT
MEDIUMpyproject.toml196# ============================================================================COMMENT
MEDIUMpyproject.toml198# ============================================================================COMMENT
MEDIUMpyproject.toml231# ============================================================================COMMENT
MEDIUMpyproject.toml233# ============================================================================COMMENT
MEDIUM⚡pyproject.toml278# ============================================================================COMMENT
MEDIUM⚡pyproject.toml280# ============================================================================COMMENT
MEDIUMpyproject.toml307# ============================================================================COMMENT
MEDIUMpyproject.toml309# ============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py47# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py49# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py509# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py511# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py551# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py553# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py663# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py665# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py763# =============================================================================COMMENT
MEDIUM⚡tests/test_vlm_presets_and_runtime_options.py765# =============================================================================COMMENT
MEDIUMtests/test_vlm_presets_and_runtime_options.py346# =============================================================================COMMENT
MEDIUMtests/test_vlm_presets_and_runtime_options.py348# =============================================================================COMMENT
MEDIUM⚡tests/test_layout_migration.py51# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py53# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py115# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py117# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py128# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py130# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py220# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_layout_migration.py222# --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_drawingml_utils.py76# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_drawingml_utils.py78# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_drawingml_utils.py150# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_drawingml_utils.py152# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reading_order.py322# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reading_order.py335# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reading_order.py457# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reading_order.py464# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_service_client_sdk_unit.py2902# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_service_client_sdk_unit.py2904# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_service_client_sdk_unit.py3367# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_service_client_sdk_unit.py3369# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_service_client_integration.py297# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_service_client_integration.py299# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡docling/pipeline/asr_transcriber.py702# ============================================================COMMENT
MEDIUM⚡docling/pipeline/asr_transcriber.py705# ============================================================COMMENT
MEDIUM⚡docling/pipeline/asr_transcriber.py708# ============================================================COMMENT
MEDIUM⚡docling/pipeline/asr_transcriber.py710# ============================================================COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py101# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py103# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py581# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py583# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py597 # ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py599 # ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py726 # ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py728 # ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…cling/models/stages/chart_extraction/granite_vision.py109 # ------------------------------------------------------------------COMMENT
MEDIUM…cling/models/stages/chart_extraction/granite_vision.py111 # ------------------------------------------------------------------COMMENT
84 more matches not shown…
Unused Imports537 hits · 468 pts
SeverityFileLineSnippetContext
LOWtests/test_run_pr_fast_checks.py4CODE
LOWtests/test_ai_pr_triage.py4CODE
LOWtests/test_deepseekocr_vlm.py6CODE
LOWtests/test_deepseekocr_vlm.py8CODE
LOWtests/test_deepseekocr_vlm.py22CODE
LOWtests/test_deepseekocr_vlm.py22CODE
LOWtests/test_backend_webp.py11CODE
LOWtests/test_kserve_v2_http_client.py16CODE
LOWtests/test_service_client_fake_service.py16CODE
LOWtests/test_speaker_diarization.py11CODE
LOWtests/test_page_assemble_model.py16CODE
LOWtests/test_page_assemble_model.py138CODE
LOWtests/test_backend_html.py10CODE
LOWtests/test_extraction.py15CODE
LOWtests/test_pytest_marker_selection.py4CODE
LOWtests/test_asr_mlx_whisper.py15CODE
LOWtests/test_asr_mlx_whisper.py15CODE
LOWtests/test_asr_mlx_whisper.py15CODE
LOWtests/test_api_kserve_v2_engine_scaffolding.py6CODE
LOWtests/test_e2e_nemotron_ocr_conversion.py82CODE
LOWtests/test_conversion_result_json.py4CODE
LOWtests/test_conversion_result_json.py7CODE
LOWtests/test_conversion_result_json.py9CODE
LOWtests/test_conversion_result_json.py13CODE
LOWtests/test_backend_mhtml.py4CODE
LOWtests/test_pr_approval_reminder.py4CODE
LOWtests/test_kserve_v2_ocr_integration.py7CODE
LOWtests/test_ai_pr_event.py4CODE
LOWtests/test_check_needs_results.py4CODE
LOWtests/test_paddleocr_vl_utils.py12CODE
LOWtests/test_heading_hierarchy.py15CODE
LOWtests/test_ocr_engine_language_mapping.py25CODE
LOWtests/test_backend_asciidoc.py23CODE
LOWtests/test_api_openai_compatible_fake.py16CODE
LOWtests/test_service_client_payload_fidelity.py19CODE
LOWtests/test_service_datamodels.py32CODE
LOWtests/test_e2e_ocr_conversion.py10CODE
LOWtests/test_vlm_pipeline_status.py27CODE
LOWtests/test_backend_markdown.py989CODE
LOWtests/test_generation_stopper.py17CODE
LOWtests/test_asr_pipeline.py5CODE
LOWtests/test_pr_topic_labels.py4CODE
LOWtests/test_backend_docling_parse.py15CODE
LOWtests/test_tail_repetition_stopper.py14CODE
LOWtests/test_ai_pr_review.py4CODE
LOWtests/test_granite_vision_extraction.py14CODE
LOWtests/test_check_skill_routes.py4CODE
LOWtests/test_video_pipeline.py10CODE
LOWtests/test_backend_opendocument.py13CODE
LOWtests/test_groundtruth_diff.py4CODE
LOWtests/test_latex/test_basic.py8CODE
LOWtests/test_latex/conftest.py4CODE
LOWtests/test_latex/conftest.py8CODE
LOWtests/test_latex/conftest.py8CODE
LOWtests/test_latex/conftest.py10CODE
LOWtests/test_latex/conftest.py11CODE
LOWtests/test_latex/conftest.py12CODE
LOWtests/test_latex/conftest.py13CODE
LOWtests/test_latex/conftest.py13CODE
LOWtests/test_latex/conftest.py13CODE
477 more matches not shown…
Deep Nesting297 hits · 246 pts
SeverityFileLineSnippetContext
LOWtests/verify_utils.py261CODE
LOWtests/test_backend_html.py156CODE
LOWtests/test_backend_html.py1570CODE
LOWtests/test_backend_msword.py166CODE
LOWtests/test_office_image_modes.py42CODE
LOWtests/test_table_structure_model_v2.py24CODE
LOWtests/test_reading_order.py75CODE
LOWtests/test_service_client_sdk_unit.py2923CODE
LOWtests/test_service_client_payload_fidelity.py262CODE
LOWtests/test_backend_iwork_keynote.py567CODE
LOWtests/test_video_frame_sampling.py180CODE
LOWtests/test_backend_pptx.py408CODE
LOWtests/test_latex/conftest.py24CODE
LOWdocling/document_extractor.py199CODE
LOWdocling/document_converter.py741CODE
LOWdocling/document_converter.py815CODE
LOWdocling/document_converter.py909CODE
LOWdocling/pipeline/video_pipeline.py155CODE
LOWdocling/pipeline/asr_transcriber.py195CODE
LOWdocling/pipeline/asr_transcriber.py658CODE
LOWdocling/pipeline/base_pipeline.py156CODE
LOWdocling/pipeline/base_pipeline.py292CODE
LOWdocling/pipeline/standard_pdf_pipeline.py177CODE
LOWdocling/pipeline/standard_pdf_pipeline.py198CODE
LOWdocling/pipeline/standard_pdf_pipeline.py305CODE
LOWdocling/pipeline/standard_pdf_pipeline.py436CODE
LOWdocling/pipeline/standard_pdf_pipeline.py808CODE
LOWdocling/pipeline/standard_pdf_pipeline.py1046CODE
LOWdocling/pipeline/standard_pdf_pipeline.py855CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py57CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py172CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py212CODE
LOWdocling/pipeline/vlm_pipeline.py153CODE
LOWdocling/pipeline/vlm_pipeline.py409CODE
LOWdocling/pipeline/vlm_pipeline.py481CODE
LOW…/experimental/pipeline/threaded_layout_vlm_pipeline.py85CODE
LOW…/experimental/pipeline/threaded_layout_vlm_pipeline.py278CODE
LOW…/experimental/pipeline/threaded_layout_vlm_pipeline.py312CODE
LOWdocling/utils/chandra_utils.py192CODE
LOWdocling/utils/chandra_utils.py293CODE
LOWdocling/utils/chandra_utils.py497CODE
LOWdocling/utils/chandra_utils.py594CODE
LOWdocling/utils/dots_utils.py183CODE
LOWdocling/utils/orientation.py12CODE
LOWdocling/utils/accelerator_utils.py13CODE
LOWdocling/utils/api_image_request.py290CODE
LOWdocling/utils/video_frame_sampling.py146CODE
LOWdocling/utils/paddleocr_vl_utils.py239CODE
LOWdocling/utils/layout_postprocessor.py518CODE
LOWdocling/utils/font_style.py122CODE
LOWdocling/utils/pdf_outline.py95CODE
LOWdocling/utils/pdf_outline.py146CODE
LOWdocling/utils/mineru_utils.py330CODE
LOWdocling/utils/nemotron_parse_utils.py251CODE
LOWdocling/utils/deepseekocr_utils.py30CODE
LOWdocling/utils/deepseekocr_utils.py125CODE
LOWdocling/utils/deepseekocr_utils.py180CODE
LOWdocling/utils/deepseekocr_utils.py234CODE
LOWdocling/utils/otsl.py23CODE
LOWdocling/backend/webvtt_backend.py109CODE
237 more matches not shown…
Excessive Try-Catch Wrapping223 hits · 237 pts
SeverityFileLineSnippetContext
LOW.actor/actor.sh268 except Exception as e:CODE
LOWtests/test_deepseekocr_vlm.py110 except Exception:CODE
LOWtests/test_options.py112 except Exception as ex:CODE
LOWtests/test_backend_msexcel.py63 except Exception:CODE
LOWtests/test_backend_html.py2099 except Exception as exc:CODE
MEDIUMtests/test_backend_msword.py236def _has_libreoffice() -> bool:CODE
LOWtests/test_backend_msword.py116 except Exception:CODE
LOWtests/test_backend_msword.py239 except Exception:CODE
LOWtests/test_glmocr_vlm.py133 except Exception:CODE
LOWtests/test_e2e_conversion.py114 except Exception as exc:CODE
LOWtests/test_falcon_ocr_vlm.py96 except Exception:CODE
LOWtests/test_lightonocr_vlm.py138 except Exception:CODE
LOWtests/test_nanonets_ocr_vlm.py147 except Exception:CODE
LOWtests/test_backend_pptx.py73 except Exception:CODE
LOW…ified-python/references/advanced/exception-handling.md49 except Exception:CODE
LOW…ified-python/references/advanced/exception-handling.md158except Exception:CODE
LOW…ified-python/references/advanced/exception-handling.md167except Exception as e:CODE
LOW…ified-python/references/advanced/exception-handling.md178 except Exception:CODE
LOWdocling/pipeline/video_pipeline.py233 except Exception as exc:CODE
LOWdocling/pipeline/video_pipeline.py267 except Exception as exc:CODE
LOWdocling/pipeline/video_pipeline.py325 except Exception as exc:CODE
LOWdocling/pipeline/video_pipeline.py344 except Exception as exc:CODE
LOWdocling/pipeline/video_pipeline.py355 except Exception:CODE
LOWdocling/pipeline/asr_transcriber.py124 except Exception as e:CODE
LOWdocling/pipeline/asr_transcriber.py328 except Exception as exc:CODE
LOWdocling/pipeline/asr_transcriber.py338 except Exception as e:CODE
LOWdocling/pipeline/asr_transcriber.py458 except Exception as exc:CODE
LOWdocling/pipeline/asr_transcriber.py467 except Exception as exc:CODE
LOWdocling/pipeline/asr_transcriber.py644 except Exception as exc:CODE
LOWdocling/pipeline/asr_transcriber.py653 except Exception as e:CODE
LOWdocling/pipeline/native_pdf_pipeline.py257 except Exception as exc:CODE
LOWdocling/pipeline/base_extraction_pipeline.py50 except Exception as e:CODE
LOWdocling/pipeline/base_pipeline.py95 except Exception as e:CODE
LOWdocling/pipeline/base_pipeline.py367 except Exception as e:CODE
MEDIUMdocling/pipeline/standard_pdf_pipeline.py290def _run(self) -> None:CODE
MEDIUMdocling/pipeline/standard_pdf_pipeline.py855def _produce_pages() -> None:CODE
LOWdocling/pipeline/standard_pdf_pipeline.py298 except Exception: # pragma: no cover - top-level guardCODE
LOWdocling/pipeline/standard_pdf_pipeline.py385 except Exception as exc:CODE
LOWdocling/pipeline/standard_pdf_pipeline.py549 except Exception as exc:CODE
LOWdocling/pipeline/standard_pdf_pipeline.py866 except Exception:CODE
LOWdocling/pipeline/standard_pdf_pipeline.py882 except Exception as exc:CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py105 except Exception as e:CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py148 except Exception as e:CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py199 except Exception as e:CODE
LOWdocling/pipeline/extraction_vlm_pipeline.py206 except Exception as e:CODE
LOWdocling/pipeline/vlm_pipeline.py617 except Exception as exc:CODE
LOW…/experimental/pipeline/threaded_layout_vlm_pipeline.py322 except Exception:CODE
LOW…/experimental/pipeline/threaded_layout_vlm_pipeline.py337 except Exception as exc:CODE
LOW…/experimental/pipeline/threaded_layout_vlm_pipeline.py372 except Exception as exc:CODE
MEDIUM…/experimental/pipeline/threaded_layout_vlm_pipeline.py312def _produce_pages() -> None:CODE
LOW⚡docling/utils/pipeline_cache.py25 except Exception:CODE
LOW⚡docling/utils/pipeline_cache.py33 except Exception:CODE
LOWdocling/utils/api_image_request.py206 except Exception as e:CODE
LOWdocling/utils/api_image_request.py283 except Exception as e:CODE
LOWdocling/utils/video_frame_sampling.py332 except Exception as exc: # pragma: no cover - defensiveCODE
LOWdocling/utils/nemotron_parse_utils.py192 except Exception as exc:CODE
LOWdocling/utils/nemotron_parse_utils.py206 except Exception as exc:CODE
LOW⚡docling/utils/nemotron_parse_utils.py232 except Exception as exc:CODE
LOW⚡docling/utils/nemotron_parse_utils.py246 except Exception as exc:CODE
LOWdocling/utils/deepseekocr_utils.py120 except Exception as e:CODE
163 more matches not shown…
Empty Error Handlers40 hits · 200 pts
SeverityFileLineSnippetContext
HIGHtests/test_backend_msword.py116except Exception:CODE
HIGHdocling/pipeline/video_pipeline.py355except Exception:CODE
HIGHdocling/pipeline/extraction_vlm_pipeline.py91except (json.JSONDecodeError, ValueError):CODE
HIGHdocling/utils/deepseekocr_utils.py352except (ValueError, IndexError):CODE
HIGHdocling/backend/msword_backend.py547except Exception:CODE
HIGHdocling/backend/msword_backend.py1329except Exception:CODE
HIGHdocling/backend/msword_backend.py2045except Exception:CODE
HIGHdocling/backend/msword_backend.py2318except ValueError:CODE
HIGHdocling/backend/msword_backend.py1668except ValueError:CODE
HIGHdocling/backend/msword_backend.py2332except (ValueError, TypeError):CODE
HIGHdocling/backend/msword_backend.py2343except ValueError:CODE
HIGHdocling/backend/msword_backend.py2362except ValueError:CODE
HIGHdocling/backend/msexcel_backend.py71except ImportError: # pragma: no cover - import-time guardCODE
HIGHdocling/backend/msexcel_backend.py1373except (UnidentifiedImageError, OSError, ValueError):CODE
HIGHdocling/backend/mspowerpoint_backend.py82except ImportError: # pragma: no cover - import-time guardCODE
HIGHdocling/backend/mspowerpoint_backend.py632except AttributeError:CODE
HIGHdocling/backend/mspowerpoint_backend.py435except ValueError:CODE
HIGHdocling/backend/mspowerpoint_backend.py456except ValueError:CODE
HIGHdocling/backend/html_backend.py2518except ValueError:CODE
HIGHdocling/backend/latex/utils/text.py40except ImportError:CODE
HIGHdocling/backend/latex/utils/table.py29except ImportError:CODE
HIGHdocling/backend/latex/handlers/macros.py54except ImportError:CODE
HIGHdocling/backend/latex/handlers/macros.py466except Exception:CODE
HIGHdocling/backend/latex/handlers/environments.py37except ImportError:CODE
HIGHdocling/backend/latex/handlers/math.py18except ImportError:CODE
HIGHdocling/backend/utils/image.py35except (ImageCms.PyCMSError, OSError, ValueError):CODE
HIGHdocling/backend/iwork/chart_image.py45except ImportError: # pragma: no cover - import-time guardCODE
HIGHdocling/backend/docx/latex/omml.py24except ImportError:CODE
HIGHdocling/backend/docx/drawingml/utils.py34except ImportError: # pragma: no cover - import-time guardCODE
HIGHdocling/backend/docx/drawingml/utils.py163except Exception:CODE
HIGH…re_description/picture_description_vlm_engine_model.py225except ValueError:CODE
HIGHdocling/models/stages/ocr/kserve_v2_ocr_model.py328except Exception:CODE
HIGH…ling/models/inference_engines/common/kserve_v2_grpc.py234except Exception:CODE
HIGH…rence_engines/object_detection/api_kserve_v2_engine.py259except Exception:CODE
HIGH…e_engines/image_classification/api_kserve_v2_engine.py198except Exception:CODE
HIGHdocling/cli/remote.py418except ImportError:CODE
HIGHdocling/service_client/client.py652except ValueError:CODE
HIGHdocling/datamodel/document.py939except (zipfile.BadZipFile, OSError):CODE
HIGHdocling/datamodel/document.py462except Exception:CODE
HIGHdocs/examples/vlm_pipeline_api_model.py135except json.JSONDecodeError:CODE
Fake / Example Data148 hits · 189 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_backend_iwork_pages.py146 assert "Lorem ipsum dolor sit amet" not in textCODE
LOW⚡tests/test_backend_iwork_pages.py146 assert "Lorem ipsum dolor sit amet" not in textCODE
LOW⚡tests/test_backend_jats.py1363 assert "Jane Doe" in mdCODE
LOWtests/test_backend_jats.py1310 "Jane Doe",CODE
LOWtests/test_backend_jats.py1318 "Jane Doe",CODE
LOW⚡tests/test_backend_opendocument.py653 assert formatted_by_text["Lorem Ipsum is not simply random text"].boldCODE
LOW⚡tests/test_backend_opendocument.py663 assert "**Lorem Ipsum is not simply random text**" in markdownCODE
LOWtests/test_backend_opendocument.py1468 and item.text.startswith("Lorem ipsum dolor sit amet")CODE
LOWtests/test_backend_opendocument.py1468 and item.text.startswith("Lorem ipsum dolor sit amet")CODE
LOWtests/test_latex/test_basic.py449 assert "Jane Doe" in mdSTRING
LOWtests/data/odf/groundtruth/text_document_01.odt.json237 "orig": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the indusCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json238 "text": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the indusCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json262 "orig": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical LCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json263 "text": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical LCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json423 "orig": "Lorem Ipsum is not simply random text",CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json424 "text": "Lorem Ipsum is not simply random text",CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json473 "orig": ", looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, ",CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json474 "text": ", looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, "CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json504 "orig": ", discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.json505 "text": ", discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus CODE
LOWtests/data/odf/groundtruth/odf_presentation_02.odp.md3Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac faucibus odio. Vestibulum neque massa, scelerisque sit CODE
LOWtests/data/odf/groundtruth/odf_presentation_02.odp.md3Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac faucibus odio. Vestibulum neque massa, scelerisque sit CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.md7Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard CODE
LOWtests/data/odf/groundtruth/text_document_01.odt.md11Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literatureCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.md24Contrary to popular belief, **Lorem Ipsum is not simply random text** . Richard McClintock, *a Latin professor at HampCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.html179<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standaCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.html181<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literatCODE
LOWtests/data/odf/groundtruth/text_document_01.odt.html205<span class='inline-group'>Contrary to popular belief, <strong>Lorem Ipsum is not simply random text</strong> . RichardCODE
LOWtests/data/odf/groundtruth/text_document_02.odt.md5Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard CODE
LOWtests/data/odf/groundtruth/text_document_02.odt.md9Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literatureCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md3Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md3Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md9Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md9Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md11Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md11Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md17Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/picture_classification.md17Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt2<text><loc_109><loc_95><loc_390><loc_183>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt2<text><loc_109><loc_95><loc_390><loc_183>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt3<text><loc_109><loc_185><loc_390><loc_213>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt3<text><loc_109><loc_185><loc_390><loc_213>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt5<text><loc_109><loc_265><loc_390><loc_353>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmoCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt5<text><loc_109><loc_265><loc_390><loc_353>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmoCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt6<text><loc_109><loc_355><loc_390><loc_383>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt6<text><loc_109><loc_355><loc_390><loc_383>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt10<text><loc_112><loc_89><loc_401><loc_172>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt10<text><loc_112><loc_89><loc_401><loc_172>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt11<text><loc_112><loc_174><loc_401><loc_208>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt11<text><loc_112><loc_174><loc_401><loc_208>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt13<text><loc_112><loc_227><loc_401><loc_311>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmoCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt13<text><loc_112><loc_227><loc_401><loc_311>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmoCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt14<text><loc_112><loc_313><loc_401><loc_353>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt14<text><loc_112><loc_313><loc_401><loc_353>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt15<text><loc_112><loc_355><loc_401><loc_396>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.doctags.txt15<text><loc_112><loc_355><loc_401><loc_396>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie CODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.md3Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.md3Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magnCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.md5Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulCODE
LOW⚡tests/data/pdf/groundtruth/code_and_formula.md5Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulCODE
88 more matches not shown…
Self-Referential Comments52 hits · 164 pts
SeverityFileLineSnippetContext
MEDIUM.actor/actor.sh19 # Create a temporary home directory with write permissionsCOMMENT
MEDIUM.actor/actor.sh183# Create a dedicated working directory in /tmp (writable)COMMENT
MEDIUM.actor/actor.sh288# Create the request JSONCOMMENT
MEDIUMtests/test_deepseekocr_vlm.py45 # Create a page with the DeepSeek OCR markdown as VLM responseCOMMENT
MEDIUMtests/test_listitem_marker_model.py17 # Create a sample documentCOMMENT
MEDIUMtests/test_backend_webp.py32 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_asr_whisper_s2t.py397 # Create a real file so backend initializesCOMMENT
MEDIUMtests/test_backend_msexcel.py68 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_backend_msexcel.py820 # Create an InputDocument with the BytesIO streamCOMMENT
MEDIUMtests/test_backend_html.py1297 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_backend_msword.py57 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_backend_msword.py659 # Create a backend instance using any existing docx fileCOMMENT
MEDIUMtests/test_e2e_conversion.py31 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_backend_epub.py50 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_backend_csv.py22 # Define the directory you want to searchCOMMENT
MEDIUMtests/test_e2e_ocr_conversion.py35 # Define the directory you want to searchCOMMENT
MEDIUM⚡tests/test_interfaces.py121 # Create an InlineVlmOptions with an invalid enum by patching attribute directlyCOMMENT
MEDIUMtests/test_asr_pipeline.py118 # Create an empty ConversionResult with proper InputDocumentCOMMENT
MEDIUMtests/test_asr_pipeline.py155 # Create a proper NoOpBackend instanceCOMMENT
MEDIUMtests/test_asr_pipeline.py340 # Create a real file so backend initializesCOMMENT
MEDIUMtests/test_asr_pipeline.py596 # Create a real file so backend initializesCOMMENT
MEDIUMtests/test_asr_pipeline.py648 # Create a real file so backend initializesCOMMENT
MEDIUM⚡tests/test_cli.py968 # Create a dummy audio file for testingCOMMENT
MEDIUMtests/test_cli.py988 # Create a dummy audio file for testingCOMMENT
MEDIUMtests/test_backend_pptx.py78 # Define the directory you want to searchCOMMENT
MEDIUM⚡tests/test_latex/test_figures.py81 # Create a temporary directory and test imageCOMMENT
MEDIUM⚡tests/test_latex/test_figures.py87 # Create a simple test image with known DPICOMMENT
MEDIUMdocling/pipeline/standard_pdf_pipeline.py662 # Create a copy to avoid mutating pipeline_options in-place,COMMENT
MEDIUMdocling/utils/visualization.py21 # Create a smaller font for the labelsCOMMENT
MEDIUMdocling/utils/visualization.py120 # Create a deep copy of the original image for both sidesCOMMENT
MEDIUMdocling/utils/deepseekocr_utils.py284 # Create a new documentCOMMENT
MEDIUMdocling/backend/msword_backend.py1187 # Create a paragraph-like element to process with standard handlerCOMMENT
MEDIUMdocling/backend/msword_backend.py2501 # Create a textbox group to contain all text from the textboxCOMMENT
MEDIUMdocling/backend/msword_backend.py4513 # Create a group for this comment in NOTES and add the comment thereCOMMENT
MEDIUMdocling/backend/html_backend.py3056 # Create the list containerCOMMENT
MEDIUMdocling/backend/opendocument_backend.py2283 # Create a sub-table with just this regionCOMMENT
MEDIUMdocling/models/stages/vlm_convert/vlm_convert_model.py122 # Create the engine - pass model_spec, let factory handle config generationCOMMENT
MEDIUM…ing/models/inference_engines/vlm/auto_inline_engine.py199 # Create the actual engineCOMMENT
MEDIUMdocling/models/inference_engines/vlm/vllm_engine.py174 # Create a temporary mixin instance for downloadingCOMMENT
MEDIUMdocling/datamodel/pipeline_options.py1285# Define an enum for the backend optionsCOMMENT
MEDIUMdocling/datamodel/pipeline_options.py1348# Define an enum for the ocr enginesCOMMENT
MEDIUMdocling/datamodel/base_models.py625# Create a type alias for score valuesCOMMENT
MEDIUM⚡docling/datamodel/asr_model_specs.py301# Create the model instanceCOMMENT
MEDIUMdocling/datamodel/asr_model_specs.py91# Create the model instanceCOMMENT
MEDIUMdocling/datamodel/asr_model_specs.py133# Create the model instanceCOMMENT
MEDIUMdocling/datamodel/asr_model_specs.py175# Create the model instanceCOMMENT
MEDIUMdocling/datamodel/asr_model_specs.py217# Create the model instanceCOMMENT
MEDIUMdocling/datamodel/asr_model_specs.py259# Create the model instanceCOMMENT
MEDIUMdocling/datamodel/service/options.py4# Define the input options for the APICOMMENT
MEDIUMdocs/examples/enrich_doclingdocument.py50# The following function is responsible for taking an item and applying the required pre-processing for the model.COMMENT
MEDIUMdocs/examples/legacy/vlm_pipeline_api_model_legacy.py267 # Create the DocumentConverter and launch the conversion.COMMENT
MEDIUMdocs/examples/legacy/minimal_vlm_pipeline_legacy.py6# This file is kept to validate backward compatibility with the old API.COMMENT
Docstring Block Structure29 hits · 145 pts
SeverityFileLineSnippetContext
HIGHdocling/document_converter.py598Convert one document fetched from a file path, URL, or DocumentStream. Note: If the document content is given aSTRING
HIGHdocling/document_converter.py665Convert multiple documents from file paths, URLs, or DocumentStreams. Args: source: Source of inputSTRING
HIGHdocling/document_converter.py747Convert a document given as a string using the specified format. Only Markdown (`InputFormat.MD`), HTML (`InputSTRING
HIGHdocling/utils/paddleocr_vl_utils.py298Convert one saved PaddleOCR-VL page result into a ``DoclingDocument``. Args: content: A bare page payload wSTRING
HIGHdocling/backend/epub_backend.py160Safely extract EPUB contents with zip-bomb protection. Args: target_dir: Directory to extract filesSTRING
HIGHdocling/backend/iwork_backend.py158Open an iWork container and read it, reporting why it could not be. Every way a container can defeat the readers suSTRING
HIGHdocling/backend/iwork_backend.py226Return a container's members, refusing one this is not willing to read. Args: archive: The open container. STRING
HIGHdocling/backend/iwork_backend.py477Read a presentation whose index was zipped a second time. The inner archive holds the object graph and the outeSTRING
HIGHdocling/backend/html_backend.py855Parse an MHTML archive and extract the HTML root, image resources, and base URL. Args: raw: Raw bytSTRING
HIGHdocling/backend/iwork/legacy.py225Decompress and parse the index of an iWork '09 document. Args: archive: The open container. member:STRING
HIGHdocling/backend/iwork/keynote_xml.py155Read an iWork '09 presentation out of its ``index.apxl``. Args: archive: The open ``.key`` container, whichSTRING
HIGHdocling/backend/iwork/pages_xml.py86Read the content of an iWork '09 document out of its ``index.xml``. Args: archive: The open ``.pages`` contSTRING
HIGHdocling/backend/iwork/numbers_xml.py158Read the sheets of an iWork '09 document out of its ``index.xml``. Args: archive: The open ``.numbers`` conSTRING
HIGHdocling/backend/iwork/archives.py869Read every archived object of an iWork 2013+ container, by identifier. Args: archive: The open container, oSTRING
HIGHdocling/backend/iwork/numbers_iwa.py127Read the sheets of a Numbers 3+ document out of its IWA object graph. Args: archive: The open ``.numbers`` STRING
HIGHdocling/backend/iwork/keynote_iwa.py154Read a Keynote 6+ presentation out of its IWA object graph. Args: index: The archive holding the ``.iwa`` mSTRING
HIGHdocling/backend/iwork/pages_iwa.py87Read the content of a Pages 5+ document out of its IWA object graph. Args: archive: The open ``.pages`` conSTRING
HIGHdocling/backend/docx/drawingml/utils.py267Convert a legacy binary Office file to modern Open XML format via LibreOffice. Both file paths and in-memory streamSTRING
HIGH…g/models/stages/code_formula/code_formula_vlm_model.py145Construct the prompt for the model based on the element type. Args: label: The type of input, eitheSTRING
HIGHdocling/models/stages/vlm_convert/vlm_convert_model.py356Process raw images without page metadata. This method provides a simpler interface for processing images directSTRING
HIGHdocling/models/inference_engines/vlm/factory.py38Create a VLM inference engine from options. Args: options: Engine configuration options model_spec:STRING
HIGHdocling/models/inference_engines/vlm/_utils.py107Convert any image format to RGB PIL Image. Args: image: Input image as PIL Image or numpy array ReturnSTRING
HIGHdocling/models/inference_engines/vlm/_utils.py185Resolve the path to model artifacts, downloading if needed. This standardizes the logic for finding or downloading STRING
HIGH…ling/models/inference_engines/common/kserve_v2_http.py228Execute HTTP request with consistent error handling. Args: url: Target URL method: HTTPSTRING
HIGH…ling/models/inference_engines/common/kserve_v2_http.py325Execute inference request against KServe v2 endpoint. Args: inputs: Mapping of input tensor names tSTRING
HIGH…ling/models/extraction/nuextract_transformers_model.py32 Process vision information from both messages and in-context examples, supporting batch processing. Args: STRING
HIGHdocling/datamodel/pipeline_options.py1316Normalize deprecated backend enum values to current ones. Args: backend: The PDF backend enum value to normSTRING
HIGHdocling/datamodel/stage_model_specs.py321Check if this model has an explicit export for the given engine. An explicit export means either: 1. ThSTRING
HIGHdocling/datamodel/stage_model_specs.py587Get a specific preset. Args: preset_id: The preset identifier Returns: The reqSTRING
Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHtests/test_glmocr_vlm.py0verify preset is registered with correct metadata and model spec.STRING
HIGHtests/test_falcon_ocr_vlm.py0verify preset is registered with correct metadata and model spec.STRING
HIGHtests/test_lightonocr_vlm.py0verify preset is registered with correct metadata and model spec.STRING
HIGHtests/test_nanonets_ocr_vlm.py0verify preset is registered with correct metadata and model spec.STRING
HIGHtests/test_glmocr_vlm.py0verify engine overrides propagate correctly through get_engine_config.STRING
HIGHtests/test_falcon_ocr_vlm.py0verify engine overrides propagate correctly through get_engine_config.STRING
HIGHtests/test_lightonocr_vlm.py0verify engine overrides propagate correctly through get_engine_config.STRING
HIGHtests/test_nanonets_ocr_vlm.py0verify engine overrides propagate correctly through get_engine_config.STRING
HIGHtests/test_glmocr_vlm.py0verify from_preset produces a usable vlmconvertoptions with engine options.STRING
HIGHtests/test_falcon_ocr_vlm.py0verify from_preset produces a usable vlmconvertoptions with engine options.STRING
HIGHtests/test_lightonocr_vlm.py0verify from_preset produces a usable vlmconvertoptions with engine options.STRING
HIGHtests/test_nanonets_ocr_vlm.py0verify from_preset produces a usable vlmconvertoptions with engine options.STRING
HIGHtests/test_glmocr_vlm.py0verify legacy inlinevlmoptions/apivlmoptions specs are consistent.STRING
HIGHtests/test_lightonocr_vlm.py0verify legacy inlinevlmoptions/apivlmoptions specs are consistent.STRING
HIGHtests/test_nanonets_ocr_vlm.py0verify legacy inlinevlmoptions/apivlmoptions specs are consistent.STRING
HIGHtests/test_glmocr_vlm.py0e2e test with vllm server (skipped in ci and when server is unavailable).STRING
HIGHtests/test_lightonocr_vlm.py0e2e test with vllm server (skipped in ci and when server is unavailable).STRING
HIGHtests/test_nanonets_ocr_vlm.py0e2e test with vllm server (skipped in ci and when server is unavailable).STRING
HIGHdocling/backend/iwork/keynote_xml.py0what numbers calls its documents, for the error messages of a shared reader.STRING
HIGHdocling/backend/iwork/keynote_iwa.py0what numbers calls its documents, for the error messages of a shared reader.STRING
HIGHdocling/backend/iwork/pages_xml.py0what numbers calls its documents, for the error messages of a shared reader.STRING
HIGHdocling/backend/iwork/pages_iwa.py0what numbers calls its documents, for the error messages of a shared reader.STRING
HIGHdocling/backend/iwork/numbers_xml.py0what numbers calls its documents, for the error messages of a shared reader.STRING
HIGHdocling/backend/iwork/numbers_iwa.py0what numbers calls its documents, for the error messages of a shared reader.STRING
HIGHdocling/models/stages/ocr/_nemotron_ocr_model.py0report the native and bcp74 languages without script whenever it is not neededSTRING
HIGHdocling/models/stages/ocr/nemotron_ocr_model.py0report the native and bcp74 languages without script whenever it is not neededSTRING
HIGHdocling/models/stages/ocr/easyocr_model.py0report the native and bcp74 languages without script whenever it is not neededSTRING
Over-Commented Block102 hits · 101 pts
SeverityFileLineSnippetContext
LOWtests/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWtests/test_reading_order.py321COMMENT
LOWtests/test_reading_order.py701COMMENT
LOWtests/test_latex/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWtests/data/uspto/sources/pftaps057006474.txt861 ##STR83##COMMENT
LOWtests/data/html/groundtruth/unit_test_01.html.md1# TitleCOMMENT
LOWtests/data/html/groundtruth/hyperlink_02.html.md1## [Home](/home.html)COMMENT
LOWtests/data/pptx/groundtruth/powerpoint_bad_text.pptx.md1# X-Library The fully customisable and copyright-free standard content template collection exclusively for our customersCOMMENT
LOWdocling/pipeline/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/utils/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/latex/libraries/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/latex/utils/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/latex/engines/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/latex/handlers/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/utils/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/xml/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/json/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/docx/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/backend/docx/latex/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/picture_description/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/picture_classifier/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/code_formula/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/layout/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/page_preprocessing/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/page_assemble/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/reading_order/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/ocr/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/table_structure/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/vlm_convert/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/heading_hierarchy/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/stages/chart_extraction/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/plugins/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/utils/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/postprocessing/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/vlm_pipeline_models/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/models/extraction/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/cli/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/datamodel/__init__.py1# SPDX-FileCopyrightText: The Docling ContributorsCOMMENT
LOWdocling/datamodel/asr_model_specs.py681 batch_size=6,COMMENT
LOWdocs/examples/granitedocling_repetition_stopping.py1# %% [markdown]COMMENT
LOWdocs/examples/granitedocling_repetition_stopping.py81# custom_vlm_options = ApiVlmOptions(COMMENT
LOWdocs/examples/granitedocling_repetition_stopping.py101# enable_remote_services=True, # required when using a remote inference service.COMMENT
LOWdocs/examples/inspect_picture_content.py1# %% [markdown]COMMENT
LOWdocs/examples/compare_vlm_models.py1# %% [markdown]COMMENT
LOWdocs/examples/translate.py1# %% [markdown]COMMENT
LOWdocs/examples/picture_description_api_usage.py1# %% [markdown]COMMENT
LOWdocs/examples/picture_description_api_usage.py21# docs/examples/run_picture_description_api_usage.sh path/to/input.pdfCOMMENT
LOWdocs/examples/picture_description_api_usage.py41# OpenAI-compatible responses.COMMENT
LOWdocs/examples/trivial_chunking.py1# %% [markdown]COMMENT
LOWdocs/examples/trivial_chunking.py21# rather than the retrieval-oriented, token-bounded chunks the built-in chunkersCOMMENT
LOWdocs/examples/export_figures.py1# %% [markdown]COMMENT
LOWdocs/examples/heading_levels.py1# %% [markdown]COMMENT
LOWdocs/examples/enrich_doclingdocument.py1# %% [markdown]COMMENT
LOWdocs/examples/gpu_vlm_pipeline.py1# %% [markdown]COMMENT
LOWdocs/examples/model_family_engines_example.py1# %% [markdown]COMMENT
LOWdocs/examples/run_with_formats.py1# %% [markdown]COMMENT
LOWdocs/examples/minimal_asr_pipeline.py1# %% [markdown]COMMENT
42 more matches not shown…
Redundant / Tautological Comments61 hits · 91 pts
SeverityFileLineSnippetContext
LOW.actor/actor.sh208 # Check if process is still runningCOMMENT
LOWtests/test_deepseekocr_vlm.py103 # Check if ollama is availableCOMMENT
LOWtests/test_backend_msword.py158 # Verify if a particular textbox content is extractedCOMMENT
LOW⚡tests/test_backend_epub.py142 # Check if document has picturesCOMMENT
LOWtests/test_asr_pipeline.py60 # Check if the test audio file existsCOMMENT
LOWtests/test_latex/test_macros.py399 # Check if macros were registeredSTRING
LOWdocling/pipeline/vlm_pipeline.py81 # Check if using new VlmConvertOptionsCOMMENT
LOWdocling/utils/layout_postprocessor.py493 # Check if areas are similar (within 20% of each other)COMMENT
LOWdocling/utils/deepseekocr_utils.py358 # Check if NEXT annotation is a caption for this table/figure/imageCOMMENT
LOWdocling/backend/msword_backend.py1911 # Check if this is a heading styleCOMMENT
LOWdocling/backend/msword_backend.py2680 # Check if this paragraph contains a checkboxCOMMENT
LOWdocling/backend/msword_backend.py2701 # Check if this is actually a numbered list by examining the numFmtCOMMENT
LOWdocling/backend/msword_backend.py4465 # Check if document has any commentsCOMMENT
LOWdocling/backend/msexcel_backend.py1005 # Check if this is a threaded comment with better data in XMLCOMMENT
LOWdocling/backend/msexcel_backend.py1979 # Check if cell position is within this item's bounding boxCOMMENT
LOW⚡docling/backend/noop_backend.py30 # Check if stream has contentCOMMENT
LOW⚡docling/backend/noop_backend.py36 # Check if file existsCOMMENT
LOWdocling/backend/mspowerpoint_backend.py638 # Check if it's definitely a list itemCOMMENT
LOWdocling/backend/mspowerpoint_backend.py651 # Check if it's definitely not a list itemCOMMENT
LOWdocling/backend/mspowerpoint_backend.py755 # Check if master has marker informationCOMMENT
LOWdocling/backend/html_backend.py2026 # Check if cell is in a column header or row headerCOMMENT
LOWdocling/backend/html_backend.py3272 # Check if this list has a ul/ol/dl ancestor within the current liCOMMENT
LOWdocling/backend/opendocument_backend.py294 # Check if cell has content (value or is part of a span)COMMENT
LOWdocling/backend/opendocument_backend.py2142 # Check if this is a singleton (1x1 table)COMMENT
LOWdocling/backend/opendocument_backend.py2202 # Check if we found any dataCOMMENT
LOWdocling/backend/opendocument_backend.py2368 # Check if the table has a display attribute indicating it's hiddenCOMMENT
LOWdocling/backend/xml/xbrl_backend.py94 # Check if arelle is available before proceedingCOMMENT
LOWdocling/backend/xml/jats_backend.py1068 # Check if cell is in a column header or row headerCOMMENT
LOWdocling/backend/docx/latex/omml.py657 # Check if base is a known limit functionCOMMENT
LOWdocling/backend/docx/latex/omml.py662 # Check if base is a grouping function (underbrace, overbrace, etc.)COMMENT
LOW…/stages/page_preprocessing/page_preprocessing_model.py188 ) # Check if text is mostly slash-number patternCODE
LOWdocling/models/stages/ocr/tesseract_ocr_model.py224 # Check if the detected language is present in the systemCOMMENT
LOWdocling/models/stages/ocr/tesseract_ocr_cli_model.py296 # Check if the detected language has been installedSTRING
LOW…models/stages/table_structure/table_structure_model.py236 # Check if word-level cells are available from backend:COMMENT
LOW…ing/models/inference_engines/vlm/auto_inline_engine.py100 # Check if model has explicit MLX exportCOMMENT
LOW…/inference_engines/vlm/api_openai_compatible_engine.py175 # Check if stopped by custom criteriaCOMMENT
LOWdocling/models/postprocessing/reading_order_rb.py892 # Check if w interrupts the i->j sequenceCOMMENT
LOW…ng/models/vlm_pipeline_models/hf_transformers_model.py331 # Check if it's a GenerationStopper classCOMMENT
LOWdocling/datamodel/accelerator_options.py101 # Check if to set the num_threads from the alternative envvarSTRING
LOWdocling/datamodel/asr_model_specs.py42 # Check if mlx-whisper is availableCOMMENT
LOWdocling/datamodel/service/options.py1078 # Check if using legacy fields with new fieldsCOMMENT
LOWdocling/datamodel/service/options.py1109 # Check if using legacy fields with new fieldsCOMMENT
LOWdocs/examples/enrich_simple_pipeline.py15# Check if running in CICOMMENT
LOWdocs/examples/model_family_engines_example.py53# Check if running in CICOMMENT
LOWdocs/examples/run_with_formats.py50# Check if running in CICOMMENT
LOWdocs/examples/minimal_asr_pipeline.py66 # Check if the test audio file existsCOMMENT
LOWdocs/examples/chart_extraction.py144 # Check if the picture was classified as a chart.COMMENT
LOWdocs/examples/chart_extraction.py150 # Check if chart data was extracted.COMMENT
LOWdocs/examples/pictures_description_api.py101 # Check if running in CI environmentCOMMENT
LOWdocs/examples/pictures_description_api.py111 # Check if credentials are availableCOMMENT
LOWdocs/examples/picture_description_inline.py46# Check if running in CICOMMENT
LOWdocs/examples/asr_pipeline_performance_comparison.py156 # Check if we're on Apple SiliconCOMMENT
LOWdocs/examples/post_process_ocr_with_vlm.py674 # Read file names (strip whitespace, ignore empty lines)COMMENT
LOWdocs/examples/develop_formula_understanding.py33# Check if running in CICOMMENT
LOWdocs/examples/vlm_pipeline_api_model.py54 # Check if model is already loadedCOMMENT
LOW⚡docs/examples/vlm_pipeline_api_model.py102 # Check if model existsCOMMENT
LOWdocs/examples/vlm_pipeline_api_model.py168 # Check if LM Studio is runningCOMMENT
LOWdocs/examples/vlm_pipeline_api_model.py238 # Check if Ollama is runningCOMMENT
LOWdocs/examples/vlm_pipeline_api_model.py300 # Check if VLLM is runningCOMMENT
LOWdocs/examples/vlm_pipeline_api_model.py358 # Check if running in CI environmentCOMMENT
1 more matches not shown…
Modern AI Meta-Vocabulary17 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUM⚡pyproject.toml281# Document chunking for RAG applicationsCOMMENT
MEDIUMtests/test_backend_ebcdic.py125 # add megabytes of cell scaffolding without covering anything the tables doCOMMENT
MEDIUMtests/data/latex/groundtruth/2310.06825_main.tex.md189## Adding guardrails for front-facing applicationsCOMMENT
MEDIUMtests/data/latex/groundtruth/2310.06825_main.tex.md195### System prompt to enforce guardrailsCOMMENT
MEDIUM…building-pydantic-ai-agents/references/ARCHITECTURE.md11 - [Choosing a Multi-Agent Pattern](#choosing-a-multi-agent-pattern)CODE
MEDIUM…ai-agents/references/ORCHESTRATION-AND-INTEGRATIONS.md98## Use Embeddings for RAGCOMMENT
MEDIUMdocling/.agents/skills/docling/references/rag.md1# Docling for RAG (integrations)COMMENT
MEDIUMdocling/.agents/skills/docling/references/python-sdk.md258## Chunking for RAGCOMMENT
MEDIUM…ng/.agents/skills/docling/references/service-client.md84## Chunk remotely (RAG)COMMENT
MEDIUMdocs/usage/processing_audio_media.md150### Building a RAG pipeline with LangChainCOMMENT
MEDIUMdocs/integrations/haiku_rag.md1Docling is the default document converter and chunker in [haiku.rag](https://ggozad.github.io/haiku.rag/), an agentic RACODE
MEDIUMdocs/integrations/nvidia.md6- [✍️ PDF to Podcast blog post](https://blogs.nvidia.com/blog/agentic-ai-blueprints/)CODE
MEDIUMdocs/examples/post_process_ocr_with_vlm.py537 # The last measure against hallucinationsCOMMENT
MEDIUMdocs/examples/develop_formula_understanding.py2# Developing an enrichment model example (formula understanding: scaffold only).COMMENT
MEDIUMdocs/examples/develop_formula_understanding.py9# - This is a development scaffold; it does not run a real formula understanding model.COMMENT
MEDIUMdocs/examples/develop_picture_enrichment.py2# Developing a picture enrichment model (classifier scaffold only).COMMENT
MEDIUMdocs/examples/develop_picture_enrichment.py9# - This is a scaffold for development; it does not run a real classifier.COMMENT
Cross-Language Confusion13 hits · 48 pts
SeverityFileLineSnippetContext
HIGHtests/test_backend_text_encoding.py169 """cp1252 leaves five byte values undefined, and nothing follows it.STRING
HIGHtests/test_check_skill_routes.py62 "content", ["{", "[]", "{}", '{"../escape": "Task"}', '{"review": null}']CODE
HIGH⚡docling/backend/html_backend.py1258 const width = rect.width || 0;STRING
HIGH⚡docling/backend/html_backend.py1259 const height = rect.height || 0;STRING
HIGH⚡docling/backend/html_backend.py1260 if (width <= 0 && height <= 0) {STRING
HIGH⚡docling/backend/html_backend.py1267 let textLeft = null;STRING
HIGH⚡docling/backend/html_backend.py1268 let textTop = null;STRING
HIGH⚡docling/backend/html_backend.py1269 let textRight = null;STRING
HIGH⚡docling/backend/html_backend.py1270 let textBottom = null;STRING
HIGH⚡docling/backend/html_backend.py1283 const tWidth = tRect.width || 0;STRING
HIGH⚡docling/backend/html_backend.py1284 const tHeight = tRect.height || 0;STRING
HIGH⚡docling/backend/html_backend.py1285 if (tWidth <= 0 && tHeight <= 0) {STRING
HIGHdocling/datamodel/service/responses.py33 Plain stored floats (NaN coerced to null) rather than a reuse ofSTRING
AI Slop Vocabulary17 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml346 # covered by one harness; see tests/fakes/.COMMENT
MEDIUMtests/test_backend_pptx.py151 """Test comprehensive comment extraction including metadata, authors, and slide distribution."""STRING
MEDIUMtests/data/uspto/sources/ipg07997973.xml3813<p id="p-0056" num="0055">An enumerated list of items (which may or may not be numbered) does not imply that any or all CODE
MEDIUMtests/data/uspto/sources/ipg07997973.xml3988 <li id="ul0012-0008" num="0196">&#x2003;The various methods of disguising a game described herein may prCODE
MEDIUMtests/data/uspto/sources/ipg07997973.xml4017 <li id="ul0002-0035" num="0215">&#x2003;In various embodiments, the data about the games of a primary player mayCODE
MEDIUMtests/data/uspto/sources/ipg07997973.xml4247 <li id="ul0028-0018" num="0367">&#x2003;Any physical game described herein may be implemented electronically in CODE
MEDIUMtests/data/jats/sources/elife-56337.xml3<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="researcCODE
MEDIUMtests/data/jats/sources/ptag100.xml109<p>In light of this, it is essential to establish a theoretical framework that enables systematic analysis and interpretCODE
MEDIUMtests/data/jats/sources/ptag100.xml219<p>Equation&#x00A0;(<xref ref-type="disp-formula" rid="equ7">7</xref>) with Eqs.&#x00A0;(<xref ref-type="disp-formula" rCODE
MEDIUMtests/data/jats/sources/ptag100.xml529<p>Our solutions are essential for analyzing quark&#x2013;antiquark pairs, which form the core of mesons and thus play aCODE
MEDIUM⚡tests/data/xbrl/sources/grve_10q_htm.xml2459 <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="From2025-04-01to2025-12-31" id="fid_281">&lt;p style="FOCODE
MEDIUM⚡tests/data/xbrl/sources/grve_10q_htm.xml2459 <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="From2025-04-01to2025-12-31" id="fid_281">&lt;p style="FOCODE
MEDIUM⚡tests/data/xbrl/sources/grve_10q_htm.xml2460 <us-gaap:BasisOfAccountingPolicyPolicyTextBlock contextRef="From2025-04-01to2025-12-31" id="fid_289">&lt;p style="FOCODE
MEDIUM⚡tests/data/xbrl/sources/grve_10q_htm.xml2460 <us-gaap:BasisOfAccountingPolicyPolicyTextBlock contextRef="From2025-04-01to2025-12-31" id="fid_289">&lt;p style="FOCODE
MEDIUMtests/data/json_dots/sources/dots_simple.json1[{"bbox": [29, 435, 74, 1121], "category": "Text", "text": "arXiv:2206.01062v1 [cs.CV] 2 Jun 2022"}, {"bbox": [211, 161,CODE
MEDIUMdocling/backend/epub_backend.py399 # TODO: leverage `self.metadata` once DoclingDocument supports file metadataCOMMENT
LOWdocling/backend/html_backend.py5223 # Do not fetch the image, just add a placeholderCOMMENT
Magic Placeholder Names6 hits · 32 pts
SeverityFileLineSnippetContext
HIGH…ng/.agents/skills/docling/references/service-client.md49DOCLING_SERVICE_API_KEY=your-api-key # omit if the service is unauthenticatedCODE
HIGHdocling/datamodel/backend_options.py158 examples=[{"Authorization": "Bearer TOKEN"}, {"X-API-Key": "your-api-key"}],CODE
HIGHdocs/usage/mcp.md37export DOCLING_SERVICE_API_KEY=your-api-key # if the service requires oneCODE
HIGHdocs/examples/granitedocling_repetition_stopping.py90# # "Authorization": "Bearer YOUR_API_KEY", # if neededCOMMENT
HIGHdocs/examples/service_client/README.md14DOCLING_SERVICE_API_KEY=your-api-key # omit if the service is unauthenticatedCODE
HIGHpackages/docling-client/README.md35DOCLING_SERVICE_API_KEY=your-api-key # omit if the service is unauthenticatedCODE
Modern Structural Boilerplate24 hits · 24 pts
SeverityFileLineSnippetContext
LOWtests/test_backend_pptx_hidden_shapes.py16def _set_shape_hidden(shape, value: str = "1") -> None:CODE
LOWdocling/__init__.py8__all__ = ["__version__"]CODE
LOWdocling/experimental/models/table_crops_layout_model.py22__all__ = ["TableCropsLayoutModel"]CODE
LOW…g/experimental/datamodel/table_crops_layout_options.py10__all__ = ["TableCropsLayoutOptions"]CODE
LOWdocling/utils/paddleocr_vl_utils.py46__all__ = ["parse_paddleocr_vl_result"]CODE
LOWdocling/utils/layout_postprocessor.py398 def _set_cluster_children(self, cluster: Cluster, children: list[Cluster]) -> None:CODE
LOWdocling/backend/latex_backend.py6__all__ = ["LatexDocumentBackend"]CODE
LOWdocling/backend/latex/__init__.py6__all__ = ["LatexDocumentBackend"]CODE
LOWdocling/backend/xml/uspto_backend.py175 def _set_parser(self, doctype: str) -> None:CODE
LOW…ages/picture_classifier/document_picture_classifier.py34__all__ = [CODE
LOWdocling/models/inference_engines/__init__.py16__all__ = []CODE
LOWdocling/models/inference_engines/vlm/__init__.py24__all__ = [CODE
LOWdocling/models/inference_engines/common/__init__.py10__all__ = ["HfVisionModelMixin", "KserveV2Client", "KserveV2HttpClient"]CODE
LOW…/models/inference_engines/object_detection/__init__.py17__all__ = [CODE
LOW…els/inference_engines/image_classification/__init__.py17__all__ = [CODE
LOWdocling/models/factories/picture_description_factory.py9logger = logging.getLogger(__name__)CODE
LOWdocling/models/factories/__init__.py14logger = logging.getLogger(__name__)CODE
LOWdocling/models/factories/ocr_factory.py9logger = logging.getLogger(__name__)CODE
LOWdocling/models/factories/base_factory.py19logger = logging.getLogger(__name__)CODE
LOWdocling/service_client/_async_client.py105logger = logging.getLogger(__name__)CODE
LOWdocling/service_client/client.py119logger = logging.getLogger(__name__)CODE
LOWdocling/service_client/__init__.py46__all__ = [CODE
LOWdocling/datamodel/service/__init__.py108__all__ = [CODE
LOWdocling/datamodel/service/sources.py14__all__ = [CODE
AI Structural Patterns11 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocling/utils/model_downloader.py55CODE
LOWdocling/utils/video_frame_sampling.py500CODE
LOWdocling/backend/opendocument_backend.py1484CODE
LOWdocling/cli/models.py90CODE
LOWdocling/cli/remote.py134CODE
LOWdocling/cli/main.py508CODE
LOWdocling/cli/main.py795CODE
LOWdocling/service_client/_async_client.py112CODE
LOWdocling/service_client/client.py239CODE
LOWdocling/service_client/client.py811CODE
LOWdocling/service_client/client.py914CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHdocs/examples/picture_description_inline.py7# - Enriches documents with AI-generated image captionsCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…ata/latex/groundtruth/arXiv-2501.01300v2_main.tex.json852 "orig": "Continuum estimates for charmed baryon and meson partial pressures shown in Fig. [fig:enhan] are obtainedCODE
MEDIUM…ata/latex/groundtruth/arXiv-2501.01300v2_main.tex.json853 "text": "Continuum estimates for charmed baryon and meson partial pressures shown in Fig. [fig:enhan] are obtainedCODE