Repository Analysis

dataease/SQLBot

🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.

4.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dataease/SQLBot, a JavaScript project with 6,702 GitHub stars. SynthScan v2.0 examined 121,133 lines of code across 659 source files, recording 495 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 4.4 places this repository in the Likely human-written 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).

4.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
6.7K
Stars
JavaScript
Language
121.1K
Lines of Code
659
Files
495
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 1HIGH 0MEDIUM 19LOW 475

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 495 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers126 hits · 145 pts
SeverityFileLineSnippetContext
LOWfrontend/src/views/chat/chat-block/ChartBlock.vue208function setHiddenSidebarBtnZIndex(value: string) {CODE
LOWfrontend/src/views/dashboard/canvas/CanvasCore.vue235function removeItemFromPositionBox(item: CanvasItem) {CODE
LOWtests/test_cwe89_escape_fix.py78 def test_spaces_and_punctuation(self):CODE
LOWtests/test_cwe89_escape_fix.py83 def test_single_quote_escaped(self):CODE
LOWtests/test_cwe89_escape_fix.py89 def test_double_single_quotes(self):CODE
LOWtests/test_cwe89_escape_fix.py94 def test_name_with_apostrophe(self):CODE
LOWtests/test_cwe89_escape_fix.py104 def test_combined_quote_and_backslash(self):CODE
LOWtests/test_cwe89_escape_fix.py116 def test_stacked_query_injection(self):CODE
LOWtests/test_cwe89_escape_fix.py122 def test_numeric_input_coerced_to_string(self):CODE
LOWtests/test_cwe89_escape_fix.py127 def test_already_escaped_quotes(self):CODE
LOWtests/test_cwe89_escape_fix.py132 def test_backslash_quote_bypass_attempt(self):CODE
LOWtests/test_cwe89_escape_fix.py154 def test_injection_via_logic_rejected(self):CODE
LOWtests/test_cwe89_escape_fix.py164 def test_empty_string_rejected(self):CODE
LOWtests/test_cwe89_escape_fix.py171 def test_case_insensitive_validation(self):CODE
LOWtests/test_cwe89_escape_fix.py213 def test_nvarchar_in_clause_safe(self):CODE
LOWtests/test_cwe89_escape_fix.py221 def test_legitimate_comma_in_value(self):CODE
LOWtests/test_execution_error_details.py29 def test_chat_view_passes_record_error_to_token_time(self) -> None:CODE
LOWtests/test_execution_error_details.py38 def test_token_time_forwards_error_to_execution_details(self) -> None:CODE
LOWtests/test_execution_error_details.py51 def test_execution_details_forwards_error_to_log_components(self) -> None:CODE
LOWtests/test_execution_error_details.py64 def test_log_components_render_the_forwarded_error(self) -> None:CODE
LOWtests/test_execution_error_details.py77 def test_ai_log_skips_normal_content_after_an_error(self) -> None:CODE
LOWtests/test_minimax_integration.py29 def test_api_endpoint_reachable(self):CODE
LOWtests/test_minimax_integration.py47 def test_chat_completions_basic(self):CODE
LOWtests/test_minimax_integration.py71 def test_temperature_zero_accepted(self):CODE
LOWtests/test_distributed_lock.py33 def test_advisory_key_is_stable_across_processes(self) -> None:CODE
LOWtests/test_distributed_lock.py40 def test_try_acquire_keeps_successful_connection_open(self) -> None:CODE
LOWtests/test_distributed_lock.py52 def test_try_acquire_closes_connection_when_lock_is_busy(self) -> None:CODE
LOWtests/test_distributed_lock.py64 def test_try_acquire_closes_connection_on_sqlalchemy_error(self) -> None:CODE
LOWtests/test_distributed_lock.py80 def test_release_unlocks_commits_and_closes_connection(self) -> None:CODE
LOWtests/test_distributed_lock.py90 def test_release_still_closes_connection_when_unlock_fails(self) -> None:CODE
LOWtests/test_distributed_lock.py113 def test_acquired_worker_runs_all_tasks_with_one_lock_attempt(self) -> None:CODE
LOWtests/test_distributed_lock.py136 def test_non_acquired_worker_skips_tasks_without_retrying(self) -> None:CODE
LOWtests/test_distributed_lock.py154 def test_release_releases_lock_and_resets_process_state(self) -> None:CODE
LOWtests/test_supplier_config.py28 def test_minimax_icon_import_exists(self):CODE
LOWtests/test_supplier_config.py35 def test_minimax_supplier_entry_exists(self):CODE
LOWtests/test_supplier_config.py44 def test_minimax_icon_reference(self):CODE
LOWtests/test_supplier_config.py54 def test_minimax_temperature_range(self):CODE
LOWtests/test_supplier_config.py67 def test_minimax_model_options(self):CODE
LOWtests/test_supplier_config.py84 def test_minimax_uses_openai_protocol(self):CODE
LOWtests/test_supplier_config.py129 def test_all_locales_have_same_supplier_keys(self):CODE
LOWtests/test_supplier_config.py197 def test_openai_type_in_factory(self):CODE
LOWtests/test_supplier_config.py201 def test_factory_supports_register(self):CODE
LOWtests/test_supplier_config.py205 def test_factory_creates_openai_llm_for_openai_type(self):CODE
LOWtests/test_supplier_config.py209 def test_llm_config_has_api_base_url(self):CODE
LOWtests/test_supplier_config.py213 def test_openai_llm_passes_base_url(self):CODE
LOWtests/test_supplier_config.py221 def test_readme_zh_mentions_minimax(self):CODE
LOWtests/test_supplier_config.py228 def test_readme_en_mentions_minimax(self):CODE
LOWbackend/main.py45def init_terminology_embedding_data():CODE
LOWbackend/main.py50def init_data_training_embedding_data():CODE
LOWbackend/main.py55def init_table_and_ds_embedding():CODE
LOWbackend/main.py85def custom_generate_unique_id(route: APIRoute) -> str:CODE
LOWbackend/main.py117def replace_placeholders_in_schema(schema: Dict[str, Any], trans: Dict[str, str]) -> None:CODE
LOWbackend/main.py135def get_language_from_request(request: Request) -> str:CODE
LOWbackend/main.py147def generate_openapi_for_lang(lang: str) -> Dict[str, Any]:CODE
LOWbackend/common/core/security_config.py132def validate_password_strength(password: str, config: SecurityConfig = DEFAULT_SECURITY_CONFIG) -> tuple[bool, str]:CODE
LOWbackend/common/utils/utils.py23def generate_password_reset_token(email: str) -> str:CODE
LOWbackend/common/utils/utils.py36def verify_password_reset_token(token: str) -> str | None:CODE
LOWbackend/common/utils/data_format.py23 def normalize_qualified_sql_column_keys(row: dict) -> dict:CODE
LOWbackend/common/utils/data_format.py42 def normalize_qualified_sql_column_keys_in_object_array(obj_array: list) -> list:CODE
LOWbackend/common/utils/data_format.py51 def convert_large_numbers_in_object_array(obj_array, int_threshold=1e15, float_threshold=1e10):CODE
66 more matches not shown…
Excessive Try-Catch Wrapping132 hits · 136 pts
SeverityFileLineSnippetContext
LOWbackend/main.py62 except Exception:CODE
MEDIUMbackend/main.py59def shutdown_resources() -> None:CODE
LOWbackend/common/core/db.py17 except Exception:CODE
LOWbackend/common/core/response_middleware.py80 except Exception as e:CODE
LOWbackend/common/core/sqlbot_cache.py52 except Exception as e:CODE
LOWbackend/common/utils/http_utils.py30 except Exception as e:CODE
LOWbackend/common/utils/utils.py263 except Exception as e:CODE
LOWbackend/common/audit/schemas/logger_decorator.py579 except Exception as e:CODE
LOWbackend/common/audit/schemas/logger_decorator.py118 except Exception as e:CODE
LOWbackend/common/audit/schemas/logger_decorator.py242 except Exception:CODE
LOWbackend/common/audit/schemas/logger_decorator.py301 except Exception:CODE
LOWbackend/common/audit/schemas/logger_decorator.py393 except Exception:CODE
LOWbackend/common/audit/schemas/logger_decorator.py484 except Exception as e:CODE
LOWbackend/common/audit/schemas/logger_decorator.py615 except Exception as log_error:CODE
LOWbackend/common/audit/schemas/logger_decorator.py663 except Exception as e:CODE
LOWbackend/common/audit/schemas/logger_decorator.py709 except Exception as log_error:CODE
LOWbackend/apps/datasource/embedding/ds_embedding.py52 except Exception:CODE
LOWbackend/apps/datasource/embedding/ds_embedding.py89 except Exception:CODE
LOWbackend/apps/datasource/embedding/table_embedding.py38 except Exception:CODE
LOWbackend/apps/datasource/embedding/table_embedding.py76 except Exception:CODE
LOWbackend/apps/datasource/crud/datasource.py495 except Exception:CODE
LOWbackend/apps/datasource/crud/table.py51 except Exception:CODE
LOWbackend/apps/datasource/crud/table.py103 except Exception:CODE
LOWbackend/apps/datasource/crud/table.py158 except Exception:CODE
MEDIUMbackend/apps/datasource/crud/table.py33def run_fill_empty_table_and_ds_embedding(session_maker):CODE
LOWbackend/apps/datasource/api/datasource.py127 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py146 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py189 except Exception:STRING
LOWbackend/apps/datasource/api/datasource.py235 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py384 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py533 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py588 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py614 except Exception as e:CODE
MEDIUMbackend/apps/datasource/api/datasource.py232def inner():CODE
LOWbackend/apps/chat/curd/chat.py299 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py311 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py541 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py547 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py552 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py560 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py568 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py153 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py204 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py248 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py259 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py285 except Exception as e:CODE
LOWbackend/apps/chat/curd/chat.py322 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py446 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py495 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py634 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py652 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py662 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py685 except Exception:CODE
LOWbackend/apps/chat/curd/chat.py1016 except Exception as e:CODE
MEDIUMbackend/apps/chat/task/llm.py260def is_running(self, timeout=0.5):CODE
MEDIUMbackend/apps/chat/task/llm.py1204def pop_chunk(self):CODE
MEDIUMbackend/apps/chat/task/llm.py1560def run_recommend_questions_task(self):CODE
LOWbackend/apps/chat/task/llm.py1574 except Exception:CODE
LOWbackend/apps/chat/task/llm.py87 except Exception:CODE
LOWbackend/apps/chat/task/llm.py267 except Exception as e:CODE
72 more matches not shown…
Unused Imports114 hits · 114 pts
SeverityFileLineSnippetContext
LOWtests/test_supplier_config.py11CODE
LOWbackend/common/core/config.py12CODE
LOWbackend/common/core/models.py1CODE
LOWbackend/common/core/schemas.py5CODE
LOWbackend/common/utils/tree_utils.py2CODE
LOWbackend/common/audit/schemas/logger_decorator.py15CODE
LOWbackend/alembic/env.py7CODE
LOWbackend/alembic/versions/032_modify_assistant_ddl.py10CODE
LOWbackend/alembic/versions/065_user_bind_var.py10CODE
LOWbackend/alembic/versions/024_modify_chat_record.py10CODE
LOWbackend/alembic/versions/024_modify_chat_record.py11CODE
LOWbackend/alembic/versions/029_modify_chat.py10CODE
LOWbackend/alembic/versions/066_update_assistant_model.py11CODE
LOW…ckend/alembic/versions/051_modify_data_training_ddl.py10CODE
LOW…ckend/alembic/versions/051_modify_data_training_ddl.py11CODE
LOWbackend/alembic/versions/009_0_modify_chat.py11CODE
LOWbackend/alembic/versions/049_user_platform_ddl.py10CODE
LOWbackend/alembic/versions/054_update_chat_record_dll.py10CODE
LOWbackend/alembic/versions/054_update_chat_record_dll.py11CODE
LOWbackend/alembic/versions/052_add_recommended_problem.py10CODE
LOWbackend/alembic/versions/041_add_terminology_oid.py10CODE
LOWbackend/alembic/versions/041_add_terminology_oid.py11CODE
LOWbackend/alembic/versions/033_chat_origin_ddl.py10CODE
LOWbackend/alembic/versions/033_chat_origin_ddl.py11CODE
LOWbackend/alembic/versions/014_modify_chat_record.py10CODE
LOWbackend/alembic/versions/014_modify_chat_record.py11CODE
LOW…end/alembic/versions/038_remove_chat_record_cloumns.py10CODE
LOW…end/alembic/versions/038_remove_chat_record_cloumns.py11CODE
LOWbackend/alembic/versions/039_create_terminology.py12CODE
LOWbackend/alembic/versions/055_add_system_logs.py10CODE
LOWbackend/alembic/versions/047_table_embedding.py10CODE
LOWbackend/alembic/versions/047_table_embedding.py11CODE
LOWbackend/alembic/versions/042_data_training.py11CODE
LOWbackend/alembic/versions/069_term_custom_prompt.py10CODE
LOWbackend/alembic/versions/069_term_custom_prompt.py11CODE
LOWbackend/alembic/versions/011_update_dashboard.py10CODE
LOWbackend/alembic/versions/011_update_dashboard.py11CODE
LOWbackend/alembic/versions/045_modify_terminolog.py10CODE
LOWbackend/alembic/versions/008_modify_field_type.py10CODE
LOWbackend/alembic/versions/004_add_aimodel_auto.py11CODE
LOWbackend/alembic/versions/060_platform_token_ddl.py11CODE
LOWbackend/alembic/versions/022_assistant_ddl.py10CODE
LOWbackend/alembic/versions/056_api_key_ddl.py11CODE
LOWbackend/alembic/versions/027_modify_permission.py11CODE
LOWbackend/alembic/versions/009_1_add_core_dashboard.py10CODE
LOWbackend/alembic/versions/009_1_add_core_dashboard.py11CODE
LOWbackend/alembic/versions/036_modify_assistant.py10CODE
LOWbackend/alembic/versions/059_chat_log_resource.py10CODE
LOWbackend/alembic/versions/059_chat_log_resource.py11CODE
LOWbackend/alembic/versions/071_modify_permission_jsonb.py10CODE
LOWbackend/alembic/versions/010_upgrade_user_language.py10CODE
LOWbackend/alembic/versions/010_upgrade_user_language.py11CODE
LOWbackend/alembic/versions/018_modify_chat.py10CODE
LOWbackend/alembic/versions/018_modify_chat.py11CODE
LOWbackend/alembic/versions/006_add_ds_field.py11CODE
LOWbackend/alembic/versions/035_sys_arg_ddl.py10CODE
LOWbackend/alembic/versions/034_field_sort.py10CODE
LOWbackend/alembic/versions/034_field_sort.py11CODE
LOWbackend/alembic/versions/057_update_sys_log.py10CODE
LOWbackend/alembic/versions/057_update_sys_log.py11CODE
54 more matches not shown…
Deep Nesting79 hits · 63 pts
SeverityFileLineSnippetContext
LOWbackend/common/core/sqlbot_cache.py12CODE
LOWbackend/common/utils/dict_to_xml.py9CODE
LOWbackend/common/utils/utils.py56CODE
LOWbackend/common/utils/utils.py89CODE
LOWbackend/common/utils/data_format.py51CODE
LOWbackend/common/utils/data_format.py112CODE
LOWbackend/common/utils/data_format.py146CODE
LOWbackend/common/utils/data_format.py63CODE
LOWbackend/common/audit/schemas/logger_decorator.py489CODE
LOWbackend/common/audit/schemas/logger_decorator.py124CODE
LOWbackend/common/audit/schemas/logger_decorator.py168CODE
LOWbackend/common/audit/schemas/logger_decorator.py246CODE
LOWbackend/common/audit/schemas/logger_decorator.py397CODE
LOWbackend/common/audit/schemas/logger_decorator.py505CODE
LOWbackend/common/audit/schemas/logger_decorator.py507CODE
LOWbackend/alembic/versions/061_assistant_oid_ddl.py21CODE
LOWbackend/apps/datasource/embedding/ds_embedding.py18CODE
LOWbackend/apps/datasource/embedding/table_embedding.py43CODE
LOWbackend/apps/datasource/crud/row_permission.py45CODE
LOWbackend/apps/datasource/crud/row_permission.py68CODE
LOWbackend/apps/datasource/crud/row_permission.py252CODE
LOWbackend/apps/datasource/crud/permission.py15CODE
LOWbackend/apps/datasource/crud/permission.py58CODE
LOWbackend/apps/datasource/crud/datasource.py306CODE
LOWbackend/apps/datasource/crud/datasource.py445CODE
LOWbackend/apps/datasource/crud/datasource.py518CODE
LOWbackend/apps/datasource/crud/table.py57CODE
LOWbackend/apps/datasource/crud/table.py109CODE
LOWbackend/apps/datasource/api/datasource.py477CODE
LOWbackend/apps/chat/curd/chat.py167CODE
LOWbackend/apps/chat/curd/chat.py220CODE
LOWbackend/apps/chat/curd/chat.py335CODE
LOWbackend/apps/chat/curd/chat.py580CODE
LOWbackend/apps/chat/task/llm.py71CODE
LOWbackend/apps/chat/task/llm.py1770CODE
LOWbackend/apps/chat/task/llm.py1844CODE
LOWbackend/apps/chat/task/llm.py122CODE
LOWbackend/apps/chat/task/llm.py217CODE
LOWbackend/apps/chat/task/llm.py270CODE
LOWbackend/apps/chat/task/llm.py646CODE
LOWbackend/apps/chat/task/llm.py1086CODE
LOWbackend/apps/chat/task/llm.py1236CODE
LOWbackend/apps/chat/task/llm.py1588CODE
LOWbackend/apps/chat/api/chat.py253CODE
LOWbackend/apps/chat/api/chat.py467CODE
LOWbackend/apps/terminology/curd/terminology.py392CODE
LOWbackend/apps/terminology/curd/terminology.py842CODE
LOWbackend/apps/data_training/curd/data_training.py521CODE
LOWbackend/apps/mcp/mcp.py166CODE
LOWbackend/apps/ai_model/openai/llm.py23CODE
LOWbackend/apps/system/middleware/auth.py33CODE
LOWbackend/apps/system/schemas/permission.py49CODE
LOWbackend/apps/system/schemas/permission.py50CODE
LOWbackend/apps/system/schemas/permission.py52CODE
LOWbackend/apps/system/crud/assistant.py51CODE
LOWbackend/apps/system/crud/assistant.py90CODE
LOWbackend/apps/system/crud/assistant.py255CODE
LOWbackend/apps/system/crud/aimodel_manage.py9CODE
LOWbackend/apps/system/crud/user_excel.py175CODE
LOWbackend/apps/system/crud/user_excel.py323CODE
19 more matches not shown…
Over-Commented Block20 hits · 20 pts
SeverityFileLineSnippetContext
LOWfrontend/src/stores/appearance.ts161 },COMMENT
LOWfrontend/src/stores/appearance.ts181 // document.querySelector('head').appendChild(fontStyleElement)COMMENT
LOWfrontend/src/stores/appearance.ts221 }COMMENT
LOWfrontend/src/stores/appearance.ts241 // name && fileTransNameCOMMENT
LOWfrontend/src/views/system/prompt/index.vue281// const validatePass = (_: any, value: any, callback: any) => {COMMENT
LOWfrontend/src/views/system/embedded/iframe.vue261// ElMessageBox.confirm(t('permission.rule_rule_1', { msg: row.name }), {COMMENT
LOWbackend/alembic.ini1# A generic, single database configuration.COMMENT
LOWbackend/alembic.ini21# set to 'true' to run the environment duringCOMMENT
LOWbackend/README.md1# FastAPI Project - BackendCOMMENT
LOWbackend/alembic/env.py21# from myapp import mymodelCOMMENT
LOWbackend/apps/datasource/embedding/__init__.py1# Author: JunjunCOMMENT
LOWbackend/apps/datasource/api/datasource.py261#COMMENT
LOWbackend/apps/datasource/api/datasource.py281# create_table(conn, tableName, fields)COMMENT
LOWbackend/apps/datasource/api/datasource.py301# fields.append({"name": df.columns[i], "type": str(df.dtypes[i]), "relType": ""})COMMENT
LOWbackend/apps/chat/api/chat.py541COMMENT
LOWbackend/apps/swagger/__init__.py1# Author: JunjunCOMMENT
LOWbackend/apps/template/filter/__init__.py1# Author: JunjunCOMMENT
LOWbackend/apps/mcp/__init__.py1# Author: JunjunCOMMENT
LOWbackend/apps/ai_model/llm.py1# todoCOMMENT
LOWbackend/apps/db/es_engine.py81# print(json.dumps(r.json()))COMMENT
Decorative Section Separators6 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_cwe89_escape_fix.py54# ============================================================STRING
MEDIUMtests/test_cwe89_escape_fix.py56# ============================================================STRING
MEDIUMtests/test_cwe89_escape_fix.py141# ============================================================COMMENT
MEDIUMtests/test_cwe89_escape_fix.py143# ============================================================COMMENT
MEDIUMtests/test_cwe89_escape_fix.py180# ============================================================COMMENT
MEDIUMtests/test_cwe89_escape_fix.py182# ============================================================COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALfrontend/public/tinymce/themes/silver/theme.min.js1!function(){"use strict";const e=Object.getPrototypeOf,t=(e,t,o)=>{var n;return!!o(e,t.prototype)||(null===(n=e.construcCODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWfrontend/public/tinymce/tinymce.min.js11!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;returCODE
LOWfrontend/public/tinymce/themes/silver/theme.min.js1!function(){"use strict";const e=Object.getPrototypeOf,t=(e,t,o)=>{var n;return!!o(e,t.prototype)||(null===(n=e.construcCODE
LOWfrontend/src/i18n/ko-KR.json299 "placeholder": "질문을 입력하십시오",CODE
LOWfrontend/src/i18n/zh-CN.json299 "placeholder": "请输入您的问题",CODE
LOWfrontend/src/i18n/en.json299 "placeholder": "Please enter your question",CODE
LOWfrontend/src/i18n/zh-TW.json299 "placeholder": "請輸入您的問題",CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMfrontend/public/tinymce/tinymce.min.js11!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;returCODE
MEDIUMfrontend/public/tinymce/tinymce.min.js11!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;returCODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOWbackend/common/audit/schemas/logger_decorator.py570 # Step 2: If the resource ID is configured to be extracted from the results and has not been extracted bCOMMENT
LOWbackend/common/audit/schemas/logger_decorator.py528 # Step 1: Attempt to extract the resource ID from the parametersCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOWbackend/common/audit/schemas/logger_decorator.py570 # Step 2: If the resource ID is configured to be extracted from the results and has not been extracted bCOMMENT
LOWbackend/common/audit/schemas/logger_decorator.py528 # Step 1: Attempt to extract the resource ID from the parametersCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbackend/common/audit/schemas/logger_decorator.py327 # Create a dictionary containing all parametersCOMMENT
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWbackend/common/audit/schemas/logger_decorator.py81CODE
LOWbackend/common/audit/schemas/logger_decorator.py397CODE
LOWbackend/apps/system/api/user.py53CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWbackend/apps/chat/task/llm.py1236 def run_task(self, in_chat: bool = True, stream: bool = True,CODE