Repository Analysis

datalab-to/surya

OCR, layout analysis, reading order, table recognition in 90+ languages

35.3 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of datalab-to/surya, a Python project with 21,091 GitHub stars. SynthScan v2.0 examined 14,324 lines of code across 115 source files, recording 232 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 35.3 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

35.3
Adjusted Score
35.3
Raw Score
100%
Time Factor
2026-07-09
Last Push
21.1K
Stars
Python
Language
14.3K
Lines of Code
115
Files
232
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 83LOW 149

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 232 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators79 hits · 346 pts
SeverityFileLineSnippetContext
MEDIUMsurya/common/rfdetr/util/misc.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/misc.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/misc.py9# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/misc.py13# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/misc.py16# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/box_ops.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/box_ops.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/box_ops.py9# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/box_ops.py13# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/box_ops.py16# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/__init__.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/__init__.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/__init__.py9# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/__init__.py13# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/__init__.py16# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/logger.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/util/logger.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/position_encoding.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/position_encoding.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/position_encoding.py8# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/position_encoding.py11# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/position_encoding.py14# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/__init__.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/__init__.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/__init__.py8# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/__init__.py11# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/__init__.py14# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/transformer.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/transformer.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/transformer.py8# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/transformer.py11# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/transformer.py14# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/lwdetr.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/lwdetr.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/lwdetr.py8# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/lwdetr.py11# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/lwdetr.py14# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/lwdetr.py17# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/__init__.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/__init__.py5# ------------------------------------------------------------------------COMMENT
MEDIUM…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py1# ------------------------------------------------------------------------COMMENT
MEDIUM…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py5# ------------------------------------------------------------------------COMMENT
MEDIUM…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py8# ------------------------------------------------------------------------------------------------COMMENT
MEDIUM…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py11# ------------------------------------------------------------------------------------------------COMMENT
MEDIUM…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py13# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/functions/__init__.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/functions/__init__.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/functions/__init__.py8# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/functions/__init__.py11# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/functions/__init__.py13# ------------------------------------------------------------------------------------------------COMMENT
MEDIUM…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py1# ------------------------------------------------------------------------COMMENT
MEDIUM…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py5# ------------------------------------------------------------------------COMMENT
MEDIUM…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py8# ------------------------------------------------------------------------------------------------COMMENT
MEDIUM…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py11# ------------------------------------------------------------------------------------------------COMMENT
MEDIUM…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py13# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/modules/__init__.py1# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/modules/__init__.py5# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/modules/__init__.py9# ------------------------------------------------------------------------COMMENT
MEDIUMsurya/common/rfdetr/models/ops/modules/__init__.py11# ------------------------------------------------------------------------COMMENT
MEDIUM…on/rfdetr/models/backbone/dinov2_with_windowed_attn.py1# ------------------------------------------------------------------------COMMENT
19 more matches not shown…
Unused Imports41 hits · 41 pts
SeverityFileLineSnippetContext
LOWsurya/layout/__init__.py1CODE
LOWsurya/common/rfdetr_torch.py12CODE
LOWsurya/common/blank.py14CODE
LOWsurya/common/order/predictor.py8CODE
LOWsurya/common/order/__init__.py1CODE
LOWsurya/common/order/__init__.py1CODE
LOWsurya/common/order/order_ar.py11CODE
LOWsurya/common/rfdetr/predictor.py10CODE
LOWsurya/common/rfdetr/__init__.py8CODE
LOWsurya/common/rfdetr/models/__init__.py16CODE
LOWsurya/common/rfdetr/models/__init__.py16CODE
LOW…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py18CODE
LOW…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py18CODE
LOW…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py18CODE
LOWsurya/common/rfdetr/models/ops/functions/__init__.py18CODE
LOW…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py18CODE
LOW…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py18CODE
LOW…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py18CODE
LOWsurya/common/rfdetr/models/ops/modules/__init__.py13CODE
LOWsurya/common/rfdetr/models/backbone/__init__.py10CODE
LOWsurya/common/rfdetr/models/backbone/__init__.py10CODE
LOWsurya/common/rfdetr/models/backbone/__init__.py15CODE
LOWsurya/scripts/streamlit_app.py4CODE
LOWsurya/scripts/screenshot_app.py10CODE
LOWsurya/inference/__init__.py9CODE
LOWsurya/inference/parsers.py3CODE
LOWsurya/inference/prompts.py4CODE
LOWsurya/inference/prompts.py5CODE
LOWsurya/inference/prompts.py8CODE
LOWsurya/inference/prompts.py9CODE
LOWsurya/inference/backends/vllm.py3CODE
LOWsurya/inference/backends/__init__.py1CODE
LOWsurya/inference/backends/__init__.py2CODE
LOWsurya/inference/backends/spawn.py7CODE
LOWsurya/inference/backends/openai_client.py7CODE
LOWsurya/inference/backends/base.py1CODE
LOWsurya/inference/backends/llamacpp.py8CODE
LOWsurya/fast_layout/__init__.py8CODE
LOWsurya/recognition/__init__.py7CODE
LOWsurya/table_rec/__init__.py10CODE
LOWsurya/detection/model/encoderdecoder.py12CODE
Excessive Try-Catch Wrapping28 hits · 29 pts
SeverityFileLineSnippetContext
LOWsurya/layout/__init__.py88 except Exception as e:CODE
LOWsurya/ocr_error/loader.py25 except Exception as e: # noqa: BLE001 - retried belowCODE
LOWsurya/common/rfdetr_torch.py54 except Exception:CODE
LOWsurya/common/s3.py61 except Exception as e:CODE
LOWsurya/common/s3.py80 except Exception:CODE
LOWsurya/common/s3.py168 except Exception as e:CODE
LOWsurya/common/order/predictor.py116 except Exception:CODE
LOWsurya/scripts/screenshot_app.py76 except Exception:CODE
LOWsurya/scripts/screenshot_app.py141 except Exception as e:CODE
LOWsurya/scripts/screenshot_app.py161 except Exception as e:CODE
LOWsurya/scripts/screenshot_app.py182 except Exception as e:CODE
LOWsurya/scripts/screenshot_app.py216 except Exception as e:CODE
LOWsurya/inference/__init__.py40 except Exception:CODE
LOWsurya/inference/__init__.py58 except Exception:CODE
LOWsurya/inference/backends/spawn.py54 except Exception:CODE
LOWsurya/inference/backends/spawn.py79 except Exception:CODE
LOWsurya/inference/backends/spawn.py104 except Exception:CODE
LOWsurya/inference/backends/spawn.py117 except Exception:CODE
LOWsurya/inference/backends/spawn.py137 except Exception as e:CODE
LOWsurya/inference/backends/spawn.py157 except Exception as e:CODE
LOWsurya/inference/backends/spawn.py168 except Exception as e:CODE
LOWsurya/inference/backends/openai_client.py138 except Exception as e:CODE
LOWsurya/recognition/__init__.py300 except Exception:CODE
LOWsurya/table_rec/__init__.py105 except Exception as e:CODE
LOWsurya/debug/draw.py56 except Exception as e:CODE
MEDIUMsurya/debug/draw.py57 print(f"Error drawing rectangle at {box_position}: {e}")CODE
LOWtests/conftest.py24 except Exception as exc: # SpawnError, binary missing, port issues, etc.CODE
LOWtests/conftest.py29 except Exception:CODE
AI Structural Patterns21 hits · 21 pts
SeverityFileLineSnippetContext
LOWsurya/ocr_error/model/config.py16CODE
LOWsurya/common/rfdetr/models/transformer.py134CODE
LOWsurya/common/rfdetr/models/transformer.py376CODE
LOWsurya/common/rfdetr/models/transformer.py490CODE
LOWsurya/common/rfdetr/models/transformer.py533CODE
LOWsurya/common/rfdetr/models/transformer.py588CODE
LOW…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py152CODE
LOW…on/rfdetr/models/backbone/dinov2_with_windowed_attn.py541CODE
LOW…on/rfdetr/models/backbone/dinov2_with_windowed_attn.py131CODE
LOWsurya/common/rfdetr/models/backbone/dinov2.py55CODE
LOWsurya/common/rfdetr/models/backbone/backbone.py37CODE
LOWsurya/common/rfdetr/models/backbone/projector.py122CODE
LOWsurya/detection/heatmap.py165CODE
LOWsurya/detection/processor.py83CODE
LOWsurya/detection/processor.py175CODE
LOWsurya/detection/processor.py221CODE
LOWsurya/detection/model/config.py12CODE
LOWsurya/detection/model/encoderdecoder.py59CODE
LOWsurya/detection/model/encoderdecoder.py237CODE
LOWsurya/detection/model/encoderdecoder.py284CODE
LOWsurya/detection/model/encoderdecoder.py382CODE
Hyper-Verbose Identifiers20 hits · 20 pts
SeverityFileLineSnippetContext
LOWsurya/ocr_error/__init__.py21 def batch_ocr_error_detection(CODE
LOWsurya/common/pretrained.py9 def _check_and_adjust_attn_implementation(CODE
LOWsurya/common/compat.py6def verify_out_features_out_indices(CODE
LOWsurya/common/compat.py78def _align_output_features_output_indices(CODE
LOWsurya/common/compat.py109def get_aligned_output_features_output_indices(CODE
LOWsurya/common/compat.py146def find_pruneable_heads_and_indices(CODE
LOWsurya/common/rfdetr/util/misc.py67 def synchronize_between_processes(self) -> None:CODE
LOWsurya/common/rfdetr/util/misc.py209 def synchronize_between_processes(self) -> None:CODE
LOWsurya/common/rfdetr/util/misc.py333def nested_tensor_from_tensor_list(tensor_list: List[Tensor]) -> NestedTensor:CODE
LOWsurya/common/rfdetr/util/misc.py361def _onnx_nested_tensor_from_tensor_list(tensor_list: List[Tensor]) -> NestedTensor:CODE
LOWsurya/common/rfdetr/util/misc.py409def is_dist_avail_and_initialized():CODE
LOWsurya/common/rfdetr/models/transformer.py45def gen_sineembed_for_position(pos_tensor, dim=128):CODE
LOWsurya/common/rfdetr/models/transformer.py74def gen_encoder_output_proposals(memory, memory_padding_mask, spatial_shapes, unsigmoid=True):CODE
LOWsurya/common/rfdetr/models/lwdetr.py114 def reinitialize_detection_head(self, num_classes):CODE
LOWsurya/common/rfdetr/models/lwdetr.py295 def _get_backbone_encoder_layers(self) -> Optional[nn.ModuleList]:CODE
LOW…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py24def ms_deform_attn_core_pytorch(value, value_spatial_shapes, sampling_locations, attention_weights):CODE
LOWsurya/common/rfdetr/models/backbone/dinov2.py152 def make_new_interpolated_pos_encoding(position_embeddings, patch_size, height, width):CODE
LOWsurya/common/rfdetr/models/backbone/dinov2.py193 def new_interpolate_pos_encoding(self_mod, embeddings, height, width):CODE
LOWsurya/inference/backends/llamacpp.py33def _resolve_llama_server_binary() -> str:CODE
LOWtests/test_layout.py1def test_layout_returns_blocks(layout_predictor, test_image):CODE
Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippetContext
LOWsurya/__init__.py1import osCOMMENT
LOWsurya/settings.py61 # override.COMMENT
LOWsurya/common/rfdetr/util/misc.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/util/box_ops.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/util/__init__.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/position_encoding.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/__init__.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/transformer.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/lwdetr.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/ops/__init__.py1# ------------------------------------------------------------------------COMMENT
LOW…mon/rfdetr/models/ops/functions/ms_deform_attn_func.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/ops/functions/__init__.py1# ------------------------------------------------------------------------COMMENT
LOW…rya/common/rfdetr/models/ops/modules/ms_deform_attn.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/ops/modules/__init__.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/backbone/backbone.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/common/rfdetr/models/backbone/projector.py1# ------------------------------------------------------------------------COMMENT
LOWsurya/detection/processor.py1# coding=utf-8COMMENT
Deep Nesting13 hits · 13 pts
SeverityFileLineSnippetContext
LOWsurya/layout/__init__.py39CODE
LOWsurya/common/polygon.py83CODE
LOWsurya/common/s3.py31CODE
LOWsurya/common/rfdetr/util/misc.py216CODE
LOW…on/rfdetr/models/backbone/dinov2_with_windowed_attn.py962CODE
LOW…on/rfdetr/models/backbone/dinov2_with_windowed_attn.py1083CODE
LOWsurya/common/rfdetr/models/backbone/projector.py69CODE
LOWsurya/common/rfdetr/models/backbone/projector.py170CODE
LOWsurya/inference/backends/spawn.py172CODE
LOWsurya/inference/backends/spawn.py293CODE
LOWsurya/inference/backends/openai_client.py70CODE
LOWsurya/table_rec/__init__.py70CODE
LOWsurya/detection/__init__.py61CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsurya/common/rfdetr/util/misc.py521 # Create the temp file in the destination directory so os.replace stays on the same filesystem (atomic).COMMENT
MEDIUMsurya/common/rfdetr/models/backbone/dinov2.py77 # Create the encoderCOMMENT
MEDIUMsurya/common/rfdetr/models/backbone/dinov2.py190 # Create a new Parameter with the new sizeCOMMENT
Modern Structural Boilerplate7 hits · 6 pts
SeverityFileLineSnippetContext
LOWsurya/common/order/__init__.py3__all__ = ["OrderPredictor", "load_order_predictor"]CODE
LOWsurya/common/rfdetr/__init__.py10__all__ = ["RFDetrDetector"]CODE
LOWsurya/common/rfdetr/models/lwdetr.py315 def update_drop_path(self, drop_path_rate: float, vit_encoder_num_layers: int) -> None:CODE
LOW…on/rfdetr/models/backbone/dinov2_with_windowed_attn.py1182__all__ = [STRING
LOWsurya/common/rfdetr/models/backbone/backbone.py31__all__ = ["Backbone"]CODE
LOWsurya/scripts/build_gguf.py52_PATCH_VOCAB_ANCHOR = """ def _set_vocab_gpt2(self) -> None:STRING
LOWsurya/scripts/build_gguf.py63_PATCH_VOCAB_REPLACEMENT = ''' def _set_vocab_gpt2(self) -> None:STRING
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsurya/scripts/templates/surya_screenshot.html151 <div class="panel-body"><div class="ocr" id="ocr"><div class="placeholder">Load a file, scroll to a page, then runCODE
LOWsurya/scripts/templates/surya_screenshot.html206 $("ocr").innerHTML = '<div class="placeholder">Run full-page OCR to see the extracted content.</div>';CODE
LOWsurya/scripts/templates/surya_screenshot.html264 ocr.innerHTML = data.html || '<div class="placeholder">No content detected on this page.</div>';CODE