AI Slop Code RIsk Monitor

Open-LLM-VTuber/Open-LLM-VTuber

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

11.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Open-LLM-VTuber/Open-LLM-VTuber, a Python project with 14,039 GitHub stars. SynthScan examined 53,024 lines of code across 208 source files, recording 439 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 11.0 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.0
Adjusted Signal
11.0
Raw Pattern Score
100%
Time Factor
2026-05-15
Last Push
14.0K
Stars
Python
Language
53.0K
Lines of Code
208
Files
439
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 24.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 231 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.5/100 · LOW

Are imports declared and package/API names verified? 52 finding(s).

Agent Over-Engineering Ratio 22.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 198 finding(s).

PR Review Velocity Impact 43.9/100 · MEDIUM

Which changes need focused human review? 439 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 1HIGH 25MEDIUM 20LOW 393

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 439 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

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
LOW⚡src/open_llm_vtuber/chat_history_manager.py288 except Exception as e:CODE
LOW⚡src/open_llm_vtuber/chat_history_manager.py298 except Exception as e:CODE
LOW⚡src/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
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHupgrade_codes/upgrade_core/language.py24except Exception:CODE
HIGHupgrade_codes/upgrade_core/language.py38except Exception:CODE
HIGHprompts/prompt_loader.py49except UnicodeDecodeError:CODE
HIGHsrc/open_llm_vtuber/live2d_model.py77except UnicodeDecodeError:CODE
HIGHsrc/open_llm_vtuber/proxy_handler.py172except asyncio.CancelledError:CODE
HIGHsrc/open_llm_vtuber/asr/fun_asr.py95except ValueError:CODE
HIGHsrc/open_llm_vtuber/live/bilibili_live.py341except asyncio.CancelledError:CODE
HIGHsrc/open_llm_vtuber/tts/melo_tts.py67except AttributeError:CODE
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
LOW⚡src/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
MEDIUM⚡upgrade_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
LOW⚡upgrade_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
LOW⚡upgrade_codes/config_sync.py60 # Step 1: Update config fieldsCOMMENT
LOW⚡upgrade_codes/config_sync.py66 # Step 2: Sync commentsCOMMENT
LOW⚡upgrade_codes/config_sync.py79 # Step 3: Determine whether upgrade is neededCOMMENT
LOW⚡upgrade_codes/config_sync.py84 # Step 4: Run upgrade if neededCOMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡upgrade_codes/config_sync.py60 # Step 1: Update config fieldsCOMMENT
LOW⚡upgrade_codes/config_sync.py66 # Step 2: Sync commentsCOMMENT
LOW⚡upgrade_codes/config_sync.py79 # Step 3: Determine whether upgrade is neededCOMMENT
LOW⚡upgrade_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
LOW⚡upgrade_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