Repository Analysis

DrewThomasson/ebook2audiobook

Generate audiobooks from e-books, voice cloning & 1158+ languages!

13.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of DrewThomasson/ebook2audiobook, a Python project with 19,517 GitHub stars. SynthScan v2.0 examined 117,878 lines of code across 514 source files, recording 1353 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 13.9 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.9
Adjusted Score
13.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
19.5K
Stars
Python
Language
117.9K
Lines of Code
514
Files
1.4K
Pattern Hits
2026-07-14
Scan Date
0.07
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 34MEDIUM 143LOW 1176

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 1353 distinct pattern matches across 18 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.

Excessive Try-Catch Wrapping336 hits · 320 pts
SeverityFileLineSnippetContext
LOWdetect_gpus.py29 except Exception as e:CODE
LOWapp.py339 except Exception:CODE
LOWapp.py350 except Exception:CODE
LOWapp.py398 except Exception as e:CODE
LOWapp.py492 except Exception as e:CODE
LOWtools/icons/generate-icons.py61 except Exception as e:CODE
LOWtools/icons/generate-icons.py86 except Exception as e:CODE
LOWtools/icons/generate-icons.py139 except Exception as e:CODE
LOWtools/icons/generate-icons.py145 except Exception as e:CODE
LOWtools/icons/generate-icons.py149 except Exception as e:CODE
LOWtools/icons/generate-icons.py165 except Exception as e:CODE
MEDIUMtools/icons/generate-icons.py37def resize_image(source_path, output_dir, sizes):CODE
MEDIUMtools/icons/generate-icons.py65def create_windows_ico(output_dir):CODE
LOWtools/readme_i18n/update_translations.py113 except Exception as e:CODE
LOWext/py/demucs/demucs/apply.py291 except Exception:CODE
LOWcomponents/E2A-SML/web_gui.py111 except Exception as e:CODE
MEDIUMcomponents/E2A-SML/cli.py161 print(f"Error: {msg}")CODE
MEDIUMcomponents/E2A-SML/cli.py234 print("Error: No token data or book.txt found in BookNLP output. Cannot generate SML.")CODE
MEDIUMcomponents/E2A-SML/cli.py179 print("Error: Could not determine book_id. Use --book-id.")CODE
MEDIUMcomponents/E2A-SML/cli.py185 print(f"Error: Input file not found: {input_file}")CODE
MEDIUMcomponents/E2A-SML/cli.py282 print(f"Error: Could not launch GUI. Make sure gradio is installed: {e}")CODE
LOWcomponents/E2A-SML/booknlp/english/english_booknlp.py373 except Exception as e:CODE
LOWcomponents/E2A-SML/booknlp/english/english_booknlp.py425 except Exception as e:CODE
LOWcomponents/Universal_TTS_Finetune/headless_cli.py354 except Exception as e:CODE
MEDIUMcomponents/Universal_TTS_Finetune/export_checkpoint.py20 print(f"Error: Run directory {run_dir} does not exist.")CODE
MEDIUMcomponents/Universal_TTS_Finetune/export_checkpoint.py37 print(f"Error: config.json not found under {preprocessed_dir}")CODE
MEDIUMcomponents/Universal_TTS_Finetune/export_checkpoint.py46 print(f"Error: No .ckpt file found in {run_dir}")CODE
LOWcomponents/Universal_TTS_Finetune/export_checkpoint.py88 except Exception as e:CODE
MEDIUMcomponents/Universal_TTS_Finetune/export_checkpoint.py89 print(f"Error finalizing Coqui artifacts: {e}")CODE
MEDIUMcomponents/Universal_TTS_Finetune/export_checkpoint.py92 print("Error: Could not find any .ckpt or .pth files to export.")CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py290 print(f"Error resolving resume checkpoint: {e}")CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py320def preprocess_dataset(CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py408def preprocess_re_diarize(dataset_dir, expected_speakers, diarize_threshold, outCODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py470def run_training(model_key, dataset_dir, language, num_epochs, batch_size, grad_CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py511def locate_artifacts(out_path, model_key):CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py532def inspect_artifacts(artifacts_path, model_key):CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py548def run_inference(artifacts_path, model_key, language, tts_text, speaker_audio_fCODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py567def on_model_change(selected_model):CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py600def update_training_options(model_key, language, use_pretrained):CODE
MEDIUMcomponents/Universal_TTS_Finetune/web_gui.py681def preprocess_and_train(CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py166 except Exception:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py192 except Exception:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py213 except Exception:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py289 except Exception as e:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py315 except Exception:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py399 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py461 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py507 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py528 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py544 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py563 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py572 except Exception:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py607 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py632 except Exception:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py656 except Exception as e:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py728 except Exception as exc:CODE
LOWcomponents/Universal_TTS_Finetune/test_speaker.py9except Exception as e:CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py74 except Exception as e:CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py88 except Exception as e:CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py250 except Exception:CODE
276 more matches not shown…
Decorative Section Separators83 hits · 310 pts
SeverityFileLineSnippetContext
MEDIUMuninstall.sh12# =========================================================COMMENT
MEDIUMuninstall.sh14# =========================================================COMMENT
MEDIUMuninstall.sh20# =========================================================COMMENT
MEDIUMuninstall.sh22# =========================================================COMMENT
MEDIUMuninstall.sh46# =========================================================COMMENT
MEDIUMuninstall.sh48# =========================================================COMMENT
MEDIUMuninstall.sh57# =========================================================COMMENT
MEDIUMuninstall.sh59# =========================================================COMMENT
MEDIUMuninstall.sh69# =========================================================COMMENT
MEDIUMuninstall.sh71# =========================================================COMMENT
MEDIUMuninstall.sh84# =========================================================COMMENT
MEDIUMuninstall.sh86# =========================================================COMMENT
MEDIUMuninstall.sh95# =========================================================COMMENT
MEDIUMuninstall.sh97# =========================================================COMMENT
MEDIUMuninstall.sh103# =========================================================COMMENT
MEDIUMuninstall.sh105# =========================================================COMMENT
MEDIUMuninstall.sh132# =========================================================COMMENT
MEDIUMuninstall.sh134# =========================================================COMMENT
MEDIUMuninstall.sh142# =========================================================COMMENT
MEDIUMuninstall.sh144# =========================================================COMMENT
MEDIUMuninstall.sh170# =========================================================COMMENT
MEDIUMuninstall.sh172# =========================================================COMMENT
MEDIUMapp.py359 # -------------------------------------------------------------------------COMMENT
MEDIUMext/py/num2words/num2words/lang_IT.py54# ==========COMMENT
MEDIUMcomponents/sitecustomize.py30# ────────────────────────────────────────────────────────COMMENT
MEDIUMcomponents/sitecustomize.py33# ────────────────────────────────────────────────────────COMMENT
MEDIUMcomponents/sitecustomize.py44# ─────────────────────────────────────────────────────COMMENT
MEDIUMcomponents/sitecustomize.py46# ─────────────────────────────────────────────────────COMMENT
MEDIUMcomponents/sitecustomize.py117# ─────────────────────────────────────────────────────COMMENT
MEDIUMcomponents/sitecustomize.py119# ─────────────────────────────────────────────────────COMMENT
MEDIUM…l_TTS_Finetune/piper/piper_train/export_torchscript.py33 # -------------------------------------------------------------------------COMMENT
MEDIUM…l_TTS_Finetune/piper/piper_train/export_torchscript.py75# -----------------------------------------------------------------------------COMMENT
MEDIUM…Universal_TTS_Finetune/piper/piper_train/preprocess.py276# -----------------------------------------------------------------------------COMMENT
MEDIUM…Universal_TTS_Finetune/piper/piper_train/preprocess.py390# -----------------------------------------------------------------------------COMMENT
MEDIUM…Universal_TTS_Finetune/piper/piper_train/preprocess.py492# -----------------------------------------------------------------------------COMMENT
MEDIUM…Universal_TTS_Finetune/piper/piper_train/preprocess.py507# -----------------------------------------------------------------------------COMMENT
MEDIUM…ersal_TTS_Finetune/piper/piper_train/check_phonemes.py54# -----------------------------------------------------------------------------COMMENT
MEDIUM…TS_Finetune/piper/piper_train/export_onnx_streaming.py92 # -------------------------------------------------------------------------COMMENT
MEDIUM…TS_Finetune/piper/piper_train/export_onnx_streaming.py193# -----------------------------------------------------------------------------COMMENT
MEDIUM…sal_TTS_Finetune/piper/piper_train/voice_conversion.py44 # -------------------------------------------------------------------------COMMENT
MEDIUM…sal_TTS_Finetune/piper/piper_train/voice_conversion.py108# -----------------------------------------------------------------------------COMMENT
MEDIUM…niversal_TTS_Finetune/piper/piper_train/export_onnx.py42 # -------------------------------------------------------------------------COMMENT
MEDIUM…niversal_TTS_Finetune/piper/piper_train/export_onnx.py113# -----------------------------------------------------------------------------COMMENT
MEDIUM…sal_TTS_Finetune/piper/piper_train/export_generator.py31 # -------------------------------------------------------------------------COMMENT
MEDIUM…sal_TTS_Finetune/piper/piper_train/export_generator.py53# -----------------------------------------------------------------------------COMMENT
MEDIUM…s/Universal_TTS_Finetune/piper/piper_train/__main__.py192# -----------------------------------------------------------------------------COMMENT
MEDIUM…onents/Universal_TTS_Finetune/piper/piper/file_hash.py21# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py38# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py40# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py47# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py49# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py55# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py57# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py119# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py121# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py134# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py136# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py184# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py186# ---------------------------------------------------------------------COMMENT
MEDIUMlib/conf.py191# ---------------------------------------------------------------------COMMENT
23 more matches not shown…
Unused Imports355 hits · 304 pts
SeverityFileLineSnippetContext
LOWapp.py5CODE
LOWext/py/demucs/hubconf.py10CODE
LOWext/py/demucs/demucs/pretrained.py16CODE
LOWext/py/demucs/demucs/repitch.py12CODE
LOWext/py/demucs/demucs/api.py25CODE
LOWext/py/demucs/demucs/wav.py18CODE
LOWext/py/demucs/demucs/train.py18CODE
LOWext/py/demucs/demucs/audio.py13CODE
LOWext/py/num2words/num2words/lang_LT.py18CODE
LOWext/py/num2words/num2words/lang_SR.py18CODE
LOWext/py/num2words/num2words/lang_HU.py18CODE
LOWext/py/num2words/num2words/lang_HU.py18CODE
LOWext/py/num2words/num2words/lang_HU.py18CODE
LOWext/py/num2words/num2words/lang_ES_NI.py18CODE
LOWext/py/num2words/num2words/lang_ES_NI.py18CODE
LOWext/py/num2words/num2words/lang_UK.py18CODE
LOWext/py/num2words/num2words/lang_HI.py18CODE
LOWext/py/num2words/num2words/lang_ZH.py18CODE
LOWext/py/num2words/num2words/lang_ZH.py18CODE
LOWext/py/num2words/num2words/lang_ZH.py18CODE
LOWext/py/num2words/num2words/lang_FR.py18CODE
LOWext/py/num2words/num2words/lang_FR.py18CODE
LOWext/py/num2words/num2words/lang_NL.py18CODE
LOWext/py/num2words/num2words/lang_NL.py18CODE
LOWext/py/num2words/num2words/lang_CS.py18CODE
LOWext/py/num2words/num2words/lang_EN.py18CODE
LOWext/py/num2words/num2words/lang_EN.py18CODE
LOWext/py/num2words/num2words/lang_EN.py18CODE
LOWext/py/num2words/num2words/lang_SV.py18CODE
LOWext/py/num2words/num2words/lang_SV.py18CODE
LOWext/py/num2words/num2words/lang_SV.py18CODE
LOWext/py/num2words/num2words/lang_ES_CR.py19CODE
LOWext/py/num2words/num2words/lang_ES_CR.py19CODE
LOWext/py/num2words/num2words/lang_TR.py19CODE
LOWext/py/num2words/num2words/lang_RO.py18CODE
LOWext/py/num2words/num2words/lang_RO.py18CODE
LOWext/py/num2words/num2words/lang_RO.py18CODE
LOWext/py/num2words/num2words/lang_EO.py17CODE
LOWext/py/num2words/num2words/lang_EO.py17CODE
LOWext/py/num2words/num2words/lang_ES_CO.py18CODE
LOWext/py/num2words/num2words/lang_ES_CO.py18CODE
LOWext/py/num2words/num2words/lang_ZH_HK.py18CODE
LOWext/py/num2words/num2words/lang_ZH_HK.py18CODE
LOWext/py/num2words/num2words/lang_ZH_HK.py18CODE
LOWext/py/num2words/num2words/lang_SK.py17CODE
LOWext/py/num2words/num2words/lang_IT.py17CODE
LOWext/py/num2words/num2words/lang_ES.py18CODE
LOWext/py/num2words/num2words/lang_ES.py18CODE
LOWext/py/num2words/num2words/lang_ES.py18CODE
LOWext/py/num2words/num2words/lang_FR_CH.py17CODE
LOWext/py/num2words/num2words/lang_FR_CH.py17CODE
LOWext/py/num2words/num2words/lang_BE.py18CODE
LOWext/py/num2words/num2words/lang_CE.py17CODE
LOWext/py/num2words/num2words/lang_TE.py3CODE
LOWext/py/num2words/num2words/lang_CY.py17CODE
LOWext/py/num2words/num2words/lang_CA.py1CODE
LOWext/py/num2words/num2words/lang_CA.py1CODE
LOWext/py/num2words/num2words/lang_CA.py1CODE
LOWext/py/num2words/num2words/lang_FR_DZ.py18CODE
LOWext/py/num2words/num2words/lang_DE.py18CODE
295 more matches not shown…
Deep Nesting257 hits · 214 pts
SeverityFileLineSnippetContext
LOWdetect_gpus.py8CODE
LOWapp.py93CODE
LOWtools/icons/generate-icons.py91CODE
LOWtools/readme_i18n/update_translations.py206CODE
LOWtools/readme_i18n/update_translations.py240CODE
LOWext/py/demucs/tools/automix.py280CODE
LOWext/py/demucs/demucs/pretrained.py41CODE
LOWext/py/demucs/demucs/solver.py103CODE
LOWext/py/demucs/demucs/solver.py172CODE
LOWext/py/demucs/demucs/solver.py291CODE
LOWext/py/demucs/demucs/separate.py108CODE
LOWext/py/demucs/demucs/svd.py31CODE
LOWext/py/demucs/demucs/hdemucs.py195CODE
LOWext/py/demucs/demucs/demucs.py34CODE
LOWext/py/demucs/demucs/demucs.py438CODE
LOWext/py/demucs/demucs/wav.py31CODE
LOWext/py/demucs/demucs/audio.py144CODE
LOWext/py/demucs/demucs/evaluate.py67CODE
LOWext/py/demucs/demucs/apply.py145CODE
LOWext/py/demucs/demucs/grids/_explorers.py38CODE
LOWext/py/demucs/demucs/grids/mmi.py12CODE
LOWext/py/demucs/demucs/grids/mmi_ft.py23CODE
LOWext/py/num2words/num2words/lang_LT.py145CODE
LOWext/py/num2words/num2words/lang_HU.py75CODE
LOWext/py/num2words/num2words/lang_HU.py126CODE
LOWext/py/num2words/num2words/lang_UK.py1000CODE
LOWext/py/num2words/num2words/lang_ZH.py70CODE
LOWext/py/num2words/num2words/lang_EN.py58CODE
LOWext/py/num2words/num2words/lang_SV.py68CODE
LOWext/py/num2words/num2words/lang_TR.py119CODE
LOWext/py/num2words/num2words/lang_TR.py486CODE
LOWext/py/num2words/num2words/lang_RO.py69CODE
LOWext/py/num2words/num2words/lang_SK.py124CODE
LOWext/py/num2words/num2words/lang_IT.py143CODE
LOWext/py/num2words/num2words/lang_IT.py160CODE
LOWext/py/num2words/num2words/lang_ES.py274CODE
LOWext/py/num2words/num2words/lang_ES.py305CODE
LOWext/py/num2words/num2words/lang_AR.py173CODE
LOWext/py/num2words/num2words/lang_AR.py250CODE
LOWext/py/num2words/num2words/lang_BE.py217CODE
LOWext/py/num2words/num2words/lang_BE.py312CODE
LOWext/py/num2words/num2words/lang_CE.py367CODE
LOWext/py/num2words/num2words/lang_TE.py143CODE
LOWext/py/num2words/num2words/lang_CY.py577CODE
LOWext/py/num2words/num2words/lang_CY.py247CODE
LOWext/py/num2words/num2words/lang_CY.py357CODE
LOWext/py/num2words/num2words/lang_CA.py374CODE
LOWext/py/num2words/num2words/lang_CA.py399CODE
LOWext/py/num2words/num2words/lang_DE.py87CODE
LOWext/py/num2words/num2words/lang_HY.py271CODE
LOWext/py/num2words/num2words/lang_HE.py109CODE
LOWext/py/num2words/num2words/lang_TG.py114CODE
LOWext/py/num2words/num2words/lang_JA.py45CODE
LOWext/py/num2words/num2words/lang_JA.py427CODE
LOWext/py/num2words/num2words/lang_AZ.py166CODE
LOWext/py/num2words/num2words/lang_IS.py76CODE
LOWext/py/num2words/num2words/lang_AM.py90CODE
LOWext/py/num2words/num2words/lang_SL.py66CODE
LOWext/py/num2words/num2words/lang_TET.py72CODE
LOWext/py/num2words/num2words/lang_TET.py138CODE
197 more matches not shown…
Cross-Language Confusion29 hits · 155 pts
SeverityFileLineSnippetContext
HIGHapp.py199 {"book1.epub": "/voices/eng/adult/female/alice.wav", "/abs/path/book2.epub": null}''')CODE
HIGHlib/gradio.py3641 let lastCue = null;CODE
HIGHlib/gradio.py3642 let fade_timeout = null;CODE
HIGHlib/gradio.py3644 if(gr_audiobook_player && gr_audiobook_sentence && gr_playback_time){CODE
HIGHlib/gradio.py3649 if(cue && cue !== lastCue){CODE
HIGHlib/gradio.py3661 fade_timeout = null;CODE
HIGHlib/gradio.py3664 }else if(!cue && lastCue !== null){CODE
HIGHlib/gradio.py3664 }else if(!cue && lastCue !== null){CODE
HIGHlib/gradio.py3665 lastCue = null;CODE
HIGHlib/gradio.py3825 if(start !== null && end !== null && textBuffer.length){CODE
HIGHlib/gradio.py3826 cues.push({ start, end, text: textBuffer.join("\n") });CODE
HIGHlib/gradio.py3828 start = end = null;CODE
HIGHlib/gradio.py3833 let start = null, end = null;CODE
HIGHlib/gradio.py3067 const gr_root = (window.gradioApp && window.gradioApp()) || document;CODE
HIGHlib/gradio.py3436 let gr_root = (window.gradioApp && window.gradioApp()) || document;CODE
HIGHlib/gradio.py3453 window.onElementAvailable = (selector, callback, { root = (window.gradioApp && window.grCODE
HIGHlib/gradio.py3500 gr_root = (window.gradioApp && window.gradioApp()) || document;CODE
HIGHlib/gradio.py3501 gr_progress = (gr_root) ? gr_root.querySelector("#gr_progress") : undefined;CODE
HIGHlib/gradio.py3556 if(saved === undefined || saved === null || saved === ""){CODE
HIGHlib/gradio.py3597 if(gr_voice_player_hidden && gr_voice_play){CODE
HIGHlib/gradio.py3696 lastCue = null;CODE
HIGHlib/gradio.py3770 const gr_root = (window.gradioApp && window.gradioApp()) || document;CODE
HIGHlib/gradio.py3772 const val = el?.value || el?.textContent || "";CODE
HIGHlib/gradio.py3846 textBuffer.push(line);CODE
HIGHlib/gradio.py3877 return null;CODE
HIGHlib/gradio.py3920 if(!msg || msg.senderId === tab_id){CODE
HIGHlib/gradio.py3960 window._original_fetch = window._original_fetch || originalFetch;CODE
HIGHlib/gradio.py3965 if(value instanceof File && value.size > 0){CODE
HIGHlib/gradio.py4012 return null;CODE
Over-Commented Block104 hits · 104 pts
SeverityFileLineSnippetContext
LOWpodman-compose.yml1# podman-compose.yml — universal across cpu / cuda / rocm / xpu (+ jetson),COMMENT
LOWdocker-compose.yml1# docker-compose.yml — universal across cpu / cuda / rocm / xpu (+ jetson),COMMENT
LOWext/py/demucs/tools/__init__.py1# Copyright (c) Meta Platforms, Inc. and affiliates.COMMENT
LOWext/py/demucs/demucs/__init__.py1# Copyright (c) Meta Platforms, Inc. and affiliates.COMMENT
LOWext/py/demucs/demucs/wdemucs.py1# Copyright (c) Meta Platforms, Inc. and affiliates.COMMENT
LOWext/py/num2words/setup.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_LT.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_SR.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_HU.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ES_NI.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_UK.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_HI.py1# -*- encoding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ZH.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_FR.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_NL.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_CS.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_EN.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_SV.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ES_CR.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_TR.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_RO.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/compat.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_EO.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ES_CO.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ZH_HK.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_SK.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_IT.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_BN.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ES.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_AR.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_FR_CH.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_BE.py1# Copyright (c) 2003, Taro Ogawa. All Rights Reserved.COMMENT
LOWext/py/num2words/num2words/lang_CE.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_CY.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_CY.py21COMMENT
LOWext/py/num2words/num2words/lang_CY.py41# e.g. "300"COMMENT
LOWext/py/num2words/num2words/lang_CY.py501 m.append((c, None))COMMENT
LOWext/py/num2words/num2words/lang_CY.py521 # else:COMMENT
LOWext/py/num2words/num2words/lang_FR_DZ.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_DE.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ES_VE.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_FA.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_DA.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_KZ.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_EN_NG.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_FR_BE.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_HY.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_HE.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_TG.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/utils.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_JA.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ID.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_AZ.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_KO.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_IS.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_AM.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_SL.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_ZH_CN.py1# -*- coding: utf-8 -*-COMMENT
LOWext/py/num2words/num2words/lang_TET.py1# -*- coding: utf-8 -*-Num2Word_TETCOMMENT
44 more matches not shown…
Hyper-Verbose Identifiers80 hits · 56 pts
SeverityFileLineSnippetContext
LOWext/py/demucs/demucs/transformer.py73def create_sin_embedding_cape(CODE
LOWext/py/demucs/demucs/transformer.py811def scaled_dot_product_attention(q, k, v, att_mask, dropout):CODE
LOWext/py/num2words/num2words/lang_HI.py190 def _convert_to_hindi_numerals(self, value):CODE
LOWext/py/num2words/num2words/lang_IT.py213def exponent_length_to_string(exponent_length):CODE
LOWext/py/num2words/num2words/lang_BN.py81 def _is_smaller_than_max_number(self, number):CODE
LOWext/py/num2words/num2words/lang_AR.py126 def extract_integer_and_decimal_parts(self):CODE
LOWcomponents/sitecustomize.py47def wrapped_check_torch_load_is_safe(*args: Any, **kwargs: Any) -> None:CODE
LOW…ents/E2A-SML/booknlp/common/sequence_layered_reader.py136def prepare_annotations_from_file(filename, tagset, labeled=True):CODE
LOW…ents/E2A-SML/booknlp/common/sequence_layered_reader.py147def prepare_annotations_from_folder(folder, tagset, labeled=True):CODE
LOW…ponents/E2A-SML/booknlp/english/speaker_attribution.py57 def get_wp_position_for_all_tokens(self, words, doLowerCase=True):CODE
LOW…ts/E2A-SML/booknlp/english/gender_inference_model_1.py89 def add_hyperparameters_to_counts(self, refs=None, entities=None, tokens=None):CODE
LOWcomponents/E2A-SML/booknlp/english/tagger.py356 def get_supersense_layer_transformation(tag_space, t):CODE
LOWcomponents/E2A-SML/booknlp/english/name_coref.py287 def cluster_identical_propers(self, entities, refs):CODE
LOWcomponents/E2A-SML/booknlp/english/english_booknlp.py361 def infer_age_category_with_scores(self, character_data):CODE
LOWcomponents/E2A-SML/booknlp/english/english_booknlp.py559 def generate_simplified_character_json(self, entities, assignments, genders, chardata, outFolder, idd):CODE
LOWcomponents/E2A-SML/booknlp/english/english_booknlp.py707 def generate_book_with_character_tags(self, tokens, quotes, attributed_quotations, entities, assignments, genders, charCODE
LOWcomponents/E2A-SML/sml_extractor/core.py11def check_booknlp_installation() -> tuple[bool, str]:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py264def resolve_resume_checkpoint(artifacts_file_path: str) -> str:CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py595def on_training_params_change(model_key, dataset_dir):CODE
LOWcomponents/Universal_TTS_Finetune/web_gui.py1223 def on_restore_dropdown_change(artifacts_path):STRING
LOWcomponents/Universal_TTS_Finetune/utils/tokenizer.py248def expand_abbreviations_multilingual(text, lang="en"):CODE
LOWcomponents/Universal_TTS_Finetune/utils/tokenizer.py456def expand_symbols_multilingual(text, lang="en"):CODE
LOWcomponents/Universal_TTS_Finetune/utils/tokenizer.py548def expand_numbers_multilingual(text, lang="en"):CODE
LOWcomponents/Universal_TTS_Finetune/utils/tokenizer.py697def test_expand_numbers_multilingual():CODE
LOWcomponents/Universal_TTS_Finetune/utils/tokenizer.py796def test_abbreviations_multilingual():CODE
LOWcomponents/Universal_TTS_Finetune/utils/tokenizer.py839def test_symbols_multilingual():CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py364def _extract_transcribed_words(segments: Sequence[Any]) -> list[Any]:CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py412def _extract_speaker_embeddings_pyannote(entries: list[dict[str, Any]], progress: ProgressCallback = None) -> np.ndarrayCODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py448def align_audio_and_text_to_vtt(CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py1380def _optimize_xtts_checkpoint(source_path: Path, destination_path: Path) -> None:CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py1397def _finalize_training_artifacts(CODE
LOWcomponents/Universal_TTS_Finetune/utils/piper_utils.py226def normalize_espeak_language(language_code: str) -> str:CODE
LOWcomponents/Universal_TTS_Finetune/utils/piper_utils.py20def ensure_monotonic_align_compiled():CODE
LOWcomponents/Universal_TTS_Finetune/utils/piper_utils.py53def get_voices_json_languages() -> set[str]:CODE
LOWcomponents/Universal_TTS_Finetune/utils/piper_utils.py181def download_piper_checkpoint(checkpoint_info: dict[str, str], progress_callback=None) -> tuple[Path, Path]:CODE
LOWcomponents/Universal_TTS_Finetune/utils/piper_utils.py283def _check_and_generate_piper_sample(CODE
LOW…_TTS_Finetune/piper/piper_train/vits/mel_processing.py8def dynamic_range_compression_torch(x, C=1, clip_val=1e-5):CODE
LOW…_TTS_Finetune/piper/piper_train/vits/mel_processing.py17def dynamic_range_decompression_torch(x, C=1):CODE
LOW…_TTS_Finetune/piper/piper_train/vits/mel_processing.py31def spectral_de_normalize_torch(magnitudes):CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/transforms.py10def piecewise_rational_quadratic_transform(CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/transforms.py50def unconstrained_rational_quadratic_spline(CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/transforms.py101def rational_quadratic_spline(CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/attentions.py274 def _matmul_with_relative_values(self, x, y):CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/attentions.py283 def _matmul_with_relative_keys(self, x, y):CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/attentions.py311 def _relative_position_to_absolute_position(self, x):CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/attentions.py333 def _absolute_position_to_relative_position(self, x):CODE
LOW…iversal_TTS_Finetune/piper/piper_train/vits/commons.py100def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels):CODE
LOWlib/core.py2764 def _generate_ffmpeg_metadata(part_chapters:list[tuple[str,str]], output_metadata_path:str, default_audio_proc_formaSTRING
LOWlib/core.py3154def sanitize_meta_chapter_title(title:str, max_bytes:int=140)->str:STRING
LOWlib/core.py3160def strip_invalid_filename_characters(filename:str, max_bytes:int=200)->str:STRING
LOWlib/core.py3236def get_compatible_tts_engines(language:str)->list[str]:STRING
LOWlib/core.py3814def restore_session_from_data(data:dict, session:DictProxy, force:bool, filter_keys:bool)->None:STRING
LOWlib/gradio.py1213 def _restore_audiobook_player(session_id:str, audiobook:str|None)->tuple:STRING
LOWlib/gradio.py1272 def _change_gr_audiobook_list(session_id:str, selected:str|None)->dict:STRING
LOWlib/gradio.py1285 def _update_gr_audiobook_player(session_id:str)->tuple:STRING
LOWlib/gradio.py1575 def _click_gr_custom_model_del_btn(session_id:str, selected:str)->tuple:STRING
LOWlib/gradio.py1589 def _click_gr_audiobook_del_btn(session_id:str, selected:str)->tuple:STRING
LOWlib/gradio.py1969 def _change_gr_custom_model_list(session_id:str, selected:str|None)->tuple:STRING
LOWlib/gradio.py1984 def _change_gr_tts_engine_list(session_id:str, engine:str)->tuple:STRING
LOWlib/gradio.py2036 def _change_gr_output_format_list(session_id:str, val:str)->None:STRING
20 more matches not shown…
AI Structural Patterns42 hits · 41 pts
SeverityFileLineSnippetContext
LOWext/py/demucs/demucs/htdemucs.py56CODE
LOWext/py/demucs/demucs/svd.py31CODE
LOWext/py/demucs/demucs/api.py55CODE
LOWext/py/demucs/demucs/api.py125CODE
LOWext/py/demucs/demucs/hdemucs.py66CODE
LOWext/py/demucs/demucs/hdemucs.py70CODE
LOWext/py/demucs/demucs/hdemucs.py257CODE
LOWext/py/demucs/demucs/hdemucs.py366CODE
LOWext/py/demucs/demucs/transformer.py272CODE
LOWext/py/demucs/demucs/transformer.py381CODE
LOWext/py/demucs/demucs/transformer.py527CODE
LOWext/py/demucs/demucs/transformer.py726CODE
LOWext/py/demucs/demucs/demucs.py93CODE
LOWext/py/demucs/demucs/demucs.py221CODE
LOWext/py/demucs/demucs/apply.py145CODE
LOWext/py/num2words/num2words/lang_FR.py110CODE
LOWext/py/num2words/num2words/lang_EO.py126CODE
LOWext/py/num2words/num2words/lang_IT.py197CODE
LOWext/py/num2words/num2words/lang_ES.py416CODE
LOWext/py/num2words/num2words/lang_CA.py476CODE
LOWext/py/num2words/num2words/lang_FR_DZ.py33CODE
LOWext/py/num2words/num2words/lang_DE.py139CODE
LOWext/py/num2words/num2words/lang_EN_NG.py37CODE
LOWext/py/num2words/num2words/lang_AM.py124CODE
LOWext/py/num2words/num2words/lang_TET.py201CODE
LOWext/py/num2words/num2words/lang_PT.py241CODE
LOWext/py/num2words/num2words/lang_NO.py122CODE
LOW…ts/E2A-SML/booknlp/english/gender_inference_model_1.py31CODE
LOWcomponents/E2A-SML/booknlp/english/tagger.py16CODE
LOW…s/E2A-SML/booknlp/english/bert_coref_quote_pronouns.py109CODE
LOW…s/E2A-SML/booknlp/english/bert_coref_quote_pronouns.py250CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py585CODE
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py1544CODE
LOW…TS_Finetune/piper/piper_train/export_onnx_streaming.py69CODE
LOW…_TTS_Finetune/piper/piper_train/vits/mel_processing.py28CODE
LOW…_TTS_Finetune/piper/piper_train/vits/mel_processing.py33CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/transforms.py101CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/attentions.py281CODE
LOW…rsal_TTS_Finetune/piper/piper_train/vits/attentions.py290CODE
LOW…ersal_TTS_Finetune/piper/piper_train/vits/lightning.py21CODE
LOW…_TTS_Finetune/piper/piper_train/norm_audio/__init__.py21CODE
LOW…ersal_TTS_Finetune/piper/piper_train/norm_audio/vad.py54CODE
Redundant / Tautological Comments15 hits · 22 pts
SeverityFileLineSnippetContext
LOWe2a.sh1027 # Check if running in a Conda or Python virtual environmentCOMMENT
LOWapp.py260 # Check if the port is already in use to prevent multiple launchesCOMMENT
LOWebook2audiobook.sh1027 # Check if running in a Conda or Python virtual environmentCOMMENT
LOWext/py/num2words/num2words/lang_ZH.py277 # Check if reading is providedCOMMENT
LOWcomponents/E2A-SML/booknlp/english/english_booknlp.py774 # Check if any tokens in this sentence are part of quotesCOMMENT
LOWcomponents/E2A-SML/sml_extractor/core.py348 # Check if age was already inferredCOMMENT
LOWcomponents/Universal_TTS_Finetune/web_gui.py627 # Check if language exists in prebuilt voices.jsonCOMMENT
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py617 # Check if transcript_file is a VTT file or needs forced alignment globallyCOMMENT
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py674 # Check if Whisper is needed for any of the files in the batchCOMMENT
LOWcomponents/Universal_TTS_Finetune/utils/pipeline.py1222 # Check if the shared directory already has themCOMMENT
LOWcomponents/Universal_TTS_Finetune/utils/piper_utils.py26 # Check if compiled file exists in target_dirCOMMENT
LOW…tune/recipes/multilingual/cml_yourtts/train_yourtts.py52# Check if LibriTTS dataset is not already downloaded, if not download itCOMMENT
LOW…tune/recipes/multilingual/cml_yourtts/train_yourtts.py144 # Check if the embeddings weren't already computed, if not compute itCOMMENT
LOW…sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py52# Check if VCTK dataset is not already downloaded, if not download itCOMMENT
LOW…sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py94 # Check if the embeddings weren't already computed, if not compute itCOMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHext/py/num2words/num2words/lang_SR.py0args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency namSTRING
HIGHext/py/num2words/num2words/lang_CE.py0args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency namSTRING
HIGHext/py/num2words/num2words/lang_CY.py0args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency namSTRING
HIGHext/py/num2words/num2words/lang_TET.py0args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency namSTRING
Structural Annotation Overuse11 hits · 20 pts
SeverityFileLineSnippetContext
LOWcomponents/E2A-SML/README.md100### Step 1: BookNLP AnalysisCOMMENT
LOWcomponents/E2A-SML/README.md109### Step 2: SML GenerationCOMMENT
LOWcomponents/E2A-SML/README.md133### Step 3: Voice AssignmentCOMMENT
LOWcomponents/E2A-SML/cli.py168 # Step 1: Get text fileCOMMENT
LOWcomponents/E2A-SML/cli.py198 # Step 2: Load BookNLP dataCOMMENT
LOWcomponents/E2A-SML/cli.py202 # Step 3: Extract charactersCOMMENT
LOWcomponents/E2A-SML/cli.py232 # Step 5: Generate SML output (macro-based: voice tags use character names)COMMENT
LOWcomponents/E2A-SML/cli.py243 # Step 6: Generate deprecated SML output (path-based: voice tags use raw file paths)COMMENT
LOWcomponents/E2A-SML/cli.py250 # Step 7: Generate SML macros JSONCOMMENT
LOWcomponents/E2A-SML/cli.py215 # Step 4: Auto-assign voices from ebook2audiobook voice libraryCOMMENT
LOWlib/core.py1222 # Step 1: Extract TOC (Table of Contents)STRING
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMext/py/demucs/demucs/audio_legacy.py1# This file is to extend support for torchaudio 2.1COMMENT
MEDIUMcomponents/Universal_TTS_Finetune/utils/gpt_train.py51 # Define the path where XTTS v2.0.1 files will be downloadedCOMMENT
MEDIUM…TS_Finetune/recipes/ljspeech/xtts_v1/train_gpt_xtts.py42# Define the path where XTTS v1.1.1 files will be downloadedCOMMENT
MEDIUM…TS_Finetune/recipes/ljspeech/xtts_v2/train_gpt_xtts.py42# Define the path where XTTS v2.0.1 files will be downloadedCOMMENT
MEDIUM…sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py50# Define the number of threads used during the audio resamplingCOMMENT
MEDIUMlib/classes/argos_translator.py128 # Create a custom pivot translator objectCOMMENT
Verbosity Indicators8 hits · 15 pts
SeverityFileLineSnippetContext
LOWcomponents/E2A-SML/cli.py168 # Step 1: Get text fileCOMMENT
LOWcomponents/E2A-SML/cli.py198 # Step 2: Load BookNLP dataCOMMENT
LOWcomponents/E2A-SML/cli.py202 # Step 3: Extract charactersCOMMENT
LOWcomponents/E2A-SML/cli.py232 # Step 5: Generate SML output (macro-based: voice tags use character names)COMMENT
LOWcomponents/E2A-SML/cli.py243 # Step 6: Generate deprecated SML output (path-based: voice tags use raw file paths)COMMENT
LOWcomponents/E2A-SML/cli.py250 # Step 7: Generate SML macros JSONCOMMENT
LOWcomponents/E2A-SML/cli.py215 # Step 4: Auto-assign voices from ebook2audiobook voice libraryCOMMENT
LOWlib/core.py1222 # Step 1: Extract TOC (Table of Contents)STRING
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWext/py/demucs/tools/export.py22logger = logging.getLogger(__name__)CODE
LOWext/py/demucs/demucs/distrib.py19logger = logging.getLogger(__name__)CODE
LOWext/py/demucs/demucs/pretrained.py19logger = logging.getLogger(__name__)CODE
LOWext/py/demucs/demucs/solver.py23logger = logging.getLogger(__name__)CODE
LOWext/py/demucs/demucs/train.py34logger = logging.getLogger(__name__)CODE
LOWext/py/demucs/demucs/evaluate.py27logger = logging.getLogger(__name__)CODE
LOW…iversal_TTS_Finetune/piper/piper_train/vits/wavfile.py19__all__ = ["WavFileWarning", "read", "write"]CODE
LOW…ponents/Universal_TTS_Finetune/piper/piper/__init__.py3__all__ = [CODE
LOWlib/__init__.py30__all__ = [CODE
LOWlib/classes/tts_engines/common/headers.py14__all__ = [CODE
Slop Phrases4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM…tune/recipes/multilingual/cml_yourtts/train_yourtts.py190 resblock_type_decoder="2", # In the paper, we accidentally trained the YourTTS using ResNet blocks type 2, if you lCODE
MEDIUM…tune/recipes/multilingual/cml_yourtts/train_yourtts.py198# General training config, here you can change the batch size and others useful parametersCOMMENT
MEDIUM…sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py134 resblock_type_decoder="2", # In the paper, we accidentally trained the YourTTS using ResNet blocks type 2, if you lCODE
MEDIUM…sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py142# General training config, here you can change the batch size and others useful parametersCOMMENT
AI Slop Vocabulary4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcomponents/E2A-SML/booknlp/english/name_coref.py77 # first, if a name is a complete match for an alias, just return the canonicals for the aliasCOMMENT
MEDIUMcomponents/Universal_TTS_Finetune/utils/pipeline.py934 # Use 'average' linkage which is more robust to outliers than 'complete' linkageCOMMENT
LOW…tune/recipes/multilingual/cml_yourtts/train_yourtts.py131# Add here all datasets configs Note: If you want to add new datasets, just add them here and it will automatically compCOMMENT
LOW…sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py81# Add here all datasets configs, in our case we just want to train with the VCTK dataset then we need to add just VCTK. COMMENT
Modern AI Meta-Vocabulary4 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcomponents/Universal_TTS_Finetune/utils/pipeline.py888 # Guard against Whisper hallucination loops & excessive speedCOMMENT
MEDIUMlib/core.py2471 # Replace punctuations causing hallucinationsSTRING
MEDIUMlib/conf_lang.py35 # Quotes causing hallucinations in some TTS enginesSTRING
MEDIUMlib/conf_lang.py55 # Misinterpreted punctuation that can lead to hallucinationsSTRING
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcomponents/E2A-SML/sml_extractor/core.py119Run BookNLP pipeline on a text file and return extracted data. Args: input_file: Path to the input text filSTRING