Repository Analysis

Mai-with-u/MaiBot

MaiSaka, an LLM-based intelligent agent, is a digital lifeform devoted to understanding you and interacting in the style of a real human. She does not pursue perfection, nor does she seek efficiency; instead, she values warmth, authenticity, and genuine connection.

15.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Mai-with-u/MaiBot, a Python project with 5,500 GitHub stars. SynthScan v2.0 examined 381,009 lines of code across 1011 source files, recording 5621 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 15.0 places this repository in the Moderate 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).

15.0
Adjusted Score
15.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.5K
Stars
Python
Language
381.0K
Lines of Code
1.0K
Files
5.6K
Pattern Hits
2026-07-14
Scan Date
0.12
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 122MEDIUM 127LOW 5371

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 5621 distinct pattern matches across 18 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.

Hyper-Verbose Identifiers3224 hits · 2809 pts
SeverityFileLineSnippetContext
LOWbot.py49def _print_interrupt_exit_notice() -> None:CODE
LOWbot.py55def _mark_shutdown_and_interrupt(_signum: int, _frame: object) -> None:CODE
LOWbot.py71def _cancel_active_main_task_from_signal() -> None:CODE
LOWbot.py303def _is_windows_proactor_cancel_race(error: BaseException) -> bool:CODE
LOWbot.py379def _prompt_user_confirmation(eula_hash: str, privacy_hash: str) -> None:CODE
LOWdashboard/src/components/theme-provider.tsx24function dashboardStyleToConfigValue(style: DashboardStyle): 0 | 1 {CODE
LOWdashboard/src/components/theme-provider.tsx28function configValueToDashboardStyle(value: unknown): DashboardStyle {CODE
LOWdashboard/src/components/theme-provider.tsx32function shouldSyncRemoteWebUIStyle(): boolean {CODE
LOW…shboard/src/components/background-effects-controls.tsx75export function BackgroundEffectsControls({CODE
LOWdashboard/src/components/CodeEditorImpl.tsx34function createDiffDecorationExtension(CODE
LOWdashboard/src/components/local-cache-image-utils.ts18export function formatLocalCacheCleanupDescription(result: {CODE
LOWdashboard/src/components/ui/chart.tsx333function getPayloadConfigFromPayload(CODE
LOW…oard/src/components/dynamic-form/DynamicConfigForm.tsx190function NestedDynamicConfigSection({CODE
LOWdashboard/src/lib/keyboard.ts52export function getPlatformModifierAriaLabel(): string {CODE
LOWdashboard/src/lib/expression-api.ts149export async function previewLegacyExpressionImport(params: {CODE
LOWdashboard/src/lib/expression-api.ts161export async function previewLegacyExpressionImportFile(CODE
LOWdashboard/src/lib/expression-api.ts233export async function updateExpressionReviewStatus(CODE
LOWdashboard/src/lib/expression-api.ts300export async function getExpressionClusterMembers(params: {CODE
LOWdashboard/src/lib/expression-api.ts388export async function approveExpressionReviewLog(CODE
LOWdashboard/src/lib/chat-management-api.ts238export async function updateChatStreamTalkFrequency(CODE
LOWdashboard/src/lib/chat-management-api.ts255export async function deleteChatStreamTalkFrequency(CODE
LOWdashboard/src/lib/chat-management-api.ts325export async function updateChatStreamAdapterPolicy(CODE
LOWdashboard/src/lib/plugin-stats.ts89function normalizePluginStatsResponse(data: unknown, pluginId: string): PluginStatsData | null {CODE
LOWdashboard/src/lib/plugin-stats.ts131function readPluginStatsSummaryStorageCache(): PluginStatsSummaryStorageCache | null {CODE
LOWdashboard/src/lib/plugin-stats.ts162function writePluginStatsSummaryStorageCache(data: Record<string, PluginStatsData>): void {CODE
LOWdashboard/src/lib/plugin-stats.ts203export function getCachedPluginStatsSummary(): Record<string, PluginStatsData> | null {CODE
LOWdashboard/src/lib/plugin-stats.ts234async function fetchPluginStatsSummaryUncached(): Promise<Record<string, PluginStatsData>> {CODE
LOWdashboard/src/lib/prompt-generator-api.ts7function normalizePromptGeneratorError(error: unknown): never {CODE
LOWdashboard/src/lib/prompt-generator-api.ts87export async function applyPromptGeneratorBlocks(CODE
LOWdashboard/src/lib/system-api.ts212export function getLocalCacheImagePreviewUrl(target: LocalCacheImageTarget, relativePath: string): string {CODE
LOWdashboard/src/lib/system-api.ts226export async function getLocalCacheDatabaseStats(): Promise<DatabaseStorageStats> {CODE
LOWdashboard/src/lib/system-api.ts251export async function deleteLocalCacheDataEntry(relativePath: string): Promise<LocalCacheCleanupResult> {CODE
LOWdashboard/src/lib/system-api.ts308export async function deleteLocalCacheImagesByDateRange(CODE
LOWdashboard/src/lib/system-api.ts324export async function deleteLocalCacheImagesOlderThanRecentDays(CODE
LOWdashboard/src/lib/system-api.ts338export async function getLocalCacheLogDirectories(): Promise<LocalCacheLogDirectoryListResponse> {CODE
LOWdashboard/src/lib/system-api.ts347export async function deleteLocalCacheLogDirectory(relativePath: string): Promise<LocalCacheCleanupResult> {CODE
LOWdashboard/src/lib/config-api.ts78function invalidateConfigDataCache(key?: string): void {CODE
LOWdashboard/src/lib/config-api.ts260export async function updateModelConfigVersionLabel(CODE
LOWdashboard/src/lib/reasoning-process-api.ts147export async function listReasoningPromptStages(): Promise<ReasoningPromptStagesResponse> {CODE
LOWdashboard/src/lib/reasoning-process-api.ts154export async function clearReasoningPromptStage(stage: string): Promise<ReasoningPromptClearStageResponse> {CODE
LOWdashboard/src/lib/reasoning-process-api.ts170export async function getReasoningPromptHtmlUrl(path: string): Promise<string> {CODE
LOWdashboard/src/lib/memory-api.ts1277export async function getMemoryGraphParagraphDetail(CODE
LOWdashboard/src/lib/memory-api.ts1321export async function getMemoryDeleteOperations(CODE
LOWdashboard/src/lib/memory-api.ts1385export async function rollbackMemoryCorrectionPlan(CODE
LOWdashboard/src/lib/memory-api.ts1395export async function getMemoryFeedbackCorrections(CODE
LOWdashboard/src/lib/memory-api.ts1418export async function getMemoryFeedbackCorrection(CODE
LOWdashboard/src/lib/memory-api.ts1424export async function rollbackMemoryFeedbackCorrection(CODE
LOWdashboard/src/lib/memory-api.ts1511export async function processMemoryEpisodePending(payload: {CODE
LOWdashboard/src/lib/memory-api.ts1573export async function deleteMemoryProfileOverride(personId: string): Promise<MemoryProfileOverridePayload> {CODE
LOWdashboard/src/lib/memory-api.ts1591export async function correctMemoryProfileEvidence(payload: {CODE
LOWdashboard/src/lib/memory-api.ts1644export async function refreshMemoryRuntimeSelfCheck(): Promise<MemoryRuntimeSelfCheckPayload> {CODE
LOWdashboard/src/lib/memory-api.ts1650export async function rebuildMemoryRuntimeVectors(payload: {CODE
LOWdashboard/src/lib/memory-api.ts1695export async function getMemoryImportPathAliases(): Promise<MemoryImportPathAliasesPayload> {CODE
LOWdashboard/src/lib/memory-api.ts1699export async function getMemoryImportChatTargets(): Promise<MemoryImportChatTargetsPayload> {CODE
LOWdashboard/src/lib/memory-api.ts1724export async function getMemoryImportTaskChunks(CODE
LOWdashboard/src/lib/memory-api.ts1754export async function createMemoryRawScanImport(payload: Record<string, unknown>): Promise<MemoryImportActionPayload> {CODE
LOWdashboard/src/lib/memory-api.ts1761export async function createMemoryLpmmOpenieImport(payload: Record<string, unknown>): Promise<MemoryImportActionPayload>CODE
LOWdashboard/src/lib/memory-api.ts1768export async function createMemoryLpmmConvertImport(payload: Record<string, unknown>): Promise<MemoryImportActionPayloadCODE
LOWdashboard/src/lib/memory-api.ts1775export async function createMemoryTemporalBackfillImport(payload: Record<string, unknown>): Promise<MemoryImportActionPaCODE
LOWdashboard/src/lib/memory-api.ts1782export async function createMemoryMaibotMigrationImport(payload: Record<string, unknown>): Promise<MemoryImportActionPayCODE
3164 more matches not shown…
Excessive Try-Catch Wrapping1248 hits · 1132 pts
SeverityFileLineSnippetContext
LOWbot.py221 except Exception as e:CODE
LOWbot.py267 except Exception as e:CODE
LOWbot.py272 except Exception as e:CODE
LOWbot.py286 except Exception as exc:CODE
LOWbot.py343 except Exception as ge:CODE
LOWbot.py525 except Exception as e:CODE
LOWbot.py547 except Exception as e:CODE
LOWplugins/hello_world_plugin/plugin.py162 except Exception as e:CODE
LOWscripts/mmipkg_tool.py113 except Exception as e:CODE
LOWscripts/mmipkg_tool.py153 except Exception as e:CODE
LOWscripts/mmipkg_tool.py231 except Exception as e:CODE
LOWscripts/mmipkg_tool.py314 except Exception as e:CODE
LOWscripts/mmipkg_tool.py427 except Exception as e:CODE
LOWscripts/mmipkg_tool.py526 except Exception as e:CODE
LOWscripts/mmipkg_tool.py533 except Exception as e2:CODE
LOWscripts/mmipkg_tool.py568 except Exception as e:CODE
LOWscripts/mmipkg_tool.py696 except Exception as e:CODE
LOWscripts/mmipkg_tool.py711 except Exception as e:CODE
LOWscripts/mmipkg_tool.py846 except Exception as e:CODE
LOWscripts/mmipkg_tool.py1098 except Exception as e:CODE
LOWscripts/mmipkg_tool.py1114 except Exception as e:CODE
LOWscripts/test_model_tool_call_params.py113 except Exception:CODE
LOWscripts/i18n_validate.py247 except Exception as exc:CODE
LOWscripts/i18n_validate.py297 except Exception as exc:CODE
LOWscripts/test_tool_call_api_matrix.py77 except Exception:CODE
LOWscripts/build_io_pairs.py68 except Exception as e: # noqa: BLE001CODE
LOWscripts/build_io_pairs.py337 except Exception:CODE
LOWscripts/build_io_pairs.py349 except Exception as e: # noqa: BLE001CODE
LOWscripts/jargon_learn_from_message_segments.py335 except Exception as exc:CODE
LOWscripts/jargon_learn_from_planner_logs.py341 except Exception as exc:CODE
LOWscripts/jargon_learn_from_planner_logs.py410 except Exception as exc:CODE
LOWscripts/evaluate_bot_phrase_regex_capture.py762 except Exception as exc:CODE
LOWscripts/cleanup_behavior_generic_tags.py426 except Exception:CODE
LOWscripts/expression_selection/llm_judge.py209 except Exception:CODE
LOWscripts/expression_selection/offline_runner.py244 except Exception:CODE
LOWscripts/make_scripts/generate_requirements.py35 except Exception as e:CODE
MEDIUMscripts/make_scripts/generate_requirements.py4def generate_requirements(pyproject_path="pyproject.toml", output_path="requiremCODE
LOW…emorix_test/test_chat_summary_writeback_integration.py140 except Exception:CODE
LOW…emorix_test/test_chat_summary_writeback_integration.py397 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py38 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py77 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py306 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py310 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py314 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py318 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py327 except Exception:CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py385 except Exception:CODE
MEDIUMpytests/A_memorix_test/test_maibot_migration_script.py303def _close_runner(runner) -> None:CODE
LOWpytests/image_sys_test/image_manager_test.py221 except Exception:CODE
LOWsrc/main.py99 except Exception as e:CODE
LOWsrc/main.py111 except Exception:CODE
LOWsrc/main.py150 except Exception:CODE
LOWsrc/main.py203 except Exception as e:CODE
LOWsrc/person_info/person_info.py64 except Exception as e:CODE
LOWsrc/person_info/person_info.py450 except Exception as e:CODE
LOWsrc/person_info/person_info.py505 except Exception as e:CODE
LOWsrc/person_info/person_info.py599 except Exception as e:CODE
MEDIUMsrc/maisaka/reasoning_engine.py483def build_heuristic_memory_message() -> str:CODE
MEDIUMsrc/maisaka/reasoning_engine.py492def build_profile_messages() -> list[str]:CODE
LOWsrc/maisaka/reasoning_engine.py488 except Exception as exc:CODE
1188 more matches not shown…
Docstring Block Structure105 hits · 525 pts
SeverityFileLineSnippetContext
HIGHsrc/person_info/person_info.py23将数据库中的群名片 JSON 转换为 `Person` 内部使用的结构。 Args: group_cardname_json: 数据库存储的群名片 JSON 字符串。 Returns: lSTRING
HIGHsrc/chat/message_receive/chat_manager.py104获取会话,如果不存在则创建一个新会话;一个封装方法。 Args: platform: 平台 user_id: 用户ID group_id: 群ID(如STRING
HIGHsrc/chat/image_system/image_manager.py87 获取图片描述的封装方法 如果图片已存在于数据库中,则直接返回描述 如果不存在,则**保存图片**并**生成描述**后返回 Args: imageSTRING
HIGHsrc/chat/image_system/image_manager.py396 保存图片并生成描述 Args: image_bytes (bytes): 图片的字节数据 Returns: return (MaiImageSTRING
HIGHsrc/A_memorix/core/storage/graph_store.py181 添加节点 Args: nodes: 节点名称列表 attributes: 节点属性字典 {node_name: {attr: value}} STRING
HIGHsrc/emoji_system/emoji_manager.py308 根据表情包哈希获取表情包描述和情感列表的封装方法 Args: emoji_bytes (Optional[bytes]): 表情包的字节数据,如果提供了字节数据但数据库中没有找到对STRING
HIGHsrc/platform_io/dedupe.py62标记一条去重键已经出现过。 Args: dedupe_key: 能稳定标识一条外部入站消息的去重键。 Returns: bool: 若该键在当前 TTL 窗STRING
HIGHsrc/platform_io/outbound_tracker.py120开始跟踪一次出站投递。 Args: internal_message_id: 正在投递的内部消息 ID。 route_key: 这次出站投递选择的路由键。 STRING
HIGHsrc/platform_io/route_key_factory.py70从消息字典中提取 ``RouteKey``。 Args: message_dict: Host 与插件之间传输的消息字典。 Returns: RouteKeSTRING
HIGHsrc/platform_io/manager.py145从运行中的 Broker 停止并移除一个驱动。 如果 Broker 尚未启动,则该方法等价于 ``unregister_driver()``。 Args: driver_id: 要STRING
HIGHsrc/platform_io/manager.py255从 Broker 注销一个驱动。 Args: driver_id: 要移除的驱动 ID。 Returns: Optional[PlatformIODriveSTRING
HIGHsrc/platform_io/manager.py573构造用于入站抑制的去重键。 Args: envelope: 当前正在处理的入站封装。 Returns: Optional[str]: 若可以构造稳定去重键则STRING
HIGHsrc/common/data_models/person_info_data_model.py35解析数据库中的群名片 JSON 字段。 Args: group_cardname_json: 数据库存储的群名片 JSON 字符串。 Returns: Optional[List[GrouSTRING
HIGHsrc/common/database/database.py159 获取数据库会话的上下文管理器 (推荐使用,自动提交)。 Examples: ---- .. code-block:: python # 方式1: 自动提交 (推荐 - 默认行为) STRING
HIGHsrc/common/utils/utils_image.py79 将GIF图片水平拼接为静态图像,跳过相似帧 Args: gif_bytes (bytes): 输入的GIF图片字节数据 similarity_threshoSTRING
HIGHsrc/common/utils/utils_image.py217 将图片字节数据转换为Base64编码字符串 Args: image_bytes (bytes): 输入的图片字节数据 Returns: stSTRING
HIGHsrc/common/utils/utils_session.py16计算session_id Args: platform: 平台名称 user_id: 用户ID(如果是私聊) group_id: 群ID(如果是群聊)STRING
HIGHsrc/plugin_runtime/local_sdk.py20解析并校验环境变量指定的本地 SDK 路径。 Args: environ: 环境变量映射;留空时读取 ``os.environ``。 project_root: 相对路径解析基准;留空时使用当前工作STRING
HIGHsrc/plugin_runtime/integration.py995请求运行时按插件自身配置模型校验配置。 Args: plugin_id: 目标插件 ID。 config_data: 待校验的配置内容。 Returns: STRING
HIGHsrc/plugin_runtime/integration.py1038请求运行时解析插件配置元数据。 Args: plugin_id: 目标插件 ID。 config_data: 可选的配置内容。 use_provideSTRING
HIGHsrc/plugin_runtime/hook_payloads.py28从 Hook 载荷恢复会话消息。 Args: raw_message: Hook 返回的消息字典。 Returns: SessionMessage: 恢复后的会话消息对象。 RaSTRING
HIGHsrc/plugin_runtime/hook_payloads.py72从 Hook 载荷恢复工具调用列表。 Args: raw_tool_calls: Hook 返回的工具调用列表。 Returns: List[ToolCall]: 恢复后的工具调用列表。 STRING
HIGHsrc/plugin_runtime/hook_payloads.py143从 Hook 载荷恢复 LLM 消息列表。 Args: raw_messages: Hook 返回的消息列表。 Returns: List[Message]: 恢复后的 LLM 消息列表。STRING
HIGHsrc/plugin_runtime/host/message_gateway.py28将标准消息字典转换为 ``SessionMessage``。 Args: external_message: 外部消息的字典格式数据。 Returns: SSTRING
HIGHsrc/plugin_runtime/host/component_registry.py283规范化 Hook 异常处理策略。 Args: raw_value: 原始异常处理策略值。 Returns: str: 规范化后的异常处理策略。 STRING
HIGHsrc/plugin_runtime/host/component_registry.py303规范化命名 Hook 名称。 Args: raw_value: 原始 Hook 名称。 Returns: str: 去空白后的 Hook 名称。 STRING
HIGHsrc/plugin_runtime/host/component_registry.py322规范化 Hook 处理模式。 Args: raw_value: 原始模式值。 Returns: str: 规范化后的模式。 Raises:STRING
HIGHsrc/plugin_runtime/host/component_registry.py342规范化 Hook 顺序槽位。 Args: raw_value: 原始顺序值。 Returns: str: 规范化后的顺序槽位。 RaiseSTRING
HIGHsrc/plugin_runtime/host/component_registry.py362规范化 Hook 超时配置。 Args: raw_value: 原始超时值。 Returns: int: 规范化后的超时毫秒数。 RaisSTRING
HIGHsrc/plugin_runtime/host/component_registry.py416规范化消息网关路由类型。 Args: raw_value: 原始路由类型值。 Returns: str: 规范化后的路由类型。 RaiseSTRING
HIGHsrc/plugin_runtime/host/component_registry.py563规范化组件类型输入。 Args: component_type: 原始组件类型字符串。 Returns: ComponentTypes: 规范化后的组件类型STRING
HIGHsrc/plugin_runtime/host/component_registry.py655根据声明构造组件条目。 Args: name: 组件名称。 component_type: 组件类型。 plugin_id: 插件 ID。 STRING
HIGHsrc/plugin_runtime/host/component_registry.py798注册单个组件。 Args: name: 组件名称(不含插件 ID 前缀)。 component_type: 组件类型(如 ``ACTION``、``COMMAND`` 等)。STRING
HIGHsrc/plugin_runtime/host/component_registry.py825批量替换一个插件的组件集合。 该方法会先完整校验所有组件声明,只有全部通过后才会替换旧组件, 从而避免插件进入半注册状态。 Args: plugin_id: 插件 STRING
HIGHsrc/plugin_runtime/host/supervisor.py764请求 Runner 使用插件自身配置模型校验配置。 Args: plugin_id: 目标插件 ID。 config_data: 待校验的配置内容。 RetSTRING
HIGHsrc/plugin_runtime/host/supervisor.py804请求 Runner 解析插件配置元数据。 Args: plugin_id: 目标插件 ID。 config_data: 可选的配置内容。 use_prSTRING
HIGHsrc/plugin_runtime/host/supervisor.py888等待 Runner 完成启动初始化。 Args: timeout_sec: 超时时间,单位秒。 Returns: RunnerReadyPayload: RSTRING
HIGHsrc/plugin_runtime/host/supervisor.py1297根据消息网关运行时状态构造路由键。 Args: gateway_entry: 消息网关组件条目。 payload: 网关上报的运行时状态。 Returns:STRING
HIGHsrc/plugin_runtime/host/hook_dispatcher.py375规范化命名 Hook 名称。 Args: hook_name: 原始 Hook 名称。 Returns: str: 规范化后的 Hook 名称。 STRING
HIGHsrc/plugin_runtime/host/hook_spec_registry.py45规范化 Hook 名称。 Args: hook_name: 原始 Hook 名称。 Returns: str: 规范化后的 Hook 名称。 STRING
HIGHsrc/plugin_runtime/host/hook_spec_registry.py64规范化 Hook 参数模型。 Args: raw_schema: 原始参数模型。 Returns: Dict[str, Any]: 规范化后的对象级 JSOSTRING
HIGHsrc/plugin_runtime/host/rpc_server.py184向 Runner 发送 RPC 请求并等待响应 Args: method: RPC 方法名 plugin_id: 目标插件 ID payload: 请STRING
HIGHsrc/plugin_runtime/capabilities/core.py39校验并规范化插件传入的提示参数。 Args: prompt: 原始提示参数。 Returns: str | List[Dict[str, Any]]: 规范化后的提示输入。 RaSTRING
HIGHsrc/plugin_runtime/runner/runner_main.py273提取插件配置中的版本号。 Args: config_data: 插件配置字典。 Returns: str: ``plugin.config_version`` 的规范化字符串值。 STRING
HIGHsrc/plugin_runtime/runner/runner_main.py977基于配置版本决定是否需要重建插件配置。 Args: raw_config: 当前磁盘上的插件配置。 default_config: 插件最新默认配置。 ReSTRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py201校验作者名称。 Args: value: 原始作者名称。 Returns: str: 规范化后的作者名称。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py219校验作者主页地址。 Args: value: 原始主页地址。 Returns: str: 规范化后的主页地址。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py248校验仓库地址。 Args: value: 原始仓库地址。 Returns: str: 规范化后的仓库地址。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py268校验可选链接字段。 Args: value: 原始链接值。 Returns: Optional[str]: 合法的链接值。 Raises:STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py297校验版本号格式。 Args: value: 原始版本号。 Returns: str: 合法的版本号。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py337校验默认语言。 Args: value: 原始默认语言。 Returns: str: 规范化后的默认语言。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py355校验语言资源目录。 Args: value: 原始语言资源目录。 Returns: Optional[str]: 合法的目录值。 RaisSTRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py375校验支持语言列表。 Args: value: 原始语言列表。 Returns: List[str]: 去重后的语言列表。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py420校验依赖插件 ID。 Args: value: 原始依赖插件 ID。 Returns: str: 合法的依赖插件 ID。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py438校验插件依赖版本约束。 Args: value: 原始版本约束表达式。 Returns: str: 合法的版本约束表达式。 Raises:STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py468校验 Python 包名。 Args: value: 原始包名。 Returns: str: 合法的包名。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py486校验 Python 包版本约束。 Args: value: 原始版本约束表达式。 Returns: str: 合法的版本约束表达式。 RaSTRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py521校验客户端类型标识。 Args: value: 原始客户端类型标识。 Returns: str: 合法的客户端类型标识。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py642校验插件版本号格式。 Args: value: 原始插件版本号。 Returns: str: 合法的插件版本号。 Raises: STRING
HIGHsrc/plugin_runtime/runner/manifest_validator.py660校验必填字符串字段。 Args: value: 原始字段值。 info: Pydantic 字段上下文。 Returns: str:STRING
45 more matches not shown…
Unused Imports427 hits · 389 pts
SeverityFileLineSnippetContext
LOWscripts/i18n_validate.py1CODE
LOWscripts/analyze_tool_usage_by_chat.py1CODE
LOWscripts/evaluate_bot_phrase_regex_capture.py1CODE
LOWscripts/i18n_extract_candidates.py1CODE
LOWscripts/run_a_memorix_webui_backend.py1CODE
LOWscripts/analyze_maisaka_prompt_sections.py1CODE
LOWscripts/expression_selection/vector_index_tools.py9CODE
LOWscripts/expression_selection/llm_judge.py7CODE
LOWscripts/expression_selection/offline_runner.py9CODE
LOWscripts/expression_selection/offline_runner.py19CODE
LOW.github/scripts/update_dashboard_dependency.py1CODE
LOW…s/A_memorix_test/test_dual_pool_compatibility_edges.py1CODE
LOW…emorix_test/test_chat_summary_writeback_integration.py1CODE
LOW…ests/A_memorix_test/test_dual_vector_pool_retrieval.py1CODE
LOW…sts/A_memorix_test/test_embedding_dimension_control.py1CODE
LOW…ests/A_memorix_test/test_memory_graph_search_kernel.py1CODE
LOWpytests/A_memorix_test/test_graph_store_persistence.py1CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py1CODE
LOW…_memorix_test/test_group_chat_stream_fixture_schema.py1CODE
LOWpytests/A_memorix_test/test_vector_rebuild_runtime.py1CODE
LOWpytests/prompt_test/test_prompt_i18n.py1CODE
LOWpytests/i18n_test/test_i18n_validate.py1CODE
LOWpytests/i18n_test/test_i18n.py1CODE
LOWpytests/webui/test_memory_routes_integration.py1CODE
LOWpytests/webui/test_memory_routes_integration.py14CODE
LOWsrc/__init__.py1CODE
LOWsrc/maisaka/idle_backoff.py11CODE
LOWsrc/maisaka/turn_gates.py18CODE
LOWsrc/maisaka/turn_scheduler.py12CODE
LOWsrc/maisaka/reply_effect/scoring.py3CODE
LOWsrc/maisaka/reply_effect/__init__.py3CODE
LOWsrc/maisaka/reply_effect/judge.py3CODE
LOWsrc/maisaka/memory/heuristic_injector.py3CODE
LOWsrc/maisaka/memory/person_profile.py3CODE
LOWsrc/maisaka/utils/tool_record_payload.py3CODE
LOWsrc/maisaka/utils/tool_post_execution.py3CODE
LOWsrc/maisaka/focus/__init__.py3CODE
LOWsrc/maisaka/focus/__init__.py3CODE
LOWsrc/maisaka/focus/__init__.py4CODE
LOWsrc/maisaka/focus/manager.py3CODE
LOWsrc/maisaka/display/preview_path_utils.py3CODE
LOWsrc/maisaka/display/prompt_cli_renderer.py3CODE
LOWsrc/maisaka/display/__init__.py3CODE
LOWsrc/maisaka/display/__init__.py3CODE
LOWsrc/maisaka/display/__init__.py3CODE
LOWsrc/maisaka/display/__init__.py3CODE
LOWsrc/maisaka/display/__init__.py9CODE
LOWsrc/maisaka/display/__init__.py10CODE
LOWsrc/maisaka/display/__init__.py11CODE
LOWsrc/maisaka/display/__init__.py11CODE
LOWsrc/maisaka/display/runtime_mixin.py3CODE
LOWsrc/maisaka/display/prompt_preview_logger.py3CODE
LOWsrc/maisaka/builtin_tool/provider.py3CODE
LOWsrc/maisaka/builtin_tool/query_person_profile.py3CODE
LOWsrc/maisaka/builtin_tool/query_memory.py3CODE
LOWsrc/core/tooling.py7CODE
LOWsrc/chat/__init__.py6CODE
LOWsrc/chat/__init__.py7CODE
LOWsrc/chat/event_helpers.py14CODE
LOWsrc/chat/event_helpers.py15CODE
367 more matches not shown…
Decorative Section Separators83 hits · 270 pts
SeverityFileLineSnippetContext
MEDIUM.devcontainer/setup-dood-override.sh2# ============================================================================COMMENT
MEDIUM.devcontainer/setup-dood-override.sh4# ============================================================================COMMENT
MEDIUM.devcontainer/setup-dood-override.sh16# ============================================================================COMMENT
MEDIUMdashboard/electron/main/index.ts48 // ── Window control ───────────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/main/index.ts57 // ── Backend CRUD ─────────────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/main/index.ts70 // ── App state ────────────────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/preload/index.ts12 // ── Platform detection ──────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/preload/index.ts15 // ── Window control ──────────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/preload/index.ts21 // ── Window event listeners ───────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/preload/index.ts33 // ── Backend CRUD ─────────────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/preload/index.ts44 // ── App state ───────────────────────────────────────────────────────────COMMENT
MEDIUMdashboard/electron/preload/index.ts50 // ── Backend event listener ──────────────────────────────────────────────COMMENT
MEDIUMdashboard/src/lib/maisaka-monitor-client.ts10// ─── 事件数据类型 ───────────────────────────────────────────────COMMENT
MEDIUMdashboard/src/lib/maisaka-monitor-client.ts276// ─── 统一事件联合类型 ─────────────────────────────────────────COMMENT
MEDIUMdashboard/src/lib/maisaka-monitor-client.ts298// ─── 客户端 ───────────────────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx61// ─── 工具函数 ──────────────────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx199// ─── 会话侧边栏 ──────────────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx276// ─── 单条时间线事件渲染 ──────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx1013// ─── 可折叠文本组件 ────────────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx1067// ─── 回复器响应卡片 ──────────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx1114// ─── 时间线入口渲染器 ──────────────────────────────────────────COMMENT
MEDIUMdashboard/src/routes/monitor/maisaka-monitor.tsx1155// ─── 主组件 ─────────────────────────────────────────────────COMMENT
MEDIUMscripts/run_lpmm.sh3# ==============================================COMMENT
MEDIUMscripts/run_lpmm.sh5# ==============================================COMMENT
MEDIUMscripts/run_lpmm.sh33# ==============================================COMMENT
MEDIUMscripts/run_lpmm.sh35# ==============================================COMMENT
MEDIUMpytests/config_test/test_config_base.py125 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py127 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py356 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py358 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py485 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py487 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py513 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py515 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py9# -------------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py11# -------------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py47 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py49 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py149 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py151 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py230 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py232 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py300 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py302 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py402 # ---------------------------------------------------------COMMENT
MEDIUMpytests/config_test/test_config_base.py404 # ---------------------------------------------------------COMMENT
MEDIUMsrc/A_memorix/requirements.txt4# ==================COMMENT
MEDIUMsrc/A_memorix/requirements.txt28# ==================COMMENT
MEDIUMsrc/A_memorix/requirements.txt41# ==================COMMENT
MEDIUMsrc/A_memorix/core/storage/metadata_store.py6212 # =========================================================================COMMENT
MEDIUMsrc/A_memorix/core/storage/metadata_store.py6214 # =========================================================================COMMENT
MEDIUMsrc/A_memorix/core/storage/metadata_store.py5544 # =========================================================================COMMENT
MEDIUMsrc/A_memorix/core/storage/metadata_store.py5546 # =========================================================================COMMENT
MEDIUMsrc/A_memorix/core/storage/metadata_store.py5099 # =========================================================================STRING
MEDIUMsrc/A_memorix/core/storage/metadata_store.py5101 # =========================================================================STRING
MEDIUMsrc/A_memorix/core/storage/metadata_store.py5888 # =========================================================================STRING
MEDIUMsrc/A_memorix/core/storage/metadata_store.py5890 # =========================================================================STRING
MEDIUMsrc/A_memorix/core/storage/graph_store.py1018 # =========================================================================COMMENT
MEDIUMsrc/A_memorix/core/storage/graph_store.py1020 # =========================================================================COMMENT
MEDIUMsrc/common/message_server/api.py46 # ---------------------------------------------------------------------COMMENT
23 more matches not shown…
Deep Nesting297 hits · 224 pts
SeverityFileLineSnippetContext
LOWbot.py79CODE
LOWbot.py212CODE
LOWscripts/mmipkg_tool.py118CODE
LOWscripts/mmipkg_tool.py736CODE
LOWscripts/mmipkg_tool.py766CODE
LOWscripts/mmipkg_tool.py789CODE
LOWscripts/mmipkg_tool.py947CODE
LOWscripts/mmipkg_tool.py1076CODE
LOWscripts/mmipkg_tool.py176CODE
LOWscripts/mmipkg_tool.py324CODE
LOWscripts/mmipkg_tool.py441CODE
LOWscripts/mmipkg_tool.py578CODE
LOWscripts/test_model_tool_call_params.py260CODE
LOWscripts/test_model_tool_call_params.py384CODE
LOWscripts/test_tool_call_api_matrix.py355CODE
LOWscripts/evaluate_bot_phrase_regex_capture.py256CODE
LOWscripts/evaluate_bot_phrase_regex_capture.py439CODE
LOWscripts/evaluate_bot_phrase_regex_capture.py459CODE
LOWscripts/cleanup_behavior_generic_tags.py219CODE
LOW.github/scripts/update_dashboard_dependency.py92CODE
LOWpytests/A_memorix_test/test_maibot_migration_script.py332CODE
LOWsrc/person_info/person_info.py99CODE
LOWsrc/person_info/person_info.py404CODE
LOWsrc/maisaka/reply_necessity.py136CODE
LOWsrc/maisaka/monitor/events.py49CODE
LOWsrc/maisaka/context/post_processor.py101CODE
LOWsrc/maisaka/context/messages.py146CODE
LOWsrc/maisaka/memory/heuristic_injector.py324CODE
LOWsrc/maisaka/memory/person_profile.py144CODE
LOWsrc/maisaka/visual/chat_history_refresher.py220CODE
LOWsrc/maisaka/visual/chat_history_refresher.py265CODE
LOWsrc/maisaka/visual/chat_history_refresher.py285CODE
LOWsrc/core/config_types.py79CODE
LOWsrc/core/types.py235CODE
LOWsrc/core/types.py288CODE
LOWsrc/core/tooling.py358CODE
LOWsrc/chat/event_helpers.py48CODE
LOWsrc/chat/utils/typo_generator.py46CODE
LOWsrc/chat/utils/typo_generator.py231CODE
LOWsrc/chat/utils/typo_generator.py288CODE
LOWsrc/chat/utils/utils.py143CODE
LOWsrc/chat/utils/utils.py274CODE
LOWsrc/chat/utils/utils.py476CODE
LOWsrc/chat/utils/utils.py517CODE
LOWsrc/chat/utils/utils.py728CODE
LOWsrc/chat/utils/utils.py764CODE
LOWsrc/chat/utils/utils.py179CODE
LOWsrc/chat/utils/statistic.py230CODE
LOWsrc/chat/utils/statistic.py649CODE
LOWsrc/chat/utils/statistic.py831CODE
LOWsrc/chat/utils/statistic.py871CODE
LOWsrc/chat/utils/statistic.py925CODE
LOWsrc/chat/utils/statistic.py2204CODE
LOWsrc/chat/message_receive/uni_message_sender.py60CODE
LOWsrc/chat/message_receive/message.py183CODE
LOWsrc/chat/message_receive/message.py359CODE
LOWsrc/chat/message_receive/message.py421CODE
LOWsrc/chat/message_receive/chat_manager.py96CODE
LOWsrc/chat/message_receive/chat_manager.py321CODE
LOWsrc/chat/image_system/image_cache_cleanup.py100CODE
237 more matches not shown…
Fake / Example Data66 hits · 86 pts
SeverityFileLineSnippetContext
LOWdashboard/src/i18n/locales/zh.json88 "placeholder": "输入消息...",CODE
LOWdashboard/src/i18n/locales/zh.json614 "placeholder": "请输入一个安全且容易保存的 Token",CODE
LOWdashboard/src/i18n/locales/zh.json623 "placeholder": "请选择平台",CODE
LOWdashboard/src/i18n/locales/zh.json631 "placeholder": "请输入平台名称,如 matrix"CODE
LOWdashboard/src/i18n/locales/zh.json635 "placeholder": "请输入机器人的 QQ 账号",CODE
LOWdashboard/src/i18n/locales/zh.json640 "placeholder": "请输入机器人的账号 ID",CODE
LOWdashboard/src/i18n/locales/zh.json645 "placeholder": "请输入机器人的昵称",CODE
LOWdashboard/src/i18n/locales/zh.json650 "placeholder": "输入别名后按回车添加",CODE
LOWdashboard/src/i18n/locales/zh.json659 "placeholder": "描述机器人的人格特质和身份特征(建议 120 字以内)",CODE
LOWdashboard/src/i18n/locales/zh.json664 "placeholder": "描述机器人说话的表达风格、表达习惯",CODE
LOWdashboard/src/i18n/locales/zh.json669 "placeholder": "每行输入一种备用表达风格",CODE
LOWdashboard/src/i18n/locales/zh.json704 "placeholder": "例如:符合公序良俗",CODE
LOWdashboard/src/i18n/locales/zh.json717 "placeholder": "例如 OpenAI、DeepSeek、自建服务",CODE
LOWdashboard/src/i18n/locales/zh.json799 "placeholder": "搜索页面...",CODE
LOWdashboard/src/i18n/locales/ja.json88 "placeholder": "メッセージを入力...",CODE
LOWdashboard/src/i18n/locales/ja.json614 "placeholder": "安全に保管できる Token を入力してください",CODE
LOWdashboard/src/i18n/locales/ja.json623 "placeholder": "プラットフォームを選択",CODE
LOWdashboard/src/i18n/locales/ja.json631 "placeholder": "matrix などのプラットフォーム名を入力"CODE
LOWdashboard/src/i18n/locales/ja.json635 "placeholder": "ボットの QQ アカウントを入力",CODE
LOWdashboard/src/i18n/locales/ja.json640 "placeholder": "ボットのアカウント ID を入力",CODE
LOWdashboard/src/i18n/locales/ja.json645 "placeholder": "ボットのニックネームを入力",CODE
LOWdashboard/src/i18n/locales/ja.json650 "placeholder": "別名を入力して Enter で追加",CODE
LOWdashboard/src/i18n/locales/ja.json659 "placeholder": "ボットの人格や設定を説明してください(120文字以内推奨)",CODE
LOWdashboard/src/i18n/locales/ja.json664 "placeholder": "ボットの話し方や表現の癖を説明してください",CODE
LOWdashboard/src/i18n/locales/ja.json669 "placeholder": "1行につき1つの代替返信スタイルを入力",CODE
LOWdashboard/src/i18n/locales/ja.json704 "placeholder": "例:公序良俗に反しないこと",CODE
LOWdashboard/src/i18n/locales/ja.json717 "placeholder": "例: OpenAI、DeepSeek、自ホストサービス",CODE
LOWdashboard/src/i18n/locales/ja.json799 "placeholder": "ページを検索...",CODE
LOWdashboard/src/i18n/locales/en.json88 "placeholder": "Type a message...",CODE
LOWdashboard/src/i18n/locales/en.json614 "placeholder": "Enter a secure token you can store safely",CODE
LOWdashboard/src/i18n/locales/en.json623 "placeholder": "Select a platform",CODE
LOWdashboard/src/i18n/locales/en.json631 "placeholder": "Enter a platform name, such as matrix"CODE
LOWdashboard/src/i18n/locales/en.json635 "placeholder": "Enter the bot's QQ account",CODE
LOWdashboard/src/i18n/locales/en.json640 "placeholder": "Enter the bot's account ID",CODE
LOWdashboard/src/i18n/locales/en.json645 "placeholder": "Enter the bot's nickname",CODE
LOWdashboard/src/i18n/locales/en.json650 "placeholder": "Type an alias and press Enter to add it",CODE
LOWdashboard/src/i18n/locales/en.json659 "placeholder": "Describe the bot's personality and identity traits (recommended within 120 characters)",CODE
LOWdashboard/src/i18n/locales/en.json664 "placeholder": "Describe how the bot speaks and expresses itself",CODE
LOWdashboard/src/i18n/locales/en.json669 "placeholder": "Enter one alternate reply style per line",CODE
LOWdashboard/src/i18n/locales/en.json704 "placeholder": "For example: appropriate and safe for general audiences",CODE
LOWdashboard/src/i18n/locales/en.json717 "placeholder": "For example OpenAI, DeepSeek, or self-hosted",CODE
LOWdashboard/src/i18n/locales/en.json799 "placeholder": "Search pages...",CODE
LOWdashboard/src/i18n/locales/ko.json86 "placeholder": "메시지 입력...",CODE
LOWdashboard/src/i18n/locales/ko.json606 "placeholder": "안전하게 보관할 수 있는 Token을 입력하세요",CODE
LOWdashboard/src/i18n/locales/ko.json615 "placeholder": "플랫폼 선택",CODE
LOWdashboard/src/i18n/locales/ko.json623 "placeholder": "예: matrix 와 같은 플랫폼 이름 입력"CODE
LOWdashboard/src/i18n/locales/ko.json627 "placeholder": "봇의 QQ 계정을 입력하세요",CODE
LOWdashboard/src/i18n/locales/ko.json632 "placeholder": "봇의 계정 ID를 입력하세요",CODE
LOWdashboard/src/i18n/locales/ko.json637 "placeholder": "봇의 닉네임을 입력하세요",CODE
LOWdashboard/src/i18n/locales/ko.json642 "placeholder": "별칭을 입력하고 Enter 로 추가",CODE
LOWdashboard/src/i18n/locales/ko.json651 "placeholder": "봇의 성격과 설정을 설명해 주세요 (권장 120자 이내)",CODE
LOWdashboard/src/i18n/locales/ko.json656 "placeholder": "봇이 말하는 방식과 표현 습관을 설명해 주세요",CODE
LOWdashboard/src/i18n/locales/ko.json661 "placeholder": "한 줄에 하나씩 대체 답변 스타일을 입력하세요",CODE
LOWdashboard/src/i18n/locales/ko.json696 "placeholder": "예: 공공질서와 미풍양속에 어긋나지 않음",CODE
LOWdashboard/src/i18n/locales/ko.json709 "placeholder": "예: OpenAI, DeepSeek, 자체 호스팅",CODE
LOWdashboard/src/i18n/locales/ko.json791 "placeholder": "페이지 검색...",CODE
LOWdashboard/src/routes/plugin-config.tsx155 resolveLocalizedText(field.placeholder, language, '', field.i18n, 'placeholder') ||CODE
LOWdashboard/src/routes/plugin-config.tsx173 'placeholder'CODE
LOWsrc/core/config_types.py129 "placeholder": self.placeholder,CODE
LOWsrc/A_memorix/config_schema.json116 "placeholder": "auto",CODE
6 more matches not shown…
Cross-Language Confusion10 hits · 72 pts
SeverityFileLineSnippetContext
HIGHsrc/chat/utils/statistic.py2505 datasets.push({{CODE
HIGHsrc/A_memorix/core/utils/web_import_manager.py3816 "event_time": null,CODE
HIGHsrc/A_memorix/core/utils/web_import_manager.py3817 "event_time_start": null,CODE
HIGHsrc/A_memorix/core/utils/web_import_manager.py3818 "event_time_end": null,CODE
HIGHsrc/A_memorix/core/utils/web_import_manager.py3819 "time_range": null,CODE
HIGHsrc/A_memorix/core/utils/web_import_manager.py3820 "time_granularity": null,CODE
HIGHsrc/A_memorix/scripts/process_knowledge.py326 "event_time": null,CODE
HIGHsrc/A_memorix/scripts/process_knowledge.py327 "event_time_start": null,CODE
HIGHsrc/A_memorix/scripts/process_knowledge.py328 "event_time_end": null,CODE
HIGHsrc/A_memorix/scripts/process_knowledge.py329 "time_range": null,CODE
Modern Structural Boilerplate79 hits · 72 pts
SeverityFileLineSnippetContext
LOWsrc/maisaka/chat_loop_service.py762 def set_extra_tools(self, tools: Sequence[ToolDefinitionInput]) -> None:CODE
LOWsrc/maisaka/chat_loop_service.py771 def set_tool_registry(self, tool_registry: ToolRegistry | None) -> None:CODE
LOWsrc/maisaka/chat_loop_service.py780 def set_interrupt_flag(self, interrupt_flag: asyncio.Event | None) -> None:CODE
LOWsrc/maisaka/runtime.py1434 def set_current_action_tool_names(self, tool_names: Sequence[str]) -> None:CODE
LOWsrc/maisaka/runtime.py1445 def update_deferred_tool_specs(self, deferred_tool_specs: Sequence[ToolSpec]) -> None:CODE
LOWsrc/maisaka/runtime.py281 def _update_stage_status(self, stage: str, detail: str = "", *, round_text: str = "") -> None:CODE
LOWsrc/maisaka/runtime.py1180 def _update_message_trigger_state(self, message: SessionMessage) -> None:CODE
LOWsrc/maisaka/reply_effect/__init__.py5__all__ = ["ReplyEffectTracker"]CODE
LOWsrc/maisaka/focus/__init__.py6__all__ = [CODE
LOWsrc/maisaka/display/__init__.py16__all__ = [CODE
LOWsrc/chat/__init__.py10__all__ = [CODE
LOWsrc/chat/message_receive/__init__.py5__all__ = ["chat_manager", "emoji_manager"]CODE
LOWsrc/chat/replyer/maisaka_expression_selector.py560 def _update_last_active_time(self, selected_ids: List[int]) -> None:CODE
LOWsrc/A_memorix/__init__.py5__all__ = ["__version__"]CODE
LOWsrc/A_memorix/plugin.py35 def set_plugin_config(self, config: Dict[str, Any]) -> None:CODE
LOWsrc/A_memorix/runtime_registry.py8def set_runtime_kernel(kernel: Any | None) -> None:CODE
LOWsrc/A_memorix/core/__init__.py48__all__ = [CODE
LOWsrc/A_memorix/core/embedding/__init__.py11__all__ = [CODE
LOWsrc/A_memorix/core/runtime/lifecycle_orchestrator.py49def _set_runtime_vector_pools_ready(plugin: Any, ready: bool) -> None:CODE
LOWsrc/A_memorix/core/runtime/__init__.py9__all__ = [CODE
LOWsrc/A_memorix/core/runtime/sdk_memory_kernel.py271 def _set_cfg(self, key: str, value: Any) -> None:CODE
LOWsrc/A_memorix/core/runtime/sdk_memory_kernel.py1028 def _set_embedding_degraded(self, *, active: bool, reason: str = "", checked_at: Optional[float] = None) -> None:CODE
LOWsrc/A_memorix/core/runtime/sdk_memory_kernel.py3130 def _update_dual_vector_auto_migration_stage(self, stage: str, **progress: Any) -> None:STRING
LOWsrc/A_memorix/core/utils/__init__.py17__all__ = [CODE
LOWsrc/A_memorix/core/utils/web_import_manager.py410 def set_write_changed_callback(self, callback: Optional[Callable[[Dict[str, Any]], Any]]) -> None:CODE
LOWsrc/A_memorix/core/utils/web_import_manager.py3889 async def _set_file_strategy(self, task_id: str, file_id: str, strategy: Any) -> None:STRING
LOWsrc/A_memorix/core/utils/web_import_manager.py3942 async def _set_file_state(self, task_id: str, file_id: str, status: str, step: str) -> None:STRING
LOWsrc/A_memorix/core/utils/web_import_manager.py3982 async def _set_file_failed(self, task_id: str, file_id: str, error: str) -> None:STRING
LOWsrc/A_memorix/core/utils/web_import_manager.py3997 async def _set_file_cancelled(self, task_id: str, file_id: str, reason: str) -> None:STRING
LOWsrc/A_memorix/core/utils/web_import_manager.py4061 async def _set_chunk_completed(self, task_id: str, file_id: str, chunk_id: str) -> None:STRING
LOWsrc/A_memorix/core/utils/web_import_manager.py4083 async def _set_chunk_failed(self, task_id: str, file_id: str, chunk_id: str, error: str) -> None:STRING
LOWsrc/A_memorix/core/utils/web_import_manager.py4113 async def _set_chunk_cancelled(self, task_id: str, file_id: str, chunk_id: str, reason: str) -> None:STRING
LOWsrc/A_memorix/core/storage/metadata_store.py4952 def set_schema_version(self, version: int = SCHEMA_VERSION) -> None:CODE
LOWsrc/A_memorix/core/storage/metadata_store.py5084 def update_relation_timestamp(self, hash_value: str, access_count_delta: int = 1) -> None:CODE
LOWsrc/A_memorix/core/storage/__init__.py29__all__ = [CODE
LOWsrc/A_memorix/core/retrieval/dual_path.py350 def set_runtime_sparse_only(self, enabled: bool) -> None:CODE
LOWsrc/A_memorix/core/retrieval/__init__.py36__all__ = [CODE
LOWsrc/A_memorix/scripts/import_lpmm_json.py147 def update_progress(step: int = 1) -> None:CODE
LOWsrc/A_memorix/scripts/migrate_maibot_memory.py414def _set_nested_dict_value(target: Dict[str, Any], dotted_key: str, value: Dict[str, Any]) -> None:CODE
LOWsrc/config/config_base.py11__all__ = ["ConfigBase", "Field", "AttributeData"]CODE
LOWsrc/platform_io/__init__.py22__all__ = [CODE
LOWsrc/platform_io/adapter_policy.py418 def _set_or_remove_id_list(policy: Table, key: str, ids: List[str]) -> None:CODE
LOWsrc/platform_io/manager.py207 def set_inbound_dispatcher(self, dispatcher: InboundDispatcher) -> None:CODE
LOWsrc/platform_io/drivers/__init__.py7__all__ = [CODE
LOWsrc/platform_io/drivers/base.py48 def set_inbound_handler(self, handler: InboundHandler) -> None:CODE
LOWsrc/common/runtime_loop.py12def set_main_loop(loop: Optional[asyncio.AbstractEventLoop]) -> None:CODE
LOWsrc/common/data_models/planned_action_data_models.py100__all__ = ["PlannedAction", "PlanningContext", "PlanningResult"]CODE
LOWsrc/common/data_models/embedding_service_data_models.py17__all__ = [CODE
LOWsrc/common/data_models/llm_service_data_models.py190__all__ = [CODE
LOWsrc/common/data_models/reply_generation_data_models.py258__all__ = [CODE
LOWsrc/common/data_models/image_data_model.py42 def _set_full_path(self, full_path: Path) -> None:CODE
LOWsrc/common/i18n/__init__.py59__all__ = [CODE
LOWsrc/common/message_server/__init__.py19__all__ = ["get_global_api"]CODE
LOWsrc/plugin_runtime/host/supervisor.py253 def set_external_available_plugins(self, plugin_versions: Dict[str, str]) -> None:CODE
LOWsrc/plugin_runtime/host/supervisor.py348 def set_blocked_plugin_reasons(self, blocked_plugin_reasons: Dict[str, str]) -> None:CODE
LOWsrc/plugin_runtime/capabilities/__init__.py6__all__ = [CODE
LOWsrc/plugin_runtime/capabilities/components.py612 def _set_nested_plugin_config_value(config_data: Dict[str, Any], key: str, value: Any) -> None:CODE
LOWsrc/plugin_runtime/runner/plugin_loader.py92 def set_blocked_plugin_reasons(self, blocked_plugin_reasons: Optional[Dict[str, str]] = None) -> None:CODE
LOWsrc/plugin_runtime/runner/plugin_loader.py294 def set_loaded_plugin(self, meta: PluginMeta) -> None:CODE
LOWsrc/plugin_runtime/runner/runner_main.py98 def _set_context(self, context: Any) -> None:CODE
19 more matches not shown…
AI Structural Patterns42 hits · 30 pts
SeverityFileLineSnippetContext
LOWsrc/maisaka/display/runtime_mixin.py34CODE
LOWsrc/maisaka/display/runtime_mixin.py309CODE
LOWsrc/core/tooling.py94CODE
LOWsrc/chat/message_receive/chat_manager.py37CODE
LOWsrc/chat/replyer/maisaka_generator_base.py891CODE
LOWsrc/A_memorix/plugin.py91CODE
LOWsrc/A_memorix/plugin.py171CODE
LOWsrc/A_memorix/core/runtime/sdk_memory_kernel.py2405CODE
LOWsrc/A_memorix/core/runtime/sdk_memory_kernel.py2467CODE
LOWsrc/A_memorix/core/runtime/sdk_memory_kernel.py9790CODE
LOWsrc/A_memorix/core/utils/person_profile_service.py51CODE
LOWsrc/A_memorix/core/utils/profile_text.py70CODE
LOWsrc/A_memorix/core/storage/metadata_store.py4069CODE
LOWsrc/common/message_repository.py67CODE
LOWsrc/common/message_repository.py111CODE
LOWsrc/common/message_repository.py235CODE
LOWsrc/common/data_models/chat_session_data_model.py10CODE
LOWsrc/common/data_models/jargon_data_model.py17CODE
LOWsrc/common/utils/utils_message.py396CODE
LOWsrc/plugin_runtime/host/supervisor.py106CODE
LOWsrc/llm_models/utils_model.py382CODE
LOWsrc/llm_models/utils_model.py459CODE
LOWsrc/llm_models/utils_model.py1040CODE
LOWsrc/webui/routers/behavior.py611CODE
LOWsrc/webui/routers/memory.py2530CODE
LOWsrc/webui/routers/memory.py3139CODE
LOWsrc/webui/routers/model.py596CODE
LOWsrc/webui/routers/jargon.py755CODE
LOWsrc/webui/routers/expression.py1229CODE
LOWsrc/webui/routers/plugin/progress.py56CODE
LOWsrc/webui/routers/emoji/routes.py221CODE
LOWsrc/services/send_service.py928CODE
LOWsrc/services/send_service.py962CODE
LOWsrc/services/send_service.py1013CODE
LOWsrc/services/send_service.py1045CODE
LOWsrc/services/send_service.py1291CODE
LOWsrc/services/send_service.py1334CODE
LOWsrc/services/generator_service.py93CODE
LOWsrc/services/generator_service.py171CODE
LOWsrc/services/memory_service.py196CODE
LOWsrc/services/memory_service.py260CODE
LOWsrc/services/memory_service.py297CODE
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsrc/A_memorix/core/runtime/sdk_memory_kernel.py0insert or ignore into paragraph_relations (paragraph_hash, relation_hash) values (?, ?)STRING
HIGHsrc/A_memorix/core/storage/metadata_store.py0insert or ignore into paragraph_relations (paragraph_hash, relation_hash) values (?, ?)STRING
HIGHsrc/A_memorix/scripts/migrate_maibot_memory.py0insert or ignore into paragraph_relations (paragraph_hash, relation_hash) values (?, ?)STRING
HIGHsrc/A_memorix/core/runtime/sdk_memory_kernel.py0insert or ignore into paragraph_entities (paragraph_hash, entity_hash, mention_count) values (?, ?, ?)STRING
HIGHsrc/A_memorix/core/storage/metadata_store.py0insert or ignore into paragraph_entities (paragraph_hash, entity_hash, mention_count) values (?, ?, ?)STRING
HIGHsrc/A_memorix/scripts/migrate_maibot_memory.py0insert or ignore into paragraph_entities (paragraph_hash, entity_hash, mention_count) values (?, ?, ?)STRING
Over-Commented Block23 hits · 22 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml41 # ports:COMMENT
LOWdocker-compose.yml81COMMENT
LOW.devcontainer/setup-dood-override.sh1#!/bin/shCOMMENT
LOWscripts/run.sh901# [Unit]COMMENT
LOWsrc/chat/message_receive/uni_message_sender.py301 message.raw_message.components.insert(0, ReplyComponent(reply_message_id))COMMENT
LOWsrc/chat/message_receive/uni_message_sender.py321COMMENT
LOWsrc/chat/replyer/maisaka_generator_base.py181 # target_lines = [COMMENT
LOWsrc/A_memorix/requirements.txt41# ==================COMMENT
LOWsrc/learners/learner_utils_old.py221COMMENT
LOWsrc/learners/learner_utils_old.py241# messages=context_messages,COMMENT
LOWsrc/learners/learner_utils_old.py261# """判断消息是否来自机器人自身"""COMMENT
LOWsrc/learners/learner_utils_old.py281# platform_accounts = parse_platform_accounts(getattr(bot_config, "platforms", []) or [])COMMENT
LOWsrc/learners/learner_utils_old.py301COMMENT
LOWsrc/learners/learner_utils_old.py321# raw = response.strip()COMMENT
LOWsrc/learners/learner_utils_old.py341# parsed = json.loads(raw)COMMENT
LOWsrc/learners/learner_utils_old.py361# char = text[i]COMMENT
LOWsrc/learners/learner_utils_old.py381# i += 1COMMENT
LOWsrc/learners/learner_utils_old.py401COMMENT
LOWsrc/learners/learner_utils_old.py421# parsed_list = parsedCOMMENT
LOWsrc/learners/learner_utils_old.py441# source_id = str(item.get("source_id", "")).strip()COMMENT
LOWsrc/common/data_models/llm_data_model.py1# from dataclasses import dataclassCOMMENT
LOWsrc/common/data_models/llm_data_model.py21# processed_output: Optional[List[str]] = NoneCOMMENT
LOWsrc/webui/middleware/anti_crawler.py121COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALsrc/chat/utils/statistic.py1656 const items = chart.options.plugins.legend.labels.generateLabels(chart);CODE
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/run_lpmm.sh7# Step 1: Locate project root directoryCOMMENT
LOWscripts/run_lpmm.sh12# Step 2: Verify scripts directory existsCOMMENT
LOWscripts/run_lpmm.sh19# Step 3: Set up Python environmentCOMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/run_lpmm.sh7# Step 1: Locate project root directoryCOMMENT
LOWscripts/run_lpmm.sh12# Step 2: Verify scripts directory existsCOMMENT
LOWscripts/run_lpmm.sh19# Step 3: Set up Python environmentCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/config/default_model_config.py12 "api_key": "your-api-key",CODE
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMsrc/A_memorix/scripts/process_knowledge.py667 # Same logic, but ensure robustCOMMENT
LOWsrc/A_memorix/scripts/process_knowledge.py470 # For quotes, extract might be just pass through or regexCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/A_memorix/scripts/process_knowledge.py456 # Creating a new chunk using rescue strategy logic might be complex if split behavior differs.COMMENT