AI Slop Code RIsk Monitor

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

5.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for infiniflow/ragflow, a Go project with 91,957 GitHub stars. SynthScan examined 1,390,656 lines of code across 4875 source files, recording 5578 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate pattern signal); it is not an authorship estimate.

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

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
92.0K
Stars
Go
Language
1.4M
Lines of Code
4.9K
Files
5.6K
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 16.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 6.9/100 · LOW

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

Agent Over-Engineering Ratio 5.9/100 · LOW

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

PR Review Velocity Impact 28.6/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 566MEDIUM 478LOW 4534

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 5578 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block3319 hits · 3234 pts
SeverityFileLineSnippetContext
LOWrun_tests.py1#!/usr/bin/env python3COMMENT
LOWpyproject.toml41[tool.uv]COMMENT
LOWpyproject.toml61 "lxml>=6.1.1",COMMENT
LOWbuild.sh241 fiCOMMENT
LOWbuild.sh301 echo " DeepDocORTVersion=${ort_version}; fetch it with:" >&2COMMENT
LOWbuild.sh421# digit are byte-identical and cannot be told apart.COMMENT
LOWbuild.sh481 # Verify the on-disk lib matches the pinned version. _seed_from_systemCOMMENT
LOWbuild.sh541 make rag_tokenizer_c_api -j"$jobs"COMMENT
LOWbuild.sh781 esacCOMMENT
LOWbuild.sh821 for f in $ORT_A_FILES; doCOMMENT
LOWbuild.sh841 # dlsym("OrtGetApiBase"), so nothing references it at link time andCOMMENT
LOWbuild.sh901# covered by the normal module tests. The build is pure-Go geometry plus theCOMMENT
LOWbuild.sh921# Why -race is split instead of applied to the whole suite:COMMENT
LOWlefthook.yml1# There are 6 fix-capable jobs and 5 pure-check jobs in pre-commit, plus aCOMMENT
LOWcmd/deepdoc_server_ee.go1//COMMENT
LOWcmd/ragflow-cli.go1//go:build ignoreCOMMENT
LOWcmd/ragflow_server_deepdoc_test.go1//COMMENT
LOWcmd/ragflow_server_test.go1//COMMENT
LOWcmd/ragflow_server.go1//COMMENT
LOWcmd/ragflow_server.go721 }COMMENT
LOWcmd/ragflow_server.go901COMMENT
LOWcmd/ragflow_server.go941 navService := nlp.NewNavService(service.NewNavEmbedder(service.NewModelFactory(), ""))COMMENT
LOWcmd/ragflow_server.go1281 // Install the dataset-nav ES-backed service (internal/service/nav +COMMENT
LOWcmd/ragflow_server.go1361 apiServerConfig := globalConfig.GetAPIServerConfig()COMMENT
LOWcmd/ragflow_server.go1521 }COMMENT
LOWcmd/ragflow_server.go1541COMMENT
LOWcmd/ragflow_server.go1601 // The in-process (Go) DeepDoc backend is the ONLY production backend. FailCOMMENT
LOWtools/migrate-canvas/main.go1//COMMENT
LOWtools/migrate-canvas/main.go21// go run ./tools/migrate-canvas -golden=expected.json docs/develop/sample.jsonCOMMENT
LOWtools/covsweep/main.go1// Command covsweep answers one question for a whole document set:COMMENT
LOWtools/covsweep/main.go21// honest: the ingest strips punctuation AND closes the gap it leaves, so a source lineCOMMENT
LOWtools/covsweep/main.go41// Concurrency, and where the time actually goes (the tool prints a phase breakdown on exit):COMMENT
LOWtools/covsweep/main.go121 FileAlnum int `json:"file_alnum"` // alphanumeric characters the file projects toCOMMENT
LOWtools/covsweep/main.go421// ---------------------------------------------------------------------------COMMENT
LOWtools/covsweep/main.go621COMMENT
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/mdprobe/main.go1// Command mdprobe runs the ingest Markdown parser over a corpus file and reports, item by item,COMMENT
LOWdocker/kvrocks-entrypoint.sh1#!/bin/shCOMMENT
LOWdocker/docker-compose-macos.yml21 - ./nginx/proxy.conf:/etc/nginx/proxy.confCOMMENT
LOWdocker/docker-compose-macos.yml41 # networks:COMMENT
LOWdocker/docker-compose-base.yml261 # mysql:5.7 linux/arm64 image is unavailable.COMMENT
LOWdocker/docker-compose-base.yml341 kvrocks:COMMENT
LOWdocker/vastbase/init/01_init.sh1#!/bin/bashCOMMENT
LOWtest/test_check_files.py1# Copyright 2026 The InfiniFlow Authors. All Rights Reserved.COMMENT
LOWtest/test_cajal_template_unit.py1#COMMENT
LOWtest/build_pdf_oxide_version.sh1#!/usr/bin/env bashCOMMENT
LOWtest/integration/wiki/test_wiki_incremental.py1#COMMENT
LOWtest/api/config.go1//go:build integrationCOMMENT
LOWtest/api/user_api_test.go1//go:build integrationCOMMENT
LOWtest/api/dataset_api_test.go1//go:build integrationCOMMENT
LOWtest/api/main_test.go1//go:build integrationCOMMENT
LOWtest/testcases/conftest.py1#COMMENT
LOWtest/testcases/configs.py1#COMMENT
LOWtest/testcases/utils/__init__.py1#COMMENT
LOWtest/testcases/utils/engine_utils.py1#COMMENT
3259 more matches not shown…
Magic Placeholder Names474 hits · 1580 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
HIGH⚡tools/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.ts1390 'YOUR_API_KEY (تم الحصول عليه من https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/it.ts1902 'YOUR_API_KEY (ottenuta da https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/en.ts2713 'YOUR_API_KEY (obtained from https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/fr.ts2528 'YOUR_API_KEY (obtenu depuis https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/ru.ts1577 'YOUR_API_KEY (полученный с https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/locales/ko.ts1904 'YOUR_API_KEY (https://serpapi.com/manage-api-key 에서 발급)',CODE
HIGHweb/src/locales/az.ts2740 'YOUR_API_KEY (https://serpapi.com/manage-api-key ünvanından əldə edilir)',CODE
HIGHweb/src/locales/ja.ts2464 'YOUR_API_KEY(https://serpapi.com/manage-api-key から取得)',CODE
HIGHweb/src/locales/bg.ts1450 'YOUR_API_KEY (получен от https://serpapi.com/manage-api-key)',CODE
HIGHweb/src/pages/agent/constant/index.tsx412 'YOUR_API_KEY (obtained from https://www.microsoft.com/en-us/bing/apis/bing-web-search-api)',CODE
HIGHinternal/agent/templates/web_search_assistant.json209 "api_key": "YOUR_API_KEY (obtained from https://www.microsoft.com/en-us/bing/apis/biCODE
HIGHinternal/agent/templates/web_search_assistant.json565 "api_key": "YOUR_API_KEY (obtained from https://www.microsoft.com/en-us/bing/apiCODE
HIGH⚡docs/references/python_api_reference.md852rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGH⚡docs/references/python_api_reference.md852rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md250rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md250rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md431rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md431rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md547rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md547rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md581 api_key="<YOUR_API_KEY>",CODE
HIGHdocs/references/python_api_reference.md581 api_key="<YOUR_API_KEY>",CODE
HIGHdocs/references/python_api_reference.md714 api_key="<YOUR_API_KEY>",CODE
HIGHdocs/references/python_api_reference.md714 api_key="<YOUR_API_KEY>",CODE
HIGHdocs/references/python_api_reference.md768rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md768rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md799rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md799rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md889rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md889rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md970rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md970rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1026rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1026rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1067rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1067rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1113rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1113rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1207rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1207rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1290rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1290rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1348rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1348rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1388rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1388rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1459rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1459rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1498rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1498rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1532rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1532rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1600rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
HIGHdocs/references/python_api_reference.md1600rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")CODE
414 more matches not shown…
Decorative Section Separators213 hits · 678 pts
SeverityFileLineSnippetContext
MEDIUMbuild.sh71# ── cl100k_base BPE table ─────────────────────────────────────────────COMMENT
MEDIUMbuild.sh691 # ── office_oxide ──────────────────────────────────────────────────COMMENT
MEDIUMbuild.sh711 # ── pdfium ────────────────────────────────────────────────────────COMMENT
MEDIUMbuild.sh737 # ── pdf_oxide ─────────────────────────────────────────────────────COMMENT
MEDIUMbuild.sh768 # ── onnxruntime (static, resolved via dlopen(NULL)) ────────────────COMMENT
MEDIUMbuild.sh857 # ── platform-specific system libraries ────────────────────────────COMMENT
MEDIUMdocker/entrypoint.sh8# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh10# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh70# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh72# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh96# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh98# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh127# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/entrypoint.sh129# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/vastbase/init/01_init.sh25# ── Step 1: Create user ──────────────────────────────────────────────────COMMENT
MEDIUMdocker/vastbase/init/01_init.sh55# ── Step 3: Grant database-level privileges ──────────────────────────────COMMENT
MEDIUMdocker/vastbase/init/01_init.sh60# ── Step 4: Grant schema permissions (must connect to each database) ─────COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py439# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py441# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py480# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py482# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py512# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py514# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py563# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py565# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py588# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py590# ---------------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py60# ---------------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py62# ---------------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py318# ---------------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py320# ---------------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py340 # -----------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py342 # -----------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py369 # -----------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py371 # -----------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py394 # -----------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py396 # -----------------------------------------------------------------------COMMENT
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py147# ---------------------------------------------------------------------------STRING
MEDIUM…tcases/restful_api/test_search_datasets_consistency.py149# ---------------------------------------------------------------------------STRING
MEDIUMweb/src/lib/editor/mermaid-node.tsx138// ─── React rendering component ─────────────────────────────COMMENT
MEDIUMweb/src/pages/agent/utils/dsl-bridge.ts63// ─── Public API ─────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/pages/agent/utils/__tests__/dsl-bridge.test.ts8// ─── Round-trip stability integration tests ────────────────────────────COMMENT
MEDIUM…/src/pages/user-setting/data-source/constant/index.tsx1945 // ── Essential fields ──────────────────────────────────────────────COMMENT
MEDIUM…/src/pages/user-setting/data-source/constant/index.tsx2152 // ── Advanced settings toggle ──────────────────────────────────────COMMENT
MEDIUM…/src/pages/user-setting/data-source/constant/index.tsx2160 // ── Advanced fields (hidden until toggled) ────────────────────────COMMENT
MEDIUM…setting-model/instance-card/provider-instance-card.tsx122 // ── Data fetching ────────────────────────────────────────────────COMMENT
MEDIUM…setting-model/instance-card/provider-instance-card.tsx135 // ── Form initial values + fields ────────────────────────────────COMMENT
MEDIUM…setting-model/instance-card/provider-instance-card.tsx159 // ── Action handlers ─────────────────────────────────────────────COMMENT
MEDIUM…setting-model/instance-card/provider-instance-card.tsx173 // ── Save state (payload builder + dirty tracking) ───────────────COMMENT
MEDIUM…/setting-model/instance-card/bedrock-instance-card.tsx396 // ── Dirty tracking (no auto-save) ────────────────────────────────COMMENT
MEDIUM…/setting-model/instance-card/bedrock-instance-card.tsx522 // ──────────────── Field group rendered in both modes ────────────────COMMENT
MEDIUMinternal/handler/file_commit_test.go223// ── Tests ────────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/handler/file_commit_test.go654// ── Tenant authorization tests ───────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/service/test_helpers.go19// ──────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/service/test_helpers.go21// ──────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/testutil/mocks.go28// ──────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/testutil/mocks.go30// ──────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/testutil/mocks.go79// ──────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/testutil/mocks.go81// ──────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/ingestion/testutil/mocks.go159// ──────────────────────────────────────────────────────────COMMENT
153 more matches not shown…
Modern AI Meta-Vocabulary229 hits · 665 pts
SeverityFileLineSnippetContext
MEDIUMREADME_id.md83<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_id.md141### 🛀 **Alur Kerja RAG yang Otomatis dan Mudah**COMMENT
MEDIUMREADME_pt_br.md83<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_pt_br.md141### 🛀 **Fluxo de trabalho RAG automatizado e sem esforço**COMMENT
MEDIUMREADME_ja.md66<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ja.md125### 🛀 **自動化された楽な RAG ワークフロー**COMMENT
MEDIUMREADME_ru.md85<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ru.md143### 🛀 **Автоматизированный и простой RAG-пайплайн**COMMENT
MEDIUMREADME_ko.md67<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ko.md126### 🛀 **자동화되고 손쉬운 RAG 워크플로우**COMMENT
MEDIUMREADME.md82<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME.md129### 🌱 **Grounded citations with reduced hallucinations**COMMENT
MEDIUMREADME.md138### 🛀 **Automated and effortless RAG workflow**COMMENT
MEDIUMREADME_ar.md85<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_ar.md145### 🛀 **سير عمل RAG آلي وسهل**COMMENT
MEDIUMREADME_tr.md85<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_tr.md143### 🛀 **Otomatik ve zahmetsiz RAG iş akışı**COMMENT
MEDIUMREADME_tzh.md85<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_tzh.md137### 🌱 **有理有據、最大程度降低幻覺(hallucination)**COMMENT
MEDIUMREADME_tzh.md146### 🛀 **全程無憂、自動化的 RAG 工作流程**COMMENT
MEDIUMREADME_zh.md83<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_zh.md128### 🌱 **有理有据、最大程度降低幻觉(hallucination)**COMMENT
MEDIUMREADME_zh.md137### 🛀 **全程无忧、自动化的 RAG 工作流**COMMENT
MEDIUMREADME_fr.md83<img alt="Agentic workflow demonstration" src="https://raw.githubusercontent.com/infiniflow/ragflow-docs/refs/heads/imagCODE
MEDIUMREADME_fr.md132### 🌱 **Citations fondées avec réduction des hallucinations**COMMENT
MEDIUMREADME_fr.md141### 🛀 **Flux de travail RAG automatisé et sans effort**COMMENT
MEDIUMcmd/ragflow_server.go1136 // target of the agentic-RAG bridge wired below. The bridge must hold itCOMMENT
MEDIUMcmd/ragflow_server.go1178 // Wire the agentic-RAG runtime as the Go chat pipeline's evidence engineCOMMENT
MEDIUMcmd/ragflow_server.go1181 // above. Activating the agentic loop here enables the full planner/SCA path forCOMMENT
MEDIUMcmd/ragflow_server.go1277 // so agentic-search runtime LLM calls work in production. Without this,COMMENT
MEDIUM⚡tools/firecrawl/example_usage.py110 # Example of chunking for RAG processingCOMMENT
MEDIUMtest/testcases/conftest.py331 # set embedding modelCOMMENT
MEDIUMtest/testcases/restful_api/conftest.py47 # Chunk add requires an embedding model call; document update/deleteCOMMENT
MEDIUMweb/src/components/message-input/next.tsx163 // the agentic RAG agent, which runs its own retrieval instead of theCOMMENT
MEDIUMinternal/handler/streaming_test.go84// exact failure mode of long agentic chat runs ("write tcp ... i/o timeout").COMMENT
MEDIUMinternal/handler/openai_chat.go136 // Long agentic runs stream for minutes or compute before their singleCOMMENT
MEDIUMinternal/handler/streaming.go28// write (SSE, agentic chats) are not cut off mid-response by the connectionCOMMENT
MEDIUMinternal/ingestion/component/extractor.go1749// ingestion extractor and the agentic metadata catalog share one field contract.COMMENT
MEDIUMinternal/ingestion/task/pipeline_executor.go450// ExtractorMetadataConfig / MetadataRawFieldList) so the ingestion pipeline and the agenticCOMMENT
MEDIUMinternal/agentic_rag/citations.go26// Citation support for agentic deliverables.COMMENT
MEDIUMinternal/agentic_rag/citations.go31// agentic answer needs neither: EVERY factual line already citesCOMMENT
MEDIUMinternal/agentic_rag/run_session.go80// runSession owns the event log one agentic turn maintains, plus theCOMMENT
MEDIUMinternal/agentic_rag/tool_web_search.go66// agentic package never contacts a provider itself: the caller injects this,COMMENT
MEDIUMinternal/entity/models/llm.go67 // quota wall does not recover within one question, and an agentic turnCOMMENT
MEDIUMinternal/entity/models/llm.go86// Generate calls. Long enough to absorb an agentic turn (which would otherwiseCOMMENT
MEDIUMinternal/entity/models/llm.go438 // (errorAnswerText in agentic-rag/agentic_rag_graph.go, chat_pipeline.go),COMMENT
MEDIUMinternal/agent/chat/message_fit.go32// internal/rag/agentic-rag/harness (which composes answers) can fit promptsCOMMENT
MEDIUMinternal/agent/chat/chat.go21// internal/rag/agentic-rag/harness (which need to call the LLM forCOMMENT
MEDIUMinternal/agent/chat/chat.go36// component and the agentic-search harness/tools.COMMENT
MEDIUMinternal/agent/component/render.go22// message.go scaffold without dragging in new third-party deps.COMMENT
MEDIUMinternal/agent/component/exesql_params_test.go47 // Templates ship an ExeSQL scaffold with every connection field blankCOMMENT
MEDIUMinternal/agent/component/llm.go174// shared chat default. Called at server bootstrap so harness/agentic-search LLMCOMMENT
MEDIUMinternal/agent/component/llm.go600// answer (harness/action_session.go:1504). Without it every agentic answer fellCOMMENT
MEDIUMinternal/agent/component/exesql_params.go49 // scaffold the user fills in on the canvas, not a broken configuration.COMMENT
MEDIUMinternal/agent/component/llm_test.go662// silently downgraded every agentic answer to the one-shot call — the log lineCOMMENT
MEDIUMinternal/agent/component/memory_save.go17// Memory persistence scaffold. The Python Message component,COMMENT
MEDIUMinternal/agent/retrievalbridge/harness.go41// NewHarnessRetriever connects chat requests to the agentic runtime using theCOMMENT
MEDIUMinternal/agent/retrievalbridge/harness.go92 // KnowledgebaseService.get_by_ids(kb_ids)) so the agentic tool canCOMMENT
MEDIUMinternal/agent/retrievalbridge/harness.go119 // Retrieval tuning mirrors the dialog's own settings, so the agenticCOMMENT
MEDIUMinternal/agent/retrievalbridge/harness.go146 // (chat-level doc_ids + meta_data_filter) restrict every agenticCOMMENT
169 more matches not shown…
Hyper-Verbose Identifiers589 hits · 556 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
LOW⚡tools/firecrawl/example_usage.py116async def example_content_processing():CODE
LOW⚡tools/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
LOW⚡tools/es-to-oceanbase-migration/tests/test_verify.py176 def test_values_equal_none_values(self, verifier):CODE
LOW⚡tools/es-to-oceanbase-migration/tests/test_verify.py182 def test_values_equal_array_columns(self, verifier):CODE
LOW⚡tools/es-to-oceanbase-migration/tests/test_verify.py190 def test_values_equal_json_columns(self, verifier):CODE
LOW⚡tools/es-to-oceanbase-migration/tests/test_verify.py194 def test_values_equal_kb_id_list(self, verifier):CODE
LOW⚡tools/es-to-oceanbase-migration/tests/test_verify.py199 def test_values_equal_content_with_weight_dict(self, verifier):CODE
LOW⚡tools/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
LOW⚡tools/es-to-oceanbase-migration/tests/test_schema.py461 def test_convert_empty_document(self):CODE
LOW⚡tools/es-to-oceanbase-migration/tests/test_schema.py470 def test_convert_document_without_source(self):CODE
LOW⚡tools/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
529 more matches not shown…
Cross-Language Confusion44 hits · 225 pts
SeverityFileLineSnippetContext
HIGH⚡test/playwright/conftest.py1279 while (node && node !== document.body) {CODE
HIGH⚡test/playwright/conftest.py1281 if (style && style.backfaceVisibility === 'hidden') {CODE
HIGH⚡test/playwright/conftest.py1290 while (node && node !== document.body) {CODE
HIGH⚡test/playwright/conftest.py1292 if (style && style.transformStyle === 'preserve-3d') {CODE
HIGH⚡test/playwright/conftest.py1297 return null;CODE
HIGH⚡test/playwright/conftest.py1305 return rect.width > 0 && rect.height > 0;CODE
HIGH⚡test/playwright/conftest.py1559 : null,CODE
HIGH⚡test/playwright/conftest.py1644 while (node && node !== document.body) {CODE
HIGH⚡test/playwright/conftest.py1646 if (style && style.backfaceVisibility === 'hidden') {CODE
HIGH⚡test/playwright/conftest.py1655 while (node && node !== document.body) {CODE
HIGH⚡test/playwright/conftest.py1657 if (style && style.transformStyle === 'preserve-3d') {CODE
HIGH⚡test/playwright/conftest.py1662 return null;CODE
HIGH⚡test/playwright/conftest.py1665 if (!transform || transform === 'none') return 1;CODE
HIGH⚡test/playwright/conftest.py1708 if (!rect.width || !rect.height) return null;CODE
HIGH⚡test/playwright/conftest.py1713 let pick = null;CODE
HIGH⚡test/playwright/conftest.py1716 } else if (candidates.length > 1 && candidates[0].facing !== candidates[1].facing) {CODE
HIGH⚡test/playwright/conftest.py1726 return top && el.contains(top);CODE
HIGHtest/playwright/conftest.py971 return Boolean((token && token.length) || (auth && auth.length));CODE
HIGHtest/playwright/conftest.py1327 flipTransform: flip ? window.getComputedStyle(flip).transform : null,CODE
HIGHtest/playwright/conftest.py1328 flipTransformStyle: flip ? window.getComputedStyle(flip).transformStyle : null,CODE
HIGHtest/playwright/conftest.py1354 if (!el) return null;CODE
HIGHtest/playwright/conftest.py1438 return rect.width > 0 && rect.height > 0;CODE
HIGHtest/playwright/conftest.py1545 return rect.width > 0 && rect.height > 0;CODE
HIGHtest/playwright/conftest.py1588 return top && (top === el || el.contains(top));CODE
HIGHtest/playwright/conftest.py1695 const state = window.__qa_flip_state || { transform: null, time: 0 };CODE
HIGH⚡test/playwright/conftest.py387 if (auth && auth.length) return auth;STRING
HIGH⚡test/playwright/conftest.py389 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
HIGH⚡test/playwright/helpers/datasets.py244 return rect.width > 0 && rect.height > 0;STRING
HIGH⚡test/playwright/helpers/datasets.py344 body_text = page.evaluate("(() => (document.body && document.body.innerText) || '')()")STRING
HIGH⚡test/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
Excessive Try-Catch Wrapping218 hits · 211 pts
SeverityFileLineSnippetContext
LOWrun_tests.py295 except Exception as e:CODE
LOWrun_tests.py352 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
LOW⚡tools/firecrawl/example_usage.py172 except Exception as e:CODE
MEDIUM⚡tools/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
LOW⚡tools/firecrawl/integration.py118 except Exception as e:CODE
LOW⚡tools/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
LOW⚡tools/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
LOWtest/benchmark/auth.py13 except Exception as exc:CODE
LOWtest/benchmark/auth.py34 except Exception as exc:CODE
LOWtest/benchmark/http_client.py104 except Exception as exc:CODE
LOWtest/benchmark/http_client.py111 except Exception as exc:CODE
LOWtest/benchmark/run_retrieval_chat.sh52except Exception as exc:CODE
LOWtest/benchmark/dataset.py8except Exception: # pragma: no cover - fallback without toolbeltCODE
LOWtest/benchmark/cli.py351 except Exception as exc:CODE
LOWtest/benchmark/cli.py357 except Exception as exc:CODE
MEDIUMtest/benchmark/cli.py606 eprint(f"Error: {exc}")CODE
LOWtest/benchmark/utils.py20 except Exception as exc:CODE
LOWtest/benchmark/utils.py24 except Exception as exc:CODE
LOWtest/integration/wiki/test_wiki_incremental.py178 except Exception:CODE
MEDIUMtest/playwright/conftest.py632def pytest_sessionfinish(session, exitstatus):CODE
158 more matches not shown…
Empty Error Handlers47 hits · 210 pts
SeverityFileLineSnippetContext
HIGH…s-to-oceanbase-migration/src/es_ob_migration/verify.py220except json.JSONDecodeError:CODE
HIGH…s-to-oceanbase-migration/src/es_ob_migration/verify.py230except json.JSONDecodeError:CODE
HIGH…s-to-oceanbase-migration/src/es_ob_migration/verify.py235except json.JSONDecodeError:CODE
HIGH…s-to-oceanbase-migration/src/es_ob_migration/verify.py244except json.JSONDecodeError:CODE
HIGHtools/chatgpt-on-wechat/plugins/__init__.py23except ImportError:CODE
HIGHtools/hooks/check_files.py215except (OSError, SyntaxError, UnicodeDecodeError, tokenize.TokenError):CODE
HIGHtest/integration/wiki/test_wiki_incremental.py178except Exception:CODE
HIGHtest/playwright/conftest.py134except Exception:CODE
HIGHtest/playwright/conftest.py142except Exception:CODE
HIGHtest/playwright/conftest.py151except Exception:CODE
HIGHtest/playwright/conftest.py520except PlaywrightTimeoutError:CODE
HIGHtest/playwright/conftest.py628except (AttributeError, ValueError):CODE
HIGHtest/playwright/conftest.py635except Exception:CODE
HIGHtest/playwright/conftest.py978except Exception:CODE
HIGHtest/playwright/conftest.py512except AssertionError:CODE
HIGHtest/playwright/conftest.py731except Exception:CODE
HIGHtest/playwright/conftest.py1571except Exception:CODE
HIGHtest/playwright/auth/test_validation_presence.py39except AssertionError:CODE
HIGHtest/playwright/auth/test_validation_presence.py46except AssertionError:CODE
HIGHtest/playwright/e2e/test_next_apps_agent.py54except Exception:CODE
HIGHtest/playwright/e2e/test_next_apps_agent.py270except Exception:CODE
HIGHtest/playwright/e2e/test_next_apps_agent.py336except Exception:CODE
HIGHtest/playwright/e2e/test_dataset_upload_parse.py64except Exception:CODE
HIGHtest/playwright/e2e/test_dataset_upload_parse.py69except Exception:CODE
HIGHtest/playwright/e2e/test_dataset_upload_parse.py495except AssertionError:CODE
HIGHtest/playwright/e2e/test_next_apps_chat.py143except Exception:CODE
HIGHtest/playwright/e2e/test_next_apps_chat.py220except AssertionError:CODE
HIGHtest/playwright/e2e/test_next_apps_chat.py660except AssertionError:CODE
HIGHtest/playwright/e2e/test_next_apps_chat.py229except Exception:CODE
HIGHtest/playwright/e2e/test_next_apps_chat.py234except AssertionError:CODE
HIGHtest/playwright/helpers/_auth_helpers.py50except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py188except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py196except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py340except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py367except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py504except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py509except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py286except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py473except Exception:CODE
HIGHtest/playwright/helpers/_next_apps_helpers.py381except Exception:CODE
HIGHtest/playwright/helpers/datasets.py260except Exception:CODE
HIGHtest/playwright/helpers/datasets.py111except AssertionError:CODE
HIGHtest/playwright/helpers/datasets.py29except Exception:CODE
HIGHtest/playwright/helpers/datasets.py140except Exception:CODE
HIGHtest/playwright/helpers/datasets.py450except AssertionError:CODE
HIGHsdk/python/ragflow_sdk/__init__.py23except ImportError:CODE
HIGHsdk/python/ragflow_sdk/modules/document.py78except ValueError:CODE
Fake / Example Data139 hits · 169 pts
SeverityFileLineSnippetContext
LOWtest/playwright/conftest.py1428 placeholder: input.getAttribute('placeholder') || '',CODE
LOW⚡test/playwright/conftest.py1460 for key in ("type", "name", "autocomplete", "placeholder"):STRING
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.tsx1005 placeholder: 'admin@example.com',CODE
LOW…/src/pages/user-setting/data-source/constant/index.tsx1099 placeholder: 'admin@example.com',CODE
LOWinternal/handler/document_test.go770 if err := db.Create(&entity.User{ID: "user-1", Nickname: "test", Email: "test@test.com", Password: sptr("x")}).Error; eCODE
LOWinternal/handler/document_test.go1317 db.Create(&entity.User{ID: "user-1", Nickname: "test", Email: "test@test.com", Password: sptr("x")})CODE
LOWinternal/handler/bot_test.go785// fake-user middleware to assert GetUser() short-circuits with 401.COMMENT
LOWinternal/handler/bot_test.go1045// fake-user middleware so the real auth flow is exercised.COMMENT
LOW…gestion/knowledge_compile/templates/session_graph.yaml23 - Use the official name when possible (e.g., "Acme Corp").CODE
LOW…stion/knowledge_compile/templates/session_essence.yaml23 - Use the official name when possible (e.g., "Acme Corp").CODE
LOWinternal/ingestion/task/embedder_limit_test.go227 long := strings.Repeat("lorem ipsum dolor sit amet ", 200)CODE
LOWinternal/ingestion/task/embedder_limit_test.go227 long := strings.Repeat("lorem ipsum dolor sit amet ", 200)CODE
LOWinternal/tokenizer/bpe_loader_anchors_test.go55 {"user@example.com", 3},CODE
LOWinternal/admin/user_detail_test.go56 Email: "user@example.com",CODE
LOWinternal/admin/user_detail_test.go115 ctx.Params = gin.Params{{Key: "username", Value: "user@example.com"}}CODE
LOWinternal/admin/user_detail_test.go146 if details[0].Email != "user@example.com" || details[0].IsActive != "1" || details[0].CreateDate == "" || details[0].IsCODE
LOWinternal/admin/user_delete_test.go148 insert("INSERT INTO user (id, email, nickname, is_active, is_authenticated, is_anonymous) VALUES (?, ?, ?, ?, ?, ?)", "CODE
LOWinternal/admin/user_delete_test.go202 result, err := service.DeleteUser(t.Context(), "user@example.com")CODE
LOWinternal/admin/user_delete_test.go277 if err := db.Exec("INSERT INTO user (id, email, nickname, is_active, is_authenticated, is_anonymous) VALUES (?, ?, ?, ?CODE
LOWinternal/admin/user_delete_test.go289 if _, err := service.DeleteUser(t.Context(), "user@example.com"); err == nil || !strings.Contains(err.Error(), "storageCODE
LOWinternal/admin/user_delete_test.go300 if err := db.Exec("INSERT INTO user (id, email, nickname, is_active, is_authenticated, is_anonymous) VALUES (?, ?, ?, ?CODE
LOWinternal/admin/user_delete_test.go309 if _, err := service.DeleteUser(t.Context(), "user@example.com"); err == nil || !strings.Contains(err.Error(), "remove CODE
LOWinternal/admin/user_delete_test.go320 if err := db.Exec("INSERT INTO user (id, email, nickname, is_active, is_authenticated, is_anonymous) VALUES (?, ?, ?, ?CODE
LOWinternal/admin/user_delete_test.go333 if _, err := service.DeleteUser(t.Context(), "user@example.com"); err != nil {CODE
LOWinternal/admin/user_delete_test.go343 if err := db.Exec("INSERT INTO user (id, email, nickname, is_active, is_authenticated, is_anonymous) VALUES (?, ?, ?, ?CODE
LOWinternal/admin/user_delete_test.go355 if _, err := service.DeleteUser(t.Context(), "user@example.com"); err == nil || !strings.Contains(err.Error(), "storageCODE
LOWinternal/admin/user_delete_test.go366 if err := db.Exec("INSERT INTO user (id, email, nickname, is_active, is_authenticated, is_anonymous) VALUES (?, ?, ?, ?CODE
LOWinternal/admin/user_delete_test.go378 if _, err := NewService().DeleteUser(t.Context(), "user@example.com"); err == nil {CODE
LOWinternal/agent/component/io/pdf_writer_test.go338 if err := os.WriteFile(fontPath, []byte("placeholder"), 0o600); err != nil {CODE
LOWinternal/agent/sandbox/catalog.go292 "endpoint": fieldWith("string", true, "Executor Manager Endpoint", "placeholder", "http://sandbox-eCODE
LOWinternal/agent/sandbox/catalog.go293 "api_token": fieldWith("string", false, "Executor Manager API Token", "secret", true, "placeholder",CODE
LOW⚡internal/agent/sandbox/catalog.go309 "access_key_id": fieldWith("string", true, "Access Key ID", "placeholder", "LTAI5t...", "description", "Aliyun AcCODE
LOW⚡internal/agent/sandbox/catalog.go310 "access_key_secret": fieldWith("string", true, "Access Key Secret", "placeholder", "••••••••••••••••", "description",CODE
LOW⚡internal/agent/sandbox/catalog.go311 "account_id": fieldWith("string", true, "Account ID", "placeholder", "1234567890...", "description", "Aliyun pCODE
LOW⚡internal/agent/sandbox/catalog.go313 "template_name": fieldWith("string", false, "Template Name", "placeholder", "my-interpreter", "description", "OptCODE
LOW⚡internal/agent/sandbox/catalog.go317 return map[string]any{"api_key": fieldWith("string", true, "API Key", "placeholder", "e2b_sk_...", "description", "E2BCODE
LOW⚡internal/agent/sandbox/catalog.go348 "host": fieldWith("string", true, "SSH Host", "placeholder", "192.168.1.10", "description", "Remote hostCODE
LOW⚡internal/agent/sandbox/catalog.go350 "username": fieldWith("string", true, "SSH Username", "placeholder", "ragflow", "description", "Username useCODE
LOW⚡internal/agent/sandbox/catalog.go351 "password": fieldWith("string", false, "SSH Password", "secret", true, "placeholder", "Optional when using aCODE
LOW⚡internal/agent/sandbox/catalog.go352 "private_key": fieldWith("string", false, "SSH Private Key", "secret", true, "multiline", true, "placeholder", CODE
LOW⚡internal/agent/sandbox/catalog.go353 "passphrase": fieldWith("string", false, "Private Key Passphrase", "secret", true, "placeholder", "Optional", CODE
LOW⚡internal/agent/sandbox/catalog.go354 "known_hosts": fieldWith("string", false, "SSH known_hosts File", "placeholder", "/etc/ragflow/ssh_known_hosts"CODE
LOW⚡internal/agent/sandbox/catalog.go357 "work_dir": fieldWith("string", false, "Remote Workspace Root", "default", "/tmp", "placeholder", "/tmp", "dCODE
LOW⚡internal/agent/sandbox/catalog.go367 "api_key": fieldWith("string", true, "API Key", "secret", true, "placeholder", "tk_...", "description", "TeCODE
LOW⚡internal/agent/sandbox/catalog.go368 "base_url": fieldWith("string", false, "API Endpoint", "placeholder", "https://api.tenki.cloud", "descriptioCODE
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/sandbox/testdata/admin_contract.json151 "placeholder": "http://sandbox-executor-manager:9385",CODE
LOWinternal/agent/sandbox/testdata/admin_contract.json162 "placeholder": "Optional; defaults to SANDBOX_EXECUTOR_MANAGER_API_TOKEN",CODE
LOWinternal/agent/sandbox/testdata/admin_contract.json270 "placeholder": "192.168.1.10",CODE
LOW⚡internal/agent/sandbox/testdata/admin_contract.json286 "placeholder": "ragflow",CODE
LOW⚡internal/agent/sandbox/testdata/admin_contract.json294 "placeholder": "Optional when using a private key",CODE
LOW⚡internal/agent/sandbox/testdata/admin_contract.json303 "placeholder": "Paste PEM content or enter a local file path",CODE
79 more matches not shown…
Structural Annotation Overuse88 hits · 161 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
LOW⚡tools/chatgpt-on-wechat/plugins/ragflow_chat.py69 # Step 1: Get or create conversation_idCOMMENT
LOW⚡tools/chatgpt-on-wechat/plugins/ragflow_chat.py93 # Step 2: Send the message and get a replyCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts60 // Step 1: Normalize line endingsCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts65 // Step 2: Replace ```mermaid ... ``` blocks with unique placeholdersCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts80 // Step 3: Standard Lexical import (placeholders are just text)COMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts88 // Step 4: Walk tree and replace placeholder TextNodes with MermaidNodeCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts91 // Step 5: Fallback — also handle CodeNode(language='mermaid') if anyCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts94 // Step 6: Collapse TabNodesCOMMENT
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
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go282 // Step 1: Count non-empty cells in columnCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go289 // Step 2: Check adjacent columnsCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go296 // Step 3: Calculate merge distanceCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go310 // Step 4: Merge the columnCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go317 // Step 5: Remove the columnCOMMENT
LOW⚡internal/tokenizer/message_fit.go59 // Step 1: everything fits (an exact budget match counts as fitting).COMMENT
LOW⚡internal/tokenizer/message_fit.go69 // Step 2: keep all system + last non-system.COMMENT
LOWinternal/tokenizer/message_fit.go92 // Step 3: trim proportionally.COMMENT
LOWinternal/dao/time_record.go80 // Step 1: Get the maximum IDCOMMENT
LOW⚡internal/dao/time_record.go91 // Step 2: Calculate the threshold IDCOMMENT
LOW⚡internal/dao/time_record.go99 // Step 3: Delete records with ID <= thresholdCOMMENT
LOW⚡internal/agent/component/invoke.go138 // Step 1: SSRF guard for the target URL. The validatedCOMMENT
LOW⚡internal/agent/component/invoke.go145 // Step 2: SSRF guard for the proxy URL (if configured).COMMENT
LOWinternal/agent/component/invoke.go221 // Step 3: build the client. When a proxy is configured, theCOMMENT
LOW⚡internal/cli/crypt.go60 // Step 1: Base64 encode the passwordCOMMENT
LOW⚡internal/cli/crypt.go63 // Step 2: Encrypt using RSA PKCS1v15COMMENT
LOW⚡internal/cli/crypt.go69 // Step 3: Base64 encode the encrypted dataCOMMENT
LOWinternal/cli/filesystem/skill.go369 // Step 4: Navigate to the file through the pathCOMMENT
LOWinternal/cli/filesystem/skill.go417 // Step 5: Find the file in the current directoryCOMMENT
LOWinternal/cli/filesystem/skill.go458 // Step 6: Download the file contentCOMMENT
LOWinternal/cli/filesystem/skill.go917 // Step 4: If there are extra parts, navigate deeperCOMMENT
LOWinternal/cli/filesystem/skill.go1004 // Step 5: List the final folder contentsCOMMENT
LOWinternal/rag/agentic-rag/runtime/grep_sed_narrow.go405 // Step 1: locate matches (exact positions from the regex engine).COMMENT
LOWinternal/rag/agentic-rag/runtime/grep_sed_narrow.go429 // Step 2: merge overlapping/adjacent matches.COMMENT
LOWinternal/rag/agentic-rag/runtime/grep_sed_narrow.go471 // Step 3: dedupe, join, truncate.COMMENT
LOW⚡internal/harness/core/subagent_node.go104 // Step 1: Extract input from graph stateCOMMENT
LOW⚡internal/harness/core/subagent_node.go110 // Step 2: Run the agentCOMMENT
LOW⚡internal/harness/core/subagent_node.go116 // Step 3: Collect output back into graph stateCOMMENT
LOW⚡internal/service/chat_pipeline.go2802 // Step 1: everything fits.COMMENT
LOW⚡internal/service/chat_pipeline.go2808 // Step 2: keep all system messages + the last message.COMMENT
28 more matches not shown…
Verbosity Indicators77 hits · 145 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
LOW⚡tools/chatgpt-on-wechat/plugins/ragflow_chat.py69 # Step 1: Get or create conversation_idCOMMENT
LOW⚡tools/chatgpt-on-wechat/plugins/ragflow_chat.py93 # Step 2: Send the message and get a replyCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts60 // Step 1: Normalize line endingsCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts65 // Step 2: Replace ```mermaid ... ``` blocks with unique placeholdersCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts80 // Step 3: Standard Lexical import (placeholders are just text)COMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts88 // Step 4: Walk tree and replace placeholder TextNodes with MermaidNodeCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts91 // Step 5: Fallback — also handle CodeNode(language='mermaid') if anyCOMMENT
LOW⚡web/src/lib/editor/markdown/enhanced-markdown-import.ts94 // Step 6: Collapse TabNodesCOMMENT
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
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go282 // Step 1: Count non-empty cells in columnCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go289 // Step 2: Check adjacent columnsCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go296 // Step 3: Calculate merge distanceCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go310 // Step 4: Merge the columnCOMMENT
LOW⚡internal/deepdoc/parser/pdf/table/table_construct.go317 // Step 5: Remove the columnCOMMENT
LOW⚡internal/tokenizer/message_fit.go59 // Step 1: everything fits (an exact budget match counts as fitting).COMMENT
LOW⚡internal/tokenizer/message_fit.go69 // Step 2: keep all system + last non-system.COMMENT
LOWinternal/tokenizer/message_fit.go92 // Step 3: trim proportionally.COMMENT
LOWinternal/dao/time_record.go80 // Step 1: Get the maximum IDCOMMENT
LOW⚡internal/dao/time_record.go91 // Step 2: Calculate the threshold IDCOMMENT
LOW⚡internal/dao/time_record.go99 // Step 3: Delete records with ID <= thresholdCOMMENT
LOW⚡internal/agent/component/invoke.go138 // Step 1: SSRF guard for the target URL. The validatedCOMMENT
LOW⚡internal/agent/component/invoke.go145 // Step 2: SSRF guard for the proxy URL (if configured).COMMENT
LOWinternal/agent/component/invoke.go221 // Step 3: build the client. When a proxy is configured, theCOMMENT
LOW⚡internal/cli/crypt.go60 // Step 1: Base64 encode the passwordCOMMENT
LOW⚡internal/cli/crypt.go63 // Step 2: Encrypt using RSA PKCS1v15COMMENT
LOW⚡internal/cli/crypt.go69 // Step 3: Base64 encode the encrypted dataCOMMENT
LOWinternal/cli/filesystem/skill.go369 // Step 4: Navigate to the file through the pathCOMMENT
LOWinternal/cli/filesystem/skill.go417 // Step 5: Find the file in the current directoryCOMMENT
LOWinternal/cli/filesystem/skill.go458 // Step 6: Download the file contentCOMMENT
LOWinternal/cli/filesystem/skill.go917 // Step 4: If there are extra parts, navigate deeperCOMMENT
LOWinternal/cli/filesystem/skill.go1004 // Step 5: List the final folder contentsCOMMENT
LOWinternal/rag/agentic-rag/runtime/grep_sed_narrow.go405 // Step 1: locate matches (exact positions from the regex engine).COMMENT
LOWinternal/rag/agentic-rag/runtime/grep_sed_narrow.go429 // Step 2: merge overlapping/adjacent matches.COMMENT
LOWinternal/rag/agentic-rag/runtime/grep_sed_narrow.go471 // Step 3: dedupe, join, truncate.COMMENT
LOW⚡internal/harness/core/subagent_node.go104 // Step 1: Extract input from graph stateCOMMENT
LOW⚡internal/harness/core/subagent_node.go110 // Step 2: Run the agentCOMMENT
LOW⚡internal/harness/core/subagent_node.go116 // Step 3: Collect output back into graph stateCOMMENT
LOW⚡internal/service/chat_pipeline.go2802 // Step 1: everything fits.COMMENT
LOW⚡internal/service/chat_pipeline.go2808 // Step 2: keep all system messages + the last message.COMMENT
LOWinternal/service/chat_pipeline.go2824 // Step 3: trim content to fit.COMMENT
LOWinternal/service/chat_pipeline.go3885 // Step 1: generate SQL. If the question is a "how many rows in theCOMMENT
LOWinternal/service/chat_pipeline.go3913 // Step 2: try to execute. On failure, repair once with theCOMMENT
LOWinternal/service/skill_space.go461 // Step 1: Delete the search indexCOMMENT
LOWinternal/service/skill_space.go475 // Step 2: Delete folder and storage via Go FileServiceCOMMENT
LOWinternal/service/skill_space.go497 // Step 3: Soft delete the space record (status "2" → "0")COMMENT
LOW⚡internal/service/search.go249 // Step 1: Get user tenants (same as Python UserTenantService.query(user_id=current_user.id))COMMENT
LOW⚡internal/service/search.go255 // Step 2: Check if user has permission to access this searchCOMMENT
LOW⚡internal/service/search.go610 // Step 2: Get existing searchCOMMENT
17 more matches not shown…
AI Slop Vocabulary16 hits · 42 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.go147// 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.go586// 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.go651 // filled in below. -print0 + IFS split is more robustCOMMENT
MEDIUMinternal/agent/templates/market_seo_article_writer.json138 "sys_prompt": "# Role\n\nYou are the **Parse_And_Keyword_Agent**, responsible for interpreting aCODE
MEDIUMinternal/agent/templates/market_seo_article_writer.json449 "sys_prompt": "# Role\n\nYou are the **Parse_And_Keyword_Agent**, responsible for interpretiCODE
MEDIUMinternal/binding/cpp/re2/prefilter_tree.h112 // These are all the nodes formed by Compile. Essentially, there isCOMMENT
MEDIUMinternal/service/chat_pipeline_test.go1812 t.Errorf("events = %#v, want only what the harness reported", events)CODE
MEDIUMinternal/service/chat_pipeline_test.go2060 t.Fatalf("reference chunks = %#v, want the harness evidence", final.Reference["chunks"])CODE
MEDIUMinternal/service/nlp/datasetnav.go1026 // 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
Deep Nesting41 hits · 32 pts
SeverityFileLineSnippetContext
LOWrun_tests.py242CODE
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
LOWtest/benchmark/cli.py285CODE
LOWtest/playwright/conftest.py119CODE
LOWtest/playwright/conftest.py247CODE
LOWtest/playwright/conftest.py277CODE
LOWtest/playwright/conftest.py473CODE
LOWtest/playwright/conftest.py873CODE
LOWtest/playwright/conftest.py1450CODE
LOWtest/playwright/conftest.py1515CODE
LOWtest/playwright/conftest.py1598CODE
LOWtest/playwright/conftest.py1599CODE
LOWtest/playwright/e2e/test_next_apps_agent.py305CODE
LOWtest/playwright/e2e/test_next_apps_chat.py212CODE
LOWtest/playwright/e2e/test_next_apps_chat.py549CODE
LOWtest/playwright/e2e/test_next_apps_chat.py602CODE
LOWtest/playwright/helpers/_next_apps_helpers.py82CODE
LOWtest/playwright/helpers/_next_apps_helpers.py172CODE
LOWtest/playwright/helpers/_next_apps_helpers.py280CODE
LOWtest/playwright/helpers/datasets.py127CODE
LOWtest/playwright/helpers/datasets.py215CODE
LOWtest/testcases/conftest.py219CODE
LOW…tcases/restful_api/test_search_datasets_consistency.py150CODE
LOWtest/testcases/restful_api/test_chats.py914CODE
LOWtest/testcases/restful_api/test_chats.py1189CODE
LOWtest/testcases/restful_api/test_chunks.py196CODE
LOWtest/testcases/restful_api/test_memories_messages.py80CODE
LOWsdk/python/ragflow_sdk/modules/session.py39CODE
LOWsdk/python/ragflow_sdk/modules/dataset.py113CODE
LOWragflow_deps/download_deps.py267CODE
LOWragflow_deps/download_deps.py293CODE
LOWragflow_deps/download_deps.py345CODE
LOWragflow_deps/download_deps.py294CODE
Unused Imports25 hits · 25 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__.py26CODE
LOWtools/hooks/check_files.py2CODE
LOWtest/playwright/helpers/flow_steps.py1CODE
LOW…n/component/chunker/tool-py/capture_textcode_golden.py14CODE
LOW…/ingestion/component/chunker/tool-py/capture_golden.py48CODE
LOW…rnal/ingestion/component/chunker/tool-py/live_chunk.py38CODE
LOWsdk/python/test.py30CODE
LOWsdk/python/ragflow_sdk/__init__.py28CODE
LOWsdk/python/ragflow_sdk/__init__.py29CODE
LOWsdk/python/ragflow_sdk/__init__.py30CODE
LOWsdk/python/ragflow_sdk/__init__.py31CODE
LOWsdk/python/ragflow_sdk/__init__.py32CODE
LOWsdk/python/ragflow_sdk/__init__.py33CODE
LOWsdk/python/ragflow_sdk/__init__.py34CODE
LOWsdk/python/ragflow_sdk/__init__.py35CODE
Redundant / Tautological Comments14 hits · 23 pts
SeverityFileLineSnippetContext
LOWbuild.sh611 # 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
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
LOW⚡docker/migration.sh217 # Check if any containers are using the volumesCOMMENT
LOW⚡docker/migration.sh220 # Check if backup folder existsCOMMENT
LOW⚡docker/migration.sh226 # Check if all backup files existCOMMENT
LOWdocker/migration.sh303 # Check if Docker is availableCOMMENT
LOWdocker/launch_backend_service.sh36 # Check if .env file existsCOMMENT
LOWexample/http/list_datasets.sh107# Output resultCOMMENT
Modern Structural Boilerplate19 hits · 20 pts
SeverityFileLineSnippetContext
LOWtools/firecrawl/__init__.py15__all__ = ["FirecrawlConnector", "FirecrawlConfig"]CODE
LOWtools/firecrawl/integration.py15logger = logging.getLogger(__name__)CODE
LOW⚡tools/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__.py28__all__ = ["RAGFlowChat"]CODE
LOWtest/benchmark/cli.py229def _set_default_models_from_args(client: HttpClient, args: argparse.Namespace) -> None:CODE
LOW⚡test/playwright/e2e/test_next_apps_agent.py61def _set_import_file(modal, file_path: str) -> None:CODE
LOW⚡test/playwright/e2e/test_dataset_upload_parse.py57def set_number_input(page, test_id: str, value: str | int | float) -> None:CODE
LOWtest/playwright/e2e/test_dataset_upload_parse.py42def set_switch_state(page, test_id: str, desired_checked: bool) -> None:CODE
LOWsdk/python/ragflow_sdk/__init__.py39__all__ = ["RAGFlow", "DataSet", "Chat", "Session", "Document", "Chunk", "Agent", "Memory"]CODE
LOWsdk/python/ragflow_sdk/modules/session.py22logger = logging.getLogger(__name__)CODE
LOWsdk/python/ragflow_sdk/modules/document.py22logger = logging.getLogger(__name__)CODE
Self-Referential Comments5 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMbuild.sh699 # Create a version-stamped symlink directory so the flag stringCOMMENT
MEDIUMtools/firecrawl/firecrawl_processor.py41 # Create a hash based on URL and contentCOMMENT
MEDIUM⚡tools/chatgpt-on-wechat/plugins/ragflow_chat.py72 # Create a new conversationCOMMENT
MEDIUM⚡…tcases/restful_api/test_search_datasets_consistency.py525 # Create a search config firstCOMMENT
MEDIUMexample/http/dataset_example.sh17# Create a datasetCOMMENT
AI Structural Patterns17 hits · 17 pts
SeverityFileLineSnippetContext
LOWtest/benchmark/http_client.py46CODE
LOWtest/benchmark/http_client.py76CODE
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.py161CODE
LOWsdk/python/ragflow_sdk/ragflow.py193CODE
LOWsdk/python/ragflow_sdk/modules/session.py178CODE
LOWsdk/python/ragflow_sdk/modules/session.py190CODE
LOWsdk/python/ragflow_sdk/modules/dataset.py67CODE
LOWsdk/python/ragflow_sdk/modules/base.py43CODE
LOWsdk/python/ragflow_sdk/modules/base.py47CODE
LOWsdk/python/ragflow_sdk/modules/base.py51CODE
LOWsdk/python/ragflow_sdk/modules/base.py55CODE
LOWsdk/python/ragflow_sdk/modules/base.py59CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHrun_tests.py92 Wrap input string with specified ANSI terminal color escape sequence. Color name argument is case-insensitive. STRING
Slop Phrases2 hits · 3 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
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/restart_ingestor.sh11# Usage:COMMENT