so-vits-svc fork with realtime support, improved interface and more features.
This report presents the forensic synthetic code analysis of voicepaw/so-vits-svc-fork, a Python project with 9,328 GitHub stars. SynthScan v2.0 examined 11,659 lines of code across 82 source files, recording 104 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 10.2 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).
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.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 104 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_main.py | 12 | CODE | |
| LOW | tests/test_main.py | 13 | CODE | |
| LOW | tests/test_main.py | 16 | CODE | |
| LOW | tests/test_main.py | 17 | CODE | |
| LOW | tests/test_main.py | 18 | CODE | |
| LOW | tests/test_main.py | 19 | CODE | |
| LOW | tests/test_main.py | 20 | CODE | |
| LOW | tests/test_main.py | 25 | CODE | |
| LOW | src/so_vits_svc_fork/f0.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/hparams.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/dataset.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/utils.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/train.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/gui.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/__main__.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/cluster/__init__.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/cluster/train_cluster.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/inference/core.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/inference/main.py | 1 | CODE | |
| LOW | …c_fork/preprocessing/preprocess_speaker_diarization.py | 1 | CODE | |
| LOW | …/so_vits_svc_fork/preprocessing/preprocess_classify.py | 1 | CODE | |
| LOW | …/so_vits_svc_fork/preprocessing/preprocess_resample.py | 1 | CODE | |
| LOW | …vits_svc_fork/preprocessing/preprocess_flist_config.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/preprocessing/preprocess_split.py | 1 | CODE | |
| LOW | …so_vits_svc_fork/preprocessing/preprocess_hubert_f0.py | 1 | CODE | |
| LOW | src/so_vits_svc_fork/modules/commons.py | 1 | CODE | |
| LOW | …/so_vits_svc_fork/modules/decoders/hifigan/__init__.py | 1 | CODE | |
| LOW | …so_vits_svc_fork/modules/decoders/mb_istft/__init__.py | 1 | CODE | |
| LOW | …so_vits_svc_fork/modules/decoders/mb_istft/__init__.py | 1 | CODE | |
| LOW | …so_vits_svc_fork/modules/decoders/mb_istft/__init__.py | 1 | CODE | |
| LOW | …so_vits_svc_fork/modules/decoders/mb_istft/__init__.py | 6 | CODE | |
| LOW | …so_vits_svc_fork/modules/decoders/mb_istft/__init__.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/so_vits_svc_fork/logger.py | 43 | except Exception: | CODE |
| MEDIUM | src/so_vits_svc_fork/logger.py | 33 | def is_notebook(): | CODE |
| LOW | src/so_vits_svc_fork/utils.py | 129 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/utils.py | 148 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/utils.py | 431 | except Exception: | STRING |
| LOW | src/so_vits_svc_fork/train.py | 329 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/train.py | 345 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/gui.py | 125 | except Exception as e: | CODE |
| LOW⚡ | src/so_vits_svc_fork/gui.py | 540 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/gui.py | 690 | except Exception as e: | CODE |
| LOW⚡ | src/so_vits_svc_fork/gui.py | 747 | except Exception as e: | CODE |
| LOW⚡ | src/so_vits_svc_fork/gui.py | 752 | except Exception as e: | CODE |
| LOW⚡ | src/so_vits_svc_fork/gui.py | 760 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/inference/main.py | 83 | except Exception as e: | CODE |
| LOW | …c_fork/preprocessing/preprocess_speaker_diarization.py | 29 | except Exception as e: | CODE |
| LOW | …/so_vits_svc_fork/preprocessing/preprocess_resample.py | 65 | except Exception as e: | CODE |
| LOW | src/so_vits_svc_fork/preprocessing/preprocess_split.py | 27 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/so_vits_svc_fork/__main__.py | 827 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 828 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 830 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 832 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 833 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 835 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 836 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 837 | CODE | |
| MEDIUM | src/so_vits_svc_fork/__main__.py | 839 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/so_vits_svc_fork/utils.py | 163 | def remove_weight_norm_if_exists(module, name: str = "weight"): | CODE |
| LOW | src/so_vits_svc_fork/utils.py | 225 | def _substitute_if_same_shape(to_: dict[str, Any], from_: dict[str, Any]) -> None: | STRING |
| LOW | src/so_vits_svc_fork/utils.py | 362 | def plot_spectrogram_to_numpy(spectrogram: ndarray) -> ndarray: | STRING |
| LOW | src/so_vits_svc_fork/gui.py | 83 | def get_supported_file_types_concat() -> tuple[tuple[str, str], ...]: | CODE |
| LOW | src/so_vits_svc_fork/gui.py | 87 | def validate_output_file_type(output_path: Path) -> bool: | CODE |
| LOW | src/so_vits_svc_fork/cluster/__init__.py | 37 | def get_cluster_center_result(model: Any, x: Any, speaker: Any): | CODE |
| LOW | …c_fork/preprocessing/preprocess_speaker_diarization.py | 57 | def preprocess_speaker_diarization( | CODE |
| LOW | src/so_vits_svc_fork/preprocessing/preprocess_utils.py | 4 | def check_hubert_min_duration(audio: ndarray, sr: int) -> bool: | CODE |
| LOW | src/so_vits_svc_fork/modules/mel_processing.py | 60 | def dynamic_range_compression_torch(x, C=1, clip_val=1e-5): | CODE |
| LOW | src/so_vits_svc_fork/modules/mel_processing.py | 69 | def dynamic_range_decompression_torch(x, C=1): | CODE |
| LOW | src/so_vits_svc_fork/modules/mel_processing.py | 83 | def spectral_de_normalize_torch(magnitudes): | CODE |
| LOW | src/so_vits_svc_fork/modules/attentions.py | 316 | def _matmul_with_relative_values(self, x, y): | CODE |
| LOW | src/so_vits_svc_fork/modules/attentions.py | 325 | def _matmul_with_relative_keys(self, x, y): | CODE |
| LOW | src/so_vits_svc_fork/modules/attentions.py | 350 | def _relative_position_to_absolute_position(self, x): | CODE |
| LOW | src/so_vits_svc_fork/modules/attentions.py | 367 | def _absolute_position_to_relative_position(self, x): | CODE |
| LOW | src/so_vits_svc_fork/modules/commons.py | 22 | def rand_slice_segments_with_pitch(x: Tensor, f0: Tensor, x_lengths: Tensor | int | None, segment_size: int | None): | CODE |
| LOW | src/so_vits_svc_fork/modules/commons.py | 83 | def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/so_vits_svc_fork/f0.py | 114 | CODE | |
| LOW | src/so_vits_svc_fork/train.py | 185 | CODE | |
| LOW | src/so_vits_svc_fork/train.py | 219 | CODE | |
| LOW | src/so_vits_svc_fork/gui.py | 80 | CODE | |
| LOW | src/so_vits_svc_fork/__main__.py | 227 | CODE | |
| LOW | src/so_vits_svc_fork/inference/core.py | 219 | CODE | |
| LOW | src/so_vits_svc_fork/inference/main.py | 21 | CODE | |
| LOW | src/so_vits_svc_fork/inference/main.py | 108 | CODE | |
| LOW | src/so_vits_svc_fork/modules/mel_processing.py | 80 | CODE | |
| LOW | src/so_vits_svc_fork/modules/mel_processing.py | 85 | CODE | |
| LOW | src/so_vits_svc_fork/modules/attentions.py | 323 | CODE | |
| LOW | src/so_vits_svc_fork/modules/attentions.py | 332 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/so_vits_svc_fork/f0.py | 35 | CODE | |
| LOW | src/so_vits_svc_fork/f0.py | 184 | CODE | |
| LOW | src/so_vits_svc_fork/dataset.py | 26 | CODE | |
| LOW | src/so_vits_svc_fork/utils.py | 34 | CODE | |
| LOW | src/so_vits_svc_fork/utils.py | 225 | CODE | |
| LOW | src/so_vits_svc_fork/utils.py | 312 | CODE | |
| LOW | src/so_vits_svc_fork/gui.py | 129 | CODE | |
| LOW | src/so_vits_svc_fork/cluster/train_cluster.py | 18 | CODE | |
| LOW | …/so_vits_svc_fork/preprocessing/preprocess_classify.py | 16 | CODE | |
| LOW | src/so_vits_svc_fork/modules/synthesizers.py | 30 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/so_vits_svc_fork/gui.py | 343 | "Block seconds", # \n(big -> more robust, slower, (the same) latency)" | CODE |
| MEDIUM | src/so_vits_svc_fork/gui.py | 356 | "Additional Infer seconds (before)", # \n(big -> more robust, slower)" | CODE |
| MEDIUM | src/so_vits_svc_fork/gui.py | 369 | "Additional Infer seconds (after)", # \n(big -> more robust, slower, additional latency)" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/so_vits_svc_fork/gui.py | 547 | def update_speaker() -> None: | CODE |
| LOW⚡ | src/so_vits_svc_fork/gui.py | 556 | def update_devices() -> None: | CODE |
| LOW | …/so_vits_svc_fork/modules/decoders/hifigan/__init__.py | 3 | __all__ = ["NSFHifiGANGenerator"] | CODE |
| LOW | …so_vits_svc_fork/modules/decoders/mb_istft/__init__.py | 9 | __all__ = [ | CODE |