Repository Analysis

langchain-ai/deepagents

The batteries-included agent harness.

28.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of langchain-ai/deepagents, a Python project with 28,655 GitHub stars. SynthScan v2.0 examined 703,539 lines of code across 1404 source files, recording 20313 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 28.0 places this repository in the Moderate 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).

28.0
Adjusted Score
28.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
28.7K
Stars
Python
Language
703.5K
Lines of Code
1.4K
Files
20.3K
Pattern Hits
2026-08-29
Scan Date
0.35
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 492MEDIUM 756LOW 19064

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 20313 distinct pattern matches across 23 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 Identifiers16579 hits · 12430 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/media.py189def resolve_bounded_media_path(CODE
LOWlibs/talon/deepagents_talon/host.py419 async def _cancel_conversation_tasks(self, conversation_id: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/host.py504 async def _handle_tool_approval_reply(CODE
LOWlibs/talon/deepagents_talon/host.py532 def _handle_tool_approval_reaction(CODE
LOWlibs/talon/deepagents_talon/host.py616 def _complete_conversation_task(CODE
LOWlibs/talon/deepagents_talon/host.py684def _outbound_media_from_refs(CODE
LOWlibs/talon/deepagents_talon/host.py706def _with_failed_attachment_text(text: str, failed: list[str]) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py736def _media_with_fallback_caption(CODE
LOWlibs/talon/deepagents_talon/host.py767def _format_tool_approval_prompt(approval: ToolApprovalRequest) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py789def _parse_tool_approval_reply(text: str) -> ToolApprovalDecision | None:CODE
LOWlibs/talon/deepagents_talon/host.py804def _parse_tool_approval_reaction(emoji: str) -> ToolApprovalDecision | None:CODE
LOWlibs/talon/deepagents_talon/host.py813def _normalize_reaction_emoji(emoji: str) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py821def _reaction_mismatch_resolution(CODE
LOWlibs/talon/deepagents_talon/host.py846def _log_tool_approval_reaction(CODE
LOWlibs/talon/deepagents_talon/observability.py43def langsmith_tracing_enabled(env: Mapping[str, str]) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py387 async def _invoke_payload_with_retries(self, payload: object, conversation_id: str) -> object:CODE
LOWlibs/talon/deepagents_talon/runtime.py536def _action_requests_from_interrupt(interrupt: object) -> tuple[Mapping[str, object], ...]:CODE
LOWlibs/talon/deepagents_talon/runtime.py654def _approval_handler_from_request(request: AgentRequest) -> ToolApprovalHandler | None:CODE
LOWlibs/talon/deepagents_talon/runtime.py671def interrupt_on_with_env_overlay(CODE
LOWlibs/talon/deepagents_talon/runtime.py696def _interrupt_on_tools_from_env(env: Mapping[str, str]) -> dict[str, bool]:CODE
LOWlibs/talon/deepagents_talon/runtime.py703def _interrupt_on_with_async_subagents(CODE
LOWlibs/talon/deepagents_talon/runtime.py748def _is_allowed_backend_env_key(key: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py752def _is_scrubbed_backend_env_key(key: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py784def _recursion_limit_from_env(env: Mapping[str, str], fallback: int) -> int:CODE
LOWlibs/talon/deepagents_talon/runtime.py810def _has_summarization_tool_middleware(CODE
LOWlibs/talon/deepagents_talon/runtime.py842def _cron_origin_from_request(request: AgentRequest) -> CronOrigin:CODE
LOWlibs/talon/deepagents_talon/runtime.py947def _valid_local_subagent_name(name: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py951def _parse_local_subagent_prompt(text: str, name: str) -> tuple[str, str, str | None]:CODE
LOWlibs/talon/deepagents_talon/runtime.py971def _default_subagent_description(name: str) -> str:CODE
LOWlibs/talon/deepagents_talon/mcp.py50def discover_mcp_config_paths(config: TalonConfig) -> list[Path]:CODE
LOWlibs/talon/deepagents_talon/mcp.py140def _resolve_discovery_display_path(display: str, project_root: Path) -> Path:CODE
LOWlibs/talon/deepagents_talon/__main__.py150def _run_import_fleet_command(args: argparse.Namespace, config: TalonConfig) -> int:CODE
LOWlibs/talon/deepagents_talon/__main__.py187def _has_configured_assistant_id(env: Mapping[str, str]) -> bool:CODE
LOWlibs/talon/deepagents_talon/fleet_import.py498def _suggested_config_fragment(summary: _ServerSummary, tools: Sequence[str]) -> dict[str, Any]:CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py509 async def _stop_bridge_output_tasks(self) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py643def _enforce_inbound_media_cap(message: ChannelMessage, *, max_bytes: int) -> ChannelMessage:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py783def _allows_telegram_reaction(CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py888def _extract_telegram_message_id(payload: object) -> str | None:CODE
LOWlibs/talon/deepagents_talon/channels/base.py131def format_markdown_for_channel(text: str) -> str:CODE
LOWlibs/talon/deepagents_talon/channels/base.py175def channel_exposure_from_env(CODE
LOWlibs/talon/deepagents_talon/channels/base.py220def outbound_media_root_from_env(env: Mapping[str, str]) -> Path:CODE
LOWlibs/talon/deepagents_talon/channels/base.py459def _require_open_acknowledgement(CODE
LOWlibs/talon/tests/test_fleet_import.py19def test_import_fleet_zip_materializes_agent_files_and_mcp_config(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py69def test_import_fleet_cli_resolves_target_assistant(CODE
LOWlibs/talon/tests/test_fleet_import.py103def test_import_fleet_cli_defaults_assistant_to_export_stem(CODE
LOWlibs/talon/tests/test_fleet_import.py130def test_import_fleet_cli_explicit_target_keeps_subagents_under_target(CODE
LOWlibs/talon/tests/test_fleet_import.py162def test_import_fleet_zip_rejects_missing_root_prompt(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py170def test_import_fleet_zip_rejects_malformed_tools_json(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py182def test_import_fleet_zip_rejects_unsafe_paths(tmp_path: Path, path: str) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py190def test_import_fleet_zip_rejects_symlink_entries_before_writing_target(CODE
LOWlibs/talon/tests/test_fleet_import.py212def test_import_fleet_zip_rejects_unsafe_subagent_names(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py220def test_import_fleet_zip_rejects_high_compression_ratio(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py230def test_import_fleet_zip_rejects_too_many_entries(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py241def test_import_fleet_zip_stdout_recommends_interrupt_env(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py265def test_import_fleet_zip_sanitizes_secret_bearing_mcp_urls(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py323def test_import_fleet_zip_repeated_imports_refresh_generated_files(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_data_lifecycle.py11def test_cleanup_sensitive_state_prunes_cron_and_inbound_media(tmp_path) -> None:CODE
LOWlibs/talon/tests/test_speech.py18def test_build_voice_transcriber_uses_default_local_model(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_speech.py28def test_build_voice_transcriber_supports_legacy_speech_env(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_speech.py38def test_build_voice_transcriber_uses_explicit_local_model(tmp_path: Path) -> None:CODE
16519 more matches not shown…
Decorative Section Separators536 hits · 1856 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/tests/evals/external_benchmarks.py191# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/external_benchmarks.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_followup_quality.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_followup_quality.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py206# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py406# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py408# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py432# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py434# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py150# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py194# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py277# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py279# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py557# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py559# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py787# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py789# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py957# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py959# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1192# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1194# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1256# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1258# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1389# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1391# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py121 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py123 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py227# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py229# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory.py355# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory.py357# ---------------------------------------------------------------------------COMMENT
476 more matches not shown…
Docstring Block Structure288 hits · 1440 pts
SeverityFileLineSnippetContext
HIGHlibs/DEVELOPMENT.md108Send an email to a recipient with specified priority. Any additional context about the function can go here. ASTRING
HIGHlibs/talon/deepagents_talon/media.py162Build an outbound channel media payload for a markdown media ref. Args: ref: Markdown media reference. STRING
HIGHlibs/talon/deepagents_talon/media.py195Resolve a local media path and enforce containment under a trusted root. Args: path: Candidate media path. STRING
HIGHlibs/talon/deepagents_talon/config.py50Build runtime configuration from environment variables. Args: env: Environment mapping to read. DefSTRING
HIGHlibs/talon/deepagents_talon/runtime.py316Invoke the Deep Agents graph for one Talon request. Args: request: Agent request supplied by the TaSTRING
HIGHlibs/talon/deepagents_talon/mcp.py66Load configured MCP tools for a Talon runtime. Args: config: Talon runtime configuration. Returns: STRING
HIGHlibs/talon/deepagents_talon/fleet_import.py123Materialize a Fleet zip export into a Talon local agent directory. Args: zip_path: Fleet export zip file toSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py133Parse a supported schedule string. Args: value: Schedule text such as `in 30m` or `every 15m`. STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py440Edit a job within the current conversation scope. Args: job_id: Job identifier. origin:STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py491Remove a job within the current conversation scope. Args: job_id: Job identifier. origiSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py587Delete completed jobs older than the retention window. Args: retain_for: Duration to keep disabled STRING
HIGHlibs/talon/deepagents_talon/channels/whatsapp.py121Build WhatsApp channel configuration from Talon environment values. Args: config: Talon process conSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py123Build Telegram channel configuration from Talon environment values. Args: config: Talon process conSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py208Call a Bot API method and return the decoded response. Args: method: Bot API method name (e.g. `getSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py230Call a Bot API method with one local file as multipart form data. Args: method: Bot API method nameSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py387Send validated image, video, or document media to a Telegram chat. Args: conversation_id: Telegram STRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py846Validate a Bot API response envelope and return the raw ``result`` value. Args: payload: Full Bot API respoSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py871Extract a dict result from a validated Bot API response. Args: result: Validated ``result`` field from a BoSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py898Extract the list of updates from a getUpdates response result. Args: result: Validated ``result`` field froSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py147Split outbound text into channel-sized chunks. Args: text: Text to split. limit: Maximum charactersSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py179Build shared channel exposure policy from provider-specific env prefix. Args: env: Environment variable mapSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py241Validate outbound media path, type, and size. Args: media: Media payload to validate. root: OptionaSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py328Return the configured global media cap. Args: env: Environment variable mapping. Returns: MaxiSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py353Parse an optional float value with a default. Args: value: Raw environment value. default: Value reSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py369Parse an optional integer value with a default. Args: value: Raw environment value. default: Value STRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py32Parse a `cb-<suite>-<i>` task id. Args: task_id: Identifier of the form `cb-<suite>-<i>`, where `<i>` is thSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py52Look up the Context-Bench record identified by a `cb-<suite>-<i>` task id. Args: task_id: Identifier of theSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py81Generate one self-contained Harbor task from a Context-Bench record. Args: source_jsonl: JSONL file containSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py130Regenerate each Context-Bench task's single-sourced, git-ignored files. Two kinds of per-task files are identical aSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py179Overwrite each frozen task's `difficulty` with its calibrated tier. The adapter writes `difficulty = source_difficuSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py277Validate a DRBench task id. Args: task_id: Identifier of the form `DR0001` or `SANITY0`. Returns: STRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py320Return the task ids listed in one upstream subset file. Args: path: Path to an upstream `*.jsonl` subset fiSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py356Load one task's DRBench config bundle from the pinned upstream checkout. Fetches the checkout on first use. `task_iSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py575Return the digest-pinned image reference for one task. Pinning by digest rather than tag matters here: the upstreamSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py601Resolve each task's image tag to an immutable digest and vendor the result. Args: task_ids: Task ids to resSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py684Return the apps this task's documents are served from, in a stable order. Args: env_config: Parsed `env.jsoSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py712Extract one class of ground truth from a task's eval config. Mirrors upstream `QASimilarityV2.compute`, which selecSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py767Return which credential regime a task falls into. The dataset has two, and it is upstream's doing rather than a choSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py797Return the per-app login that actually works for this task. These are what the agent must use, and what the verifieSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py830Generate one self-contained Harbor task from its upstream DRBench record. Args: output_dir: Dataset directoSTRING
HIGHlibs/evals/harbor_adapters/drbench/adapter.py867Build the whole DRBench dataset into `dataset_dir`. No task directory is committed: every one is generated here froSTRING
HIGH…vals/harbor_adapters/drbench/templates/extract_text.py184Return `path` as plain text, dispatching on its suffix. Args: path: Document to convert. Returns: STRING
HIGHlibs/evals/deepagents_evals/radar.py462Load model results from an `evals_summary.json` file. The summary file is a JSON array of objects. Each object mustSTRING
HIGHlibs/evals/tests/evals/utils.py83Return `True` when the assertion holds. Args: trajectory: The agent trajectory to check. RSTRING
HIGHlibs/evals/tests/evals/utils.py97Return a human-readable explanation of why the check failed. Args: trajectory: The agent trajectorySTRING
HIGHlibs/evals/tests/evals/utils.py116Return `True` when the assertion holds. Args: trajectory: The agent trajectory to check. RSTRING
HIGHlibs/evals/tests/evals/utils.py130Return a human-readable explanation of why the check failed. Args: trajectory: The agent trajectorySTRING
HIGHlibs/evals/tests/evals/utils.py177Coerce the `files` value from an agent result into `dict[str, str]`. Args: raw_files: The raw files object STRING
HIGHlibs/evals/tests/evals/utils.py1262Build an `AgentTrajectory` from a raw agent invoke result. Args: result: The mapping returned by `agent.invSTRING
HIGHlibs/evals/tests/evals/utils.py1456Run agent eval against the given query. Args: agent: The compiled state graph to invoke. query: A sSTRING
HIGHlibs/evals/tests/evals/utils.py1507Run agent eval asynchronously against the given query. Args: agent: The compiled state graph to invoke. STRING
HIGHlibs/evals/tests/evals/llm_judge.py237Create an `LLMJudge` success assertion. Wraps `openevals.llm.create_llm_as_judge` to evaluate each criterion inSTRING
HIGHlibs/evals/tests/evals/tau2_airline/domain.py224Load a single task by ID from tasks.json. Args: task_id: The string task ID (e.g. "2", "14"). Returns:STRING
HIGHlibs/evals/tests/evals/memory_agent_bench/data_utils.py55Load MemoryAgentBench data from HuggingFace. Args: split: Dataset split name (e.g. `Conflict_Resolution`). STRING
HIGHlibs/evals/deepagents_harbor/langsmith.py387Get a LangSmith dataset by name. Args: dataset_name: Name of the dataset to retrieve. session: aiohSTRING
HIGHlibs/evals/deepagents_harbor/langsmith.py422Create a LangSmith experiment session for the given dataset. Args: dataset_name: Name of the LangSmith dataSTRING
HIGHlibs/evals/deepagents_harbor/langsmith.py514Extract reward from trial's `result.json`. Falls back to `0.0` when the verifier did not produce a usable reward STRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py278Create the Deep Agents Code CLI harness graph Harbor should run. Harbor's installed `langgraph` agent loads this faSTRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py416Create a Deep Agents SDK graph Harbor should run directly. This path avoids the Deep Agents Code CLI harness while STRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py455Build langchain-mcp-adapters connections from Harbor-forwarded servers. Harbor's LangGraph agent forwards the task STRING
228 more matches not shown…
Unused Imports966 hits · 850 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py6CODE
LOWlibs/talon/deepagents_talon/media.py6CODE
LOWlibs/talon/deepagents_talon/config.py6CODE
LOWlibs/talon/deepagents_talon/host.py6CODE
LOWlibs/talon/deepagents_talon/__init__.py6CODE
LOWlibs/talon/deepagents_talon/__init__.py7CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py17CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py35CODE
LOWlibs/talon/deepagents_talon/__init__.py35CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/observability.py6CODE
LOWlibs/talon/deepagents_talon/runtime.py6CODE
LOWlibs/talon/deepagents_talon/mcp.py6CODE
LOWlibs/talon/deepagents_talon/async_subagents.py6CODE
LOWlibs/talon/deepagents_talon/speech.py6CODE
LOWlibs/talon/deepagents_talon/data_lifecycle.py6CODE
LOWlibs/talon/deepagents_talon/__main__.py6CODE
LOWlibs/talon/deepagents_talon/fleet_import.py3CODE
LOWlibs/talon/deepagents_talon/cron/tools.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py14CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py15CODE
LOWlibs/talon/deepagents_talon/cron/jobs.py6CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py6CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py6CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
906 more matches not shown…
Cross-Language Confusion107 hits · 626 pts
SeverityFileLineSnippetContext
HIGHlibs/evals/harbor_adapters/drbench/adapter.py1198# password null) keep each app's built-in login.COMMENT
HIGHlibs/evals/tests/evals/test_auto_mode_authorization.py257 arguments={"command": "source .env && python -m project.cli diagnose"},CODE
HIGHlibs/code/tests/unit_tests/test_server_manager.py136 '["ls", null]', # list with a null elementCODE
HIGHlibs/code/tests/unit_tests/test_uninstall_command.py739 `dcode uninstall openai && echo removed` printing "removed" would tell aSTRING
HIGHlibs/code/tests/unit_tests/test_install_script.py4924 f"rc=0\nwget_download - {url!r} '' true || rc=$?\n"CODE
HIGHlibs/code/tests/unit_tests/test_auto_mode.py1308 assert not _fixed_repo_command_allowed("git status && rm -rf .", tmp_path)CODE
HIGHlibs/code/tests/unit_tests/test_auto_mode.py4057 ("Run git status", "git status && git push origin feature"),CODE
HIGHlibs/code/tests/unit_tests/test_extras_info.py822 '{"dir_info": null}', # valid JSON, dir_info not an objectCODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py159 ("ls && cat file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py160 ("ls && rm file", False),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py161 ("ls -la && grep pattern file && cat output.txt", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py162 ("ls && cat file && grep test", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py163 ("cat a.txt && cat b.txt && cat c.txt", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py164 ("ls && rm -rf /", False),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py177 ("ls || cat file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py178 ("ls || rm file", False),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py549 ("ls && cat file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py550 ("ls && grep test file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py639 assert not contains_dangerous_patterns("ls && cat file")CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py170 """Test commands with && operator (commonly used by Claude for chaining)."""STRING
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py184 """Test commands with || operator."""STRING
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py638 """Double && should not be flagged as dangerous (it's a safe operator)."""STRING
HIGHlibs/code/tests/unit_tests/test_ask_user_types.py174 assert decode_multi_select_answer("[null]") is NoneCODE
HIGHlibs/code/tests/unit_tests/test_update_check.py2346 == f"export PATH={quoted_bin_dir}:$PATH\nhash -r 2>/dev/null || true"CODE
HIGH…ode/tests/integration_tests/test_sandbox_operations.py41 "rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops"CODE
HIGHlibs/code/deepagents_code/update_check.py1986 return f"export PATH={quoted}:$PATH\nhash -r 2>/dev/null || true"CODE
HIGHlibs/code/deepagents_code/local_context.py413 BRANCH="$(git rev-parse --abbrev-ref HEAD 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py415 COMMIT="$(git rev-parse --short HEAD 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py423 refs/heads/main refs/heads/master 2>/dev/null); doCODE
HIGHlibs/code/deepagents_code/local_context.py283 GIT_INFO="$(git rev-parse --is-inside-work-tree --show-toplevel 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py326 $MONOREPO && echo "- Monorepo: yes"CODE
HIGHlibs/code/deepagents_code/local_context.py344 if grep -q '\[tool\.uv\]' pyproject.toml 2>/dev/null; then PKG="Python: uv"CODE
HIGHlibs/code/deepagents_code/local_context.py345 elif grep -q '\[tool\.poetry\]' pyproject.toml 2>/dev/null; then PKG="Python: poetry"CODE
HIGHlibs/code/deepagents_code/local_context.py400$_RT_CLEANUP && rm -rf "$_RT_TMP"CODE
HIGHlibs/code/deepagents_code/local_context.py485 $_GH_CLEANUP && rm -rf "$_GH_TMP"CODE
HIGHlibs/code/deepagents_code/local_context.py510if [ -f Makefile ] && grep -qE '^tests?:' Makefile 2>/dev/null; then TC="make test"CODE
HIGHlibs/code/deepagents_code/local_context.py517 && grep -q '"test"' package.json 2>/dev/null; thenCODE
HIGHlibs/code/deepagents_code/local_context.py532 { ls -1 2>/dev/null; [ -e .deepagents ] && echo .deepagents; } |CODE
HIGHlibs/code/deepagents_code/local_context.py597 $TREE_TRUNCATED && echo "... (more lines truncated)"CODE
HIGHlibs/code/deepagents_code/offload_api.py384 msg = f"context.{key} must be a string or null, got {type(value).__name__}."CODE
HIGHlibs/code/deepagents_code/offload_api.py396 "context.model_context_limit must be an integer or null, "CODE
HIGHlibs/code/deepagents_code/offload_api.py403 f"context.auto_approve must be a boolean or null, "CODE
HIGHlibs/partners/quickjs/tests/unit_tests/test_ptc.py394 undefined = await repl.eval_async("await tools.myTool({ name: undefined })")CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1108 "mustThrow('assign', () => { globalThis.task = null; });"CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1111 "if (!Object.isFrozen(task) || task.extra !== undefined) {"CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1363 " calls.push(task({"CODE
HIGH…s/partners/quickjs/tests/unit_tests/test_end_to_end.py241 code = "const r = await tools.getUserEmailOrNone({user_id: -1});\n`${r === null}`;"CODE
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py26 " values.push(await tools.echoPayload({value: `value-${i}`}));"CODE
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py35 " values.push(value);"CODE
HIGHlibs/partners/quickjs/langchain_quickjs/_prompt.py115 reviewed.push(...(await Promise.all(batch.map(async (file) => {CODE
HIGHlibs/partners/quickjs/langchain_quickjs/middleware.py297 # eval runs on another (and sees `tools` undefined).COMMENT
HIGHlibs/deepagents/tests/unit_tests/test_version.py250 pytest.param('{"dir_info": null}', id="null-dir-info"),CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py262 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1630 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1760 assert sandbox.execute(f"test -e {off_path} && echo Y || echo N").output.strip() == "N"CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1310{ ( eval "$__da_cmd" ); echo "$?" > "$__da_ecf"; } 2>&1 | { head -c __MAXBYTES__ > "$__da_f"; cat > /dev/null; }CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1311__da_ec=$(cat "$__da_ecf" 2>/dev/null)CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1830 Runs `test -e || test -L` first: a path that does not exist (and is notSTRING
HIGHlibs/acp/tests/test_dangerous_patterns.py65 assert not contains_dangerous_patterns("cd dir && ls")CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py66 assert not contains_dangerous_patterns("make && make test")CODE
47 more matches not shown…
Cross-File Repetition97 hits · 485 pts
SeverityFileLineSnippetContext
HIGHlibs/evals/tests/evals/test_followup_quality.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGH…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_tool_usage_relational.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_tool_selection.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_todos.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_summarization.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_memory_multiturn.py0apply memory category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_memory.py0apply memory category and baseline tier to all tests in this module.STRING
HIGH…ts/evals/memory_agent_bench/test_memory_agent_bench.py0apply memory category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_system_prompt.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_subagents.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_skills.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/code/tests/unit_tests/test_configuration.py0resolve `option` through production code as `(value, source)`. thin alias for the shared `resolve_option_for_test`; see STRING
HIGH…code/tests/unit_tests/test_configuration_resolution.py0resolve `option` through production code as `(value, source)`. thin alias for the shared `resolve_option_for_test`; see STRING
HIGHlibs/code/tests/unit_tests/test_config_manifest.py0resolve `option` through production code as `(value, source)`. thin alias for the shared `resolve_option_for_test`; see STRING
HIGHlibs/code/tests/unit_tests/test_config.py0redirect the credential store into a temp directory.STRING
HIGHlibs/code/tests/unit_tests/test_model_config.py0redirect the credential store into a temp directory.STRING
HIGH…code/tests/unit_tests/tui/widgets/test_auth_widgets.py0redirect the credential store into a temp directory.STRING
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"STRING
HIGHlibs/code/tests/unit_tests/test_model_switch.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"STRING
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"STRING
HIGH…e/tests/unit_tests/tui/widgets/test_thread_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…de/tests/unit_tests/tui/widgets/test_model_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…de/tests/unit_tests/tui/widgets/test_agent_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…s/code/tests/integration_tests/test_sandbox_factory.py0test async upload followed by download for data integrity.STRING
HIGH…s/tests/unit_tests/backends/test_filesystem_backend.py0test async upload followed by download for data integrity.STRING
HIGH…s/unit_tests/backends/test_filesystem_backend_async.py0test async upload followed by download for data integrity.STRING
HIGHlibs/code/deepagents_code/goal_rubric.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/_glm_5p2_profile.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/resume_state.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/configurable_model.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/cost_tracking.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/ask_user.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/auto_mode.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/goal_tools.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/agent.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/local_context.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/memory_guard.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/hooks/server_middleware.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/rubric.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/subagents.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/skills.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/memory.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/filesystem.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGH…s/deepagents/deepagents/middleware/patch_tool_calls.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/summarization.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGH…bs/deepagents/deepagents/middleware/async_subagents.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGHlibs/deepagents/deepagents/middleware/subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGH…bs/deepagents/deepagents/middleware/async_subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGHlibs/code/deepagents_code/tui/modals/model_switch.py0focus the modal so its bindings receive keyboard input.STRING
HIGHlibs/code/deepagents_code/tui/modals/resume_compact.py0focus the modal so its bindings receive keyboard input.STRING
HIGH…ode/deepagents_code/tui/widgets/thread_agent_switch.py0focus the modal so its bindings receive keyboard input.STRING
HIGHlibs/code/deepagents_code/tui/widgets/cwd_switch.py0focus the modal so its bindings receive keyboard input.STRING
HIGHlibs/code/deepagents_code/tui/modals/cold_cache.py0toggle selection styling. args: selected: whether this row is currently under the cursor.STRING
HIGH…ode/deepagents_code/tui/widgets/notification_center.py0toggle selection styling. args: selected: whether this row is currently under the cursor.STRING
HIGH…s/code/deepagents_code/tui/widgets/update_available.py0toggle selection styling. args: selected: whether this row is currently under the cursor.STRING
HIGH…ode/deepagents_code/tui/widgets/notification_detail.py0toggle selection styling. args: selected: whether this row is currently under the cursor.STRING
HIGHlibs/code/deepagents_code/tui/modals/cold_cache.py0move the cursor down one row (wraps at the bottom).STRING
HIGH…ode/deepagents_code/tui/widgets/notification_center.py0move the cursor down one row (wraps at the bottom).STRING
37 more matches not shown…
Excessive Try-Catch Wrapping509 hits · 455 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/host.py375 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py750 except Exception: # noqa: BLE001 # typing indicators are best-effort adapter calls.CODE
LOWlibs/talon/deepagents_talon/host.py758 except Exception: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/runtime.py399 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/speech.py173 except Exception:CODE
LOWlibs/talon/deepagents_talon/cron/tools.py159 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py171 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py206 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py221 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py107 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py144 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/channels/base.py576 except Exception as exc: # noqa: BLE001 # transport errors must not crash the host loopCODE
LOW…/evals/harbor_adapters/contextbench/templates/judge.py148 except Exception as exc: # noqa: BLE001 - report, retry, then score 0.0 like upstreamCODE
LOW…vals/harbor_adapters/drbench/templates/extract_text.py226 except Exception as exc: # noqa: BLE001 - one bad file must not abort the restCODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py359 except Exception as exc: # noqa: BLE001 - a bad citation must not end the runCODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py398 except Exception: # noqa: BLE001 - fall back to a character estimateCODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py716 except Exception as exc: # noqa: BLE001 - diagnostics must never fail the verifierCODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py740 except Exception as exc: # noqa: BLE001 - deferred to the guarded path belowCODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py751 except Exception as exc:CODE
LOWlibs/evals/deepagents_evals/cli.py210 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/deepagents_evals/cli.py229 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/deepagents_evals/cli.py298 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py116 except Exception: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py158 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py171 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py202 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py287 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py333 except Exception as exc: # noqa: BLE001 # private API; best-effortCODE
LOWlibs/evals/tests/evals/external_benchmarks.py338 except Exception:CODE
LOWlibs/evals/tests/evals/test_auto_mode_authorization.py360 except Exception:CODE
LOWlibs/evals/tests/evals/llm_judge.py185 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/llm_judge.py191 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/llm_judge.py218 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py182 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/unit_tests/test_drbench_judge.py836 except Exception as exc: # noqa: BLE001 - any failure means the encoder is unusable hereCODE
LOWlibs/evals/deepagents_harbor/langsmith.py687 except Exception as exc: # noqa: BLE001 # surface unexpected errors per-trialCODE
LOW…deepagents_harbor/langgraph_project/langgraph_agent.py394 except Exception as exc: # noqa: BLE001 - a failed search must not end the runCODE
LOWlibs/evals/scripts/generate_radar.py242 except Exception as exc: # noqa: BLE001 # top-level script should surface chart backend failures cleanlyCODE
LOWlibs/evals/scripts/generate_radar.py260 except Exception as exc: # noqa: BLE001 # top-level script should surface chart backend failures cleanlyCODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py155 print(f"Error: --metadata must be valid JSON: {exc}", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py158 print("Error: --metadata must be a JSON object.", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py170 print(f"Error: {exc}", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py173 print(f"Error: failed to create experiment: {exc}", file=sys.stderr)CODE
LOWlibs/evals/scripts/harbor_langsmith.py175 except Exception as exc: # noqa: BLE001 # unexpected; distinct exit codeCODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py176 print(f"Error: unexpected failure creating experiment: {exc!r}", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py183 print(f"Error: Job folder does not exist: {args.job_folder}")CODE
LOWlibs/evals/scripts/analyze.py317 except Exception:CODE
MEDIUMlibs/evals/scripts/analyze.py369 print(f"Error: Directory {jobs_dir} does not exist")CODE
LOWlibs/evals/scripts/analyze.py509 except Exception:CODE
LOWlibs/evals/scripts/analyze.py880 except Exception as e:CODE
LOWlibs/code/tests/unit_tests/test_goal_rubric.py2404 except Exception as exc: # noqa: BLE001CODE
LOW…e/tests/unit_tests/tui/widgets/test_mcp_login_modal.py38 except Exception: # noqa: BLE001 # screen may still be mountingCODE
LOWlibs/code/examples/skills/arxiv-search/arxiv_search.py40 except Exception as e:CODE
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py214 print(f"Error: Skill directory already exists: {skill_dir}")STRING
LOW…de/examples/skills/skill-creator/scripts/init_skill.py221 except Exception as e:STRING
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py222 print(f"Error creating directory: {e}")STRING
LOW…de/examples/skills/skill-creator/scripts/init_skill.py235 except Exception as e:STRING
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py236 print(f"Error creating SKILL.md: {e}")STRING
LOW…de/examples/skills/skill-creator/scripts/init_skill.py262 except Exception as e:STRING
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py263 print(f"Error creating resource directories: {e}")STRING
449 more matches not shown…
Self-Referential Comments119 hits · 392 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/tests/evals/data/bfcl_apis/trading_bot.py200 # Define the start and end dates for the rangeCOMMENT
MEDIUMlibs/evals/scripts/analyze.py632 # Create the deep agent for trajectory analysisSTRING
MEDIUMlibs/evals/scripts/analyze.py658 # Create the user message with the trajectory and explicit statusSTRING
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py847 # Create a file that reports > 20 MB via statCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py311 # Create a small PNG in memoryCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py636 # Create a small valid PNGCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py807 # Create a minimal valid MP4 file (ftyp box)COMMENT
MEDIUMlibs/code/tests/unit_tests/test_agent.py2166 # Create the default agent directory with AGENTS.mdCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_agent.py2171 # Create a non-default agentCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py146 # Create a fake model that returns predefined messagesCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py168 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py207 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py274 # Create a fake model that calls sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py296 # Create a CLI agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py329 # Create a test file to listCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py333 # Create a fake model that uses filesystem toolsCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py355 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py385 # Create a fake model that makes multiple tool callsCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py418 # Create a CLI agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py450 # Create a simple fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py459 # Create a CLI agentCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py597 # Create a mock project structureCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py603 # Create a subdirectory to search fromCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py1174 # Create a mock project with .gitCOMMENT
MEDIUM…ode/tests/unit_tests/tui/widgets/test_message_store.py1118 # Create a tool message with various statesCOMMENT
MEDIUMlibs/code/tests/unit_tests/skills/test_load.py718 # Create a healthy user skills directoryCOMMENT
MEDIUM…ode/tests/integration_tests/test_sandbox_operations.py285 # Create a line with 3000 charactersCOMMENT
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py214 # Create a directoryCOMMENT
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py284 # Create a directoryCOMMENT
MEDIUMlibs/code/deepagents_code/media_utils.py480 # Create a temp file for the imageCOMMENT
MEDIUMlibs/code/deepagents_code/agent.py3386 # Create the agentCOMMENT
MEDIUMlibs/code/deepagents_code/plugins/adapters/mcp.py238 # Create the writable data dir when MCP configs need it. Discovery itselfCOMMENT
MEDIUMlibs/code/scripts/install.sh3291 # Create the file (and parents) if missing. Keep the real error text —COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3391 # Create a list that exceeds the token limit (20000 tokens * 4 chars = 80000 chars)COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3425 # Create a large tool resultCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3433 # Create a request for a tool in TOOLS_EXCLUDED_FROM_EVICTIONCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3455 # Create a large tool resultCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3463 # Create a request for a tool NOT in TOOLS_EXCLUDED_FROM_EVICTIONCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3489 # Create a ToolMessage with the large execute outputCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3496 # Create a request for the execute toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py550 # Create a large number of files that will exceed TOOL_RESULT_TOKEN_LIMITCOMMENT
MEDIUM…/deepagents/tests/unit_tests/test_file_system_tools.py52 # Create a deep agent with the fake model and a memory saverCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py954 # Create a file with content that exceeds the truncation thresholdCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py963 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1012 # Create a small file that doesn't exceed the truncation thresholdCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1020 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1066 # Create a large file with many lines (each line is 500 chars + newline)COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1076 # Create a fake model that calls read_file with a non-zero offsetCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1122 # Create a large fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1130 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py202 # Create a fake model that returns predefined messagesCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py224 # Create a deep agent with the fake modelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py334 # Create a fake model that calls sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py356 # Create a deep agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py378 # Create a fake model that uses filesystem toolsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py400 # Create a deep agent with the fake modelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py419 # Create a fake model that makes multiple tool callsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py452 # Create a deep agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py568 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py663 # Create a model that handles both turnsCOMMENT
59 more matches not shown…
Modern Structural Boilerplate379 hits · 364 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py172 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/interfaces.py228 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/host.py53logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/__init__.py43__all__ = [CODE
LOWlibs/talon/deepagents_talon/runtime.py51logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/mcp.py31logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/async_subagents.py16logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/speech.py25logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/data_lifecycle.py22logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/__main__.py43logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py17__all__ = [CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py17logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py54logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py278 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py53logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py331 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py339 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py18__all__ = [CODE
LOWlibs/talon/deepagents_talon/channels/base.py39logger = logging.getLogger(__name__)CODE
LOWlibs/talon/tests/conftest.py41 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/talon/tests/test_observability.py40 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/talon/tests/integration_tests/test_core_flows.py34 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/evals/deepagents_clbench/system/__init__.py5__all__ = ["DeepAgentsSystem"]CODE
LOWlibs/evals/tests/evals/pytest_reporter.py20logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/utils.py19logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/tau2_airline/runner.py29logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py36logger = logging.getLogger(__name__)CODE
LOW…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py45logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py14logger = logging.getLogger(__name__)CODE
LOW…ts/evals/memory_agent_bench/test_memory_agent_bench.py49logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py221 def _set_card_balance(self, card_id: str, balance: float) -> None:CODE
LOWlibs/evals/deepagents_harbor/__init__.py12__all__ = [CODE
LOWlibs/evals/deepagents_harbor/failure.py15logger = logging.getLogger(__name__)CODE
LOW…deepagents_harbor/langgraph_project/langgraph_agent.py30logger = logging.getLogger(__name__)CODE
LOWlibs/code/tests/unit_tests/test_mcp_auth.py911 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
LOWlibs/code/tests/unit_tests/test_mcp_auth.py917 async def set_client_info(self, client_info) -> None:CODE
LOWlibs/code/tests/unit_tests/test_auto_mode.py4714 def update_run(self, **kwargs: Any) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py296 def _update_tokens(self, count: int) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py316 def _update_tokens(self, count: int) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py331 def update_tokens(count: int, *, approximate: bool = False) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py352 def _update_tokens(self, count: int) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py239 def update_cb(count: int, *, approximate: bool = False) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py592 def update_state(_config: object, _values: dict[str, Any]) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py2741 async def set_spinner(status: str | None) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py2888 async def set_spinner(status: str | None) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py2961 async def set_spinner(status: str | None) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py3038 async def set_spinner(status: str | None) -> None:CODE
LOW…e/tests/unit_tests/tui/widgets/test_thread_selector.py4426 def _set_content_side_effect(content: str) -> None:CODE
LOW…s/code/tests/unit_tests/tui/widgets/test_chat_input.py290 def set_cwd(self, cwd: Path) -> None:CODE
LOW…de/tests/integration_tests/test_auto_approve_remote.py111 def update_status(_: str) -> None:CODE
LOWlibs/code/deepagents_code/reasoning_effort.py16logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/goal_rubric.py76logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/reliable_rubric.py41logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/config_manifest.py63logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/sessions.py26logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/model_retry.py56logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/model_retry.py58__all__ = [CODE
LOWlibs/code/deepagents_code/approval_mode.py21logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/subagents.py42logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/_terminal_stderr.py24logger = logging.getLogger(__name__)CODE
319 more matches not shown…
Over-Commented Block264 hits · 214 pts
SeverityFileLineSnippetContext
LOWaction.yml481 set +eCOMMENT
LOWlibs/evals/pyproject.toml121 # CVE-2026-0994: JSON recursion depth bypass DoS in <= 6.33.4COMMENT
LOWlibs/evals/harbor_adapters/drbench/adapter.py1201external_insight_count = {external}COMMENT
LOWlibs/evals/harbor_adapters/drbench/adapter.py1241COMMENT
LOW…deepagents_harbor/langgraph_project/langgraph_agent.py301 assistant_id = _harbor_assistant_id(os.environ.get("HARBOR_SESSION_ID"))COMMENT
LOWlibs/code/pyproject.toml361 # uses `stacklevel=2`, so it is attributed to this package, not to theCOMMENT
LOWlibs/code/tests/unit_tests/test_configuration.py1041COMMENT
LOWlibs/code/tests/unit_tests/test_install_script.py4561 " exit 7\n"COMMENT
LOWlibs/code/tests/unit_tests/test_main.py301 assert "Warning:" in printedCOMMENT
LOWlibs/code/deepagents_code/config_manifest.py261 # Fail at import (and in the test suite) rather than KeyError-ing fromCOMMENT
LOWlibs/code/deepagents_code/sessions.py841 batch_results = await _load_latest_checkpoint_summaries_batch(COMMENT
LOWlibs/code/deepagents_code/model_retry.py461 # sets `__context__` on anything raised inside an `except` block, soCOMMENT
LOWlibs/code/deepagents_code/config.py3321 # empty managed table if the new file fails to parse, which reads asCOMMENT
LOWlibs/code/deepagents_code/config.py5761 # but before credential bridging, provider profiles, and provider imports.COMMENT
LOWlibs/code/deepagents_code/theme.py161"""Incognito shell accent (darkened for light bg contrast)."""COMMENT
LOWlibs/code/deepagents_code/model_config.py901 "xai": "max_retries",COMMENT
LOWlibs/code/deepagents_code/model_config.py1001backend rejects at call time.COMMENT
LOWlibs/code/deepagents_code/model_config.py1021 # name langchain_google_genai threads through HttpOptions).COMMENT
LOWlibs/code/deepagents_code/model_config.py2021 if not host:COMMENT
LOWlibs/code/deepagents_code/update_check.py181 # Use `uv tool install -U` instead of `uv tool upgrade`: the latterCOMMENT
LOWlibs/code/deepagents_code/update_check.py1861 # the user's bin dir (e.g. `~/.local/bin/dcode` -> the tool venv atCOMMENT
LOWlibs/code/deepagents_code/_ask_user_types.py141 """COMMENT
LOWlibs/code/deepagents_code/media_utils.py601COMMENT
LOWlibs/code/deepagents_code/mcp_auth.py1721 and self.context.can_refresh_token()COMMENT
LOWlibs/code/deepagents_code/mcp_auth.py1741 # the HTTP responses httpx feeds back via `auth_flow.asend(response)`COMMENT
LOWlibs/code/deepagents_code/cost_tracking.py1221 # The same predicate `estimate_cost` closes with, applied here becauseCOMMENT
LOWlibs/code/deepagents_code/cost_tracking.py1421 # rather than redundant. The `or` is safe only because `_cache_write_counts`COMMENT
LOWlibs/code/deepagents_code/server_graph.py221COMMENT
LOWlibs/code/deepagents_code/file_ops.py621 )COMMENT
LOWlibs/code/deepagents_code/file_ops.py741 record.before_content = ""COMMENT
LOWlibs/code/deepagents_code/file_ops.py761 # `ValueError`) and the LangSmith backend catches only itsCOMMENT
LOWlibs/code/deepagents_code/file_ops.py781 # raised must count as a lost pre-image too, or the diffCOMMENT
LOWlibs/code/deepagents_code/file_ops.py861 # diff the removed content against; there is nothing to readCOMMENT
LOWlibs/code/deepagents_code/file_ops.py921 # not an invariant.COMMENT
LOWlibs/code/deepagents_code/ask_user.py301 # `"success"` default:COMMENT
LOWlibs/code/deepagents_code/ask_user.py381COMMENT
LOWlibs/code/deepagents_code/ask_user.py401 # `ToolInvocationError` is built from the pre-injectionCOMMENT
LOWlibs/code/deepagents_code/auto_mode.py1281 # *which* question was displayed under this exact ``tool_call_id`` and answered,COMMENT
LOWlibs/code/deepagents_code/auto_mode.py2961 expected_ids = {_tool_call_id(call) for call in review_calls}COMMENT
LOWlibs/code/deepagents_code/cold_cache.py781 for entry in trusted_endpoints or ()COMMENT
LOWlibs/code/deepagents_code/cold_cache.py981 case "5m":COMMENT
LOWlibs/code/deepagents_code/agent.py2721 # go through `create_model` here so the SDK retry loop is disabled before DeepCOMMENT
LOWlibs/code/deepagents_code/agent.py2841 # request. `CostTrackingMiddleware` is the sole writer of the cumulativeCOMMENT
LOWlibs/code/deepagents_code/agent.py3161 agent_middleware.append(server_hooks_middleware)COMMENT
LOWlibs/code/deepagents_code/offload_middleware.py1381 # `backend.artifacts_root if isinstance(backend, CompositeBackend)`, andCOMMENT
LOWlibs/code/deepagents_code/offload_middleware.py1441 return NoneCOMMENT
LOWlibs/code/deepagents_code/main.py781 # Record the target version so the re-exec'd process can detect aCOMMENT
LOWlibs/code/deepagents_code/main.py3761COMMENT
LOWlibs/code/deepagents_code/main.py5341 # Scoped to the provider this run will actually build: `create_model`COMMENT
LOWlibs/code/deepagents_code/main.py5481 sys.exit(exit_code)COMMENT
LOWlibs/code/deepagents_code/main.py5521 from deepagents_code._dep_floor_check import warn_if_editable_deps_staleCOMMENT
LOWlibs/code/deepagents_code/main.py5561 # The two assignments below no longer drive anything. Headless neverCOMMENT
LOWlibs/code/deepagents_code/_tool_stream.py561 # Some providers deliver the new call's name/args before its replacementCOMMENT
LOWlibs/code/deepagents_code/_tool_stream.py681 # chunk boundary landing right after an inner `}` (e.g.COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py701 return NoneCOMMENT
LOWlibs/code/deepagents_code/mcp_tools.py801 # "Attempted to exit cancel scope in a different task than it wasCOMMENT
LOWlibs/code/deepagents_code/mcp_tools.py3221 config_trusted = trust_project_mcp is TrueCOMMENT
LOWlibs/code/deepagents_code/_textual_patches.py161 # field (before any `:` alternate-key sub-field); `_lock_key_event` checksCOMMENT
LOWlibs/code/deepagents_code/configuration/service.py601 def __init__(self) -> None:COMMENT
LOWlibs/code/deepagents_code/configuration/service.py781 if path is not None:COMMENT
204 more matches not shown…
Deep Nesting242 hits · 191 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/media.py63CODE
LOWlibs/talon/deepagents_talon/fleet_import.py268CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py441CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py1205CODE
LOWlibs/talon/tests/channels/test_telegram.py59CODE
LOWlibs/evals/harbor_adapters/drbench/adapter.py476CODE
LOW…vals/harbor_adapters/drbench/templates/extract_text.py121CODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py467CODE
LOWlibs/evals/tests/evals/pytest_reporter.py120CODE
LOWlibs/evals/tests/evals/pytest_reporter.py293CODE
LOWlibs/evals/tests/evals/pytest_reporter.py342CODE
LOWlibs/evals/tests/evals/utils.py1261CODE
LOWlibs/evals/tests/evals/llm_judge.py141CODE
LOW…/tests/evals/test_iterative_constraint_satisfaction.py84CODE
LOWlibs/evals/tests/evals/tau2_airline/domain.py427CODE
LOWlibs/evals/tests/evals/tau2_airline/domain.py512CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py156CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py162CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py331CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py553CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py618CODE
LOWlibs/evals/tests/unit_tests/test_category_tagging.py92CODE
LOWlibs/evals/deepagents_harbor/langsmith.py643CODE
LOWlibs/evals/deepagents_harbor/failure.py95CODE
LOWlibs/evals/scripts/generate_radar.py119CODE
LOWlibs/evals/scripts/generate_eval_catalog.py58CODE
LOWlibs/evals/scripts/harbor_langsmith.py26CODE
LOWlibs/evals/scripts/analyze.py254CODE
LOWlibs/evals/scripts/analyze.py779CODE
LOWlibs/code/tests/unit_tests/test_startup_fast_paths.py345CODE
LOW…bs/code/tests/unit_tests/test_coding_agent_metadata.py56CODE
LOWlibs/code/tests/unit_tests/test_goal_rubric.py559CODE
LOWlibs/code/tests/unit_tests/test_sessions.py3142CODE
LOWlibs/code/tests/unit_tests/test_main_args.py2465CODE
LOWlibs/code/tests/unit_tests/test_auto_mode.py3793CODE
LOW…ode/tests/unit_tests/smoke_tests/test_system_prompt.py177CODE
LOW…e/tests/unit_tests/tui/widgets/test_thread_selector.py701CODE
LOWlibs/code/tests/unit_tests/tui/widgets/test_diff.py168CODE
LOWlibs/code/deepagents_code/reasoning_effort.py224CODE
LOWlibs/code/deepagents_code/reasoning_effort.py280CODE
LOWlibs/code/deepagents_code/goal_rubric.py1114CODE
LOWlibs/code/deepagents_code/goal_rubric.py1142CODE
LOWlibs/code/deepagents_code/goal_rubric.py1258CODE
LOWlibs/code/deepagents_code/config_manifest.py1105CODE
LOWlibs/code/deepagents_code/config_manifest.py1291CODE
LOWlibs/code/deepagents_code/config_manifest.py1399CODE
LOWlibs/code/deepagents_code/_testing_models.py171CODE
LOWlibs/code/deepagents_code/sessions.py1173CODE
LOWlibs/code/deepagents_code/sessions.py1302CODE
LOWlibs/code/deepagents_code/model_retry.py249CODE
LOWlibs/code/deepagents_code/config.py1335CODE
LOWlibs/code/deepagents_code/config.py1747CODE
LOWlibs/code/deepagents_code/config.py3748CODE
LOWlibs/code/deepagents_code/config.py3863CODE
LOWlibs/code/deepagents_code/config.py5208CODE
LOWlibs/code/deepagents_code/config.py5409CODE
LOWlibs/code/deepagents_code/config.py5641CODE
LOWlibs/code/deepagents_code/config.py3280CODE
LOWlibs/code/deepagents_code/mcp_login_service.py191CODE
LOWlibs/code/deepagents_code/model_config.py76CODE
182 more matches not shown…
AI Slop Vocabulary41 hits · 115 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/pyproject.toml103 # the eval harness itself has to install there. Without this, `uv sync --locked`COMMENT
MEDIUMlibs/evals/pyproject.toml131 # eval harness, where harbor imports filelock eagerly in a plain process with noCOMMENT
MEDIUMlibs/evals/harbor_adapters/contextbench/adapter.py298 # from the verifier environment the harness injects (`JUDGE_MODELS`,COMMENT
MEDIUMlibs/evals/harbor_adapters/drbench/templates/judge.py609 # Recorded so a score is never silently attributed to the judge the harness asked forCOMMENT
MEDIUMlibs/evals/harbor_adapters/drbench/templates/judge.py746 # broken harness, so it is scored zero like any other unearned metric.COMMENT
MEDIUMlibs/evals/harbor_adapters/drbench/templates/judge.py755 # the harness then counts the trial as errored rather than scored.COMMENT
MEDIUMlibs/evals/tests/evals/test_auto_mode_authorization.py369 # Shape violations are harness or schema-compliance failures, not policyCOMMENT
MEDIUM…/evals/tests/unit_tests/test_harbor_langgraph_agent.py327 # harness eval is supposed to evaluate. Passing an override would bypass it.COMMENT
MEDIUM…/evals/tests/unit_tests/test_harbor_langgraph_agent.py744 # The bare path must not inject a harness system prompt, preserving theCOMMENT
MEDIUM…/evals/tests/unit_tests/test_harbor_langgraph_agent.py793 # a harness system prompt.COMMENT
MEDIUMlibs/evals/tests/unit_tests/test_drbench_judge.py256 # The harness uses this variable to publish DRBench's resolved fallback withoutCOMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py306 # the CLI-harness eval never exercises the dcode system prompt we ship. TheCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_goal_rubric.py1664 """Parsing helpers stay robust to messy nested criteria output."""STRING
MEDIUMlibs/code/tests/unit_tests/test_install_script.py5118 # The harness must define every helper cleanup_on_signal calls; a missingCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_install_script.py5061 # implementations so the harness exercises shipped code without emittingCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_install_script.py5077 # so the harness exercises the real 128+signo exit path.COMMENT
MEDIUMlibs/code/deepagents_code/_glm_5p2_profile.py301 # Private imports: the harness registry and its lazy-load hook expose noCOMMENT
MEDIUMlibs/code/deepagents_code/agent.py3177 # main agent. Preserve the SDK harness's model-specific tool metadataCOMMENT
LOWlibs/partners/quickjs/langchain_quickjs/_format.py210 # stdout path -- we've already truncated the result, so we just add the markerCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py2001 # A harness profile is registered under bare "openai".COMMENT
MEDIUMlibs/deepagents/deepagents/graph.py621 # Copy of `tools` with any harness-specific description rewrites.STRING
MEDIUMlibs/deepagents/deepagents/graph.py744 # Auto-add the default general-purpose subagent unless the harness profileSTRING
MEDIUMlibs/deepagents/deepagents/graph.py763 # Add harness-profile middleware, if anySTRING
MEDIUMlibs/deepagents/deepagents/backends/utils.py250 # (profiles/harness/_nvidia_nemotron_3_ultra.py) counts source rows toSTRING
MEDIUMlibs/deepagents/deepagents/profiles/__init__.py51# Built-in provider/harness profiles are registered lazily on firstCOMMENT
LOWlibs/acp/deepagents_acp/utils.py311 # Use specific handler if available, otherwise just use base commandCOMMENT
LOWlibs/acp/deepagents_acp/utils.py316 # Non-sensitive commands - just use the base commandCOMMENT
MEDIUMexamples/nvidia_deep_agent/src/prompts.py12RESEARCHER_INSTRUCTIONS = """Gather and synthesize comprehensive information on the provided query, carefully addressingSTRING
MEDIUMexamples/better-harness/tests/__init__.py1# Tests package for better-harness.COMMENT
MEDIUM…amples/better-harness/examples/deepagents_example.toml1# Worked example for optimizing a Deep Agents-based harness.COMMENT
MEDIUMexamples/better-harness/better_harness/core.py345 "# better-harness report",CODE
MEDIUM.github/workflows/unified_evals.yml260 # than imply a harness was used. An empty RESOLVED_CATEGORIES meansCOMMENT
MEDIUM.github/workflows/_harbor_run.yml559 # Overlay the compared branch's agent source AFTER the harness's lockedCOMMENT
MEDIUM.github/workflows/_harbor_run.yml562 # harness runs at the workflow ref; only the agent under test is theCOMMENT
MEDIUM.github/workflows/_harbor_run.yml577 # Overlay ONLY the agent-under-test libraries. The harness (harbor +COMMENT
MEDIUM.github/workflows/_harbor_run.yml580 # build expects, and a compared branch's harness could diverge from them.COMMENT
MEDIUM.github/scripts/evals/unified_prep.py156# to a nonexistent harness. Validate at import; raise (not assert) so `python -O`COMMENT
MEDIUM.github/scripts/evals/unified_prep.py558 # harness. Conversation is always tau3 and is never taken from this input.COMMENT
MEDIUM.github/scripts/tests/evals/test_unified_workflow.py689 # Only the agent-under-test libraries are overlaid; the harness graph factoryCOMMENT
MEDIUM.github/scripts/tests/evals/test_unified_workflow.py95 # The deep-agents harness list for autonomous/context defaults to bare.COMMENT
MEDIUM…thub/scripts/tests/release/test_build_release_notes.py224# ── Test harness ─────────────────────────────────────────────────────────────COMMENT
Structural Annotation Overuse41 hits · 72 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.COMMENT
LOWlibs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.COMMENT
LOWlibs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.COMMENT
LOWlibs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.COMMENT
LOWlibs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.COMMENT
LOWlibs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.COMMENT
LOWlibs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.COMMENT
LOWlibs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.COMMENT
LOWlibs/evals/tests/evals/test_skills.py232 # Step 3: confirm.COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py3318 # Step 1: Save model to config (simulating /model anthropic:claude-opus-4-5)COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py3326 # Step 2: Patch DEFAULT_CONFIG_PATH and call _get_default_model_specCOMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py3336 # Step 3: Get default model spec - should use saved recent modelCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md225### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md242### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md266### Step 3: Initializing the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md317### Step 4: Edit the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md358### Step 5: Validate the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md376### Step 6: IterateCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md10### Step 1: Create and Save Research PlanCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md33### Step 2: Delegate to Research SubagentsCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md52### Step 3: Synthesize FindingsCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md228### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md245### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md269### Step 3: Initializing the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md320### Step 4: Edit the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md356### Step 5: Validate the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md374### Step 6: IterateCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md10## Step 1: Identify Best Practices and Key LearningsCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md27## Step 2: Decide Where to Store Each LearningCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md49## Step 3: Create Skills for Significant Best PracticesCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md102## Step 4: Update Memory for Simpler LearningsCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md114## Step 5: Summarize ChangesCOMMENT
LOWlibs/code/scripts/install.sh3040 # Step 1: try symlinking into a dir already in PATH (no profile change).COMMENT
LOWlibs/code/scripts/install.sh3048 # Step 2: create ~/.local/bin, symlink there, then add to shell profiles.COMMENT
LOWlibs/code/scripts/install.sh3076 # Step 3: detect the current shell, then write the PATH entry into everyCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1380 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1386 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1521 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1527 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1400 # Step 3: Perform summarizationCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1541 # Step 3: Perform summarizationCOMMENT
Modern AI Meta-Vocabulary22 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUM…ts/evals/memory_agent_bench/test_memory_agent_bench.py433# CI-friendly subset — file-seeded (agentic retrieval) strategyCOMMENT
MEDIUM…ts/evals/memory_agent_bench/test_memory_agent_bench.py103# -- File-seeded (agentic retrieval) configuration ---------------------------COMMENT
MEDIUMlibs/evals/tests/unit_tests/test_drbench_judge.py234# --- judge/embedding model selection --------------------------------------------------COMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py237 # Mirror create_model: pull context window + unsupported input modalitiesCOMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py241 # No usable profile: the identity section renders with no context windowCOMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py257 # A profile that is present but lacks a usable context window is anCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_server_manager.py286 # The graph is imported as a package module, so the scaffold must notCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_server.py870 # Config present on boot: the scaffold hook must not have fired yet.COMMENT
MEDIUM…de/tests/integration_tests/test_offload_server_side.py593 # No scaffold: the workspace is fully prepared above, and a missingSTRING
MEDIUMlibs/code/deepagents_code/config.py6042 if max_input_tokens and max_input_tokens < 8000: # noqa: PLR2004 # Model context window defaultCODE
MEDIUMlibs/code/deepagents_code/local_context.py263# see build_detect_script() for the orchestration logic.COMMENT
MEDIUM…s/code/deepagents_code/client/launch/server_manager.py90# Workspace scaffoldingCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py4085 # through FilesystemMiddleware so multi-agent handoffs reach the sibling node.COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py1535 # and the loop variable is a specific scaffolding class — theCOMMENT
MEDIUMlibs/deepagents/deepagents/graph.py608 # Validate profile-level invariants (required scaffolding, private names)STRING
MEDIUMlibs/deepagents/deepagents/middleware/summarization.py558 # Truncate when 50% of context window reached, ignoring messages in last 10% of windowSTRING
MEDIUM…eepagents/profiles/harness/_nvidia_nemotron_3_ultra.py349# not treat framework scaffolding as application/domain tools.COMMENT
MEDIUMlibs/acp/examples/local_context.py60# see build_detect_script() for the orchestration logic.COMMENT
MEDIUM.github/RELEASING.md311### CI guardrails around releasesCOMMENT
MEDIUM.github/RELEASING.md505A regular release has a review point before publication: release-please generates the package changelog in a release PR,CODE
MEDIUM.github/LAYOUT.md37The two PR labelers also appear in [`RELEASING.md`](./RELEASING.md#ci-guardrails-around-releases) because the release guCODE
MEDIUMopenwiki/architecture/middleware-stack.md112## Required scaffolding cannot be removedCOMMENT
Verbosity Indicators24 hits · 49 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.COMMENT
LOWlibs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.COMMENT
LOWlibs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.COMMENT
LOWlibs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.COMMENT
LOWlibs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.COMMENT
LOWlibs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.COMMENT
LOWlibs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.COMMENT
LOWlibs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.COMMENT
LOWlibs/evals/tests/evals/test_skills.py232 # Step 3: confirm.COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py3318 # Step 1: Save model to config (simulating /model anthropic:claude-opus-4-5)COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py3326 # Step 2: Patch DEFAULT_CONFIG_PATH and call _get_default_model_specCOMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py3336 # Step 3: Get default model spec - should use saved recent modelCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py375### Step 1: [First Action]COMMENT
LOWlibs/code/deepagents_code/skills/commands.py378### Step 2: [Second Action]COMMENT
LOWlibs/code/deepagents_code/skills/commands.py381### Step 3: [Final Action]COMMENT
LOWlibs/code/scripts/install.sh3040 # Step 1: try symlinking into a dir already in PATH (no profile change).COMMENT
LOWlibs/code/scripts/install.sh3048 # Step 2: create ~/.local/bin, symlink there, then add to shell profiles.COMMENT
LOWlibs/code/scripts/install.sh3076 # Step 3: detect the current shell, then write the PATH entry into everyCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1380 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1386 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1521 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1527 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1400 # Step 3: Perform summarizationCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1541 # Step 3: Perform summarizationCOMMENT
Redundant / Tautological Comments33 hits · 44 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/data/bfcl_apis/message_api.py181 # Check if there is a current user logged inCOMMENT
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py783 # Check if the traveler is at least 18 years oldCOMMENT
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py790 # Check if the passport number starts with 'US' (assuming this indicates a US passport)COMMENT
LOWlibs/evals/scripts/analyze.py52 # Check if this is a valid task directory (has solution/solve.sh)COMMENT
LOW…s/code/tests/unit_tests/tui/widgets/test_chat_input.py4764 # Set gap to 0 so any real delay exceeds it.COMMENT
LOW…de/examples/skills/skill-creator/scripts/init_skill.py212 # Check if directory already existsSTRING
LOWlibs/code/deepagents_code/config.py3805 # Check if this command is in the allow setCOMMENT
LOWlibs/code/deepagents_code/config.py5875 # Check if this provider uses a custom BaseChatModel classCOMMENT
LOWlibs/code/deepagents_code/media_utils.py533 # Check if file was created and has contentSTRING
LOWlibs/code/deepagents_code/tui/textual_adapter.py2935 # Check if this is an AIMessageChunk with contentCOMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py3416 # Check if it looked like media but failed validationCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py104 # Check if skill_dir is within base_dirCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py611 # Check if this project skill shadows a user skill with the same name.STRING
LOW…de/built_in_skills/skill-creator/scripts/init_skill.py256 # Check if directory already existsSTRING
LOWlibs/code/scripts/install.sh2587# Check if a directory was in PATH before the installer sourced any env files.COMMENT
LOWlibs/code/scripts/install.sh2710# Check if ~/.local/bin is already referenced in the shell profile's PATHCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py458 # Write files to both backendsCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py861 # Write files to memoriesCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py1100 # Write files to memoriesCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py712 # Write files to both backendsCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1122 # Write files to memoriesCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1303 # Write files to memoriesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py227 # Write file with multiple occurrencesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py260 # Write file with multiple linesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py304 # Write files in nested directoriesCOMMENT
LOW…/tests/unit_tests/backends/test_local_shell_backend.py164 # Read the fileCOMMENT
LOWlibs/deepagents/deepagents/middleware/filesystem.py3212 # Check if content exceeds eviction thresholdCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1021 # Check if this AIMessage has tool calls we need to truncateCOMMENT
LOWlibs/deepagents/deepagents/backends/store.py331 # Check if file is in the specified directory or a subdirectoryCOMMENT
LOWlibs/deepagents/deepagents/backends/utils.py779 # Check if path matches an exact fileSTRING
LOWlibs/deepagents/deepagents/backends/state.py144 # Check if file is in the specified directory or a subdirectoryCOMMENT
LOWlibs/acp/deepagents_acp/server.py1168 # Check if this is write_todos - auto-approve updates to existing planCOMMENT
LOWlibs/acp/deepagents_acp/server.py1197 # Check if ALL command types are already allowedCOMMENT
Dead Code13 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1755CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2170CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2346CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2397CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2433CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2474CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py3187CODE
MEDIUMlibs/code/tests/unit_tests/test_model_retry.py1039CODE
MEDIUMlibs/code/tests/unit_tests/test_acp.py24CODE
MEDIUMlibs/code/tests/unit_tests/test_extras_info.py875CODE
MEDIUMlibs/code/tests/unit_tests/tui/test_textual_adapter.py8041CODE
MEDIUMlibs/code/tests/unit_tests/tui/test_textual_adapter.py9917CODE
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py4727CODE
AI Structural Patterns35 hits · 24 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/runtime.py228CODE
LOWlibs/talon/tests/channels/test_telegram.py119CODE
LOWlibs/talon/tests/channels/test_telegram.py169CODE
LOWlibs/code/tests/unit_tests/test_agent.py167CODE
LOWlibs/code/tests/unit_tests/test_install_script.py107CODE
LOWlibs/code/tests/unit_tests/test_install_script.py269CODE
LOWlibs/code/tests/unit_tests/test_install_script.py304CODE
LOWlibs/code/tests/unit_tests/test_install_script.py4494CODE
LOWlibs/code/tests/unit_tests/test_main_args.py2588CODE
LOWlibs/code/tests/unit_tests/test_main_args.py3038CODE
LOWlibs/code/tests/unit_tests/test_main.py2097CODE
LOWlibs/code/tests/unit_tests/tui/widgets/test_welcome.py87CODE
LOWlibs/code/deepagents_code/reliable_rubric.py147CODE
LOWlibs/code/deepagents_code/sessions.py1584CODE
LOWlibs/code/deepagents_code/agent.py2368CODE
LOWlibs/code/deepagents_code/_server_config.py618CODE
LOWlibs/code/deepagents_code/main.py3118CODE
LOWlibs/code/deepagents_code/main.py3422CODE
LOWlibs/code/deepagents_code/tui/textual_adapter.py1545CODE
LOWlibs/code/deepagents_code/tui/textual_adapter.py789CODE
LOWlibs/code/deepagents_code/tui/widgets/messages.py5437CODE
LOWlibs/code/deepagents_code/tui/widgets/welcome.py198CODE
LOWlibs/code/deepagents_code/tui/widgets/model_selector.py498CODE
LOWlibs/code/deepagents_code/skills/load.py48CODE
LOWlibs/code/deepagents_code/client/non_interactive.py2070CODE
LOWlibs/code/deepagents_code/client/non_interactive.py2561CODE
LOW…s/code/deepagents_code/client/launch/server_manager.py295CODE
LOW…s/code/deepagents_code/client/launch/server_manager.py481CODE
LOWlibs/partners/quickjs/langchain_quickjs/middleware.py241CODE
LOW…bs/deepagents/tests/unit_tests/test_async_subagents.py44CODE
LOWlibs/deepagents/deepagents/graph.py268CODE
LOWlibs/deepagents/deepagents/middleware/filesystem.py1644CODE
LOWlibs/deepagents/deepagents/_api/deprecation.py39CODE
LOWexamples/nvidia_deep_agent/src/tools.py84CODE
LOWexamples/deep_research/research_agent/tools.py88CODE
Fake / Example Data11 hits · 13 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/test_tool_usage_relational.py598 # 2nd step: call get_user_email(user_id=42) -> "eve@example.org".COMMENT
LOWlibs/evals/tests/evals/test_tool_usage_relational.py603 final_text_contains("eve@example.org"),CODE
LOWlibs/evals/tests/evals/test_tool_usage_relational.py112 "email": "eve@example.org",CODE
LOWlibs/evals/tests/evals/test_tool_usage_relational.py1156 final_text_contains("eve@example.org"),CODE
LOWlibs/code/tests/unit_tests/hooks/test_execution.py126 "OPENAI_API_KEY": "placeholder",CODE
LOWlibs/code/tests/unit_tests/hooks/test_execution.py128 "MY_TOKEN": "placeholder",CODE
LOWlibs/code/tests/unit_tests/hooks/test_execution.py129 "mixed_case_secret": "placeholder",CODE
LOWlibs/code/tests/unit_tests/hooks/test_transcript.py65 assert "placeholder" not in first["content"]CODE
LOWlibs/code/tests/unit_tests/hooks/test_transcript.py88 redacted = redact_transcript_value({"token": "placeholder"})CODE
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py611 kwargs.pop("placeholder", None)CODE
LOW…agents/tests/unit_tests/backends/test_store_backend.py490 ("user@example.com",),CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALlibs/code/tests/unit_tests/test_offload_api.py633 operation.execute.return_value.archive.write.assert_not_awaited()CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…code/tests/unit_tests/test_openai_codex_integration.py514 def handle_request(self) -> None:CODE
LOW…/deepagents/tests/unit_tests/test_file_system_tools.py308 "content": "def helper():\n return 42",CODE
LOW…/tests/unit_tests/middleware/test_skills_middleware.py830 helper_content = "def helper(): pass"CODE
LOW…s/deepagents/tests/unit_tests/_api/test_deprecation.py45 def helper() -> None:CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/release/check_release_deps.py277 PyPIRequestError: If PyPI cannot provide a usable response.STRING
Example Usage Blocks1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlibs/code/scripts/install.sh4# Usage:COMMENT