AI Slop Code RIsk Monitor

langbot-app/LangBot

Production-grade platform for building agentic IM bots - 生产级多平台智能机器人开发平台/ Agent、知识库编排、插件系统 / Bots for Discord / Slack / LINE / Telegram / WeChat(企业微信, 企微智能机器人, 公众号) / 飞书 / 钉钉 / QQ / Matrix e.g. Integrated with ChatGPT(GPT), DeepSeek, Dify, n8n, Langflow, Coze, Claude, Gemini, GLM, Ollama, SiliconFlow, Moonshot, openclaw / hermes agent, deerflow

19.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for langbot-app/LangBot, a Python project with 18,090 GitHub stars. SynthScan examined 496,416 lines of code across 1889 source files, recording 8013 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 19.5 (Elevated 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.

19.5
Adjusted Signal
19.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
18.1K
Stars
Python
Language
496.4K
Lines of Code
1.9K
Files
8.0K
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 43.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 14.8/100 · LOW

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

Agent Over-Engineering Ratio 52.7/100 · HIGH

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

PR Review Velocity Impact 64.1/100 · HIGH

Which changes need focused human review? 8013 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 51HIGH 246MEDIUM 230LOW 7486

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 8013 distinct pattern matches across 24 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.

Hyper-Verbose Identifiers5083 hits · 4886 pts
SeverityFileLineSnippetContext
LOWweb/src/app/home/bots/components/bot-form/BotForm.tsx104function getSupportedConnectionModes(config: IDynamicFormItemSchema[]) {CODE
LOWweb/src/app/home/bots/components/bot-form/BotForm.tsx573 function handleConnectionModeChange(mode: ConnectionMode) {CODE
LOW…/home/bots/components/bot-form/EventBindingsEditor.tsx317function agentSupportsEventPattern(agent: Agent, pattern: string) {CODE
LOW…/plugins/components/plugin-market/marketplace-likes.ts23export function getMarketplaceFingerprint(): Promise<string> {CODE
LOW…/plugins/components/plugin-market/marketplace-likes.ts62export async function getMarketplaceExtensionLiked(CODE
LOW…/plugins/components/plugin-market/marketplace-likes.ts71export async function toggleMarketplaceExtensionLike(CODE
LOW…/plugins/components/plugin-market/marketplace-likes.ts109export function subscribeMarketplaceLikeChanges(CODE
LOW…mponents/plugin-market/useMarketplaceInstalledIndex.ts14export function useMarketplaceInstalledIndex(): Map<CODE
LOW…ins/components/plugin-market/PluginMarketComponent.tsx86function getComponentFilterFromQuery(CODE
LOW…arket/plugin-market-card/PluginMarketCardComponent.tsx30export default function PluginMarketCardComponent({CODE
LOW…ts/plugin-install-task/PluginInstallProgressDialog.tsx371export default function PluginInstallProgressDialog() {CODE
LOW…nents/plugin-install-task/PluginInstallTaskContext.tsx120export function asyncTaskToPluginInstallTask(CODE
LOW…nents/plugin-install-task/PluginInstallTaskContext.tsx197export function PluginInstallTaskProvider({CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts118function writePendingRunnerInstall(intent: PendingRunnerInstall) {CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts127export function clearPendingRunnerInstall(scope: string, taskId?: number) {CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts135export function subscribePendingRunnerInstall(CODE
LOWweb/src/app/home/agents/runner-marketplace.ts314async function waitForRunnerRegistration(CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts348export async function resumePendingRunnerInstall(CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts357export async function installMarketplaceEventProcessor(CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts365export async function resumePendingEventProcessorInstall(CODE
LOW⚡web/src/app/home/agents/runner-marketplace.ts372async function finishEventProcessorInstall(CODE
LOW…b/src/app/home/agents/PluginProcessorDetailContent.tsx40export default function PluginProcessorDetailContent({CODE
LOW…/src/app/home/agents/components/AgentFormComponent.tsx93function isRequiredRunnerValueMissing(value: unknown): boolean {CODE
LOWweb/src/app/home/agents/components/RunnerSelect.tsx94function InstalledRunnerOptionContent({CODE
LOWweb/src/app/home/agents/components/RunnerSelect.tsx135function installedRunnerDescription(CODE
LOW…app/home/agents/components/AgentEventPatternPicker.tsx59export function isEventToolCompatibleWithPattern(CODE
LOWweb/src/app/home/pipelines/MigrationInstallProgress.tsx41function InstallationPluginIdentity({ item }: { item: MigrationInstallation }) {CODE
LOW…home/pipelines/components/debug-dialog/DebugDialog.tsx56function AuthenticatedMessageImage({CODE
LOW…home/components/event-patterns/event-pattern-groups.ts15export function processorEventCompatibility(CODE
LOW…/workspace-settings/OperationTraceCollectionDialog.tsx44export default function OperationTraceCollectionDialog({CODE
LOW…b/src/app/home/components/home-sidebar/HomeSidebar.tsx241function createEmptyListExpansionState(): SidebarListExpansionState {CODE
LOW…b/src/app/home/components/home-sidebar/HomeSidebar.tsx318async function refreshEnabledMCPConnections() {CODE
LOW…b/src/app/home/components/home-sidebar/HomeSidebar.tsx553 function handleListExpansionToggle(id: EntityCategoryId, expanded: boolean) {CODE
LOW…b/src/app/home/components/home-sidebar/HomeSidebar.tsx1943 function handleSettingsSectionChange(section: SettingsSection) {CODE
LOW…ents/model-availability/ModelAvailabilityIndicator.tsx14export default function ModelAvailabilityIndicator({CODE
LOW…ents/model-availability/useLangBotModelAvailability.ts37export function useLangBotModelAvailability(enabled = true) {CODE
LOW…/src/app/home/components/models-dialog/ModelsPanel.tsx196 async function loadRequesterSupportTypes() {CODE
LOW…home/components/dynamic-form/ToolResourceSelectors.tsx160function hasReliableSourceMetadata(tool: PluginTool) {CODE
LOW…/home/components/dynamic-form/DynamicFormSaveValues.ts33export function normalizeDynamicFormFieldValue(CODE
LOW…/home/components/dynamic-form/DynamicFormSaveValues.ts94function normalizeModelFallbackValue(value: unknown): {CODE
LOW…/home/components/dynamic-form/DynamicFormSaveValues.ts138export function normalizeDynamicFormValuesForSave(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts51export function getKnowledgeEngineInstallError(error: unknown): string {CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts76export function readPendingKnowledgeEngineInstall(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts102function writePendingKnowledgeEngineInstall(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts113export function clearPendingKnowledgeEngineInstall(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts124export function subscribePendingKnowledgeEngineInstall(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts137export async function loadKnowledgeEngineCatalog(): Promise<KnowledgeEngineCatalog> {CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts194export async function installMarketplaceKnowledgeEngine(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts221async function finishKnowledgeEngineInstall(CODE
LOW…dge/components/kb-form/knowledge-engine-marketplace.ts260export async function resumePendingKnowledgeEngineInstall(CODE
LOW…rc/app/home/skills/components/skill-form/SkillForm.tsx768 async function handleDirectoryImportConfirm() {CODE
LOWweb/src/app/home/monitoring/utils/conversationTurns.ts55export function hasRenderableMessageContent(content?: string): boolean {CODE
LOWweb/src/app/home/add-extension/page.tsx532 async function handleGithubAddressSubmit() {CODE
LOWweb/src/app/infra/http/currentWorkspaceStore.ts7export function getCurrentWorkspaceSnapshot(): CurrentWorkspace | null {CODE
LOWweb/src/app/infra/http/currentWorkspaceStore.ts11export function setCurrentWorkspaceSnapshot(CODE
LOWweb/src/app/infra/http/index.ts211export function beginAuthenticatedSession(CODE
LOWweb/src/app/infra/http/index.ts250async function initializeSelectedWorkspace(CODE
LOWweb/src/app/infra/http/index.ts278export async function bootstrapWorkspaceSession(CODE
LOW⚡web/src/app/infra/http/workspaceBootstrapStore.ts8export function getWorkspaceBootstrapSnapshot(): WorkspaceBootstrapEntry[] {CODE
LOW⚡web/src/app/infra/http/workspaceBootstrapStore.ts12export function setWorkspaceBootstrapSnapshot(CODE
5023 more matches not shown…
Excessive Try-Catch Wrapping894 hits · 854 pts
SeverityFileLineSnippetContext
LOWtests/integration_tests/box/test_box_mcp_integration.py74 except Exception:CODE
LOWtests/integration_tests/box/test_box_integration.py63 except Exception:CODE
LOWtests/integration/persistence/test_migrations.py398 except Exception as e:CODE
LOW⚡…ts/integration/persistence/test_migrations_postgres.py283 except Exception:CODE
LOW⚡…ts/integration/persistence/test_migrations_postgres.py291 except Exception:CODE
LOWtests/integration/vector/test_valkey_search.py93 except Exception as exc: # noqa: BLE001CODE
LOWtests/integration/vector/test_valkey_search.py103 except Exception:CODE
LOWtests/e2e/live_discord_eba_probe.py75 except Exception as exc:CODE
LOWtests/e2e/live_discord_eba_probe.py83 except Exception as exc:CODE
LOWtests/e2e/live_wecomcs_eba_probe.py85 except Exception as exc:CODE
LOWtests/e2e/live_officialaccount_eba_probe.py77 except Exception as exc:CODE
LOWtests/e2e/live_wecom_eba_probe.py85 except Exception as exc:CODE
LOWtests/e2e/live_wecombot_eba_probe.py81 except Exception as exc:CODE
LOWtests/e2e/live_aiocqhttp_eba_probe.py77 except Exception as exc:CODE
LOWtests/e2e/live_telegram_eba_probe.py100 except Exception as exc:CODE
LOWtests/e2e/live_telegram_eba_probe.py108 except Exception as exc:CODE
LOWtests/e2e/live_slack_eba_probe.py77 except Exception as exc:CODE
LOWtests/e2e/live_qqofficial_eba_probe.py77 except Exception as exc:CODE
LOWtests/e2e/utils/process_manager.py245 except Exception:CODE
LOWdocs/review/box-architecture.md487except Exception as e:CODE
LOWexamples/http-bot/playground.py90 except Exception:CODE
LOWexamples/http-bot/playground.py133 except Exception:CODE
LOWscripts/cloud_runtime_soak.py979 except Exception as exc:CODE
MEDIUM.github/discord-release/announce.py157 print(f'Error: {error}', file=sys.stderr)CODE
LOWskills/scripts/e2e/agent-run-ledger-audit.py403 except Exception as exc: # noqa: BLE001 - probe must classify environment failuresCODE
LOWskills/skills/langbot-plugin-dev/SKILL.md164except Exception:CODE
LOWsrc/langbot/libs/wechatpad_api/util/http_util.py48 except Exception as e:CODE
LOWsrc/langbot/libs/wechatpad_api/util/http_util.py71 except Exception as e:CODE
LOWsrc/langbot/libs/official_account_api/api.py234 except Exception:CODE
LOWsrc/langbot/libs/official_account_api/api.py280 except Exception:CODE
LOWsrc/langbot/libs/official_account_api/api.py512 except Exception:CODE
LOWsrc/langbot/libs/official_account_api/api.py570 except Exception:CODE
LOWsrc/langbot/libs/official_account_api/api.py578 except Exception as exc:CODE
LOWsrc/langbot/libs/openclaw_weixin_api/client.py233 except Exception as e:CODE
LOW⚡src/langbot/libs/openclaw_weixin_api/client.py622 except Exception as e:CODE
LOW⚡src/langbot/libs/openclaw_weixin_api/client.py632 except Exception as e:CODE
LOW⚡src/langbot/libs/openclaw_weixin_api/client.py642 except Exception as e:CODE
LOW…c/langbot/libs/openclaw_weixin_api/typing_indicator.py47 except Exception:CODE
LOW…c/langbot/libs/openclaw_weixin_api/typing_indicator.py66 except Exception:CODE
LOW…c/langbot/libs/openclaw_weixin_api/typing_indicator.py76 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/card_callback.py104 except Exception as e:CODE
LOW⚡src/langbot/libs/dingtalk_api/api.py444 except Exception as e:CODE
LOW⚡src/langbot/libs/dingtalk_api/api.py454 except Exception as e:CODE
LOW⚡src/langbot/libs/dingtalk_api/api.py464 except Exception as e:CODE
LOW⚡src/langbot/libs/dingtalk_api/api.py672 except Exception:CODE
LOW⚡src/langbot/libs/dingtalk_api/api.py677 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py171 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py187 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py625 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py704 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py709 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py837 except Exception as exc:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py888 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py937 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py976 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py1028 except Exception:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py1082 except Exception as e:CODE
LOWsrc/langbot/libs/dingtalk_api/api.py1106 except Exception:CODE
LOW⚡src/langbot/libs/wecom_ai_bot_api/ws_client.py864 except Exception:CODE
LOW⚡src/langbot/libs/wecom_ai_bot_api/ws_client.py870 except Exception:CODE
834 more matches not shown…
Empty Error Handlers167 hits · 835 pts
SeverityFileLineSnippetContext
HIGHtests/unit_tests/core/test_taskmgr.py332except ValueError:CODE
HIGHtests/unit_tests/core/test_taskmgr.py377except ValueError:CODE
HIGH…unit_tests/storage/test_localstorage_path_traversal.py77except (ValueError, PermissionError):CODE
HIGHtests/unit_tests/persistence/test_tenant_uow.py372except ValueError:CODE
HIGHtests/unit_tests/persistence/test_tenant_uow.py410except sa.exc.IntegrityError:CODE
HIGHtests/unit_tests/api/service/test_provider_cascade.py249except Abort:CODE
HIGHtests/unit_tests/telemetry/test_trace.py823except RuntimeError:CODE
HIGHtests/unit_tests/telemetry/test_pipeline_lane.py148except asyncio.CancelledError:CODE
HIGH…ts/integration/persistence/test_migrations_postgres.py283except Exception:CODE
HIGH…ts/integration/persistence/test_migrations_postgres.py291except Exception:CODE
HIGH…ts/integration/persistence/test_migrations_postgres.py1568except IntegrityError:CODE
HIGHtests/integration/vector/test_valkey_search.py103except Exception:CODE
HIGHtests/e2e/live_officialaccount_eba_probe.py135except asyncio.CancelledError:CODE
HIGHtests/e2e/live_aiocqhttp_eba_probe.py212except (asyncio.CancelledError, asyncio.TimeoutError):CODE
HIGHtests/e2e/live_slack_eba_probe.py137except asyncio.CancelledError:CODE
HIGHtests/e2e/live_qqofficial_eba_probe.py145except asyncio.CancelledError:CODE
HIGHtests/e2e/utils/process_manager.py163except (httpx.ConnectError, httpx.TimeoutException):CODE
HIGHexamples/http-bot/playground.py181except (asyncio.CancelledError, ConnectionResetError):CODE
HIGHexamples/http-bot/playground.py90except Exception:CODE
HIGHsrc/langbot/libs/wechatpad_api/util/http_util.py15except (TypeError, ValueError):CODE
HIGHsrc/langbot/libs/dingtalk_api/api.py1106except Exception:CODE
HIGHsrc/langbot/libs/dingtalk_api/api.py1070except asyncio.CancelledError:CODE
HIGHsrc/langbot/libs/wecom_ai_bot_api/ws_client.py850except asyncio.CancelledError:CODE
HIGHsrc/langbot/libs/wecom_ai_bot_api/api.py264except asyncio.QueueEmpty:CODE
HIGHsrc/langbot/libs/dify_service_api/v1/client.py55except (TypeError, ValueError):CODE
HIGHsrc/langbot/libs/qq_official_api/api.py980except asyncio.CancelledError:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1256except Exception:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1010except asyncio.CancelledError:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1231except asyncio.CancelledError:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1236except Exception:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1113except asyncio.CancelledError:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1131except Exception:CODE
HIGHsrc/langbot/libs/qq_official_api/api.py1138except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/pipeline/monitoring_helper.py223except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/aggregator.py285except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/pipeline/pipelinemgr.py208except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/pipelinemgr.py660except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/pipelinemgr.py404except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/pipelinemgr.py224except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/preproc/preproc.py115except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/preproc/preproc.py412except Exception:CODE
HIGHsrc/langbot/pkg/pipeline/preproc/preproc.py452except Exception:CODE
HIGHsrc/langbot/pkg/box/service.py957except ValueError:CODE
HIGHsrc/langbot/pkg/box/secure_fs.py63except FileExistsError:CODE
HIGHsrc/langbot/pkg/core/app.py601except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/platform/botmgr.py539except Exception:CODE
HIGHsrc/langbot/pkg/platform/botmgr.py732except TypeError:CODE
HIGHsrc/langbot/pkg/platform/botmgr.py2058except Exception:CODE
HIGHsrc/langbot/pkg/platform/botmgr.py1040except Exception:CODE
HIGHsrc/langbot/pkg/platform/adapters/kook/adapter.py276except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/platform/adapters/kook/adapter.py154except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/platform/adapters/kook/adapter.py263except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/platform/adapters/discord/adapter.py368except Exception:CODE
HIGHsrc/langbot/pkg/platform/adapters/discord/adapter.py376except Exception:CODE
HIGHsrc/langbot/pkg/platform/adapters/lark/platform_api.py81except Exception:CODE
HIGH…/langbot/pkg/platform/adapters/lark/event_converter.py298except ValueError:CODE
HIGH…angbot/pkg/platform/adapters/lark/message_converter.py348except ValueError:CODE
HIGHsrc/langbot/pkg/platform/adapters/telegram/adapter.py381except telegram.error.RetryAfter:CODE
HIGHsrc/langbot/pkg/platform/adapters/qqofficial/adapter.py435except asyncio.CancelledError:CODE
HIGHsrc/langbot/pkg/platform/adapters/qqofficial/adapter.py241except asyncio.CancelledError:CODE
107 more matches not shown…
Unused Imports884 hits · 830 pts
SeverityFileLineSnippetContext
LOWtests/smoke/test_fake_message_flow.py10CODE
LOWtests/unit_tests/test_matrix_relogin.py1CODE
LOWtests/unit_tests/test_execution_lease.py10CODE
LOWtests/unit_tests/test_execution_lease.py10CODE
LOWtests/unit_tests/test_optional_dependencies.py1CODE
LOWtests/unit_tests/test_operation_trace_tenant_scope.py11CODE
LOWtests/unit_tests/test_preproc.py1CODE
LOWtests/unit_tests/test_operation_trace_integrity.py11CODE
LOWtests/unit_tests/test_operation_trace_incremental.py10CODE
LOWtests/unit_tests/pipeline/conftest.py10CODE
LOWtests/unit_tests/pipeline/conftest.py19CODE
LOWtests/unit_tests/pipeline/test_config_coercion.py3CODE
LOWtests/unit_tests/pipeline/test_banwords.py8CODE
LOWtests/unit_tests/pipeline/test_chat_handler_logging.py1CODE
LOWtests/unit_tests/pipeline/test_wrapper.py12CODE
LOWtests/unit_tests/pipeline/test_controller_tenancy.py1CODE
LOWtests/unit_tests/pipeline/test_preproc.py12CODE
LOWtests/unit_tests/pipeline/test_longtext.py11CODE
LOWtests/unit_tests/pipeline/test_chat_session_limit.py1CODE
LOWtests/unit_tests/pipeline/test_aggregator.py12CODE
LOWtests/unit_tests/pipeline/test_command_handler.py8CODE
LOW…sts/unit_tests/pipeline/test_preproc_media_fallback.py1CODE
LOWtests/unit_tests/pipeline/test_pool.py7CODE
LOWtests/unit_tests/pipeline/test_cntfilter.py12CODE
LOWtests/unit_tests/pipeline/test_chat_handler.py8CODE
LOWtests/unit_tests/pipeline/test_controller.py1CODE
LOWtests/unit_tests/discover/test_engine.py7CODE
LOWtests/unit_tests/box/test_box_connector.py1CODE
LOWtests/unit_tests/box/test_box_admission.py1CODE
LOWtests/unit_tests/box/test_workspace.py1CODE
LOWtests/unit_tests/box/test_box_service.py1CODE
LOWtests/unit_tests/core/test_app_shutdown.py1CODE
LOWtests/unit_tests/core/test_stage.py3CODE
LOWtests/unit_tests/core/test_boot.py1CODE
LOWtests/unit_tests/core/test_app_resource_maintenance.py1CODE
LOWtests/unit_tests/core/test_app_config_validation.py8CODE
LOWtests/unit_tests/core/test_load_config.py11CODE
LOWtests/unit_tests/core/test_bootutils_log.py9CODE
LOWtests/unit_tests/core/test_taskmgr.py11CODE
LOWtests/unit_tests/core/test_bootutils_deps.py3CODE
LOWtests/unit_tests/config/test_config_loader.py12CODE
LOWtests/unit_tests/platform/test_dingtalk_adapter.py8CODE
LOWtests/unit_tests/platform/test_line_session_identity.py1CODE
LOWtests/unit_tests/platform/test_line_session_identity.py8CODE
LOWtests/unit_tests/platform/test_webhook_pusher.py1CODE
LOWtests/unit_tests/platform/test_wechatpad_limits.py1CODE
LOWtests/unit_tests/platform/test_botmgr_tenancy.py1CODE
LOWtests/unit_tests/platform/test_discord_limits.py1CODE
LOW…nit_tests/platform/test_wecombot_stream_empty_final.py19CODE
LOWtests/unit_tests/platform/test_lark_eba_adapter.py1CODE
LOW…sts/unit_tests/platform/test_openclaw_weixin_client.py1CODE
LOW…nit_tests/platform/test_officialaccount_eba_adapter.py1CODE
LOW…t_tests/platform/test_websocket_adapter_attachments.py11CODE
LOW…sts/unit_tests/platform/test_qqofficial_eba_adapter.py1CODE
LOWtests/unit_tests/platform/test_kook_eba_adapter.py1CODE
LOW…sts/unit_tests/platform/test_botmgr_execution_trace.py3CODE
LOWtests/unit_tests/platform/test_qqofficial_api.py64CODE
LOWtests/unit_tests/platform/test_qqofficial_api.py308CODE
LOWtests/unit_tests/platform/test_http_bot_tenancy.py1CODE
LOWtests/unit_tests/platform/test_wecomcs_api.py1CODE
824 more matches not shown…
Hallucination Indicators51 hits · 585 pts
SeverityFileLineSnippetContext
CRITICAL⚡tests/unit_tests/platform/test_lark_eba_adapter.py345 adapter.api_client.im.v1.message.acreate.assert_awaited_once()CODE
CRITICAL⚡tests/unit_tests/platform/test_lark_eba_adapter.py350 adapter.api_client.im.v1.message.areply.assert_awaited_once()CODE
CRITICALtests/unit_tests/platform/test_lark_eba_adapter.py467 adapter.api_client.cardkit.v1.card.acreate.assert_awaited_once()CODE
CRITICALtests/unit_tests/platform/test_lark_eba_adapter.py506 adapter.api_client.im.v1.message.acreate.assert_not_awaited()CODE
CRITICALtests/unit_tests/provider/test_mcp_box_integration.py1055 assert ap.box_service.build_spec.call_args.kwargs.get('skip_host_mount_validation', False) is FalseCODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py237 kb.ap.storage_mgr.storage_provider.save.assert_not_awaited()CODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py238 kb.ap.storage_mgr.storage_provider.delete.assert_awaited_once_with(_upload_key('archive.zip'))CODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py255 kb.ap.storage_mgr.storage_provider.save.assert_not_awaited()CODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py256 kb.ap.storage_mgr.storage_provider.delete.assert_awaited_once_with(_upload_key('archive.zip'))CODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py301 kb.ap.storage_mgr.storage_provider.size.assert_awaited_once_with(object_key)CODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py304 kb.ap.storage_mgr.storage_provider.delete.assert_awaited_once_with(object_key)CODE
CRITICAL⚡tests/unit_tests/rag/test_file_storage.py320 kb.ap.storage_mgr.storage_provider.delete.assert_awaited_once_with(object_key)CODE
CRITICALtests/unit_tests/rag/test_file_storage.py101 kb.ap.storage_mgr.storage_provider.exists.assert_awaited_once_with(object_key)CODE
CRITICALtests/unit_tests/rag/test_file_storage.py132 kb.ap.storage_mgr.storage_provider.exists.assert_not_awaited()CODE
CRITICALtests/unit_tests/rag/test_file_storage.py154 kb.ap.storage_mgr.storage_provider.exists.assert_not_awaited()CODE
CRITICALtests/unit_tests/rag/test_file_storage.py209 kb.ap.storage_mgr.storage_provider.delete.assert_awaited_once_with(zip_key)CODE
CRITICALtests/unit_tests/rag/test_file_storage.py223 kb.ap.storage_mgr.storage_provider.delete.assert_awaited_once_with(_upload_key('archive.zip'))CODE
CRITICAL⚡src/langbot/pkg/platform/adapters/lark/platform_api.py31 response = await adapter.api_client.im.v1.chat.aget(request, adapter.request_option(params.get('tenant_key')))CODE
CRITICAL⚡src/langbot/pkg/platform/adapters/lark/platform_api.py37 response = await adapter.api_client.im.v1.message.aget(request, adapter.request_option(params.get('tenant_key')))CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/platform_api.py49 response = await adapter.api_client.im.v1.message_resource.aget(CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/interaction.py341 response: UpdateCardResponse = await adapter.api_client.cardkit.v1.card.aupdate(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/interaction.py393 card_response: CreateCardResponse = await adapter.api_client.cardkit.v1.card.acreate(card_request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/interaction.py413 response: CreateMessageResponse = await adapter.api_client.im.v1.message.acreate(message_request)CODE
CRITICAL⚡src/langbot/pkg/platform/adapters/lark/adapter.py753 response = await self.api_client.im.v1.message.aget(request, option)CODE
CRITICAL⚡src/langbot/pkg/platform/adapters/lark/adapter.py758 response = await self.api_client.im.v1.chat.aget(request, option)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py278 response: ResendAppTicketResponse = self.api_client.auth.v3.app_ticket.resend(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py296 response: CreateAppAccessTokenResponse = self.api_client.auth.v3.app_access_token.create(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py327 response: CreateTenantAccessTokenResponse = self.api_client.auth.v3.tenant_access_token.create(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py374 response: CreateMessageResponse = await self.api_client.im.v1.message.acreate(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py407 response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py470 response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py501 response: CreateCardResponse = await self.api_client.cardkit.v1.card.acreate(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py536 response: UpdateCardResponse = await self.api_client.cardkit.v1.card.aupdate(request)CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py578 response: ContentCardElementResponse = await self.api_client.cardkit.v1.card_element.acontent(CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/adapter.py1038 response: CreateMessageResponse = await self.api_client.im.v1.message.acreate(CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/api_impl.py30 response = await self.api_client.im.v1.message.aget(request, self.request_option(None))CODE
CRITICALsrc/langbot/pkg/platform/adapters/lark/api_impl.py60 response = await self.api_client.im.v1.chat.aget(request, self.request_option(None))CODE
CRITICAL⚡src/langbot/pkg/platform/sources/lark.py1630 response: CreateMessageResponse = self.api_client.im.v1.message.create(request, req_opt)CODE
CRITICAL⚡src/langbot/pkg/platform/sources/lark.py3214 response: CreateMessageResponse = self.api_client.im.v1.message.create(request, req_opt)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py1416 response: CreateAppAccessTokenResponse = self.api_client.auth.v3.app_access_token.create(request)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py1449 response: CreateTenantAccessTokenResponse = self.api_client.auth.v3.tenant_access_token.create(request)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py1603 response: CreateMessageResponse = self.api_client.im.v1.message.create(request, req_opt)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py1893 response: CreateCardResponse = self.api_client.cardkit.v1.card.create(request)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py1949 response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(request, req_opt)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py2040 response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(request, req_opt)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py2132 response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(request, req_opt)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py2170 response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(request, req_opt)CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py2320 response: ContentCardElementResponse = await self.api_client.cardkit.v1.card_element.acontent(CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py2429 media_response: ReplyMessageResponse = await self.api_client.im.v1.message.areply(CODE
CRITICALsrc/langbot/pkg/platform/sources/lark.py2931 response: UpdateCardResponse = await self.api_client.cardkit.v1.card.aupdate(request, req_opt)CODE
CRITICALsrc/langbot/pkg/api/http/service/mcp.py265 self.ap.tool_mgr.mcp_tool_loader._hosted_mcp_tasks.append(task)CODE
Decorative Section Separators151 hits · 525 pts
SeverityFileLineSnippetContext
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx136// ── types ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx227// ── helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx482// ── target combobox (type + target merged, with search + groups) ───────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx715// ── filter conditions panel ───────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx866// ── adapter capability summary ────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx981// ── route dry-run dialog ─────────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx1285// ── single binding card ───────────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx1466// ── sortable wrapper ──────────────────────────────────────────────────────────COMMENT
MEDIUM…/home/bots/components/bot-form/EventBindingsEditor.tsx1504// ── main editor ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/unit_tests/box/test_box_service.py1591# ── BoxHostMountMode.NONE tests ─────────────────────────────────────COMMENT
MEDIUM⚡tests/unit_tests/box/test_box_service.py1907# ── Attachment passthrough (inbound / outbound) ─────────────────────────────COMMENT
MEDIUMtests/unit_tests/box/test_box_service.py810# ── Truncation tests ──────────────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/box/test_box_service.py933# ── Profile tests ─────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/box/test_box_service.py1241# ── Observability tests ───────────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/box/test_box_service.py1342# ── In-process RPC client/server tests ─────────────────────────────────COMMENT
MEDIUMtests/unit_tests/box/test_box_service.py1506# ── RPC-based delete/create/conflict tests ────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py151# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py187# ── MCPServerBoxConfig ──────────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py235# ── Path Rewriting ──────────────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py336# ── host_path Inference ─────────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py383# ── Build Box Session Payload ───────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py454# ── Build Box Process Payload ───────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py512# ── Python Workspace Preparation ────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py590# ── get_runtime_info_dict ───────────────────────────────────────────COMMENT
MEDIUMtests/unit_tests/provider/test_mcp_box_integration.py916# ── Box config parsing ──────────────────────────────────────────────COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py31# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py33# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py132# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py134# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py250# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py252# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py357# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py359# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py485# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py487# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py574# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py576# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py667# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py669# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py744# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py746# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py837# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py839# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py912# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_model_manager.py914# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py172# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py174# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py236# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py238# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py498# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py500# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py525# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py527# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py541# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py543# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py557# ============================================================================COMMENT
MEDIUM⚡tests/unit_tests/provider/test_requester_base.py559# ============================================================================COMMENT
91 more matches not shown…
Deep Nesting368 hits · 307 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/pipeline/test_cntfilter.py50CODE
LOWtests/unit_tests/core/test_bootutils_deps.py118CODE
LOW…s/unit_tests/platform/test_native_stream_completion.py18CODE
LOWtests/unit_tests/plugin/test_handler_actions.py36CODE
LOWtests/unit_tests/plugin/test_runner_stream_context.py22CODE
LOWtests/unit_tests/plugin/test_runner_stream_context.py29CODE
LOWtests/unit_tests/provider/test_model_manager.py138CODE
LOWtests/unit_tests/provider/test_model_manager.py673CODE
LOWtests/unit_tests/provider/test_model_manager.py143CODE
LOWtests/unit_tests/provider/test_model_manager.py677CODE
LOWtests/unit_tests/provider/test_mcp_remote_transport.py60CODE
LOWtests/unit_tests/agent/test_legacy_identity_boundary.py102CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py382CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py540CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py611CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py652CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py922CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py1018CODE
LOWtests/unit_tests/persistence/test_tenant_uow.py1052CODE
LOW…sts/unit_tests/api/service/test_maintenance_service.py611CODE
LOWtests/integration/persistence/test_codex_auth.py365CODE
LOWtests/utils/import_isolation.py40CODE
LOWtests/e2e/live_aiocqhttp_eba_probe.py37CODE
LOWtests/e2e/live_telegram_eba_probe.py487CODE
LOWexamples/http-bot/client.py138CODE
LOWscripts/cloud_runtime_soak.py223CODE
LOWscripts/cloud_runtime_soak.py290CODE
LOWscripts/cloud_runtime_soak.py340CODE
LOWscripts/cloud_runtime_soak.py371CODE
LOWscripts/cloud_runtime_soak.py449CODE
LOWscripts/cloud_runtime_soak.py589CODE
LOWscripts/cloud_runtime_soak.py889CODE
LOWskills/scripts/e2e/agent-run-ledger-audit.py80CODE
LOWskills/scripts/e2e/onebot-runtime-probe.py14CODE
LOWsrc/langbot/libs/official_account_api/api.py152CODE
LOWsrc/langbot/libs/official_account_api/api.py396CODE
LOWsrc/langbot/libs/openclaw_weixin_api/client.py585CODE
LOW…c/langbot/libs/openclaw_weixin_api/typing_indicator.py57CODE
LOW…c/langbot/libs/openclaw_weixin_api/typing_indicator.py80CODE
LOWsrc/langbot/libs/dingtalk_api/card_callback.py70CODE
LOWsrc/langbot/libs/dingtalk_api/api.py397CODE
LOWsrc/langbot/libs/dingtalk_api/api.py479CODE
LOWsrc/langbot/libs/dingtalk_api/api.py1034CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py982CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py1219CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py402CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py466CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py920CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py1540CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py1813CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py2048CODE
LOWsrc/langbot/libs/wecom_customer_service_api/api.py376CODE
LOWsrc/langbot/libs/wecom_customer_service_api/api.py427CODE
LOWsrc/langbot/libs/wecom_customer_service_api/api.py441CODE
LOWsrc/langbot/libs/wecom_customer_service_api/api.py517CODE
LOWsrc/langbot/libs/wecom_api/api.py358CODE
LOWsrc/langbot/libs/wecom_api/api.py473CODE
LOWsrc/langbot/libs/wecom_api/api.py535CODE
LOWsrc/langbot/libs/wecom_api/api.py593CODE
LOWsrc/langbot/libs/slack_api/media.py73CODE
308 more matches not shown…
Cross-File Repetition45 hits · 225 pts
SeverityFileLineSnippetContext
HIGHtests/unit_tests/box/test_box_service.py0in-process connection backed by asyncio queues — no real io.STRING
HIGHtests/integration_tests/box/test_box_mcp_integration.py0in-process connection backed by asyncio queues — no real io.STRING
HIGHtests/integration_tests/box/test_box_integration.py0in-process connection backed by asyncio queues — no real io.STRING
HIGHtests/unit_tests/provider/test_session_manager.py0test that __init__ stores the application reference.STRING
HIGHtests/unit_tests/provider/test_tool_manager.py0test that __init__ stores the application reference.STRING
HIGHtests/unit_tests/storage/test_s3storage.py0test that __init__ stores the application reference.STRING
HIGHtests/unit_tests/telemetry/test_telemetry.py0test that __init__ stores the application reference.STRING
HIGHtests/unit_tests/api/service/test_mcp_service.py0delete operation completes even for nonexistent uuid.STRING
HIGHtests/unit_tests/api/service/test_bot_service.py0delete operation completes even for nonexistent uuid.STRING
HIGHtests/unit_tests/api/service/test_pipeline_service.py0delete operation completes even for nonexistent uuid.STRING
HIGHtests/integration/api/test_providers.py0create quart test client (module scope to avoid route re-registration).STRING
HIGHtests/integration/api/test_knowledge.py0create quart test client (module scope to avoid route re-registration).STRING
HIGHtests/integration/api/test_pipelines.py0create quart test client (module scope to avoid route re-registration).STRING
HIGHtests/integration/api/test_bots.py0create quart test client (module scope to avoid route re-registration).STRING
HIGHsrc/langbot/libs/official_account_api/api.py0处理回调请求(统一 webhook 模式,显式传递 request)。 args: req: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/libs/wecom_ai_bot_api/api.py0处理回调请求(统一 webhook 模式,显式传递 request)。 args: req: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/libs/wecom_customer_service_api/api.py0处理回调请求(统一 webhook 模式,显式传递 request)。 args: req: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/libs/wecom_api/api.py0处理回调请求(统一 webhook 模式,显式传递 request)。 args: req: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/libs/slack_api/api.py0处理回调请求(统一 webhook 模式,显式传递 request)。 args: req: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/libs/qq_official_api/api.py0处理回调请求(统一 webhook 模式,显式传递 request)。 args: req: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/libs/official_account_api/api.py0处理回调请求的内部实现,包括 get 验证和 post 消息接收。 args: req: quart request 对象STRING
HIGHsrc/langbot/libs/wecom_ai_bot_api/api.py0处理回调请求的内部实现,包括 get 验证和 post 消息接收。 args: req: quart request 对象STRING
HIGHsrc/langbot/libs/wecom_customer_service_api/api.py0处理回调请求的内部实现,包括 get 验证和 post 消息接收。 args: req: quart request 对象STRING
HIGHsrc/langbot/libs/wecom_api/api.py0处理回调请求的内部实现,包括 get 验证和 post 消息接收。 args: req: quart request 对象STRING
HIGHsrc/langbot/libs/official_account_api/oaevent.py0事件类型,例如 "message"、"event"、"text" 等。 returns: str: 事件类型。STRING
HIGH…angbot/libs/wecom_customer_service_api/wecomcsevent.py0事件类型,例如 "message"、"event"、"text" 等。 returns: str: 事件类型。STRING
HIGHsrc/langbot/libs/wecom_api/wecomevent.py0事件类型,例如 "message"、"event"、"text" 等。 returns: str: 事件类型。STRING
HIGHsrc/langbot/libs/official_account_api/oaevent.py0允许通过属性访问数据中的任意字段。 args: key (str): 字段名。 returns: optional[any]: 字段值。STRING
HIGHsrc/langbot/libs/dingtalk_api/dingtalkevent.py0允许通过属性访问数据中的任意字段。 args: key (str): 字段名。 returns: optional[any]: 字段值。STRING
HIGH…angbot/libs/wecom_customer_service_api/wecomcsevent.py0允许通过属性访问数据中的任意字段。 args: key (str): 字段名。 returns: optional[any]: 字段值。STRING
HIGHsrc/langbot/libs/wecom_api/wecomevent.py0允许通过属性访问数据中的任意字段。 args: key (str): 字段名。 returns: optional[any]: 字段值。STRING
HIGHsrc/langbot/libs/official_account_api/oaevent.py0允许通过属性设置数据中的任意字段。 args: key (str): 字段名。 value (any): 字段值。STRING
HIGHsrc/langbot/libs/dingtalk_api/dingtalkevent.py0允许通过属性设置数据中的任意字段。 args: key (str): 字段名。 value (any): 字段值。STRING
HIGH…angbot/libs/wecom_customer_service_api/wecomcsevent.py0允许通过属性设置数据中的任意字段。 args: key (str): 字段名。 value (any): 字段值。STRING
HIGHsrc/langbot/libs/wecom_api/wecomevent.py0允许通过属性设置数据中的任意字段。 args: key (str): 字段名。 value (any): 字段值。STRING
HIGHsrc/langbot/pkg/platform/adapters/telegram/adapter.py0return true for invisible placeholder chunks used to carry forms.STRING
HIGHsrc/langbot/pkg/platform/sources/qqofficial.py0return true for invisible placeholder chunks used to carry forms.STRING
HIGHsrc/langbot/pkg/platform/sources/telegram.py0return true for invisible placeholder chunks used to carry forms.STRING
HIGHsrc/langbot/pkg/platform/sources/qqofficial.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/pkg/platform/sources/lark.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/pkg/platform/sources/line.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/pkg/platform/sources/officialaccount.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/pkg/platform/sources/wecomcs.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/pkg/platform/sources/slack.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
HIGHsrc/langbot/pkg/platform/sources/wecom.py0处理统一 webhook 请求。 args: bot_uuid: bot 的 uuid path: 子路径(如果有的话) request: quart request 对象 returns: 响应数据STRING
Cross-Language Confusion21 hits · 125 pts
SeverityFileLineSnippetContext
HIGH⚡…ts/unit_tests/pipeline/test_legacy_config_migration.py548@pytest.mark.parametrize('raw', [None, '', '{}', '{"nested":{"token":"SECRET","values":[null,false,0]}}'])CODE
HIGH…ts/unit_tests/pipeline/test_legacy_config_migration.py794@pytest.mark.parametrize('raw', [None, '', ' ', 'null', {}, '{"nested":[null,false,0]}'])CODE
HIGHtests/unit_tests/box/test_workspace.py65 assert '_LB_SYSTEM_PYTHON="$(command -v python3 || command -v python || true)"' in commandCODE
HIGHtests/unit_tests/provider/test_mcp_box_integration.py527 assert '_LB_SYSTEM_PYTHON="$(command -v python3 || command -v python || true)"' in commandCODE
HIGH⚡tests/unit_tests/provider/test_skill_tools.py309 assert '_LB_SYSTEM_PYTHON="$(command -v python3 || command -v python || true)"' in commandCODE
HIGHtests/unit_tests/provider/test_tool_manager_native.py884 assert command.startswith('PYTHON_BIN=$(command -v python3 || command -v python)')CODE
HIGHtests/integration_tests/box/test_box_mcp_integration.py426 args=['-c', 'echo done && exit 0'],CODE
HIGHexamples/http-bot/playground.py286 if(obj!==undefined){const p=document.createElement('pre');CODE
HIGHexamples/http-bot/playground.py287 p.textContent=typeof obj==='string'?obj:JSON.stringify(obj,null,2);e.appendChild(p)}CODE
HIGHsrc/langbot/pkg/box/workspace.py155 _LB_SYSTEM_PYTHON="$(command -v python3 || command -v python || true)"CODE
HIGH⚡src/langbot/pkg/box/workspace.py220 while ! mkdir "$_LB_LOCK_DIR" 2>/dev/null; doCODE
HIGH⚡src/langbot/pkg/box/workspace.py222 _LB_LOCK_OWNER="$(cat "$_LB_LOCK_DIR/pid" 2>/dev/null || true)"CODE
HIGH⚡src/langbot/pkg/box/workspace.py223 if [ -n "$_LB_LOCK_OWNER" ] && kill -0 "$_LB_LOCK_OWNER" 2>/dev/null; thenCODE
HIGH⚡src/langbot/pkg/box/workspace.py228 rm -rf "$_LB_LOCK_DIR" 2>/dev/null || trueCODE
HIGH⚡src/langbot/pkg/box/workspace.py229 if mkdir "$_LB_LOCK_DIR" 2>/dev/null; thenCODE
HIGH⚡src/langbot/pkg/box/workspace.py238 printf '%s\\n' "$$" > "$_LB_LOCK_DIR/pid" 2>/dev/null || trueCODE
HIGH⚡src/langbot/pkg/box/workspace.py241 rm -rf "$_LB_LOCK_DIR" >/dev/null 2>&1 || trueCODE
HIGHsrc/langbot/pkg/entity/dto/space_model.py30# "metadata": null,COMMENT
HIGHsrc/langbot/pkg/provider/tools/loaders/native.py760 command = f'PYTHON_BIN=$(command -v python3 || command -v python); "$PYTHON_BIN" - <<\'PY\'\n{script}\nPY'CODE
HIGHsrc/langbot/pkg/api/http/controller/groups/system.py308 { "step": int, "selected_scenario": str|null, "selected_adapter": str|null,STRING
HIGHsrc/langbot/pkg/api/http/controller/groups/system.py309 "created_bot_uuid": str|null, "bot_saved": bool, "selected_runner": str|null }STRING
Self-Referential Comments24 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMdocker/kubernetes.yaml2# This file provides Kubernetes deployment manifests for LangBot based on docker-compose.yamlCOMMENT
MEDIUMtests/smoke/test_fake_message_flow.py53 # Create a simple queryCOMMENT
MEDIUMtests/unit_tests/pipeline/test_wrapper.py174 # Create a command response messageCOMMENT
MEDIUMtests/unit_tests/pipeline/test_wrapper.py212 # Create a plugin response messageCOMMENT
MEDIUMtests/unit_tests/pipeline/test_longtext.py261 # Create a mock adapter with bot_account_idCOMMENT
MEDIUMtests/unit_tests/plugin/test_connector_pure.py37 # Create a mock zip file with requirements.txtCOMMENT
MEDIUMtests/unit_tests/utils/test_image.py105 # Create a simple base64 stringCOMMENT
MEDIUM⚡tests/unit_tests/agent/test_session_registry.py591 # Create a fresh instance directly to verify the class worksCOMMENT
MEDIUMtests/unit_tests/agent/test_state_api_auth.py82 # Create the tableCOMMENT
MEDIUMtests/unit_tests/agent/test_event_first_protocol.py375 # Create a proper content element mockCOMMENT
MEDIUMtests/unit_tests/agent/test_event_first_protocol.py432 # Create a proper content element mockCOMMENT
MEDIUM⚡tests/unit_tests/rag/test_runtime_service.py216# The following classes preserve the pre-tenancy regression scenarios. TheyCOMMENT
MEDIUM…unit_tests/storage/test_localstorage_path_traversal.py54 # Create a file outside the storage directoryCOMMENT
MEDIUM⚡…unit_tests/storage/test_localstorage_path_traversal.py195 # Create a directory with filesCOMMENT
MEDIUMtests/unit_tests/persistence/test_serialize_model.py24# Create a simple test modelCOMMENT
MEDIUMtests/unit_tests/persistence/test_serialize_model.py43 # Create a mock persistence managerCOMMENT
MEDIUMtests/unit_tests/persistence/test_mgr_methods.py70 # Create a mock result with actual attributes to simulate real resultCOMMENT
MEDIUM…sts/unit_tests/api/service/test_maintenance_service.py78 # Create a proper mock object with __class__.__name__COMMENT
MEDIUM⚡tests/integration_tests/box/test_box_mcp_integration.py451 # Create a session (container gets current instance ID label)COMMENT
MEDIUMtests/integration/pipeline/test_full_flow.py184 # Create a simple class to mimic Prompt behaviorCOMMENT
MEDIUMtests/factories/message.py409 # Create a default sessionCOMMENT
MEDIUMsrc/langbot/pkg/pipeline/process/handlers/chat.py129 # Create a single resp_message_id for the entire streaming responseCOMMENT
MEDIUMsrc/langbot/pkg/skill/activation.py14# This file is kept for potential future extensions but the text markerCOMMENT
MEDIUM…/langbot/pkg/provider/tools/loaders/skill_authoring.py196 # Create the skillCOMMENT
Modern Structural Boilerplate59 hits · 60 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/test_operation_trace_tenant_scope.py120async def _set_level(engine, workspace_uuid: str, level: int) -> None:CODE
LOWtests/unit_tests/api/service/test_bot_service.py59def _set_discovered_adapters(ap, *webhook_adapters: str) -> None:CODE
LOWtests/unit_tests/api/service/test_space_service.py34def _set_response_body(response: MagicMock, body: dict | str) -> None:CODE
LOWtests/factories/__init__.py59__all__ = [CODE
LOWtests/e2e/conftest.py17logger = logging.getLogger(__name__)CODE
LOWtests/e2e/utils/process_manager.py17logger = logging.getLogger(__name__)CODE
LOW…c/langbot/libs/openclaw_weixin_api/typing_indicator.py10logger = logging.getLogger(__name__)CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py389 def set_card_action_callback(self, callback: Callable) -> None:CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py398 def set_card_source(self, source: Optional[dict]) -> None:CODE
LOW⚡src/langbot/libs/wecom_ai_bot_api/api.py1668 def set_card_source(self, source: Optional[dict]) -> None:CODE
LOW⚡src/langbot/libs/wecom_ai_bot_api/api.py1673 def set_feedback_callback(self, callback: Callable) -> None:CODE
LOW⚡src/langbot/libs/wecom_ai_bot_api/api.py1681 def set_card_action_callback(self, callback: Callable) -> None:CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py142 def set_pending_form(self, stream_id: str, form_data: dict, task_id: str) -> None:CODE
LOWsrc/langbot/libs/weknora_api/__init__.py4__all__ = ['AsyncWeKnoraClient', 'WeKnoraAPIError']CODE
LOWsrc/langbot/libs/dify_service_api/__init__.py4__all__ = ['client', 'errors']CODE
LOWsrc/langbot/libs/deerflow_api/__init__.py5__all__ = ['AsyncDeerFlowClient', 'DeerFlowAPIError', 'stream_utils']CODE
LOWsrc/langbot/pkg/pipeline/config_coercion.py5logger = logging.getLogger(__name__)CODE
LOWsrc/langbot/pkg/box/__init__.py5__all__ = ['BoxWorkspaceSession']CODE
LOWsrc/langbot/pkg/skill/__init__.py3__all__ = ['SkillManager']CODE
LOWsrc/langbot/pkg/platform/adapters/kook/__init__.py5__all__ = ['KookAdapter']CODE
LOWsrc/langbot/pkg/platform/adapters/kook/errors.py13__all__ = ['NotSupportedError']CODE
LOWsrc/langbot/pkg/platform/adapters/discord/__init__.py5__all__ = ['DiscordAdapter']CODE
LOWsrc/langbot/pkg/platform/adapters/aiocqhttp/__init__.py5__all__ = ['AiocqhttpAdapter']CODE
LOWsrc/langbot/pkg/platform/adapters/aiocqhttp/api_impl.py137 async def set_group_name(self, group_id: typing.Union[int, str], name: str) -> None:CODE
LOW…gbot/pkg/platform/adapters/officialaccount/__init__.py5__all__ = ['OfficialAccountAdapter']CODE
LOWsrc/langbot/pkg/platform/adapters/wecomcs/__init__.py5__all__ = ['WecomCSAdapter']CODE
LOWsrc/langbot/pkg/platform/adapters/telegram/__init__.py3__all__ = ['TelegramAdapter']CODE
LOW…ot/pkg/platform/adapters/telegram/message_converter.py5__all__ = ['TelegramMessageConverter']CODE
LOWsrc/langbot/pkg/platform/adapters/slack/__init__.py5__all__ = ['SlackAdapter']CODE
LOW…c/langbot/pkg/platform/adapters/qqofficial/__init__.py5__all__ = ['QQOfficialAdapter']CODE
LOW…c/langbot/pkg/platform/sources/web_page_bot_adapter.py35 def set_ws_adapter(self, ws_adapter) -> None:CODE
LOWsrc/langbot/pkg/platform/sources/websocket_adapter.py22logger = logging.getLogger(__name__)CODE
LOWsrc/langbot/pkg/platform/sources/http_bot.py129 def set_bot_uuid(self, bot_uuid: str) -> None:CODE
LOWsrc/langbot/pkg/platform/sources/websocket_manager.py14logger = logging.getLogger(__name__)CODE
LOWsrc/langbot/pkg/workspace/__init__.py14__all__ = [CODE
LOWsrc/langbot/pkg/agent/__init__.py21__all__ = [CODE
LOWsrc/langbot/pkg/agent/runner/platform_tools.py878__all__ = [CODE
LOWsrc/langbot/pkg/agent/runner/__init__.py37__all__ = [CODE
LOWsrc/langbot/pkg/agent/runner/session_registry.py255 async def update_activity(self, run_id: str) -> None:CODE
LOWsrc/langbot/pkg/cloud/__init__.py30__all__ = [CODE
LOWsrc/langbot/pkg/persistence/mgr.py329 def set_oss_tenant_scope(conn: sqlalchemy.Connection) -> None:CODE
LOWsrc/langbot/pkg/persistence/mgr.py357 def set_sqlite_pragma(dbapi_connection, _connection_record) -> None:CODE
LOW…/alembic/versions/0008_add_mcp_resource_preferences.py52def _update_preferences(conn: sa.Connection, uuid: str, preferences: dict[str, Any]) -> None:CODE
LOWsrc/langbot/pkg/api/mcp/__init__.py14__all__ = ['LangBotMCPServer']CODE
LOW…gbot/pkg/api/http/controller/groups/pipelines/embed.py28logger = logging.getLogger(__name__)CODE
LOW…api/http/controller/groups/pipelines/websocket_chat.py21logger = logging.getLogger(__name__)CODE
LOWsrc/langbot/pkg/api/http/service/totp.py723__all__ = [CODE
LOWsrc/langbot/pkg/api/http/service/user.py230 async def _update_space_provider_for_account(self, account: typing.Any, api_key: str) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/user.py891 async def set_password(self, user_email: str, new_password: str, current_password: str | None = None) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/provider.py154 async def update_provider(self, context: TenantContext, provider_uuid: str, provider_data: dict) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/provider.py389 async def update_space_model_provider_api_keys(self, context: TenantContext, api_key: str) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/model.py214 async def set_starred_model(self, context: TenantContext, model_uuid: str | None) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/bot.py714 async def update_bot(self, context: TenantContext, bot_uuid: str, bot_data: dict) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/mcp.py317 async def update_mcp_server(self, context: TenantContext, server_uuid: str, server_data: dict) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/pipeline.py214 async def update_pipeline(self, context: TenantContext, pipeline_uuid: str, pipeline_data: dict) -> None:CODE
LOWsrc/langbot/pkg/api/http/service/agent.py475 async def update_agent(self, context: TenantContext, agent_uuid: str, agent_data: dict) -> None:CODE
LOWsrc/langbot/pkg/operation_trace/service.py52logger = logging.getLogger(__name__)CODE
LOWsrc/langbot/pkg/operation_trace/__init__.py26__all__ = ['service', 'routes']CODE
LOWsrc/langbot/pkg/vector/filter_utils.py21logger = logging.getLogger(__name__)CODE
Redundant / Tautological Comments39 hits · 58 pts
SeverityFileLineSnippetContext
LOWrun_tests.sh15# Check if pytest is installedCOMMENT
LOWdocker/deploy-k8s-test.sh20# Check if kubectl can connect to a clusterCOMMENT
LOWtests/unit_tests/api/service/test_mcp_service.py735 # Set mcp_tool_loader to None, not tool_mgr itselfCOMMENT
LOWtests/e2e/utils/process_manager.py86 # Set COVERAGE_PROCESS_START to enable coverage in subprocessCOMMENT
LOWtests/e2e/utils/process_manager.py139 # Check if process diedSTRING
LOWsrc/langbot/pkg/pipeline/monitoring_helper.py133 # Check if session exists, if not, record session startCOMMENT
LOWsrc/langbot/pkg/core/stages/load_config.py161 # Check if the environment variable is uppercase and contains __COMMENT
LOWsrc/langbot/pkg/platform/webhook_pusher.py117 # Check if any webhook responded with skip_pipeline=trueCOMMENT
LOWsrc/langbot/pkg/platform/webhook_pusher.py168 # Check if any webhook responded with skip_pipeline=trueCOMMENT
LOWsrc/langbot/pkg/platform/sources/kook.py370 # Check if this is a message eventCOMMENT
LOWsrc/langbot/pkg/platform/sources/qqofficial.py36 # Check if it looks like base64 (only valid chars, reasonable length)COMMENT
LOWsrc/langbot/pkg/platform/sources/line.py296 # Check if signature header existsCOMMENT
LOWsrc/langbot/pkg/platform/sources/satori.py319 # Check if it's a private/direct messageCOMMENT
LOWsrc/langbot/pkg/platform/sources/satori.py322 # Check if it's a group messageCOMMENT
LOWsrc/langbot/pkg/platform/sources/satori.py731 # Check if it's a private/direct messageCOMMENT
LOWsrc/langbot/pkg/platform/sources/satori.py735 # Check if it's a group messageCOMMENT
LOWsrc/langbot/pkg/platform/sources/aiocqhttp.py568 # Check if message contains a Forward componentCOMMENT
LOWsrc/langbot/pkg/plugin/handler.py2403 # Read file from storageCOMMENT
LOW…/langbot/pkg/provider/tools/loaders/skill_authoring.py35 # Check if sandbox backend is available (same check as native tools)COMMENT
LOWsrc/langbot/pkg/agent/runner/persistent_state_store.py221 # Check if state is disabledCOMMENT
LOWsrc/langbot/pkg/agent/runner/persistent_state_store.py229 # Check if scope is enabledCOMMENT
LOW…persistence/alembic/versions/0003_add_rerank_models.py18 # Check if table already exists (may have been created by create_all())COMMENT
LOWsrc/langbot/pkg/api/http/controller/groups/user.py272 # Check if password change is allowedCOMMENT
LOWsrc/langbot/pkg/api/http/controller/groups/user.py513 # Check if modifying login info is allowedCOMMENT
LOWsrc/langbot/pkg/api/http/controller/groups/user.py538 # Check if modifying login info is allowedCOMMENT
LOWsrc/langbot/pkg/api/http/service/user.py429 # Check if this user has a local password setCOMMENT
LOWsrc/langbot/pkg/api/http/service/user.py703 # Check if user with this Space UUID already existsCOMMENT
LOWsrc/langbot/pkg/api/http/service/user.py722 # Check if user with same email existsCOMMENT
LOWsrc/langbot/pkg/api/http/service/user.py732 # Check if system is already initializedCOMMENT
LOWsrc/langbot/pkg/api/http/service/user.py963 # Check if this Space account is already bound to another userCOMMENT
LOWsrc/langbot/pkg/api/http/service/monitoring.py828 # Check if any rows were updatedCOMMENT
LOWsrc/langbot/pkg/api/http/service/space.py78 # Check if token is expired (with 60s buffer)COMMENT
LOWsrc/langbot/pkg/vector/vdbs/milvus.py146 # Check if collection existsCOMMENT
LOWsrc/langbot/pkg/vector/vdbs/milvus.py421 # Check if collection exists before attempting deletionCOMMENT
LOWsrc/langbot/pkg/vector/vdbs/seekdb.py63 # Check if database exists using public APICOMMENT
LOWsrc/langbot/pkg/vector/vdbs/seekdb.py136 # Check if collection existsCOMMENT
LOWsrc/langbot/pkg/vector/vdbs/seekdb.py264 # Check if collection existsCOMMENT
LOWsrc/langbot/pkg/vector/vdbs/seekdb.py379 # Check if collection existsCOMMENT
LOWsrc/langbot/pkg/vector/vdbs/seekdb.py495 # Check if collection existsCOMMENT
Over-Commented Block50 hits · 45 pts
SeverityFileLineSnippetContext
LOWdocker/docker-compose.yaml41 # LANGBOT_BOX_ROOT with an absolute path if you do not want the default.COMMENT
LOWdocker/kubernetes.yaml1# Kubernetes Deployment for LangBotCOMMENT
LOWdocker/kubernetes.yaml221#COMMENT
LOWdocker/kubernetes.yaml581# name: langbot-ingressCOMMENT
LOWdocker/kubernetes.yaml601# # tls:COMMENT
LOWdocker/kubernetes.yaml621# ports:COMMENT
LOWdocker/kubernetes.yaml641# labels:COMMENT
LOWweb/src/i18n/I18nProvider.tsx41// 工具函数:将 i18n 语言代码转换为 API 语言代码COMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py141 # Stream session info for feedback trackingCOMMENT
LOWsrc/langbot/templates/config.yaml1api:COMMENT
LOWsrc/langbot/templates/config.yaml61 # occupied instead of retaining an unbounded queue of webhook tasks.COMMENT
LOWsrc/langbot/templates/config.yaml281 max_installations: 10000COMMENT
LOWsrc/langbot/templates/config.yaml301 # effect outside the cloud edition. Defaults to on for the cloudCOMMENT
LOWsrc/langbot/templates/config.yaml321 # - runtime:adminCOMMENT
LOWsrc/langbot/templates/config.yaml361 # Master switch for the Box sandbox runtime. When false, LangBot does NOTCOMMENT
LOWsrc/langbot/templates/config.yaml441 oauth_authorize_url: 'https://space.langbot.app/auth/authorize'COMMENT
LOWsrc/langbot/templates/metadata/pipeline/ai.yaml41 # Runner config stages are dynamically added from RunnerRegistryCOMMENT
LOWsrc/langbot/pkg/box/service.py761 if tenant_workspace is not None:COMMENT
LOWsrc/langbot/pkg/box/service.py781 # Transfer prefers DIRECT HOST FILESYSTEM access to the bind-mountedCOMMENT
LOWsrc/langbot/pkg/entity/dto/space_model.py1# [COMMENT
LOWsrc/langbot/pkg/entity/dto/space_model.py21# "output_credits": 2500,COMMENT
LOWsrc/langbot/pkg/platform/sources/openclaw_weixin.py141 # if item.voice_item.text:COMMENT
LOWsrc/langbot/pkg/platform/sources/openclaw_weixin.py161 # TODO: enable after full testingCOMMENT
LOWsrc/langbot/pkg/platform/sources/openclaw_weixin.py181COMMENT
LOWsrc/langbot/pkg/platform/sources/openclaw_weixin.py621 # TODO: enable after full testingCOMMENT
LOWsrc/langbot/pkg/platform/sources/dingtalk.py481 bot_account_id: strCOMMENT
LOWsrc/langbot/pkg/platform/sources/dingtalk.py501 active_turn_text: dictCOMMENT
LOWsrc/langbot/pkg/platform/sources/qqofficial.py221 self._ws_task: asyncio.Task = NoneCOMMENT
LOWsrc/langbot/pkg/provider/tools/loaders/mcp_stdio.py321 f'process_id={self.process_id} (transport reconnect)'COMMENT
LOW…g/persistence/alembic/versions/0013_tenant_pgvector.py321 if 'knowledge_bases' not in sa.inspect(conn).get_table_names():COMMENT
LOW…angbot/pkg/persistence/alembic/versions/0002_sample.py21def upgrade() -> None:COMMENT
LOW…angbot/pkg/persistence/alembic/versions/0002_sample.py41 # {"cfg": json.dumps(config), "uuid": row[0]}COMMENT
LOWsrc/langbot/pkg/command/operators/list.py1# from __future__ import annotationsCOMMENT
LOWsrc/langbot/pkg/command/operators/list.py21# returnCOMMENT
LOWsrc/langbot/pkg/command/operators/list.py41# index += 1COMMENT
LOWsrc/langbot/pkg/command/operators/delc.py1# from __future__ import annotationsCOMMENT
LOWsrc/langbot/pkg/command/operators/delc.py21# returnCOMMENT
LOWsrc/langbot/pkg/command/operators/delc.py41# class DelAllOperator(operator.CommandOperator):COMMENT
LOWsrc/langbot/pkg/command/operators/resend.py1# from __future__ import annotationsCOMMENT
LOWsrc/langbot/pkg/command/operators/resend.py21# while len(conv_msg) > 0 and conv_msg[-1].role != 'user':COMMENT
LOWsrc/langbot/pkg/command/operators/last.py1# from __future__ import annotationsCOMMENT
LOWsrc/langbot/pkg/command/operators/last.py21# error=command_errors.CommandOperationError('已经是第一个对话了')COMMENT
LOWsrc/langbot/pkg/command/operators/prompt.py1# from __future__ import annotationsCOMMENT
LOWsrc/langbot/pkg/command/operators/next.py1# from __future__ import annotationsCOMMENT
LOWsrc/langbot/pkg/command/operators/next.py21# )COMMENT
LOWsrc/langbot/pkg/operation_trace/service.py121#: row's HMAC is the expensive part of the read path, so a result computedCOMMENT
LOWsrc/langbot/pkg/operation_trace/service.py581# the lowered route (a tuple expresses an AND, which letsCOMMENT
LOWsrc/langbot/pkg/operation_trace/service.py621 (('/extensions',), 'view', 'pipeline_extensions_update', None, 'view'),COMMENT
LOWsrc/langbot/pkg/operation_trace/service.py1181 # Verification cache keyed by (Workspace UUID, listing filters). TheCOMMENT
LOWsrc/langbot/pkg/vector/vdbs/valkey_search.py81# paginate through the full result set in batches of this size so thatCOMMENT
Docstring Block Structure9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHdocs/event-based-agents/02-platform-api.md360调用适配器特有 API Args: action: 平台特有的 API 动作标识 params: 参数字典 Returns: dicSTRING
HIGHsrc/langbot/libs/openclaw_weixin_api/client.py592Complete QR code login flow with auto-retry on expiry. Args: max_retries: Max number of QR code refSTRING
HIGHsrc/langbot/pkg/platform/sources/discord.py196 加入语音频道 验证用户权限和频道状态后,建立到指定语音频道的连接。 支持连接复用和自动重连机制。 @author: @ydzat Args: STRING
HIGHsrc/langbot/pkg/platform/sources/discord.py970 加入语音频道 为指定服务器的语音频道建立连接,支持用户权限验证和连接复用。 @author: @ydzat @version: 1.0 @since: 2STRING
HIGHsrc/langbot/pkg/plugin/connector.py2618Parse a plugin ID string into (author, name). Args: plugin_id: Plugin ID in 'author/name' format. STRING
HIGHsrc/langbot/pkg/utils/image.py60从gewechat服务器获取图片并转换为base64格式 Args: gewechat_url (str): gewechat服务器地址(用于获取图片URL) gewechat_file_url (STRING
HIGHsrc/langbot/pkg/agent/runner/id.py23Parse runner ID string into components. Args: runner_id: Runner ID in format 'plugin:author/plugin_name/runSTRING
HIGHsrc/langbot/pkg/agent/runner/registry.py228Get a specific runner descriptor. Args: runner_id: Runner ID to lookup bound_plugins: OSTRING
HIGHsrc/langbot/pkg/agent/runner/result_normalizer.py76Normalize RunnerResult to Message or MessageChunk. Args: result_dict: Raw result dict from plugin rSTRING
Modern AI Meta-Vocabulary15 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMARCHITECTURE.md57│ │ ├── agent/ # Agent/Runner orchestration and run stateCODE
MEDIUMARCHITECTURE.md142## Agents, Providers, RAG, and ToolsCOMMENT
MEDIUMtests/README.md101│ ├── rag/ # RAG testsCODE
MEDIUMtests/unit_tests/provider/test_litellmchat.py1351 # Check embedding model is detectedCOMMENT
MEDIUMtests/unit_tests/rag/test_kbmgr.py361# Preserve the complete pre-tenancy RAG manager regression matrix. EveryCOMMENT
MEDIUMtests/integration/api/test_knowledge.py130 # RAG managerCOMMENT
MEDIUMdocs/multi-tenant/implementation-checklist.md189### MCP, RAG, and BoxCOMMENT
MEDIUM…s/langbot-testing/references/langrag-knowledge-base.md76## Local-Agent RAG CheckCOMMENT
MEDIUM⚡src/langbot/libs/wecom_ai_bot_api/ws_client.py969 # processes the message (e.g. RAG retrieval).COMMENT
MEDIUMsrc/langbot/pkg/core/stages/build_app.py186 # across model/platform/pipeline/RAG/plugin initialization insteadCOMMENT
MEDIUMsrc/langbot/pkg/core/stages/build_app.py293 # Initialize RAG Runtime Service for pluginsCOMMENT
MEDIUMsrc/langbot/pkg/entity/persistence/rag.py18 # New fields for plugin-based RAGCOMMENT
MEDIUMsrc/langbot/pkg/plugin/handler.py2120 # ================= RAG Capability Handlers =================COMMENT
MEDIUMsrc/langbot/pkg/plugin/handler.py3245 # ================= RAG Capability Callers (LangBot -> Runtime) =================COMMENT
MEDIUMsrc/langbot/pkg/vector/vdbs/valkey_search.py59# Fixed, indexed metadata schema. LangBot's RAG layer stores ``file_id`` onCOMMENT
Verbosity Indicators25 hits · 40 pts
SeverityFileLineSnippetContext
LOW⚡…p/home/knowledge/components/kb-docs/FileUploadZone.tsx86 // Step 1: Upload file to serverCOMMENT
LOW⚡…p/home/knowledge/components/kb-docs/FileUploadZone.tsx89 // Step 2: Associate file with knowledge base (with optional parser)COMMENT
LOWweb/src/app/wizard/page.tsx1303// Step 0: Select PlatformCOMMENT
LOWweb/src/app/wizard/page.tsx1483// Step 1: Bot Configuration + LogsCOMMENT
LOWweb/src/app/wizard/page.tsx1872// Step 2: Select & Configure AI EngineCOMMENT
LOWweb/src/app/wizard/page.tsx2468// Step 3: DoneCOMMENT
LOW⚡tests/unit_tests/agent/test_handler_auth.py1575 # Step 2: Handler would invoke LLM (not tested here, would need mock model)COMMENT
LOWtests/unit_tests/agent/test_handler_auth.py1562 # Step 1: Validate authorizationCOMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py561 # Step 1: init.COMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py587 # Step 2: chunks.COMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py607 # Step 3: finish.COMMENT
LOWsrc/langbot/libs/dify_service_api/v1/client.py235 # Step 1: Submit the formCOMMENT
LOWsrc/langbot/libs/dify_service_api/v1/client.py253 # Step 2: Stream resumed workflow eventsCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py632 # Step 1: Init — get nonceCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py649 # Step 2: Begin — get device_code + QR URLCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py676 # Step 3: Poll for authorization resultCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py848 # Step 1: Generate QR codeCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py871 # Step 2: Poll for scan resultCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py1045 # Step 1: create_bind_task — register our AES key, get task_idCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py1079 # Step 2: poll_bind_result until completed (status=2) or expired (3).COMMENT
LOW…/pkg/api/http/controller/groups/knowledge/migration.py226 # Step 1: Install all required plugins from marketplaceCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py244 # Step 2: Wait for all plugins to become available as knowledge enginesCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py281 # Step 3: Restore internal knowledge bases from backupCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py334 # Step 4: Restore external knowledge basesCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py416 # Step 5: Clear migration flagCOMMENT
Structural Annotation Overuse25 hits · 39 pts
SeverityFileLineSnippetContext
LOW⚡…p/home/knowledge/components/kb-docs/FileUploadZone.tsx86 // Step 1: Upload file to serverCOMMENT
LOW⚡…p/home/knowledge/components/kb-docs/FileUploadZone.tsx89 // Step 2: Associate file with knowledge base (with optional parser)COMMENT
LOWweb/src/app/wizard/page.tsx1303// Step 0: Select PlatformCOMMENT
LOWweb/src/app/wizard/page.tsx1483// Step 1: Bot Configuration + LogsCOMMENT
LOWweb/src/app/wizard/page.tsx1872// Step 2: Select & Configure AI EngineCOMMENT
LOWweb/src/app/wizard/page.tsx2468// Step 3: DoneCOMMENT
LOW⚡tests/unit_tests/agent/test_handler_auth.py1575 # Step 2: Handler would invoke LLM (not tested here, would need mock model)COMMENT
LOWtests/unit_tests/agent/test_handler_auth.py1562 # Step 1: Validate authorizationCOMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py561 # Step 1: init.COMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py587 # Step 2: chunks.COMMENT
LOWsrc/langbot/libs/wecom_ai_bot_api/ws_client.py607 # Step 3: finish.COMMENT
LOWsrc/langbot/libs/dify_service_api/v1/client.py235 # Step 1: Submit the formCOMMENT
LOWsrc/langbot/libs/dify_service_api/v1/client.py253 # Step 2: Stream resumed workflow eventsCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py632 # Step 1: Init — get nonceCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py649 # Step 2: Begin — get device_code + QR URLCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py676 # Step 3: Poll for authorization resultCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py848 # Step 1: Generate QR codeCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py871 # Step 2: Poll for scan resultCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py1045 # Step 1: create_bind_task — register our AES key, get task_idCOMMENT
LOW…ot/pkg/api/http/controller/groups/platform/adapters.py1079 # Step 2: poll_bind_result until completed (status=2) or expired (3).COMMENT
LOW…/pkg/api/http/controller/groups/knowledge/migration.py226 # Step 1: Install all required plugins from marketplaceCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py244 # Step 2: Wait for all plugins to become available as knowledge enginesCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py281 # Step 3: Restore internal knowledge bases from backupCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py334 # Step 4: Restore external knowledge basesCOMMENT
LOW⚡…/pkg/api/http/controller/groups/knowledge/migration.py416 # Step 5: Clear migration flagCOMMENT
AI Structural Patterns46 hits · 36 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/agent/conftest.py77CODE
LOWtests/unit_tests/agent/test_state_store.py60CODE
LOWtests/unit_tests/agent/test_run_ledger_api_auth.py124CODE
LOWtests/unit_tests/api/service/test_bot_service.py27CODE
LOWscripts/build_dingtalk_card_template.py275CODE
LOWsrc/langbot/libs/dingtalk_api/api.py770CODE
LOWsrc/langbot/libs/qq_official_api/api.py922CODE
LOWsrc/langbot/pkg/box/workspace.py286CODE
LOWsrc/langbot/pkg/core/taskmgr.py118CODE
LOWsrc/langbot/pkg/core/taskmgr.py286CODE
LOWsrc/langbot/pkg/core/taskmgr.py324CODE
LOWsrc/langbot/pkg/plugin/handler.py2927CODE
LOWsrc/langbot/pkg/plugin/handler.py3133CODE
LOWsrc/langbot/pkg/plugin/handler.py3228CODE
LOWsrc/langbot/pkg/plugin/handler.py3243CODE
LOWsrc/langbot/pkg/plugin/handler.py3256CODE
LOWsrc/langbot/pkg/plugin/handler.py3275CODE
LOWsrc/langbot/pkg/plugin/handler.py3284CODE
LOWsrc/langbot/pkg/plugin/handler.py3331CODE
LOWsrc/langbot/pkg/agent/runner/run_ledger_store.py103CODE
LOWsrc/langbot/pkg/agent/runner/run_ledger_store.py158CODE
LOWsrc/langbot/pkg/agent/runner/run_ledger_store.py465CODE
LOWsrc/langbot/pkg/agent/runner/run_ledger_store.py639CODE
LOWsrc/langbot/pkg/agent/runner/resource_policy.py15CODE
LOWsrc/langbot/pkg/agent/runner/transcript_store.py54CODE
LOWsrc/langbot/pkg/agent/runner/transcript_store.py125CODE
LOWsrc/langbot/pkg/agent/runner/event_log_store.py52CODE
LOWsrc/langbot/pkg/agent/runner/event_log_store.py180CODE
LOWsrc/langbot/pkg/agent/runner/interaction_store.py106CODE
LOWsrc/langbot/pkg/agent/runner/session_registry.py103CODE
LOWsrc/langbot/pkg/rag/knowledge/kbmgr.py731CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py529CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py639CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py1531CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py1959CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py2039CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py2104CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py2334CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py2422CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py3186CODE
LOWsrc/langbot/pkg/api/http/service/monitoring.py3394CODE
LOWsrc/langbot/pkg/telemetry/execution.py237CODE
LOWsrc/langbot/pkg/telemetry/resources.py122CODE
LOWsrc/langbot/pkg/operation_trace/service.py1540CODE
LOWsrc/langbot/pkg/operation_trace/service.py1919CODE
LOWsrc/langbot/pkg/vector/vdbs/pgvector_db.py113CODE
Fake / Example Data32 hits · 34 pts
SeverityFileLineSnippetContext
LOWweb/tests/e2e/login.spec.ts16 await page.getByPlaceholder('Enter email address').fill('admin@example.com');CODE
LOWweb/tests/e2e/login.spec.ts77 await page.getByPlaceholder('Enter email address').fill('admin@example.com');CODE
LOWweb/tests/e2e/reasoning-edit-semantics.spec.ts277 user: 'admin@example.com',CODE
LOW…c/app/home/components/home-sidebar/FeedbackPopover.tsx137 placeholder={tf('placeholder')}CODE
LOWtests/unit_tests/box/test_box_service.py1557 spec = BoxSpec.model_validate({'cmd': 'placeholder', 'session_id': 'r-create-1'})CODE
LOWtests/unit_tests/platform/test_lark_eba_adapter.py391 'placeholder': 'Explain the decision',CODE
LOWtests/unit_tests/platform/test_dingtalk_eba_adapter.py403 'placeholder': 'Explain the decision',CODE
LOWtests/unit_tests/platform/test_discord_eba_adapter.py194def fake_user(user_id=123, name='user', bot=False):CODE
LOWtests/unit_tests/platform/test_discord_eba_adapter.py225 author = author if author is not None else fake_user()CODE
LOWtests/unit_tests/platform/test_discord_eba_adapter.py263 reaction_event = DiscordEventConverter.reaction_to_eba(reaction, fake_user(321, 'reactor'), True)CODE
LOW⚡tests/unit_tests/platform/test_discord_eba_adapter.py285 member=fake_user(41, 'member'),CODE
LOW⚡tests/unit_tests/platform/test_discord_eba_adapter.py297 **fake_user(123, 'member').__dict__,CODE
LOW⚡tests/unit_tests/api/test_user_reset_password.py133 user_obj = SimpleNamespace(uuid='user-uuid', user='admin@example.com')CODE
LOW⚡tests/unit_tests/api/test_user_reset_password.py156 return {'user': 'admin@example.com', 'recovery_key': key, 'new_password': 'NewPass1!'}CODE
LOW⚡tests/unit_tests/api/test_user_reset_password.py168 reset_password.assert_awaited_once_with('admin@example.com', 'NewPass1!')CODE
LOW⚡tests/unit_tests/api/test_user_reset_password.py191 json={'user': 'admin@example.com', 'recovery_key': 12345, 'new_password': 'NewPass1!'},CODE
LOW⚡tests/unit_tests/api/test_user_reset_password.py205 json={'user': 'admin@example.com', 'recovery_key': key, 'new_password': 'NewPass1!'},CODE
LOWtests/unit_tests/api/service/test_user_passkey.py27 user_email='user@example.com',CODE
LOWtests/unit_tests/api/service/test_user_passkey.py38 assert data.user_email == 'user@example.com'CODE
LOWtests/integration/api/test_smoke.py98 app.user_service.authenticate = AsyncMock(return_value='fake_token')CODE
LOWtests/integration/api/test_smoke.py102 app.user_service.generate_jwt_token = AsyncMock(return_value='fake_token')CODE
LOWtests/integration/api/test_user_passkey_api.py105 return_value=('jwt_token_abc', Mock(user='user@example.com'))CODE
LOW⚡tests/integration/api/test_user_passkey_api.py117 assert data['data']['user'] == 'user@example.com'CODE
LOWtests/e2e/test_local_runner_fake_provider.py372 api_keys=['fake-key'],CODE
LOWscripts/build_dingtalk_card_template.py158 'placeholder': _dynamic_string_var('input_placeholder'),CODE
LOWscripts/build_dingtalk_card_template.py221 'placeholder': _dynamic_string_var('select_placeholder'),CODE
LOW…/langbot/pkg/platform/adapters/dingtalk/interaction.py40 placeholder = str(field.get('placeholder') or label)CODE
LOWsrc/langbot/pkg/platform/adapters/lark/interaction.py64 field.get('placeholder')CODE
LOWsrc/langbot/pkg/platform/adapters/lark/interaction.py87 'placeholder': {'tag': 'plain_text', 'content': placeholder},CODE
LOWsrc/langbot/pkg/platform/adapters/lark/interaction.py101 'placeholder': {'tag': 'plain_text', 'content': placeholder},CODE
LOWsrc/langbot/pkg/platform/sources/lark.py2494 'placeholder': {'tag': 'plain_text', 'content': '请选择'},CODE
LOWsrc/langbot/pkg/platform/sources/lark.py2528 'placeholder': {'tag': 'plain_text', 'content': '请输入'},CODE
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHweb/tests/e2e/wizard-platform-regressions.spec.ts568 default: 'your-api-key',CODE
HIGH…ponents/api-integration-dialog/ApiIntegrationPanel.tsx494 {`X-API-Key: <your-api-key>CODE
HIGH…ponents/api-integration-dialog/ApiIntegrationPanel.tsx496Authorization: Bearer <your-api-key>`}CODE
HIGH…ponents/api-integration-dialog/ApiIntegrationPanel.tsx512 "headers": { "X-API-Key": "<your-api-key>" }CODE
AI Slop Vocabulary7 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMweb/src/app/home/layout.tsx59// Map a /home route to the i18n key for its type-level title. Used as a robustCOMMENT
MEDIUMtests/unit_tests/utils/test_paths.py37 # ``main.py`` instead of relying on the cwd. That makes it robust to whereCOMMENT
LOWtests/unit_tests/api/service/test_pipeline_service.py448 # First call is the UPDATE - just return a MockCOMMENT
LOWsrc/langbot/pkg/platform/sources/kook.py168 # If download fails, just add as plain textCOMMENT
LOWsrc/langbot/pkg/platform/sources/kook.py187 # Other message types, just use content as plain textCOMMENT
LOWsrc/langbot/pkg/platform/sources/telegram.py396 # If edit fails (e.g. message too long), just passCOMMENT
MEDIUMsrc/langbot/pkg/api/http/service/model.py51 # makes the serializer robust to a reused/self-referential test double.COMMENT
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit_tests/pipeline/test_chat_handler.py399CODE
MEDIUMtests/unit_tests/pipeline/test_chat_handler.py452CODE
MEDIUMtests/unit_tests/pipeline/test_chat_handler.py502CODE
MEDIUM…sts/unit_tests/platform/test_botmgr_execution_trace.py367CODE
Overly Generic Function Names8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/platform/test_wecomcs_api.py13 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWsrc/langbot/libs/official_account_api/api.py258 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
LOWsrc/langbot/libs/official_account_api/api.py536 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
LOWsrc/langbot/libs/wecom_ai_bot_api/api.py2285 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
LOWsrc/langbot/libs/wecom_customer_service_api/api.py470 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
LOWsrc/langbot/libs/wecom_api/api.py406 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
LOWsrc/langbot/libs/slack_api/api.py221 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
LOW⚡src/langbot/libs/qq_official_api/api.py311 async def run_task(self, host: str, port: int, *args, **kwargs):CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackaging/fnos/build.sh4# Usage:COMMENT
LOWdocker/kubernetes.yaml6# Usage:COMMENT