AI Slop Code RIsk Monitor

xszyou/Fay

fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的agent框架。

11.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for xszyou/Fay, a Python project with 13,558 GitHub stars. SynthScan examined 104,644 lines of code across 218 source files, recording 979 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 11.5 (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.5
Adjusted Signal
11.5
Raw Pattern Score
100%
Time Factor
2026-09-21
Last Push
13.6K
Stars
Python
Language
104.6K
Lines of Code
218
Files
979
Pattern Hits
2026-10-12
Scan Date
0.29
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 11.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

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

Agent Over-Engineering Ratio 37.2/100 · MEDIUM

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

PR Review Velocity Impact 50.3/100 · HIGH

Which changes need focused human review? 979 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 62MEDIUM 83LOW 833

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 979 distinct pattern matches across 18 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 Wrapping508 hits · 460 pts
SeverityFileLineSnippetContext
MEDIUMfay_booter.py59def get_stream(self):CODE
MEDIUMfay_booter.py95def __pyaudio_clear(self):CODE
LOW⚡fay_booter.py89 except Exception as e:CODE
LOW⚡fay_booter.py99 except Exception as e:CODE
LOW⚡fay_booter.py106 except Exception as e:CODE
LOW⚡fay_booter.py335 except Exception:CODE
LOW⚡fay_booter.py340 except Exception as e:CODE
LOW⚡fay_booter.py349 except Exception as e:CODE
LOW⚡fay_booter.py358 except Exception as e:CODE
LOWfay_booter.py120 except Exception as e:CODE
LOWfay_booter.py177 except Exception as err:CODE
LOWfay_booter.py187 except Exception:CODE
LOWfay_booter.py215 except Exception:CODE
LOWfay_booter.py234 except Exception as serr:CODE
LOWfay_booter.py265 except Exception as e:CODE
LOWfay_booter.py381 except Exception as e:CODE
LOWfay_booter.py383 except Exception as e:CODE
LOWfay_booter.py427 except Exception as e:CODE
LOWfay_booter.py473 except Exception as e:CODE
LOWmain.py124 except Exception as e:CODE
LOWmain.py128 except Exception as e:CODE
LOWmain.py140 except Exception as e:CODE
LOWmain.py168except Exception as e:CODE
LOWmain.py298 except Exception as exc:CODE
MEDIUMmain.py137def cleanup_and_exit():CODE
LOWpackaging/sync_release_mcp_config.py46 except Exception:CODE
MEDIUMllm/nlp_cognitive_stream.py2310def _on_bg_complete(state):CODE
LOW⚡llm/nlp_cognitive_stream.py1444 except Exception as exc:CODE
LOW⚡llm/nlp_cognitive_stream.py2091 except Exception as exc:CODE
LOW⚡llm/nlp_cognitive_stream.py2110 except Exception:CODE
LOW⚡llm/nlp_cognitive_stream.py2116 except Exception:CODE
LOW⚡llm/nlp_cognitive_stream.py2122 except Exception as exc:CODE
LOW⚡llm/nlp_cognitive_stream.py2515 except Exception as llm_err:CODE
LOW⚡llm/nlp_cognitive_stream.py2518 except Exception as user_err:CODE
LOW⚡llm/nlp_cognitive_stream.py2523 except Exception as e:CODE
LOW⚡llm/nlp_cognitive_stream.py2702 except Exception as e:CODE
LOW⚡llm/nlp_cognitive_stream.py2704 except Exception as e:CODE
LOW⚡llm/nlp_cognitive_stream.py2707 except Exception as e:CODE
LOW⚡llm/nlp_cognitive_stream.py2717 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py432 except Exception as exc:CODE
LOWllm/nlp_cognitive_stream.py449 except Exception:CODE
LOWllm/nlp_cognitive_stream.py459 except Exception as exc:CODE
LOWllm/nlp_cognitive_stream.py473 except Exception:CODE
LOWllm/nlp_cognitive_stream.py593 except Exception:CODE
LOWllm/nlp_cognitive_stream.py603 except Exception as exc:CODE
LOWllm/nlp_cognitive_stream.py1099 except Exception:CODE
LOWllm/nlp_cognitive_stream.py1122 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1163 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1209 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1301 except Exception as write_err:CODE
LOWllm/nlp_cognitive_stream.py1305 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1349 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1376 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1381 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1395 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1413 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1418 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1431 except Exception as e:CODE
LOWllm/nlp_cognitive_stream.py1481 except Exception as exc:CODE
LOWllm/nlp_cognitive_stream.py1501 except Exception as exc:CODE
448 more matches not shown…
Empty Error Handlers60 hits · 300 pts
SeverityFileLineSnippetContext
HIGHfay_booter.py386except:CODE
HIGHfay_booter.py187except Exception:CODE
HIGHfay_booter.py215except Exception:CODE
HIGHfay_booter.py265except Exception as e:CODE
HIGHfay_booter.py335except Exception:CODE
HIGHllm/execution_manager.py249except Exception:CODE
HIGHllm/execution_manager.py352except json.JSONDecodeError:CODE
HIGHllm/execution_manager.py383except json.JSONDecodeError:CODE
HIGHcore/socket_bridge_service.py66except websockets.ConnectionClosed:CODE
HIGHcore/socket_bridge_service.py151except asyncio.CancelledError:CODE
HIGHcore/socket_bridge_service.py139except Exception:CODE
HIGHcore/socket_bridge_service.py143except Exception:CODE
HIGHcore/socket_bridge_service.py164except Exception:CODE
HIGHcore/socket_bridge_service.py182except Exception:CODE
HIGHcore/socket_bridge_service.py198except Exception:CODE
HIGHcore/socket_bridge_service.py54except Exception:CODE
HIGHcore/socket_bridge_service.py89except Exception:CODE
HIGHcore/qa_service.py40except Exception as e:CODE
HIGHcore/wsa_server.py135except asyncio.CancelledError:CODE
HIGHcore/wsa_server.py38except json.JSONDecodeError:CODE
HIGHcore/fay_core.py944except Exception:CODE
HIGHcore/fay_core.py1127except Exception:CODE
HIGHcore/fay_core.py2153except Exception:CODE
HIGHcore/fay_core.py1200except Exception:CODE
HIGHcore/fay_core.py1982except Exception:CODE
HIGHcore/fay_core.py720except Exception:CODE
HIGHcore/fay_core.py1642except Exception:CODE
HIGHcore/fay_core.py1973except Exception:CODE
HIGHtest/mcp_stdio_example.py154except KeyboardInterrupt:CODE
HIGHtest/clear_proxy.py20except Exception as e:CODE
HIGHtest/test_fay_gpt_stream.py12except (ValueError, OSError):CODE
HIGHfaymcp/mcp_service.py1118except:CODE
HIGHfaymcp/mcp_service.py232except Exception as e:CODE
HIGHfaymcp/mcp_client.py511except Exception:CODE
HIGHfaymcp/mcp_client.py585except Exception:CODE
HIGHfaymcp/mcp_client.py612except Exception:CODE
HIGHfaymcp/mcp_client.py617except Exception:CODE
HIGHfaymcp/mcp_server.py514except Exception:CODE
HIGHfaymcp/mcp_server.py593except KeyboardInterrupt:CODE
HIGHfaymcp/mcp_server.py524except Exception:CODE
HIGHfaymcp/mcp_server.py530except Exception:CODE
HIGHfaymcp/resource_registry.py43except Exception:CODE
HIGHfaymcp/resource_registry.py61except Exception:CODE
HIGHgui/flask_server.py753except Exception:CODE
HIGHgui/flask_server.py255except Exception:CODE
HIGHgui/flask_server.py740except Exception:CODE
HIGHgui/flask_server.py694except (ValueError, TypeError):CODE
HIGHgui/flask_server.py1032except Exception:CODE
HIGHgui/flask_server.py1577except Exception:CODE
HIGH…ayer_knowledge/fay_player_knowledge_base_mcp_server.py274except Exception:CODE
HIGH…ayer_knowledge/fay_player_knowledge_base_mcp_server.py2147except KeyboardInterrupt:CODE
HIGH…ayer_knowledge/fay_player_knowledge_base_mcp_server.py1994except OSError:CODE
HIGH…ayer_knowledge/fay_player_knowledge_base_mcp_server.py2000except OSError:CODE
HIGHmcp_servers/window_capture/server.py64except Exception:CODE
HIGHmcp_servers/window_capture/server.py374except KeyboardInterrupt:CODE
HIGHmcp_servers/schedule_manager/server.py806except:CODE
HIGHmcp_servers/schedule_manager/server.py924except:CODE
HIGHmcp_servers/schedule_manager/server.py837except:CODE
HIGHmcp_servers/schedule_manager/web_server.py238except:CODE
HIGHskills/remote_audio_key0.py184except Exception:CODE
Decorative Section Separators28 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUM⚡llm/nlp_cognitive_stream.py1448# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡llm/nlp_cognitive_stream.py1450# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡llm/nlp_cognitive_stream.py2100 # ------------------------------------------------------------------COMMENT
MEDIUM⚡llm/nlp_cognitive_stream.py2102 # ------------------------------------------------------------------COMMENT
MEDIUM⚡llm/execution_manager.py168# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡llm/execution_manager.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡llm/execution_manager.py208# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡llm/execution_manager.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMllm/execution_manager.py578# ---------------------------------------------------------------------------COMMENT
MEDIUMllm/execution_manager.py580# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory_service.py183# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory_service.py185# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory_service.py371# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory_service.py373# -----------------------------------------------------------------------------COMMENT
MEDIUMcore/memory_service.py56# -----------------------------------------------------------------------------COMMENT
MEDIUMcore/memory_service.py58# -----------------------------------------------------------------------------COMMENT
MEDIUMcore/memory_service.py102# -----------------------------------------------------------------------------COMMENT
MEDIUMcore/memory_service.py104# -----------------------------------------------------------------------------COMMENT
MEDIUMcore/memory_service.py147# -----------------------------------------------------------------------------COMMENT
MEDIUMcore/memory_service.py149# -----------------------------------------------------------------------------COMMENT
MEDIUMsimulation_engine/gpt_structure.py35# ============================================================================COMMENT
MEDIUMsimulation_engine/gpt_structure.py37# ============================================================================COMMENT
MEDIUMsimulation_engine/gpt_structure.py94# ============================================================================COMMENT
MEDIUMsimulation_engine/gpt_structure.py96# ============================================================================COMMENT
MEDIUMsimulation_engine/gpt_structure.py222# ============================================================================COMMENT
MEDIUMsimulation_engine/gpt_structure.py224# ============================================================================COMMENT
MEDIUM…ayer_knowledge/fay_player_knowledge_base_mcp_server.py42# ---------------------------------------------------------------------------COMMENT
MEDIUM…ayer_knowledge/fay_player_knowledge_base_mcp_server.py44# ---------------------------------------------------------------------------COMMENT
Deep Nesting129 hits · 96 pts
SeverityFileLineSnippetContext
LOWfay_booter.py222CODE
LOWfay_booter.py269CODE
LOWfay_booter.py315CODE
LOWfay_booter.py142CODE
LOWpackaging/build_windows_release.py212CODE
LOWllm/execution_manager.py333CODE
LOWcore/recorder.py94CODE
LOWcore/recorder.py234CODE
LOWcore/qa_service.py31CODE
LOWcore/qa_service.py57CODE
LOWcore/action_signal.py29CODE
LOWcore/wsa_server.py28CODE
LOWcore/wsa_server.py56CODE
LOWcore/wsa_server.py78CODE
LOWcore/fay_core.py534CODE
LOWcore/fay_core.py972CODE
LOWcore/fay_core.py1088CODE
LOWcore/fay_core.py1723CODE
LOWcore/fay_core.py1820CODE
LOWcore/fay_core.py2027CODE
LOWcore/fay_core.py2129CODE
LOWcore/fay_core.py2612CODE
LOWcore/memory_service.py154CODE
LOWtest/easegen_auto_play_server.py43CODE
LOWtest/test_fay_gpt_stream.py34CODE
LOWtest/test_remote_audio_socket_10001.py30CODE
LOWfaymcp/mcp_service.py54CODE
LOWfaymcp/mcp_service.py75CODE
LOWfaymcp/mcp_service.py210CODE
LOWfaymcp/mcp_service.py326CODE
LOWfaymcp/mcp_service.py437CODE
LOWfaymcp/mcp_service.py580CODE
LOWfaymcp/mcp_service.py605CODE
LOWfaymcp/mcp_service.py767CODE
LOWfaymcp/mcp_service.py836CODE
LOWfaymcp/mcp_service.py902CODE
LOWfaymcp/mcp_service.py1027CODE
LOWfaymcp/mcp_service.py1249CODE
LOWfaymcp/mcp_service.py1294CODE
LOWfaymcp/mcp_service.py1320CODE
LOWfaymcp/mcp_service.py1361CODE
LOWfaymcp/mcp_service.py1471CODE
LOWfaymcp/mcp_service.py1678CODE
LOWfaymcp/tool_registry.py51CODE
LOWfaymcp/tool_registry.py172CODE
LOWfaymcp/mcp_client.py302CODE
LOWfaymcp/mcp_client.py462CODE
LOWfaymcp/mcp_client.py541CODE
LOWfaymcp/mcp_client.py737CODE
LOWfaymcp/prestart_registry.py22CODE
LOWfaymcp/mcp_server.py311CODE
LOWfaymcp/mcp_server.py433CODE
LOWfaymcp/mcp_server.py505CODE
LOWfaymcp/resource_registry.py98CODE
LOWsimulation_engine/llm_json_parser.py5CODE
LOWsimulation_engine/global_methods.py85CODE
LOWsimulation_engine/global_methods.py240CODE
LOWutils/stream_state_manager.py170CODE
LOWutils/stream_text_processor.py80CODE
LOWutils/config_util.py217CODE
69 more matches not shown…
Hyper-Verbose Identifiers109 hits · 90 pts
SeverityFileLineSnippetContext
LOWfay_booter.py245def accept_audio_device_output_connect():CODE
LOWmain.py15def _resolve_runner_script_path(script_arg):CODE
LOWmain.py33def _maybe_run_mcp_stdio_runner(argv):CODE
LOWmain.py62def _extract_config_center_id(argv):CODE
LOWpackaging/sync_release_mcp_config.py74def _is_portable_python_server(server: Dict[str, Any]) -> bool:CODE
LOWpackaging/build_windows_release.py135def _prepare_release_memory_snapshot() -> None:CODE
LOWpackaging/build_windows_release.py212def _rewrite_release_mcp_config(output_path: Path, built_targets: Dict[str, str]) -> None:CODE
LOWpackaging/build_windows_release.py241def _copy_packaged_mcp_into_dist() -> None:CODE
LOW⚡llm/nlp_cognitive_stream.py1452def _classify_intent_for_running_task(content, running_state):CODE
LOW⚡llm/nlp_cognitive_stream.py2105 def _end_session_and_remember(response_text: str) -> str:CODE
LOWllm/nlp_cognitive_stream.py56def _normalize_short_greeting_text(content: Any) -> str:CODE
LOWllm/nlp_cognitive_stream.py167def _extract_text_from_result(value: Any, *, depth: int = 0) -> List[str]:CODE
LOWllm/nlp_cognitive_stream.py319def _apply_question_placeholder(value: Any, question: str) -> Any:CODE
LOWllm/nlp_cognitive_stream.py331def _remove_prestart_from_text(text: str, keep_marked: bool = True) -> str:CODE
LOWllm/nlp_cognitive_stream.py380def _format_conversation_block(conversation: List[Dict], username: str = "User") -> str:CODE
LOWllm/nlp_cognitive_stream.py519def _format_schema_parameters(schema: Dict[str, Any]) -> List[str]:CODE
LOWllm/nlp_cognitive_stream.py581def _build_workflow_tool_spec(tool_def: Dict[str, Any]) -> Optional[WorkflowToolSpec]:CODE
LOWllm/nlp_cognitive_stream.py653def _get_latest_tool_result_text(history: List[ToolResult]) -> str:CODE
LOWllm/nlp_cognitive_stream.py1353def remember_conversation_thread(username, content, response_text):CODE
LOWllm/nlp_cognitive_stream.py1398def remember_observation_thread(username, observation_text):CODE
LOWllm/nlp_cognitive_stream.py1486def _build_new_task_confirm_reply(content, running_state):CODE
LOWllm/nlp_cognitive_stream.py1506def _auto_reply_after_execution(username, finished_exec_state):CODE
LOWllm/nlp_cognitive_stream.py2432def perform_user_portrait_analysis():CODE
LOWllm/nlp_cognitive_stream.py2256 def _first_plan_stream_callback(chunk_text: str) -> None:STRING
LOW⚡llm/execution_manager.py212def _format_tools_for_execution(tool_registry) -> str:CODE
LOWllm/execution_manager.py226def _build_execution_next_step_messages(state: ExecutionState) -> list:CODE
LOWcore/recorder.py350 def __notify_listening_status(self):CODE
LOWcore/stream_manager.py211 def _clear_user_specific_audio(self, username, sound_queue):CODE
LOWcore/wsa_server.py99 async def send_message_with_timeout(self, client, message, username, timeout=3):CODE
LOWcore/fay_core.py972 def __send_human_audio_ordered(self, content, username, conversation_id, conversation_msg_no, is_end=False):CODE
LOWcore/fay_core.py2027 def __send_remote_device_audio(self, file_url, interact):CODE
LOWcore/fay_core.py2108 def __is_send_remote_device_audio(self, interact):CODE
LOWcore/fay_core.py2612 def __truncate_think_for_panel(self, text, uid, username):CODE
LOWcore/fay_core.py2899 def __send_digital_human_message(self, text, username, is_first=False, is_end=False):CODE
LOWcore/fay_core.py3076 def __analyze_sentiment_by_keywords(self, text):CODE
LOWcore/content_db.py212 def get_recent_messages_by_user(self, username='User', limit=30):STRING
LOWcore/content_db.py252 def get_previous_user_message(self, msg_id):CODE
LOWcore/content_db.py268 def get_today_messages_by_user(self, username):STRING
LOWcore/content_db.py296 def delete_messages_by_username(self, username):STRING
LOWtest/test_fay_gpt_stream.py6def _configure_console_streams():CODE
LOWfaymcp/mcp_service.py161def _attach_prestart_metadata(server_id: int, tools: List[Dict[str, Any]]) -> List[Dict[str, Any]]:CODE
LOWfaymcp/mcp_service.py179def _fetch_and_cache_resources(server_id: int, client: McpClient, server_name: str = "") -> None:CODE
LOWfaymcp/mcp_service.py326def disconnect_all_mcp_servers():CODE
LOWfaymcp/mcp_service.py902def get_all_online_server_tools():CODE
LOWfaymcp/mcp_service.py1108def schedule_connection_check():CODE
LOWfaymcp/mcp_service.py1249def list_runnable_prestart_tools():CODE
LOWfaymcp/mcp_service.py1294def _apply_question_placeholder(params: Dict[str, Any], question: str) -> Dict[str, Any]:CODE
LOWfaymcp/mcp_service.py1678def _autostart_connect_servers():CODE
LOW⚡faymcp/runtime_bridge.py53def list_runnable_prestart_tools() -> List[Dict[str, Any]]:CODE
LOWfaymcp/mcp_client.py154def _inject_packaged_python_env(CODE
LOWfaymcp/mcp_client.py195def _resolve_packaged_stdio_runner(CODE
LOWfaymcp/mcp_client.py462 def _resolve_stdio_launch_config(self) -> Dict[str, Any]:CODE
LOWfaymcp/static/js/vue.js2280 function extractPropsFromVNodeData (CODE
LOWfaymcp/static/js/vue.js3057 function createFunctionalComponent (CODE
LOWfaymcp/static/js/vue.js3098 function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {CODE
LOWfaymcp/static/js/vue.js3294 function createComponentInstanceForVnode (CODE
LOWfaymcp/static/js/vue.js5050 function resolveConstructorOptions (Ctor) {CODE
LOWfaymcp/static/js/vue.js6177 function removeAndInvokeRemoveHook (vnode, rm) {CODE
LOWfaymcp/static/js/vue.js7146 function getAndRemoveAttr (CODE
LOWfaymcp/static/js/vue.js7167 function getAndRemoveAttrByRegex (CODE
49 more matches not shown…
Unused Imports72 hits · 68 pts
SeverityFileLineSnippetContext
LOWfay_booter.py3CODE
LOWpackaging/build_windows_release.py1CODE
LOWllm/execution_manager.py16CODE
LOWcore/recorder.py7CODE
LOWcore/member_db.py2CODE
LOWcore/action_signal.py1CODE
LOWcore/memory_service.py34CODE
LOWtest/mcp_stdio_example.py26CODE
LOWtest/test_auto_play_server.py5CODE
LOWtest/test_windows_adudio_output_listen.py1CODE
LOWtest/test_remote_audio_websocket_9001.py7CODE
LOWtest/test_remote_audio_websocket_9001.py9CODE
LOWtest/test_remote_audio_websocket_9001.py10CODE
LOWtest/test_human_ws_api.py4CODE
LOWtest/FunAudioLLM/SenseVoice/model.py6CODE
LOWtest/FunAudioLLM/SenseVoice/model.py11CODE
LOWtest/FunAudioLLM/SenseVoice/model.py14CODE
LOWfaymcp/tool_registry.py12CODE
LOWfaymcp/runtime_bridge.py10CODE
LOWfaymcp/prestart_registry.py10CODE
LOWfaymcp/mcp_server.py23CODE
LOWfaymcp/resource_registry.py21CODE
LOWscheduler/thread_manager.py56CODE
LOWsimulation_engine/gpt_structure.py5CODE
LOWsimulation_engine/gpt_structure.py5CODE
LOWsimulation_engine/gpt_structure.py5CODE
LOWsimulation_engine/gpt_structure.py7CODE
LOWsimulation_engine/global_methods.py5CODE
LOWutils/util.py10CODE
LOWutils/config_util.py32CODE
LOWutils/config_util.py36CODE
LOWutils/config_util.py37CODE
LOWutils/api_embedding_service.py4CODE
LOWutils/openai_api/openai_api.py1CODE
LOWgenagents/genagents.py12CODE
LOWgenagents/genagents.py13CODE
LOWgenagents/modules/interaction.py1CODE
LOWgenagents/modules/interaction.py2CODE
LOWgenagents/modules/interaction.py3CODE
LOWgenagents/modules/interaction.py4CODE
LOWgenagents/modules/interaction.py5CODE
LOWgenagents/modules/interaction.py6CODE
LOWgenagents/modules/interaction.py9CODE
LOWgenagents/modules/interaction.py10CODE
LOWgenagents/modules/interaction.py12CODE
LOWgenagents/modules/interaction.py13CODE
LOWgenagents/modules/interaction.py14CODE
LOWgenagents/modules/interaction.py15CODE
LOWgenagents/modules/memory_stream.py1CODE
LOWgenagents/modules/memory_stream.py2CODE
LOWgenagents/modules/memory_stream.py6CODE
LOWgenagents/modules/memory_stream.py11CODE
LOWgenagents/modules/memory_stream.py12CODE
LOWgenagents/modules/memory_stream.py13CODE
LOWgenagents/modules/memory_stream.py14CODE
LOWasr/funasr.py13CODE
LOWasr/funasr/funasr_client_api.py16CODE
LOWasr/funasr/funasr_client_api.py18CODE
LOWasr/funasr/funasr_client_api.py19CODE
LOWtts/ali_tss.py2CODE
12 more matches not shown…
Over-Commented Block39 hits · 34 pts
SeverityFileLineSnippetContext
LOWtest/ovr_lipsync/ovr_lipsync_exe/CMakeCache.txt1# This is the CMakeCache file.COMMENT
LOWtest/ovr_lipsync/ovr_lipsync_exe/CMakeCache.txt241//Name of generator platform.COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp21# define SIMULATE_ID "MSVC"COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp41# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp61# define SIMULATE_ID "GNU"COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp81#if defined(__GNUC__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp101#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp121COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp141# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp161 /* __IBMCPP__ = VRP */COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp181#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp201# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp221/* __GHS_VERSION_NUMBER = VVVVRP */COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp241 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp261#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp281COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp301# if defined(_MSC_FULL_VER)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp321#endifCOMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp361#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp381#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp401COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp421# define PLATFORM_ID "UNIX_SV"COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp441#elif defined(__WATCOMC__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp461#elif defined(__INTEGRITY)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp481# define ARCHITECTURE_ID "IA64"COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp501# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp521# else /* unknown architecture */COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp541# elif defined(__ICCAVR__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp561# if defined(__PPC64__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp581# if defined(__TI_ARM__)COMMENT
LOW…0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp681# elseCOMMENT
LOWfaymcp/static/js/vue.js1921 var copies = callbacks.slice(0);COMMENT
LOWfaymcp/static/js/vue.js1941 // The nextTick behavior leverages the microtask queue, which can be accessedCOMMENT
LOWfaymcp/static/js/vue.js2341 }COMMENT
LOWutils/openai_api/api_server.py221 json_post_list = json.loads(json_post)COMMENT
LOWutils/openai_api/openai_api_request.py201# -H "Content-Type: application/json" \COMMENT
LOWgui/static/js/vue.js1921 var copies = callbacks.slice(0);COMMENT
LOWgui/static/js/vue.js1941 // The nextTick behavior leverages the microtask queue, which can be accessedCOMMENT
LOWgui/static/js/vue.js2341 }COMMENT
AI Structural Patterns12 hits · 12 pts
SeverityFileLineSnippetContext
LOWcore/recorder.py400CODE
LOWtest/FunAudioLLM/SenseVoice/model.py445CODE
LOWtest/FunAudioLLM/SenseVoice/model.py584CODE
LOWsimulation_engine/gpt_structure.py167CODE
LOWsimulation_engine/global_methods.py237CODE
LOWutils/openai_api/api_server.py326CODE
LOWgenagents/genagents.py179CODE
LOWgenagents/genagents.py184CODE
LOWgenagents/genagents.py189CODE
LOWgenagents/modules/interaction.py65CODE
LOWgenagents/modules/interaction.py116CODE
LOWmcp_servers/yueshen_rag/server.py406CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHutils/config_util.py139 'API_KEY': 'your-api-key-here', # 默认API密钥CODE
HIGHdocs/Fay数字人MCP知识库配置指南.md98 "YUESHEN_EMBED_API_KEY": "sk-your-api-key",CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALgui/static/js/marked.min.js47`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on bytCODE
Modern Structural Boilerplate7 hits · 6 pts
SeverityFileLineSnippetContext
LOWtest/FunAudioLLM/SenseVoice/server.py11logger = logging.getLogger(__name__)CODE
LOWfaymcp/tool_registry.py120def update_tool_enabled(server_id: int, tool_name: str, enabled: bool) -> None:CODE
LOWfaymcp/mcp_client.py29logger = logging.getLogger(__name__)CODE
LOWfaymcp/mcp_client.py292 def set_enabled_lookup(self, lookup: Optional[Callable[[str], bool]]) -> None:CODE
LOWfaymcp/prestart_registry.py86def set_prestart(server_id: int, tool_name: str, params: Dict[str, Any], include_history: bool = True, allow_function_caCODE
LOWutils/api_embedding_service.py21logger = logging.getLogger(__name__)CODE
LOWasr/funasr/ASR_server.py10logger = logging.getLogger(__name__)CODE
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWfaymcp/static/js/element.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof defCODE
LOWfaymcp/static/js/vue.js6812 key === 'placeholder' && value !== '' && !el.__iephCODE
LOWgui/static/js/element.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof defCODE
LOWgui/static/js/element-ui.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof defCODE
LOWgui/static/js/vue.js6812 key === 'placeholder' && value !== '' && !el.__iephCODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMmcp_servers/yueshen_rag/README.md1## YueShen RAG MCP ServerCOMMENT
Self-Referential Comments1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtest/ovr_lipsync/ffmpeg/doc/ffmpeg-devices.html1242<pre class="example-preformatted"># Create a JACK writable client with name &quot;ffmpeg&quot;.CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtest/ovr_lipsync/ffmpeg/doc/faq.html524<p>FFmpeg has a <a class="url" href="ffmpeg-formats.html#concat"><code class="code">concat</code></a> demuxer which you CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMfaymcp/mcp_client.py217CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWfaymcp/static/js/vue.js4754 function getData (data, vm) {CODE
LOWgui/static/js/vue.js4754 function getData (data, vm) {CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsimulation_engine/global_methods.py338 # Loop through the list in steps of q_chunk_sizeCOMMENT