Repository Analysis

jianchang512/pyvideotrans

Translate the video from one language to another and embed dubbing & subtitles.

18.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jianchang512/pyvideotrans, a Python project with 18,827 GitHub stars. SynthScan v2.0 examined 81,839 lines of code across 570 source files, recording 1209 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 18.4 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).

18.4
Adjusted Score
18.4
Raw Score
100%
Time Factor
2026-08-26
Last Push
18.8K
Stars
Python
Language
81.8K
Lines of Code
570
Files
1.2K
Pattern Hits
2026-08-29
Scan Date
0.00
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 1HIGH 0MEDIUM 127LOW 1081

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

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

Excessive Try-Catch Wrapping293 hits · 320 pts
SeverityFileLineSnippetContext
MEDIUMwebui.py68def _load_settings() -> dict:CODE
MEDIUMwebui.py155def _load_ass_style():CODE
LOWwebui.py55 except Exception:CODE
LOWwebui.py159 except Exception:CODE
LOWwebui.py72 except Exception:CODE
LOWwebui.py949 except Exception:STRING
LOWwebui.py1050 except Exception:STRING
LOWwebui.py1065 except Exception:STRING
LOWwebui.py1202 except Exception as e:STRING
LOWwebui.py1245 except Exception as e:STRING
LOWsp.py130 except Exception as e:CODE
LOWsp.py158 except Exception as e:CODE
LOWsp.py216 except Exception as e:CODE
LOWcli.py274 except Exception as e:CODE
LOWcli.py211 except Exception as e:CODE
LOWcli.py230 except Exception as e:CODE
LOWcli.py248 except Exception as e:CODE
LOWcli.py583 except Exception as e:CODE
LOWtests/test_winform_split.py23 except Exception as e:CODE
LOWtests/test_excepts.py100 except Exception as e:CODE
MEDIUMtests/test_excepts.py42def test_raises_and_catches(self):CODE
LOWdocs/architecture.md173 except Exception as e:CODE
LOWvideotrans/__init__.py33 except Exception as e:CODE
LOWvideotrans/ui/info.py161 except Exception:CODE
LOWvideotrans/winform/fn_hebingsrt.py43 except Exception as e:CODE
MEDIUMvideotrans/winform/fn_hebingsrt.py28def run(self):CODE
LOWvideotrans/winform/fn_videoandsrt.py124 except Exception as e:CODE
LOWvideotrans/winform/fn_audiofromvideo.py57 except Exception as e:CODE
MEDIUMvideotrans/winform/fn_audiofromvideo.py28def run(self):CODE
LOWvideotrans/winform/fn_subtitlescover.py65 except Exception as e:CODE
MEDIUMvideotrans/winform/fn_subtitlescover.py31def run(self):CODE
LOWvideotrans/winform/fn_watermark.py114 except Exception as e:CODE
LOWvideotrans/winform/fn_recogn.py186 except Exception as e:CODE
LOWvideotrans/winform/fn_vas.py190 except Exception as e:CODE
LOWvideotrans/winform/fn_vas.py271 except Exception as e:CODE
LOWvideotrans/winform/cambtts.py46 except Exception as e:CODE
LOWvideotrans/winform/fn_formatcover.py48 except Exception as e:CODE
MEDIUMvideotrans/winform/fn_formatcover.py32def run(self):CODE
LOWvideotrans/winform/elevenlabs.py42 except Exception as e:CODE
LOWvideotrans/winform/fn_videoandaudio.py124 except Exception as e:CODE
LOWvideotrans/winform/fn_hunliu.py42 except Exception as e:CODE
MEDIUMvideotrans/winform/fn_hunliu.py28def run(self):CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py504 except Exception as exc:CODE
LOWvideotrans/mosstts/text_normalization_pipeline.py91 except Exception as exc:CODE
LOWvideotrans/util/_ffmpeg_runner.py79 except Exception as e:CODE
LOWvideotrans/util/_ffprobe.py101 except Exception as e:CODE
LOWvideotrans/util/_ffprobe.py163 except Exception as e:CODE
LOWvideotrans/util/_ffprobe.py170 except Exception as e:CODE
LOWvideotrans/util/checkgpu.py18 except Exception as e:CODE
MEDIUMvideotrans/util/checkgpu.py11def run(self):CODE
LOWvideotrans/util/_ffmpeg_misc.py25 except Exception:CODE
LOWvideotrans/util/TestSrtTrans.py26 except Exception as e:CODE
MEDIUMvideotrans/util/TestSrtTrans.py15def run(self):CODE
LOWvideotrans/util/_srt_ass.py41 except Exception as e:CODE
LOWvideotrans/util/_srt_ass.py108 except Exception as e:CODE
LOWvideotrans/util/_srt_ass.py129 except Exception as e:CODE
LOWvideotrans/util/_srt_ass.py164 except Exception as e:CODE
LOWvideotrans/util/_ffmpeg_audio.py58 except Exception:CODE
LOWvideotrans/util/_ffmpeg_audio.py88 except Exception as e:CODE
LOWvideotrans/util/_ffmpeg_audio.py132 except Exception as e:CODE
233 more matches not shown…
Hyper-Verbose Identifiers264 hits · 314 pts
SeverityFileLineSnippetContext
LOWwebui.py186def _recogn_index_from_display(d):CODE
LOWwebui.py193def _translate_index_from_display(d):CODE
LOWtests/test_main_win_split.py5def test_mixin_modules_importable():CODE
LOWtests/test_main_win_split.py21def test_main_win_class_hierarchy():CODE
LOWtests/test_main_win_split.py32def test_main_win_has_expected_methods():CODE
LOWtests/test_main_win_split.py52def test_main_win_package_importable():CODE
LOWtests/test_help_ffmpeg_split.py13 def test_extract_concise_error(self):CODE
LOWtests/test_help_ffmpeg_split.py17 def test_get_filepath_from_cmd(self):CODE
LOWtests/test_help_ffmpeg_split.py37 def test_get_video_ms_noaudio(self):CODE
LOWtests/test_help_ffmpeg_split.py53 def test_change_speed_rubberband(self):CODE
LOWtests/test_help_ffmpeg_split.py57 def test_precise_speed_up_audio(self):CODE
LOWtests/test_help_ffmpeg_split.py85 def test_all_names_importable(self):CODE
LOWtests/test_help_ffmpeg_split.py169 def test_format_video_returns_input_file(self, tmp_path):CODE
LOWtests/test_help_ffmpeg_split.py180 def test_format_video_with_target_dir(self, tmp_path):CODE
LOWtests/test_stt_fun_split.py7 def test_openai_whisper_importable(self):CODE
LOWtests/test_stt_fun_split.py11 def test_faster_whisper_importable(self):CODE
LOWtests/test_stt_fun_split.py19 def test_paraformer_importable(self):CODE
LOWtests/test_stt_fun_split.py27 def test_funasr_mlt_importable(self):CODE
LOWtests/test_stt_fun_split.py31 def test_write_log_importable(self):CODE
LOWtests/test_stt_fun_split.py35 def test_remove_unwanted_characters_importable(self):CODE
LOWtests/test_stt_fun_split.py39 def test_resegment_importable(self):CODE
LOWtests/test_stt_fun_split.py43 def test_direct_submodule_imports(self):CODE
LOWtests/test_stt_fun_split.py55 def test_openai_whisper_signature(self):CODE
LOWtests/test_stt_fun_split.py68 def test_faster_whisper_signature(self):CODE
LOWtests/test_stt_fun_split.py99 def test_paraformer_signature(self):CODE
LOWtests/test_stt_fun_split.py127 def test_funasr_mlt_signature(self):CODE
LOWtests/test_stt_fun_split.py145 def test_strips_angle_bracket_markers(self):CODE
LOWtests/test_stt_fun_split.py152 def test_preserves_normal_text(self):CODE
LOWtests/test_stt_fun_split.py159 def test_short_segment_not_split(self):CODE
LOWtests/test_stt_fun_split.py178 def test_chinese_text_no_spaces(self):CODE
LOWtests/test_stt_fun_split.py195 def test_long_segment_with_punctuation_split(self):CODE
LOWtests/test_stt_fun_split.py249 def test_writes_to_nonexistent_file(self):CODE
LOWtests/test_stt_fun_split.py263 def test_process_init_exports(self):CODE
LOWtests/test_config_split.py40 def test_temp_root_importable(self):CODE
LOWtests/test_config_split.py49 def test_translate_cache_importable(self):CODE
LOWtests/test_config_split.py58 def test_tr_returns_key_on_missing(self):CODE
LOWtests/test_config_split.py80 def test_app_cfg_has_expected_attrs(self):CODE
LOWtests/test_config_split.py93 def test_app_cfg_rm_uuid_none(self):CODE
LOWtests/test_config_split.py101 def test_settings_has_expected_attrs(self):CODE
LOWtests/test_config_split.py117 def test_params_has_expected_attrs(self):CODE
LOWtests/test_config_split.py141 def test_push_queue_accessible(self):CODE
LOWtests/test_config_split.py145 def test_update_logging_level_accessible(self):CODE
LOWtests/test_job_helpers.py16 def test_none_index_returns_dash(self):CODE
LOWtests/test_job_helpers.py19 def test_out_of_range_returns_dash(self):CODE
LOWtests/test_job_helpers.py22 def test_negative_index_returns_last_element(self):CODE
LOWtests/test_job_helpers.py28 def test_returns_dash_for_none(self):CODE
LOWtests/test_job_helpers.py31 def test_returns_name_for_valid_index(self):CODE
LOWtests/test_job_helpers.py41 def test_returns_dash_for_none(self):CODE
LOWtests/test_job_helpers.py44 def test_returns_name_for_valid_index(self):CODE
LOWtests/test_job_helpers.py51 def test_returns_dash_for_none(self):CODE
LOWtests/test_job_helpers.py54 def test_returns_name_for_valid_index(self):CODE
LOWtests/test_contants.py23 def test_punc_flags_contains_common_chars(self):CODE
LOWtests/test_contants.py31 def test_half_flags_no_end_punctuation(self):CODE
LOWtests/test_contants.py38 def test_end_flags_are_sentence_terminators(self):CODE
LOWtests/test_contants.py48 def test_has_common_languages(self):CODE
LOWtests/test_contants.py57 def test_listen_text_is_non_empty(self):CODE
LOWtests/test_contants.py63 def test_common_models_present(self):CODE
LOWtests/test_contants.py71 def test_model_values_are_non_empty(self):CODE
LOWtests/test_contants.py77 def test_contains_expected_domains(self):CODE
LOWtests/test_contants.py81 def test_formed_into_env_string(self):CODE
204 more matches not shown…
Decorative Section Separators91 hits · 312 pts
SeverityFileLineSnippetContext
MEDIUMwebui.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py171# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py218# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py457# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py459# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py565# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py567# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py681# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py683# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py752# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py754# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py905# ---------------------------------------------------------------------------COMMENT
MEDIUMwebui.py907# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py172# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py174# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py279# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py281# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py317# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py319# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py384# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py386# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py411# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py496# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py498# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py518# ---------------------------------------------------------------------------COMMENT
MEDIUMcli.py520# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_cli.py40# ===========================================================================COMMENT
MEDIUMtests/test_cli.py42# ===========================================================================COMMENT
MEDIUMtests/test_cli.py76# ===========================================================================COMMENT
MEDIUMtests/test_cli.py78# ===========================================================================COMMENT
MEDIUMtests/test_cli.py133# ===========================================================================COMMENT
MEDIUMtests/test_cli.py135# ===========================================================================COMMENT
MEDIUMtests/test_cli.py509# ===========================================================================COMMENT
MEDIUMtests/test_cli.py511# ===========================================================================COMMENT
MEDIUMtests/test_cli.py555# ===========================================================================COMMENT
MEDIUMtests/test_cli.py557# ===========================================================================COMMENT
MEDIUMtests/test_cli.py594# ===========================================================================COMMENT
MEDIUMtests/test_cli.py596# ===========================================================================COMMENT
MEDIUMtests/test_cli.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_cli.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_cli.py270# ===========================================================================COMMENT
MEDIUMtests/test_cli.py272# ===========================================================================COMMENT
31 more matches not shown…
Unused Imports311 hits · 298 pts
SeverityFileLineSnippetContext
LOWsp.py143CODE
LOWcli.py26CODE
LOWtests/test_help_ffmpeg_split.py3CODE
LOWtests/omnivoice-qwentts.py29CODE
LOWtests/omnivoice-qwentts.py31CODE
LOWtests/omnivoice-qwentts.py32CODE
LOWtests/omnivoice-qwentts.py32CODE
LOWtests/omnivoice-qwentts.py33CODE
LOWtests/omnivoice-qwentts.py33CODE
LOWtests/omnivoice-qwentts.py34CODE
LOWtests/test_actions_split.py2CODE
LOWtests/test_actions_split.py4CODE
LOWtests/test_prepare_audio_split.py2CODE
LOWtests/test_prepare_audio_split.py3CODE
LOWtests/test_trans_split.py1CODE
LOWtests/test_base_trans.py1CODE
LOWtests/test_base_recogn.py3CODE
LOWtests/test_ui_en_split.py1CODE
LOWtests/test_cli.py9CODE
LOWtests/test_help_srt_split.py1CODE
LOWtests/test_help_srt_split.py2CODE
LOWtests/test_help_srt_split.py3CODE
LOWtests/test_help_srt_split.py4CODE
LOWvideotrans/ui/gradiowin.py4CODE
LOWvideotrans/ui/en.py3CODE
LOWvideotrans/ui/en.py4CODE
LOWvideotrans/ui/en.py4CODE
LOWvideotrans/ui/en.py5CODE
LOWvideotrans/ui/en.py7CODE
LOWvideotrans/ui/recogn.py7CODE
LOWvideotrans/winform/fn_recogn.py5CODE
LOWvideotrans/winform/litellm.py4CODE
LOWvideotrans/winform/fn_peiyinrole.py16CODE
LOWvideotrans/winform/fn_peiyin.py18CODE
LOWvideotrans/winform/qwenmt.py6CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py1CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py3CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py18CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py18CODE
LOWvideotrans/mosstts/text_normalization_pipeline.py1CODE
LOW…eotrans/mosstts/tts_robust_normalizer_single_script.py48CODE
LOWvideotrans/mosstts/ort_cpu_runtime.py1CODE
LOWvideotrans/mosstts/ort_cpu_runtime.py4CODE
LOWvideotrans/mosstts/moss_tts_nano/defaults.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py1CODE
LOWvideotrans/util/help_srt.py6CODE
LOWvideotrans/util/help_srt.py7CODE
LOWvideotrans/util/_ffmpeg_runner.py2CODE
LOWvideotrans/util/_ffmpeg_runner.py3CODE
LOWvideotrans/util/_ffmpeg_runner.py7CODE
LOWvideotrans/util/_ffmpeg_runner.py10CODE
LOWvideotrans/util/_ffprobe.py8CODE
251 more matches not shown…
Deep Nesting150 hits · 146 pts
SeverityFileLineSnippetContext
LOWwebui.py460CODE
LOWwebui.py568CODE
LOWwebui.py762CODE
LOWwebui.py908CODE
LOWwebui.py987CODE
LOWwebui.py1075CODE
LOWcli.py521CODE
LOWvideotrans/winform/fn_videoandsrt.py4CODE
LOWvideotrans/winform/fn_videoandsrt.py41CODE
LOWvideotrans/winform/fn_videoandsrt.py60CODE
LOWvideotrans/winform/fn_subtitlescover.py3CODE
LOWvideotrans/winform/fn_subtitlescover.py31CODE
LOWvideotrans/winform/fn_recogn.py3CODE
LOWvideotrans/winform/fn_recogn.py27CODE
LOWvideotrans/winform/fn_vas.py4CODE
LOWvideotrans/winform/fn_vas.py277CODE
LOWvideotrans/winform/fn_vas.py79CODE
LOWvideotrans/winform/fn_separate.py3CODE
LOWvideotrans/winform/fn_separate.py22CODE
LOWvideotrans/winform/fn_peiyinrole.py3CODE
LOWvideotrans/winform/fn_peiyinrole.py49CODE
LOWvideotrans/winform/fn_videoandaudio.py3CODE
LOWvideotrans/winform/fn_videoandaudio.py132CODE
LOWvideotrans/winform/fn_videoandaudio.py35CODE
LOWvideotrans/winform/fn_videoandaudio.py58CODE
LOWvideotrans/winform/fn_peiyin.py4CODE
LOWvideotrans/winform/fn_peiyin.py51CODE
LOWvideotrans/winform/fn_fanyisrt.py4CODE
LOWvideotrans/winform/fn_fanyisrt.py42CODE
LOWvideotrans/winform/fn_fanyisrt.py204CODE
LOWvideotrans/winform/fn_fanyisrt.py233CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py387CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py500CODE
LOWvideotrans/mosstts/ort_cpu_runtime.py659CODE
LOWvideotrans/util/_ffprobe.py48CODE
LOWvideotrans/util/cn_tn.py565CODE
LOWvideotrans/util/cn_tn.py651CODE
LOWvideotrans/util/cn_tn.py439CODE
LOWvideotrans/util/cn_tn.py586CODE
LOWvideotrans/util/cn_tn.py620CODE
LOWvideotrans/util/helper_supertonic.py387CODE
LOWvideotrans/util/_srt_ass.py9CODE
LOWvideotrans/util/_srt_parse.py99CODE
LOWvideotrans/util/_srt_parse.py210CODE
LOWvideotrans/util/en_tn.py68CODE
LOWvideotrans/util/en_tn.py206CODE
LOWvideotrans/util/help_misc.py194CODE
LOWvideotrans/util/help_misc.py364CODE
LOWvideotrans/util/_ffmpeg_hwcodec.py18CODE
LOWvideotrans/util/help_down.py43CODE
LOWvideotrans/util/help_down.py176CODE
LOWvideotrans/util/help_down.py276CODE
LOWvideotrans/util/help_down.py390CODE
LOWvideotrans/util/help_role.py10CODE
LOWvideotrans/util/help_role.py173CODE
LOWvideotrans/util/help_role.py304CODE
LOWvideotrans/configure/_app_settings.py46CODE
LOWvideotrans/configure/_app_settings.py293CODE
LOWvideotrans/configure/excepts.py118CODE
LOWvideotrans/configure/base.py210CODE
90 more matches not shown…
AI Structural Patterns35 hits · 35 pts
SeverityFileLineSnippetContext
LOWvideotrans/winform/fn_vas.py31CODE
LOWvideotrans/mosstts/onnx_tts_runtime.py596CODE
LOWvideotrans/util/cn_tn.py651CODE
LOWvideotrans/util/cn_tn.py1059CODE
LOW…transcribe_diarize/modeling_moss_transcribe_diarize.py205CODE
LOW…transcribe_diarize/modeling_moss_transcribe_diarize.py291CODE
LOW…transcribe_diarize/modeling_moss_transcribe_diarize.py351CODE
LOWvideotrans/moss_transcribe_diarize/inference_utils.py172CODE
LOWvideotrans/translator/_deeplx.py61CODE
LOWvideotrans/confuciustts/llm/llm.py65CODE
LOWvideotrans/confuciustts/llm/llm.py226CODE
LOWvideotrans/confuciustts/utils/audio_features.py45CODE
LOWvideotrans/confuciustts/cli/inference.py259CODE
LOWvideotrans/confuciustts/flow/modules.py21CODE
LOWvideotrans/confuciustts/flow/flow_matching.py44CODE
LOWvideotrans/confuciustts/flow/DiT/dit.py88CODE
LOWvideotrans/tts/__init__.py213CODE
LOWvideotrans/task/_rate.py223CODE
LOWvideotrans/codes/model.py26CODE
LOWvideotrans/codes/model.py456CODE
LOWvideotrans/recognition/__init__.py179CODE
LOWvideotrans/external/bigvgan/meldataset.py191CODE
LOW…external/bigvgan/alias_free_activation/torch/filter.py101CODE
LOWvideotrans/external/campplus/DTDNN.py48CODE
LOWvideotrans/external/campplus/layers.py253CODE
LOWvideotrans/process/stt_glmasr.py13CODE
LOWvideotrans/process/stt_mossasr.py14CODE
LOWvideotrans/process/stt_arkasr.py14CODE
LOWvideotrans/process/stt_paraformer.py12CODE
LOWvideotrans/process/stt_faster.py13CODE
LOWvideotrans/process/stt_funasr.py12CODE
LOWvideotrans/process/stt_granite.py14CODE
LOWvideotrans/process/stt_pipe.py24CODE
LOWvideotrans/process/qwen_tts.py13CODE
LOWvideotrans/process/stt_openai.py11CODE
Fake / Example Data29 hits · 24 pts
SeverityFileLineSnippetContext
LOWwebui.py224 {"key": "chatgpt_api", "label": "API URL", "type": "text", "default": "", "placeholder": "留空使用官方API"},CODE
LOWwebui.py225 {"key": "chatgpt_key", "label": "SK 密钥", "type": "text", "default": "", "placeholder": "API Key"},CODE
LOWwebui.py227 {"key": "chatgpt_model", "label": "模型", "type": "text", "default": "gpt-4o-mini", "placeholder": "输入模型名称"},CODE
LOWwebui.py233 {"key": "deepseek_key", "label": "SK 密钥", "type": "text", "default": "", "placeholder": "API Key"},CODE
LOWwebui.py234 {"key": "deepseek_model", "label": "模型", "type": "text", "default": "deepseek-chat", "placeholder": "输入模型名称"CODE
LOWwebui.py242 {"key": "gemini_model", "label": "模型", "type": "text", "default": "gemini-2.5-flash", "placeholder": "输入模型名称CODE
LOWwebui.py251 {"key": "azure_model", "label": "模型", "type": "text", "default": "gpt-4o-mini", "placeholder": "输入模型名称"},CODE
LOWwebui.py257 {"key": "localllm_api", "label": "API URL", "type": "text", "default": "http://127.0.0.1:11434/v1", "placehoCODE
LOWwebui.py258 {"key": "localllm_key", "label": "SK 密钥", "type": "text", "default": "no-key", "placeholder": "通常填 no-key"},CODE
LOWwebui.py260 {"key": "localllm_model", "label": "模型", "type": "text", "default": "", "placeholder": "输入模型名称"},CODE
LOWwebui.py267 {"key": "deepl_api", "label": "API URL (第三方)", "type": "text", "default": "", "placeholder": "留空使用官方API"},CODE
LOWwebui.py289 {"key": "qwenmt_model", "label": "翻译模型", "type": "text", "default": "qwen-mt-plus", "placeholder": "需以 qwen-CODE
LOWwebui.py290 {"key": "qwenmt_asr_model", "label": "语音识别模型", "type": "text", "default": "qwen3-asr-flash", "placeholder": CODE
LOWwebui.py297 {"key": "zijiehuoshan_model", "label": "推理接入点", "type": "text", "default": "", "placeholder": "输入接入点名称"},CODE
LOWwebui.py305 {"key": "minimax_model", "label": "模型", "type": "text", "default": "MiniMax-M3", "placeholder": "输入模型名称"},CODE
LOWwebui.py313 {"key": "zhipu_model", "label": "模型", "type": "text", "default": "glm-4-flash", "placeholder": "输入模型名称"},CODE
LOWwebui.py321 {"key": "guiji_model", "label": "模型", "type": "text", "default": "Qwen/Qwen3-32B", "placeholder": "输入模型名称"},CODE
LOWwebui.py329 {"key": "openrouter_model", "label": "模型", "type": "text", "default": "", "placeholder": "输入模型名称"},CODE
LOWwebui.py337 {"key": "xiaomi_model", "label": "模型", "type": "text", "default": "mimo-v2.5-pro", "placeholder": "输入模型名称"},CODE
LOWwebui.py346 {"key": "openairecognapi_url", "label": "API URL", "type": "text", "default": "", "placeholder": "留空使用官方API"CODE
LOWwebui.py348 {"key": "openairecognapi_model", "label": "模型", "type": "text", "default": "whisper-1", "placeholder": "输入模型CODE
LOWwebui.py375 {"key": "openaitts_api", "label": "API URL", "type": "text", "default": "", "placeholder": "留空使用官方API"},CODE
LOWwebui.py377 {"key": "openaitts_model", "label": "模型", "type": "text", "default": "tts-1", "placeholder": "输入模型名称"},CODE
LOWwebui.py384 {"key": "azure_speech_region", "label": "Region / URL", "type": "text", "default": "eastasia", "placeholder"CODE
LOWwebui.py419 {"key": "qwentts_model", "label": "模型", "type": "text", "default": "qwen3-tts-flash", "placeholder": "输入模型名称CODE
LOWwebui.py594 placeholder=f.get("placeholder", ""),CODE
LOWvideotrans/codes/model.py403 fake_token = [0] * fake_token_len_iCODE
LOWvideotrans/codes/model.py405 source_ids += fake_tokenCODE
LOWvideotrans/codes/model.py406 fbank_mask_i += [1] * len(fake_token)CODE
Structural Annotation Overuse9 hits · 16 pts
SeverityFileLineSnippetContext
LOWdocs/architecture.md927#### Step 1: 创建通道实现文件COMMENT
LOWdocs/architecture.md949#### Step 2: 分配渠道 ID 并注册COMMENT
LOWdocs/architecture.md965#### Step 3: 添加用户配置字段COMMENT
LOWdocs/architecture.md974#### Step 4: 创建设置窗口COMMENT
LOWdocs/architecture.md982#### Step 5: 可选扩展COMMENT
LOWdocs/whisper_net_setup.md155## Step 1: Download DLL FilesCOMMENT
LOWdocs/whisper_net_setup.md201## Step 2: Download Speech ModelCOMMENT
LOWdocs/whisper_net_setup.md209## Step 3: Verify File StructureCOMMENT
LOWdocs/whisper_net_setup.md240## Step 4: Start UsingCOMMENT
Modern Structural Boilerplate13 hits · 14 pts
SeverityFileLineSnippetContext
LOWcli.py178def set_lang(lang: str) -> None:CODE
LOWvideotrans/mosstts/text_normalization_pipeline.py51 def _set_state(self, *, state: str, message: str, error: str | None = None) -> None:CODE
LOWvideotrans/mosstts/ort_cpu_runtime.py826__all__ = [CODE
LOWvideotrans/mosstts/moss_tts_nano/__init__.py1__all__ = ["__version__"]CODE
LOWvideotrans/util/help_srt.py9__all__ = [CODE
LOWvideotrans/util/help_ffmpeg.py13__all__ = [CODE
LOWvideotrans/moss_transcribe_diarize/__init__.py17__all__ = [CODE
LOW…anscribe_diarize/processing_moss_transcribe_diarize.py273__all__ = ["MossTranscribeDiarizeProcessor"]CODE
LOWvideotrans/moss_transcribe_diarize/transcript_parser.py289__all__ = [CODE
LOWvideotrans/confuciustts/__init__.py10__all__ = ["__version__"]CODE
LOWvideotrans/confuciustts/cli/__init__.py3__all__ = ["ConfuciusTTS"]CODE
LOWvideotrans/external/campplus/__init__.py3__all__ = ["CAMPPlus"]CODE
LOWvideotrans/process/prepare_audio.py6__all__ = [CODE
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippetContext
LOWvideotrans/util/cn_tn.py1#!/usr/bin/env python3COMMENT
LOWvideotrans/util/cn_tn.py841 self.date = dateCOMMENT
LOWvideotrans/util/en_tn.py1# 本代码复制自 https://github.com/OpenDocCN/python-code-anls/blob/master/docs/hf-tfm/models----clvp----number_normalizer.py.mdCOMMENT
LOWvideotrans/configure/_languages_dict.py261# 字幕嵌入代码默认使用 ISO 639-2/T(mp4所需),MKV视频需使用 ISO 639-2/B 格式 https://en.wikipedia.org/wiki/List_of_ISO_639_language_codesCOMMENT
LOWvideotrans/confuciustts/llm/text_encoder.py1# Copyright 2026 The Qwen team, Alibaba Group and the HuggingFace Inc. team. All rights reserved.COMMENT
LOWvideotrans/confuciustts/llm/speaker_encoder.py1# Copyright 2026 The Qwen team, Alibaba Group and the HuggingFace Inc. team. All rights reserved.COMMENT
LOWvideotrans/confuciustts/frontend/text_normalizer.py1# Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Zhihao Du)COMMENT
LOWvideotrans/confuciustts/flow/flow.py1# Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Zhihao Du)COMMENT
LOWvideotrans/confuciustts/flow/length_regulator.py1# Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Zhihao Du)COMMENT
LOWvideotrans/confuciustts/flow/flow_matching.py1# Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Zhihao Du)COMMENT
LOW…s/external/bigvgan/alias_free_activation/cuda/compat.h21#ifndef TORCH_CHECKCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALvideotrans/tts/_azuretts.py5from azure.core.exceptions import ResourceExistsError, ClientAuthenticationError, ResourceNotFoundErrorCODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…nal/bigvgan/alias_free_activation/cuda/activation1d.py32CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ns/external/bigvgan/alias_free_activation/cuda/load.py18 # Check if cuda 11 is installed for compute capability 8.0COMMENT