AI Slop Code RIsk Monitor

dataease/SQLBot

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

6.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for dataease/SQLBot, a JavaScript project with 6,881 GitHub stars. SynthScan examined 126,557 lines of code across 679 source files, recording 622 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 6.3 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.3
Adjusted Signal
6.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
6.9K
Stars
JavaScript
Language
126.6K
Lines of Code
679
Files
622
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 11.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.2/100 · LOW

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

Agent Over-Engineering Ratio 19.8/100 · LOW

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

PR Review Velocity Impact 28.3/100 · MEDIUM

Which changes need focused human review? 622 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 1HIGH 30MEDIUM 31LOW 560

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 622 distinct pattern matches across 15 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 Identifiers198 hits · 213 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
LOW⚡backend/main.py46def init_terminology_embedding_data():CODE
LOW⚡backend/main.py51def init_data_training_embedding_data():CODE
LOW⚡backend/main.py56def init_table_and_ds_embedding():CODE
LOWbackend/main.py86def custom_generate_unique_id(route: APIRoute) -> str:CODE
LOWbackend/main.py118def replace_placeholders_in_schema(schema: Dict[str, Any], trans: Dict[str, str]) -> None:CODE
LOWbackend/main.py136def get_language_from_request(request: Request) -> str:CODE
LOWbackend/main.py148def generate_openapi_for_lang(lang: str) -> Dict[str, Any]:CODE
LOWbackend/tests/test_connection_pool_manager.py22def _load_connection_pool_manager():CODE
LOWbackend/tests/test_connection_pool_manager.py68def test_remove_pool_disposes_bound_engine():CODE
LOWbackend/tests/test_connection_pool_manager.py80def test_lru_eviction_disposes_oldest_engine():CODE
LOWbackend/tests/test_connection_pool_manager.py92def test_close_all_disposes_every_engine():CODE
LOWbackend/tests/test_doris_starrocks_connection.py97def test_direct_connection_forwards_merged_parameters(CODE
LOWbackend/tests/test_doris_starrocks_connection.py112def test_pooled_connection_preserves_parameters(CODE
LOW⚡backend/tests/test_table_embedding.py32 def test_full_table_name_match(self):CODE
LOW⚡backend/tests/test_table_embedding.py42 def test_full_table_name_match_case_insensitive(self):CODE
LOW⚡backend/tests/test_table_embedding.py52 def test_full_table_name_match_among_multiple_keywords(self):CODE
LOW⚡backend/tests/test_table_embedding.py62 def test_table_comment_full_match(self):CODE
LOW⚡backend/tests/test_table_embedding.py72 def test_table_comment_full_match_custom_comment_priority(self):CODE
LOW⚡backend/tests/test_table_embedding.py185 def test_empty_keywords_after_split(self):CODE
LOW⚡backend/tests/test_table_embedding.py195 def test_priority_table_name_over_comment(self):CODE
LOW⚡backend/tests/test_table_embedding.py205 def test_priority_comment_over_field_comment(self):CODE
LOW⚡backend/tests/test_table_embedding.py688 def test_long_physical_name_does_not_require_short_name(self, question, long_name, short_name):CODE
LOW⚡backend/tests/test_table_embedding.py697 def test_unknown_quoted_identifier_does_not_match_part(self, quoted):CODE
LOW⚡backend/tests/test_table_embedding.py704 def test_escaped_quoted_identifier(self, name, quoted):CODE
LOW⚡backend/tests/test_table_embedding.py721 def test_physical_name_boundaries(self, question, expected):CODE
LOW⚡backend/tests/test_table_embedding.py727 def test_longer_comment_wins_only_at_same_occurrence(self):CODE
LOW⚡backend/tests/test_table_embedding.py735 def test_duplicate_comments_keep_all_candidates(self):CODE
LOW⚡backend/tests/test_table_embedding.py741 def test_explicit_names_can_exceed_limit_without_duplicates(self):CODE
LOW⚡backend/tests/test_table_embedding.py748 def test_explicit_table_not_in_candidates_is_not_added(self):CODE
LOW⚡backend/tests/test_table_embedding.py754 def test_no_explicit_mention_keeps_existing_ranking(self):CODE
LOWbackend/tests/test_table_embedding.py84 def test_partial_table_name_match_single_keyword(self):CODE
LOWbackend/tests/test_table_embedding.py96 def test_partial_table_name_match_full_coverage(self):CODE
LOWbackend/tests/test_table_embedding.py121 def test_field_custom_comment_priority(self):CODE
LOWbackend/tests/test_table_embedding.py147 def test_field_name_match_no_duplicate(self):CODE
LOWbackend/tests/test_table_embedding.py218 def test_priority_field_comment_over_field_name(self):CODE
LOWbackend/tests/test_table_embedding.py233 def test_multiple_keywords_best_score_wins(self):CODE
LOWbackend/tests/test_table_embedding.py249 def test_underscore_table_name_parts(self):CODE
LOWbackend/tests/test_table_embedding.py261 def test_field_name_with_underscores(self):CODE
LOWbackend/tests/test_table_embedding.py274 def test_real_scenario_sales_query(self):CODE
LOWbackend/tests/test_table_embedding.py289 def test_real_scenario_table_name_query(self):CODE
LOWbackend/tests/test_table_embedding.py374 def test_oid_zero_should_still_query(self):CODE
LOWbackend/tests/test_table_embedding.py392 def test_case_insensitive_match(self):CODE
LOWbackend/tests/test_table_embedding.py409 def test_multiple_keywords_expansion(self):CODE
LOWbackend/tests/test_table_embedding.py424 def test_child_term_word_also_matches(self):CODE
LOWbackend/tests/test_table_embedding.py460 def test_exact_table_name_match_ranks_first(self, mock_embed_cache, mock_settings):CODE
LOWbackend/tests/test_table_embedding.py489 def test_keyword_disabled_uses_vector_only(self, mock_embed_cache, mock_settings):CODE
LOWbackend/tests/test_table_embedding.py510 def test_no_keywords_falls_back_to_vector(self, mock_embed_cache, mock_settings):CODE
LOWbackend/tests/test_table_embedding.py532 def test_multiple_exact_matches_all_rank_first(self, mock_embed_cache, mock_settings):CODE
LOWbackend/tests/test_table_embedding.py562 def test_fusion_score_formula(self, mock_embed_cache, mock_settings):CODE
LOWbackend/tests/test_table_embedding.py590 def test_fallback_on_unexpected_error(self, mock_embed_cache, mock_settings):CODE
LOWbackend/tests/test_table_embedding.py638 def test_explicit_mention_survives_top_ten(self, keywords, mention):CODE
LOWbackend/tests/test_table_embedding.py654 def test_vector_failure_does_not_remove_explicit_table(self, failure):CODE
LOWbackend/tests/test_table_embedding.py670 def test_vector_failure_keeps_all_candidates_without_explicit_name(self, keywords, failure):CODE
LOW⚡backend/tests/test_cwe89_escape_fix.py83 def test_spaces_and_punctuation(self):CODE
LOW⚡backend/tests/test_cwe89_escape_fix.py88 def test_single_quote_escaped(self):CODE
LOW⚡backend/tests/test_cwe89_escape_fix.py94 def test_double_single_quotes(self):CODE
LOW⚡backend/tests/test_cwe89_escape_fix.py99 def test_name_with_apostrophe(self):CODE
LOW⚡backend/tests/test_cwe89_escape_fix.py109 def test_combined_quote_and_backslash(self):CODE
138 more matches not shown…
Empty Error Handlers30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHbackend/common/utils/utils.py74except:CODE
HIGHbackend/common/audit/schemas/logger_decorator.py339except:CODE
HIGHbackend/common/audit/schemas/logger_decorator.py353except:CODE
HIGHbackend/alembic/versions/061_assistant_oid_ddl.py41except (json.JSONDecodeError, TypeError, AttributeError):CODE
HIGHbackend/apps/datasource/crud/datasource.py508except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py153except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py204except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py248except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py259except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py299except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py311except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py322except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py495except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py541except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py547except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py552except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py560except Exception:CODE
HIGHbackend/apps/chat/curd/chat.py1029except Exception as e:CODE
HIGHbackend/apps/chat/curd/chat.py662except Exception:CODE
HIGHbackend/apps/chat/task/llm.py90except Exception:CODE
HIGHbackend/apps/chat/task/llm.py1977except Exception:CODE
HIGHbackend/apps/ai_model/model_factory.py166except Exception:CODE
HIGHbackend/apps/ai_model/openai/llm.py54except KeyError:CODE
HIGHbackend/apps/system/crud/user_excel.py105except Exception:CODE
HIGHbackend/apps/system/crud/user_excel.py112except Exception:CODE
HIGHbackend/apps/system/crud/user_excel.py329except Exception:CODE
HIGHbackend/apps/system/api/aimodel.py145except Exception:CODE
HIGHbackend/apps/system/api/aimodel.py138except Exception:CODE
HIGHbackend/apps/db/db.py699except:CODE
HIGHbackend/apps/db/db.py906except (IndexError, AttributeError):CODE
Excessive Try-Catch Wrapping137 hits · 134 pts
SeverityFileLineSnippetContext
LOW⚡backend/main.py63 except Exception:CODE
MEDIUMbackend/main.py60def 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
LOW⚡backend/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.py114 except Exception:CODE
LOWbackend/apps/datasource/embedding/table_embedding.py351 except Exception:CODE
LOWbackend/apps/datasource/embedding/table_embedding.py406 except Exception:CODE
LOWbackend/apps/datasource/crud/datasource.py508 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.py190 except Exception:STRING
LOWbackend/apps/datasource/api/datasource.py237 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py386 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py535 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py583 except Exception as e:CODE
LOWbackend/apps/datasource/api/datasource.py620 except Exception as e:CODE
MEDIUMbackend/apps/datasource/api/datasource.py234def inner():CODE
LOW⚡backend/apps/chat/curd/chat.py299 except Exception:CODE
LOW⚡backend/apps/chat/curd/chat.py311 except Exception:CODE
LOW⚡backend/apps/chat/curd/chat.py541 except Exception:CODE
LOW⚡backend/apps/chat/curd/chat.py547 except Exception:CODE
LOW⚡backend/apps/chat/curd/chat.py552 except Exception:CODE
LOW⚡backend/apps/chat/curd/chat.py560 except Exception:CODE
LOW⚡backend/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.py1029 except Exception as e:CODE
MEDIUMbackend/apps/chat/task/llm.py266def is_running(self, timeout=0.5):CODE
MEDIUMbackend/apps/chat/task/llm.py1325def pop_chunk(self):CODE
MEDIUMbackend/apps/chat/task/llm.py1697def run_recommend_questions_task(self):CODE
LOW⚡backend/apps/chat/task/llm.py1711 except Exception:CODE
LOWbackend/apps/chat/task/llm.py90 except Exception:CODE
77 more matches not shown…
Unused Imports117 hits · 117 pts
SeverityFileLineSnippetContext
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
LOWbackend/alembic/versions/063_update_chat_log_dll.py10CODE
57 more matches not shown…
Deep Nesting84 hits · 66 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.py119CODE
LOWbackend/apps/datasource/embedding/table_embedding.py235CODE
LOWbackend/apps/datasource/embedding/table_embedding.py357CODE
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.py319CODE
LOWbackend/apps/datasource/crud/datasource.py458CODE
LOWbackend/apps/datasource/crud/datasource.py531CODE
LOWbackend/apps/datasource/crud/table.py57CODE
LOWbackend/apps/datasource/crud/table.py109CODE
LOWbackend/apps/datasource/api/datasource.py479CODE
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.py74CODE
LOWbackend/apps/chat/task/llm.py1907CODE
LOWbackend/apps/chat/task/llm.py1981CODE
LOWbackend/apps/chat/task/llm.py125CODE
LOWbackend/apps/chat/task/llm.py220CODE
LOWbackend/apps/chat/task/llm.py276CODE
LOWbackend/apps/chat/task/llm.py454CODE
LOWbackend/apps/chat/task/llm.py751CODE
LOWbackend/apps/chat/task/llm.py1207CODE
LOWbackend/apps/chat/task/llm.py1357CODE
LOWbackend/apps/chat/task/llm.py1725CODE
LOWbackend/apps/chat/api/chat.py258CODE
LOWbackend/apps/chat/api/chat.py472CODE
LOWbackend/apps/terminology/curd/terminology.py392CODE
LOWbackend/apps/terminology/curd/terminology.py842CODE
LOWbackend/apps/terminology/curd/terminology.py1007CODE
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.py62CODE
LOWbackend/apps/system/schemas/permission.py63CODE
LOWbackend/apps/system/schemas/permission.py65CODE
LOWbackend/apps/system/crud/assistant.py51CODE
LOWbackend/apps/system/crud/assistant.py90CODE
24 more matches not shown…
Decorative Section Separators18 hits · 61 pts
SeverityFileLineSnippetContext
MEDIUM⚡backend/tests/test_table_embedding.py25# =============================================================================COMMENT
MEDIUM⚡backend/tests/test_table_embedding.py27# =============================================================================COMMENT
MEDIUMbackend/tests/test_table_embedding.py300# =============================================================================COMMENT
MEDIUMbackend/tests/test_table_embedding.py302# =============================================================================COMMENT
MEDIUMbackend/tests/test_table_embedding.py441# =============================================================================COMMENT
MEDIUMbackend/tests/test_table_embedding.py443# =============================================================================COMMENT
MEDIUMbackend/tests/test_cwe89_escape_fix.py58# ============================================================STRING
MEDIUMbackend/tests/test_cwe89_escape_fix.py60# ============================================================STRING
MEDIUM⚡backend/tests/test_cwe89_escape_fix.py146# ============================================================COMMENT
MEDIUM⚡backend/tests/test_cwe89_escape_fix.py148# ============================================================COMMENT
MEDIUM⚡backend/tests/test_cwe89_escape_fix.py186# ============================================================COMMENT
MEDIUM⚡backend/tests/test_cwe89_escape_fix.py188# ============================================================COMMENT
MEDIUMbackend/tests/test_embedded_auth_bypass_fix.py54# ============================================================STRING
MEDIUMbackend/tests/test_embedded_auth_bypass_fix.py56# ============================================================STRING
MEDIUM⚡backend/tests/test_embedded_auth_bypass_fix.py98# ============================================================COMMENT
MEDIUM⚡backend/tests/test_embedded_auth_bypass_fix.py100# ============================================================COMMENT
MEDIUM⚡backend/tests/test_embedded_auth_bypass_fix.py249# ============================================================COMMENT
MEDIUM⚡backend/tests/test_embedded_auth_bypass_fix.py251# ============================================================COMMENT
Over-Commented Block19 hits · 19 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# if not file.filename.lower().endswith(tuple(ALLOWED_EXTENSIONS)):COMMENT
LOWbackend/apps/datasource/api/datasource.py281# fields.append({"name": df.columns[i], "type": str(df.dtypes[i]), "relType": ""})COMMENT
LOWbackend/apps/datasource/api/datasource.py301# for i in range(column_len):COMMENT
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
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 Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡frontend/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/th-TH.json302 "placeholder": "โปรดกรอกคำถามของคุณ",CODE
LOWfrontend/src/i18n/ko-KR.json302 "placeholder": "질문을 입력하십시오",CODE
LOWfrontend/src/i18n/zh-CN.json302 "placeholder": "请输入您的问题",CODE
LOWfrontend/src/i18n/en.json302 "placeholder": "Please enter your question",CODE
LOWfrontend/src/i18n/zh-TW.json302 "placeholder": "請輸入您的問題",CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM⚡frontend/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
MEDIUM⚡frontend/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
LOW⚡backend/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
LOW⚡backend/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.py58CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWbackend/apps/chat/task/llm.py1357 def run_task(self, in_chat: bool = True, stream: bool = True,CODE