Repository Analysis

1Panel-dev/MaxKB

🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

10.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of 1Panel-dev/MaxKB, a Python project with 22,084 GitHub stars. SynthScan v2.0 examined 243,067 lines of code across 1941 source files, recording 1605 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 10.2 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

10.2
Adjusted Score
10.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
22.1K
Stars
Python
Language
243.1K
Lines of Code
1.9K
Files
1.6K
Pattern Hits
2026-07-14
Scan Date
0.09
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 7HIGH 169MEDIUM 57LOW 1372

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 1605 distinct pattern matches across 15 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.

Cross-File Repetition167 hits · 835 pts
SeverityFileLineSnippetContext
HIGHapps/tools/serializers/tool.py0加密敏感字段数据 加密方式是 如果密码是 1234567890 那么给前端则是 123******890 :param message: :return:STRING
HIGHapps/models_provider/base_model_provider.py0加密敏感字段数据 加密方式是 如果密码是 1234567890 那么给前端则是 123******890 :param message: :return:STRING
HIGHapps/common/utils/common.py0加密敏感字段数据 加密方式是 如果密码是 1234567890 那么给前端则是 123******890 :param message: :return:STRING
HIGHapps/tools/views/tool_workflow_version.py0@project: maxkb @author:虎虎 @file: application_version.py.py @date:2025/6/3 15:46 @desc:STRING
HIGHapps/knowledge/views/knowledge_workflow_version.py0@project: maxkb @author:虎虎 @file: application_version.py.py @date:2025/6/3 15:46 @desc:STRING
HIGHapps/application/views/application_version.py0@project: maxkb @author:虎虎 @file: application_version.py.py @date:2025/6/3 15:46 @desc:STRING
HIGH…er/impl/regolo_model_provider/regolo_model_provider.py0@project: maxkb @author:虎 @file: openai_model_provider.py @date:2024/3/28 16:26 @desc:STRING
HIGH…t_cloud_model_provider/tencent_cloud_model_provider.py0@project: maxkb @author:虎 @file: openai_model_provider.py @date:2024/3/28 16:26 @desc:STRING
HIGH…er/impl/openai_model_provider/openai_model_provider.py0@project: maxkb @author:虎 @file: openai_model_provider.py @date:2024/3/28 16:26 @desc:STRING
HIGH…conCloud_model_provider/siliconCloud_model_provider.py0@project: maxkb @author:虎 @file: openai_model_provider.py @date:2024/3/28 16:26 @desc:STRING
HIGH…l/anthropic_model_provider/anthropic_model_provider.py0@project: maxkb @author:虎 @file: openai_model_provider.py @date:2024/3/28 16:26 @desc:STRING
HIGH…models_provider/impl/regolo_model_provider/__init__.py0@project: maxkb @author:虎 @file: __init__.py.py @date:2024/3/28 16:25 @desc:STRING
HIGH…provider/impl/tencent_cloud_model_provider/__init__.py0@project: maxkb @author:虎 @file: __init__.py.py @date:2024/3/28 16:25 @desc:STRING
HIGH…models_provider/impl/openai_model_provider/__init__.py0@project: maxkb @author:虎 @file: __init__.py.py @date:2024/3/28 16:25 @desc:STRING
HIGH…els_provider/impl/docker_ai_model_provider/__init__.py0@project: maxkb @author:虎 @file: __init__.py.py @date:2024/3/28 16:25 @desc:STRING
HIGH…_provider/impl/siliconCloud_model_provider/__init__.py0@project: maxkb @author:虎 @file: __init__.py.py @date:2024/3/28 16:25 @desc:STRING
HIGH…els_provider/impl/anthropic_model_provider/__init__.py0@project: maxkb @author:虎 @file: __init__.py.py @date:2024/3/28 16:25 @desc:STRING
HIGH…der/impl/regolo_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…vider/impl/vllm_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…der/impl/openai_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…/impl/docker_ai_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…volcanic_engine_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…pl/siliconCloud_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…der/impl/gemini_model_provider/credential/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 16:45 @desc:STRING
HIGH…_provider/impl/regolo_model_provider/credential/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/7/11 18:32 @desc:STRING
HIGH…er/impl/tencent_cloud_model_provider/credential/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/7/11 18:32 @desc:STRING
HIGH…_provider/impl/openai_model_provider/credential/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/7/11 18:32 @desc:STRING
HIGH…ovider/impl/docker_ai_model_provider/credential/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/7/11 18:32 @desc:STRING
HIGH…der/impl/siliconCloud_model_provider/credential/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/7/11 18:32 @desc:STRING
HIGH…ovider/impl/anthropic_model_provider/credential/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/7/11 18:32 @desc:STRING
HIGH…provider/impl/regolo_model_provider/model/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 17:44 @desc:STRING
HIGH…s_provider/impl/vllm_model_provider/model/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 17:44 @desc:STRING
HIGH…provider/impl/openai_model_provider/model/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 17:44 @desc:STRING
HIGH…vider/impl/docker_ai_model_provider/model/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 17:44 @desc:STRING
HIGH…_provider/impl/azure_model_provider/model/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 17:44 @desc:STRING
HIGH…provider/impl/gemini_model_provider/model/embedding.py0@project: maxkb @author:虎 @file: embedding.py @date:2024/7/12 17:44 @desc:STRING
HIGH…odels_provider/impl/regolo_model_provider/model/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/4/18 15:28 @desc:STRING
HIGH…rovider/impl/tencent_cloud_model_provider/model/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/4/18 15:28 @desc:STRING
HIGH…odels_provider/impl/openai_model_provider/model/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/4/18 15:28 @desc:STRING
HIGH…ls_provider/impl/docker_ai_model_provider/model/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/4/18 15:28 @desc:STRING
HIGH…provider/impl/siliconCloud_model_provider/model/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/4/18 15:28 @desc:STRING
HIGH…ls_provider/impl/anthropic_model_provider/model/llm.py0@project: maxkb @author:虎 @file: llm.py @date:2024/4/18 15:28 @desc:STRING
HIGH…/aliyun_bai_lian_model_provider/credential/reranker.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/ttv.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/itv.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…provider/impl/minimax_model_provider/credential/ttv.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…provider/impl/minimax_model_provider/credential/itv.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…_provider/impl/gemini_model_provider/credential/ttv.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…_provider/impl/gemini_model_provider/credential/itv.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/tts.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/tti.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…provider/impl/minimax_model_provider/credential/tti.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…l/aliyun_bai_lian_model_provider/credential/stt/stt.py0validate the model credentials. :param model_type: type of the model (e.g., 'stt'). :param model_name: name of the modelSTRING
HIGH…/aliyun_bai_lian_model_provider/credential/reranker.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/ttv.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/tts.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/tti.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
HIGH…/impl/aliyun_bai_lian_model_provider/credential/itv.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
HIGH…l/aliyun_bai_lian_model_provider/credential/stt/stt.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
HIGH…provider/impl/minimax_model_provider/credential/ttv.py0encrypt sensitive fields in the model dictionary. :param model: dictionary containing model details. :return: dictionarySTRING
107 more matches not shown…
Hyper-Verbose Identifiers428 hits · 449 pts
SeverityFileLineSnippetContext
LOW…src/components/resource-authorization-drawer/index.vue261function filterHasPermissionFolderIds(folderIds: string[]) {CODE
LOWui/src/components/codemirror-editor/index.vue89function getRangeFromLineAndColumn(state: any, line: number, column: number, end_column?: number) {CODE
LOWui/src/components/resource_mapping/index.vue568function handleDependencySizeChange() {CODE
LOWui/src/workflow/nodes/base-node/index.vue483function submitLongTermSettingDialog(data: any) {CODE
LOWui/src/workflow/nodes/base-node/index.vue492function openLongTermParamSettingDialog() {CODE
LOWui/src/workflow/nodes/ai-chat-node/index.vue890function getApplicationSelectOptions() {CODE
LOWui/src/workflow/nodes/ai-chat-node/index.vue927function getSkillToolSelectOptions() {CODE
LOW…lication-overview/xpack-component/XPackLimitDrawer.vue282function generateAuthenticationValue(length: number = 10) {CODE
LOWui/src/views/home/component/QuickCreate.vue459function openCreateApplicationDialog(type?: string) {CODE
LOWui/src/views/home/component/QuickCreate.vue490function openCreateKnowledgeDialog(data: any) {CODE
LOWui/src/views/home/component/QuickCreate.vue592function openCreateDataSourceDialog() {CODE
LOW…c/views/knowledge/component/KnowledgeListContainer.vue780function openAuthorizedWorkspaceDialog(row: any) {CODE
LOWui/src/views/model/component/ModelCard.vue308function openAuthorizedWorkspaceDialog(row: any) {CODE
LOWui/src/views/application/index.vue541function openBatchClearStrategyDialog() {CODE
LOWui/src/views/application/ApplicationSetting.vue1101function submitNoReferencesPromptDialog(val: string) {CODE
LOWui/src/views/application/ApplicationSetting.vue1231function submitLongTermSettingDialog(data: any) {CODE
LOWui/src/views/application/ApplicationSetting.vue1304function getApplicationSelectOptions() {CODE
LOWui/src/views/application/ApplicationSetting.vue1369function getSkillToolSelectOptions() {CODE
LOW…views/system-resource-management/ToolResourceIndex.vue661function openCreateDataSourceDialog(data?: any) {CODE
LOW…views/system-resource-management/ToolResourceIndex.vue679function openCreateSkillToolDialog(data?: any) {CODE
LOWui/src/views/tool/component/ToolListContainer.vue791function openAuthorizedWorkspaceDialog(row: any) {CODE
LOWui/src/views/tool/component/ToolListContainer.vue891function openCreateDataSourceDialog(data?: any) {CODE
LOWapps/tools/serializers/tool_workflow.py61def is_valid_tool_workflow_circular_dependency(workflow, _id, visited=None, stack=None):CODE
LOWapps/tools/serializers/tool_workflow.py262 def get_tool_knowledge_mapping(application_knowledge_id_list, knowledge_id_list, tool_id):CODE
LOWapps/tools/serializers/tool_workflow.py478def update_resource_mapping_by_tool(tool_id: str, other_resource_mapping=None):CODE
LOWapps/tools/views/tool_workflow_version.py27def get_knowledge_operation_object(knowledge_id):CODE
LOWapps/tools/views/tool.py32def get_tool_operation_object(tool_id):CODE
LOWapps/tools/views/tool.py39def get_tool_operation_object_batch(tool_id_list):CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py29def _get_active_trigger_tasks(trigger_id: str) -> list[dict]:CODE
LOWapps/trigger/handler/impl/task/application_task.py82def get_application_execute_parameters(parameter_setting, application_parameters_setting, kwargs):CODE
LOWapps/trigger/handler/impl/task/application_task.py134def get_user_field_component_input_type(input_type):CODE
LOWapps/trigger/handler/impl/task/application_task.py142def get_application_parameters_setting(application):CODE
LOW…gger/handler/impl/task/tool_task/workflow_tool_task.py46def get_tool_execute_parameters(input_field_list, parameter_setting, kwargs):CODE
LOW…/trigger/handler/impl/task/tool_task/base_tool_task.py46def get_tool_execute_parameters(input_field_list, parameter_setting, kwargs):CODE
LOWapps/trigger/serializers/trigger.py77 def validate_api_input_field_list(self, value):CODE
LOWapps/trigger/serializers/trigger.py80 def validate_user_input_field_list(self, value):CODE
LOWapps/trigger/serializers/trigger.py100 def validate_user_input_field_list(self, value):CODE
LOWapps/trigger/serializers/trigger.py129 def _validate_non_empty_array(value, field_name):CODE
LOWapps/trigger/serializers/trigger.py165 def _validate_scheduled_setting(self, setting):CODE
LOWapps/trigger/serializers/trigger.py402 def batch_get_source_active_status(trigger_tasks: list) -> Dict[tuple, bool]:CODE
LOWapps/trigger/views/trigger.py34def get_trigger_operation_object(trigger_id):CODE
LOWapps/trigger/views/trigger.py42def get_trigger_operation_object_batch(trigger_id_list):CODE
LOWapps/models_provider/tools.py144def get_model_instance_by_model_workspace_id(model_id, workspace_id, **kwargs):CODE
LOWapps/models_provider/base_model_provider.py129 def get_model_params_setting_form(self, model_name):CODE
LOWapps/models_provider/base_model_provider.py213 def append_default_model_info(self, model_info: ModelInfo):CODE
LOWapps/models_provider/base_model_provider.py220 def get_model_list_by_model_type(self, model_type):CODE
LOWapps/models_provider/base_model_provider.py246 def append_default_model_info(self, model_info: ModelInfo):CODE
LOWapps/models_provider/impl/base_chat_open_ai.py27def _convert_delta_to_message_chunk(CODE
LOWapps/models_provider/impl/base_chat_open_ai.py92 def get_num_tokens_from_messages(CODE
LOWapps/models_provider/impl/base_chat_open_ai.py141 def _convert_chunk_to_generation_chunk(CODE
LOW…_provider/impl/regolo_model_provider/credential/llm.py78 def get_model_params_setting_form(self, model_name):CODE
LOW…_provider/impl/regolo_model_provider/credential/tti.py87 def get_model_params_setting_form(self, model_name):STRING
LOW…rovider/impl/regolo_model_provider/credential/image.py72 def get_model_params_setting_form(self, model_name):CODE
LOW…ovider/impl/vllm_model_provider/credential/reranker.py63 def get_model_params_setting_form(self, model_name: str) -> VllmRerankerModelParams:CODE
LOW…ls_provider/impl/vllm_model_provider/credential/llm.py71 def get_model_params_setting_form(self, model_name):CODE
LOW…der/impl/vllm_model_provider/credential/whisper_stt.py61 def get_model_params_setting_form(self, model_name):CODE
LOW…_provider/impl/vllm_model_provider/credential/image.py71 def get_model_params_setting_form(self, model_name):CODE
LOW…/models_provider/impl/vllm_model_provider/model/llm.py40 def get_num_tokens_from_messages(self, messages: List[BaseMessage]) -> int:CODE
LOW…odels_provider/impl/vllm_model_provider/model/image.py28 def get_num_tokens_from_messages(self, messages: List[BaseMessage]) -> int:CODE
LOW…/aliyun_bai_lian_model_provider/credential/reranker.py100 def get_model_params_setting_form(self, model_name: str) -> AliyunRerankerModelParams:CODE
368 more matches not shown…
Unused Imports415 hits · 415 pts
SeverityFileLineSnippetContext
LOWapps/tools/admin.py1CODE
LOWapps/tools/tests.py1CODE
LOWapps/tools/models/__init__.py3CODE
LOWapps/tools/models/__init__.py4CODE
LOWapps/tools/serializers/tool_workflow.py15CODE
LOWapps/tools/serializers/tool_workflow.py18CODE
LOWapps/tools/serializers/tool_workflow.py36CODE
LOWapps/tools/serializers/tool_workflow.py37CODE
LOWapps/tools/serializers/tool_workflow.py37CODE
LOWapps/tools/serializers/tool_workflow.py40CODE
LOWapps/tools/serializers/tool_workflow.py42CODE
LOWapps/tools/serializers/tool_workflow.py45CODE
LOWapps/tools/serializers/tool_workflow.py48CODE
LOWapps/tools/serializers/tool_workflow.py50CODE
LOWapps/tools/serializers/tool_workflow.py52CODE
LOWapps/tools/serializers/tool_workflow.py55CODE
LOWapps/tools/serializers/tool_workflow.py56CODE
LOWapps/tools/views/__init__.py1CODE
LOWapps/tools/views/__init__.py2CODE
LOWapps/tools/views/__init__.py3CODE
LOWapps/trigger/tasks.py3CODE
LOWapps/trigger/tasks.py6CODE
LOWapps/trigger/admin.py1CODE
LOWapps/trigger/tests.py1CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py2CODE
LOWapps/trigger/models/__init__.py9CODE
LOWapps/trigger/views/__init__.py9CODE
LOWapps/trigger/views/__init__.py10CODE
LOWapps/trigger/views/trigger.py15CODE
LOWapps/models_provider/admin.py1CODE
LOWapps/models_provider/tests.py1CODE
LOWapps/models_provider/impl/base_chat_open_ai.py11CODE
LOW…rovider/impl/regolo_model_provider/credential/image.py2CODE
LOW…rovider/impl/regolo_model_provider/credential/image.py3CODE
LOW…odels_provider/impl/regolo_model_provider/model/llm.py9CODE
LOW…odels_provider/impl/regolo_model_provider/model/llm.py11CODE
LOW…odels_provider/impl/regolo_model_provider/model/llm.py11CODE
LOW…odels_provider/impl/regolo_model_provider/model/llm.py12CODE
LOW…der/impl/vllm_model_provider/credential/whisper_stt.py2CODE
LOW…der/impl/vllm_model_provider/credential/whisper_stt.py6CODE
LOW…provider/impl/vllm_model_provider/model/whisper_sst.py1CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/ttv.py9CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/itv.py9CODE
LOW…yun_bai_lian_model_provider/credential/stt/__init__.py9CODE
LOW…yun_bai_lian_model_provider/credential/stt/__init__.py10CODE
LOW…yun_bai_lian_model_provider/credential/stt/__init__.py11CODE
LOW…yun_bai_lian_model_provider/credential/stt/__init__.py12CODE
LOW…/impl/aliyun_bai_lian_model_provider/model/reranker.py10CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py2CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py3CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py4CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py4CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py4CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py6CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py7CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py8CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py8CODE
LOW…der/impl/aliyun_bai_lian_model_provider/model/image.py9CODE
LOW…l/aliyun_bai_lian_model_provider/model/stt/__init__.py10CODE
LOW…l/aliyun_bai_lian_model_provider/model/stt/__init__.py11CODE
355 more matches not shown…
Excessive Try-Catch Wrapping377 hits · 409 pts
SeverityFileLineSnippetContext
LOWmain.py46 except Exception as e:CODE
LOWmain.py84 except Exception as exc:CODE
LOWapps/tools/serializers/tool_workflow.py375 except Exception as e:CODE
LOWapps/tools/serializers/tool_workflow.py473 except Exception as e:CODE
LOWapps/tools/serializers/tool.py166 except Exception as e:CODE
LOWapps/tools/serializers/tool.py498 except Exception as e:CODE
LOWapps/tools/serializers/tool.py610 except Exception as e:CODE
LOWapps/tools/serializers/tool.py831 except Exception as e:CODE
LOWapps/tools/serializers/tool.py1069 except Exception as e:CODE
LOWapps/tools/serializers/tool.py1091 except Exception as e:CODE
LOWapps/tools/serializers/tool.py1302 except Exception as e:CODE
LOWapps/tools/serializers/tool.py1372 except Exception as e:CODE
LOWapps/tools/serializers/tool.py1423 except Exception as e:CODE
LOWapps/tools/serializers/tool.py1624 except Exception as e:CODE
MEDIUMapps/tools/serializers/tool.py810def export(self):CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py44 except Exception:CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py75 except Exception:CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py82 except Exception:CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py116 except Exception:CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py123 except Exception:CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py179 except Exception:CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py209 except Exception as e:CODE
LOWapps/trigger/handler/impl/task/application_task.py38 except Exception:CODE
LOWapps/trigger/handler/impl/task/application_task.py249 except Exception as e:CODE
LOW…gger/handler/impl/task/tool_task/workflow_tool_task.py126 except Exception as e:CODE
LOW…/trigger/handler/impl/task/tool_task/base_tool_task.py142 except Exception as e:CODE
LOWapps/models_provider/impl/base_chat_open_ai.py108 except Exception as e:CODE
LOWapps/models_provider/impl/base_chat_open_ai.py121 except Exception as e:CODE
LOW…der/impl/regolo_model_provider/credential/embedding.py37 except Exception as e:CODE
LOW…_provider/impl/regolo_model_provider/credential/llm.py59 except Exception as e:CODE
LOW…_provider/impl/regolo_model_provider/credential/tti.py71 except Exception as e:STRING
LOW…rovider/impl/regolo_model_provider/credential/image.py56 except Exception as e:CODE
LOW…odels_provider/impl/regolo_model_provider/model/tti.py60 except Exception as e:CODE
LOW…ovider/impl/vllm_model_provider/credential/reranker.py46 except Exception as e:CODE
LOW…vider/impl/vllm_model_provider/credential/embedding.py36 except Exception as e:CODE
LOW…ls_provider/impl/vllm_model_provider/credential/llm.py41 except Exception as e:CODE
LOW…ls_provider/impl/vllm_model_provider/credential/llm.py50 except Exception as e:CODE
LOW…der/impl/vllm_model_provider/credential/whisper_stt.py42 except Exception as e:CODE
LOW…_provider/impl/vllm_model_provider/credential/image.py55 except Exception as e:CODE
LOW…provider/impl/vllm_model_provider/model/whisper_sst.py68 except Exception as err:CODE
LOW…/aliyun_bai_lian_model_provider/credential/reranker.py74 except Exception as e:CODE
LOW…aliyun_bai_lian_model_provider/credential/embedding.py72 except Exception as e:CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/ttv.py90 except Exception as e:CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/tts.py127 except Exception as e:CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/llm.py77 except Exception as e:CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/tti.py114 except Exception as e:CODE
LOW…/impl/aliyun_bai_lian_model_provider/credential/itv.py87 except Exception as e:CODE
LOW…mpl/aliyun_bai_lian_model_provider/credential/image.py69 except Exception as e:CODE
LOW…yun_bai_lian_model_provider/credential/stt/omni_stt.py52 except Exception as e:CODE
LOW…iyun_bai_lian_model_provider/credential/stt/asr_stt.py44 except Exception as e:CODE
LOW…_bai_lian_model_provider/credential/stt/default_stt.py61 except Exception as e:CODE
LOW…l/aliyun_bai_lian_model_provider/credential/stt/stt.py69 except Exception as e:CODE
LOW…l/aliyun_bai_lian_model_provider/model/stt/omni_stt.py89 except Exception as err:CODE
MEDIUM…l/aliyun_bai_lian_model_provider/model/stt/omni_stt.py48def speech_to_text(self, audio_file):CODE
LOW…pl/aliyun_bai_lian_model_provider/model/stt/asr_stt.py72 except Exception as err:CODE
MEDIUM…pl/aliyun_bai_lian_model_provider/model/stt/asr_stt.py45def speech_to_text(self, audio_file):CODE
LOW…s_provider/impl/zhipu_model_provider/credential/llm.py56 except Exception as e:CODE
LOW…s_provider/impl/zhipu_model_provider/credential/tti.py51 except Exception as e:CODE
LOW…provider/impl/zhipu_model_provider/credential/image.py55 except Exception as e:CODE
LOW…models_provider/impl/zhipu_model_provider/model/llm.py46 except Exception as e:CODE
317 more matches not shown…
Deep Nesting135 hits · 130 pts
SeverityFileLineSnippetContext
LOWapps/tools/serializers/tool_workflow.py61CODE
LOWapps/tools/serializers/tool_workflow.py426CODE
LOWapps/tools/serializers/tool_workflow.py286CODE
LOWapps/tools/serializers/tool.py644CODE
LOWapps/tools/serializers/tool.py732CODE
LOWapps/tools/serializers/tool.py771CODE
LOWapps/tools/serializers/tool.py1257CODE
LOWapps/trigger/handler/impl/trigger/scheduled_trigger.py238CODE
LOWapps/trigger/handler/impl/trigger/event_trigger.py29CODE
LOWapps/trigger/handler/impl/task/application_task.py82CODE
LOWapps/trigger/handler/impl/task/application_task.py115CODE
LOWapps/trigger/handler/impl/task/application_task.py142CODE
LOW…/trigger/handler/impl/task/tool_task/base_tool_task.py56CODE
LOWapps/trigger/serializers/trigger.py165CODE
LOWapps/models_provider/impl/base_chat_open_ai.py92CODE
LOW…vider/impl/aliyun_bai_lian_model_provider/model/tts.py46CODE
LOW…vider/impl/aliyun_bai_lian_model_provider/model/tti.py67CODE
LOW…r/impl/aliyun_bai_lian_model_provider/model/stt/stt.py48CODE
LOW…els_provider/impl/xf_model_provider/model/embedding.py27CODE
LOW…els_provider/impl/xf_model_provider/model/zh_en_stt.py195CODE
LOW…/models_provider/impl/xf_model_provider/model/image.py19CODE
LOW…ps/models_provider/impl/xf_model_provider/model/stt.py137CODE
LOW…impl/xf_model_provider/model/tts/super_humanoid_tts.py129CODE
LOW…_provider/impl/tencent_model_provider/model/hunyuan.py32CODE
LOW…odels_provider/impl/openai_model_provider/model/tti.py51CODE
LOW…ls_provider/impl/docker_ai_model_provider/model/tti.py51CODE
LOW…vider/impl/volcanic_engine_model_provider/model/tts.py141CODE
LOW…vider/impl/volcanic_engine_model_provider/model/tti.py50CODE
LOW…dels_provider/impl/minimax_model_provider/model/ttv.py52CODE
LOW…dels_provider/impl/minimax_model_provider/model/tti.py50CODE
LOW…er/impl/azure_model_provider/model/azure_chat_model.py58CODE
LOW…models_provider/impl/azure_model_provider/model/tti.py54CODE
LOW…odels_provider/impl/gemini_model_provider/model/tti.py50CODE
LOW…odels_provider/impl/gemini_model_provider/model/stt.py51CODE
LOWapps/models_provider/serializers/model_serializer.py73CODE
LOWapps/models_provider/serializers/model_serializer.py570CODE
LOWapps/models_provider/serializers/model_serializer.py436CODE
LOWapps/chat/serializers/chat_record.py51CODE
LOWapps/chat/serializers/chat_embed_serializers.py91CODE
LOWapps/chat/views/mcp.py10CODE
LOWapps/common/middleware/doc_headers_middleware.py117CODE
LOWapps/common/middleware/cross_domain_middleware.py25CODE
LOWapps/common/locale/config_helper.py136CODE
LOWapps/common/locale/manager.py42CODE
LOWapps/common/locale/manager.py104CODE
LOWapps/common/chunk/impl/mark_chunk_handle.py15CODE
LOWapps/common/handle/base_parse_qa_handle.py21CODE
LOWapps/common/handle/impl/common_handle.py29CODE
LOWapps/common/handle/impl/qa/md_parse_qa_handle.py26CODE
LOWapps/common/handle/impl/qa/md_parse_qa_handle.py68CODE
LOWapps/common/handle/impl/qa/zip_parse_qa_handle.py72CODE
LOWapps/common/handle/impl/qa/zip_parse_qa_handle.py114CODE
LOW…ps/common/handle/impl/table/xlsx_parse_table_handle.py20CODE
LOWapps/common/handle/impl/table/xls_parse_table_handle.py19CODE
LOWapps/common/handle/impl/text/csv_split_handle.py31CODE
LOWapps/common/handle/impl/text/zip_split_handle.py146CODE
LOWapps/common/handle/impl/text/zip_split_handle.py194CODE
LOWapps/common/handle/impl/text/doc_split_handle.py52CODE
LOWapps/common/handle/impl/text/doc_split_handle.py125CODE
LOWapps/common/handle/impl/text/xlsx_split_handle.py69CODE
75 more matches not shown…
Hallucination Indicators7 hits · 85 pts
SeverityFileLineSnippetContext
CRITICALui/src/workflow/nodes/search-knowledge-node/index.vue279 const list = props.nodeModel.properties.node_data.knowledge_id_list.filter((v: any) => v !== id)CODE
CRITICALui/src/workflow/nodes/search-knowledge-node/index.vue292 const allList = props.nodeModel.properties.node_data.all_knowledge_id_list.filter(CODE
CRITICALui/src/workflow/nodes/search-document-node/index.vue308 const list = props.nodeModel.properties.node_data.knowledge_id_list.filter((v: any) => v !== id)CODE
CRITICALui/src/workflow/nodes/ai-chat-node/index.vue831 const list = props.nodeModel.properties.node_data.tool_ids.filter((v: any) => v !== id)CODE
CRITICALui/src/workflow/nodes/ai-chat-node/index.vue835 const list = props.nodeModel.properties.node_data.mcp_tool_ids.filter((v: any) => v !== id)CODE
CRITICALui/src/workflow/nodes/ai-chat-node/index.vue839 const list = props.nodeModel.properties.node_data.skill_tool_ids.filter((v: any) => v !== id)CODE
CRITICALui/src/workflow/common/app-node.ts83 globalFields = this.props.model.properties.config.globalFields.map((item: any) => ({CODE
Decorative Section Separators20 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMui/src/components/markdown/EchartsRander.vue17// ── props ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/markdown/EchartsRander.vue20// ── refs ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/markdown/EchartsRander.vue135// ── resize 防抖 ────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/markdown/EchartsRander.vue144// ── 生命周期 ───────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/application/flow/tools.py543 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py547 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py553 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py556 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py568 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py570 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py576 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py578 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py646 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py648 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py657 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py662 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py592 # ----------------------------------------------------------------COMMENT
MEDIUMapps/application/flow/tools.py594 # ----------------------------------------------------------------COMMENT
AI Structural Patterns25 hits · 24 pts
SeverityFileLineSnippetContext
LOWapps/chat/serializers/chat_embed_serializers.py88CODE
LOWapps/common/init/init_doc.py56CODE
LOWapps/common/forms/multi_select.py19CODE
LOWapps/common/forms/single_select_field.py20CODE
LOWapps/common/utils/split_model.py434CODE
LOWapps/common/utils/fork.py126CODE
LOWapps/common/utils/ts_vecto_util.py118CODE
LOWapps/knowledge/serializers/common.py117CODE
LOW…pplication/chat_pipeline/step/chat_step/i_chat_step.py109CODE
LOW…on/chat_pipeline/step/chat_step/impl/base_chat_step.py227CODE
LOW…on/chat_pipeline/step/chat_step/impl/base_chat_step.py459CODE
LOW…on/chat_pipeline/step/chat_step/impl/base_chat_step.py559CODE
LOW…on/chat_pipeline/step/chat_step/impl/base_chat_step.py630CODE
LOW…on/chat_pipeline/step/chat_step/impl/base_chat_step.py698CODE
LOW…p/search_dataset_step/impl/base_search_dataset_step.py78CODE
LOWapps/application/flow/i_step_node.py370CODE
LOWapps/application/flow/workflow_manage.py93CODE
LOWapps/application/flow/workflow_manage.py567CODE
LOWapps/application/flow/workflow_manage.py788CODE
LOWapps/application/flow/loop_workflow_manage.py193CODE
LOW…cation/flow/step_node/ai_chat_step_node/i_chat_node.py76CODE
LOW…low/step_node/ai_chat_step_node/impl/base_chat_node.py166CODE
LOW…extraction_node/impl/base_parameter_extraction_node.py63CODE
LOW…/flow/step_node/application_node/i_application_node.py100CODE
LOW…ep_node/application_node/impl/base_application_node.py184CODE
Over-Commented Block16 hits · 16 pts
SeverityFileLineSnippetContext
LOWui/src/utils/permission/data.ts1import { Permission, Role, Edition } from '@/utils/permission/type'COMMENT
LOW…m/resource-authorization/component/PermissionTable.vue181 isComputedFirst.value = falseCOMMENT
LOWui/src/views/login/index.vue421 loginFormRef.value?.clearValidate()COMMENT
LOWui/src/views/login/index.vue441// loginCOMMENT
LOWinstaller/sandbox.c1#define _GNU_SOURCECOMMENT
LOWinstaller/sandbox.c21#include <linux/sched.h>COMMENT
LOW…vider/impl/aliyun_bai_lian_model_provider/model/tti.py41 model_name=model_name,COMMENT
LOW…odels_provider/impl/tencent_model_provider/__init__.py1#!/usr/bin/env pythonCOMMENT
LOW…l/docker_ai_model_provider/docker_ai_model_provider.py41open_ai_embedding_credential = DockerAIEmbeddingCredential()COMMENT
LOW…s_provider/impl/aws_bedrock_model_provider/__init__.py1#!/usr/bin/env pythonCOMMENT
LOW…ovider/impl/volcanic_engine_model_provider/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWapps/models_provider/serializers/model_serializer.py181 super().is_valid(raise_exception=True)COMMENT
LOWapps/models_provider/views/model.py81 # @extend_schema(methods=['PUT'],COMMENT
LOWapps/knowledge/serializers/__init__.py1# coding=utf-8COMMENT
LOWapps/oss/serializers/__init__.py1# coding=utf-8COMMENT
LOWapps/application/flow/tools.py21COMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHui/src/views/tool/DataSourceToolFormDrawer.vue318 下载文件 支持下载文档(docx)、表格(sheet)和普通文件 - 对于文档和表格,先创建导出任务,轮询等待导出完成后下载 - 对于普通文件,直接下载 Args: app_idSTRING
HIGHapps/common/init/init_template.py16Format a template using jinja2. *Security warning*: As of LangChain 0.0.329, this method uses Jinja2's STRING
Modern Structural Boilerplate7 hits · 7 pts
SeverityFileLineSnippetContext
LOW…_provider/impl/tencent_model_provider/model/hunyuan.py29logger = logging.getLogger(__name__)CODE
LOWapps/common/locale/__init__.py10__all__ = [CODE
LOW…mmon/management/commands/services/services/gunicorn.py6__all__ = ['GunicornService']CODE
LOW…anagement/commands/services/services/celery_default.py7__all__ = ['CeleryDefaultService']CODE
LOW…mon/management/commands/services/services/scheduler.py6__all__ = ['SchedulerService']CODE
LOW…n/management/commands/services/services/local_model.py15__all__ = ['GunicornLocalModelService']CODE
LOWapps/maxkb/const.py9__all__ = ['BASE_DIR', 'PROJECT_DIR', 'VERSION', 'CONFIG']CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMapps/knowledge/vector/pg_vector.py131 # Query per knowledge base to leverage per-KB partial HNSW indexesCOMMENT
MEDIUMapps/knowledge/vector/pg_vector.py167 # Query per knowledge base to leverage per-KB partial HNSW indexesCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMCLAUDE.md84### RAG / knowledge (`apps/knowledge/`)COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…data_source_web_node/impl/base_data_source_web_node.py23 'placeholder': _('Please enter the Web root address')})CODE
LOW…data_source_web_node/impl/base_data_source_web_node.py25 'placeholder': _('The default is body, you can enter .classname/#idname/tagname')})CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…rovider/impl/aws_bedrock_model_provider/model/image.py45 # Check if proxy URL is providedCOMMENT