Repository Analysis

lipku/LiveTalking

Real time interactive streaming digital human

4.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of lipku/LiveTalking, a Python project with 8,603 GitHub stars. SynthScan v2.0 examined 129,925 lines of code across 166 source files, recording 445 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 4.3 places this repository in the Likely human-written 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).

4.3
Adjusted Score
4.3
Raw Score
100%
Time Factor
2026-08-02
Last Push
8.6K
Stars
Python
Language
129.9K
Lines of Code
166
Files
445
Pattern Hits
2026-08-02
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 47LOW 397

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 445 distinct pattern matches across 14 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 Imports273 hits · 272 pts
SeverityFileLineSnippetContext
LOWbenchmark_asr.py17CODE
LOWllm.py5CODE
LOWapp.py19CODE
LOWapp.py19CODE
LOWapp.py19CODE
LOWapp.py21CODE
LOWapp.py26CODE
LOWapp.py28CODE
LOWapp.py34CODE
LOWapp.py36CODE
LOWapp.py36CODE
LOWapp.py36CODE
LOWapp.py36CODE
LOWapp.py37CODE
LOWapp.py38CODE
LOWapp.py46CODE
LOWapp.py48CODE
LOWapp.py50CODE
LOWapp.py51CODE
LOWapp.py52CODE
LOWapp.py55CODE
LOWstreamout/rtmp.py5CODE
LOWstreamout/rtmp.py14CODE
LOWstreamout/webrtc.py7CODE
LOWstreamout/webrtc.py11CODE
LOWstreamout/virtualcam.py12CODE
LOWstreamout/base_output.py11CODE
LOWserver/rtc_manager.py7CODE
LOWserver/rtc_manager.py8CODE
LOWserver/rtc_manager.py9CODE
LOWserver/rtc_manager.py9CODE
LOWserver/rtc_manager.py10CODE
LOWserver/webrtc.py19CODE
LOWserver/webrtc.py23CODE
LOWserver/webrtc.py29CODE
LOWserver/task_manager.py4CODE
LOWserver/task_manager.py5CODE
LOWserver/task_manager.py7CODE
LOWserver/asr_server.py264CODE
LOWutils/device.py2CODE
LOWutils/audio.py5CODE
LOWtts/qwentts.py6CODE
LOWtts/edge.py7CODE
LOWtts/indextts2.py9CODE
LOWtts/__init__.py1CODE
LOWtts/__init__.py1CODE
LOWtts/doubao.py12CODE
LOWtts/xtts.py8CODE
LOWtts/base_tts.py9CODE
LOWavatars/musetalk_avatar.py21CODE
LOWavatars/musetalk_avatar.py25CODE
LOWavatars/musetalk_avatar.py27CODE
LOWavatars/musetalk_avatar.py28CODE
LOWavatars/musetalk_avatar.py33CODE
LOWavatars/musetalk_avatar.py34CODE
LOWavatars/musetalk_avatar.py35CODE
LOWavatars/musetalk_avatar.py35CODE
LOWavatars/musetalk_avatar.py36CODE
LOWavatars/musetalk_avatar.py38CODE
LOWavatars/musetalk_avatar.py38CODE
213 more matches not shown…
Decorative Section Separators41 hits · 142 pts
SeverityFileLineSnippetContext
MEDIUMbenchmark_asr.py25# ─── Utilities ─────────────────────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py83# ─── Whisper Tiny Benchmark ───────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py124# ─── SenseVoice Benchmark ─────────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py171# ─── Main ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py196 # ── Prepare test audio ──────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py214 # ── Benchmark Whisper Tiny ──────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py217 # ── Benchmark SenseVoice ────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py220 # ── Results ─────────────────────────────────────────────────────────COMMENT
MEDIUMbenchmark_asr.py251 # ── Markdown output for PR ──────────────────────────────────────────COMMENT
MEDIUMconfig.py46 # ─── 配置文件 ──────────────────────────────────────────────────────COMMENT
MEDIUMconfig.py50 # ─── 音频 ──────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.py56 # ─── 画面 ──────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.py60 # ─── 数字人模型 ────────────────────────────────────────────────────COMMENT
MEDIUMconfig.py69 # ─── 自定义动作和多形象 ────────────────────────────────────────────COMMENT
MEDIUMconfig.py73 # ─── TTS ───────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.py81 # ─── 传输 ─────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.py92 # ─── 虚拟摄像头 ───────────────────────────────────────────────────COMMENT
MEDIUMconfig.py96 # ─── 加载 YAML 配置文件 ────────────────────────────────────────────COMMENT
MEDIUMconfig.py111 # ─── 正式解析 CLI 参数 ─────────────────────────────────────────────COMMENT
MEDIUMconfig.py114 # ─── 后处理 ────────────────────────────────────────────────────────COMMENT
MEDIUMapp.py130 # ─── 加载 avatar 插件(触发 @register 注册)──────────────────────COMMENT
MEDIUMweb/index.html250// ─── WebRTC ────────────────────────────────────────────────COMMENT
MEDIUMweb/index.html324// ─── Text ──────────────────────────────────────────────────COMMENT
MEDIUMweb/index.html341// ─── Audio Upload ──────────────────────────────────────────COMMENT
MEDIUMweb/index.html354// ─── Interrupt ─────────────────────────────────────────────COMMENT
MEDIUMweb/index.html364// ─── Speaking Status ───────────────────────────────────────COMMENT
MEDIUMweb/index.html374// ─── Recording ─────────────────────────────────────────────COMMENT
MEDIUMweb/index.html403// ─── Audiotype ─────────────────────────────────────────────COMMENT
MEDIUMserver/asr_server.py26# ─── Lazy Model Loader ────────────────────────────────────────────────────COMMENT
MEDIUMserver/asr_server.py119# ─── WebSocket Handler ─────────────────────────────────────────────────────COMMENT
MEDIUMserver/asr_server.py167 # ── Session start ──────────────────────────────────COMMENT
MEDIUMserver/asr_server.py180 # ── End of speech → run inference ──────────────────COMMENT
MEDIUMserver/asr_server.py259# ─── Availability Check ───────────────────────────────────────────────────COMMENT
MEDIUMserver/routes.py12# ─── 路由工具函数 ──────────────────────────────────────────────────────────COMMENT
MEDIUMserver/routes.py41# ─── 路由处理函数 ──────────────────────────────────────────────────────────COMMENT
MEDIUMserver/routes.py231# ─── 路由注册 ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtts/omnitts.py45 # ── required ──────────────────────────────────────────COMMENT
MEDIUMtts/omnitts.py50 # ── optional, configurable via opt ────────────────────COMMENT
MEDIUMtts/omnitts.py65 # ── main entry ────────────────────────────────────────────COMMENT
MEDIUMtts/omnitts.py92 # ── API call ──────────────────────────────────────────────COMMENT
MEDIUMtts/omnitts.py153 # ── stream → frames (same pattern as fish.py) ─────────────COMMENT
Excessive Try-Catch Wrapping40 hits · 41 pts
SeverityFileLineSnippetContext
LOWbenchmark_asr.py39 except Exception as e:CODE
LOWllm.py57 except Exception as e:CODE
LOWserver/avatar_routes.py100 except Exception as e:CODE
LOWserver/task_manager.py120 except Exception as e:CODE
LOWserver/task_manager.py136 except Exception as e:CODE
LOWserver/asr_server.py224 except Exception as e:CODE
LOWserver/asr_server.py252 except Exception as e:CODE
LOWserver/routes.py70 except Exception as e:CODE
LOWserver/routes.py85 except Exception as e:CODE
LOWserver/routes.py105 except Exception as e:CODE
LOWserver/routes.py120 except Exception as e:CODE
LOWserver/routes.py138 except Exception as e:CODE
LOWserver/routes.py198 except Exception as e:CODE
LOWserver/routes.py226 except Exception as e:CODE
LOWserver/routes.py266 except Exception as e:CODE
LOWdocs/virtualcam_guide.md85 except Exception as e:CODE
LOWtts/qwentts.py99 except Exception as e:CODE
LOWtts/qwentts.py155 except Exception as e:CODE
LOWtts/sovits.py71 except Exception as e:CODE
LOWtts/edge.py76 except Exception as e:CODE
LOWtts/omnitts.py150 except Exception:CODE
LOWtts/indextts2.py28 except Exception as e:CODE
LOWtts/indextts2.py58 except Exception as e:CODE
LOWtts/indextts2.py91 except Exception as e:CODE
LOWtts/indextts2.py140 except Exception as e:CODE
LOWtts/indextts2.py193 except Exception as e:CODE
LOWtts/indextts2.py196 except Exception as e:CODE
LOWtts/cosyvoice.py54 except Exception as e:CODE
LOWtts/doubao.py98 except Exception as e:CODE
LOWtts/tencent.py115 except Exception as e:CODE
LOWtts/xtts.py62 except Exception as e:CODE
LOWtts/fish.py64 except Exception as e:CODE
LOWavatars/base_avatar.py292 except Exception as e:CODE
LOWavatars/base_avatar.py434 except Exception as e:CODE
LOWavatars/musetalk/utils/audio_processor.py84 except Exception as e:CODE
MEDIUMavatars/musetalk/utils/audio_processor.py85 print(f"Error occurred: {e}")CODE
LOWavatars/musetalk/utils/utils.py318 except Exception as e:CODE
LOWavatars/wav2lip/models/wav2lip.py181 except Exception as e:CODE
LOWavatars/wav2lip/models/wav2lip_v2.py111 except Exception as e:CODE
LOWavatars/wav2lip/models/wav2lip_v2.py147 except Exception as e:CODE
Over-Commented Block33 hits · 33 pts
SeverityFileLineSnippetContext
LOWbenchmark_asr.py1#!/usr/bin/env python3COMMENT
LOWrequirements.txt1python-dotenvCOMMENT
LOWapp.py1###############################################################################COMMENT
LOWweb/rtcpushchat.html61 // };COMMENT
LOWweb/webrtcapi.html61 // var ws = new WebSocket("ws://"+host+":8000/humanecho");COMMENT
LOWweb/webrtcapi.html141 $('#btn_stop_record').prop('disabled', true);COMMENT
LOWweb/webrtcapi.html161 // }COMMENT
LOWweb/srs.sdk.js21 var self = {};COMMENT
LOWweb/srs.sdk.js41 // webrtc://r.ossrs.net:11985/live/mystreamCOMMENT
LOWweb/srs.sdk.js281 // or specifies the API port:COMMENT
LOWweb/webrtcapi-asr.html61 $(document).ready(function() {COMMENT
LOWweb/webrtcapi-asr.html141 $('#btn_stop_record').prop('disabled', true);COMMENT
LOWweb/webrtcapi-asr.html161 // }COMMENT
LOWweb/rtcpushapi.html61 // };COMMENT
LOWserver/webrtc.py1###############################################################################COMMENT
LOWserver/webrtc.py101 # self.timelist.pop(0)COMMENT
LOWserver/asr_server.py1###############################################################################COMMENT
LOWavatars/musetalk_avatar.py1###############################################################################COMMENT
LOWavatars/wav2lip_avatar.py1###############################################################################COMMENT
LOWavatars/ultralight_avatar.py1###############################################################################COMMENT
LOWavatars/ultralight_avatar.py101# pad_right = right - features.shape[0]COMMENT
LOWavatars/base_avatar.py1###############################################################################COMMENT
LOWavatars/musetalk/utils/preprocessing.py41 frames.append(frame)COMMENT
LOWavatars/musetalk/utils/preprocessing.py61# face_land_mark = face_land_mark.astype(np.int32)COMMENT
LOWavatars/musetalk/whisper/audio2feature.py121 # result = self.model.transcribe(audio_path)COMMENT
LOWavatars/audio_features/whisper.py1###############################################################################COMMENT
LOWavatars/audio_features/mel.py1###############################################################################COMMENT
LOWavatars/audio_features/base_asr.py1###############################################################################COMMENT
LOWavatars/audio_features/base_asr.py101 :return: COMMENT
LOWavatars/ultralight/unet.py281 # # print(out.shape)COMMENT
LOWavatars/ultralight/face_detect_utils/pfld_mobileone.py41 # modules = OrderedDict()COMMENT
LOWavatars/ultralight/face_detect_utils/pfld_mobileone.py161 num_conv_branches=self.num_conv_branches,COMMENT
LOWavatars/wav2lip/inference_silence.py241 # subprocess.call(command, shell=True)COMMENT
Deep Nesting23 hits · 23 pts
SeverityFileLineSnippetContext
LOWllm.py8CODE
LOWserver/avatar_routes.py23CODE
LOWserver/asr_server.py124CODE
LOWserver/routes.py43CODE
LOWserver/routes.py203CODE
LOWtts/qwentts.py41CODE
LOWtts/qwentts.py77CODE
LOWtts/sovits.py90CODE
LOWtts/azure.py47CODE
LOWtts/cosyvoice.py57CODE
LOWtts/doubao.py51CODE
LOWtts/tencent.py81CODE
LOWtts/tencent.py118CODE
LOWtts/xtts.py65CODE
LOWtts/fish.py67CODE
LOWavatars/base_avatar.py383CODE
LOWavatars/musetalk/models/syncnet.py72CODE
LOWavatars/musetalk/whisper/whisper/__init__.py33CODE
LOWavatars/musetalk/whisper/whisper/decoding.py295CODE
LOWavatars/musetalk/whisper/whisper/decoding.py351CODE
LOWavatars/musetalk/whisper/whisper/normalizers/english.py160CODE
LOWavatars/wav2lip/inference_silence.py200CODE
LOWavatars/wav2lip/genavatar.py50CODE
AI Structural Patterns11 hits · 11 pts
SeverityFileLineSnippetContext
LOWavatars/musetalk/utils/face_parsing/model.py83CODE
LOWavatars/musetalk/utils/face_parsing/resnet.py48CODE
LOWavatars/musetalk/utils/face_detection/models.py95CODE
LOWavatars/musetalk/utils/face_detection/utils.py11CODE
LOWavatars/musetalk/models/syncnet.py184CODE
LOWavatars/ultralight/unet.py215CODE
LOWavatars/ultralight/face_detect_utils/base_module.py121CODE
LOWavatars/ultralight/face_detect_utils/base_module.py203CODE
LOWavatars/wav2lip/models/wav2lip.py31CODE
LOWavatars/wav2lip/face_detection/models.py95CODE
LOWavatars/wav2lip/face_detection/utils.py11CODE
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/test_asr_server.py76 def test_lazy_model_load_constructs_one_model_across_threads(self):CODE
LOWtests/test_asr_server.py109 def test_shared_model_generate_is_serialized_across_threads(self):CODE
LOWavatars/musetalk/utils/training_utils.py48def initialize_models_and_optimizers(cfg, accelerator, weight_dtype):CODE
LOWavatars/musetalk/utils/training_utils.py201def initialize_loss_functions(cfg, accelerator, scheduler_max_steps):CODE
LOWavatars/musetalk/utils/blending.py112def get_image_prepare_material(image, face_box, upper_boundary_ratio=0.5, expand=1.5, fp=None, mode="raw"):CODE
LOWavatars/musetalk/utils/face_detection/detection/core.py116 def tensor_or_path_to_ndarray(tensor_or_path, rgb=True):CODE
LOWavatars/musetalk/whisper/audio2feature.py56 def get_sliced_feature_sparse(self,feature_array, vid_idx, audio_feat_length= [2,2],fps = 25):CODE
LOWavatars/musetalk/whisper/whisper/tokenizer.py232 def sot_sequence_including_notimestamps(self) -> Tuple[int]:CODE
LOWavatars/musetalk/whisper/whisper/normalizers/basic.py27def remove_symbols_and_diacritics(s: str, keep=""):CODE
LOWavatars/wav2lip/face_detection/detection/core.py116 def tensor_or_path_to_ndarray(tensor_or_path, rgb=True):CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMserver/asr_server.py6# This module provides a WebSocket endpoint (/api/asr) that speaks the sameCOMMENT
MEDIUMavatars/musetalk/utils/utils.py308 # Create the save directory if it doesn't existCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWavatars/musetalk/utils/face_detection/utils.py38 # Check if the gaussian is insideCOMMENT
LOWavatars/ultralight/face_detect_utils/base_module.py237 # Check if SE-ReLU is requestedCOMMENT
LOWavatars/wav2lip/hparams.py71 # Set this to 55 if your speaker is male! if female, 95 should help taking off noise. (ToCOMMENT
LOWavatars/wav2lip/face_detection/utils.py38 # Check if the gaussian is insideCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMavatars/musetalk/whisper/whisper/assets/gpt2/vocab.json1{"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3CODE
MEDIUMavatars/musetalk/whisper/whisper/assets/gpt2/vocab.json1{"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWserver/webrtc.py45logger = logging.getLogger(__name__)CODE
LOWutils/logger.py4logger = logging.getLogger(__name__)CODE
LOWavatars/musetalk/utils/training_utils.py46logger = logging.getLogger(__name__)CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMavatars/musetalk/whisper/whisper/assets/gpt2/vocab.json1{"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3CODE
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHserver/asr_server.py144 "is_final":true, "timestamp":null}STRING
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbenchmark_asr.py5# Usage:COMMENT