Make bilingual epub books Using AI translate
This report presents the forensic synthetic code analysis of yihong0618/bilingual_book_maker, a Python project with 9,416 GitHub stars. SynthScan v2.0 examined 17,112 lines of code across 68 source files, recording 304 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 24.2 places this repository in the Moderate 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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.
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.
The scanner identified 304 distinct pattern matches across 13 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/translator/chatgptapi_translator.py | 115 | def _single_field_description(language): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 129 | def single_translation_schema(language): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 324 | def _ensure_structured_support(self, model=None): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 359 | def _demote_structured_outputs(self, reason): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 563 | def _structured_single_translation(self, text): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 655 | def translate_and_split_lines(self, text): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 748 | def _create_structured_batch_messages(self, text_list): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 783 | def _do_structured_batch_translate(self, text_list): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 813 | def _execute_structured_batch_translate(self, text_list, plist_len): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 867 | def _check_model_availability(self, model_list, model_family_name): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 887 | def _fetch_api_models_with_retry(self): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 1034 | def _validate_model_with_test(self, model_name: str, model_family_name: str): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 1123 | def add_to_batch_translate_queue(self, book_index, text): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 1240 | def create_batch_context_messages(self, index): | CODE |
| LOW | book_maker/translator/qwen_translator.py | 134 | def _create_translation_options(self): | CODE |
| LOW | book_maker/translator/gemini_translator.py | 173 | def _extract_translation_text(self, response_text: str) -> str: | CODE |
| LOW | book_maker/translator/gemini_translator.py | 197 | def _manage_conversation_history(self) -> None: | CODE |
| LOW | book_maker/translator/gemini_translator.py | 350 | def _batch_translate_with_retry( | CODE |
| LOW | book_maker/loader/md_loader.py | 385 | def _translate_sections_parallel(self, pending, results, report): | CODE |
| LOW | book_maker/loader/md_loader.py | 453 | def _clone_translator_for_context(self): | CODE |
| LOW | book_maker/loader/md_loader.py | 582 | def _would_exceed_chunk_budget(self, batch, next_block): | CODE |
| LOW⚡ | book_maker/loader/epub_loader.py | 966 | def _create_chapter_translator(self): | CODE |
| LOW⚡ | book_maker/loader/epub_loader.py | 971 | def _translate_with_chapter_context( | CODE |
| LOW | book_maker/loader/epub_loader.py | 230 | def _is_content_only_excluded_tags(self, p): | CODE |
| LOW | book_maker/loader/epub_loader.py | 254 | def _count_translatable_paragraphs(self, items, trans_taglist): | CODE |
| LOW | book_maker/loader/epub_loader.py | 282 | def _insert_trans_preserving_tags( | CODE |
| LOW | book_maker/loader/epub_loader.py | 390 | def _process_combined_paragraph( | CODE |
| LOW | book_maker/loader/epub_loader.py | 567 | def _process_paragraph_sentence_mode(self, p, soup): | CODE |
| LOW | book_maker/loader/epub_loader.py | 610 | def find_items_containing_string(self, book, search_string): | CODE |
| LOW | book_maker/loader/epub_loader.py | 870 | def _get_next_translation_index(self): | CODE |
| LOW | book_maker/loader/epub_loader.py | 877 | def _process_chapter_parallel(self, chapter_data): | CODE |
| LOW | book_maker/loader/epub_loader.py | 1001 | def _translate_paragraphs_acc_parallel( | CODE |
| LOW | tests/test_pdf_cli.py | 9 | def test_pdf_cli_creates_txt_and_optional_epub(tmp_path): | CODE |
| LOW | tests/test_gemini_batch_translate.py | 27 | def test_empty_paragraph_not_sent_and_preserved(): | CODE |
| LOW | tests/test_gemini_batch_translate.py | 40 | def test_all_empty_returns_originals_without_api_call(): | CODE |
| LOW | tests/test_gemini_batch_translate.py | 58 | def test_no_empty_translates_all_in_order(): | CODE |
| LOW | tests/test_gemini_batch_translate.py | 70 | def test_empty_at_edges_and_consecutive_keep_positions(): | CODE |
| LOW | tests/test_gemini_batch_translate.py | 82 | def test_whitespace_only_treated_as_empty(): | CODE |
| LOW⚡ | tests/test_gemini_batch_translate.py | 94 | def test_parse_rejects_short_response(): | CODE |
| LOW⚡ | tests/test_gemini_batch_translate.py | 100 | def test_parse_accepts_exact_response(): | CODE |
| LOW⚡ | tests/test_gemini_batch_translate.py | 107 | def test_translate_list_empty_returns_empty(): | CODE |
| LOW⚡ | tests/test_gemini_batch_translate.py | 112 | def test_translate_list_single_uses_translate(): | CODE |
| LOW⚡ | tests/test_gemini_batch_translate.py | 118 | def test_translate_list_multiple_uses_batch(): | CODE |
| LOW | tests/test_gemini_batch_translate.py | 135 | def test_fatal_error_returns_markers(): | CODE |
| LOW | tests/test_md_loader.py | 207 | def test_markdown_loader_writes_source_translation_pairs(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 222 | def test_markdown_resume_uses_saved_batches_without_duplication(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 244 | def test_markdown_test_num_limits_translated_paragraphs(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 260 | def test_markdown_resume_state_preserves_multiline_translations(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 281 | def test_markdown_structure_blocks_are_not_sent_to_translator(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 332 | def test_markdown_uses_translate_list_and_interleaves_per_block(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 349 | def test_markdown_chunking_keeps_heading_with_body_and_honors_char_budget(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 369 | def test_markdown_use_context_injects_heading_breadcrumb_without_emitting_it(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 390 | def test_markdown_parallel_workers_preserve_sequential_output_order(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 419 | def test_markdown_parallel_keeps_pass_through_blocks_untouched(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 458 | def test_markdown_use_context_runs_sections_in_parallel(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 479 | def test_markdown_use_context_isolates_context_per_section(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 502 | def test_markdown_context_section_interrupt_persists_partial_section(tmp_path): | CODE |
| LOW | tests/test_md_loader.py | 533 | def test_markdown_parallel_interrupt_persists_contiguous_prefix_and_resumes(tmp_path): | CODE |
| LOW | tests/test_txt_loader.py | 48 | def test_txt_resume_uses_saved_batches_without_duplication(tmp_path): | CODE |
| LOW | tests/test_txt_loader.py | 69 | def test_txt_test_num_limits_translated_lines(tmp_path): | CODE |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/cli.py | 72 | except Exception as e: | CODE |
| MEDIUM | book_maker/cli.py | 73 | print(f"Error parsing PromptDown file: {e}") | CODE |
| MEDIUM | book_maker/cli.py | 461 | print("Error: please provide the path of your book using --book_name <path>") | STRING |
| MEDIUM | book_maker/cli.py | 464 | print(f"Error: the book {options.book_name!r} does not exist.") | STRING |
| LOW | book_maker/cli.py | 661 | except Exception as ex: | STRING |
| MEDIUM | book_maker/translator/chatgptapi_translator.py | 647 | def translate(self, text, needprint=True): | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 414 | except Exception as e: | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 651 | except Exception as e: | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 800 | except Exception as e: | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 901 | except Exception as e: | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 922 | except Exception as e: | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 1005 | except Exception as e: | CODE |
| LOW | book_maker/translator/chatgptapi_translator.py | 1054 | except Exception as e: | CODE |
| LOW | book_maker/translator/caiyun_translator.py | 54 | except Exception as e: | CODE |
| LOW | book_maker/translator/qwen_translator.py | 221 | except Exception as e: | CODE |
| LOW | book_maker/translator/deepl_translator.py | 76 | except Exception as e: | CODE |
| LOW | book_maker/translator/gemini_translator.py | 249 | except Exception as e: | CODE |
| LOW | book_maker/translator/gemini_translator.py | 266 | except Exception as e: | CODE |
| LOW | book_maker/translator/gemini_translator.py | 386 | except Exception as e: | CODE |
| LOW | book_maker/loader/srt_loader.py | 171 | except Exception as e: | CODE |
| LOW | book_maker/loader/srt_loader.py | 189 | except Exception as e: | CODE |
| LOW | book_maker/loader/srt_loader.py | 209 | except Exception as e: | CODE |
| LOW | book_maker/loader/srt_loader.py | 281 | except Exception as e: | CODE |
| LOW | book_maker/loader/srt_loader.py | 293 | except Exception as e: | CODE |
| LOW | book_maker/loader/srt_loader.py | 300 | except Exception as e: | CODE |
| MEDIUM | book_maker/loader/srt_loader.py | 277 | def _save_progress(self): | CODE |
| MEDIUM | book_maker/loader/srt_loader.py | 284 | def load_state(self): | CODE |
| MEDIUM | book_maker/loader/srt_loader.py | 296 | def save_file(self, book_path, content): | CODE |
| LOW | book_maker/loader/pdf_loader.py | 25 | except Exception as e: | CODE |
| LOW | book_maker/loader/pdf_loader.py | 43 | except Exception: | CODE |
| LOW | book_maker/loader/pdf_loader.py | 220 | except Exception as e: | CODE |
| LOW | book_maker/loader/pdf_loader.py | 257 | except Exception: | CODE |
| LOW | book_maker/loader/pdf_loader.py | 311 | except Exception as e: | CODE |
| LOW | book_maker/loader/pdf_loader.py | 359 | except Exception as e: | CODE |
| LOW⚡ | book_maker/loader/pdf_loader.py | 417 | except Exception as e: | CODE |
| LOW⚡ | book_maker/loader/pdf_loader.py | 424 | except Exception as e: | CODE |
| LOW⚡ | book_maker/loader/pdf_loader.py | 431 | except Exception as e: | CODE |
| MEDIUM | book_maker/loader/pdf_loader.py | 17 | def create_bilingual_pdf(pairs, out_path, title, layout="top-bottom"): | CODE |
| MEDIUM | book_maker/loader/pdf_loader.py | 413 | def _save_progress(self): | CODE |
| MEDIUM | book_maker/loader/pdf_loader.py | 420 | def load_state(self): | CODE |
| MEDIUM | book_maker/loader/pdf_loader.py | 427 | def save_file(self, book_path, content): | CODE |
| LOW | book_maker/loader/txt_loader.py | 51 | except Exception as e: | CODE |
| LOW | book_maker/loader/txt_loader.py | 83 | except Exception as e: | CODE |
| LOW | book_maker/loader/txt_loader.py | 120 | except Exception as e: | CODE |
| LOW | book_maker/loader/txt_loader.py | 151 | except Exception as e: | CODE |
| LOW | book_maker/loader/txt_loader.py | 165 | except Exception as e: | CODE |
| LOW | book_maker/loader/txt_loader.py | 172 | except Exception as e: | CODE |
| MEDIUM | book_maker/loader/txt_loader.py | 66 | def make_bilingual_book(self): | CODE |
| MEDIUM | book_maker/loader/txt_loader.py | 147 | def _save_progress(self): | CODE |
| MEDIUM | book_maker/loader/txt_loader.py | 154 | def load_state(self): | CODE |
| MEDIUM | book_maker/loader/txt_loader.py | 168 | def save_file(self, book_path, content): | CODE |
| LOW | book_maker/loader/md_loader.py | 78 | except Exception as e: | CODE |
| LOW | book_maker/loader/md_loader.py | 227 | except Exception as e: | CODE |
| MEDIUM | book_maker/loader/md_loader.py | 228 | print(f"Error: {e}") | CODE |
| LOW | book_maker/loader/md_loader.py | 461 | except Exception: | CODE |
| LOW | book_maker/loader/md_loader.py | 532 | except Exception as e: | CODE |
| LOW | book_maker/loader/md_loader.py | 658 | except Exception as e: | CODE |
| LOW | book_maker/loader/md_loader.py | 672 | except Exception as e: | CODE |
| LOW | book_maker/loader/md_loader.py | 679 | except Exception as e: | CODE |
| MEDIUM | book_maker/loader/md_loader.py | 211 | def make_bilingual_book(self): | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 102 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 104 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 191 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 193 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 278 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 280 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 316 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 318 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 385 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 387 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 464 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 466 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 480 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 483 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 625 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 628 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 775 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_chatgptapi_translator.py | 777 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_chatgptapi_translator.py | 675 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_chatgptapi_translator.py | 679 | # -------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 381 | export OPENAI_API_KEY=${your_api_key} | CODE |
| HIGH | README.md | 433 | export BBM_CAIYUN_API_KEY=${your_api_key} | CODE |
| HIGH | README.md | 469 | $openai_key=your_api_key # $openai_key="sk-xxx" | CODE |
| HIGH | README.md | 477 | export openai_key=${your_api_key} | CODE |
| HIGH | README-CN.md | 325 | export OPENAI_API_KEY=${your_api_key} | CODE |
| HIGH | README-CN.md | 360 | export BBM_CAIYUN_API_KEY=${your_api_key} | CODE |
| HIGH | docs/env_settings.md | 7 | export BBM_OPENAI_API_KEY=${your_api_key} | CODE |
| HIGH | docs/env_settings.md | 10 | export BBM_CAIYUN_API_KEY=${your_api_key} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/obok.py | 793 | CODE | |
| LOW | book_maker/obok.py | 316 | CODE | |
| LOW | book_maker/obok.py | 538 | CODE | |
| LOW | book_maker/obok.py | 728 | CODE | |
| LOW | book_maker/cli.py | 19 | CODE | |
| LOW | book_maker/cli.py | 113 | CODE | |
| LOW | book_maker/utils.py | 135 | CODE | |
| LOW | book_maker/translator/chatgptapi_translator.py | 1240 | CODE | |
| LOW | book_maker/translator/qwen_translator.py | 183 | CODE | |
| LOW | book_maker/loader/srt_loader.py | 163 | CODE | |
| LOW | book_maker/loader/pdf_loader.py | 17 | CODE | |
| LOW | book_maker/loader/pdf_loader.py | 168 | CODE | |
| LOW | book_maker/loader/pdf_loader.py | 340 | CODE | |
| LOW | book_maker/loader/txt_loader.py | 90 | CODE | |
| LOW | book_maker/loader/md_loader.py | 88 | CODE | |
| LOW | book_maker/loader/md_loader.py | 310 | CODE | |
| LOW | book_maker/loader/md_loader.py | 469 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 27 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 141 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 188 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 728 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 877 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 1141 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 1153 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 1340 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 86 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | book_maker/translator/claude_translator.py | 65 | # Create a single message pair for all previous context | COMMENT |
| MEDIUM | book_maker/loader/epub_loader.py | 314 | # Create a copy to work with | COMMENT |
| MEDIUM | book_maker/loader/epub_loader.py | 888 | # Create a chapter-specific translator instance to avoid context conflicts | COMMENT |
| MEDIUM | book_maker/loader/epub_loader.py | 1033 | # Create a temporary translator with chapter context | COMMENT |
| MEDIUM | book_maker/loader/epub_loader.py | 1222 | # Create a simpler progress bar for parallel processing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/translator/google_translator.py | 1 | CODE | |
| LOW | book_maker/translator/google_translator.py | 3 | CODE | |
| LOW | book_maker/translator/deepl_free_translator.py | 3 | CODE | |
| LOW | book_maker/translator/deepl_free_translator.py | 8 | CODE | |
| LOW | book_maker/translator/caiyun_translator.py | 2 | CODE | |
| LOW | book_maker/translator/qwen_translator.py | 1 | CODE | |
| LOW | book_maker/translator/custom_api_translator.py | 2 | CODE | |
| LOW | book_maker/translator/custom_api_translator.py | 6 | CODE | |
| LOW | book_maker/translator/claude_translator.py | 1 | CODE | |
| LOW | book_maker/translator/claude_translator.py | 2 | CODE | |
| LOW | book_maker/translator/tencent_transmart_translator.py | 1 | CODE | |
| LOW | book_maker/translator/tencent_transmart_translator.py | 6 | CODE | |
| LOW | book_maker/translator/deepl_translator.py | 5 | CODE | |
| LOW | tests/test_provider_loader.py | 2 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/obok.py | 1 | # The original code comes from: | COMMENT |
| LOW | book_maker/obok.py | 21 | # | COMMENT |
| LOW | book_maker/obok.py | 41 | # Version 3.1.7 October 2015 | COMMENT |
| LOW | book_maker/obok.py | 61 | # Version 3.05 October 2014 | COMMENT |
| LOW | book_maker/obok.py | 81 | # No longer tries the first MAC address; tries them all if it detects | COMMENT |
| LOW | book_maker/obok.py | 101 | # This app was made for Python 2.7 on Windows 32-bit | COMMENT |
| LOW | book_maker/obok.py | 121 | # me months to get around to making this. Here's the | COMMENT |
| LOW | book_maker/obok.py | 141 | # they would rather lock you into a single platform. | COMMENT |
| LOW | book_maker/obok.py | 321 | kobodb = "" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/cli.py | 24 | # Check if it's a path to a markdown file (PromptDown format) | COMMENT |
| LOW | book_maker/translator/gemini_translator.py | 392 | # Check if fatal error was already detected during batch attempt | COMMENT |
| LOW | book_maker/loader/epub_loader.py | 238 | # Check if paragraph contains only excluded content tags | COMMENT |
| LOW | book_maker/loader/epub_loader.py | 300 | # Check if paragraph has excluded content tags | COMMENT |
| LOW | book_maker/loader/epub_loader.py | 424 | # Check if this is a fatal error | COMMENT |
| LOW | book_maker/loader/epub_loader.py | 458 | # Check if translation failed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/translator/qwen_translator.py | 63 | CODE | |
| LOW | book_maker/loader/srt_loader.py | 15 | CODE | |
| LOW | book_maker/loader/pdf_loader.py | 168 | CODE | |
| LOW | book_maker/loader/txt_loader.py | 11 | CODE | |
| LOW | book_maker/loader/md_loader.py | 32 | CODE | |
| LOW | book_maker/loader/epub_loader.py | 27 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/obok.py | 327 | # settings in calibre), just use it | COMMENT |
| LOW | book_maker/loader/epub_loader.py | 325 | # Simpler approach: just set the translation and re-append code at the end | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/obok.py | 115 | # for free - make sure you compensate your favorite | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | book_maker/loader/helper.py | 7 | logger = logging.getLogger(__name__) | CODE |