Repository Analysis

Open-LLM-VTuber/Open-LLM-VTuber

Talk to any LLM with hands-free voice interaction, voice interruption, and Live2D taking face running locally across platforms

10.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Open-LLM-VTuber/Open-LLM-VTuber, a Python project with 12,549 GitHub stars. SynthScan v2.0 examined 53,024 lines of code across 208 source files, recording 431 pattern matches distributed across 19 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-05-15
Last Push
12.5K
Stars
Python
Language
53.0K
Lines of Code
208
Files
431
Pattern Hits
2026-07-14
Scan Date
0.09
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 17MEDIUM 20LOW 393

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 431 distinct pattern matches across 19 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 Wrapping133 hits · 143 pts
SeverityFileLineSnippetContext
LOWrun_server.py99 except Exception as e:CODE
LOWrun_server.py133 except Exception as e:CODE
LOWrun_server.py153 except Exception as e:CODE
LOWupgrade_codes/version_manager.py91 except Exception as e:CODE
LOWupgrade_codes/config_sync.py117 except Exception as e:CODE
LOWupgrade_codes/config_sync.py307 except Exception as e:CODE
MEDIUMupgrade_codes/config_sync.py108def merge_and_update_user_config(self):CODE
LOWupgrade_codes/upgrade_core/comment_sync.py55 except Exception as e:CODE
MEDIUMupgrade_codes/upgrade_core/comment_sync.py23def sync(self) -> None:CODE
LOWupgrade_codes/upgrade_core/upgrade_utils.py35 except Exception as e:CODE
LOWupgrade_codes/upgrade_core/upgrade_utils.py142 except Exception as e:CODE
LOWupgrade_codes/upgrade_core/language.py24 except Exception:CODE
LOWupgrade_codes/upgrade_core/language.py38 except Exception:CODE
LOWupgrade_codes/from_version/v_1_1_1.py111 except Exception as e:CODE
MEDIUMupgrade_codes/from_version/v_1_1_1.py77def _upgrade_conf_yaml(self):CODE
LOWscripts/run_bilibili_live.py49 except Exception as e:CODE
LOWprompts/prompt_loader.py51 except Exception as e:CODE
LOWprompts/prompt_loader.py62 except Exception as e:CODE
LOWprompts/prompt_loader.py72 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_message_queue.py128 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_message_queue.py150 except Exception as e:CODE
LOWsrc/open_llm_vtuber/service_context.py149 except Exception as e:CODE
LOWsrc/open_llm_vtuber/service_context.py319 except Exception as e:CODE
LOWsrc/open_llm_vtuber/service_context.py403 except Exception as e:CODE
LOWsrc/open_llm_vtuber/service_context.py548 except Exception as e:CODE
LOWsrc/open_llm_vtuber/websocket_handler.py128 except Exception as e:CODE
LOWsrc/open_llm_vtuber/websocket_handler.py225 except Exception as e:CODE
LOWsrc/open_llm_vtuber/websocket_handler.py235 except Exception as e:CODE
LOWsrc/open_llm_vtuber/websocket_handler.py611 except Exception as e:CODE
LOWsrc/open_llm_vtuber/live2d_model.py79 except Exception as e:CODE
LOWsrc/open_llm_vtuber/live2d_model.py123 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py64 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py84 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py87 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py116 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py143 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py241 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py244 except Exception as e:CODE
LOWsrc/open_llm_vtuber/proxy_handler.py288 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py85 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py126 except Exception:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py165 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py204 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py229 except Exception:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py245 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py288 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py298 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py306 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py349 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py372 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_group.py197 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_group.py230 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_group.py258 except Exception as e:CODE
LOWsrc/open_llm_vtuber/chat_group.py298 except Exception as e:CODE
LOWsrc/open_llm_vtuber/routes.py40 except Exception as e:CODE
LOWsrc/open_llm_vtuber/routes.py66 except Exception as e:CODE
LOWsrc/open_llm_vtuber/routes.py191 except Exception as e:CODE
LOWsrc/open_llm_vtuber/routes.py244 except Exception as e:CODE
LOWsrc/open_llm_vtuber/routes.py250 except Exception as e:CODE
LOWsrc/open_llm_vtuber/mcpp/tool_adapter.py72 except Exception as e:CODE
73 more matches not shown…
Over-Commented Block81 hits · 62 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWrequirements.txt21 # httpxCOMMENT
LOWrequirements.txt41cartesia==2.0.17COMMENT
LOWrequirements.txt61 # viaCOMMENT
LOWrequirements.txt81distlib==0.4.0COMMENT
LOWrequirements.txt101 # fastapiCOMMENT
LOWrequirements.txt121 # aiohttpCOMMENT
LOWrequirements.txt141 # fastapiCOMMENT
LOWrequirements.txt161 # requestsCOMMENT
LOWrequirements.txt181loguru==0.7.3COMMENT
LOWrequirements.txt201networkx==3.6.1 ; (python_full_version >= '3.11' and platform_machine == 'arm64') or (python_full_version >= '3.11' and COMMENT
LOWrequirements.txt221 # via torchCOMMENT
LOWrequirements.txt241 # viaCOMMENT
LOWrequirements.txt261 # viaCOMMENT
LOWrequirements.txt281pydantic-core==2.41.5COMMENT
LOWrequirements.txt301 # via pyttsx3COMMENT
LOWrequirements.txt321 # pyobjc-framework-avroutingCOMMENT
LOWrequirements.txt341 # pyobjc-framework-coredataCOMMENT
LOWrequirements.txt361 # pyobjc-framework-dvdplaybackCOMMENT
LOWrequirements.txt381 # pyobjc-framework-instantmessageCOMMENT
LOWrequirements.txt401 # pyobjc-framework-mediaplayerCOMMENT
LOWrequirements.txt421 # pyobjc-framework-pencilkitCOMMENT
LOWrequirements.txt441 # pyobjc-framework-securityuiCOMMENT
LOWrequirements.txt461 # pyobjc-framework-videotoolboxCOMMENT
LOWrequirements.txt481pyobjc-framework-applicationservices==12.1 ; sys_platform == 'darwin'COMMENT
LOWrequirements.txt521 # via pyobjcCOMMENT
LOWrequirements.txt541 # pyobjc-framework-automaticassessmentconfigurationCOMMENT
LOWrequirements.txt561 # pyobjc-framework-coreaudioCOMMENT
LOWrequirements.txt581 # pyobjc-framework-discrecordinguiCOMMENT
LOWrequirements.txt601 # pyobjc-framework-installerpluginsCOMMENT
LOWrequirements.txt621 # pyobjc-framework-metalkitCOMMENT
LOWrequirements.txt641 # pyobjc-framework-quicklookthumbnailingCOMMENT
LOWrequirements.txt661 # pyobjc-framework-spritekitCOMMENT
LOWrequirements.txt681 # via pyobjcCOMMENT
LOWrequirements.txt701 # pyobjc-framework-cloudkitCOMMENT
LOWrequirements.txt721 # via pyobjcCOMMENT
LOWrequirements.txt741 # pyobjc-framework-applicationservicesCOMMENT
LOWrequirements.txt761 # via pyobjcCOMMENT
LOWrequirements.txt781 # via pyobjcCOMMENT
LOWrequirements.txt801 # via pyobjcCOMMENT
LOWrequirements.txt821 # via pyobjcCOMMENT
LOWrequirements.txt841 # via pyobjcCOMMENT
LOWrequirements.txt861 # pyobjc-framework-metalfxCOMMENT
LOWrequirements.txt901 # via pyobjcCOMMENT
LOWrequirements.txt921 # pyobjc-framework-gamekitCOMMENT
LOWrequirements.txt941pyobjc-framework-safetykit==12.1 ; platform_release >= '22.0' and sys_platform == 'darwin'COMMENT
LOWrequirements.txt961 # pyobjc-framework-securityuiCOMMENT
LOWrequirements.txt981 # via pyobjcCOMMENT
LOWrequirements.txt1001 # via pyobjcCOMMENT
LOWrequirements.txt1021 # via pyttsx3COMMENT
LOWrequirements.txt1041 # pyttsx3COMMENT
LOWrequirements.txt1061 # viaCOMMENT
LOWrequirements.txt1081 # via torchCOMMENT
LOWrequirements.txt1101 # viaCOMMENT
LOWrequirements.txt1121 # open-llm-vtuberCOMMENT
LOWrequirements.txt1141 # exceptiongroupCOMMENT
LOWrequirements.txt1161 # mcpCOMMENT
LOWrequirements.txt1181websocket-client==1.9.0COMMENT
LOWconfig_templates/conf.ZH.default.yaml1# ===========================COMMENT
LOWconfig_templates/conf.ZH.default.yaml221 # ASR 模型下载:https://github.com/k2-fsa/sherpa-onnx/releases/tag/asr-modelsCOMMENT
21 more matches not shown…
Deep Nesting56 hits · 56 pts
SeverityFileLineSnippetContext
LOWrun_server.py50CODE
LOWupgrade_codes/config_sync.py159CODE
LOWupgrade_codes/config_sync.py180CODE
LOWupgrade_codes/upgrade_core/comment_sync.py23CODE
LOWupgrade_codes/upgrade_core/comment_sync.py30CODE
LOWupgrade_codes/upgrade_core/upgrade_utils.py105CODE
LOWupgrade_codes/upgrade_core/comment_diff_fn.py6CODE
LOWupgrade_codes/upgrade_core/language.py9CODE
LOWsrc/open_llm_vtuber/proxy_message_queue.py91CODE
LOWsrc/open_llm_vtuber/websocket_handler.py489CODE
LOWsrc/open_llm_vtuber/proxy_handler.py71CODE
LOWsrc/open_llm_vtuber/proxy_handler.py92CODE
LOWsrc/open_llm_vtuber/proxy_handler.py206CODE
LOWsrc/open_llm_vtuber/chat_history_manager.py250CODE
LOWsrc/open_llm_vtuber/chat_group.py163CODE
LOWsrc/open_llm_vtuber/routes.py73CODE
LOWsrc/open_llm_vtuber/routes.py97CODE
LOWsrc/open_llm_vtuber/routes.py202CODE
LOWsrc/open_llm_vtuber/mcpp/server_registry.py48CODE
LOWsrc/open_llm_vtuber/mcpp/tool_adapter.py85CODE
LOWsrc/open_llm_vtuber/mcpp/tool_adapter.py137CODE
LOWsrc/open_llm_vtuber/mcpp/mcp_client.py101CODE
LOWsrc/open_llm_vtuber/mcpp/tool_executor.py78CODE
LOWsrc/open_llm_vtuber/mcpp/tool_executor.py155CODE
LOWsrc/open_llm_vtuber/mcpp/tool_executor.py303CODE
LOWsrc/open_llm_vtuber/config_manager/tts.py775CODE
LOWsrc/open_llm_vtuber/config_manager/asr.py263CODE
LOWsrc/open_llm_vtuber/config_manager/asr.py356CODE
LOWsrc/open_llm_vtuber/utils/sentence_divider.py213CODE
LOWsrc/open_llm_vtuber/utils/sentence_divider.py405CODE
LOWsrc/open_llm_vtuber/utils/tts_preprocessor.py108CODE
LOWsrc/open_llm_vtuber/agent/agent_factory.py17CODE
LOWsrc/open_llm_vtuber/agent/transformers.py103CODE
LOWsrc/open_llm_vtuber/agent/transformers.py108CODE
LOWsrc/open_llm_vtuber/agent/transformers.py119CODE
LOW…c/open_llm_vtuber/agent/stateless_llm/llama_cpp_llm.py34CODE
LOW…lm_vtuber/agent/stateless_llm/openai_compatible_llm.py60CODE
LOWsrc/open_llm_vtuber/agent/stateless_llm/claude_llm.py43CODE
LOWsrc/open_llm_vtuber/agent/stateless_llm/claude_llm.py84CODE
LOW…ber/agent/stateless_llm/stateless_llm_with_template.py121CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py290CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py403CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py581CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py594CODE
LOWsrc/open_llm_vtuber/agent/agents/hume_ai.py157CODE
LOW…c/open_llm_vtuber/conversations/single_conversation.py25CODE
LOW…/open_llm_vtuber/conversations/conversation_handler.py146CODE
LOWsrc/open_llm_vtuber/conversations/group_conversation.py29CODE
LOWsrc/open_llm_vtuber/asr/sherpa_onnx_asr.py89CODE
LOWsrc/open_llm_vtuber/asr/asr_factory.py7CODE
LOWsrc/open_llm_vtuber/asr/azure_asr.py67CODE
LOWsrc/open_llm_vtuber/live/bilibili_live.py207CODE
LOWsrc/open_llm_vtuber/tts/tts_factory.py7CODE
LOWsrc/open_llm_vtuber/tts/minimax_tts.py26CODE
LOWsrc/open_llm_vtuber/tts/azure_tts.py65CODE
LOWsrc/open_llm_vtuber/vad/silero.py127CODE
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHprompts/prompt_loader.py13 Load the content of a file with robust encoding handling. Args: file_path: Path to the file to load STRING
HIGHsrc/open_llm_vtuber/live2d_model.py85 Find the model information from the model dictionary and return the information about the matched model. STRING
HIGHsrc/open_llm_vtuber/mcpp/utils/path.py8Check if the file path is valid. Args: file_path (str | Path): The path to the file. suffix (str): STRING
HIGHsrc/open_llm_vtuber/config_manager/utils.py17 Read the specified YAML configuration file with environment variable substitution and guess encoding. Return thSTRING
HIGHsrc/open_llm_vtuber/config_manager/utils.py56 Validate configuration data against the Config model. Args: config_data: Configuration data to validatSTRING
HIGHsrc/open_llm_vtuber/config_manager/i18n.py62 Creates a Description instance from plain strings, assuming English as the default language. Args: STRING
HIGH…_vtuber/agent/stateless_llm/stateless_llm_interface.py28 Generates a chat completion asynchronously and return an iterator to the response. This function does nSTRING
HIGH…lm_vtuber/agent/stateless_llm/openai_compatible_llm.py66 Generates a chat completion using the OpenAI API asynchronously. Parameters: - messages (List[STRING
HIGH…ber/agent/stateless_llm/stateless_llm_with_template.py124 Generates a chat completion using the OpenAI API asynchronously. Parameters: - messages (List[STRING
HIGHsrc/open_llm_vtuber/asr/azure_asr.py68 Asynchronously transcribe audio data using Azure Speech Services with auto language detection. Args: STRING
HIGHsrc/open_llm_vtuber/asr/azure_asr.py128 Synchronously transcribe audio data using Azure Speech Services. Args: audio (np.ndarray):STRING
Unused Imports49 hits · 34 pts
SeverityFileLineSnippetContext
LOWsrc/open_llm_vtuber/config_manager/__init__.py9CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py10CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py11CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py12CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py12CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py13CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py13CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py13CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py18CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py28CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py41CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py41CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py45CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py45CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py45CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py46CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py46CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py46CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py47CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py59CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py59CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py59CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py59CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py59CODE
LOWsrc/open_llm_vtuber/tts/cartesia_tts.py1CODE
Hyper-Verbose Identifiers32 hits · 32 pts
SeverityFileLineSnippetContext
LOWupgrade_codes/config_sync.py108 def merge_and_update_user_config(self):CODE
LOWupgrade_codes/upgrade_core/constants.py27def get_current_script_version():CODE
LOWsrc/open_llm_vtuber/websocket_handler.py204 async def handle_websocket_communication(CODE
LOWsrc/open_llm_vtuber/websocket_handler.py318 async def _cleanup_failed_connection(self, client_uid: str) -> None:CODE
LOWsrc/open_llm_vtuber/websocket_handler.py394 async def _handle_history_list_request(CODE
LOWsrc/open_llm_vtuber/websocket_handler.py513 async def _handle_conversation_trigger(CODE
LOWsrc/open_llm_vtuber/websocket_handler.py550 async def _handle_fetch_backgrounds(CODE
LOWsrc/open_llm_vtuber/websocket_handler.py585 async def _handle_init_config_request(CODE
LOWsrc/open_llm_vtuber/chat_group.py138 def cleanup_disconnected_clients(self, connected_clients: Set[str]):CODE
LOWsrc/open_llm_vtuber/mcpp/tool_adapter.py85 def construct_mcp_prompt_string(CODE
LOWsrc/open_llm_vtuber/mcpp/mcp_client.py43 async def _ensure_server_running_and_get_session(CODE
LOWsrc/open_llm_vtuber/mcpp/tool_executor.py124 def process_tool_from_prompt_json(CODE
LOWsrc/open_llm_vtuber/config_manager/utils.py77def load_text_file_with_guess_encoding(file_path: str) -> str | None:CODE
LOWsrc/open_llm_vtuber/config_manager/utils.py127def scan_config_alts_directory(config_alts_dir: str) -> list[dict]:CODE
LOWsrc/open_llm_vtuber/config_manager/character.py73 def check_default_persona_prompt(cls, v):CODE
LOWsrc/open_llm_vtuber/config_manager/character.py81 def set_default_character_name(cls, v, values):CODE
LOWsrc/open_llm_vtuber/utils/tts_preprocessor.py83def remove_special_characters(text: str) -> str:CODE
LOWsrc/open_llm_vtuber/utils/install_utils.py86 def install_conda_dependencies(self):CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py290 async def _claude_tool_interaction_loop(CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py403 async def _openai_tool_interaction_loop(CODE
LOW…c/open_llm_vtuber/conversations/single_conversation.py25async def process_single_conversation(CODE
LOW…/open_llm_vtuber/conversations/conversation_handler.py19async def handle_conversation_trigger(CODE
LOW…/open_llm_vtuber/conversations/conversation_handler.py112async def handle_individual_interrupt(CODE
LOWsrc/open_llm_vtuber/conversations/group_conversation.py29async def process_group_conversation(CODE
LOWsrc/open_llm_vtuber/conversations/group_conversation.py156def init_group_conversation_state(CODE
LOWsrc/open_llm_vtuber/conversations/group_conversation.py168def init_group_conversation_contexts(CODE
LOWsrc/open_llm_vtuber/conversations/conversation_utils.py133async def send_conversation_start_signals(websocket_send: WebSocketSend) -> None:CODE
LOWsrc/open_llm_vtuber/conversations/conversation_utils.py162async def finalize_conversation_turn(CODE
LOWsrc/open_llm_vtuber/conversations/conversation_utils.py193async def send_conversation_end_signal(CODE
LOWsrc/open_llm_vtuber/asr/utils.py121def check_and_extract_local_file(url: str, output_dir: str) -> Path | None:CODE
LOWsrc/open_llm_vtuber/asr/azure_asr.py46 def _create_speech_recognizer(self, uses_default_microphone: bool = True):CODE
LOWsrc/open_llm_vtuber/tts/azure_tts.py65 def __speak_with_audio_config(CODE
Self-Referential Comments9 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMupgrade_codes/config_sync.py49 # Create a backup of the user config fileCOMMENT
MEDIUMsrc/open_llm_vtuber/server.py22# Create a custom StaticFiles class that adds CORS headersCOMMENT
MEDIUMsrc/open_llm_vtuber/live2d_model.py7# This class is **Not responsible** for sending the payload to the serverCOMMENT
MEDIUMsrc/open_llm_vtuber/agent/agent_factory.py58 # Create the stateless LLMCOMMENT
MEDIUMsrc/open_llm_vtuber/agent/agent_factory.py70 # Create the agent with the LLM and live2d_modelCOMMENT
MEDIUMsrc/open_llm_vtuber/agent/stateless_llm_factory.py81# Creating an LLM instance using a factoryCOMMENT
MEDIUM…lm_vtuber/agent/stateless_llm/openai_compatible_llm.py196 # Create a ToolCallObject instance from a dictionary using the from_dict method.COMMENT
MEDIUMsrc/open_llm_vtuber/conversations/tts_manager.py181 # Create a new queue to clear any pending itemsCOMMENT
MEDIUMsrc/open_llm_vtuber/asr/utils.py63 # Create the output directory if it doesn't existCOMMENT
Redundant / Tautological Comments17 hits · 25 pts
SeverityFileLineSnippetContext
LOWrun_server.py127 # Check if the frontend submodule is initializedCOMMENT
LOWupgrade_codes/config_sync.py41 # Check if the user config file existsCOMMENT
LOWscripts/run_bilibili_live.py30 # Check if room IDs are providedCOMMENT
LOWsrc/open_llm_vtuber/proxy_handler.py216 if not msg.data: # Check if data is emptyCODE
LOWsrc/open_llm_vtuber/proxy_handler.py220 if not data: # Check if parsed data is emptyCODE
LOWsrc/open_llm_vtuber/chat_group.py36 # Check if invitee exists in client map (connected)COMMENT
LOWsrc/open_llm_vtuber/chat_group.py40 # Check if invitee is already in a groupCOMMENT
LOWsrc/open_llm_vtuber/chat_group.py71 # Check if target is in a groupCOMMENT
LOWsrc/open_llm_vtuber/mcpp/tool_executor.py343 # Check if the first content item is an error reported by MCPClientCOMMENT
LOWsrc/open_llm_vtuber/agent/stateless_llm/claude_llm.py183 # Check if this stop corresponds to the active tool callCOMMENT
LOWsrc/open_llm_vtuber/conversations/group_conversation.py90 # Check if we should skip storing this input to historyCOMMENT
LOWsrc/open_llm_vtuber/asr/utils.py74 # Check if the extracted directory already existsCOMMENT
LOWsrc/open_llm_vtuber/asr/utils.py137 # Check if the compressed file exists and is a tar.bz2 archiveCOMMENT
LOWsrc/open_llm_vtuber/tts/gpt_sovits_tts.py53 # Check if the request was successfulCOMMENT
LOWsrc/open_llm_vtuber/tts/coqui_tts.py50 # Check if model is multi-speakerCOMMENT
LOWsrc/open_llm_vtuber/tts/piper_tts.py65 # Check if model file existsCOMMENT
LOWsrc/open_llm_vtuber/tts/x_tts.py32 # Check if the request was successfulCOMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/open_llm_vtuber/tts/edge_tts.py0generate speech audio file using tts. text: str the text to speak file_name_no_ext: str name of the file without extensiSTRING
HIGHsrc/open_llm_vtuber/tts/melo_tts.py0generate speech audio file using tts. text: str the text to speak file_name_no_ext: str name of the file without extensiSTRING
HIGHsrc/open_llm_vtuber/tts/azure_tts.py0generate speech audio file using tts. text: str the text to speak file_name_no_ext: str name of the file without extensiSTRING
HIGHsrc/open_llm_vtuber/tts/bark_tts.py0generate speech audio file using tts. text: str the text to speak file_name_no_ext: str name of the file without extensiSTRING
Magic Placeholder Names2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHsrc/open_llm_vtuber/tts/tts_factory.py219# tts_engine = TTSFactory.get_tts_engine("azure", api_key="your_api_key", region="your_region", voice="your_voice")COMMENT
HIGHsrc/open_llm_vtuber/tts/elevenlabs_tts.py137# api_key="your_api_key",COMMENT
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMconfig_templates/conf.ZH.default.yaml1# ===========================COMMENT
MEDIUMconfig_templates/conf.ZH.default.yaml5# ===========================COMMENT
MEDIUMsrc/open_llm_vtuber/config_manager/agent.py119# =================================COMMENT
MEDIUMsrc/open_llm_vtuber/config_manager/agent.py148# =================================COMMENT
AI Structural Patterns10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/open_llm_vtuber/server.py53CODE
LOWsrc/open_llm_vtuber/mcpp/mcp_client.py155CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py38CODE
LOWsrc/open_llm_vtuber/asr/sherpa_onnx_asr.py11CODE
LOWsrc/open_llm_vtuber/asr/fun_asr.py40CODE
LOWsrc/open_llm_vtuber/tts/sherpa_onnx_tts.py14CODE
LOWsrc/open_llm_vtuber/tts/cosyvoice_tts.py7CODE
LOWsrc/open_llm_vtuber/tts/gpt_sovits_tts.py12CODE
LOWsrc/open_llm_vtuber/tts/cosyvoice2_tts.py7CODE
LOWsrc/open_llm_vtuber/tts/piper_tts.py28CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALsrc/open_llm_vtuber/tts/openai_tts.py91 self.client.audio.speech.with_streaming_response.create(CODE
Verbosity Indicators4 hits · 9 pts
SeverityFileLineSnippetContext
LOWupgrade_codes/config_sync.py60 # Step 1: Update config fieldsCOMMENT
LOWupgrade_codes/config_sync.py66 # Step 2: Sync commentsCOMMENT
LOWupgrade_codes/config_sync.py79 # Step 3: Determine whether upgrade is neededCOMMENT
LOWupgrade_codes/config_sync.py84 # Step 4: Run upgrade if neededCOMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOWupgrade_codes/config_sync.py60 # Step 1: Update config fieldsCOMMENT
LOWupgrade_codes/config_sync.py66 # Step 2: Sync commentsCOMMENT
LOWupgrade_codes/config_sync.py79 # Step 3: Determine whether upgrade is neededCOMMENT
LOWupgrade_codes/config_sync.py84 # Step 4: Run upgrade if neededCOMMENT
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMconfig_templates/conf.default.yaml209 # Or you can use sherpa onnx asr or Faster-Whisper for complete offline experienceCOMMENT
MEDIUM.github/workflows/codeql.yml54 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
LOW…lm_vtuber/agent/stateless_llm/openai_compatible_llm.py192 # If stream ends while still in a tool call, make sure to yield the tool callCOMMENT
Modern Structural Boilerplate7 hits · 8 pts
SeverityFileLineSnippetContext
LOWupgrade_codes/config_sync.py52 def update_user_config(self) -> None:CODE
LOWsrc/open_llm_vtuber/live2d_model.py35 def set_model(self, model_name: str) -> None:CODE
LOWsrc/open_llm_vtuber/config_manager/__init__.py67__all__ = [CODE
LOWsrc/open_llm_vtuber/agent/agents/basic_memory_agent.py176 def set_memory_from_history(self, conf_uid: str, history_uid: str) -> None:CODE
LOWsrc/open_llm_vtuber/agent/agents/letta_agent.py53 def set_memory_from_history(self, conf_uid: str, history_uid: str) -> None:CODE
LOWsrc/open_llm_vtuber/agent/agents/hume_ai.py122 def set_memory_from_history(self, conf_uid: str, history_uid: str) -> None:CODE
LOWsrc/open_llm_vtuber/agent/agents/agent_interface.py46 def set_memory_from_history(self, conf_uid: str, history_uid: str) -> None:CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/open_llm_vtuber/mcpp/json_detector.py139# Usage exampleCOMMENT
LOWsrc/open_llm_vtuber/utils/stream_audio.py85# Example usage:COMMENT
LOWsrc/open_llm_vtuber/tts/tts_factory.py218# Example usage:COMMENT
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMsrc/open_llm_vtuber/live2d_model.py56 """Load the content of a file with robust encoding handling."""STRING