AI Slop Code RIsk Monitor

Cinnamon/kotaemon

An open-source RAG-based tool for chatting with your documents.

18.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Cinnamon/kotaemon, a Python project with 25,801 GitHub stars. SynthScan examined 58,432 lines of code across 349 source files, recording 747 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 18.9 (Elevated pattern signal); it is not an authorship estimate.

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

18.9
Adjusted Signal
18.9
Raw Pattern Score
100%
Time Factor
2026-07-14
Last Push
25.8K
Stars
Python
Language
58.4K
Lines of Code
349
Files
747
Pattern Hits
2026-10-12
Scan Date
0.13
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 26.4/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 19.5/100 · LOW

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

Agent Over-Engineering Ratio 44.2/100 · MEDIUM

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

PR Review Velocity Impact 61.9/100 · HIGH

Which changes need focused human review? 747 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 0HIGH 45MEDIUM 78LOW 624

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 747 distinct pattern matches across 19 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.

Unused Imports244 hits · 238 pts
SeverityFileLineSnippetContext
LOWflowsettings.py8CODE
LOWlibs/ktem/ktem/utils/plantuml.py3CODE
LOWlibs/ktem/ktem/utils/__init__.py1CODE
LOWlibs/ktem/ktem/utils/__init__.py1CODE
LOWlibs/ktem/ktem/utils/__init__.py1CODE
LOWlibs/ktem/ktem/utils/__init__.py1CODE
LOWlibs/ktem/ktem/utils/__init__.py1CODE
LOWlibs/ktem/ktem/utils/__init__.py8CODE
LOW…bs/ktem/ktem/reasoning/prompt_optimization/__init__.py1CODE
LOW…bs/ktem/ktem/reasoning/prompt_optimization/__init__.py2CODE
LOW…bs/ktem/ktem/reasoning/prompt_optimization/__init__.py3CODE
LOW…bs/ktem/ktem/reasoning/prompt_optimization/__init__.py4CODE
LOWlibs/ktem/ktem/index/__init__.py1CODE
LOWlibs/ktem/ktem/index/base.py6CODE
LOWlibs/ktem/ktem/index/base.py8CODE
LOWlibs/ktem/ktem/index/file/__init__.py1CODE
LOWlibs/ktem/ktem/index/file/pipelines.py1CODE
LOWlibs/ktem/ktem/index/file/knet/__init__.py1CODE
LOWlibs/ktem/ktem/index/file/knet/knet_index.py5CODE
LOWlibs/ktem/ktem/index/file/graph/light_graph_index.py7CODE
LOWlibs/ktem/ktem/index/file/graph/__init__.py1CODE
LOWlibs/ktem/ktem/index/file/graph/__init__.py2CODE
LOWlibs/ktem/ktem/index/file/graph/__init__.py3CODE
LOWlibs/ktem/ktem/index/file/graph/nano_graph_index.py7CODE
LOWlibs/ktem/ktem/index/file/graph/graph_index.py5CODE
LOWlibs/ktem/ktem/assets/__init__.py5CODE
LOWlibs/ktem/ktem_tests/test_conversation.py3CODE
LOWlibs/ktem/ktem_tests/test_mcp_manager.py1CODE
LOWlibs/kotaemon/tests/conftest.py58CODE
LOWlibs/kotaemon/tests/conftest.py67CODE
LOWlibs/kotaemon/tests/conftest.py76CODE
LOWlibs/kotaemon/tests/conftest.py85CODE
LOWlibs/kotaemon/tests/conftest.py86CODE
LOWlibs/kotaemon/tests/conftest.py95CODE
LOWlibs/kotaemon/tests/conftest.py104CODE
LOWlibs/kotaemon/tests/conftest.py113CODE
LOWlibs/kotaemon/tests/conftest.py122CODE
LOWlibs/kotaemon/tests/conftest.py123CODE
LOWlibs/kotaemon/tests/test_telemetry.py41CODE
LOWlibs/kotaemon/tests/test_telemetry.py55CODE
LOWlibs/kotaemon/tests/test_paddleocr_loader.py1CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py1CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py1CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py1CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py1CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py1CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py8CODE
LOWlibs/kotaemon/kotaemon/storages/docstores/__init__.py1CODE
LOWlibs/kotaemon/kotaemon/storages/docstores/__init__.py2CODE
LOWlibs/kotaemon/kotaemon/storages/docstores/__init__.py3CODE
LOWlibs/kotaemon/kotaemon/storages/docstores/__init__.py4CODE
LOWlibs/kotaemon/kotaemon/storages/docstores/__init__.py5CODE
LOW…bs/kotaemon/kotaemon/storages/vectorstores/__init__.py1CODE
LOW…bs/kotaemon/kotaemon/storages/vectorstores/__init__.py2CODE
184 more matches not shown…
Hyper-Verbose Identifiers163 hits · 176 pts
SeverityFileLineSnippetContext
LOWdocs/scripts/generate_reference_docs.py19def generate_docs_for_src_code(CODE
LOWdocs/scripts/generate_examples_docs.py17def generate_docs_for_examples_readme(CODE
LOWlibs/ktem/ktem/app.py166 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/app.py264 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/components.py142 def get_highest_accuracy_name(self) -> str:CODE
LOWlibs/ktem/ktem/main.py21def toggle_first_setup_visibility():CODE
LOWlibs/ktem/ktem/main.py127 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/rerankings/ui.py295 def on_selected_rerank_change(self, selected_rerank_name):CODE
LOWlibs/ktem/ktem/utils/render.py64 def table_preserve_linebreaks(text: str) -> str:CODE
LOWlibs/ktem/ktem/utils/render.py160 def collapsible_with_header_score(CODE
LOWlibs/ktem/ktem/utils/conversation.py40def format_mentions_for_display(input_str: str) -> str:CODE
LOWlibs/ktem/ktem/utils/hf_papers.py21def get_recommendations_from_semantic_scholar(semantic_scholar_id: str):CODE
LOWlibs/ktem/ktem/utils/hf_papers.py46def format_recommendation_into_markdown(recommendations):CODE
LOWlibs/ktem/ktem/mcp/ui.py311 def on_selected_server_change(self, selected_name):CODE
LOWlibs/ktem/ktem/mcp/manager.py83 def list_registered_mcp_servers(self) -> list[str]:CODE
LOWlibs/ktem/ktem/reasoning/simple.py223 def show_citations_and_addons(self, answer, docs, question):CODE
LOWlibs/ktem/ktem/reasoning/simple.py334 def prepare_pipeline_instance(cls, settings, retrievers):CODE
LOWlibs/ktem/ktem/reasoning/simple.py588 def prepare_pipeline_instance(cls, settings, retrievers):CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py223 def format_info_panel_evidence(self, worker_log):CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py254 def format_info_panel_planner(self, planner_output):CODE
LOWlibs/ktem/ktem/index/ui.py11def update_current_module_atime():CODE
LOWlibs/ktem/ktem/index/base.py77 def get_selector_component_ui(self) -> Optional["BasePage"]:CODE
LOWlibs/ktem/ktem/index/file/index.py238 def _setup_file_selector_ui_cls(self):CODE
LOWlibs/ktem/ktem/index/file/index.py354 def get_selector_component_ui(self):CODE
LOWlibs/ktem/ktem/index/file/ui.py407 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/index/file/ui.py625 def download_single_file_simple(self, is_zipped_state, file_html, file_id):CODE
LOWlibs/ktem/ktem/index/file/ui.py696 def on_register_quick_uploads(self):CODE
LOWlibs/ktem/ktem/index/file/ui.py1281 def index_fn_file_with_default_loaders(CODE
LOWlibs/ktem/ktem/index/file/ui.py1321 def index_fn_url_with_default_loaders(CODE
LOWlibs/ktem/ktem/index/file/ui.py1458 def format_size_human_readable(self, num: float | str, suffix="B"):CODE
LOWlibs/ktem/ktem/index/file/ui.py1874 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/index/file/pipelines.py400 def insert_chunks_to_vectorstore():CODE
LOWlibs/ktem/ktem/index/file/pipelines.py445 def handle_chunks_vectorstore(self, chunks, file_id):CODE
LOWlibs/ktem/ktem/index/file/graph/light_graph_index.py23 def _get_or_create_collection_graph_id(self):CODE
LOWlibs/ktem/ktem/index/file/graph/nano_pipelines.py118def get_default_models_wrapper():CODE
LOWlibs/ktem/ktem/index/file/graph/nano_pipelines.py151async def nano_graph_rag_build_local_query_context(CODE
LOWlibs/ktem/ktem/index/file/graph/nano_pipelines.py244 def store_file_id_with_graph_id(self, file_ids: list[str | None]):CODE
LOWlibs/ktem/ktem/index/file/graph/nano_graph_index.py23 def _get_or_create_collection_graph_id(self):CODE
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py120def get_default_models_wrapper():CODE
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py153async def lightrag_build_local_query_context(CODE
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py256 def store_file_id_with_graph_id(self, file_ids: list[str | None]):CODE
LOWlibs/ktem/ktem/index/file/graph/pipelines.py76 def store_file_id_with_graph_id(self, file_ids: list[str | None]):CODE
LOWlibs/ktem/ktem/pages/settings.py136 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/pages/settings.py391 def refresh_reasoning_tool_choices(self, *current_values):CODE
LOWlibs/ktem/ktem/pages/login.py78 def on_subscribe_public_events(self):STRING
LOWlibs/ktem/ktem/pages/chat/control.py442 def toggle_demo_login_visibility(self, user_api_key, request: gr.Request):CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py1011 def on_set_public_conversation(self, is_public, convo_id):CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py1033 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py1410 def check_and_suggest_name_conv(self, chat_history):CODE
LOWlibs/ktem/ktem/pages/resources/user.py262 def on_subscribe_public_events(self):STRING
LOWlibs/ktem/ktem/pages/resources/__init__.py39 def on_subscribe_public_events(self):CODE
LOWlibs/ktem/ktem_tests/test_conversation.py81def test_format_mentions_use_html_strong(CODE
LOWlibs/ktem/ktem_tests/test_conversation.py89def test_strip_display_mentions_with_special_characters() -> None:CODE
LOWlibs/ktem/ktem_tests/test_conversation.py103def test_get_mentions_regex_unquoted_filename_with_asterisks() -> None:CODE
LOW⚡libs/ktem/ktem_tests/test_mcp_manager.py59def test_add_empty_or_whitespace_name_raises(CODE
LOW⚡libs/ktem/ktem_tests/test_mcp_manager.py68def test_add_whitespace_name_is_stripped(manager: MCPManager) -> None:CODE
LOW⚡libs/ktem/ktem_tests/test_mcp_manager.py74def test_add_complex_config_stored_correctly(manager: MCPManager) -> None:CODE
LOW⚡libs/ktem/ktem_tests/test_mcp_manager.py94def test_update_changes_config(manager: MCPManager) -> None:CODE
LOW⚡libs/ktem/ktem_tests/test_mcp_manager.py103def test_update_nonexistent_raises(manager: MCPManager) -> None:CODE
LOW⚡libs/ktem/ktem_tests/test_mcp_manager.py109def test_delete_removes_entry(manager: MCPManager) -> None:CODE
103 more matches not shown…
Decorative Section Separators38 hits · 147 pts
SeverityFileLineSnippetContext
MEDIUM⚡libs/ktem/ktem_tests/test_mcp_manager.py89# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/ktem/ktem_tests/test_mcp_manager.py91# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/ktem/ktem_tests/test_mcp_manager.py124# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/ktem/ktem_tests/test_mcp_manager.py126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/ktem/ktem_tests/test_mcp_manager.py143# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/ktem/ktem_tests/test_mcp_manager.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/ktem/ktem_tests/test_mcp_manager.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/ktem/ktem_tests/test_mcp_manager.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/ktem/ktem_tests/test_mcp_manager.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/ktem/ktem_tests/test_mcp_manager.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py38# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py40# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py78# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py80# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py141# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py143# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py181# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py183# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py222# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_mcp_tools.py224# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/tests/test_mcp_tools.py16# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/tests/test_mcp_tools.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/tests/test_mcp_tools.py268# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/tests/test_mcp_tools.py270# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_paddleocr_loader.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_paddleocr_loader.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/tests/test_paddleocr_loader.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/tests/test_paddleocr_loader.py110# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_paddleocr_loader.py215# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/tests/test_paddleocr_loader.py217# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/kotaemon/agents/tools/mcp.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/kotaemon/kotaemon/agents/tools/mcp.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/tools/mcp.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/tools/mcp.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/tools/mcp.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/tools/mcp.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/tools/mcp.py277# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/tools/mcp.py279# ---------------------------------------------------------------------------COMMENT
Cross-File Repetition25 hits · 125 pts
SeverityFileLineSnippetContext
HIGHlibs/ktem/ktem/components.py0get the name of random model returns: str: random model name in the poolSTRING
HIGHlibs/ktem/ktem/embeddings/manager.py0get the name of random model returns: str: random model name in the poolSTRING
HIGHlibs/ktem/ktem/rerankings/manager.py0get the name of random model returns: str: random model name in the poolSTRING
HIGHlibs/ktem/ktem/llms/manager.py0get the name of random model returns: str: random model name in the poolSTRING
HIGHlibs/ktem/ktem/components.py0get the name of default model in case there is no default model, choose random model from pool. in case there are multipSTRING
HIGHlibs/ktem/ktem/embeddings/manager.py0get the name of default model in case there is no default model, choose random model from pool. in case there are multipSTRING
HIGHlibs/ktem/ktem/rerankings/manager.py0get the name of default model in case there is no default model, choose random model from pool. in case there are multipSTRING
HIGHlibs/ktem/ktem/llms/manager.py0get the name of default model in case there is no default model, choose random model from pool. in case there are multipSTRING
HIGHlibs/ktem/ktem/components.py0get default model in case there is no default model, choose random model from pool. in case there are multiple default mSTRING
HIGHlibs/ktem/ktem/embeddings/manager.py0get default model in case there is no default model, choose random model from pool. in case there are multiple default mSTRING
HIGHlibs/ktem/ktem/rerankings/manager.py0get default model in case there is no default model, choose random model from pool. in case there are multiple default mSTRING
HIGHlibs/ktem/ktem/llms/manager.py0get default model in case there is no default model, choose random model from pool. in case there are multiple default mSTRING
HIGHlibs/ktem/ktem/embeddings/manager.py0update a model in the pool, optionally renaming it.STRING
HIGHlibs/ktem/ktem/rerankings/manager.py0update a model in the pool, optionally renaming it.STRING
HIGHlibs/ktem/ktem/llms/manager.py0update a model in the pool, optionally renaming it.STRING
HIGHlibs/ktem/ktem/reasoning/react.py0rewrite user question args: llm: the language model to rewrite question rewrite_template: the prompt template for llm toSTRING
HIGHlibs/ktem/ktem/reasoning/rewoo.py0rewrite user question args: llm: the language model to rewrite question rewrite_template: the prompt template for llm toSTRING
HIGH…ktem/reasoning/prompt_optimization/rewrite_question.py0rewrite user question args: llm: the language model to rewrite question rewrite_template: the prompt template for llm toSTRING
HIGHlibs/kotaemon/kotaemon/storages/vectorstores/qdrant.py0delete vector embeddings from vector stores args: ids: list of ids of the embeddings to be deleted kwargs: meant for vecSTRING
HIGHlibs/kotaemon/kotaemon/storages/vectorstores/lancedb.py0delete vector embeddings from vector stores args: ids: list of ids of the embeddings to be deleted kwargs: meant for vecSTRING
HIGHlibs/kotaemon/kotaemon/storages/vectorstores/chroma.py0delete vector embeddings from vector stores args: ids: list of ids of the embeddings to be deleted kwargs: meant for vecSTRING
HIGHlibs/kotaemon/kotaemon/storages/vectorstores/base.py0delete vector embeddings from vector stores args: ids: list of ids of the embeddings to be deleted kwargs: meant for vecSTRING
HIGHlibs/kotaemon/kotaemon/indices/rankings/llm.py0filter down documents based on their relevance to the query.STRING
HIGHlibs/kotaemon/kotaemon/indices/rankings/llm_trulens.py0filter down documents based on their relevance to the query.STRING
HIGHlibs/kotaemon/kotaemon/indices/rankings/llm_scoring.py0filter down documents based on their relevance to the query.STRING
Excessive Try-Catch Wrapping94 hits · 116 pts
SeverityFileLineSnippetContext
LOWflowsettings.py25 except Exception:CODE
LOWlibs/ktem/ktem/embeddings/ui.py264 except Exception as e:CODE
LOWlibs/ktem/ktem/embeddings/ui.py374 except Exception as e:CODE
LOWlibs/ktem/ktem/embeddings/ui.py401 except Exception as e:CODE
LOWlibs/ktem/ktem/embeddings/ui.py407 except Exception as e:CODE
MEDIUMlibs/ktem/ktem/embeddings/ui.py250def create_emb(self, name, choices, spec, default):CODE
MEDIUMlibs/ktem/ktem/embeddings/ui.py384def save_emb(self, selected_emb_name, edit_name, default, spec):CODE
MEDIUMlibs/ktem/ktem/embeddings/ui.py404def delete_emb(self, selected_emb_name):CODE
LOWlibs/ktem/ktem/embeddings/manager.py170 except Exception as e:CODE
LOWlibs/ktem/ktem/embeddings/manager.py182 except Exception as e:CODE
LOWlibs/ktem/ktem/embeddings/manager.py216 except Exception as e:CODE
LOWlibs/ktem/ktem/rerankings/ui.py263 except Exception as e:CODE
LOWlibs/ktem/ktem/rerankings/ui.py373 except Exception as e:CODE
LOWlibs/ktem/ktem/rerankings/ui.py400 except Exception as e:CODE
LOWlibs/ktem/ktem/rerankings/ui.py408 except Exception as e:CODE
MEDIUMlibs/ktem/ktem/rerankings/ui.py249def create_rerank(self, name, choices, spec, default):CODE
MEDIUMlibs/ktem/ktem/rerankings/ui.py383def save_rerank(self, selected_rerank_name, edit_name, default, spec):CODE
MEDIUMlibs/ktem/ktem/rerankings/ui.py405def delete_rerank(self, selected_rerank_name):CODE
LOWlibs/ktem/ktem/rerankings/manager.py152 except Exception as e:CODE
LOWlibs/ktem/ktem/rerankings/manager.py164 except Exception as e:CODE
LOWlibs/ktem/ktem/rerankings/manager.py197 except Exception as e:CODE
LOWlibs/ktem/ktem/utils/render.py112 except Exception as e:CODE
LOWlibs/ktem/ktem/utils/hf_papers.py63 except Exception as e:CODE
LOWlibs/ktem/ktem/utils/hf_papers.py110 except Exception as e:CODE
MEDIUMlibs/ktem/ktem/utils/hf_papers.py55def get_paper_id_from_name(paper_name):CODE
MEDIUMlibs/ktem/ktem/utils/hf_papers.py83def fetch_papers(top_n=5):CODE
LOWlibs/ktem/ktem/mcp/ui.py203 except Exception as e:CODE
LOWlibs/ktem/ktem/mcp/ui.py244 except Exception as e:CODE
LOWlibs/ktem/ktem/mcp/ui.py348 except Exception as e:CODE
LOWlibs/ktem/ktem/mcp/ui.py362 except Exception as e:CODE
MEDIUMlibs/ktem/ktem/mcp/ui.py344def delete_server(self, selected_name):CODE
MEDIUMlibs/ktem/ktem/mcp/ui.py353def save_server(self, selected_name, config_str):CODE
LOWlibs/ktem/ktem/reasoning/react.py314 except Exception as e:CODE
LOWlibs/ktem/ktem/reasoning/react.py320 except Exception as e:CODE
LOWlibs/ktem/ktem/reasoning/simple.py214 except Exception as e:CODE
LOWlibs/ktem/ktem/reasoning/simple.py405 except Exception as e:CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py451 except Exception as e:CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py457 except Exception as e:CODE
LOWlibs/ktem/ktem/index/ui.py258 except Exception as e:CODE
LOWlibs/ktem/ktem/index/ui.py334 except Exception as e:CODE
LOWlibs/ktem/ktem/index/ui.py341 except Exception as e:CODE
MEDIUMlibs/ktem/ktem/index/ui.py337def delete_index(self, selected_index_id):CODE
LOWlibs/ktem/ktem/index/manager.py65 except Exception as e:CODE
LOW⚡libs/ktem/ktem/index/manager.py129 except Exception as e:CODE
MEDIUM⚡libs/ktem/ktem/index/manager.py130 print(f"Error while deleting index {index.name}: {e}")CODE
LOW⚡libs/ktem/ktem/index/manager.py140 except Exception as e:CODE
LOWlibs/ktem/ktem/index/file/ui.py825 except Exception as e:CODE
LOWlibs/ktem/ktem/index/file/ui.py1267 except Exception as e:CODE
MEDIUMlibs/ktem/ktem/index/file/ui.py696def on_register_quick_uploads(self):CODE
LOWlibs/ktem/ktem/index/file/pipelines.py210 except Exception:CODE
MEDIUMlibs/ktem/ktem/index/file/pipelines.py211 print("Error retrieving additional tables")CODE
LOWlibs/ktem/ktem/index/file/pipelines.py232 except Exception as e:CODE
LOWlibs/ktem/ktem/index/file/pipelines.py852 except Exception as e:CODE
LOWlibs/ktem/ktem/index/file/knet/pipelines.py125 except Exception:CODE
LOWlibs/ktem/ktem/index/file/graph/nano_pipelines.py93 except Exception as e:CODE
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py95 except Exception as e:CODE
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py182 except Exception:CODE
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py189 except Exception:CODE
LOWlibs/ktem/ktem/llms/ui.py263 except Exception as e:CODE
LOWlibs/ktem/ktem/llms/ui.py374 except Exception as e:CODE
34 more matches not shown…
Deep Nesting57 hits · 57 pts
SeverityFileLineSnippetContext
LOWlibs/ktem/ktem/main.py42CODE
LOWlibs/ktem/ktem/main.py127CODE
LOWlibs/ktem/ktem/embeddings/ui.py31CODE
LOWlibs/ktem/ktem/rerankings/ui.py33CODE
LOWlibs/ktem/ktem/mcp/ui.py31CODE
LOWlibs/ktem/ktem/reasoning/react.py58CODE
LOWlibs/ktem/ktem/reasoning/react.py262CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py95CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py223CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py265CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py349CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py387CODE
LOWlibs/ktem/ktem/index/ui.py44CODE
LOWlibs/ktem/ktem/index/file/ui.py351CODE
LOWlibs/ktem/ktem/index/file/ui.py460CODE
LOWlibs/ktem/ktem/index/file/ui.py549CODE
LOWlibs/ktem/ktem/index/file/ui.py696CODE
LOWlibs/ktem/ktem/index/file/ui.py1210CODE
LOWlibs/ktem/ktem/index/file/ui.py1321CODE
LOWlibs/ktem/ktem/index/file/pipelines.py115CODE
LOWlibs/ktem/ktem/index/file/pipelines.py574CODE
LOWlibs/ktem/ktem/index/file/pipelines.py676CODE
LOWlibs/ktem/ktem/llms/ui.py31CODE
LOWlibs/ktem/ktem/llms/manager.py16CODE
LOWlibs/ktem/ktem/pages/setup.py25CODE
LOWlibs/ktem/ktem/pages/setup.py189CODE
LOWlibs/ktem/ktem/pages/settings.py69CODE
LOWlibs/ktem/ktem/pages/settings.py136CODE
LOWlibs/ktem/ktem/pages/settings.py301CODE
LOWlibs/ktem/ktem/pages/settings.py321CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py223CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py1182CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py1296CODE
LOWlibs/ktem/ktem/pages/chat/__init__.py1425CODE
LOWlibs/ktem/ktem/pages/chat/report.py44CODE
LOWlibs/ktem/ktem/pages/resources/user.py135CODE
LOWlibs/kotaemon/kotaemon/indices/vectorindex.py45CODE
LOWlibs/kotaemon/kotaemon/indices/vectorindex.py134CODE
LOWlibs/kotaemon/kotaemon/indices/qa/format_context.py28CODE
LOWlibs/kotaemon/kotaemon/indices/qa/citation_qa_inline.py103CODE
LOWlibs/kotaemon/kotaemon/indices/qa/citation_qa_inline.py193CODE
LOWlibs/kotaemon/kotaemon/indices/qa/utils.py4CODE
LOWlibs/kotaemon/kotaemon/indices/qa/citation_qa.py121CODE
LOWlibs/kotaemon/kotaemon/indices/qa/citation_qa.py296CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/export.py17CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/ui/chat.py46CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/ui/pipeline.py41CODE
LOWlibs/kotaemon/kotaemon/agents/tools/base.py69CODE
LOWlibs/kotaemon/kotaemon/agents/rewoo/agent.py108CODE
LOWlibs/kotaemon/kotaemon/loaders/html_loader.py115CODE
LOWlibs/kotaemon/kotaemon/loaders/adobe_loader.py56CODE
LOWlibs/kotaemon/kotaemon/loaders/unstructured_loader.py51CODE
LOWlibs/kotaemon/kotaemon/loaders/mathpix_loader.py77CODE
LOWlibs/kotaemon/kotaemon/loaders/utils/pdf_ocr.py115CODE
LOWlibs/kotaemon/kotaemon/loaders/utils/gpt4v.py61CODE
LOWlibs/kotaemon/kotaemon/loaders/utils/table.py258CODE
LOW…/kotaemon/kotaemon/loaders/paddleocr_loader/adapter.py146CODE
Modern Structural Boilerplate56 hits · 56 pts
SeverityFileLineSnippetContext
LOWlibs/ktem/ktem/components.py14logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/utils/__init__.py10__all__ = [CODE
LOWlibs/ktem/ktem/mcp/ui.py12logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/mcp/manager.py14logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/reasoning/react.py26logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/reasoning/simple.py39logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/reasoning/rewoo.py27logger = logging.getLogger(__name__)CODE
LOW…oning/prompt_optimization/suggest_conversation_name.py8logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/reasoning/prompt_optimization/mindmap.py9logger = logging.getLogger(__name__)CODE
LOW…em/reasoning/prompt_optimization/decompose_question.py10logger = logging.getLogger(__name__)CODE
LOW…bs/ktem/ktem/reasoning/prompt_optimization/__init__.py6__all__ = [CODE
LOW…reasoning/prompt_optimization/suggest_followup_chat.py8logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/index/__init__.py3__all__ = ["IndexManager"]CODE
LOWlibs/ktem/ktem/index/base.py11logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/index/file/__init__.py3__all__ = ["FileIndex"]CODE
LOWlibs/ktem/ktem/index/file/pipelines.py54logger = logging.getLogger(__name__)CODE
LOWlibs/ktem/ktem/index/file/knet/__init__.py3__all__ = ["KnowledgeNetworkFileIndex"]CODE
LOWlibs/ktem/ktem/index/file/graph/__init__.py5__all__ = ["GraphRAGIndex", "NanoGraphRAGIndex", "LightRAGIndex"]CODE
LOWlibs/ktem/ktem/assets/__init__.py12__all__ = ["KotaemonTheme", "PDFJS_VERSION_DIST", "PDFJS_PREBUILT_DIR"]CODE
LOWlibs/ktem/ktem/pages/chat/control.py16logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/__init__.py4logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/storages/__init__.py18__all__ = [CODE
LOWlibs/kotaemon/kotaemon/storages/docstores/__init__.py7__all__ = [CODE
LOW…bs/kotaemon/kotaemon/storages/vectorstores/__init__.py9__all__ = [CODE
LOWlibs/kotaemon/kotaemon/parsers/__init__.py3__all__ = ["RegexExtractor", "FirstMatchRegexExtractor"]CODE
LOWlibs/kotaemon/kotaemon/indices/__init__.py3__all__ = ["VectorIndexing", "VectorRetrieval"]CODE
LOWlibs/kotaemon/kotaemon/indices/ingests/__init__.py3__all__ = ["DocumentIngestor"]CODE
LOWlibs/kotaemon/kotaemon/indices/qa/__init__.py3__all__ = [CODE
LOWlibs/kotaemon/kotaemon/indices/rankings/__init__.py7__all__ = [CODE
LOWlibs/kotaemon/kotaemon/indices/extractors/__init__.py3__all__ = [CODE
LOWlibs/kotaemon/kotaemon/embeddings/__init__.py16__all__ = [CODE
LOWlibs/kotaemon/kotaemon/chatbot/__init__.py4__all__ = ["BaseChatBot", "SimpleRespondentChatbot", "ChatConversation"]CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/tunnel.py28logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/ui/blocks.py87 def _setup_events(self) -> None:CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/ui/blocks.py173 def _setup_api(self) -> None:CODE
LOWlibs/kotaemon/kotaemon/rerankings/__init__.py6__all__ = ["BaseReranking", "TeiFastReranking", "CohereReranking", "VoyageAIReranking"]CODE
LOWlibs/kotaemon/kotaemon/agents/__init__.py15__all__ = [CODE
LOWlibs/kotaemon/kotaemon/agents/tools/__init__.py14__all__ = [CODE
LOW⚡libs/kotaemon/kotaemon/agents/tools/mcp.py22logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/agents/rewoo/__init__.py3__all__ = ["RewooAgent"]CODE
LOWlibs/kotaemon/kotaemon/agents/io/__init__.py3__all__ = ["AgentOutput", "AgentFinish", "BaseScratchPad", "AgentType", "AgentAction"]CODE
LOWlibs/kotaemon/kotaemon/agents/react/__init__.py3__all__ = ["ReactAgent"]CODE
LOWlibs/kotaemon/kotaemon/llms/__init__.py24__all__ = [CODE
LOW…/kotaemon/kotaemon/llms/completions/langchain_based.py8logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/llms/completions/__init__.py4__all__ = ["LLM", "OpenAI", "AzureOpenAI", "LCCompletionMixin", "LlamaCpp"]CODE
LOWlibs/kotaemon/kotaemon/llms/prompts/__init__.py4__all__ = ["BasePromptComponent", "PromptTemplate"]CODE
LOWlibs/kotaemon/kotaemon/llms/chats/langchain_based.py10logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/llms/chats/__init__.py15__all__ = [CODE
LOWlibs/kotaemon/kotaemon/llms/chats/base.py8logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/loaders/ocr_loader.py16logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/loaders/adobe_loader.py13logger = logging.getLogger(__name__)CODE
LOWlibs/kotaemon/kotaemon/loaders/__init__.py17__all__ = [CODE
LOWlibs/kotaemon/kotaemon/loaders/utils/gpt4v.py8logger = logging.getLogger(__name__)CODE
LOW…kotaemon/kotaemon/loaders/paddleocr_loader/__init__.py4__all__ = [CODE
LOWlibs/kotaemon/kotaemon/base/__init__.py15__all__ = [CODE
LOWlibs/kotaemon/kotaemon/base/component.py66__all__ = ["BaseComponent", "Param", "Node", "lazy"]CODE
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHlibs/ktem/ktem/utils/rate_limit.py26except (ImportError, AssertionError):CODE
HIGHlibs/ktem/ktem/pages/chat/__init__.py1453except Exception:CODE
HIGHlibs/kotaemon/tests/test_telemetry.py13except KeyError:CODE
HIGHlibs/kotaemon/tests/test_telemetry.py18except KeyError:CODE
HIGHlibs/kotaemon/tests/test_telemetry.py23except KeyError:CODE
HIGHlibs/kotaemon/tests/test_llms_chat_models.py11except ImportError:CODE
HIGHlibs/kotaemon/kotaemon/__init__.py12except ImportError:CODE
HIGHlibs/kotaemon/kotaemon/__init__.py22except ImportError:CODE
HIGHlibs/kotaemon/kotaemon/indices/rankings/llm_trulens.py86except ValueError:CODE
HIGHlibs/kotaemon/kotaemon/llms/chats/langchain_based.py61except Exception:CODE
Docstring Block Structure7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHlibs/ktem/ktem/index/file/base.py82Stream the indexing pipeline Args: file_paths (str | Path | list[str | Path]): the file paths to inSTRING
HIGHlibs/kotaemon/kotaemon/indices/rankings/llm_trulens.py62Extract a 0-10 rating from a string. If the string does not match an integer or matches an integer outside the STRING
HIGHlibs/kotaemon/kotaemon/llms/linear.py128 Run the pipeline with the given arguments and return the final output as a Document object. STRING
HIGHlibs/kotaemon/kotaemon/llms/branching.py129 Execute the pipeline by running each branch and return the output of the first branch that returns STRING
HIGHlibs/kotaemon/kotaemon/llms/prompts/template.py76 Strictly populate the template with the given keyword arguments. Args: **kwargs: The keywoSTRING
HIGHlibs/kotaemon/kotaemon/llms/prompts/base.py39 Check for redundant keyword arguments. Parameters: **kwargs (dict): A dictionary of keyworSTRING
HIGHlibs/kotaemon/kotaemon/llms/prompts/base.py70 Validates the value types of the given keyword arguments. Parameters: **kwargs (dict): A dSTRING
Self-Referential Comments8 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMlibs/ktem/ktem/index/ui.py15 # Define the file pathCOMMENT
MEDIUMlibs/ktem/ktem/index/manager.py180 """This method is called by the base application when the application startsSTRING
MEDIUM…/kotaemon/kotaemon/storages/docstores/elasticsearch.py34 # Create an Elasticsearch client instanceCOMMENT
MEDIUM…/kotaemon/kotaemon/storages/docstores/elasticsearch.py37 # Define the index settings and mappingsCOMMENT
MEDIUM…/kotaemon/kotaemon/storages/docstores/elasticsearch.py57 # Create the index with the specified settings and mappingsCOMMENT
MEDIUMlibs/kotaemon/kotaemon/indices/qa/citation_qa_inline.py153 # Define the regex pattern to match 【number】COMMENT
MEDIUMlibs/kotaemon/kotaemon/loaders/unstructured_loader.py108 # Create a single document by joining all the textsCOMMENT
MEDIUMlibs/kotaemon/kotaemon/loaders/utils/adobe.py70 # Create an ExecutionContext using credentialsCOMMENT
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md237### Setup Local Models (for local/private RAG)COMMENT
MEDIUMREADME.md367### Adding your own RAG pipelineCOMMENT
MEDIUMdocs/local_model.md76## Use local models for RAGCOMMENT
MEDIUMlibs/ktem/ktem/pages/setup.py360 # embedding modelCOMMENT
MEDIUM…/kotaemon/kotaemon/loaders/paddleocr_loader/adapter.py39# Labels to ignore (not useful for RAG)COMMENT
Slop Phrases6 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMlibs/ktem/ktem/utils/rate_limit.py7# In-memory store for rate limiting (for demonstration purposes)COMMENT
MEDIUMlibs/ktem/ktem/reasoning/rewoo.py43 "#E2: <toolname>[<input here, you can use #E1 to represent its expected output>]\n"CODE
MEDIUMlibs/kotaemon/kotaemon/agents/rewoo/prompt.py17#E2: <toolname>[<input here, you can use #E1 to represent its expected output>]COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/rewoo/prompt.py39#E2: <toolname>[<input here, you can use #E1 to represent its expected output>]COMMENT
MEDIUMlibs/kotaemon/kotaemon/agents/rewoo/prompt.py69#E2: <toolname>[<input, you can use #E1 to represent its expected output>]COMMENT
MEDIUMlibs/kotaemon/kotaemon/llms/cot.py33 {'tutorial': 'As an AI language model,...'}STRING
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHlibs/ktem/ktem/index/file/ui.py56 values.push({CODE
HIGHlibs/ktem/ktem/index/file/ui.py93 var cursorPos = input_box.selectionStart || 0;CODE
HIGHlibs/ktem/ktem/pages/login.py13 return [username, password, null];CODE
AI Structural Patterns13 hits · 13 pts
SeverityFileLineSnippetContext
LOW…soning/prompt_optimization/fewshot_rewrite_question.py100CODE
LOWlibs/ktem/ktem/assets/theme.py152CODE
LOWlibs/kotaemon/kotaemon/storages/vectorstores/chroma.py11CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/themes.py10CODE
LOWlibs/kotaemon/kotaemon/rerankings/tei_fast_rerank.py53CODE
LOWlibs/kotaemon/kotaemon/agents/tools/llm.py37CODE
LOW…/kotaemon/kotaemon/llms/completions/langchain_based.py111CODE
LOW…/kotaemon/kotaemon/llms/completions/langchain_based.py155CODE
LOWlibs/kotaemon/kotaemon/llms/chats/openai.py193CODE
LOWlibs/kotaemon/kotaemon/llms/chats/openai.py380CODE
LOWlibs/kotaemon/kotaemon/loaders/excel_loader.py104CODE
LOWlibs/kotaemon/kotaemon/loaders/web_loader.py34CODE
LOWlibs/kotaemon/kotaemon/loaders/utils/gpt4v.py58CODE
Redundant / Tautological Comments8 hits · 12 pts
SeverityFileLineSnippetContext
LOWlaunch.sh10# Check if environment variable KH_DEMO_MODE is set to trueCOMMENT
LOWlibs/ktem/ktem/index/file/graph/nano_pipelines.py256 # Check if mapping already existsCOMMENT
LOWlibs/ktem/ktem/index/file/graph/nano_pipelines.py345 # Check if graph already existsCOMMENT
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py268 # Check if mapping already existsCOMMENT
LOWlibs/ktem/ktem/index/file/graph/lightrag_pipelines.py354 # Check if graph already existsCOMMENT
LOWlibs/ktem/ktem/pages/setup.py33 # Check if the request was successfulCOMMENT
LOWscripts/run_macos.sh151 # Check if the destination directory exists, create if it doesn'tCOMMENT
LOWscripts/run_linux.sh150 # Check if the destination directory exists, create if it doesn'tCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/development/utilities.md35#### Step 2 - Export pipeline to configCOMMENT
LOWdocs/development/utilities.md58#### Step 3 - Customize the configCOMMENT
LOWdocs/development/utilities.md156#### Step 6 - Export to ExcelCOMMENT
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWlibs/ktem/alembic.ini1# A generic, single database configuration.COMMENT
LOWlibs/ktem/alembic.ini21# string value is passed to ZoneInfo()COMMENT
LOWlibs/ktem/alembic.ini41# The path separator used here should be the separator specified by "version_path_separator" below.COMMENT
LOWlibs/ktem/alembic.ini61# output_encoding = utf-8COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlibs/kotaemon/kotaemon/storages/docstores/in_memory.py80 # For better query support, utilize SQLite as the default document store.COMMENT
Example Usage Blocks2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlibs/kotaemon/kotaemon/contribs/promptui/ui/chat.py15USAGE_INSTRUCTION = """## How to use:CODE
LOWlibs/kotaemon/kotaemon/contribs/promptui/ui/pipeline.py16USAGE_INSTRUCTION = """## How to use:CODE