Repository Analysis

k2-fsa/OmniVoice

High-Quality Voice Cloning TTS for 600+ Languages

23.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of k2-fsa/OmniVoice, a Python project with 9,516 GitHub stars. SynthScan v2.0 examined 18,719 lines of code across 83 source files, recording 250 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 23.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).

23.2
Adjusted Score
23.2
Raw Score
100%
Time Factor
2026-08-24
Last Push
9.5K
Stars
Python
Language
18.7K
Lines of Code
83
Files
250
Pattern Hits
2026-08-29
Scan Date
0.16
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 13MEDIUM 67LOW 170

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 250 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators65 hits · 195 pts
SeverityFileLineSnippetContext
MEDIUMomnivoice/utils/duration.py33 # ==========================================COMMENT
MEDIUMomnivoice/utils/duration.py35 # ==========================================COMMENT
MEDIUMomnivoice/utils/duration.py68 # ==========================================COMMENT
MEDIUMomnivoice/utils/duration.py70 # ==========================================COMMENT
MEDIUMomnivoice/utils/duration.py252# ==========================================COMMENT
MEDIUMomnivoice/utils/duration.py254# ==========================================COMMENT
MEDIUMomnivoice/utils/text.py228# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/utils/text.py230# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/utils/audio.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/utils/audio.py42# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/utils/audio.py124# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/utils/audio.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py238# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py240# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py386 # -------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py388 # -------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py579 # -------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py581 # -------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py1455# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py1457# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py1722# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/models/omnivoice.py1724# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/cli/demo.py219 # =====================================================================COMMENT
MEDIUMomnivoice/cli/demo.py221 # =====================================================================COMMENT
MEDIUMomnivoice/cli/demo.py312 # ==============================================================STRING
MEDIUMomnivoice/cli/demo.py314 # ==============================================================STRING
MEDIUMomnivoice/cli/demo.py397 # ==============================================================STRING
MEDIUMomnivoice/cli/demo.py399 # ==============================================================STRING
MEDIUMomnivoice/cli/demo.py497# ---------------------------------------------------------------------------STRING
MEDIUMomnivoice/cli/demo.py499# ---------------------------------------------------------------------------STRING
MEDIUMomnivoice/scripts/denoise_audio.py220# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py222# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py400# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py402# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py471# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py473# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py519# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py521# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py736# ---------------------------------------------------------------------------COMMENT
MEDIUMomnivoice/scripts/denoise_audio.py738# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/run_emilia.sh40# =================================COMMENT
MEDIUMexamples/run_finetune_lora.sh38# =================================COMMENT
MEDIUMexamples/run_finetune.sh38# =================================COMMENT
MEDIUMexamples/run_eval.sh63# ============================================================COMMENT
MEDIUMexamples/run_eval.sh65# ============================================================COMMENT
MEDIUMexamples/run_eval.sh111# ============================================================COMMENT
MEDIUMexamples/run_eval.sh113# ============================================================COMMENT
MEDIUMexamples/run_eval.sh147# ============================================================COMMENT
MEDIUMexamples/run_eval.sh149# ============================================================COMMENT
MEDIUMexamples/run_eval.sh183# ============================================================COMMENT
5 more matches not shown…
Excessive Try-Catch Wrapping57 hits · 57 pts
SeverityFileLineSnippetContext
LOWomnivoice/utils/text.py316 except Exception: # pragma: no cover - lang_map should be importableCODE
LOWomnivoice/utils/text.py332 except Exception:CODE
LOWomnivoice/utils/text.py351 except Exception as e: # pragma: no cover - defensiveCODE
MEDIUMomnivoice/utils/text.py329def _repl(match):CODE
LOWomnivoice/utils/audio.py59 except Exception:CODE
LOWomnivoice/utils/audio.py106 except Exception:CODE
LOWomnivoice/cli/infer_batch.py275 except Exception:CODE
LOWomnivoice/cli/infer_batch.py539 except Exception as e:CODE
LOWomnivoice/cli/demo.py210 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens.py256 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens.py317 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens.py506 except Exception as exc:CODE
LOWomnivoice/scripts/extract_audio_tokens.py579 except Exception:CODE
LOWomnivoice/scripts/denoise_audio.py608 except Exception as e:CODE
LOWomnivoice/scripts/denoise_audio.py671 except Exception:CODE
LOWomnivoice/scripts/denoise_audio.py931 except Exception as exc:CODE
LOWomnivoice/scripts/denoise_audio.py1003 except Exception:CODE
LOWomnivoice/scripts/jsonl_to_webdataset.py192 except Exception as e:CODE
LOWomnivoice/scripts/jsonl_to_webdataset.py406 except Exception as e:CODE
MEDIUMomnivoice/scripts/jsonl_to_webdataset.py426 print(f"Error details: {error_log_path}")CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py332 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py343 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py378 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py444 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py505 except Exception as e:CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py699 except Exception as exc:CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py777 except Exception:CODE
LOWomnivoice/eval/mos/utmos.py128 except Exception as e:CODE
LOWomnivoice/eval/mos/utmos.py158 except Exception as e:CODE
LOWomnivoice/eval/mos/utmos.py198 except Exception as e:CODE
LOWomnivoice/eval/speaker_similarity/sim.py181 except Exception as e:CODE
LOWomnivoice/eval/wer/sensevoice.py138 except Exception:CODE
LOWomnivoice/eval/wer/sensevoice.py157 except Exception as e:CODE
LOWomnivoice/eval/wer/sensevoice.py223 except Exception:CODE
LOWomnivoice/eval/wer/sensevoice.py308 except Exception as e:CODE
LOWomnivoice/eval/wer/minimax.py192 except Exception:CODE
LOWomnivoice/eval/wer/minimax.py212 except Exception as e:CODE
LOWomnivoice/eval/wer/minimax.py227 except Exception as e:CODE
LOWomnivoice/eval/wer/minimax.py326 except Exception:CODE
LOWomnivoice/eval/wer/minimax.py367 except Exception:CODE
LOWomnivoice/eval/wer/minimax.py483 except Exception as e:CODE
LOWomnivoice/eval/wer/minimax.py514 except Exception as e:CODE
LOWomnivoice/eval/wer/fleurs.py221 except Exception as e:STRING
LOWomnivoice/eval/wer/fleurs.py237 except Exception:STRING
LOWomnivoice/eval/wer/fleurs.py251 except Exception as e:STRING
LOWomnivoice/eval/wer/fleurs.py319 except Exception:STRING
LOWomnivoice/eval/wer/fleurs.py423 except Exception as e:STRING
LOWomnivoice/eval/wer/hubert.py103 except Exception:CODE
LOWomnivoice/eval/wer/hubert.py116 except Exception as e:CODE
LOWomnivoice/eval/wer/hubert.py193 except Exception:CODE
LOWomnivoice/eval/wer/seedtts.py195 except Exception:CODE
LOWomnivoice/eval/wer/seedtts.py211 except Exception as e:CODE
LOWomnivoice/eval/wer/seedtts.py274 except Exception:CODE
LOWomnivoice/eval/wer/seedtts.py353 except Exception as e:CODE
LOWomnivoice/data/batching.py97 except Exception as e:CODE
LOWomnivoice/data/batching.py168 except Exception as e:CODE
LOWomnivoice/data/dataset.py437 except Exception as e:CODE
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHomnivoice/scripts/extract_audio_tokens.py0convert tensors and numpy scalars to serialisable python objects.STRING
HIGHomnivoice/scripts/denoise_audio.py0convert tensors and numpy scalars to serialisable python objects.STRING
HIGHomnivoice/scripts/extract_audio_tokens_add_noise.py0convert tensors and numpy scalars to serialisable python objects.STRING
HIGHomnivoice/eval/wer/minimax.py0cleans and normalizes text for wer calculation. args: text (str): the input text to be processed. returns: str: the cleaSTRING
HIGHomnivoice/eval/wer/fleurs.py0cleans and normalizes text for wer calculation. args: text (str): the input text to be processed. returns: str: the cleaSTRING
HIGHomnivoice/eval/wer/seedtts.py0cleans and normalizes text for wer calculation. args: text (str): the input text to be processed. returns: str: the cleaSTRING
HIGHomnivoice/eval/wer/hubert.py0cleans and normalizes text for wer calculation. args: text (str): the input text to be processed. returns: str: the cleaSTRING
HIGHomnivoice/eval/wer/minimax.py0worker function to process a chunk of data. uses the global worker_pipe initialized by process_init.STRING
HIGHomnivoice/eval/wer/fleurs.py0worker function to process a chunk of data. uses the global worker_pipe initialized by process_init.STRING
HIGHomnivoice/eval/wer/seedtts.py0worker function to process a chunk of data. uses the global worker_pipe initialized by process_init.STRING
Over-Commented Block40 hits · 40 pts
SeverityFileLineSnippetContext
LOWomnivoice/training/config.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/training/checkpoint.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/training/builder.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/training/trainer.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/duration.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/data_utils.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/common.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/text.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/text.py221 is_chinese = any("\u4e00" <= char <= "\u9fff" for char in text)COMMENT
LOWomnivoice/utils/audio.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/lora.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/lang_map.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/utils/voice_design.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/models/omnivoice.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/cli/merge_lora.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/cli/train.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/cli/infer_batch.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/cli/demo.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/scripts/extract_audio_tokens.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/scripts/denoise_audio.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/scripts/denoise_audio.py521# ---------------------------------------------------------------------------COMMENT
LOWomnivoice/scripts/jsonl_to_webdataset.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/utils.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/mos/utmos.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/models/utmos.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/models/ecapa_tdnn_wavlm.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/speaker_similarity/sim.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/wer/sensevoice.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/wer/minimax.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/wer/common.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/wer/fleurs.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/wer/hubert.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/eval/wer/seedtts.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/data/batching.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/data/collator.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/data/processor.py1#!/usr/bin/env python3COMMENT
LOWomnivoice/data/dataset.py1#!/usr/bin/env python3COMMENT
LOWtests/test_lora.py1#!/usr/bin/env python3COMMENT
LOWexamples/run_emilia.sh41COMMENT
Hyper-Verbose Identifiers27 hits · 27 pts
SeverityFileLineSnippetContext
LOWomnivoice/training/builder.py56def build_model_and_tokenizer(CODE
LOWomnivoice/training/trainer.py165 def create_optimizer_and_scheduler(self):CODE
LOWomnivoice/utils/common.py57def get_best_device_with_count():CODE
LOWomnivoice/models/omnivoice.py729 def create_voice_clone_prompt(CODE
LOWomnivoice/models/omnivoice.py1198 def _prepare_inference_inputs(CODE
LOWomnivoice/models/omnivoice.py1429 def _predict_tokens_with_scoring(self, c_logits, u_logits, gen_config):CODE
LOWomnivoice/models/omnivoice.py1658def _tokenize_with_nonverbal_tags(text: str, tokenizer) -> torch.Tensor:CODE
LOWomnivoice/models/omnivoice_flashinfer.py92def _fi_attention_module_forward(CODE
LOWomnivoice/models/omnivoice_flashinfer.py222def _generate_iterative_packed(CODE
LOWomnivoice/models/omnivoice_flashinfer.py546def _get_or_capture_bucket_graph(model, B, U_b, C_b):CODE
LOWomnivoice/cli/infer_batch.py280def estimate_sample_total_duration(CODE
LOWomnivoice/cli/infer_batch.py312def _sort_samples_by_duration(CODE
LOWomnivoice/cli/infer_batch.py328def cluster_samples_by_duration(CODE
LOWomnivoice/cli/infer_batch.py358def cluster_samples_by_batch_size(CODE
LOWomnivoice/eval/wer/sensevoice.py185def run_eval_worker_sensevoice(data_chunk, batch_size):CODE
LOWomnivoice/eval/wer/minimax.py49def read_language_mapping_from_tsv(CODE
LOWomnivoice/eval/wer/minimax.py335def run_eval_worker_paraformer(data_chunk, batch_size):CODE
LOWomnivoice/eval/wer/fleurs.py91def read_language_mapping_from_tsv(CODE
LOWomnivoice/data/dataset.py63def prepare_data_manifests_from_json(CODE
LOWomnivoice/data/dataset.py158def webdataset_manifest_reader(CODE
LOWtests/test_lora.py57def test_training_config_lora_defaults():CODE
LOWtests/test_lora.py68def test_training_config_lora_json_roundtrip(tmp_path):CODE
LOWtests/test_lora.py85def test_build_model_with_lora_freezes_base_and_keeps_io_heads_trainable(tmp_path):CODE
LOWtests/test_lora.py106def test_build_model_without_lora_is_plain_omnivoice(tmp_path):CODE
LOWtests/test_lora.py117def test_lora_forward_and_backward(tmp_path):CODE
LOWtests/test_lora.py140def test_lora_checkpoint_save_and_resume(tmp_path):CODE
LOWtests/test_lora.py179def test_merge_lora_produces_deployable_model(tmp_path):CODE
Deep Nesting21 hits · 21 pts
SeverityFileLineSnippetContext
LOWomnivoice/training/checkpoint.py85CODE
LOWomnivoice/training/trainer.py250CODE
LOWomnivoice/utils/text.py125CODE
LOWomnivoice/utils/text.py298CODE
LOWomnivoice/cli/infer_batch.py437CODE
LOWomnivoice/cli/demo.py152CODE
LOWomnivoice/scripts/extract_audio_tokens.py322CODE
LOWomnivoice/scripts/denoise_audio.py741CODE
LOWomnivoice/scripts/denoise_audio.py427CODE
LOWomnivoice/scripts/jsonl_to_webdataset.py196CODE
LOWomnivoice/scripts/jsonl_to_webdataset.py273CODE
LOWomnivoice/scripts/extract_audio_tokens_add_noise.py510CODE
LOWomnivoice/eval/mos/utmos.py166CODE
LOWomnivoice/eval/speaker_similarity/sim.py186CODE
LOWomnivoice/eval/wer/sensevoice.py230CODE
LOWomnivoice/eval/wer/minimax.py374CODE
LOWomnivoice/eval/wer/fleurs.py328CODE
LOWomnivoice/eval/wer/seedtts.py216CODE
LOWomnivoice/eval/wer/seedtts.py283CODE
LOWomnivoice/data/dataset.py63CODE
LOWomnivoice/data/dataset.py219CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHomnivoice/utils/text.py392Normalize numbers, dates, currency, etc. into their spoken form. Chinese is routed to WeTextProcessing's ``ZhNormalSTRING
HIGHomnivoice/models/omnivoice.py1495Validate and normalise a voice-design instruct string. Supported instruct items (case-insensitive for English): STRING
HIGHomnivoice/eval/utils.py34 Load an audio file, preprocess it, and convert to a PyTorch tensor. Args: fname (str): Path to the audSTRING
Modern Structural Boilerplate9 hits · 10 pts
SeverityFileLineSnippetContext
LOWomnivoice/__init__.py29__all__ = [CODE
LOWomnivoice/training/checkpoint.py39logger = logging.getLogger(__name__)CODE
LOWomnivoice/training/builder.py53logger = logging.getLogger(__name__)CODE
LOWomnivoice/training/trainer.py45logger = logging.getLogger(__name__)CODE
LOWomnivoice/utils/text.py32logger = logging.getLogger(__name__)CODE
LOWomnivoice/utils/audio.py37logger = logging.getLogger(__name__)CODE
LOWomnivoice/utils/lora.py29logger = logging.getLogger(__name__)CODE
LOWomnivoice/models/omnivoice.py87logger = logging.getLogger(__name__)CODE
LOWomnivoice/cli/merge_lora.py44logger = logging.getLogger(__name__)CODE
AI Structural Patterns8 hits · 8 pts
SeverityFileLineSnippetContext
LOWomnivoice/models/omnivoice.py584CODE
LOWomnivoice/models/omnivoice.py1024CODE
LOWomnivoice/scripts/denoise_audio.py238CODE
LOWomnivoice/scripts/jsonl_to_webdataset.py273CODE
LOWomnivoice/eval/models/ecapa_tdnn_wavlm.py158CODE
LOWomnivoice/eval/models/ecapa_tdnn_wavlm.py222CODE
LOWomnivoice/eval/models/ecapa_tdnn_wavlm.py272CODE
LOWomnivoice/data/batching.py54CODE
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWomnivoice/__init__.py22CODE
LOWomnivoice/__init__.py22CODE
LOWomnivoice/__init__.py22CODE
LOWomnivoice/__init__.py22CODE
LOWomnivoice/scripts/denoise_audio.py50CODE
LOWomnivoice/data/dataset.py38CODE
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWexamples/README.md55### Step 1: Prepare Your DataCOMMENT
LOWexamples/README.md68### Step 2: Configure the ScriptCOMMENT
LOWexamples/README.md80### Step 3: RunCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWomnivoice/data/batching.py177 # Check if adding this sample exceeds the batch token limitCOMMENT