Repository Analysis

voicepaw/so-vits-svc-fork

so-vits-svc fork with realtime support, improved interface and more features.

10.2 Low AI signal View on GitHub

Analysis Overview

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).

10.2
Adjusted Score
10.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.3K
Stars
Python
Language
11.7K
Lines of Code
82
Files
104
Pattern Hits
2026-07-14
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 0HIGH 0MEDIUM 13LOW 91

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 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.

Unused Imports32 hits · 32 pts
SeverityFileLineSnippetContext
LOWtests/test_main.py12CODE
LOWtests/test_main.py13CODE
LOWtests/test_main.py16CODE
LOWtests/test_main.py17CODE
LOWtests/test_main.py18CODE
LOWtests/test_main.py19CODE
LOWtests/test_main.py20CODE
LOWtests/test_main.py25CODE
LOWsrc/so_vits_svc_fork/f0.py1CODE
LOWsrc/so_vits_svc_fork/hparams.py1CODE
LOWsrc/so_vits_svc_fork/dataset.py1CODE
LOWsrc/so_vits_svc_fork/utils.py1CODE
LOWsrc/so_vits_svc_fork/train.py1CODE
LOWsrc/so_vits_svc_fork/gui.py1CODE
LOWsrc/so_vits_svc_fork/__main__.py1CODE
LOWsrc/so_vits_svc_fork/cluster/__init__.py1CODE
LOWsrc/so_vits_svc_fork/cluster/train_cluster.py1CODE
LOWsrc/so_vits_svc_fork/inference/core.py1CODE
LOWsrc/so_vits_svc_fork/inference/main.py1CODE
LOW…c_fork/preprocessing/preprocess_speaker_diarization.py1CODE
LOW…/so_vits_svc_fork/preprocessing/preprocess_classify.py1CODE
LOW…/so_vits_svc_fork/preprocessing/preprocess_resample.py1CODE
LOW…vits_svc_fork/preprocessing/preprocess_flist_config.py1CODE
LOWsrc/so_vits_svc_fork/preprocessing/preprocess_split.py1CODE
LOW…so_vits_svc_fork/preprocessing/preprocess_hubert_f0.py1CODE
LOWsrc/so_vits_svc_fork/modules/commons.py1CODE
LOW…/so_vits_svc_fork/modules/decoders/hifigan/__init__.py1CODE
LOW…so_vits_svc_fork/modules/decoders/mb_istft/__init__.py1CODE
LOW…so_vits_svc_fork/modules/decoders/mb_istft/__init__.py1CODE
LOW…so_vits_svc_fork/modules/decoders/mb_istft/__init__.py1CODE
LOW…so_vits_svc_fork/modules/decoders/mb_istft/__init__.py6CODE
LOW…so_vits_svc_fork/modules/decoders/mb_istft/__init__.py7CODE
Excessive Try-Catch Wrapping17 hits · 20 pts
SeverityFileLineSnippetContext
LOWsrc/so_vits_svc_fork/logger.py43 except Exception:CODE
MEDIUMsrc/so_vits_svc_fork/logger.py33def is_notebook():CODE
LOWsrc/so_vits_svc_fork/utils.py129 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/utils.py148 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/utils.py431 except Exception:STRING
LOWsrc/so_vits_svc_fork/train.py329 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/train.py345 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/gui.py125 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/gui.py540 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/gui.py690 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/gui.py747 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/gui.py752 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/gui.py760 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/inference/main.py83 except Exception as e:CODE
LOW…c_fork/preprocessing/preprocess_speaker_diarization.py29 except Exception as e:CODE
LOW…/so_vits_svc_fork/preprocessing/preprocess_resample.py65 except Exception as e:CODE
LOWsrc/so_vits_svc_fork/preprocessing/preprocess_split.py27 except Exception as e:CODE
Dead Code9 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsrc/so_vits_svc_fork/__main__.py827CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py828CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py830CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py832CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py833CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py835CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py836CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py837CODE
MEDIUMsrc/so_vits_svc_fork/__main__.py839CODE
Hyper-Verbose Identifiers17 hits · 16 pts
SeverityFileLineSnippetContext
LOWsrc/so_vits_svc_fork/utils.py163def remove_weight_norm_if_exists(module, name: str = "weight"):CODE
LOWsrc/so_vits_svc_fork/utils.py225def _substitute_if_same_shape(to_: dict[str, Any], from_: dict[str, Any]) -> None:STRING
LOWsrc/so_vits_svc_fork/utils.py362def plot_spectrogram_to_numpy(spectrogram: ndarray) -> ndarray:STRING
LOWsrc/so_vits_svc_fork/gui.py83def get_supported_file_types_concat() -> tuple[tuple[str, str], ...]:CODE
LOWsrc/so_vits_svc_fork/gui.py87def validate_output_file_type(output_path: Path) -> bool:CODE
LOWsrc/so_vits_svc_fork/cluster/__init__.py37def get_cluster_center_result(model: Any, x: Any, speaker: Any):CODE
LOW…c_fork/preprocessing/preprocess_speaker_diarization.py57def preprocess_speaker_diarization(CODE
LOWsrc/so_vits_svc_fork/preprocessing/preprocess_utils.py4def check_hubert_min_duration(audio: ndarray, sr: int) -> bool:CODE
LOWsrc/so_vits_svc_fork/modules/mel_processing.py60def dynamic_range_compression_torch(x, C=1, clip_val=1e-5):CODE
LOWsrc/so_vits_svc_fork/modules/mel_processing.py69def dynamic_range_decompression_torch(x, C=1):CODE
LOWsrc/so_vits_svc_fork/modules/mel_processing.py83def spectral_de_normalize_torch(magnitudes):CODE
LOWsrc/so_vits_svc_fork/modules/attentions.py316 def _matmul_with_relative_values(self, x, y):CODE
LOWsrc/so_vits_svc_fork/modules/attentions.py325 def _matmul_with_relative_keys(self, x, y):CODE
LOWsrc/so_vits_svc_fork/modules/attentions.py350 def _relative_position_to_absolute_position(self, x):CODE
LOWsrc/so_vits_svc_fork/modules/attentions.py367 def _absolute_position_to_relative_position(self, x):CODE
LOWsrc/so_vits_svc_fork/modules/commons.py22def rand_slice_segments_with_pitch(x: Tensor, f0: Tensor, x_lengths: Tensor | int | None, segment_size: int | None):CODE
LOWsrc/so_vits_svc_fork/modules/commons.py83def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels):CODE
AI Structural Patterns12 hits · 12 pts
SeverityFileLineSnippetContext
LOWsrc/so_vits_svc_fork/f0.py114CODE
LOWsrc/so_vits_svc_fork/train.py185CODE
LOWsrc/so_vits_svc_fork/train.py219CODE
LOWsrc/so_vits_svc_fork/gui.py80CODE
LOWsrc/so_vits_svc_fork/__main__.py227CODE
LOWsrc/so_vits_svc_fork/inference/core.py219CODE
LOWsrc/so_vits_svc_fork/inference/main.py21CODE
LOWsrc/so_vits_svc_fork/inference/main.py108CODE
LOWsrc/so_vits_svc_fork/modules/mel_processing.py80CODE
LOWsrc/so_vits_svc_fork/modules/mel_processing.py85CODE
LOWsrc/so_vits_svc_fork/modules/attentions.py323CODE
LOWsrc/so_vits_svc_fork/modules/attentions.py332CODE
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/so_vits_svc_fork/f0.py35CODE
LOWsrc/so_vits_svc_fork/f0.py184CODE
LOWsrc/so_vits_svc_fork/dataset.py26CODE
LOWsrc/so_vits_svc_fork/utils.py34CODE
LOWsrc/so_vits_svc_fork/utils.py225CODE
LOWsrc/so_vits_svc_fork/utils.py312CODE
LOWsrc/so_vits_svc_fork/gui.py129CODE
LOWsrc/so_vits_svc_fork/cluster/train_cluster.py18CODE
LOW…/so_vits_svc_fork/preprocessing/preprocess_classify.py16CODE
LOWsrc/so_vits_svc_fork/modules/synthesizers.py30CODE
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/so_vits_svc_fork/gui.py343 "Block seconds", # \n(big -> more robust, slower, (the same) latency)"CODE
MEDIUMsrc/so_vits_svc_fork/gui.py356 "Additional Infer seconds (before)", # \n(big -> more robust, slower)"CODE
MEDIUMsrc/so_vits_svc_fork/gui.py369 "Additional Infer seconds (after)", # \n(big -> more robust, slower, additional latency)"CODE
Modern Structural Boilerplate4 hits · 5 pts
SeverityFileLineSnippetContext
LOWsrc/so_vits_svc_fork/gui.py547 def update_speaker() -> None:CODE
LOWsrc/so_vits_svc_fork/gui.py556 def update_devices() -> None:CODE
LOW…/so_vits_svc_fork/modules/decoders/hifigan/__init__.py3__all__ = ["NSFHifiGANGenerator"]CODE
LOW…so_vits_svc_fork/modules/decoders/mb_istft/__init__.py9__all__ = [CODE