Repository Analysis

zyddnys/manga-image-translator

Translate manga/image 一键翻译各类图片内文字 https://cotrans.touhou.ai/ (no longer working)

13.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of zyddnys/manga-image-translator, a Python project with 10,188 GitHub stars. SynthScan v2.0 examined 74,194 lines of code across 289 source files, recording 840 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 13.2 places this repository in the Low 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).

13.2
Adjusted Score
13.2
Raw Score
100%
Time Factor
2026-07-01
Last Push
10.2K
Stars
Python
Language
74.2K
Lines of Code
289
Files
840
Pattern Hits
2026-07-14
Scan Date
0.05
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 4HIGH 10MEDIUM 95LOW 731

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 840 distinct pattern matches across 19 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.

Unused Imports161 hits · 158 pts
SeverityFileLineSnippetContext
LOWpip-modules/mit-renderer/mit_renderer/utils/__init__.py3CODE
LOWpip-modules/mit-renderer/mit_renderer/utils/__init__.py4CODE
LOWMangaStudio_Data/app/ui/main_window.py20CODE
LOWMangaStudio_Data/app/ui/main_window.py20CODE
LOWMangaStudio_Data/app/ui/main_window.py29CODE
LOWMangaStudio_Data/app/ui/main_window.py29CODE
LOWtest/test_render.py2CODE
LOWtest/test_render.py7CODE
LOWmanga_translator/config.py5CODE
LOWmanga_translator/config.py5CODE
LOWmanga_translator/config.py5CODE
LOWmanga_translator/config.py8CODE
LOWmanga_translator/manga_translator.py10CODE
LOWmanga_translator/manga_translator.py17CODE
LOWmanga_translator/manga_translator.py208CODE
LOWmanga_translator/__init__.py7CODE
LOWmanga_translator/args.py5CODE
LOWmanga_translator/args.py6CODE
LOWmanga_translator/args.py7CODE
LOWmanga_translator/args.py8CODE
LOWmanga_translator/args.py8CODE
LOWmanga_translator/args.py8CODE
LOWmanga_translator/args.py9CODE
LOWmanga_translator/args.py10CODE
LOWmanga_translator/translators/chatgpt_2stage.py10CODE
LOWmanga_translator/translators/custom_openai.py13CODE
LOWmanga_translator/translators/__init__.py5CODE
LOWmanga_translator/translators/google.py8CODE
LOWmanga_translator/translators/google.py28CODE
LOWmanga_translator/translators/gemini.py493CODE
LOWmanga_translator/translators/deepseek.py3CODE
LOWmanga_translator/translators/chatgpt.py6CODE
LOWmanga_translator/translators/gemini_2stage.py1CODE
LOWmanga_translator/translators/sakura.py10CODE
LOWmanga_translator/translators/qwen2.py3CODE
LOWmanga_translator/translators/qwen2.py4CODE
LOWmanga_translator/ocr/xpos_relative_position.py5CODE
LOWmanga_translator/ocr/model_manga_ocr.py2CODE
LOWmanga_translator/ocr/model_manga_ocr.py3CODE
LOWmanga_translator/ocr/model_manga_ocr.py3CODE
LOWmanga_translator/ocr/model_manga_ocr.py3CODE
LOWmanga_translator/ocr/model_manga_ocr.py4CODE
LOWmanga_translator/ocr/model_48px.py3CODE
LOWmanga_translator/ocr/model_48px.py3CODE
LOWmanga_translator/ocr/model_48px.py3CODE
LOWmanga_translator/ocr/model_48px.py23CODE
LOWmanga_translator/utils/generic.py16CODE
LOWmanga_translator/utils/__init__.py1CODE
LOWmanga_translator/utils/__init__.py2CODE
LOWmanga_translator/utils/__init__.py3CODE
LOWmanga_translator/utils/__init__.py4CODE
LOWmanga_translator/utils/__init__.py5CODE
LOWmanga_translator/utils/__init__.py6CODE
LOWmanga_translator/utils/__init__.py7CODE
LOWmanga_translator/utils/panel/kumikolib.py5CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py2CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py3CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py4CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py7CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py8CODE
101 more matches not shown…
Decorative Section Separators73 hits · 153 pts
SeverityFileLineSnippetContext
MEDIUMMangaStudioMain.py1# ===============================================================COMMENT
MEDIUMMangaStudioMain.py9# ===============================================================COMMENT
MEDIUMMangaStudio_Data/gpt_configs/my_cool_prompt.yaml1# =========================================================COMMENT
MEDIUMMangaStudio_Data/gpt_configs/my_cool_prompt.yaml3# =========================================================COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py1# ===============================================================COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py8# ===============================================================COMMENT
MEDIUMMangaStudio_Data/app/core/constants.py1# ===============================================================COMMENT
MEDIUMMangaStudio_Data/app/core/constants.py8# ===============================================================COMMENT
MEDIUMMangaStudio_Data/dicts/example_post_dict.txt1# =========================================================COMMENT
MEDIUMMangaStudio_Data/dicts/example_post_dict.txt3# =========================================================COMMENT
MEDIUMMangaStudio_Data/dicts/example_post_dict.txt6#----------------------------------------------------------COMMENT
MEDIUMMangaStudio_Data/dicts/example_pre_dict.txt1# =========================================================COMMENT
MEDIUMMangaStudio_Data/dicts/example_pre_dict.txt3# =========================================================COMMENT
MEDIUMMangaStudio_Data/dicts/example_pre_dict.txt6#----------------------------------------------------------COMMENT
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py3# --------------------------------------------STRING
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py5# --------------------------------------------STRING
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py10# --------------------------------------------STRING
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py43# --------------------------------------------STRING
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py45# --------------------------------------------STRING
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py222# --------------------------------------------STRING
MEDIUM…tor/inpainting/ldm/modules/image_degradation/bsrgan.py224# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py182# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py184# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py244# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py246# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py618# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py620# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py200# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py202# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py217# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py219# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py269# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py271# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py296# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py298# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py639# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py641# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py763# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py765# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py836# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py838# --------------------------------------------COMMENT
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py16# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py19# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py22# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py175# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py178# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py234# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py236# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py240# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py370# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py372# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py376# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py612# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py614# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py61# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py63# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py87# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py89# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py147# --------------------------------------------STRING
MEDIUM…npainting/ldm/modules/image_degradation/utils_image.py149# --------------------------------------------STRING
13 more matches not shown…
Excessive Try-Catch Wrapping155 hits · 139 pts
SeverityFileLineSnippetContext
LOWMangaStudioMain.py65 except Exception as e:CODE
LOWdocker_prepare.py25 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py130 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py1284 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py1313 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py1358 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py1383 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py2027 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py2178 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py2604 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py2669 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py2686 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py2748 except Exception as e:CODE
LOWMangaStudio_Data/app/ui/main_window.py3097 except Exception as e:CODE
LOWMangaStudio_Data/app/core/config_loader.py40 except Exception:CODE
LOWMangaStudio_Data/app/core/config_loader.py54 except Exception as e:CODE
LOWMangaStudio_Data/app/core/config_loader.py82 except Exception as e:CODE
LOWMangaStudio_Data/app/core/config_loader.py96 except Exception as e:CODE
LOWMangaStudio_Data/app/core/config_loader.py107 except Exception:CODE
MEDIUMMangaStudio_Data/app/core/config_loader.py100def _get_definition_from_ref(self, ref_path):CODE
LOWMangaStudio_Data/app/core/pipeline.py63 except Exception as e:CODE
LOWMangaStudio_Data/app/core/pipeline.py105 except Exception as e:CODE
LOWMangaStudio_Data/app/core/pipeline.py161 except Exception as e:CODE
LOWMangaStudio_Data/app/core/pipeline.py177 except Exception as e:CODE
LOWMangaStudio_Data/app/core/pipeline.py188 except Exception:CODE
LOWmanga_translator/config.py51 except Exception:CODE
MEDIUMmanga_translator/config.py46def translator_chain(string):CODE
MEDIUMmanga_translator/manga_translator.py239def write(self, text):CODE
LOWmanga_translator/manga_translator.py200 except Exception:CODE
LOWmanga_translator/manga_translator.py224 except Exception:CODE
LOWmanga_translator/manga_translator.py244 except Exception:CODE
LOWmanga_translator/manga_translator.py266 except Exception as e:CODE
LOWmanga_translator/manga_translator.py270 except Exception as e:CODE
LOWmanga_translator/manga_translator.py373 except Exception as e:CODE
LOWmanga_translator/manga_translator.py398 except Exception as e:CODE
LOWmanga_translator/manga_translator.py441 except Exception as e:CODE
LOWmanga_translator/manga_translator.py457 except Exception as e:CODE
LOWmanga_translator/manga_translator.py471 except Exception as e:CODE
LOWmanga_translator/manga_translator.py498 except Exception as e:CODE
LOWmanga_translator/manga_translator.py514 except Exception as e:CODE
LOWmanga_translator/manga_translator.py546 except Exception as e:CODE
LOWmanga_translator/manga_translator.py569 except Exception as e:CODE
LOWmanga_translator/manga_translator.py585 except Exception as e:CODE
LOWmanga_translator/manga_translator.py599 except Exception as e:CODE
LOWmanga_translator/manga_translator.py613 except Exception as e:CODE
LOWmanga_translator/manga_translator.py641 except Exception as e:CODE
LOWmanga_translator/manga_translator.py790 except Exception:CODE
LOWmanga_translator/manga_translator.py1305 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1509 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1561 except Exception as retry_error:CODE
LOWmanga_translator/manga_translator.py1568 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1622 except Exception as individual_error:CODE
LOWmanga_translator/manga_translator.py1643 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1685 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1710 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1723 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1737 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1763 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1778 except Exception as e:CODE
LOWmanga_translator/manga_translator.py1945 except Exception as e:CODE
95 more matches not shown…
Deep Nesting157 hits · 138 pts
SeverityFileLineSnippetContext
LOWdocker_prepare.py17CODE
LOWMangaStudio_Data/app/ui/main_window.py614CODE
LOWMangaStudio_Data/app/ui/main_window.py1018CODE
LOWMangaStudio_Data/app/ui/main_window.py1235CODE
LOWMangaStudio_Data/app/ui/main_window.py1458CODE
LOWMangaStudio_Data/app/ui/main_window.py1577CODE
LOWMangaStudio_Data/app/ui/main_window.py1634CODE
LOWMangaStudio_Data/app/ui/main_window.py1889CODE
LOWMangaStudio_Data/app/ui/main_window.py1938CODE
LOWMangaStudio_Data/app/ui/main_window.py2274CODE
LOWMangaStudio_Data/app/ui/main_window.py2341CODE
LOWMangaStudio_Data/app/ui/main_window.py2556CODE
LOWMangaStudio_Data/app/ui/main_window.py2727CODE
LOWMangaStudio_Data/app/core/config_loader.py126CODE
LOWMangaStudio_Data/app/core/pipeline.py118CODE
LOWtest/test_textline_merge.py30CODE
LOWmanga_translator/manga_translator.py63CODE
LOWmanga_translator/manga_translator.py154CODE
LOWmanga_translator/manga_translator.py772CODE
LOWmanga_translator/manga_translator.py921CODE
LOWmanga_translator/manga_translator.py1059CODE
LOWmanga_translator/manga_translator.py1458CODE
LOWmanga_translator/manga_translator.py1812CODE
LOWmanga_translator/manga_translator.py2022CODE
LOWmanga_translator/manga_translator.py2222CODE
LOWmanga_translator/manga_translator.py2353CODE
LOWmanga_translator/manga_translator.py2586CODE
LOWmanga_translator/manga_translator.py2739CODE
LOWmanga_translator/manga_translator.py2046CODE
LOWmanga_translator/__main__.py23CODE
LOWmanga_translator/translators/chatgpt_2stage.py199CODE
LOWmanga_translator/translators/chatgpt_2stage.py247CODE
LOWmanga_translator/translators/chatgpt_2stage.py354CODE
LOWmanga_translator/translators/chatgpt_2stage.py619CODE
LOWmanga_translator/translators/chatgpt_2stage.py787CODE
LOWmanga_translator/translators/chatgpt_2stage.py998CODE
LOWmanga_translator/translators/chatgpt_2stage.py1062CODE
LOWmanga_translator/translators/chatgpt_2stage.py1423CODE
LOWmanga_translator/translators/custom_openai.py121CODE
LOWmanga_translator/translators/google.py202CODE
LOWmanga_translator/translators/common_gpt.py311CODE
LOWmanga_translator/translators/google_gtoken.py46CODE
LOWmanga_translator/translators/google_gtoken.py142CODE
LOWmanga_translator/translators/deepseek.py105CODE
LOWmanga_translator/translators/deepseek.py111CODE
LOWmanga_translator/translators/chatgpt.py177CODE
LOWmanga_translator/translators/chatgpt.py272CODE
LOWmanga_translator/translators/chatgpt.py600CODE
LOWmanga_translator/translators/chatgpt.py926CODE
LOWmanga_translator/translators/chatgpt.py1070CODE
LOWmanga_translator/translators/gemini_2stage.py91CODE
LOWmanga_translator/translators/sakura.py245CODE
LOWmanga_translator/textline_merge/__init__.py110CODE
LOWmanga_translator/mode/local.py88CODE
LOWmanga_translator/mode/local.py240CODE
LOWmanga_translator/mode/local.py333CODE
LOWmanga_translator/ocr/model_manga_ocr.py25CODE
LOWmanga_translator/ocr/model_manga_ocr.py132CODE
LOWmanga_translator/ocr/model_ocr_large.py384CODE
LOWmanga_translator/ocr/model_48px_ctc.py62CODE
97 more matches not shown…
Hyper-Verbose Identifiers107 hits · 88 pts
SeverityFileLineSnippetContext
LOWMangaStudio_Data/app/ui/main_window.py292 def _create_settings_tab_container(self) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py325 def _create_visual_compare_tab(self) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py403 def _build_dynamic_tab_content(self, tab_name: str, settings_list: list) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py842 def _create_language_checkbox_grid(self, info: dict) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py890 def _create_entry_with_button(self, info: dict) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py908 def _create_translator_chain_builder(self, info: dict) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py956 def _create_chain_step_widget(self) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py1018 def _get_translator_chain_string(self) -> str:CODE
LOWMangaStudio_Data/app/ui/main_window.py1043 def _rebuild_chain_from_string(self, chain_string: str):CODE
LOWMangaStudio_Data/app/ui/main_window.py1072 def _create_grid_segmented_button(self, info: dict) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py1186 def _update_chain_list_height(self):CODE
LOWMangaStudio_Data/app/ui/main_window.py1208 def _update_translator_tooltip(self, translator_name: str):CODE
LOWMangaStudio_Data/app/ui/main_window.py1235 def _handle_widget_button_click(self, key: str, associated_widget: QWidget):CODE
LOWMangaStudio_Data/app/ui/main_window.py1425 def _create_font_scale_widget(self) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py1538 def _filter_language_dropdown(self, translator_name: str, lang_combo: QComboBox):CODE
LOWMangaStudio_Data/app/ui/main_window.py1766 def _remove_selected_jobs_from_queue(self):CODE
LOWMangaStudio_Data/app/ui/main_window.py1923 def _on_job_selection_changed(self):CODE
LOWMangaStudio_Data/app/ui/main_window.py2263 def _update_colorize_restore_ui_state(self):CODE
LOWMangaStudio_Data/app/ui/main_window.py2274 def _build_final_config_for_job(self, job: dict) -> dict:CODE
LOWMangaStudio_Data/app/ui/main_window.py2518 def _set_settings_panel_enabled(self, is_enabled: bool):CODE
LOWMangaStudio_Data/app/ui/main_window.py2556 def _assign_task_to_selection(self, task_key: str):CODE
LOWMangaStudio_Data/app/ui/main_window.py2689 def _create_theme_manager_widget(self) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py2947 def _apply_settings_to_selection(self):CODE
LOWMangaStudio_Data/app/ui/main_window.py2965 def _remove_selected_jobs_from_queue(self):CODE
LOWMangaStudio_Data/app/ui/main_window.py3022 def _create_api_manager_widget(self, info: dict) -> QWidget:CODE
LOWMangaStudio_Data/app/ui/main_window.py3130 def _show_history_context_menu(self, position):CODE
LOWtest/test_textline_merge.py20def find_region_containing_line(line, regions):CODE
LOWtest/test_translation_manual.py9async def test_specified_translator(translator, tgt_lang, text, count):CODE
LOWmanga_translator/manga_translator.py344 def _save_current_image_context(self, image_md5: str):CODE
LOWmanga_translator/manga_translator.py1667 async def _translate_until_translation(self, image: Image.Image, config: Config) -> Context:CODE
LOWmanga_translator/manga_translator.py1812 async def _batch_translate_contexts(self, contexts_with_configs: List[tuple], batch_size: int) -> List[tuple]:CODE
LOWmanga_translator/manga_translator.py2022 async def _concurrent_translate_contexts(self, contexts_with_configs: List[tuple]) -> List[tuple]:CODE
LOWmanga_translator/manga_translator.py2314 def create_result_path_callback(image_context):CODE
LOWmanga_translator/manga_translator.py2353 async def _apply_post_translation_processing(self, ctx: Context, config: Config) -> List:CODE
LOWmanga_translator/manga_translator.py2491 async def _complete_translation_pipeline(self, ctx: Context, config: Config) -> Context:CODE
LOWmanga_translator/manga_translator.py2586 async def _check_repetition_hallucination(self, text: str, threshold: int = 5, silent: bool = False) -> bool:CODE
LOWmanga_translator/manga_translator.py2642 async def _check_target_language_ratio(self, text_regions: List, target_lang: str, min_ratio: float = 0.5) -> bool:CODE
LOWmanga_translator/manga_translator.py2739 async def _retry_translation_with_validation(self, region, config: Config, ctx: Context) -> str:CODE
LOWmanga_translator/args.py62 def _format_action_invocation(self, action: argparse.Action) -> str:CODE
LOWmanga_translator/translators/nllb.py115 def _map_detected_lang_to_translator(self, lang):CODE
LOWmanga_translator/translators/mbart50.py113 def _map_detected_lang_to_translator(self, lang):CODE
LOWmanga_translator/translators/chatgpt_2stage.py569 def _get_refine_system_instruction(self, from_lang: str):CODE
LOWmanga_translator/translators/chatgpt_2stage.py1372 def _parse_batch_json_response(self, raw_content: str, fallback_queries: List[str], query_to_image_mapping: List[tupCODE
LOWmanga_translator/translators/chatgpt_2stage.py1423 async def _generate_batch_debug_images(self, batch_contexts: List[Context], batch_query_regions: List[List],CODE
LOWmanga_translator/translators/chatgpt_2stage.py747 def _remap_translations_to_original_positions(self, reordered_translations: List[str],STRING
LOWmanga_translator/translators/chatgpt_2stage.py1290 def _get_batch_refine_system_instruction(self, from_lang: str):STRING
LOWmanga_translator/translators/google.py202 async def _request_and_parse_translation(self, query, to_lang, from_lang):CODE
LOWmanga_translator/translators/common.py256 def _modify_invalid_translation_query(self, query: str, trans: str) -> str:CODE
LOWmanga_translator/translators/common.py263 def _clean_translation_output(self, query: str, trans: str, to_lang: str) -> str:CODE
LOWmanga_translator/translators/chatgpt.py1137 def japanese_levenshtein_distance(s1, s2):CODE
LOWmanga_translator/translators/gemini_2stage.py236 def _get_refine_system_instruction(self, from_lang: str):CODE
LOWmanga_translator/translators/gemini_2stage.py249 def get_translate_system_instruction(self, from_lang: str, to_lang: str):CODE
LOWmanga_translator/translators/baidu.py76 def _modify_invalid_translation_query(self, query: str, trans: str) -> str:CODE
LOWmanga_translator/translators/sakura.py245 def detect_and_caculate_repeats(self, s: str, threshold: int = _REPEAT_DETECT_THRESHOLD, remove_all=True) -> Tuple[bCODE
LOWmanga_translator/translators/sakura.py371 async def _check_translation_quality(self, queries: List[str], response: str) -> List[str]:CODE
LOWmanga_translator/translators/sakura.py472 async def _handle_translation_request(self, prompt: str) -> str:CODE
LOWmanga_translator/ocr/model_ocr_large.py172def generate_square_subsequent_mask(sz):CODE
LOWmanga_translator/ocr/model_32px.py306def generate_square_subsequent_mask(sz):CODE
LOWmanga_translator/ocr/model_48px.py278def transformer_encoder_forward(STRING
LOWmanga_translator/ocr/model_48px.py396def generate_square_subsequent_mask(sz):STRING
47 more matches not shown…
AI Structural Patterns68 hits · 66 pts
SeverityFileLineSnippetContext
LOWmanga_translator/manga_translator.py693CODE
LOWmanga_translator/translators/nllb.py113CODE
LOWmanga_translator/translators/mbart50.py111CODE
LOWmanga_translator/translators/google.py284CODE
LOWmanga_translator/translators/google.py469CODE
LOWmanga_translator/translators/google.py474CODE
LOWmanga_translator/translators/google.py531CODE
LOWmanga_translator/ocr/model_48px_ctc.py212CODE
LOWmanga_translator/utils/textblock.py44CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py301CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py317CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py444CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py29CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py84CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py126CODE
LOWmanga_translator/upscaling/esrgan_pytorch.py422CODE
LOW…zation/manga_colorization_v2_utils/denoising/models.py66CODE
LOW…tion/manga_colorization_v2_utils/networks/extractor.py70CODE
LOWmanga_translator/rendering/text_render_eng.py336CODE
LOWmanga_translator/rendering/__init__.py235CODE
LOWmanga_translator/inpainting/inpainting_lama.py49CODE
LOWmanga_translator/inpainting/inpainting_lama.py52CODE
LOWmanga_translator/inpainting/inpainting_lama.py269CODE
LOWmanga_translator/inpainting/inpainting_lama.py273CODE
LOWmanga_translator/inpainting/inpainting_lama.py385CODE
LOWmanga_translator/inpainting/inpainting_lama.py390CODE
LOWmanga_translator/inpainting/inpainting_lama.py452CODE
LOWmanga_translator/inpainting/inpainting_lama.py528CODE
LOWmanga_translator/inpainting/inpainting_attn.py58CODE
LOWmanga_translator/inpainting/inpainting_attn.py166CODE
LOWmanga_translator/inpainting/inpainting_aot.py86CODE
LOWmanga_translator/inpainting/guided_ldm_inpainting.py31CODE
LOWmanga_translator/inpainting/inpainting_lama_mpe.py189CODE
LOWmanga_translator/inpainting/inpainting_lama_mpe.py307CODE
LOWmanga_translator/inpainting/inpainting_lama_mpe.py312CODE
LOWmanga_translator/inpainting/inpainting_lama_mpe.py374CODE
LOWmanga_translator/inpainting/inpainting_lama_mpe.py481CODE
LOWmanga_translator/inpainting/inpainting_lama_mpe.py546CODE
LOWmanga_translator/inpainting/ldm/util.py92CODE
LOWmanga_translator/inpainting/ldm/models/autoencoder.py13CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddim.py55CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddim.py123CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddim.py181CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/plms.py59CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/plms.py118CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/plms.py178CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py48CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py526CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1016CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1047CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1103CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1154CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1211CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1455CODE
LOW…nga_translator/inpainting/ldm/models/diffusion/ddpm.py1615CODE
LOW…painting/ldm/models/diffusion/dpm_solver/dpm_solver.py161CODE
LOW…painting/ldm/models/diffusion/dpm_solver/dpm_solver.py939CODE
LOW…/inpainting/ldm/models/diffusion/dpm_solver/sampler.py27CODE
LOW…inpainting/ldm/modules/midas/midas/midas_net_custom.py16CODE
LOW…slator/inpainting/ldm/modules/midas/midas/dpt_depth.py85CODE
8 more matches not shown…
Redundant / Tautological Comments27 hits · 40 pts
SeverityFileLineSnippetContext
LOWMangaStudio_Data/app/ui/main_window.py2060 # Check if zoom limiting is enabledCOMMENT
LOWMangaStudio_Data/app/ui/main_window.py3089 # Open the file with the default system applicationCOMMENT
LOWmanga_translator/manga_translator.py1065 # Set translator to none to provent token waste if prep_manual is TrueCOMMENT
LOWmanga_translator/manga_translator.py2301 # Check if batch processing is enabled and batch_contexts are providedCOMMENT
LOWmanga_translator/translators/chatgpt_2stage.py345 # Check if this is a batch processing scenarioCOMMENT
LOWmanga_translator/translators/chatgpt_2stage.py1454 # Check if verbose mode is enabledCOMMENT
LOWmanga_translator/translators/chatgpt_2stage.py824 # Check if this is batch processingSTRING
LOWmanga_translator/translators/gemini.py360 # Check if any translations are emptyCOMMENT
LOWmanga_translator/translators/common_gpt.py447 # Check if the ID is within the expected rangeCOMMENT
LOWmanga_translator/translators/deepseek.py172 # Check if any translations are emptyCOMMENT
LOWmanga_translator/translators/chatgpt.py333 # Check if invalid indexes exist (for example, <|2|>, <|3|>, etc.)COMMENT
LOWmanga_translator/translators/chatgpt.py424 # Check if all expected indexes were foundCOMMENT
LOWmanga_translator/translators/chatgpt.py492 # Check if the number of translations matches - fix list index out of range errorCOMMENT
LOWmanga_translator/translators/chatgpt.py1163 # Check if it's within the katakana range (0x30A0-0x30FF)COMMENT
LOWmanga_translator/ocr/model_48px.py738 finished = (out_idx[:, -1] == end_tok) # Check if the last token is the end tokenSTRING
LOWmanga_translator/utils/sort.py32 # Assign panel_index to each regionCOMMENT
LOWmanga_translator/rendering/text_render.py360 # Check if the character is a punctuationCOMMENT
LOWmanga_translator/rendering/text_render.py377 # Check if the bitmap is valid (characters like spaces may not have valid bitmaps)COMMENT
LOWmanga_translator/rendering/text_render.py431 # Check if the slice is valid (width and height both greater than 0)COMMENT
LOWmanga_translator/detection/panel_finder.py56 # Check if the polygon contains any of the other polygons.COMMENT
LOWmanga_translator/detection/panel_finder.py59 # Check if the polygon contains the other polygon and that the polygonsCOMMENT
LOWmanga_translator/detection/panel_finder.py64 # Check if rect2 is completely within rect1COMMENT
LOWmanga_translator/detection/panel_finder.py238 # Check if range1 is before range2COMMENT
LOWmanga_translator/detection/panel_finder.py241 # Check if range1 is after range2COMMENT
LOWserver/main.py336 # Check if final.png exists in this directoryCOMMENT
LOWserver/main.py355 # Check if final.png exists in this directoryCOMMENT
LOWserver/main.py375 # Check if final.png exists in this directoryCOMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALmanga_translator/translators/gemini.py570 response = await self.translator.client.aio.models.generate_content(model=GEMINI_MODEL,CODE
CRITICALmanga_translator/translators/deepseek.py255 response = await self.client.beta.chat.completions.parse(**kwargs)CODE
CRITICALmanga_translator/translators/gemini_2stage.py170 response = self.client.beta.chat.completions.parse(CODE
CRITICALmanga_translator/translators/gemini_2stage.py187 response = self.client2.beta.chat.completions.parse(CODE
Self-Referential Comments13 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMMangaStudioMain.py22# Define the path to the directory containing our application source codeCOMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py437 # Create the separator widget (Label + Line)COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py597 # Define the button first, then set its text and connect the signal.COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py858 # Create a 2-column grid of checkboxesCOMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py1466 # Create a handler function that "captures" the current key and context_key.COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py1789 # Create a completely new job dictionary, only reusing the source path and name.COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py1840 # This function is now superseded by drag-and-drop, but we keep it for now.COMMENT
MEDIUMMangaStudio_Data/app/ui/main_window.py2103 # Create a temporary 'job' dictionary to hold the settings for the test.COMMENT
MEDIUMmanga_translator/translators/chatgpt_2stage.py1473 # Create a copy and update text with corrected versionCOMMENT
MEDIUMmanga_translator/translators/chatgpt_2stage.py760 # Create a mapping from original_bbox_id to translationSTRING
MEDIUMmanga_translator/translators/chatgpt.py298 # Initialize response_text variable to avoid UnboundLocalErrorCOMMENT
MEDIUMmanga_translator/translators/config_gpt.py8# Define the schema for the responseCOMMENT
MEDIUMmanga_translator/detection/panel_finder.py51 # Create a new list to store the filtered polygons.COMMENT
Over-Commented Block34 hits · 34 pts
SeverityFileLineSnippetContext
LOWMangaStudioMain.py1# ===============================================================COMMENT
LOWREADME.md1221# The model name can be used as an addition level of specificationCOMMENT
LOWREADME_CN.md1201COMMENT
LOWREADME_CN.md1221# include_template | bool COMMENT
LOWdemo/doc/docker-compose-local-dev.yml21 #deploy:COMMENT
LOWMangaStudio_Data/gpt_configs/my_cool_prompt.yaml1# =========================================================COMMENT
LOWMangaStudio_Data/gpt_configs/my_cool_prompt.yaml21COMMENT
LOWMangaStudio_Data/dicts/example_post_dict.txt1# =========================================================COMMENT
LOWMangaStudio_Data/dicts/example_post_dict.txt21COMMENT
LOWMangaStudio_Data/dicts/example_pre_dict.txt1# =========================================================COMMENT
LOWMangaStudio_Data/dicts/example_pre_dict.txt21# the translator from getting confused.COMMENT
LOWtest/test_textline_merge.py61 # similar_expected_combination = NoneCOMMENT
LOWmanga_translator/translators/common_gpt.py181 # 加上分行内容COMMENT
LOWmanga_translator/translators/sugoi.py41 # self._get_file_path('jparacrawl'),COMMENT
LOWmanga_translator/translators/deepseek.py21 _TIMEOUT = 40 # 在重试之前等待服务器响应的时间(秒)COMMENT
LOWmanga_translator/translators/chatgpt.py1201 # if len(normalized_text) > len(normalized_term):COMMENT
LOWmanga_translator/textline_merge/__init__.py81 for node_set in nx.algorithms.components.connected_components(G):COMMENT
LOWmanga_translator/textline_merge/__init__.py101# index_3 = 2COMMENT
LOWmanga_translator/ocr/model_48px_ctc.py461 _, preds_index = logprobs.max(2)COMMENT
LOWmanga_translator/utils/textblock.py441 # left_std = abs(np.std(polygons[:, :2, 1] - y1))COMMENT
LOWmanga_translator/utils/generic.py601# def merge_quadrilaterals(q1: Quadrilateral, q2: Quadrilateral):COMMENT
LOWmanga_translator/utils/bubble.py41COMMENT
LOWmanga_translator/rendering/__init__.py181 # elif char_count_orig > 0 and char_count_trans < char_count_orig:COMMENT
LOWmanga_translator/rendering/__init__.py321 h, w, _ = temp_box.shapeCOMMENT
LOWmanga_translator/rendering/text_render.py161 fg = np.zeros((bw_char_map.shape[0], bw_char_map.shape[1], 4), dtype = np.uint8)COMMENT
LOWmanga_translator/rendering/text_render.py281COMMENT
LOWmanga_translator/rendering/text_render.py401 return char_offset_y COMMENT
LOWmanga_translator/rendering/text_render.py941 bitmap_char = np.array(bitmap.buffer, dtype=np.uint8).reshape((bitmap.rows, bitmap.width))COMMENT
LOWmanga_translator/detection/ctd.py161 # map output to input imgCOMMENT
LOWmanga_translator/detection/ctd.py181 # blk_list = group_output(blks, lines, im_w, im_h, mask)COMMENT
LOWmanga_translator/detection/ctd_utils/yolov5/yolo.py101 # def _forward_augment(self, x):COMMENT
LOWexamples/gpt_config-example.yaml1# Values will be search for upwards. COMMENT
LOWexamples/gpt_config-example.yaml21# rgx_capture | StringCOMMENT
LOWexamples/gpt_config-example.yaml181COMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHmanga_translator/ocr/model_ocr_large.py0featureextractor of fan (http://openaccess.thecvf.com/content_iccv_2017/papers/cheng_focusing_attention_towards_iccv_201STRING
HIGHmanga_translator/ocr/model_48px_ctc.py0featureextractor of fan (http://openaccess.thecvf.com/content_iccv_2017/papers/cheng_focusing_attention_towards_iccv_201STRING
HIGHmanga_translator/ocr/model_32px.py0featureextractor of fan (http://openaccess.thecvf.com/content_iccv_2017/papers/cheng_focusing_attention_towards_iccv_201STRING
HIGH…nga_translator/inpainting/ldm/models/diffusion/ddpm.py0overwrite model.train with this function to make sure train/eval mode does not change anymore.STRING
HIGHmanga_translator/inpainting/ldm/modules/midas/api.py0overwrite model.train with this function to make sure train/eval mode does not change anymore.STRING
HIGH…_translator/inpainting/ldm/modules/encoders/modules.py0overwrite model.train with this function to make sure train/eval mode does not change anymore.STRING
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHmanga_translator/utils/generic.py760 return self * (1. / self.length())CODE
HIGHmanga_translator/utils/generic.py788 da = a.length()CODE
HIGHmanga_translator/utils/generic.py789 db = b.length()CODE
HIGHmanga_translator/utils/generic.py818 return d.length()CODE
AI Slop Vocabulary5 hits · 9 pts
SeverityFileLineSnippetContext
LOWmanga_translator/translators/common.py108 # If it is a list it will simply return the language code as is.COMMENT
MEDIUMmanga_translator/utils/bubble.py53 # Consequence: Cannot utilize common-sense features like "bubbles typically surround the text box and are moderatelyCOMMENT
LOWmanga_translator/rendering/text_render.py182 # since bg rect is always larger than fg rect, we can just use the bg rectCOMMENT
LOWmanga_translator/rendering/text_render.py400 # For whitespace characters, just return the vertical advanceCOMMENT
LOWexamples/gpt_config-example.yaml157# If you'd like to disable this feature, just set this to an empty list.COMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWMangaStudio_Data/ui_map.json79 "placeholder": "e.g., my_cool_prompt.yaml",CODE
LOWMangaStudio_Data/ui_map.json90 "placeholder": "e.g., dicts/my_pre_dict.txt",CODE
LOWMangaStudio_Data/ui_map.json101 "placeholder": "e.g., dicts/my_post_dict.txt",CODE
LOWMangaStudio_Data/ui_map.json259 "placeholder": "e.g., 0.85 (default: auto)",CODE
LOWMangaStudio_Data/ui_map.json496 "placeholder": "e.g., (SFX),[NOISE]",CODE
LOWMangaStudio_Data/app/ui/main_window.py836 placeholder = info.get("placeholder", "")CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMmanga_translator/translators/groq.py118 # Maintain the context windowCOMMENT
MEDIUMmanga_translator/translators/chatgpt.py446 # Skip common hallucination characters in specific modelsCOMMENT
Verbosity Indicators9 hits · 6 pts
SeverityFileLineSnippetContext
LOWmanga_translator/translators/chatgpt_2stage.py625 # Step 1: 在解析前先检查是否为拒绝消息STRING
LOWmanga_translator/translators/chatgpt_2stage.py629 # Step 2: Remove markdown code blocks and clean upSTRING
LOWmanga_translator/translators/chatgpt_2stage.py654 # Step 3: Parse JSONSTRING
LOWmanga_translator/translators/chatgpt_2stage.py657 # Step 4: Extract corrected texts - ignore key names, just find the arraySTRING
LOWmanga_translator/translators/chatgpt_2stage.py704 # Step 5: Sort by reading_order to get proper reading sequenceSTRING
LOWmanga_translator/translators/chatgpt_2stage.py707 # Step 6: Extract reordered texts and position mappingSTRING
LOWmanga_translator/translators/chatgpt_2stage.py715 # Step 7: Validate and handle edge casesSTRING
LOWmanga_translator/rendering/text_render.py706 # Step 1:COMMENT
LOWmanga_translator/rendering/text_render.py746 # Step 2:COMMENT
Structural Annotation Overuse7 hits · 3 pts
SeverityFileLineSnippetContext
LOWmanga_translator/translators/chatgpt_2stage.py625 # Step 1: 在解析前先检查是否为拒绝消息STRING
LOWmanga_translator/translators/chatgpt_2stage.py629 # Step 2: Remove markdown code blocks and clean upSTRING
LOWmanga_translator/translators/chatgpt_2stage.py654 # Step 3: Parse JSONSTRING
LOWmanga_translator/translators/chatgpt_2stage.py657 # Step 4: Extract corrected texts - ignore key names, just find the arraySTRING
LOWmanga_translator/translators/chatgpt_2stage.py704 # Step 5: Sort by reading_order to get proper reading sequenceSTRING
LOWmanga_translator/translators/chatgpt_2stage.py707 # Step 6: Extract reordered texts and position mappingSTRING
LOWmanga_translator/translators/chatgpt_2stage.py715 # Step 7: Validate and handle edge casesSTRING
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmanga_translator/rendering/text_render.py115logger = logging.getLogger(__name__)CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWmanga_translator/utils/threading.py54 async def my_function(arg):STRING