Repository Analysis

infiniflow/ragflow

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs

11.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of infiniflow/ragflow, a Go project with 89,504 GitHub stars. SynthScan v2.0 examined 1,536,980 lines of code across 5429 source files, recording 14059 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 11.8 places this repository in the Low AI signal band.

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

11.8
Adjusted Score
11.8
Raw Score
100%
Time Factor
2026-08-28
Last Push
89.5K
Stars
Go
Language
1.5M
Lines of Code
5.4K
Files
14.1K
Pattern Hits
2026-08-29
Scan Date
0.12
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 0HIGH 647MEDIUM 1138LOW 12274

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 14059 distinct pattern matches across 22 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 Identifiers4989 hits · 5110 pts
SeverityFileLineSnippetContext
LOWtools/firecrawl/firecrawl_connector.py187 async def wait_for_crawl_completion(self, job_id: str, poll_interval: int = 30) -> CrawlJob:CODE
LOWtools/firecrawl/firecrawl_ui.py22 def create_data_source_config() -> Dict[str, Any]:CODE
LOWtools/firecrawl/firecrawl_ui.py112 def create_progress_component() -> Dict[str, Any]:CODE
LOWtools/firecrawl/example_usage.py12async def example_single_url_scraping():CODE
LOWtools/firecrawl/example_usage.py116async def example_content_processing():CODE
LOWtools/firecrawl/example_usage.py176async def example_configuration_validation():CODE
LOWtools/firecrawl/ragflow_integration.py135 def get_supported_scrape_types(self) -> List[str]:CODE
LOWtools/firecrawl/ragflow_integration.py149def create_firecrawl_integration(config_dict: Dict[str, Any]) -> RAGFlowFirecrawlIntegration:CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py27 def test_result_default_values(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py97 def test_verify_counts_mismatch(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py111 def test_verify_samples_all_match(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py132 def test_verify_samples_some_missing(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py155 def test_verify_samples_data_mismatch(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py176 def test_values_equal_none_values(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py182 def test_values_equal_array_columns(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py190 def test_values_equal_json_columns(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py194 def test_values_equal_kb_id_list(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py199 def test_values_equal_content_with_weight_dict(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py203 def test_determine_result_passed(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py218 def test_determine_result_failed_count(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py230 def test_determine_result_failed_samples(self, mock_es_client, mock_ob_client):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py268 def test_generate_report_with_missing(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py292 def test_generate_report_with_mismatches(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py343 def test_empty_array_comparison(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_verify.py347 def test_nested_json_comparison(self, verifier):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py461 def test_convert_empty_document(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py470 def test_convert_document_without_source(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py480 def test_convert_boolean_to_integer(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py27 def test_analyze_ragflow_mapping(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py89 def test_get_column_definitions(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py116 def test_convert_basic_document(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py141 def test_convert_document_defaults_missing_chunk_order(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py176 def test_convert_array_fields(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py221 def test_convert_unknown_fields_to_extra(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py259 def test_convert_content_with_weight_dict(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py349 def test_ragflow_columns_completeness(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py369 def test_ragflow_columns_types(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py404 def test_mapping_without_properties(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py412 def test_multiple_vector_fields(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py429 def test_get_column_definitions_without_analysis(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py497 def test_convert_invalid_integer(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py533 def test_convert_array_with_special_characters(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py553 def test_convert_already_json_array(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py570 def test_convert_single_value_to_array(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py588 def test_detect_vector_fields_from_document(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py602 def test_convert_with_default_values(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py620 def test_convert_list_content(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_schema.py647 def test_existing_extra_field_merged(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py17 def test_create_basic_progress(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py32 def test_create_progress_with_counts(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py44 def test_progress_default_values(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py59 def test_progress_status_values(self):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py84 def test_create_progress_manager(self, temp_dir):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py89 def test_create_progress_manager_creates_dir(self, temp_dir):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py108 def test_save_and_load_progress(self, manager):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py129 def test_load_nonexistent_progress(self, manager):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py172 def test_update_progress_multiple_batches(self, manager):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py246 def test_can_resume_completed(self, manager):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py259 def test_can_resume_nonexistent(self, manager):CODE
LOWtools/es-to-oceanbase-migration/tests/test_progress.py286 def test_get_resume_info_nonexistent(self, manager):CODE
4929 more matches not shown…
Over-Commented Block3407 hits · 3330 pts
SeverityFileLineSnippetContext
LOWrun_tests.py1#!/usr/bin/env python3COMMENT
LOWpyproject.toml141 "xgboost==1.6.0",COMMENT
LOWpyproject.toml161 # "scikit-learn==1.5.0",COMMENT
LOWpyproject.toml221 # the posixpath/ntpath module. trio<0.26 introspects all Path class attributes toCOMMENT
LOWpyproject.toml241 # CVE-2025-14009 (CRITICAL), CVE-2026-0846, CVE-2026-0847, CVE-2026-33231,COMMENT
LOWlefthook.yml1# There are 8 fix-capable jobs and 6 pure-check jobs.COMMENT
LOWcmd/ragflow-cli.go1//go:build ignoreCOMMENT
LOWcmd/ragflow_server.go1//COMMENT
LOWcmd/ragflow_server.go861 // so agentic-search harness LLM calls work in production. Without this,COMMENT
LOWcmd/ragflow_server.go1001COMMENT
LOWcmd/ragflow_server.go1021 // it via compose.RegisterSerializableType[CanvasState] inCOMMENT
LOWtools/migrate-canvas/main.go1//COMMENT
LOWtools/migrate-canvas/main.go21// go run ./tools/migrate-canvas -golden=expected.json docs/develop/sample.jsonCOMMENT
LOWtools/firecrawl/INSTALLATION.md101export FIRECRAWL_RATE_LIMIT_DELAY="1.0"COMMENT
LOWtools/gen-component-parity/main.go1//COMMENT
LOWtools/gen-component-parity/main.go21// The tool imports the production packages (which trigger init()COMMENT
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py1#COMMENT
LOWtools/chatgpt-on-wechat/plugins/__init__.py1#COMMENT
LOWtools/scripts/install.sh1#!/bin/shCOMMENT
LOWtools/scripts/run_migrations.sh1#!/bin/bashCOMMENT
LOWtools/scripts/db_schema_sync.py1#COMMENT
LOWtools/scripts/mysql_migration.py1#COMMENT
LOWtools/scripts/mysql_migration.py821 return 0, self.target_tablesCOMMENT
LOWdocker/docker-compose-macos.yml21 - ./nginx/proxy.conf:/etc/nginx/proxy.confCOMMENT
LOWdocker/docker-compose-macos.yml41 # networks:COMMENT
LOWdocker/docker-compose.yml41 # - --enable-mcpserverCOMMENT
LOWdocker/docker-compose.yml101 hard: 65535COMMENT
LOWdocker/docker-compose.yml161 # condition: service_healthyCOMMENT
LOWmemory/utils/infinity_conn.py1#COMMENT
LOWmemory/utils/es_conn.py1#COMMENT
LOWmemory/utils/aggregation_utils.py1#COMMENT
LOWmemory/utils/prompt_util.py1#COMMENT
LOWmemory/utils/gaussdb_conn.py1#COMMENT
LOWmemory/utils/msg_util.py1#COMMENT
LOWmemory/utils/highlight_utils.py1#COMMENT
LOWmemory/utils/ob_conn.py1#COMMENT
LOWmemory/services/query.py1#COMMENT
LOWmemory/services/messages.py1#COMMENT
LOWdeepdoc/__init__.py1#COMMENT
LOWdeepdoc/vision/t_ocr.py1#COMMENT
LOWdeepdoc/vision/t_recognizer.py1#COMMENT
LOWdeepdoc/vision/recognizer.py1#COMMENT
LOWdeepdoc/vision/postprocess.py1#COMMENT
LOWdeepdoc/vision/__init__.py1#COMMENT
LOWdeepdoc/vision/layout_recognizer.py1#COMMENT
LOWdeepdoc/vision/ocr.py1#COMMENT
LOWdeepdoc/vision/seeit.py1#COMMENT
LOWdeepdoc/vision/operators.py1#COMMENT
LOWdeepdoc/vision/table_structure_recognizer.py1#COMMENT
LOWdeepdoc/parser/paddleocr_parser.py1# Copyright 2026 The InfiniFlow Authors. All Rights Reserved.COMMENT
LOWdeepdoc/parser/pdf_parser.py1#COMMENT
LOWdeepdoc/parser/ppt_parser.py1#COMMENT
LOWdeepdoc/parser/markdown_parser.py1# -*- coding: utf-8 -*-COMMENT
LOWdeepdoc/parser/html_parser.py1# -*- coding: utf-8 -*-COMMENT
LOWdeepdoc/parser/excel_parser.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWdeepdoc/parser/docx_parser.py1#COMMENT
LOWdeepdoc/parser/tcadp_parser.py1#COMMENT
LOWdeepdoc/parser/__init__.py1#COMMENT
LOWdeepdoc/parser/mistral_parser.py1#COMMENT
LOWdeepdoc/parser/utils.py1#COMMENT
3347 more matches not shown…
Decorative Section Separators776 hits · 2708 pts
SeverityFileLineSnippetContext
MEDIUMbuild.sh340 # ── office_oxide ──────────────────────────────────────────────────COMMENT
MEDIUMbuild.sh360 # ── pdfium ────────────────────────────────────────────────────────COMMENT
MEDIUMbuild.sh380 # ── pdf_oxide ─────────────────────────────────────────────────────COMMENT
MEDIUMbuild.sh402 # ── platform-specific system libraries ────────────────────────────COMMENT
MEDIUMtools/scripts/run_migrations.sh2# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/scripts/run_migrations.sh13# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh8# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh10# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh68# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh72# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh171# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh173# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh198# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh200# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh219# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh221# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh262# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh264# -----------------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/server/docker_stubs.py31# ── deepdoc ────────────────────────────────────────────────────────────COMMENT
MEDIUMdeepdoc/server/docker_stubs.py59# ── common ─────────────────────────────────────────────────────────────COMMENT
MEDIUMdeepdoc/server/docker_stubs.py119# ── rag ────────────────────────────────────────────────────────────────COMMENT
MEDIUMdeepdoc/parser/opendataloader_parser.py183# ---------------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/opendataloader_parser.py185# ---------------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/opendataloader_parser.py189# ---------------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py83 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py85 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py99 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py101 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py456 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py458 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py119 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py121 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py158 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py160 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py313 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py315 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py383 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/mistral_parser.py385 # ------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py184 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py186 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py250 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py252 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py402 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py404 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py425 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py427 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py587 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py589 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py683 # ---------------------------------------------------------------------COMMENT
MEDIUMdeepdoc/parser/somark_parser.py685 # ---------------------------------------------------------------------COMMENT
MEDIUMtest/unit_test/data_source/test_rest_api_connector.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit_test/data_source/test_rest_api_connector.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py77# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py79# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py117# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM…/unit_test/data_source/test_onedrive_connector_unit.py188# ---------------------------------------------------------------------------COMMENT
716 more matches not shown…
Excessive Try-Catch Wrapping2451 hits · 2447 pts
SeverityFileLineSnippetContext
LOWrun_tests.py285 except Exception as e:CODE
LOWrun_tests.py338 except Exception as e:STRING
LOWtools/firecrawl/firecrawl_connector.py129 except Exception as e:CODE
LOWtools/firecrawl/firecrawl_connector.py149 except Exception as e:CODE
LOWtools/firecrawl/firecrawl_connector.py183 except Exception as e:CODE
LOWtools/firecrawl/firecrawl_connector.py221 except Exception:CODE
LOWtools/firecrawl/firecrawl_connector.py228 except Exception:CODE
LOWtools/firecrawl/example_usage.py172 except Exception as e:CODE
MEDIUMtools/firecrawl/example_usage.py173 print(f"Error occurred: {e}")CODE
LOWtools/firecrawl/integration.py63 except Exception as e:CODE
LOWtools/firecrawl/integration.py75 except Exception as e:CODE
LOWtools/firecrawl/integration.py118 except Exception as e:CODE
LOWtools/firecrawl/integration.py127 except Exception as e:CODE
LOWtools/firecrawl/firecrawl_processor.py152 except Exception:CODE
LOWtools/firecrawl/firecrawl_processor.py199 except Exception as e:CODE
LOWtools/firecrawl/ragflow_integration.py128 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py83 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py93 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py101 except Exception:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py241 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py262 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py280 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py304 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py316 except Exception:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py327 except Exception:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py351 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py369 except Exception:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py391 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py404 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py413 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py183 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py289 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py346 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py407 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py462 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py499 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py520 except Exception as e:CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py567 except Exception as e:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/es_client.py87 except Exception:CODE
LOW…o-oceanbase-migration/src/es_ob_migration/es_client.py235 except Exception:CODE
LOW…to-oceanbase-migration/src/es_ob_migration/progress.py89 except Exception as e:CODE
LOW…to-oceanbase-migration/src/es_ob_migration/progress.py107 except Exception as e:CODE
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py208 except Exception as e:CODE
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py295 except Exception as e:CODE
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py357 except Exception as e:CODE
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py89 except Exception as e:CODE
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py111 except Exception as e:CODE
LOWtools/scripts/db_schema_sync.py731 except Exception as e:CODE
LOWtools/scripts/db_schema_sync.py746 except Exception as e:CODE
LOWtools/scripts/mysql_migration.py90 except Exception as e:CODE
LOWtools/scripts/mysql_migration.py932 except Exception as e:STRING
LOWmemory/utils/infinity_conn.py171 except Exception:CODE
LOWmemory/utils/infinity_conn.py231 except Exception:CODE
LOWmemory/utils/infinity_conn.py356 except Exception:CODE
LOWmemory/utils/es_conn.py256 except Exception as e:CODE
LOWmemory/utils/es_conn.py299 except Exception as e:CODE
LOWmemory/utils/es_conn.py344 except Exception as e:CODE
LOWmemory/utils/es_conn.py366 except Exception as e:CODE
LOWmemory/utils/es_conn.py402 except Exception as e:CODE
LOWmemory/utils/es_conn.py425 except Exception:CODE
2391 more matches not shown…
Magic Placeholder Names508 hits · 1720 pts
SeverityFileLineSnippetContext
HIGHtools/firecrawl/example_usage.py18 "api_key": "fc-your-api-key-here", # Replace with your actual API keyCODE
HIGHtools/firecrawl/example_usage.py55 "api_key": "fc-your-api-key-here", # Replace with your actual API keyCODE
HIGHtools/firecrawl/example_usage.py88 "api_key": "fc-your-api-key-here", # Replace with your actual API keyCODE
HIGHtools/firecrawl/example_usage.py122 "api_key": "fc-your-api-key-here", # Replace with your actual API keyCODE
HIGHtools/firecrawl/INSTALLATION.md97export FIRECRAWL_API_KEY="fc-your-api-key-here"CODE
HIGHtools/chatgpt-on-wechat/plugins/README.md44 "ragflow_api_key": "YOUR_API_KEY",CODE
HIGHweb/src/locales/ar.ts1383 'YOUR_API_KEY (تم الحصول عليه من https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/it.ts1896 'YOUR_API_KEY (ottenuta da https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/en.ts2565 'YOUR_API_KEY (obtained from https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/fr.ts2504 'YOUR_API_KEY (obtenu depuis https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/ru.ts1571 'YOUR_API_KEY (полученный с https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/ko.ts1898 'YOUR_API_KEY (https://serpapi.com/manage-api-key 에서 발급)',CODE
HIGHweb/src/locales/ja.ts2458 'YOUR_API_KEY(https://serpapi.com/manage-api-key から取得)',CODE
HIGHweb/src/locales/bg.ts1443 'YOUR_API_KEY (получен от https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/pages/agent/constant/index.tsx317 'YOUR_API_KEY (obtained from https://www.microsoft.com/en-us/bing/apis/bing-web-search-api)',CODE
HIGHagent/templates/web_search_assistant.json209 "api_key": "YOUR_API_KEY (obtained from https://www.microsoft.com/en-us/bing/apis/biCODE
HIGHagent/templates/web_search_assistant.json565 "api_key": "YOUR_API_KEY (obtained from https://www.microsoft.com/en-us/bing/apiCODE
HIGHdocs/develop/mcp/mcp_client_example.md56$ curl -N -H "api_key: YOUR_API_KEY" http://127.0.0.1:9382/sseCODE
HIGHdocs/develop/mcp/mcp_client_example.md82 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md114 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md129 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md151 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md183 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md203 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md215 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/develop/mcp/mcp_client_example.md228 -H "api_key: YOUR_API_KEY" \CODE
HIGHdocs/references/python_api_reference.md220rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md220rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md406rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md406rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md513rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md513rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md540rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md540rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md661rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md661rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md704rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md704rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md735rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md735rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md788rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md788rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md827rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md827rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md908rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md908rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md964rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md964rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1005rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1005rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1051rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1051rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1133rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1133rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1216rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1216rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1274rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1274rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1314rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1314rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
448 more matches not shown…
Deep Nesting757 hits · 596 pts
SeverityFileLineSnippetContext
LOWrun_tests.py234CODE
LOWtools/firecrawl/firecrawl_processor.py96CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py364CODE
LOW…s/es-to-oceanbase-migration/src/es_ob_migration/cli.py531CODE
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py237CODE
LOW…s-to-oceanbase-migration/src/es_ob_migration/schema.py102CODE
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py57CODE
LOWtools/hooks/check_files.py80CODE
LOWtools/hooks/check_files.py101CODE
LOWtools/hooks/check_files.py198CODE
LOWtools/scripts/db_schema_sync.py274CODE
LOWtools/scripts/db_schema_sync.py330CODE
LOWtools/scripts/db_schema_sync.py406CODE
LOWtools/scripts/db_schema_sync.py443CODE
LOWtools/scripts/db_schema_sync.py475CODE
LOWtools/scripts/db_schema_sync.py530CODE
LOWtools/scripts/db_schema_sync.py645CODE
LOWtools/scripts/db_schema_sync.py765CODE
LOWtools/scripts/mysql_migration.py2016CODE
LOWtools/scripts/mysql_migration.py708CODE
LOWtools/scripts/mysql_migration.py1159CODE
LOWtools/scripts/mysql_migration.py1174CODE
LOWtools/scripts/mysql_migration.py1297CODE
LOWtools/scripts/mysql_migration.py1378CODE
LOWtools/scripts/mysql_migration.py1606CODE
LOWtools/scripts/mysql_migration.py1838CODE
LOWmemory/utils/infinity_conn.py103CODE
LOWmemory/utils/infinity_conn.py280CODE
LOWmemory/utils/infinity_conn.py312CODE
LOWmemory/utils/infinity_conn.py369CODE
LOWmemory/utils/infinity_conn.py438CODE
LOWmemory/utils/es_conn.py112CODE
LOWmemory/utils/es_conn.py372CODE
LOWmemory/utils/es_conn.py408CODE
LOWmemory/utils/es_conn.py498CODE
LOWmemory/utils/aggregation_utils.py20CODE
LOWmemory/utils/gaussdb_conn.py515CODE
LOWmemory/utils/gaussdb_conn.py742CODE
LOWmemory/utils/gaussdb_conn.py987CODE
LOWmemory/utils/ob_conn.py194CODE
LOWdeepdoc/vision/layout_recognizer.py68CODE
LOWdeepdoc/vision/layout_recognizer.py364CODE
LOWdeepdoc/vision/ocr.py329CODE
LOWdeepdoc/vision/ocr.py489CODE
LOWdeepdoc/vision/operators.py331CODE
LOWdeepdoc/vision/table_structure_recognizer.py53CODE
LOWdeepdoc/vision/table_structure_recognizer.py156CODE
LOWdeepdoc/vision/table_structure_recognizer.py400CODE
LOWdeepdoc/vision/table_structure_recognizer.py500CODE
LOWdeepdoc/parser/paddleocr_parser.py326CODE
LOWdeepdoc/parser/paddleocr_parser.py577CODE
LOWdeepdoc/parser/pdf_parser.py771CODE
LOWdeepdoc/parser/pdf_parser.py885CODE
LOWdeepdoc/parser/pdf_parser.py1111CODE
LOWdeepdoc/parser/pdf_parser.py1287CODE
LOWdeepdoc/parser/pdf_parser.py1608CODE
LOWdeepdoc/parser/pdf_parser.py1811CODE
LOWdeepdoc/parser/pdf_parser.py1834CODE
LOWdeepdoc/parser/opendataloader_parser.py125CODE
LOWdeepdoc/parser/opendataloader_parser.py536CODE
697 more matches not shown…
Cross-Language Confusion66 hits · 320 pts
SeverityFileLineSnippetContext
HIGHdeepdoc/parser/json_parser.py106 # top-level scalar (number/string/bool/null) has no key to nest underCOMMENT
HIGHtest/unit_test/agent/sandbox/test_ssh_provider.py116 if command.startswith("cd /tmp/ws-123 && python3 /tmp/ws-123/main.py"):CODE
HIGHtest/unit_test/agent/sandbox/test_ssh_provider.py147 assert "cd /tmp/ws-123 && python3 /tmp/ws-123/main.py" in executed_commandsCODE
HIGH…_test/rag/llm/test_provider_credentials_three_sites.py26non-object (list, string, number, null, bool),STRING
HIGHtest/playwright/conftest.py1250 while (node && node !== document.body) {CODE
HIGHtest/playwright/conftest.py1252 if (style && style.backfaceVisibility === 'hidden') {CODE
HIGHtest/playwright/conftest.py1261 while (node && node !== document.body) {CODE
HIGHtest/playwright/conftest.py1263 if (style && style.transformStyle === 'preserve-3d') {CODE
HIGHtest/playwright/conftest.py1268 return null;CODE
HIGHtest/playwright/conftest.py1276 return rect.width > 0 && rect.height > 0;CODE
HIGHtest/playwright/conftest.py1530 : null,CODE
HIGHtest/playwright/conftest.py1615 while (node && node !== document.body) {CODE
HIGHtest/playwright/conftest.py1617 if (style && style.backfaceVisibility === 'hidden') {CODE
HIGHtest/playwright/conftest.py1626 while (node && node !== document.body) {CODE
HIGHtest/playwright/conftest.py1628 if (style && style.transformStyle === 'preserve-3d') {CODE
HIGHtest/playwright/conftest.py1633 return null;CODE
HIGHtest/playwright/conftest.py1636 if (!transform || transform === 'none') return 1;CODE
HIGHtest/playwright/conftest.py1679 if (!rect.width || !rect.height) return null;CODE
HIGHtest/playwright/conftest.py1684 let pick = null;CODE
HIGHtest/playwright/conftest.py1687 } else if (candidates.length > 1 && candidates[0].facing !== candidates[1].facing) {CODE
HIGHtest/playwright/conftest.py1697 return top && el.contains(top);CODE
HIGHtest/playwright/conftest.py959 return Boolean((token && token.length) || (auth && auth.length));CODE
HIGHtest/playwright/conftest.py1298 flipTransform: flip ? window.getComputedStyle(flip).transform : null,CODE
HIGHtest/playwright/conftest.py1299 flipTransformStyle: flip ? window.getComputedStyle(flip).transformStyle : null,CODE
HIGHtest/playwright/conftest.py1325 if (!el) return null;CODE
HIGHtest/playwright/conftest.py1409 return rect.width > 0 && rect.height > 0;CODE
HIGHtest/playwright/conftest.py1516 return rect.width > 0 && rect.height > 0;CODE
HIGHtest/playwright/conftest.py1559 return top && (top === el || el.contains(top));CODE
HIGHtest/playwright/conftest.py1666 const state = window.__qa_flip_state || { transform: null, time: 0 };CODE
HIGHtest/playwright/conftest.py374 if (auth && auth.length) return auth;STRING
HIGHtest/playwright/conftest.py376 if (token && token.length) return token;STRING
HIGHtest/playwright/auth/test_register_then_login_flow.py54 return rect.width > 0 && rect.height > 0;STRING
HIGHtest/playwright/auth/test_register_then_login_flow.py68 if (successByUrl || successMarker) return { state: 'success' };STRING
HIGHtest/playwright/auth/test_login_success_optional.py145 return rect.width > 0 && rect.height > 0;CODE
HIGHtest/playwright/auth/test_login_success_optional.py158 if (successByUrl || successMarker) return {{ state: 'success' }};CODE
HIGHtest/playwright/e2e/test_next_apps_agent.py32 return rect.width > 0 && rect.height > 0;STRING
HIGHtest/playwright/e2e/test_next_apps_agent.py131 return rect.width > 0 && rect.height > 0;STRING
HIGHtest/playwright/e2e/test_dataset_upload_parse.py486 return !!node && String(node.value) !== String(previous);STRING
HIGHtest/playwright/e2e/test_next_apps_search.py25 const body = (document.body && document.body.innerText || '').toLowerCase();CODE
HIGHtest/playwright/helpers/_auth_helpers.py16 return Boolean((token && token.length) || (auth && auth.length));CODE
HIGHtest/playwright/helpers/_auth_helpers.py42 return Boolean((token && token.length) || (auth && auth.length));CODE
HIGHtest/playwright/helpers/auth_waits.py20 return Boolean((token && token.length) || (auth && auth.length));CODE
HIGHtest/playwright/helpers/datasets.py50 body_text = page.evaluate("(() => (document.body && document.body.innerText) || '')()")CODE
HIGHtest/playwright/helpers/datasets.py332 const txt = (document.body && document.body.innerText || '').toLowerCase();CODE
HIGHtest/playwright/helpers/datasets.py244 return rect.width > 0 && rect.height > 0;STRING
HIGHtest/playwright/helpers/datasets.py344 body_text = page.evaluate("(() => (document.body && document.body.innerText) || '')()")STRING
HIGHtest/playwright/helpers/datasets.py369 body_text = page.evaluate("(() => (document.body && document.body.innerText) || '')()")STRING
HIGHtest/playwright/helpers/datasets.py381 body_text = page.evaluate("(() => (document.body && document.body.innerText) || '')()")STRING
HIGHagent/tools/code_exec.py282 const numbers = args && args.numbers ? args.numbers : [1, 2, 3];CODE
HIGHagent/sandbox/result_protocol.py44 const __ragflowMain = typeof main !== 'undefined' ? main : module.exports && module.exports.main;STRING
HIGHagent/sandbox/tests/test_security.py100 "async function main(args) { return { answer: args.value ?? null }; }",CODE
HIGHagent/sandbox/executor_manager/services/execution.py112 return Boolean(value && typeof value.then === 'function');CODE
HIGHagent/sandbox/executor_manager/services/execution.py139 if (typeof args === 'object' && args !== null) {CODE
HIGHrag/llm/key_utils.py60 bool, null), raises the same clear :class:`ModelException`STRING
HIGHrag/advanced_rag/harness/prompts/route_prompt.py16 "suggests_compilation": null,CODE
HIGHrag/advanced_rag/harness/orchestrator/grounded_llm.py94 # The LLM may return a malformed payload (array / scalar / null) instead of aCOMMENT
HIGHrag/graphrag/ner/graph_extractor.py61 raise ImportError("spaCy is required for the spacy GraphRAG method. Install it with: pip install spacy && pytCODE
HIGHrag/utils/es_conn.py42 if (v != null) {CODE
HIGHrag/utils/es_conn.py46 try { cur = Double.parseDouble(v.toString()); } catch (Exception e) { cur = 0.0; }CODE
HIGHrag/utils/es_conn.py415 f"if (ctx._source.containsKey('{kk}') && ctx._source.{kk} != null) {{ int i = ctx._sourcSTRING
6 more matches not shown…
Modern AI Meta-Vocabulary101 hits · 292 pts
SeverityFileLineSnippetContext
MEDIUMREADME_id.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_id.md133### 🛀 **Alur Kerja RAG yang Otomatis dan Mudah**COMMENT
MEDIUMREADME_pt_br.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_pt_br.md133### 🛀 **Fluxo de trabalho RAG automatizado e sem esforço**COMMENT
MEDIUMREADME_ja.md67<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ja.md115### 🛀 **自動化された楽な RAG ワークフロー**COMMENT
MEDIUMREADME_ru.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ru.md133### 🛀 **Автоматизированный и простой RAG-пайплайн**COMMENT
MEDIUMREADME_ko.md68<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ko.md116### 🛀 **자동화되고 손쉬운 RAG 워크플로우**COMMENT
MEDIUMREADME.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME.md126### 🌱 **Grounded citations with reduced hallucinations**COMMENT
MEDIUMREADME.md135### 🛀 **Automated and effortless RAG workflow**COMMENT
MEDIUMREADME_ar.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ar.md135### 🛀 **سير عمل RAG آلي وسهل**COMMENT
MEDIUMREADME_tr.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_tr.md133### 🛀 **Otomatik ve zahmetsiz RAG iş akışı**COMMENT
MEDIUMREADME_tzh.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_tzh.md125### 🌱 **有理有據、最大程度降低幻覺(hallucination)**COMMENT
MEDIUMREADME_tzh.md134### 🛀 **全程無憂、自動化的 RAG 工作流程**COMMENT
MEDIUMREADME_zh.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_zh.md125### 🌱 **有理有据、最大程度降低幻觉(hallucination)**COMMENT
MEDIUMREADME_zh.md134### 🛀 **全程无忧、自动化的 RAG 工作流**COMMENT
MEDIUMREADME_fr.md86<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_fr.md124### 🌱 **Citations fondées avec réduction des hallucinations**COMMENT
MEDIUMREADME_fr.md133### 🛀 **Flux de travail RAG automatisé et sans effort**COMMENT
MEDIUMcmd/ragflow_server.go861 // so agentic-search harness LLM calls work in production. Without this,COMMENT
MEDIUMtools/firecrawl/example_usage.py110 # Example of chunking for RAG processingCOMMENT
MEDIUM…_executor_refactor/test_wiki_empty_eligible_message.py108 # RAG subpackage stubs.COMMENT
MEDIUMtest/testcases/conftest.py317 # set embedding modelCOMMENT
MEDIUMtest/testcases/restful_api/conftest.py71 # Chunk add requires an embedding model call; document update/deleteCOMMENT
MEDIUMinternal/ingestion/task/knowledge_compiler_wiring.go519 // This uses content_length (PR #17839) — the total context window — notCOMMENT
MEDIUMinternal/agent/chat/chat.go36// component and the agentic-search harness/tools.COMMENT
MEDIUMinternal/agent/chat/chat.go88// invoker uses it when a Request omits ModelName, so harness/agentic-search LLMCOMMENT
MEDIUMinternal/agent/component/render.go22// message.go scaffold without dragging in new third-party deps.COMMENT
MEDIUMinternal/agent/component/llm.go173// shared chat default. Called at server bootstrap so harness/agentic-search LLMCOMMENT
MEDIUMinternal/agent/component/llm.go189 // Harness/agentic-search nodes may omit the model; fall back to theCOMMENT
MEDIUMinternal/agent/component/memory_save.go17// Memory persistence scaffold. The Python Message component,COMMENT
MEDIUMinternal/agent/harness/answer.go69// so the agentic graph honors a configured dialog system prompt (mirrors PythonCOMMENT
MEDIUMinternal/agent/harness/sufficiency_llm.go446// follow-up searches (mirrors agentic.py:98).COMMENT
MEDIUMinternal/agent/harness/types.go17// Package harness ports Python's rag/advanced_rag/harness (agentic-RAG):COMMENT
MEDIUMinternal/agent/harness/agentic.go29// orchestrator/agentic.py agentic_research): the orchestrator assigns claims,COMMENT
MEDIUMinternal/agent/harness/agentic.go89 // (mirrors agentic.py ctx.note_entity(_discovered_entity(tools))). GatesCOMMENT
MEDIUMinternal/agent/harness/agentic_rag.go27// AgenticState carries the shared state across the agentic-RAG graph nodes.COMMENT
MEDIUMinternal/agent/harness/agentic_rag.go43// RunAgenticRAG drives the agentic-search graph: route → pre_search → planner →COMMENT
MEDIUMinternal/agent/harness/agentic_rag.go51// RunAgenticRAG drives the agentic-search graph. It computes the route itselfCOMMENT
MEDIUMinternal/agent/harness/production.go40// ProductionRunner wires the real agentic-search tools (hybrid_search,COMMENT
MEDIUMinternal/agent/harness/production.go166// Run executes the agentic-search graph with the real tools. It computes theCOMMENT
MEDIUMinternal/agent/harness/production.go473// the same agentic evidence shape as KB chunks. Accepts both the agent "chunks"COMMENT
MEDIUMinternal/agent/audio/tts_design.md132## What the existing scaffold needs to changeCOMMENT
MEDIUMinternal/agent/tool/canvas_ctx.go26// user_id. Shared by agentic search and dataset-navigation tools.COMMENT
MEDIUMinternal/harness/core/schema/types.go20// AgenticRoleType represents the role of an agentic message.COMMENT
MEDIUMinternal/harness/core/schema/types.go52// ToolCallInfo represents information about a tool call for agentic messages.COMMENT
MEDIUMinternal/harness/core/schema/types.go229// ConcatAgenticMessages concatenates multiple agentic messages into one.COMMENT
MEDIUMinternal/service/chat_pipeline.go3153// StructuredQuery is the exported narrow entrypoint for the agentic-searchCOMMENT
MEDIUMagent/templates/seo_article_writer.json53 "sys_prompt": "# Role\n\nYou are the **Lead Agent**, responsible for initiating the multi-agent CODE
MEDIUMagent/templates/seo_article_writer.json92 "sys_prompt": "# Role\n\nYou are the **Outline Agent**, a sub-agent in a multi-agentCODE
MEDIUMagent/templates/seo_article_writer.json167 "sys_prompt": "# Role\n\nYou are the **Body Agent**, a sub-agent in a multi-agent SECODE
MEDIUMagent/templates/seo_article_writer.json242 "sys_prompt": "# Role\n\nYou are the **Editor Agent**, the final agent in a multi-agCODE
MEDIUMagent/templates/seo_article_writer.json432 "sys_prompt": "# Role\n\nYou are the **Lead Agent**, responsible for initiating the multi-agCODE
41 more matches not shown…
Structural Annotation Overuse132 hits · 240 pts
SeverityFileLineSnippetContext
LOWtools/es-to-oceanbase-migration/README.md25### Step 1: Start RAGFlow with Elasticsearch BackendCOMMENT
LOWtools/es-to-oceanbase-migration/README.md46### Step 2: Create Test Data in RAGFlowCOMMENT
LOWtools/es-to-oceanbase-migration/README.md54### Step 3: Verify ES Data (Optional)COMMENT
LOWtools/es-to-oceanbase-migration/README.md82### Step 4: Start OceanBase for MigrationCOMMENT
LOWtools/es-to-oceanbase-migration/README.md97### Step 5: Run MigrationCOMMENT
LOWtools/es-to-oceanbase-migration/README.md161### Step 6: Stop RAGFlow and Switch to OceanBase BackendCOMMENT
LOWtools/es-to-oceanbase-migration/README.md176### Step 7: Start RAGFlow with OceanBase BackendCOMMENT
LOWtools/es-to-oceanbase-migration/README.md190### Step 8: Data Integrity Verification (Optional)COMMENT
LOWtools/es-to-oceanbase-migration/README.md226### Step 9: Verify RAGFlow Works with OceanBaseCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py103 # Step 1: Verify document countsCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py114 # Step 2: Sample verificationCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py121 # Step 3: Determine overall resultCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py95 # Step 1: Check connectionsCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py99 # Step 2: Analyze ES indexCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py174 # Step 7: Mark completedCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py177 # Step 8: Verify (optional)COMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py114 # Step 3: Get total document countCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py125 # Step 4: Handle resume or fresh startCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py137 # Step 5: Create table if neededCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py158 # Step 6: Migrate dataCOMMENT
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py69 # Step 1: Get or create conversation_idCOMMENT
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py93 # Step 2: Send the message and get a replyCOMMENT
LOWtools/scripts/run_migrations.sh22# Step 1: Create base model provider tablesCOMMENT
LOWtools/scripts/run_migrations.sh30# Step 2: Seed, merge model types, and migrate model IDsCOMMENT
LOWtools/scripts/mysql_migration.py1866 # Step 2: Build lookup cache from tenant_model joined with provider + instanceCOMMENT
LOWtools/scripts/mysql_migration.py1871 # Step 3: Populate tenant_*_id from model_nameCOMMENT
LOWtools/scripts/mysql_migration.py1847 # Step 1: Add missing columns as VARCHAR(32) or alter existing INT columns to VARCHAR(32)COMMENT
LOWdeepdoc/parser/paddleocr_parser.py460 # Step 1: Submit job with file uploadCOMMENT
LOWdeepdoc/parser/paddleocr_parser.py501 # Step 2: Poll until done (exponential backoff)COMMENT
LOWdeepdoc/parser/paddleocr_parser.py540 # Step 3: Fetch resultCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts60 // Step 1: Normalize line endingsCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts65 // Step 2: Replace ```mermaid ... ``` blocks with unique placeholdersCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts80 // Step 3: Standard Lexical import (placeholders are just text)COMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts88 // Step 4: Walk tree and replace placeholder TextNodes with MermaidNodeCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts91 // Step 5: Fallback — also handle CodeNode(language='mermaid') if anyCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts94 // Step 6: Collapse TabNodesCOMMENT
LOWadmin/client/ragflow_client.py789 # Step 1: Add providerCOMMENT
LOWadmin/client/ragflow_client.py807 # Step 2: Add instanceCOMMENT
LOWadmin/client/ragflow_client.py1773 # Step 1: Get document info to find kb_id (dataset_id)COMMENT
LOWinternal/ingestion/component/media_dispatch.go488 // Step 1: Detect text regions.COMMENT
LOWinternal/ingestion/component/media_dispatch.go498 // Step 2: Sort boxes by Y (top to bottom), then X (left to right)COMMENT
LOWinternal/ingestion/component/media_dispatch.go512 // Step 3: Recognize text per box.COMMENT
LOWinternal/deepdoc/parser/pdf/parser_test.go483 // Step 1: extractTableAndReplace → HTML box with table textCOMMENT
LOWinternal/deepdoc/parser/pdf/parser_test.go494 // Step 2: mergeCaptions injects caption as a <caption> element inside <table>COMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go282 // Step 1: Count non-empty cells in columnCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go289 // Step 2: Check adjacent columnsCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go296 // Step 3: Calculate merge distanceCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go310 // Step 4: Merge the columnCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go317 // Step 5: Remove the columnCOMMENT
LOWinternal/dao/time_record.go80 // Step 1: Get the maximum IDCOMMENT
LOWinternal/dao/time_record.go91 // Step 2: Calculate the threshold IDCOMMENT
LOWinternal/dao/time_record.go99 // Step 3: Delete records with ID <= thresholdCOMMENT
LOWinternal/component/messagefit/messagefit.go67 // Step 1: everything fits (an exact budget match counts as fitting).COMMENT
LOWinternal/component/messagefit/messagefit.go77 // Step 2: keep all system + last non-system.COMMENT
LOWinternal/component/messagefit/messagefit.go100 // Step 3: trim proportionally.COMMENT
LOWinternal/agent/component/invoke.go137 // Step 1: SSRF guard for the target URL. The validatedCOMMENT
LOWinternal/agent/component/invoke.go144 // Step 2: SSRF guard for the proxy URL (if configured).COMMENT
LOWinternal/agent/component/invoke.go220 // Step 3: build the client. When a proxy is configured, theCOMMENT
LOWinternal/cli/crypt.go60 // Step 1: Base64 encode the passwordCOMMENT
LOWinternal/cli/crypt.go63 // Step 2: Encrypt using RSA PKCS1v15COMMENT
72 more matches not shown…
Unused Imports212 hits · 204 pts
SeverityFileLineSnippetContext
LOWtools/firecrawl/__init__.py12CODE
LOWtools/firecrawl/__init__.py13CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py12CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py13CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py14CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py15CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py16CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py16CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py17CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py17CODE
LOWtools/chatgpt-on-wechat/plugins/__init__.py21CODE
LOWtools/hooks/check_files.py2CODE
LOWmemory/utils/gaussdb_conn.py30CODE
LOWdeepdoc/vision/recognizer.py26CODE
LOWdeepdoc/vision/__init__.py22CODE
LOWdeepdoc/vision/__init__.py23CODE
LOWdeepdoc/vision/__init__.py24CODE
LOWdeepdoc/vision/__init__.py25CODE
LOWdeepdoc/vision/__init__.py26CODE
LOWdeepdoc/vision/ocr.py27CODE
LOWdeepdoc/parser/paddleocr_parser.py15CODE
LOWdeepdoc/parser/opendataloader_parser.py1CODE
LOWdeepdoc/parser/__init__.py17CODE
LOWdeepdoc/parser/__init__.py18CODE
LOWdeepdoc/parser/__init__.py19CODE
LOWdeepdoc/parser/__init__.py20CODE
LOWdeepdoc/parser/__init__.py21CODE
LOWdeepdoc/parser/__init__.py22CODE
LOWdeepdoc/parser/__init__.py23CODE
LOWdeepdoc/parser/__init__.py24CODE
LOWdeepdoc/parser/__init__.py25CODE
LOWdeepdoc/parser/__init__.py26CODE
LOWdeepdoc/parser/__init__.py27CODE
LOWdeepdoc/parser/docling_parser.py16CODE
LOW…unit_test/deepdoc/parser/test_docling_parser_remote.py1CODE
LOW…unit_test/deepdoc/parser/test_opendataloader_parser.py9CODE
LOWtest/unit_test/agent/test_graph_load_missing_path.py28CODE
LOWtest/unit_test/agent/test_dsl_bridge_roundtrip.py37CODE
LOWtest/unit_test/agent/test_canvas_at_split.py33CODE
LOW…nit_test/agent/component/test_browser_use_component.py29CODE
LOW…nit_test/agent/component/test_browser_use_component.py57CODE
LOW…it_test/agent/component/test_iterationitem_at_split.py30CODE
LOWtest/unit_test/rag/conftest.py29CODE
LOWtest/unit_test/rag/test_delimiter_case_sensitive.py43CODE
LOWtest/unit_test/rag/test_delim.py44CODE
LOWtest/unit_test/rag/app/test_table_chunk_column_roles.py20CODE
LOWtest/unit_test/rag/app/test_table_chunk_column_roles.py32CODE
LOWtest/unit_test/rag/app/test_qa_csv.py17CODE
LOWtest/unit_test/rag/app/test_qa_csv.py23CODE
LOWtest/unit_test/rag/app/test_markdown_image_ssrf.py27CODE
LOWtest/unit_test/rag/app/test_naive_empty_binary.py17CODE
LOWtest/unit_test/rag/app/test_email_empty_binary.py17CODE
LOWtest/unit_test/rag/app/test_qa_excel.py17CODE
LOWtest/unit_test/rag/app/test_qa_excel.py24CODE
LOWtest/unit_test/rag/app/test_manual.py25CODE
LOW…nit_test/rag/advanced_rag/knowlege_compile/conftest.py93CODE
LOW…nit_test/rag/advanced_rag/knowlege_compile/conftest.py101CODE
LOW…nit_test/rag/advanced_rag/knowlege_compile/conftest.py107CODE
LOW…nit_test/rag/advanced_rag/knowlege_compile/conftest.py113CODE
LOWtest/unit_test/rag/utils/test_serenedb_conn.py22CODE
152 more matches not shown…
Cross-File Repetition40 hits · 200 pts
SeverityFileLineSnippetContext
HIGHmemory/utils/ob_conn.py0return list of column names that need fulltext indexes (without weight suffix).STRING
HIGHrag/utils/ob_conn.py0return list of column names that need fulltext indexes (without weight suffix).STRING
HIGHcommon/doc_store/ob_conn_base.py0return list of column names that need fulltext indexes (without weight suffix).STRING
HIGHdeepdoc/vision/recognizer.py0if you have trouble downloading huggingface models, -_^ this might help!! for linux: export hf_endpoint=https://hf-mirroSTRING
HIGHdeepdoc/vision/ocr.py0if you have trouble downloading huggingface models, -_^ this might help!! for linux: export hf_endpoint=https://hf-mirroSTRING
HIGHdeepdoc/parser/pdf_parser.py0if you have trouble downloading huggingface models, -_^ this might help!! for linux: export hf_endpoint=https://hf-mirroSTRING
HIGHtest/unit_test/rag/utils/test_gaussdb_ddl.py0create table if not exists {name} ( id varchar(256) not null, kb_id varchar(256) not null, doc_id varchar(256), docnm_kwSTRING
HIGHtest/unit_test/rag/utils/test_gaussdb_conn.py0create table if not exists {name} ( id varchar(256) not null, kb_id varchar(256) not null, doc_id varchar(256), docnm_kwSTRING
HIGHcommon/doc_store/gaussdb_conn_base.py0create table if not exists {name} ( id varchar(256) not null, kb_id varchar(256) not null, doc_id varchar(256), docnm_kwSTRING
HIGHtest/unit_test/rag/utils/test_gaussdb_ddl.py0create table if not exists {name} ( id varchar(256) not null, kb_id varchar(256) not null, meta_fields jsonb, primary keSTRING
HIGHtest/unit_test/rag/utils/test_gaussdb_conn.py0create table if not exists {name} ( id varchar(256) not null, kb_id varchar(256) not null, meta_fields jsonb, primary keSTRING
HIGHcommon/doc_store/gaussdb_conn_base.py0create table if not exists {name} ( id varchar(256) not null, kb_id varchar(256) not null, meta_fields jsonb, primary keSTRING
HIGH…n_management/test_list_sessions_with_chat_assistant.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…chat_assistant_management/test_list_chat_assistants.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…st_chunk_management_within_dataset/test_list_chunks.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…unk_management_within_dataset/test_retrieval_chunks.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…n_management/test_list_sessions_with_chat_assistant.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…_file_management_within_dataset/test_list_documents.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…chat_assistant_management/test_list_chat_assistants.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…st_chunk_management_within_dataset/test_list_chunks.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGH…unk_management_within_dataset/test_retrieval_chunks.py0valueerror("invalid literal for int() with base 10: \'a\'")STRING
HIGHagent/tools/keenable.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/tavily.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/arxiv.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/youcom.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/google.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/retrieval.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/duckduckgo.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/tools/wikipedia.py0keywords: {} looking for the most relevant articles.STRING
HIGHagent/sandbox/providers/self_managed.py0get list of supported programming languages. returns: list of language identifiersSTRING
HIGHagent/sandbox/providers/aliyun_codeinterpreter.py0get list of supported programming languages. returns: list of language identifiersSTRING
HIGHagent/sandbox/providers/e2b.py0get list of supported programming languages. returns: list of language identifiersSTRING
HIGHrag/graphrag/general/graph_extractor.py0reference: - [graphrag](https://github.com/microsoft/graphrag)STRING
HIGHrag/graphrag/general/leiden.py0reference: - [graphrag](https://github.com/microsoft/graphrag)STRING
HIGHrag/graphrag/general/community_reports_extractor.py0reference: - [graphrag](https://github.com/microsoft/graphrag)STRING
HIGHrag/graphrag/general/entity_embedding.py0reference: - [graphrag](https://github.com/microsoft/graphrag)STRING
HIGHrag/graphrag/light/graph_extractor.py0reference: - [graphrag](https://github.com/microsoft/graphrag)STRING
HIGHcommon/data_source/interfaces.py0wraps a checkpointoutput generator to give things back in a more digestible format. the connector format is easier for tSTRING
HIGHcommon/data_source/connector_runner.py0wraps a checkpointoutput generator to give things back in a more digestible format. the connector format is easier for tSTRING
HIGHcommon/data_source/google_drive/connector.py0wraps a checkpointoutput generator to give things back in a more digestible format. the connector format is easier for tSTRING
Verbosity Indicators105 hits · 196 pts
SeverityFileLineSnippetContext
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py103 # Step 1: Verify document countsCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py114 # Step 2: Sample verificationCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py121 # Step 3: Determine overall resultCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py95 # Step 1: Check connectionsCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py99 # Step 2: Analyze ES indexCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py174 # Step 7: Mark completedCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py177 # Step 8: Verify (optional)COMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py114 # Step 3: Get total document countCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py125 # Step 4: Handle resume or fresh startCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py137 # Step 5: Create table if neededCOMMENT
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py158 # Step 6: Migrate dataCOMMENT
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py69 # Step 1: Get or create conversation_idCOMMENT
LOWtools/chatgpt-on-wechat/plugins/ragflow_chat.py93 # Step 2: Send the message and get a replyCOMMENT
LOWtools/scripts/run_migrations.sh22# Step 1: Create base model provider tablesCOMMENT
LOWtools/scripts/run_migrations.sh30# Step 2: Seed, merge model types, and migrate model IDsCOMMENT
LOWtools/scripts/mysql_migration.py1866 # Step 2: Build lookup cache from tenant_model joined with provider + instanceCOMMENT
LOWtools/scripts/mysql_migration.py1871 # Step 3: Populate tenant_*_id from model_nameCOMMENT
LOWtools/scripts/mysql_migration.py1847 # Step 1: Add missing columns as VARCHAR(32) or alter existing INT columns to VARCHAR(32)COMMENT
LOWdeepdoc/parser/paddleocr_parser.py460 # Step 1: Submit job with file uploadCOMMENT
LOWdeepdoc/parser/paddleocr_parser.py501 # Step 2: Poll until done (exponential backoff)COMMENT
LOWdeepdoc/parser/paddleocr_parser.py540 # Step 3: Fetch resultCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts60 // Step 1: Normalize line endingsCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts65 // Step 2: Replace ```mermaid ... ``` blocks with unique placeholdersCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts80 // Step 3: Standard Lexical import (placeholders are just text)COMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts88 // Step 4: Walk tree and replace placeholder TextNodes with MermaidNodeCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts91 // Step 5: Fallback — also handle CodeNode(language='mermaid') if anyCOMMENT
LOWweb/src/lib/editor/markdown/enhanced-markdown-import.ts94 // Step 6: Collapse TabNodesCOMMENT
LOWadmin/client/ragflow_client.py789 # Step 1: Add providerCOMMENT
LOWadmin/client/ragflow_client.py807 # Step 2: Add instanceCOMMENT
LOWadmin/client/ragflow_client.py1773 # Step 1: Get document info to find kb_id (dataset_id)COMMENT
LOWinternal/ingestion/component/media_dispatch.go488 // Step 1: Detect text regions.COMMENT
LOWinternal/ingestion/component/media_dispatch.go498 // Step 2: Sort boxes by Y (top to bottom), then X (left to right)COMMENT
LOWinternal/ingestion/component/media_dispatch.go512 // Step 3: Recognize text per box.COMMENT
LOWinternal/deepdoc/parser/pdf/parser_test.go483 // Step 1: extractTableAndReplace → HTML box with table textCOMMENT
LOWinternal/deepdoc/parser/pdf/parser_test.go494 // Step 2: mergeCaptions injects caption as a <caption> element inside <table>COMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go282 // Step 1: Count non-empty cells in columnCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go289 // Step 2: Check adjacent columnsCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go296 // Step 3: Calculate merge distanceCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go310 // Step 4: Merge the columnCOMMENT
LOWinternal/deepdoc/parser/pdf/table/table_construct.go317 // Step 5: Remove the columnCOMMENT
LOWinternal/dao/time_record.go80 // Step 1: Get the maximum IDCOMMENT
LOWinternal/dao/time_record.go91 // Step 2: Calculate the threshold IDCOMMENT
LOWinternal/dao/time_record.go99 // Step 3: Delete records with ID <= thresholdCOMMENT
LOWinternal/component/messagefit/messagefit.go67 // Step 1: everything fits (an exact budget match counts as fitting).COMMENT
LOWinternal/component/messagefit/messagefit.go77 // Step 2: keep all system + last non-system.COMMENT
LOWinternal/component/messagefit/messagefit.go100 // Step 3: trim proportionally.COMMENT
LOWinternal/agent/component/invoke.go137 // Step 1: SSRF guard for the target URL. The validatedCOMMENT
LOWinternal/agent/component/invoke.go144 // Step 2: SSRF guard for the proxy URL (if configured).COMMENT
LOWinternal/agent/component/invoke.go220 // Step 3: build the client. When a proxy is configured, theCOMMENT
LOWinternal/cli/crypt.go60 // Step 1: Base64 encode the passwordCOMMENT
LOWinternal/cli/crypt.go63 // Step 2: Encrypt using RSA PKCS1v15COMMENT
LOWinternal/cli/crypt.go69 // Step 3: Base64 encode the encrypted dataCOMMENT
LOWinternal/cli/filesystem/skill.go368 // Step 4: Navigate to the file through the pathCOMMENT
LOWinternal/cli/filesystem/skill.go416 // Step 5: Find the file in the current directoryCOMMENT
LOWinternal/cli/filesystem/skill.go457 // Step 6: Download the file contentCOMMENT
LOWinternal/cli/filesystem/skill.go916 // Step 4: If there are extra parts, navigate deeperCOMMENT
LOWinternal/cli/filesystem/skill.go1003 // Step 5: List the final folder contentsCOMMENT
LOWinternal/harness/core/subagent_node.go104 // Step 1: Extract input from graph stateCOMMENT
LOWinternal/harness/core/subagent_node.go110 // Step 2: Run the agentCOMMENT
LOWinternal/harness/core/subagent_node.go116 // Step 3: Collect output back into graph stateCOMMENT
45 more matches not shown…
Redundant / Tautological Comments110 hits · 173 pts
SeverityFileLineSnippetContext
LOWbuild.sh291 # Check if C++ library existsCOMMENT
LOWtools/es-to-oceanbase-migration/tests/test_progress.py312 # Read file directlyCOMMENT
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py290 # Check if column existsCOMMENT
LOW…o-oceanbase-migration/src/es_ob_migration/es_client.py217 # Check if there are more resultsCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/schema.py121 # Check if it's a known RAGFlow fieldCOMMENT
LOW…s-to-oceanbase-migration/src/es_ob_migration/schema.py124 # Check if it's a vector fieldCOMMENT
LOWtools/scripts/db_schema_sync.py78 # Check if it has a database attribute (is a proper model)COMMENT
LOWtools/scripts/db_schema_sync.py248 # Check if field exists in databaseCOMMENT
LOWtools/scripts/db_schema_sync.py253 # Check if type changedCOMMENT
LOWtools/scripts/db_schema_sync.py699 # Check if any changes detectedCOMMENT
LOWtools/scripts/mysql_migration.py328 # Check if source table existsCOMMENT
LOWtools/scripts/mysql_migration.py333 # Check if target table existsCOMMENT
LOWtools/scripts/mysql_migration.py341 # Check if there's data to migrateCOMMENT
LOWtools/scripts/mysql_migration.py462 # Check if source table existsCOMMENT
LOWtools/scripts/mysql_migration.py467 # Check if tenant_model_provider exists (dependency)COMMENT
LOWtools/scripts/mysql_migration.py475 # Check if target table existsCOMMENT
LOWtools/scripts/mysql_migration.py483 # Check if there's data to migrate (distinct by tenant_id, llm_factory, api_key)COMMENT
LOWtools/scripts/mysql_migration.py740 # Check if source table existsCOMMENT
LOWtools/scripts/mysql_migration.py745 # Check if tenant_model_provider exists (dependency)COMMENT
LOWtools/scripts/mysql_migration.py753 # Check if tenant_model_instance exists (dependency)COMMENT
LOWtools/scripts/mysql_migration.py761 # Check if target table existsCOMMENT
LOWtools/scripts/mysql_migration.py771 # Check if there's data to migrateCOMMENT
LOWtools/scripts/mysql_migration.py800 # Check if tenant_model_provider exists (dependency)COMMENT
LOWtools/scripts/mysql_migration.py805 # Check if tenant_model_instance exists (dependency)COMMENT
LOWtools/scripts/mysql_migration.py810 # Check if target table existsCOMMENT
LOWtools/scripts/mysql_migration.py360 # Check if target table existsCOMMENT
LOWtools/scripts/mysql_migration.py511 # Check if tenant_model_provider exists (dependency)COMMENT
LOWtools/scripts/mysql_migration.py516 # Check if target table existsCOMMENT
LOWtools/scripts/mysql_migration.py1320 # Check if there are any models to seedCOMMENT
LOWtools/scripts/mysql_migration.py1488 # Check if record already existsCOMMENT
LOWtools/scripts/mysql_migration.py1817 # Check if column is still INT type -> needs conversionCOMMENT
LOWtools/scripts/mysql_migration.py1822 # Check if there are NULL values that should be populatedCOMMENT
LOWtools/scripts/mysql_migration.py2079 # Check if migration is neededCOMMENT
LOWdocker/migration.sh106 # Check if any of our target volumes are used by this containerCOMMENT
LOWdocker/migration.sh166 # Check if any containers are using the volumesCOMMENT
LOWdocker/migration.sh217 # Check if any containers are using the volumesCOMMENT
LOWdocker/migration.sh220 # Check if backup folder existsCOMMENT
LOWdocker/migration.sh226 # Check if all backup files existCOMMENT
LOWdocker/migration.sh303 # Check if Docker is availableCOMMENT
LOWdocker/launch_backend_service.sh32 # Check if .env file existsCOMMENT
LOWdeepdoc/parser/tcadp_parser.py124 # Check if there is a download linkCOMMENT
LOWtest/unit_test/common/test_time_utils.py57 # Check if timestamps are monotonically increasingCOMMENT
LOW…file_management_within_dataset/test_update_document.py47 # Check if empty string raises an exception or notCOMMENT
LOW…file_management_within_dataset/test_update_document.py55 # Check if this case raises an exception or notCOMMENT
LOW…file_management_within_dataset/test_update_document.py126 # Check if empty string raises an exception or notCOMMENT
LOW…est_session_management/test_session_sdk_routes_unit.py492 # Check if tenant existsCOMMENT
LOWexample/http/list_datasets.sh107# Output resultCOMMENT
LOWadmin/server/services.py86 # Check if the email address is already usedCOMMENT
LOWadmin/client/parser.py859 # Check if item is a DATASET tokenSTRING
LOWadmin/client/parser.py871 # Check if it's "REMOVE ALL CHUNKS"STRING
LOWadmin/client/ragflow_client.py1425 # Check if it's the final messageCOMMENT
LOWagent/component/message.py461 # Check if this could be a table titleCOMMENT
LOWagent/component/message.py467 # Check if this is a separator line (|---|---|)COMMENT
LOWagent/component/message.py501 # Check if this line could be a title for the next tableCOMMENT
LOWagent/sandbox/providers/self_managed.py399 # Check if it's a valid HTTP/HTTPS URL or localhostCOMMENT
LOWagent/sandbox/providers/aliyun_codeinterpreter.py158 # Check if template existsCOMMENT
LOWagent/sandbox/tests/verify_sdk.py38 # Check if agentrun SDK is available using importlibCOMMENT
LOWagent/sandbox/executor_manager/services/execution.py388 # Read file content via docker exec (docker cp doesn't work with gVisor tmpfs)STRING
LOWrag/svr/task_executor.py1764 # Check if dry-run comparison is enabled via environment variableCOMMENT
LOWrag/svr/task_executor_refactor/comparator.py387 # Check if chunks have valid IDsCOMMENT
50 more matches not shown…
Docstring Block Structure33 hits · 165 pts
SeverityFileLineSnippetContext
HIGHrun_tests.py92 Wrap input string with specified ANSI terminal color escape sequence. Color name argument is case-insensitive. STRING
HIGHagent/sandbox/client.py158 Execute code in the configured sandbox. This is the main entry point for agent components to execute code. STRING
HIGHagent/sandbox/providers/self_managed.py83 Create a new sandbox instance. Note: For self-managed provider, instances are managed internally STRING
HIGHagent/sandbox/providers/self_managed.py121 Execute code in the sandbox. Args: instance_id: ID of the sandbox instance (not used for sSTRING
HIGHagent/sandbox/providers/aliyun_codeinterpreter.py131 Create a new sandbox instance in Aliyun Code Interpreter. Args: template: Programming langSTRING
HIGHagent/sandbox/providers/aliyun_codeinterpreter.py199 Execute code in the Aliyun Code Interpreter instance. Args: instance_id: ID of the sandboxSTRING
HIGHagent/sandbox/providers/e2b.py71 Create a new sandbox instance in E2B. Args: template: Programming language template (pythoSTRING
HIGHagent/sandbox/providers/e2b.py104 Execute code in the E2B instance. Args: instance_id: ID of the sandbox instance STRING
HIGHagent/sandbox/providers/ucloud_agent_sandbox.py66Validate and apply provider configuration. Args: config: Provider credentials, endpoint options, anSTRING
HIGHagent/sandbox/providers/base.py85 Create a new sandbox instance. Args: template: Programming language/template for the instaSTRING
HIGHagent/sandbox/providers/base.py102 Execute code in a sandbox instance. Args: instance_id: ID of the sandbox instance STRING
HIGHagent/sandbox/providers/base.py123 Destroy a sandbox instance. Args: instance_id: ID of the instance to destroy RetuSTRING
HIGH…/task_executor_refactor/write_operation_interceptor.py85Intercept a method call and return the next pre-recorded value. Args: method_name: Name of the methSTRING
HIGHrag/llm/tool_decorator.py103Pull a function description and per-parameter descriptions out of a docstring. Recognises two conventions and handlSTRING
HIGHrag/app/resume.py995 Parse JSON string, attempt repair on failure (ref SmartResume's json_repair strategy). Repair strategies: STRING
HIGHcommon/float_utils.py19 Convert a value to float, handling None and exceptions gracefully. Attempts to convert the input value to a flSTRING
HIGHcommon/settings.py226 Generate queue name with two dimensions: priority and suffix. Args: priority: Task priority (0=low, 1=STRING
HIGHcommon/data_source/rest_api_connector.py397Validate config schema and optionally perform a live API call. Args: config: Raw config dict from tSTRING
HIGHcommon/data_source/webdav_connector.py127Load credentials and initialize WebDAV client Args: credentials: Dictionary containing 'username' aSTRING
HIGHapi/utils/validation_utils.py49 Validates and parses JSON requests through a multi-stage validation pipeline. Implements a four-stage validatiSTRING
HIGHapi/utils/validation_utils.py126 Validates and parses request arguments against a Pydantic model. This function performs a complete request valSTRING
HIGHapi/utils/validation_utils.py246 Normalizes string values to a standard format while preserving non-string inputs. Performs the following transSTRING
HIGHapi/utils/validation_utils.py295 Validates and converts input to a UUID hexadecimal string. The function name is retained for backward compatibSTRING
HIGHapi/utils/validation_utils.py599 Validates Base64-encoded avatar string format and MIME type compliance. Implements a three-stage validSTRING
HIGHapi/utils/validation_utils.py657 Validates embedding model identifier format compliance. Validation pipeline: 1. Structural forSTRING
HIGHapi/utils/validation_utils.py735 Validates serialized JSON length constraints for parser configuration. Implements a two-stage validatiSTRING
HIGHapi/utils/validation_utils.py872 Validates and normalizes a list of UUID strings with None handling. This post-processing validator perSTRING
HIGHapi/utils/api_utils.py553 Verifies availability of an embedding model for a specific tenant. Performs comprehensive verification throughSTRING
HIGHapi/utils/api_utils.py601 Recursively merges two dictionaries with priority given to `custom` values. Creates a deep copy of the `defaulSTRING
HIGHapi/db/services/doc_metadata_service.py1228 Batch update metadata for documents in a knowledge base. Args: kb_id: Knowledge base ID STRING
HIGHapi/db/services/__init__.py46 Generates a unique filename by appending/incrementing a counter when duplicates exist. Continuously checks forSTRING
HIGHapi/db/services/common_service.py156Get a single record matching the given criteria. This method retrieves a single record from the database that mSTRING
HIGHapi/apps/restful_apis/document_api.py1008Parse document ID filter based on metadata conditions from the request. This function extracts and processes metadaSTRING
Fake / Example Data118 hits · 142 pts
SeverityFileLineSnippetContext
LOW…t_test/data_source/test_imap_connector_addr_parsing.py42 assert _parse_addrs("user@example.com") == [("", "user@example.com")]CODE
LOWtest/unit_test/rag/test_find_codec.py88 text = "Lorem ipsum UTF-8 sample 日本語 and Ελληνικά mixed together."CODE
LOWtest/unit_test/api/utils/test_nickname_validation.py27 "John Doe",CODE
LOWtest/playwright/conftest.py1399 placeholder: input.getAttribute('placeholder') || '',CODE
LOWtest/playwright/conftest.py1431 for key in ("type", "name", "autocomplete", "placeholder"):STRING
LOW…es/test_web_api/test_auth_app/test_oidc_client_unit.py522 "email": "user@example.com",CODE
LOW…es/test_web_api/test_auth_app/test_oidc_client_unit.py531 "email": "user@example.com",CODE
LOW…s/test_web_api/test_auth_app/test_oauth_client_unit.py138 return _FakeResponse({"email": "user@example.com", "picture": "id-picture"})CODE
LOW…s/test_web_api/test_auth_app/test_oauth_client_unit.py146 "email": "user@example.com",CODE
LOW…ases/test_web_api/test_system_app/test_system_basic.py53 res = system_delete_token(invalid_auth, "dummy_token")CODE
LOWweb/src/stories/ragflow-avatar.stories.ts47 name="John Doe"CODE
LOWweb/src/stories/ragflow-avatar.stories.ts94 name: 'John Doe',CODE
LOWweb/src/stories/ragflow-avatar.stories.ts105 name: 'John Doe',CODE
LOWweb/src/stories/ragflow-avatar.stories.ts118 name="John Doe"CODE
LOWweb/src/pages/agent/form/invoke-form/schema.ts32 const testURL = val.replace(placeholderRegex, 'placeholder');CODE
LOW…/src/pages/user-setting/data-source/constant/index.tsx974 placeholder: 'admin@example.com',CODE
LOW…/src/pages/user-setting/data-source/constant/index.tsx1068 placeholder: 'admin@example.com',CODE
LOWinternal/handler/document_test.go524 if err := db.Create(&entity.User{ID: "user-1", Nickname: "test", Email: "test@test.com", Password: sptr("x")}).Error; eCODE
LOWinternal/handler/document_test.go1035 db.Create(&entity.User{ID: "user-1", Nickname: "test", Email: "test@test.com", Password: sptr("x")})CODE
LOWinternal/handler/bot_test.go769// fake-user middleware to assert GetUser() short-circuits with 401.COMMENT
LOWinternal/handler/bot_test.go1029// fake-user middleware so the real auth flow is exercised.COMMENT
LOWinternal/tokenizer/bpe_loader_anchors_test.go55 {"user@example.com", 3},CODE
LOWinternal/agent/component/io/pdf_writer_test.go104 if err := os.WriteFile(fontPath, []byte("placeholder"), 0o600); err != nil {CODE
LOWinternal/agent/sandbox/e2b_test.go319 t.Setenv("E2B_ACCESS_TOKEN", "fake-token")CODE
LOWinternal/agent/sandbox/ucloud_agent_sandbox_test.go159 p := newUCloudAgentSandboxProviderFromConfig(map[string]any{"api_key": "fake-key"})CODE
LOWinternal/agent/sandbox/ucloud_agent_sandbox_test.go173 "api_key": "fake-key",CODE
LOWinternal/agent/sandbox/ucloud_agent_sandbox_test.go203 p := newUCloudAgentSandboxProviderFromConfig(map[string]any{"api_key": "fake-key"})CODE
LOWinternal/agent/sandbox/ucloud_agent_sandbox_test.go239 p := newUCloudAgentSandboxProviderFromConfig(map[string]any{"api_key": "fake-key"})CODE
LOWinternal/agent/tool/pubmed_test.go34 got := buildPubMedESearchURL("covid vaccine", 7, "user@example.com")CODE
LOWinternal/agent/tool/pubmed_test.go52 if q.Get("email") != "user@example.com" {CODE
LOWinternal/agent/tool/pubmed_test.go59 got := buildPubMedEFetchURL([]string{"12345", "67890"}, "user@example.com")CODE
LOWinternal/agent/tool/pubmed_test.go71 if q.Get("email") != "user@example.com" {CODE
LOWinternal/agent/tool/searxng_test.go222 if serverURL["placeholder"] != "http://localhost:4000" {CODE
LOWinternal/agent/tool/searxng.go246 "placeholder": "http://localhost:4000",CODE
LOWinternal/cli/admin_parser.go456// SHOW USER 'user@example.com';COMMENT
LOWinternal/cli/admin_parser.go457// SHOW USER 'user@example.com' ACTIVITY;COMMENT
LOWinternal/cli/admin_parser.go458// SHOW USER 'user@example.com' SUMMARY;COMMENT
LOWinternal/cli/admin_parser.go459// SHOW USER 'user@example.com' DATASET 'dataset_name';COMMENT
LOWinternal/cli/admin_parser.go460// SHOW USER 'user@example.com' STORAGE;COMMENT
LOWinternal/cli/admin_parser.go461// SHOW USER 'user@example.com' QUOTA;COMMENT
LOWinternal/cli/admin_parser.go462// SHOW USER 'user@example.com' INDEX;COMMENT
LOWinternal/cli/admin_parser.go463// SHOW USER 'user@example.com' PERMISSION;COMMENT
LOWinternal/cli/admin_parser.go3211// LIST USER 'user@example.com' INGESTION TASKS;COMMENT
LOWinternal/cli/admin_parser.go3212// LIST USER 'user@example.com' DATASETS;COMMENT
LOWinternal/cli/admin_parser.go3213// LIST USER 'user@example.com' AGENTS;COMMENT
LOWinternal/cli/admin_parser.go3214// LIST USER 'user@example.com' CHATS;COMMENT
LOWinternal/cli/admin_parser.go3215// LIST USER 'user@example.com' SEARCHES;COMMENT
LOWinternal/cli/admin_parser.go3216// LIST USER 'user@example.com' MODELS; // all added modelsCOMMENT
LOWinternal/cli/admin_parser.go3217// LIST USER 'user@example.com' FILES;COMMENT
LOWinternal/cli/admin_parser.go3218// LIST USER 'user@example.com' KEYS;COMMENT
LOWinternal/cli/admin_parser.go493// SHOW USER 'user@example.com';COMMENT
LOWinternal/cli/admin_parser.go507// SHOW USER 'user@example.com' ACTIVITY DAYS 30;COMMENT
LOWinternal/cli/admin_parser.go540// SHOW USER 'user@example.com' SUMMARY;COMMENT
LOWinternal/cli/admin_parser.go555// SHOW USER 'user@example.com' DATASET 'dataset_name';COMMENT
LOWinternal/cli/admin_parser.go590// SHOW USER 'user@example.com' STORAGE;COMMENT
LOWinternal/cli/admin_parser.go605// SHOW USER 'user@example.com' QUOTA;COMMENT
LOWinternal/cli/admin_parser.go620// SHOW USER 'user@example.com' INDEX;COMMENT
LOWinternal/cli/admin_parser.go635// SHOW USER 'user@example.com' PERMISSION;COMMENT
LOWinternal/cli/admin_parser.go1306// CREATE USER 'user@example.com' 'password';COMMENT
LOWinternal/cli/admin_parser.go1343// CREATE USER 'user@example.com' KEY;COMMENT
58 more matches not shown…
Modern Structural Boilerplate115 hits · 114 pts
SeverityFileLineSnippetContext
LOWtools/firecrawl/__init__.py15__all__ = ["FirecrawlConnector", "FirecrawlConfig"]CODE
LOWtools/firecrawl/integration.py15logger = logging.getLogger(__name__)CODE
LOWtools/firecrawl/integration.py132__all__ = [CODE
LOWtools/firecrawl/ragflow_integration.py156__all__ = ["RAGFlowFirecrawlIntegration", "create_firecrawl_integration", "FirecrawlConfig", "FirecrawlConnector", "FireCODE
LOW…o-oceanbase-migration/src/es_ob_migration/ob_client.py16logger = logging.getLogger(__name__)CODE
LOW…to-oceanbase-migration/src/es_ob_migration/__init__.py23__all__ = [CODE
LOW…o-oceanbase-migration/src/es_ob_migration/es_client.py10logger = logging.getLogger(__name__)CODE
LOW…to-oceanbase-migration/src/es_ob_migration/progress.py12logger = logging.getLogger(__name__)CODE
LOW…s-to-oceanbase-migration/src/es_ob_migration/verify.py14logger = logging.getLogger(__name__)CODE
LOW…to-oceanbase-migration/src/es_ob_migration/migrator.py25logger = logging.getLogger(__name__)CODE
LOW…s-to-oceanbase-migration/src/es_ob_migration/schema.py13logger = logging.getLogger(__name__)CODE
LOWtools/chatgpt-on-wechat/plugins/__init__.py23__all__ = ["RAGFlowChat"]CODE
LOWtools/scripts/db_schema_sync.py45logger = logging.getLogger(__name__)CODE
LOWtools/scripts/mysql_migration.py53logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/docker_stubs.py55__all__ = ["OCR", "Recognizer", "LayoutRecognizer", "TableStructureRecognizer"]STRING
LOWdeepdoc/server/deepdoc_server.py27logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/endpoints/tsr_endpoint.py9logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/endpoints/ocr_endpoint.py9logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/endpoints/dla_endpoint.py9logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/adapters/tsr_adapter.py11logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/adapters/ocr_adapter.py16logger = logging.getLogger(__name__)CODE
LOWdeepdoc/server/adapters/dla_adapter.py11logger = logging.getLogger(__name__)CODE
LOWdeepdoc/vision/__init__.py82__all__ = [CODE
LOWdeepdoc/parser/markdown_parser.py29logger = logging.getLogger(__name__)CODE
LOWdeepdoc/parser/__init__.py29__all__ = [CODE
LOWdeepdoc/parser/epub_parser.py32logger = logging.getLogger(__name__)CODE
LOWdeepdoc/parser/json_parser.py58 def _set_nested_dict(d: dict, path: list[str], value: Any) -> None:CODE
LOWtest/benchmark/cli.py229def _set_default_models_from_args(client: HttpClient, args: argparse.Namespace) -> None:CODE
LOWtest/playwright/e2e/test_next_apps_agent.py61def _set_import_file(modal, file_path: str) -> None:CODE
LOWtest/playwright/e2e/test_dataset_upload_parse.py42def set_switch_state(page, test_id: str, desired_checked: bool) -> None:CODE
LOWtest/playwright/e2e/test_dataset_upload_parse.py57def set_number_input(page, test_id: str, value: str | int | float) -> None:CODE
LOWagent/tools/querit.py37logger = logging.getLogger(__name__)CODE
LOWagent/component/base.py580 def set_input_value(self, key: str, value: Any) -> None:CODE
LOWagent/sandbox/client.py32logger = logging.getLogger(__name__)CODE
LOWagent/sandbox/providers/tenki.py42logger = logging.getLogger(__name__)CODE
LOWagent/sandbox/providers/local.py304 def _set_resource_limit(kind: int, value: int) -> None:CODE
LOWagent/sandbox/providers/aliyun_codeinterpreter.py44logger = logging.getLogger(__name__)CODE
LOWagent/sandbox/providers/__init__.py43__all__ = [CODE
LOWagent/sandbox/providers/ucloud_agent_sandbox.py36logger = logging.getLogger(__name__)CODE
LOWrag/svr/task_executor_refactor/dataflow_service.py346 def _update_document_metadata(self, doc_id: str, metadata: Dict) -> None:CODE
LOWrag/svr/task_executor_refactor/recording_context.py332def set_recording_context(ctx: BaseRecordingContext) -> None:CODE
LOWrag/llm/embedding_model.py41logger = logging.getLogger(__name__)CODE
LOWrag/llm/__init__.py197__all__ = [CODE
LOWrag/llm/tts_model.py46logger = logging.getLogger(__name__)CODE
LOWrag/llm/sequence2txt_model.py37logger = logging.getLogger(__name__)CODE
LOWrag/llm/key_utils.py116__all__ = ["_normalize_replicate_key", "_resolve_provider_credentials"]CODE
LOWrag/app/one.py32logger = logging.getLogger(__name__)CODE
LOWrag/app/table.py40logger = logging.getLogger(__name__)CODE
LOWrag/advanced_rag/__init__.py22__all__ = [CODE
LOWrag/advanced_rag/knowlege_compile/wiki_incremental.py4829__all__ = [CODE
LOWrag/advanced_rag/knowlege_compile/wiki_incremental.py3566 async def _update_changed(item: tuple[str, dict]) -> None:CODE
LOWrag/advanced_rag/knowlege_compile/_common.py976__all__ = [CODE
LOWrag/advanced_rag/knowlege_compile/__init__.py31__all__ = [CODE
LOWrag/advanced_rag/knowlege_compile/structure.py3187__all__ = [CODE
LOWrag/advanced_rag/knowlege_compile/wiki.py4157__all__ = [CODE
LOWrag/graphrag/ner/__init__.py20__all__ = [CODE
LOWrag/utils/querit_conn.py26logger = logging.getLogger(__name__)CODE
LOWrag/utils/youcom_conn.py26logger = logging.getLogger(__name__)CODE
LOWrag/utils/web_search_conn.py34logger = logging.getLogger(__name__)CODE
LOWrag/utils/serply_conn.py26logger = logging.getLogger(__name__)CODE
55 more matches not shown…
Self-Referential Comments25 hits · 82 pts
SeverityFileLineSnippetContext
MEDIUMbuild.sh348 # Create a version-stamped symlink directory so the flag stringCOMMENT
MEDIUMtools/firecrawl/firecrawl_processor.py41 # Create a hash based on URL and contentCOMMENT
MEDIUMtools/chatgpt-on-wechat/plugins/ragflow_chat.py72 # Create a new conversationCOMMENT
MEDIUM…t/unit_test/rag/svr/task_executor_refactor/conftest.py37# Create a mock module for parametric_umap to satisfy umap's import checkCOMMENT
MEDIUMtest/unit_test/rag/llm/conftest.py47 # Create a stub rag.llm package that does NOT run the real __init__COMMENT
MEDIUMtest/unit_test/common/test_token_utils.py236 # Create a string that encodes to exactly 5 tokensCOMMENT
MEDIUMtest/unit_test/api/utils/test_oceanbase_health.py160 # Create a simple object and bind the real methods to itCOMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py524 # Create a search config firstCOMMENT
MEDIUM…est_web_api/test_document_app/test_upload_info_unit.py82 # Create a fileCOMMENT
MEDIUM…est_web_api/test_document_app/test_upload_documents.py274 # Create a file with empty name by using filename_overrideCOMMENT
MEDIUM…est_web_api/test_document_app/test_upload_documents.py290 # Create a file and try to upload to a dataset we don't have access toCOMMENT
MEDIUM…est_web_api/test_document_app/test_upload_documents.py309 # Create an empty fileCOMMENT
MEDIUM…test_chat_management/test_table_parser_dataset_chat.py121 # Create a single chat assistant and session for all testsCOMMENT
MEDIUMexample/http/dataset_example.sh17# Create a datasetCOMMENT
MEDIUMadmin/server/services.py727 # Create a temporary sandbox instance for testingCOMMENT
MEDIUMagent/sandbox/client.py190 # Create a sandbox instanceCOMMENT
MEDIUMrag/svr/task_executor_refactor/comparator.py109 # Create a new dict without the non-deterministic keysCOMMENT
MEDIUMcommon/data_source/confluence_connector.py1459 # Create the main section for the page contentCOMMENT
MEDIUMcommon/data_source/confluence_connector.py1490 # Create the documentCOMMENT
MEDIUM…data_source/google_util/util_threadpool_concurrency.py22 # Create a thread-safe dictionarySTRING
MEDIUMcommon/data_source/github/connector.py833 # Create a time range from epoch to nowCOMMENT
MEDIUMcommon/data_source/bitbucket/utils.py211 # Create a concise summary of key PR infoCOMMENT
MEDIUMapi/db/db_models.py245 # This function is obsoleteCOMMENT
MEDIUMapi/db/services/file_service.py309 # Create a new file from dataset, or return the existing one.COMMENT
MEDIUMapi/db/services/connector_service.py540 # Create a mapping from filename to metadata for later useCOMMENT
AI Slop Vocabulary23 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUMtools/firecrawl/firecrawl_processor.py116 """Create comprehensive metadata for RAGFlow document."""STRING
MEDIUMinternal/deepdoc/parser/pdf/production_smoke_test.go18// stays robust: parse does not crash, detected tables are not fully empty, andCOMMENT
MEDIUMinternal/deepdoc/parser/pdf/layout/layout.go144// robust to the char-vs-OCR space divergence.COMMENT
MEDIUMinternal/deepdoc/parser/pdf/layout/combined_column.go322 // A2: robust page extent discards malformed/outlier lines so a single badCOMMENT
MEDIUMinternal/deepdoc/parser/pdf/layout/combined_column.go428 // projection, hiding a real column boundary). A2: robust extent so aCOMMENT
MEDIUMinternal/agent/component/llm_test.go768// content_length well above 8000). The >=8000 threshold is robust to catalogCOMMENT
MEDIUMinternal/agent/canvas/interrupt_resume_test.go290 // in Error(). The robust check is IsInterruptError.COMMENT
MEDIUMinternal/agent/sandbox/ssh.go631 // filled in below. -print0 + IFS split is more robustCOMMENT
MEDIUMinternal/binding/cpp/re2/prefilter_tree.h112 // These are all the nodes formed by Compile. Essentially, there isCOMMENT
MEDIUMinternal/service/nlp/datasetnav.go514 // Delete this cluster by the row id returned by the search (robust whetherCOMMENT
MEDIUMinternal/utility/markdown_to_json.go60// robust.COMMENT
MEDIUMinternal/utility/embedding_lru.go51 // If needed, a more robust key generation can be implemented.COMMENT
LOWagent/tools/searxng.py83 # In try-run, if no URL configured, just return empty instead of raisingCOMMENT
MEDIUMagent/templates/market_seo_article_writer.json138 "sys_prompt": "# Role\n\nYou are the **Parse_And_Keyword_Agent**, responsible for interpreting aCODE
MEDIUMagent/templates/market_seo_article_writer.json449 "sys_prompt": "# Role\n\nYou are the **Parse_And_Keyword_Agent**, responsible for interpretiCODE
MEDIUMrag/advanced_rag/agentic_rag.py214 # P0 instrumentation: count LLM calls / token usage per harness phase.COMMENT
MEDIUMrag/advanced_rag/agentic_rag.py216 # of the bundle, keeping the rest of the harness untouched.COMMENT
MEDIUMrag/advanced_rag/knowlege_compile/wiki.py3175 # Per-id fallback for anything the batch missed — robust against backend-COMMENT
MEDIUMrag/advanced_rag/harness/tools/navigation.py708# the task-executor layer so the harness has no dependency on it.COMMENT
MEDIUMrag/graphrag/light/graph_prompt.py140PROMPTS["summarize_entity_descriptions"] = """You are a helpful assistant responsible for generating a comprehensive sumCODE
LOWcommon/data_source/confluence_connector.py803 # For now, we'll just return None and log a warning. This meansCOMMENT
LOWcommon/data_source/confluence_connector.py806 # We may want to just return a string that indicates failure so we don'tCOMMENT
LOWcommon/data_source/confluence_connector.py404 # If it's not a method, just return it after ensuring token validityCOMMENT
AI Structural Patterns68 hits · 56 pts
SeverityFileLineSnippetContext
LOWdeepdoc/parser/paddleocr_parser.py256CODE
LOWdeepdoc/parser/paddleocr_parser.py326CODE
LOWdeepdoc/parser/somark_parser.py145CODE
LOWdeepdoc/parser/mineru_parser.py994CODE
LOWdeepdoc/parser/docling_parser.py559CODE
LOWtest/benchmark/http_client.py46CODE
LOWtest/benchmark/http_client.py76CODE
LOWtest/unit_test/rag/test_sync_data_source.py586CODE
LOWtest/testcases/test_web_api/test_common.py420CODE
LOWtest/testcases/test_web_api/test_common.py431CODE
LOW…est_web_api/test_agent_app/test_agents_webhook_unit.py60CODE
LOW…est_dataset_management/test_dataset_sdk_routes_unit.py70CODE
LOW…_web_api/test_canvas_app/test_invoke_component_unit.py114CODE
LOW…_management_within_dataset/test_doc_sdk_routes_unit.py76CODE
LOWadmin/client/http_client.py73CODE
LOWadmin/client/http_client.py146CODE
LOWadmin/client/parser.py424CODE
LOWmcp/server/server.py88CODE
LOWmcp/server/server.py95CODE
LOWmcp/server/server.py263CODE
LOWrag/app/naive.py190CODE
LOWrag/app/naive.py268CODE
LOWrag/app/naive.py321CODE
LOWrag/app/naive.py365CODE
LOWrag/app/naive.py412CODE
LOWrag/advanced_rag/agentic_rag.py196CODE
LOWrag/advanced_rag/knowlege_compile/wiki_incremental.py1831CODE
LOWrag/advanced_rag/knowlege_compile/wiki_incremental.py4112CODE
LOWrag/advanced_rag/knowlege_compile/_common.py898CODE
LOWrag/advanced_rag/knowlege_compile/structure.py3001CODE
LOWrag/advanced_rag/knowlege_compile/wiki.py546CODE
LOWrag/advanced_rag/knowlege_compile/wiki.py1224CODE
LOWrag/advanced_rag/knowlege_compile/wiki.py2623CODE
LOWrag/advanced_rag/knowlege_compile/wiki.py3795CODE
LOWrag/graphrag/utils.py547CODE
LOWrag/graphrag/general/graph_extractor.py51CODE
LOWrag/nlp/search.py557CODE
LOWrag/prompts/generator.py316CODE
LOWrag/flow/tests/test_token_chunker.py116CODE
LOWcommon/http_client.py118CODE
LOWcommon/http_client.py172CODE
LOWcommon/metadata_infinity_filter.py218CODE
LOWcommon/crypto_utils.py118CODE
LOWcommon/data_source/bigquery_connector.py106CODE
LOWcommon/data_source/rest_api_connector.py227CODE
LOWcommon/data_source/confluence_connector.py1176CODE
LOW…mon/data_source/cross_connector_utils/retry_wrapper.py47CODE
LOWcommon/data_source/jira/connector.py86CODE
LOWcommon/data_source/google_drive/connector.py113CODE
LOWsdk/python/ragflow_sdk/ragflow.py38CODE
LOWsdk/python/ragflow_sdk/ragflow.py42CODE
LOWsdk/python/ragflow_sdk/ragflow.py46CODE
LOWsdk/python/ragflow_sdk/ragflow.py50CODE
LOWsdk/python/ragflow_sdk/ragflow.py54CODE
LOWsdk/python/ragflow_sdk/ragflow.py158CODE
LOWsdk/python/ragflow_sdk/ragflow.py190CODE
LOWsdk/python/ragflow_sdk/modules/session.py158CODE
LOWsdk/python/ragflow_sdk/modules/session.py170CODE
LOWsdk/python/ragflow_sdk/modules/dataset.py67CODE
LOWsdk/python/ragflow_sdk/modules/base.py43CODE
8 more matches not shown…
Dead Code15 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMdeepdoc/parser/pdf_parser.py1116CODE
MEDIUMdeepdoc/parser/pdf_parser.py1132CODE
MEDIUMdeepdoc/parser/pdf_parser.py1133CODE
MEDIUMdeepdoc/parser/pdf_parser.py1134CODE
MEDIUMdeepdoc/parser/pdf_parser.py1191CODE
MEDIUMdeepdoc/parser/pdf_parser.py1192CODE
MEDIUMdeepdoc/parser/pdf_parser.py1213CODE
MEDIUM…est_web_api/test_agent_app/test_agents_webhook_unit.py1415CODE
MEDIUM…est_web_api/test_agent_app/test_agents_webhook_unit.py1483CODE
MEDIUM…tcases/test_web_api/test_llm_app/test_llm_list_unit.py766CODE
MEDIUMrag/advanced_rag/agentic_rag.py426CODE
MEDIUMrag/advanced_rag/agentic_rag.py429CODE
MEDIUMrag/advanced_rag/agentic_rag.py430CODE
MEDIUMrag/advanced_rag/agentic_rag.py434CODE
MEDIUMrag/advanced_rag/agentic_rag.py435CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/scripts/run_migrations.sh8# Usage:COMMENT
LOWcommon/data_source/blob_connector.py359 # Example usageCOMMENT
LOWcommon/data_source/slack_connector.py667 # Example usageCOMMENT
LOWcommon/data_source/dingtalk_ai_table_connector.py458 # Example usageCOMMENT
LOWcommon/data_source/imap_connector.py145# Usage:COMMENT
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinternal/binding/cpp/opencc/opencc.h70 * Note: Don't forget to assign **outbuf to L'\0' after called.COMMENT
LOWinternal/binding/cpp/opencc/opencc.h85 * DON'T FORGET TO CALL free() to recycle memory.COMMENT
LOWcommon/data_source/google_drive/section_extraction.py180 # Don't forget to add the last sectionCOMMENT