Repository Analysis

pnnbao97/VieNeu-TTS

Vietnamese TTS with instant voice cloning • On-device • Real-time CPU inference • 24kHz audio quality • Chuyển văn bản thành giọng nói tiếng Việt • Text to speech tiếng Việt • TTS tiếng Việt

35.4 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pnnbao97/VieNeu-TTS, a Python project with 2,446 GitHub stars. SynthScan v2.0 examined 15,961 lines of code across 92 source files, recording 352 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 35.4 places this repository in the Strong AI signal band.

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

35.4
Adjusted Score
35.4
Raw Score
100%
Time Factor
2026-08-25
Last Push
2.4K
Stars
Python
Language
16.0K
Lines of Code
92
Files
352
Pattern Hits
2026-08-29
Scan Date
0.01
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 1MEDIUM 88LOW 263

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 352 distinct pattern matches across 11 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 Separators82 hits · 279 pts
SeverityFileLineSnippetContext
MEDIUMdocker/docker-compose.build.yml2 # ========================================================COMMENT
MEDIUMdocker/docker-compose.build.yml4 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml18 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml20 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml52 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml54 # ========================================================COMMENT
MEDIUMdocker/docker-compose.prod.yml2 # ========================================================COMMENT
MEDIUMdocker/docker-compose.prod.yml4 # ========================================================COMMENT
MEDIUMexamples/main_remote.py12 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py14 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py23 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py25 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py40 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py42 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py52 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py54 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py73 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py75 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py86 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py88 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py105 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py107 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py127 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py129 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py176 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py178 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py16 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py18 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py27 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py29 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py39 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py41 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py57 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py59 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py69 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py71 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py87 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py89 # ---------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py8# ─── Regex ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py27# ─── Tách câu nhận biết ngoặc/trích dẫn ──────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py55# ─── Data class ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py62# ─── Audio utils ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py158# ─── v1: split raw text ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py221# ─── Cắt mảnh dài không còn dấu ngắt: ưu tiên từ nối ─────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py401# ─── v2 helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py500# ─── v2: split phoneme string ────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py567# ─── Misc ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py446# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py448# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu/v3turbo.py177 # ── Preset voices (speaker embedding + reference codes) ─────────────────────COMMENT
MEDIUMsrc/vieneu/v3turbo.py346 # ── Batched inference (GPU/PyTorch) ──────────────────────────────────────COMMENT
MEDIUMsrc/vieneu/v3turbo.py412 # ── Public API ───────────────────────────────────────────────────────────COMMENT
22 more matches not shown…
Excessive Try-Catch Wrapping80 hits · 84 pts
SeverityFileLineSnippetContext
LOWtests/test_v3turbo_clone_preclean.py33 except Exception:CODE
LOWfinetune/train.py87 except Exception as e:CODE
LOWfinetune/data_scripts/encode_data.py83 except Exception as e:CODE
LOWfinetune/data_scripts/filter_data.py70 except Exception:CODE
LOWfinetune/data_scripts/get_hf_sample.py54 except Exception as e:CODE
LOWexamples/main_remote.py36 except Exception as e:CODE
LOWexamples/main_remote.py173 except Exception as e:CODE
LOWapps/web_stream.py73 except Exception as e: # noqa: BLE001CODE
MEDIUMapps/web_stream.py62def voices():CODE
LOWapps/ui_utils.py132 except Exception:CODE
LOWapps/gradio_xpu.py64except Exception as e:CODE
LOWapps/gradio_xpu.py214 except Exception as e:CODE
LOWapps/gradio_xpu.py226 except Exception:CODE
LOWapps/gradio_xpu.py274 except Exception as e:CODE
LOWapps/gradio_xpu.py337 except Exception as e:CODE
LOWapps/gradio_xpu.py431 except Exception as e:CODE
LOWapps/gradio_xpu.py471 except Exception as e:CODE
LOWapps/gradio_xpu.py538 except Exception as e:CODE
LOWapps/gradio_main.py7 except Exception:CODE
LOWapps/gradio_main.py61except Exception as e:CODE
LOWapps/gradio_main.py442 except Exception as e:CODE
LOWapps/gradio_main.py461 except Exception as e:CODE
LOWapps/gradio_main.py489 except Exception as e:CODE
LOWapps/gradio_main.py642 except Exception as e:CODE
LOWapps/gradio_main.py685 except Exception:CODE
LOWapps/gradio_main.py768 except Exception as e:CODE
LOWapps/gradio_main.py901 except Exception as e:CODE
LOWapps/gradio_main.py991 except Exception as e:CODE
LOWapps/gradio_main.py1158 except Exception as e:CODE
LOWapps/gradio_main.py1270 except Exception as e:CODE
LOWapps/gradio_main.py1371 except Exception:CODE
LOWapps/gradio_main.py1397 except Exception as e:CODE
LOWapps/gradio_main.py1595 except Exception as e:CODE
LOWapps/gradio_main.py1613 except Exception as e:CODE
LOWapps/gradio_main.py1642 except Exception as e:CODE
LOWapps/gradio_main.py1659 except Exception as e:CODE
LOWapps/gradio_main.py1749 except Exception as e:CODE
LOWsrc/vieneu_utils/url_extract.py21 except Exception:CODE
LOWsrc/vieneu_utils/url_extract.py27 except Exception as e:CODE
LOWsrc/vieneu/remote.py85 except Exception as e:CODE
LOWsrc/vieneu/remote.py163 except Exception as e:CODE
LOWsrc/vieneu/remote.py254 except Exception as e:CODE
LOWsrc/vieneu/standard.py69 except Exception as e:CODE
LOWsrc/vieneu/standard.py92 except Exception as e:CODE
LOWsrc/vieneu/standard.py140 except Exception as e:CODE
LOWsrc/vieneu/standard.py171 except Exception as e:CODE
LOWsrc/vieneu/standard.py192 except Exception as e:CODE
LOWsrc/vieneu/serve.py23 except Exception:CODE
MEDIUMsrc/vieneu/serve.py20def get_public_ip() -> str:CODE
LOWsrc/vieneu/turbo.py54 except Exception:CODE
LOWsrc/vieneu/fast.py104 except Exception as e:CODE
LOWsrc/vieneu/factory.py38 except Exception as e:CODE
LOWsrc/vieneu/core_xpu.py137 except Exception:CODE
LOWsrc/vieneu/utils.py103 except Exception as e:CODE
LOWsrc/vieneu/v3turbo.py73 except Exception:CODE
LOWsrc/vieneu/v3turbo.py85 except Exception:CODE
LOWsrc/vieneu/v3turbo.py91 except Exception:CODE
LOWsrc/vieneu/v3turbo.py133 except Exception:CODE
LOWsrc/vieneu/v3turbo.py223 except Exception:CODE
LOWsrc/vieneu/v3turbo.py271 except Exception:CODE
20 more matches not shown…
Hyper-Verbose Identifiers65 hits · 72 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py13def test_split_text_into_chunks():CODE
LOWtests/test_utils.py20def test_split_text_paragraphs():CODE
LOWtests/test_utils.py29def test_split_into_sentences_basic():CODE
LOWtests/test_utils.py34def test_split_into_sentences_keeps_quoted_question_together():CODE
LOWtests/test_utils.py39def test_split_into_sentences_brackets():CODE
LOWtests/test_utils.py44def test_split_into_sentences_unbalanced_quote_falls_back():CODE
LOWtests/test_utils.py50def test_split_into_sentences_apostrophe_is_not_a_quote():CODE
LOWtests/test_utils.py55def test_split_into_sentences_decimal_not_split():CODE
LOWtests/test_utils.py61def test_split_into_sentences_repeated_punct():CODE
LOWtests/test_utils.py68def test_pack_sentences_respects_max_chars():CODE
LOWtests/test_utils.py74def test_pack_sentences_splits_oversized_sentence_at_commas():CODE
LOWtests/test_utils.py82def test_forced_word_cut_prefers_connector():CODE
LOWtests/test_utils.py88def test_forced_word_cut_does_not_split_inside_connector_pair():CODE
LOWtests/test_utils.py94def test_forced_word_cut_no_dangling_connector_before_pair():CODE
LOWtests/test_utils.py100def test_forced_word_cut_never_splits_pair_even_without_natural_cut():CODE
LOWtests/test_utils.py111def test_forced_word_cut_connector_too_early_is_ignored():CODE
LOWtests/test_utils.py117def test_forced_word_cut_no_connector_falls_back():CODE
LOWtests/test_utils.py125def test_forced_word_cut_keeps_en_token_intact():CODE
LOWtests/test_utils.py131def test_chunking_cuts_at_sentence_boundary_not_mid_quote():CODE
LOWtests/test_utils.py166def test_linear_overlap_add_empty():CODE
LOWtests/test_utils.py169def test_join_audio_chunks_simple():CODE
LOWtests/test_utils.py176def test_join_audio_chunks_silence():CODE
LOWtests/test_utils.py184def test_join_audio_chunks_crossfade():CODE
LOWtests/test_utils.py218def test_merge_short_chunks_tiny_line_merges_into_next():CODE
LOWtests/test_utils.py225def test_merge_short_chunks_prefers_non_para_boundary():CODE
LOWtests/test_utils.py234def test_merge_short_chunks_tie_prefers_right():CODE
LOWtests/test_utils.py242def test_merge_short_chunks_cascades_until_big_enough():CODE
LOWtests/test_utils.py250def test_merge_short_chunks_leaves_long_chunks_alone():CODE
LOWtests/test_utils.py256def test_merge_short_chunks_single_chunk_untouched():CODE
LOWtests/test_utils.py261def test_merge_short_chunks_emotion_token_does_not_count_as_text():CODE
LOWtests/test_utils.py268def test_max_expected_frames_monotonic_and_bounded():CODE
LOWtests/test_utils.py277def test_max_expected_frames_single_word_hard_cap():CODE
LOWtests/test_utils.py196def test_join_audio_chunks_empty():CODE
LOWtests/test_utils.py199def test_join_audio_chunks_single():CODE
LOWtests/test_utils.py290def test_max_expected_frames_ignores_markup():CODE
LOWtests/test_engine_remote.py21def test_remote_format_prompt(remote_tts):CODE
LOWtests/test_engine_remote.py34def test_remote_infer_single_chunk(mock_post, remote_tts):CODE
LOWtests/test_engine_remote.py46async def test_remote_infer_async_chunk(remote_tts):CODE
LOWtests/test_speaker_fbank.py22 def test_fbank_shape_and_mean_norm(self):CODE
LOWtests/test_speaker_fbank.py40 def test_cloning_front_end_is_torch_free(self):CODE
LOWtests/test_factory.py50def test_factory_invalid_mode():CODE
LOWtests/test_v3turbo_clone_preclean.py10 def test_preclean_reference_audio_trims_silence_and_returns_path(self):CODE
LOWtests/test_engine_standard.py71def test_vieneu_tts_infer_with_voice_preset(mock_tts_instance):CODE
LOWtests/test_engine_standard.py77def test_vieneu_tts_infer_batch(mock_tts_instance):CODE
LOWtests/test_engine_standard.py100def test_vieneu_tts_gguf_init(mock_warmup, mock_codec, mock_llama):CODE
LOWtests/test_engine_standard.py108def test_base_encode_reference_device(mock_tts_instance):CODE
LOWtests/test_engine_turbo.py62def test_turbo_gpu_standard_init(mock_model, mock_tokenizer, mock_hf, mock_ort):CODE
LOWtests/test_engine_turbo.py77def test_turbo_gpu_lmdeploy_init(mock_pipeline, mock_hf, mock_ort):CODE
LOWtests/test_engine_turbo.py121def test_turbo_voice_cloning_encode(mock_hf, mock_llama, mock_ort, mock_onnx_session):CODE
LOWtests/test_engine_turbo.py135def test_turbo_array_truth_value_fix(mock_hf, mock_llama, mock_ort, mock_onnx_session, mock_llama_instance):CODE
LOWtests/test_base_utils.py53 def test_base_streaming_config(self):CODE
LOWtests/test_rep_history.py29def test_window_zero_is_unbounded():CODE
LOWtests/test_rep_history.py36def test_bounded_after_long_generation():CODE
LOWtests/test_rep_history.py45def test_setlike_interface_for_samplers():CODE
LOWtests/test_rep_history.py56def test_sample_token_respects_window():CODE
LOWfinetune/data_scripts/filter_data.py19def filter_and_process_dataset(dataset_dir="finetune/dataset"):CODE
LOWapps/gradio_main.py1333def synthesize_conversation_with_empty_estimate(*args):CODE
LOWapps/gradio_main.py1664def extract_speakers_from_script(script):CODE
LOWsrc/vieneu_utils/core_utils.py296def pack_sentences_into_chunks(sentences: List[str], max_chars: int = 256) -> List[str]:CODE
LOWsrc/vieneu_utils/core_utils.py367def split_text_into_chunks_with_gaps(CODE
5 more matches not shown…
Unused Imports54 hits · 51 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py2CODE
LOWtests/test_engine_remote.py3CODE
LOWtests/test_factory.py1CODE
LOWtests/test_v3turbo_clone_preclean.py1CODE
LOWtests/test_engine_standard.py7CODE
LOWfinetune/merge_lora.py1CODE
LOWfinetune/train.py5CODE
LOWfinetune/create_voices_json.py14CODE
LOWfinetune/data_scripts/get_hf_sample.py2CODE
LOWapps/gradio_xpu.py22CODE
LOWapps/gradio_xpu.py25CODE
LOWapps/gradio_xpu.py29CODE
LOWapps/gradio_xpu.py29CODE
LOWapps/gradio_main.py22CODE
LOWapps/gradio_main.py24CODE
LOWapps/gradio_main.py27CODE
LOWapps/gradio_main.py37CODE
LOWapps/gradio_main.py37CODE
LOWsrc/vieneu/remote.py10CODE
LOWsrc/vieneu/standard.py9CODE
LOWsrc/vieneu/__init__.py1CODE
LOWsrc/vieneu/serve.py2CODE
LOWsrc/vieneu/turbo.py4CODE
LOWsrc/vieneu/turbo.py11CODE
LOWsrc/vieneu/fast.py9CODE
LOWsrc/vieneu/core_xpu.py2CODE
LOWsrc/vieneu/core_xpu.py5CODE
LOWsrc/vieneu/utils.py86CODE
LOWsrc/vieneu/_v3_turbo_engine/hub_load_v3_turbo.py1CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_denoiser.py22CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py24CODE
LOWsrc/vieneu/_v3_turbo_engine/modeling_v3_turbo.py22CODE
LOWsrc/vieneu/_v3_turbo_engine/rep_history.py13CODE
LOWsrc/vieneu/_v3_turbo_engine/configuration_v3_turbo.py2CODE
LOWsrc/vieneu/_v3_turbo_engine/prompt_v3_turbo.py1CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py21CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py31CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py31CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/onnx_extractor.py15CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/fbank.py1CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py8CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py8CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py9CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py9CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py9CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/audio_utils.py9CODE
LOWsrc/vieneu/v3_turbo_serve/batched_acoustic.py13CODE
LOWsrc/vieneu/v3_turbo_serve/batched_backbone.py13CODE
LOWsrc/vieneu/v3_turbo_serve/batched_backbone.py15CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py5CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py6CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py7CODE
LOWsrc/vieneu/v3_turbo_serve/cudagraph.py13CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py13CODE
AI Structural Patterns28 hits · 27 pts
SeverityFileLineSnippetContext
LOWsrc/vieneu/remote.py52CODE
LOWsrc/vieneu/remote.py100CODE
LOWsrc/vieneu/remote.py180CODE
LOWsrc/vieneu/remote.py209CODE
LOWsrc/vieneu/remote.py258CODE
LOWsrc/vieneu/standard.py196CODE
LOWsrc/vieneu/standard.py233CODE
LOWsrc/vieneu/standard.py291CODE
LOWsrc/vieneu/turbo.py118CODE
LOWsrc/vieneu/turbo.py190CODE
LOWsrc/vieneu/turbo.py277CODE
LOWsrc/vieneu/turbo.py316CODE
LOWsrc/vieneu/fast.py20CODE
LOWsrc/vieneu/fast.py127CODE
LOWsrc/vieneu/fast.py155CODE
LOWsrc/vieneu/fast.py187CODE
LOWsrc/vieneu/core_xpu.py140CODE
LOWsrc/vieneu/v3turbo.py105CODE
LOWsrc/vieneu/v3turbo.py413CODE
LOWsrc/vieneu/v3turbo.py463CODE
LOWsrc/vieneu/v3turbo.py511CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py373CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py458CODE
LOWsrc/vieneu/_v3_turbo_engine/configuration_v3_turbo.py17CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py156CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py178CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py84CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py170CODE
Deep Nesting25 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/test_v3turbo_clone_preclean.py10CODE
LOWapps/ui_utils.py63CODE
LOWapps/ui_utils.py64CODE
LOWapps/gradio_xpu.py122CODE
LOWapps/gradio_xpu.py291CODE
LOWapps/gradio_xpu.py489CODE
LOWapps/gradio_main.py260CODE
LOWapps/gradio_main.py826CODE
LOWapps/gradio_main.py1344CODE
LOWapps/gradio_main.py1484CODE
LOWapps/gradio_main.py1197CODE
LOWsrc/vieneu_utils/core_utils.py111CODE
LOWsrc/vieneu_utils/core_utils.py160CODE
LOWsrc/vieneu_utils/core_utils.py260CODE
LOWsrc/vieneu_utils/core_utils.py296CODE
LOWsrc/vieneu_utils/core_utils.py414CODE
LOWsrc/vieneu/remote.py109CODE
LOWsrc/vieneu/standard.py72CODE
LOWsrc/vieneu/serve.py26CODE
LOWsrc/vieneu/v3turbo.py316CODE
LOWsrc/vieneu/v3turbo.py463CODE
LOWsrc/vieneu/base.py307CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py458CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py237CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py170CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/vieneu/utils.py133 # Default to CPU for now as requested for 'lightweight'COMMENT
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWREADME_PYPI.md61# List the built-in voicesCOMMENT
LOWREADME_PYPI.md81# import timeCOMMENT
LOWREADME.md161# or infer_batch(..., batch_size=64), or batch_size=1 to disable). A single longCOMMENT
LOWREADME.vi.md141# tắt). Một infer() cho text dài cũng tự batch các chunk. Bỏ comment để thử (nên dùng GPU):COMMENT
LOWexamples/main_v3turbo.py21# audio = vieneu.infer("Nghe hay quá đi [cười]. Để mình nói tiếp [hắng giọng].", voice="Ngọc Linh")COMMENT
LOWsrc/vieneu_utils/core_utils.py61COMMENT
LOWsrc/vieneu_utils/phonemize_text.py21# ---------------------------------------------------------------------------COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMapps/gradio_main.py1537 # Use lowercase key for robust matchingCOMMENT
MEDIUMsrc/vieneu/standard.py251 # If model is Torch, we can leverage true batch generationCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWapps/gradio_main.py305 # Check if it is a LoRA to mergeCOMMENT
LOWapps/gradio_main.py390 # Check if already merged (and voices.json exists)COMMENT
LOWapps/gradio_main.py630 # Check if backbone matches expected type for mergeCOMMENT
LOWsrc/vieneu/serve.py109 # Check if lmdeploy is installedCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/vieneu/__init__.py3__all__ = ["Vieneu"]CODE
LOWsrc/vieneu/_v3_turbo_engine/__init__.py8__all__ = [CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py15__all__ = [CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py9__all__ = ["generate_frame_batched", "BatchedBackbone", "V3TurboBatchEngine"]CODE