Repository Analysis

langchain-ai/deepagents

The batteries-included agent harness.

34.3 Strong AI signal View on GitHub
34.3
Adjusted Score
34.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
23,565
Stars
Python
Language
315,841
Lines of Code
812
Files
9193
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 3HIGH 301MEDIUM 776LOW 8113

Pattern Findings

9193 matches across 18 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers6951 hits · 5645 pts
SeverityFileLineSnippet
LOWlibs/evals/deepagents_evals/radar.py338def generate_individual_radars(
LOWlibs/evals/deepagents_evals/radar.py458def load_results_from_summary(path: str | Path) -> list[ModelResult]:
LOWlibs/evals/deepagents_evals/trial_summary.py27def render_per_trial_category_matrix(
LOWlibs/evals/tests/evals/conftest.py18def _parse_openrouter_providers(value: str) -> list[str]:
LOWlibs/evals/tests/evals/conftest.py193def pytest_collection_modifyitems(config: pytest.Config, items: list[pytest.Item]) -> None:
LOWlibs/evals/tests/evals/conftest.py237def langsmith_experiment_metadata(request: pytest.FixtureRequest) -> dict[str, Any]:
LOWlibs/evals/tests/evals/pytest_reporter.py207def pytest_collection_modifyitems(
LOWlibs/evals/tests/evals/pytest_reporter.py264def _get_public_experiment_url(suite: object, experiment_id: object) -> str | None:
LOWlibs/evals/tests/evals/pytest_reporter.py293def _collect_experiment_links() -> list[dict[str, str]]:
LOWlibs/evals/tests/evals/external_benchmarks.py131def _create_file_backed_agent(model: BaseChatModel) -> CompiledStateGraph:
LOWlibs/evals/tests/evals/external_benchmarks.py223def _wrap_bfcl_methods_as_tools(instances: dict[str, Any]) -> list[StructuredTool]:
LOWlibs/evals/tests/evals/external_benchmarks.py249def _replay_bfcl_ground_truth(case: dict[str, Any]) -> dict[str, Any]:
LOWlibs/evals/tests/evals/test_file_operations.py34def test_read_file_seeded_state_backend_file(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py76def test_write_files_in_parallel(model: str) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py108def test_write_files_in_parallel_confirm_with_verification(model: str) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py143def test_write_files_in_parallel_ambiguous_confirmation(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py178def test_ls_directory_contains_file_yes_no(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py202def test_ls_directory_missing_file_yes_no(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py225def test_edit_file_replace_text(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py248def test_read_then_write_derived_output(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py273def test_avoid_unnecessary_tool_calls(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py291def test_read_files_in_parallel(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py321def test_grep_finds_matching_paths(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py349def test_glob_lists_markdown_files(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py377def test_find_magic_phrase_deep_nesting(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_file_operations.py413def test_identify_quote_author_from_directory_parallel_reads(
LOWlibs/evals/tests/evals/test_file_operations.py488def test_identify_quote_author_from_directory_unprompted_efficiency(
LOWlibs/evals/tests/evals/test_file_operations.py561def test_read_file_truncation_recovery_with_pagination(
LOWlibs/evals/tests/evals/test_file_operations.py599def test_read_file_empty_file_reports_empty(model: BaseChatModel) -> None:
LOWlibs/evals/tests/evals/test_followup_quality.py96def test_followup_question_quality(model: BaseChatModel, case: dict[str, Any]) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py361def get_current_time_for_location(location_id: int) -> str:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py391def get_food_allergic_ingredients(food_id: int) -> list[str]:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py453def test_single_tool_list_user_ids(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py482def test_single_tool_get_user_email(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py506def test_single_tool_get_food_calories(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py530def test_two_tools_user_name_from_current_id(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py558def test_two_tools_city_for_user(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py590def test_two_tools_find_user_then_email(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py618def test_three_tools_current_user_city(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py652def test_three_tools_find_user_then_city(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py686def test_three_tools_current_user_weather(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py720def test_four_tools_current_user_favorite_food_names(
LOWlibs/evals/tests/evals/test_tool_usage_relational.py761async def test_four_tools_find_user_food_name_and_calories(
LOWlibs/evals/tests/evals/test_tool_usage_relational.py802def test_four_tools_current_user_location_time_and_weather(
LOWlibs/evals/tests/evals/test_tool_usage_relational.py847def test_five_steps_current_user_food_names_and_calories(
LOWlibs/evals/tests/evals/test_tool_usage_relational.py895def test_four_steps_find_user_city_and_weather(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py945def test_four_steps_find_user_food_allergies(model: BaseChatModel, repl_name: str | None) -> None:
LOWlibs/evals/tests/evals/test_tool_usage_relational.py998def test_four_steps_current_user_food_names_calories_and_allergies(
LOWlibs/evals/tests/evals/test_tool_usage_relational.py1063def test_four_steps_find_user_city_weather_time_and_food_details(
LOWlibs/evals/tests/evals/test_tool_usage_relational.py1134def test_four_steps_find_user_email_city_foods_calories_and_allergies(
LOWlibs/evals/tests/evals/test_memory_multiturn.py205def test_implicit_preference_remembered(model: BaseChatModel, case: dict[str, Any]) -> None:
LOWlibs/evals/tests/evals/test_memory_multiturn.py232def test_explicit_preference_remembered(model: BaseChatModel, case: dict[str, Any]) -> None:
LOWlibs/evals/tests/evals/test_memory_multiturn.py259def test_transient_info_not_persisted(model: BaseChatModel, case: dict[str, Any]) -> None:
LOWlibs/evals/tests/evals/test_system_prompt.py29def test_custom_system_prompt(model: BaseChatModel) -> None:
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py510def list_service_dependencies(service_id: int) -> list[int]:
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py530def get_latest_deploy_for_service(service_id: int) -> int:
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py749async def _incident_graph_tool_error_middleware(
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py786async def test_single_tool_list_incident_ids(agent, model: BaseChatModel) -> None:
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py807async def test_two_tools_current_incident_service_name(agent, model: BaseChatModel) -> None:
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py829async def test_three_tools_find_service_owner_team(agent, model: BaseChatModel) -> None:
6891 more matches not shown…
Decorative Section Separators596 hits · 1994 pts
SeverityFileLineSnippet
MEDIUMlibs/evals/tests/evals/external_benchmarks.py191# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/external_benchmarks.py193# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_followup_quality.py27# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_followup_quality.py30# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py33# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py35# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py206# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py208# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py249# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py251# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py406# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py408# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py432# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py434# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py44# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py47# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py100# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py102# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py148# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py150# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py194# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py196# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py29# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py31# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py59# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py61# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py35# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py37# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py110# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py112# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py193# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py195# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py277# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_tool_selection.py279# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py22# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py24# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py74# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py76# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py144# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py146# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py214# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py216# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py514# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py516# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py709# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py711# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py878# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py880# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py942# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py944# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py1075# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/utils.py1077# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/llm_judge.py118 # ------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/llm_judge.py120 # ------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/llm_judge.py197# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/llm_judge.py199# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory.py350# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory.py352# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory.py469# ---------------------------------------------------------------------------
MEDIUMlibs/evals/tests/evals/test_memory.py471# ---------------------------------------------------------------------------
536 more matches not shown…
Cross-File Repetition113 hits · 565 pts
SeverityFileLineSnippet
HIGHlibs/evals/tests/evals/test_tool_usage_relational.py0apply tool_use category to all tests in this module. tier is set per-test.
HIGHlibs/evals/tests/evals/test_tool_selection.py0apply tool_use category to all tests in this module. tier is set per-test.
HIGHlibs/evals/tests/evals/test_todos.py0apply tool_use category to all tests in this module. tier is set per-test.
HIGHlibs/evals/tests/evals/test_memory_multiturn.py0apply memory category and baseline tier to all tests in this module.
HIGHlibs/evals/tests/evals/test_memory.py0apply memory category and baseline tier to all tests in this module.
HIGH…ts/evals/memory_agent_bench/test_memory_agent_bench.py0apply memory category and baseline tier to all tests in this module.
HIGHlibs/evals/tests/evals/test_system_prompt.py0apply unit_test category and baseline tier to all tests in this module.
HIGHlibs/evals/tests/evals/test_subagents.py0apply unit_test category and baseline tier to all tests in this module.
HIGHlibs/evals/tests/evals/test_skills.py0apply unit_test category and baseline tier to all tests in this module.
HIGHlibs/code/tests/unit_tests/test_thread_selector.py0pressing esc should dismiss the modal with none result.
HIGHlibs/code/tests/unit_tests/test_model_selector.py0pressing esc should dismiss the modal with none result.
HIGHlibs/code/tests/unit_tests/test_agent_selector.py0pressing esc should dismiss the modal with none result.
HIGHlibs/code/tests/unit_tests/test_thread_selector.py0clicking on non-link text should not open the browser.
HIGHlibs/code/tests/unit_tests/test_welcome.py0clicking on non-link text should not open the browser.
HIGHlibs/code/tests/unit_tests/test_messages.py0clicking on non-link text should not open the browser.
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id text not null,
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id text not null,
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id text not null,
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists writes ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id text
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists writes ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id text
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists writes ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id text
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id
HIGHlibs/code/tests/unit_tests/test_sessions.py0create table if not exists checkpoints ( thread_id text not null, checkpoint_ns text not null default '', checkpoint_id
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.anthropic.profile] max_input_tokens = 4096
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.anthropic.profile] max_input_tokens = 4096
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.anthropic.profile] max_input_tokens = 4096
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.anthropic.profile] max_input_tokens = 4096
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.anthropic.profile] max_input_tokens = 4096
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_model_switch.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_model_switch.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.ollama] models = ["qwen3:4b"] [models.providers.ollama.params] temperature = 0 [models.providers.ollam
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.ollama] models = ["qwen3:4b"] [models.providers.ollama.params] temperature = 0 [models.providers.ollam
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.ollama] models = ["qwen3:4b"] [models.providers.ollama.params] temperature = 0 [models.providers.ollam
HIGHlibs/code/tests/unit_tests/test_update_check.py0override update_state_file to use a temporary directory.
HIGHlibs/code/tests/unit_tests/test_update_check.py0override update_state_file to use a temporary directory.
HIGHlibs/code/tests/unit_tests/test_update_check.py0override update_state_file to use a temporary directory.
HIGHlibs/code/tests/unit_tests/test_update_check.py0override update_state_file to use a temporary directory.
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"]
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"]
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"]
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"]
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"]
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"]
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"] api_key_env = "anthropic_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"] api_key_env = "anthropic_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"] api_key_env = "anthropic_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.anthropic] models = ["claude-sonnet-4-5"] api_key_env = "anthropic_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.baseten] class_path = "langchain_baseten.chat_models:chatbaseten" api_key_env = "baseten_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.baseten] class_path = "langchain_baseten.chat_models:chatbaseten" api_key_env = "baseten_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.baseten] class_path = "langchain_baseten.chat_models:chatbaseten" api_key_env = "baseten_api_key"
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.baseten] class_path = "langchain_baseten.chat_models:chatbaseten" api_key_env = "baseten_api_key"
53 more matches not shown…
Docstring Block Structure104 hits · 520 pts
SeverityFileLineSnippet
HIGHAGENTS.md205Send an email to a recipient with specified priority. Any additional context about the function can go here. A
HIGHlibs/evals/deepagents_evals/radar.py459Load model results from an `evals_summary.json` file. The summary file is a JSON array of objects. Each object must
HIGHlibs/evals/tests/evals/utils.py83Return ``True`` when the assertion holds. Args: trajectory: The agent trajectory to check.
HIGHlibs/evals/tests/evals/utils.py97Return a human-readable explanation of why the check failed. Args: trajectory: The agent trajectory
HIGHlibs/evals/tests/evals/utils.py116Return ``True`` when the assertion holds. Args: trajectory: The agent trajectory to check.
HIGHlibs/evals/tests/evals/utils.py130Return a human-readable explanation of why the check failed. Args: trajectory: The agent trajectory
HIGHlibs/evals/tests/evals/utils.py177Coerce the ``files`` value from an agent result into ``dict[str, str]``. Args: raw_files: The raw files obj
HIGHlibs/evals/tests/evals/utils.py948Build an ``AgentTrajectory`` from a raw agent invoke result. Args: result: The mapping returned by ``agent.
HIGHlibs/evals/tests/evals/utils.py1142Run agent eval against the given query. Args: agent: The compiled state graph to invoke. query: A s
HIGHlibs/evals/tests/evals/utils.py1193Run agent eval asynchronously against the given query. Args: agent: The compiled state graph to invoke.
HIGHlibs/evals/tests/evals/llm_judge.py207Create an `LLMJudge` success assertion. Wraps `openevals.llm.create_llm_as_judge` to evaluate each criterion in
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:
HIGHlibs/evals/tests/evals/memory_agent_bench/data_utils.py55Load MemoryAgentBench data from HuggingFace. Args: split: Dataset split name (e.g. `Conflict_Resolution`).
HIGHlibs/evals/deepagents_harbor/langsmith.py383Get a LangSmith dataset by name. Args: dataset_name: Name of the dataset to retrieve. session: aioh
HIGHlibs/evals/deepagents_harbor/langsmith.py418Create a LangSmith experiment session for the given dataset. Args: dataset_name: Name of the LangSmith data
HIGHlibs/evals/deepagents_harbor/langsmith.py510Extract reward from trial's `result.json`. Falls back to `0.0` when the verifier did not produce a usable reward
HIGHlibs/evals/scripts/generate_radar.py35Load per-category results from a JSON file. Expected format: [ { "model": "ant
HIGHlibs/evals/scripts/composite_radar.py47Download `evals-summary` from a single GHA run via `gh run download`. Args: run_id: GitHub Actions run ID.
HIGHlibs/evals/scripts/composite_radar.py76Flatten a list of per-run summary arrays into a single array. Args: summaries: Paths to per-run `evals_summ
HIGHlibs/evals/scripts/run_trials.py174Aggregate per-trial eval reports into a single summary dict. Args: reports: Per-trial report dicts as writt
HIGHlibs/code/deepagents_code/sessions.py320List threads from checkpoints table. Args: agent_name: Optional filter by agent name. limit: Maximu
HIGHlibs/code/deepagents_code/textual_adapter.py384Execute a task with output directed to Textual UI. This is the Textual-compatible version of execute_task() that us
HIGHlibs/code/deepagents_code/config.py740Parse shell allow-list from string. Args: allow_list_str: Comma-separated list of commands, `'recommended'`
HIGHlibs/code/deepagents_code/config.py856Coerce a raw `interpreter_ptc` value into the canonical shape. Args: raw: Value loaded from TOML or supplie
HIGHlibs/code/deepagents_code/config.py1475Get the global agent directory path. Args: agent_name: Name of the agent Returns:
HIGHlibs/code/deepagents_code/config.py1495Ensure the global agent directory exists and return its path. Args: agent_name: Name of the agent
HIGHlibs/code/deepagents_code/config.py1939Fetch the LangSmith project URL, raising on any failure. Successful results are cached at module level so repeated
HIGHlibs/code/deepagents_code/config.py2340Import and instantiate a custom `BaseChatModel` class. Args: class_path: Fully-qualified class in `module.p
HIGHlibs/code/deepagents_code/config.py2402Create a model using langchain's `init_chat_model`. Args: model_name: Model identifier. provider: P
HIGHlibs/code/deepagents_code/config.py2593Create a chat model. Uses `init_chat_model` for standard providers, or imports a custom `BaseChatModel` subclas
HIGHlibs/code/deepagents_code/model_config.py341Parse a model specification string. Args: spec: Model specification in `'provider:model'` format.
HIGHlibs/code/deepagents_code/model_config.py631Load `_PROFILES` from a provider's data module. Results are cached by `module_path` so repeated calls (e.g., from b
HIGHlibs/code/deepagents_code/model_config.py2573Save the sort order preference for the thread selector. Args: sort_order: `"updated_at"` or `"created_at"`.
HIGHlibs/code/deepagents_code/update_check.py924Return the shell command that adds a package to the dcode tool env. Args: package: Package name to install
HIGHlibs/code/deepagents_code/update_check.py946Return the shell command that adds `extra` to the installed dcode tool. The documented install path is `uv tool ins
HIGHlibs/code/deepagents_code/mcp_disabled.py42Read the TOML config file. Args: config_path: Path to the TOML config file. Returns: Parsed TO
HIGHlibs/code/deepagents_code/ui.py24Argparse type for integer arguments that must be >= 1. Args: value: Raw argument string to parse. Retu
HIGHlibs/code/deepagents_code/mcp_auth.py129Resolve `${VAR}` env-var references in header values. Args: headers: Raw header mapping from MCP config.
HIGHlibs/code/deepagents_code/mcp_auth.py153Expand `${VAR}` references in `s` against the current environment. Args: s: Raw header value. heade
HIGHlibs/code/deepagents_code/mcp_auth.py807Parse a provider callback URL into `(code, state)`. Args: url: Raw callback URL pasted by the user. Re
HIGHlibs/code/deepagents_code/mcp_auth.py1082Run OAuth 2.0 Device Authorization Grant and return the token. Args: device_code_url: Provider endpoint tha
HIGHlibs/code/deepagents_code/tools.py73Reject URLs that target private/internal/metadata addresses. Resolves the URL's hostname and rejects any URL whose
HIGHlibs/code/deepagents_code/tools.py346Fetch `url`, re-validating each redirect hop against the SSRF guard. Each hop is validated by `_validate_url` and i
HIGHlibs/code/deepagents_code/server_graph.py70Assemble the tool list based on server config. Loads built-in tools (conditionally including web search when Tavily
HIGHlibs/code/deepagents_code/tool_display.py132Format tool calls for display with tool-specific smart formatting. Shows the most relevant information for each too
HIGHlibs/code/deepagents_code/event_bus.py360Decode one newline-delimited JSON external event. Args: data: Raw JSON line. source: Transport-spec
HIGHlibs/code/deepagents_code/server_manager.py294Start a LangGraph server and return a connected remote agent client. Args: assistant_id: Agent identifier.
HIGHlibs/code/deepagents_code/agent.py219Resolve the configured PTC allowlist to a concrete list of tool names. Args: ptc: Raw `interpreter_ptc` val
HIGHlibs/code/deepagents_code/agent.py1049Create a CLI-configured agent with flexible options. This is the main entry point for creating a Deep Agents Code a
HIGHlibs/code/deepagents_code/app.py697Extract `--model-params` and its JSON value from a `/model` arg string. Handles quoted (`'...'` / `"..."`) and bare
HIGHlibs/code/deepagents_code/app.py4269Strip `prefix` from `value`, logging if a wrong prefix was supplied. Three submission paths feed `_process_mess
HIGHlibs/code/deepagents_code/remote_client.py31Extract and validate that `thread_id` is present in config. Args: config: Config dict with `configurable.th
HIGHlibs/code/deepagents_code/remote_client.py142Stream agent execution, yielding tuples matching Pregel's format. Delegates to `RemoteGraph.astream` (which han
HIGHlibs/code/deepagents_code/remote_client.py220Get the current state of a thread. Returns `None` when the thread does not exist on the server (404) or
HIGHlibs/code/deepagents_code/_server_config.py50Read a JSON-encoded `DEEPAGENTS_CODE_SERVER_*` variable. Args: suffix: Variable name suffix after the `DEEP
HIGHlibs/code/deepagents_code/_server_config.py427Resolve a possibly-relative path to absolute. The server subprocess runs in a different working directory, so relat
HIGHlibs/code/deepagents_code/mcp_tools.py387Create and initialize a new cached session entry. Args: server_name: MCP server name. Retu
HIGHlibs/code/deepagents_code/mcp_tools.py607Load and validate MCP configuration from a JSON file. Supports multiple server types: - stdio: Process-based s
HIGHlibs/code/deepagents_code/mcp_tools.py936Enumerate MCP tools from `session`, paginating until exhausted. Args: session: Initialized MCP client sessi
HIGHlibs/code/deepagents_code/mcp_tools.py1246Build MCP connections from a validated config and load tools. Discovery always opens throwaway sessions to capture
44 more matches not shown…
Cross-Language Confusion84 hits · 495 pts
SeverityFileLineSnippet
HIGHlibs/evals/deepagents_harbor/backend.py170 NR > offset && NR <= offset + limit {{ print }}
HIGHlibs/evals/deepagents_harbor/backend.py448cd {safe_path} 2>/dev/null || exit 1
HIGHlibs/evals/deepagents_harbor/metadata.py108 "nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 0", timeout=10
HIGHlibs/evals/deepagents_harbor/metadata.py150 os_result = await backend.aexecute("uname -s -r 2>/dev/null || echo unknown", timeout=10)
HIGHlibs/evals/deepagents_harbor/langsmith_environment.py384 "[ -d /app ] && echo /app || echo /",
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py159 ("ls && cat file", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py160 ("ls && rm file", False),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py161 ("ls -la && grep pattern file && cat output.txt", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py162 ("ls && cat file && grep test", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py163 ("cat a.txt && cat b.txt && cat c.txt", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py164 ("ls && rm -rf /", False),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py177 ("ls || cat file", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py178 ("ls || rm file", False),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py549 ("ls && cat file", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py550 ("ls && grep test file", True),
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py639 assert not contains_dangerous_patterns("ls && cat file")
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py170 """Test commands with && operator (commonly used by Claude for chaining)."""
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py184 """Test commands with || operator."""
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py638 """Double && should not be flagged as dangerous (it's a safe operator)."""
HIGH…ode/tests/integration_tests/test_sandbox_operations.py41 "rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops"
HIGHlibs/code/deepagents_code/local_context.py233$IN_GIT && ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"
HIGHlibs/code/deepagents_code/local_context.py233$IN_GIT && ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"
HIGHlibs/code/deepagents_code/local_context.py247 $MONOREPO && echo "- Monorepo: yes"
HIGHlibs/code/deepagents_code/local_context.py265 if grep -q '\[tool\.uv\]' pyproject.toml 2>/dev/null; then PKG="Python: uv"
HIGHlibs/code/deepagents_code/local_context.py266 elif grep -q '\[tool\.poetry\]' pyproject.toml 2>/dev/null; then PKG="Python: poetry"
HIGHlibs/code/deepagents_code/local_context.py311 BRANCH="$(git rev-parse --abbrev-ref HEAD 2>/dev/null)"
HIGHlibs/code/deepagents_code/local_context.py313 COMMIT="$(git rev-parse --short HEAD 2>/dev/null)"
HIGHlibs/code/deepagents_code/local_context.py348if [ -f Makefile ] && grep -qE '^tests?:' Makefile 2>/dev/null; then TC="make test"
HIGHlibs/code/deepagents_code/local_context.py355 && grep -q '"test"' package.json 2>/dev/null; then
HIGHlibs/code/deepagents_code/local_context.py373 { ls -1 2>/dev/null; [ -e .deepagents ] && echo .deepagents; } |
HIGHlibs/code/deepagents_code/local_context.py422 $TREE_TRUNCATED && echo "... (more lines truncated)"
HIGH…s/partners/quickjs/tests/unit_tests/test_end_to_end.py241 code = "const r = await tools.getUserEmailOrNone({user_id: -1});\n`${r === null}`;"
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py24 " values.push(await tools.echoPayload({value: `value-${i}`}));"
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py33 " values.push(value);"
HIGHlibs/partners/quickjs/langchain_quickjs/middleware.py232 # eval runs on another (and sees `tools` undefined).
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py130 mux.push(
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py138 mux.push(_child_tasks_start([*parent_ns, f"tools:{parent_task_id}"]))
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py241 mux.push(_parent_tasks_result([], parent_task_id="x"))
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py255 mux.push(_parent_tasks_result([], parent_task_id="x", error="boom"))
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py274 mux.push(_values({"k": 1}, namespace=["tools:x"]))
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py275 mux.push(_values({"k": 2}, namespace=["tools:x"]))
HIGH…epagents/tests/unit_tests/test_subagent_transformer.py292 mux.push(_values({"k": "root"}, namespace=[]))
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py254 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")
HIGHlibs/deepagents/deepagents/_subagent_transformer.py203 self._log.push(handle)
HIGHlibs/deepagents/deepagents/_subagent_transformer.py245 handle._mux.push(event)
HIGHlibs/deepagents/deepagents/middleware/subagents.py359 if (n <= 1) return false
HIGHlibs/deepagents/deepagents/middleware/subagents.py361 if (n % i === 0) return false
HIGHlibs/deepagents/deepagents/middleware/subagents.py363 return true
HIGHlibs/deepagents/deepagents/middleware/filesystem.py427 - Use '&&' when commands depend on each other (e.g., "mkdir dir && cd dir")
HIGHlibs/deepagents/deepagents/middleware/filesystem.py435 - execute(command="npm install && npm test")
HIGHlibs/deepagents/deepagents/middleware/filesystem.py439 - execute(command="cd /foo/bar && pytest tests") # Use absolute path instead
HIGHlibs/deepagents/deepagents/backends/sandbox.py793 cmd = f"grep {grep_opts} {glob_pattern} -e {pattern_escaped} {search_path} 2>/dev/null || true"
HIGHlibs/acp/tests/test_dangerous_patterns.py65 assert not contains_dangerous_patterns("cd dir && ls")
HIGHlibs/acp/tests/test_dangerous_patterns.py66 assert not contains_dangerous_patterns("make && make test")
HIGHlibs/acp/tests/test_dangerous_patterns.py76 assert extract_command_types("test -f foo || echo missing") == ["test", "echo"]
HIGHlibs/acp/tests/test_dangerous_patterns.py79 result = extract_command_types("cd dir && ls ; echo done || cat file")
HIGHlibs/acp/tests/test_dangerous_patterns.py79 result = extract_command_types("cd dir && ls ; echo done || cat file")
HIGHlibs/acp/tests/test_dangerous_patterns.py84 assert extract_command_types("cd /path && npm install") == ["cd", "npm install"]
HIGHlibs/acp/tests/test_dangerous_patterns.py88 cmd = "cd /Users/test/project && python -m pytest tests/test_agent.py -v"
HIGHlibs/acp/tests/test_dangerous_patterns.py83 """Ensure existing && and | splitting still works."""
24 more matches not shown…
Unused Imports534 hits · 488 pts
SeverityFileLineSnippet
LOWlibs/evals/deepagents_evals/radar.py8
LOWlibs/evals/deepagents_evals/radar.py25
LOWlibs/evals/deepagents_evals/cli.py30
LOWlibs/evals/deepagents_evals/trial_summary.py3
LOWlibs/evals/tests/evals/conftest.py1
LOWlibs/evals/tests/evals/pytest_reporter.py1
LOWlibs/evals/tests/evals/external_benchmarks.py1
LOWlibs/evals/tests/evals/test_file_operations.py10
LOWlibs/evals/tests/evals/test_followup_quality.py11
LOWlibs/evals/tests/evals/test_tool_usage_relational.py8
LOWlibs/evals/tests/evals/test_memory_multiturn.py13
LOWlibs/evals/tests/evals/test_external_benchmarks.py11
LOWlibs/evals/tests/evals/test_system_prompt.py8
LOW…bs/evals/tests/evals/test_tool_usage_incident_graph.py8
LOWlibs/evals/tests/evals/test_subagents.py9
LOWlibs/evals/tests/evals/test_tool_selection.py11
LOWlibs/evals/tests/evals/utils.py1
LOWlibs/evals/tests/evals/llm_judge.py12
LOW…/tests/evals/test_iterative_constraint_satisfaction.py19
LOWlibs/evals/tests/evals/test_todos.py9
LOWlibs/evals/tests/evals/test_skills.py10
LOWlibs/evals/tests/evals/test_memory.py11
LOW…bs/evals/tests/evals/test_langchain_middleware_todo.py23
LOWlibs/evals/tests/evals/tau2_airline/runner.py13
LOWlibs/evals/tests/evals/tau2_airline/domain.py12
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py18
LOWlibs/evals/tests/evals/tau2_airline/user_sim.py13
LOW…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py17
LOWlibs/evals/tests/evals/memory_agent_bench/configs.py9
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py9
LOWlibs/evals/tests/evals/memory_agent_bench/eval_utils.py10
LOW…ts/evals/memory_agent_bench/test_memory_agent_bench.py15
LOWlibs/evals/tests/evals/data/bfcl_apis/trading_bot.py3
LOWlibs/evals/tests/unit_tests/test_category_tagging.py1
LOW…ls/tests/unit_tests/test_external_benchmark_helpers.py1
LOWlibs/evals/tests/unit_tests/test_run_trials.py3
LOWlibs/evals/tests/unit_tests/test_infra.py3
LOW…evals/tests/unit_tests/test_conftest_model_required.py8
LOW…s/evals/tests/unit_tests/test_generate_radar_script.py1
LOWlibs/evals/tests/unit_tests/test_deepagents_wrapper.py3
LOWlibs/evals/tests/unit_tests/test_harbor_backend.py3
LOW…s/evals/tests/unit_tests/test_analyze_eval_failures.py7
LOWlibs/evals/tests/unit_tests/test_model_groups.py3
LOW…s/evals/tests/unit_tests/test_langsmith_environment.py3
LOWlibs/evals/tests/unit_tests/test_trajectory.py7
LOWlibs/evals/tests/unit_tests/test_pytest_reporter.py3
LOWlibs/evals/tests/unit_tests/test_radar.py1
LOWlibs/evals/tests/unit_tests/test_cli.py3
LOWlibs/evals/tests/unit_tests/test_langsmith.py3
LOWlibs/evals/tests/unit_tests/test_trial_summary.py3
LOWlibs/evals/tests/unit_tests/test_eval_catalog.py3
LOWlibs/evals/deepagents_harbor/metadata.py7
LOWlibs/evals/deepagents_harbor/__init__.py3
LOWlibs/evals/deepagents_harbor/__init__.py4
LOWlibs/evals/deepagents_harbor/__init__.py5
LOWlibs/evals/deepagents_harbor/__init__.py6
LOWlibs/evals/deepagents_harbor/__init__.py6
LOWlibs/evals/deepagents_harbor/__init__.py6
LOWlibs/evals/deepagents_harbor/__init__.py6
LOWlibs/evals/deepagents_harbor/__init__.py6
474 more matches not shown…
Self-Referential Comments120 hits · 398 pts
SeverityFileLineSnippet
MEDIUMlibs/evals/tests/evals/data/bfcl_apis/trading_bot.py200 # Define the start and end dates for the range
MEDIUMlibs/evals/scripts/analyze.py628 # Create the deep agent for trajectory analysis
MEDIUMlibs/evals/scripts/analyze.py654 # Create the user message with the trajectory and explicit status
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py459 # Create a file that reports > 20 MB via stat
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py155 # Create a small PNG in memory
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py248 # Create a small valid PNG
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py419 # Create a minimal valid MP4 file (ftyp box)
MEDIUMlibs/code/tests/unit_tests/test_agent.py837 # Create the default agent directory with AGENTS.md
MEDIUMlibs/code/tests/unit_tests/test_agent.py842 # Create a non-default agent
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py122 # Create a fake model that returns predefined messages
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py144 # Create a CLI agent with the fake model
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py183 # Create a CLI agent with the fake model
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py244 # Create a fake model that calls sample_tool
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py266 # Create a CLI agent with the fake model and sample_tool
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py297 # Create a test file to list
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py301 # Create a fake model that uses filesystem tools
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py323 # Create a CLI agent with the fake model
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py351 # Create a fake model that makes multiple tool calls
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py384 # Create a CLI agent with the fake model and sample_tool
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py417 # Create a simple fake model
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py426 # Create a CLI agent
MEDIUMlibs/code/tests/unit_tests/test_message_store.py590 # Create a tool message with various states
MEDIUMlibs/code/tests/unit_tests/test_config.py47 # Create a mock project structure
MEDIUMlibs/code/tests/unit_tests/test_config.py53 # Create a subdirectory to search from
MEDIUMlibs/code/tests/unit_tests/test_config.py599 # Create a mock project with .git
MEDIUMlibs/code/tests/unit_tests/test_config.py610 # Create a directory without .git
MEDIUMlibs/code/tests/unit_tests/skills/test_load.py686 # Create a healthy user skills directory
MEDIUM…ode/tests/integration_tests/test_sandbox_operations.py287 # Create a line with 3000 characters
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py215 # Create a directory
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py285 # Create a directory
MEDIUMlibs/code/deepagents_code/media_utils.py340 # Create a temp file for the image
MEDIUMlibs/code/deepagents_code/agent.py1446 # Create the agent
MEDIUMlibs/code/deepagents_code/app.py6273 # Create the stats object up-front and store on the app so
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1857 # Create a list that exceeds the token limit (20000 tokens * 4 chars = 80000 chars)
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1891 # Create a large tool result
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1899 # Create a request for a tool in TOOLS_EXCLUDED_FROM_EVICTION
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1921 # Create a large tool result
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1929 # Create a request for a tool NOT in TOOLS_EXCLUDED_FROM_EVICTION
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1955 # Create a ToolMessage with the large execute output
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py1962 # Create a request for the execute tool
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py439 # Create a large number of files that will exceed TOOL_RESULT_TOKEN_LIMIT
MEDIUM…/deepagents/tests/unit_tests/test_file_system_tools.py55 # Create a deep agent with the fake model and a memory saver
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py880 # Create a file with content that exceeds the truncation threshold
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py889 # Create a fake model that calls read_file
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py938 # Create a small file that doesn't exceed the truncation threshold
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py946 # Create a fake model that calls read_file
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py992 # Create a large file with many lines (each line is 500 chars + newline)
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1002 # Create a fake model that calls read_file with a non-zero offset
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1048 # Create a large file
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1056 # Create a fake model that calls read_file
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py130 # Create a fake model that returns predefined messages
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py152 # Create a deep agent with the fake model
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py262 # Create a fake model that calls sample_tool
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py284 # Create a deep agent with the fake model and sample_tool
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py306 # Create a fake model that uses filesystem tools
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py328 # Create a deep agent with the fake model
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py347 # Create a fake model that makes multiple tool calls
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py380 # Create a deep agent with the fake model and sample_tool
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py492 # Create a fake model that calls read_file
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py589 # Create a model that handles both turns
60 more matches not shown…
Excessive Try-Catch Wrapping404 hits · 386 pts
SeverityFileLineSnippet
LOWlibs/evals/deepagents_evals/cli.py210 except Exception as exc: # noqa: BLE001
LOWlibs/evals/deepagents_evals/cli.py229 except Exception as exc: # noqa: BLE001
LOWlibs/evals/deepagents_evals/cli.py298 except Exception as exc: # noqa: BLE001
LOWlibs/evals/tests/evals/pytest_reporter.py116 except Exception: # noqa: BLE001
LOWlibs/evals/tests/evals/pytest_reporter.py158 except Exception as exc: # noqa: BLE001
LOWlibs/evals/tests/evals/pytest_reporter.py171 except Exception as exc: # noqa: BLE001
LOWlibs/evals/tests/evals/pytest_reporter.py202 except Exception as exc: # noqa: BLE001
LOWlibs/evals/tests/evals/pytest_reporter.py287 except Exception as exc: # noqa: BLE001
LOWlibs/evals/tests/evals/pytest_reporter.py333 except Exception as exc: # noqa: BLE001 # private API; best-effort
LOWlibs/evals/tests/evals/external_benchmarks.py338 except Exception:
LOWlibs/evals/tests/evals/llm_judge.py166 except Exception as exc:
LOWlibs/evals/tests/evals/llm_judge.py188 except Exception as exc: # noqa: BLE001
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py182 except Exception as exc: # noqa: BLE001
LOWlibs/evals/deepagents_harbor/backend.py234 except Exception as exc:
LOWlibs/evals/deepagents_harbor/backend.py276 except Exception as exc:
LOWlibs/evals/deepagents_harbor/backend.py307 except Exception as exc:
LOWlibs/evals/deepagents_harbor/backend.py515 except Exception as exc:
LOWlibs/evals/deepagents_harbor/backend.py542 except Exception as exc:
LOWlibs/evals/deepagents_harbor/metadata.py115 except Exception: # noqa: BLE001 # best-effort metadata collection
LOWlibs/evals/deepagents_harbor/metadata.py131 except Exception: # noqa: BLE001 # best-effort metadata collection
LOWlibs/evals/deepagents_harbor/metadata.py146 except Exception: # noqa: BLE001 # best-effort metadata collection
LOWlibs/evals/deepagents_harbor/metadata.py152 except Exception: # noqa: BLE001 # best-effort metadata collection
LOWlibs/evals/deepagents_harbor/langsmith_environment.py347 except Exception as create_err:
LOWlibs/evals/deepagents_harbor/langsmith_environment.py375 except Exception: # noqa: BLE001
LOWlibs/evals/deepagents_harbor/langsmith_environment.py404 except Exception: # noqa: BLE001
LOWlibs/evals/deepagents_harbor/langsmith_environment.py550 except Exception: # noqa: BLE001
LOWlibs/evals/deepagents_harbor/deepagents_wrapper.py181 except Exception: # noqa: BLE001 # gracefully degrade when LangSmith is unavailable
LOWlibs/evals/deepagents_harbor/deepagents_wrapper.py265 except Exception: # noqa: BLE001 # metadata is supplementary; never abort a trial
LOWlibs/evals/scripts/generate_radar.py242 except Exception as exc: # noqa: BLE001 # top-level script should surface chart backend failures cleanly
LOWlibs/evals/scripts/generate_radar.py260 except Exception as exc: # noqa: BLE001 # top-level script should surface chart backend failures cleanly
MEDIUMlibs/evals/scripts/harbor_langsmith.py155 print(f"Error: --metadata must be valid JSON: {exc}", file=sys.stderr)
MEDIUMlibs/evals/scripts/harbor_langsmith.py158 print("Error: --metadata must be a JSON object.", file=sys.stderr)
MEDIUMlibs/evals/scripts/harbor_langsmith.py170 print(f"Error: {exc}", file=sys.stderr)
MEDIUMlibs/evals/scripts/harbor_langsmith.py173 print(f"Error: failed to create experiment: {exc}", file=sys.stderr)
LOWlibs/evals/scripts/harbor_langsmith.py175 except Exception as exc: # noqa: BLE001 # unexpected; distinct exit code
MEDIUMlibs/evals/scripts/harbor_langsmith.py176 print(f"Error: unexpected failure creating experiment: {exc!r}", file=sys.stderr)
MEDIUMlibs/evals/scripts/harbor_langsmith.py183 print(f"Error: Job folder does not exist: {args.job_folder}")
LOWlibs/evals/scripts/analyze.py144 except Exception:
LOWlibs/evals/scripts/analyze.py158 except Exception:
LOWlibs/evals/scripts/analyze.py179 except Exception:
LOWlibs/evals/scripts/analyze.py209 except Exception:
LOWlibs/evals/scripts/analyze.py228 except Exception:
LOWlibs/evals/scripts/analyze.py291 except Exception:
MEDIUMlibs/evals/scripts/analyze.py371 print(f"Error: Directory {jobs_dir} does not exist")
LOWlibs/evals/scripts/analyze.py510 except Exception:
LOWlibs/evals/scripts/analyze.py868 except Exception as e:
LOWlibs/code/tests/unit_tests/test_mcp_login_modal.py37 except Exception: # noqa: BLE001 # screen may still be mounting
LOWlibs/code/examples/skills/arxiv-search/arxiv_search.py40 except Exception as e:
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py214 print(f"Error: Skill directory already exists: {skill_dir}")
LOW…de/examples/skills/skill-creator/scripts/init_skill.py221 except Exception as e:
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py222 print(f"Error creating directory: {e}")
LOW…de/examples/skills/skill-creator/scripts/init_skill.py235 except Exception as e:
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py236 print(f"Error creating SKILL.md: {e}")
LOW…de/examples/skills/skill-creator/scripts/init_skill.py262 except Exception as e:
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py263 print(f"Error creating resource directories: {e}")
LOWlibs/code/deepagents_code/sessions.py488 except Exception:
LOWlibs/code/deepagents_code/sessions.py879 except Exception:
LOWlibs/code/deepagents_code/sessions.py945 except Exception:
LOWlibs/code/deepagents_code/sessions.py1045 except Exception:
LOWlibs/code/deepagents_code/hooks.py109 except Exception:
344 more matches not shown…
Deep Nesting144 hits · 118 pts
SeverityFileLineSnippet
LOWlibs/evals/tests/evals/pytest_reporter.py120
LOWlibs/evals/tests/evals/pytest_reporter.py293
LOWlibs/evals/tests/evals/pytest_reporter.py342
LOWlibs/evals/tests/evals/utils.py947
LOW…/tests/evals/test_iterative_constraint_satisfaction.py84
LOWlibs/evals/tests/evals/tau2_airline/domain.py427
LOWlibs/evals/tests/evals/tau2_airline/domain.py512
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py156
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py162
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py331
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py553
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py618
LOWlibs/evals/tests/unit_tests/test_category_tagging.py90
LOWlibs/evals/deepagents_harbor/backend.py532
LOWlibs/evals/deepagents_harbor/langsmith.py639
LOWlibs/evals/deepagents_harbor/failure.py95
LOWlibs/evals/deepagents_harbor/deepagents_wrapper.py91
LOWlibs/evals/deepagents_harbor/deepagents_wrapper.py361
LOWlibs/evals/scripts/generate_radar.py119
LOWlibs/evals/scripts/generate_eval_catalog.py58
LOWlibs/evals/scripts/harbor_langsmith.py26
LOWlibs/evals/scripts/analyze.py183
LOWlibs/evals/scripts/analyze.py253
LOWlibs/evals/scripts/analyze.py767
LOWlibs/code/tests/unit_tests/test_startup_fast_paths.py199
LOWlibs/code/deepagents_code/_testing_models.py111
LOWlibs/code/deepagents_code/sessions.py959
LOWlibs/code/deepagents_code/server.py187
LOWlibs/code/deepagents_code/textual_adapter.py370
LOWlibs/code/deepagents_code/config.py154
LOWlibs/code/deepagents_code/config.py413
LOWlibs/code/deepagents_code/config.py1800
LOWlibs/code/deepagents_code/config.py2253
LOWlibs/code/deepagents_code/config.py2397
LOWlibs/code/deepagents_code/mcp_login_service.py124
LOWlibs/code/deepagents_code/model_config.py714
LOWlibs/code/deepagents_code/model_config.py891
LOWlibs/code/deepagents_code/model_config.py2345
LOWlibs/code/deepagents_code/model_config.py2414
LOWlibs/code/deepagents_code/non_interactive.py359
LOWlibs/code/deepagents_code/non_interactive.py429
LOWlibs/code/deepagents_code/non_interactive.py914
LOWlibs/code/deepagents_code/update_check.py300
LOWlibs/code/deepagents_code/update_check.py386
LOWlibs/code/deepagents_code/media_utils.py275
LOWlibs/code/deepagents_code/file_ops.py285
LOWlibs/code/deepagents_code/file_ops.py440
LOWlibs/code/deepagents_code/ask_user.py100
LOWlibs/code/deepagents_code/tool_display.py131
LOWlibs/code/deepagents_code/tool_display.py319
LOWlibs/code/deepagents_code/event_bus.py262
LOWlibs/code/deepagents_code/agent.py212
LOWlibs/code/deepagents_code/local_context.py85
LOWlibs/code/deepagents_code/app.py456
LOWlibs/code/deepagents_code/app.py528
LOWlibs/code/deepagents_code/app.py637
LOWlibs/code/deepagents_code/app.py696
LOWlibs/code/deepagents_code/app.py2468
LOWlibs/code/deepagents_code/app.py2790
LOWlibs/code/deepagents_code/app.py3039
84 more matches not shown…
Redundant / Tautological Comments41 hits · 52 pts
SeverityFileLineSnippet
LOWlibs/evals/tests/evals/data/bfcl_apis/message_api.py181 # Check if there is a current user logged in
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py783 # Check if the traveler is at least 18 years old
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py790 # Check if the passport number starts with 'US' (assuming this indicates a US passport)
LOWlibs/evals/scripts/analyze.py51 # Check if this is a valid task directory (has solution/solve.sh)
LOWlibs/evals/scripts/analyze.py200 # Check if this step has tool calls
LOWlibs/code/tests/unit_tests/test_chat_input.py2572 # Set gap to 0 so any real delay exceeds it.
LOW…de/examples/skills/skill-creator/scripts/init_skill.py212 # Check if directory already exists
LOWlibs/code/deepagents_code/textual_adapter.py786 # Check if this is an AIMessageChunk with content
LOWlibs/code/deepagents_code/config.py1857 # Check if this command is in the allow set
LOWlibs/code/deepagents_code/config.py2728 # Check if this provider uses a custom BaseChatModel class
LOWlibs/code/deepagents_code/media_utils.py393 # Check if file was created and has content
LOWlibs/code/deepagents_code/app.py3935 # Check if ALL actions in the batch are auto-approvable shell commands
LOWlibs/code/deepagents_code/app.py6205 # Check if agent is available
LOWlibs/code/deepagents_code/app.py7546 # Check if focused widget is the text area inside chat input
LOWlibs/code/deepagents_code/app.py10094 # Check if already using this exact model
LOWlibs/code/deepagents_code/skills/commands.py94 # Check if skill_dir is within base_dir
LOWlibs/code/deepagents_code/skills/commands.py594 # Check if this project skill shadows a user skill with the same name.
LOW…de/built_in_skills/skill-creator/scripts/init_skill.py256 # Check if directory already exists
LOWlibs/code/deepagents_code/widgets/chat_input.py1830 # Check if it looked like media but failed validation
LOW…li/examples/skills/skill-creator/scripts/init_skill.py212 # Check if directory already exists
LOW…ts/unit_tests/backends/test_composite_backend_async.py432 # Write files to both backends
LOW…ts/unit_tests/backends/test_composite_backend_async.py835 # Write files to memories
LOW…ts/unit_tests/backends/test_composite_backend_async.py1016 # Write files to memories
LOW…ts/tests/unit_tests/backends/test_composite_backend.py539 # Write files to both backends
LOW…ts/tests/unit_tests/backends/test_composite_backend.py949 # Write files to memories
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1130 # Write files to memories
LOW…/tests/unit_tests/backends/test_store_backend_async.py140 # Write file with multiple occurrences
LOW…/tests/unit_tests/backends/test_store_backend_async.py173 # Write file with multiple lines
LOW…/tests/unit_tests/backends/test_store_backend_async.py217 # Write files in nested directories
LOW…/tests/unit_tests/backends/test_local_shell_backend.py114 # Read the file
LOWlibs/deepagents/deepagents/middleware/filesystem.py1630 # Check if execute tool is present and if backend supports it
LOWlibs/deepagents/deepagents/middleware/filesystem.py1695 # Check if execute tool is present and if backend supports it
LOWlibs/deepagents/deepagents/middleware/filesystem.py1770 # Check if content exceeds eviction threshold
LOWlibs/deepagents/deepagents/middleware/summarization.py732 # Check if this AIMessage has tool calls we need to truncate
LOWlibs/deepagents/deepagents/backends/store.py442 # Check if file is in the specified directory or a subdirectory
LOWlibs/deepagents/deepagents/backends/store.py574 # Check if file exists
LOWlibs/deepagents/deepagents/backends/store.py597 # Check if file exists using async method
LOWlibs/deepagents/deepagents/backends/utils.py533 # Check if path matches an exact file
LOWlibs/deepagents/deepagents/backends/state.py175 # Check if file is in the specified directory or a subdirectory
LOWlibs/acp/deepagents_acp/server.py807 # Check if this is write_todos - auto-approve updates to existing plan
LOWlibs/acp/deepagents_acp/server.py836 # Check if ALL command types are already allowed
Verbosity Indicators28 hits · 52 pts
SeverityFileLineSnippet
LOWlibs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.
LOWlibs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.
LOWlibs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.
LOWlibs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.
LOWlibs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.
LOWlibs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.
LOWlibs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.
LOWlibs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.
LOWlibs/evals/tests/evals/test_skills.py232 # Step 3: confirm.
LOWlibs/evals/deepagents_harbor/backend.py208 # Step 1: existence check + mkdir (small command, no ARG_MAX risk).
LOWlibs/evals/deepagents_harbor/backend.py222 # Step 2: transfer content via Harbor's native file upload
LOWlibs/code/tests/unit_tests/test_model_config.py1116 # Step 1: Save model to config (simulating /model anthropic:claude-opus-4-5)
LOWlibs/code/tests/unit_tests/test_model_config.py1124 # Step 2: Patch DEFAULT_CONFIG_PATH and call _get_default_model_spec
LOWlibs/code/tests/unit_tests/test_model_config.py1134 # Step 3: Get default model spec - should use saved recent model
LOWlibs/code/deepagents_code/skills/commands.py363### Step 1: [First Action]
LOWlibs/code/deepagents_code/skills/commands.py366### Step 2: [Second Action]
LOWlibs/code/deepagents_code/skills/commands.py369### Step 3: [Final Action]
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py350 # Step 1: "Restore" v1 checkpoint data
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py358 # Step 2: V2 backend reads v1 data
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py367 # Step 3: Edit v1 data (result upgrades to v2)
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py373 # Step 4: Write a brand new file in v2
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py377 # Step 5: Verify everything via reads
LOWlibs/deepagents/deepagents/middleware/summarization.py946 # Step 1: Truncate args if configured
LOWlibs/deepagents/deepagents/middleware/summarization.py953 # Step 2: Check if summarization should happen
LOWlibs/deepagents/deepagents/middleware/summarization.py970 # Step 3: Perform summarization
LOWlibs/deepagents/deepagents/middleware/summarization.py1067 # Step 1: Truncate args if configured
LOWlibs/deepagents/deepagents/middleware/summarization.py1074 # Step 2: Check if summarization should happen
LOWlibs/deepagents/deepagents/middleware/summarization.py1091 # Step 3: Perform summarization
AI Slop Vocabulary21 hits · 40 pts
SeverityFileLineSnippet
MEDIUMlibs/cli/frontend/package-lock.json5514 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",
MEDIUM…ents_cli/deploy/frontend_dist/assets/index-DM3gptpu.js49`).replace(wA,"")}function ib(r,a){return a=rb(a),rb(r)===a}function pt(r,a,u,c,m,b){switch(u){case"children":typeof c==
MEDIUM…ents_cli/deploy/frontend_dist/assets/index-DM3gptpu.js69`):JSON.stringify(e,null,2)}function w2(e,t="Something went wrong."){return e instanceof Error&&e.message?e.message:type
MEDIUM…ents_cli/deploy/frontend_dist/assets/index-DM3gptpu.js69`):JSON.stringify(e,null,2)}function w2(e,t="Something went wrong."){return e instanceof Error&&e.message?e.message:type
LOWlibs/partners/quickjs/langchain_quickjs/_format.py210 # stdout path -- we've already truncated the result, so we just add the marker
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py1629 # A harness profile is registered under bare "openai".
MEDIUM…pshots/system_prompt_with_memory_and_skills_tools.json226 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated context
MEDIUM…smoke_tests/snapshots/custom_system_message_tools.json226 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated context
MEDIUM…sts/snapshots/system_prompt_without_execute_tools.json226 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated context
MEDIUM…system_prompt_with_sync_and_async_subagents_tools.json226 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated context
MEDIUM…_tests/snapshots/system_prompt_with_execute_tools.json257 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated context
MEDIUMlibs/deepagents/deepagents/graph.py552 # Copy of `tools` with any harness-specific description rewrites.
MEDIUMlibs/deepagents/deepagents/graph.py653 # Auto-add the default general-purpose subagent unless the harness profile
MEDIUMlibs/deepagents/deepagents/graph.py673 # Add harness-profile middleware, if any
MEDIUMlibs/deepagents/deepagents/profiles/__init__.py28# Built-in provider/harness profiles are registered lazily on first
LOWlibs/acp/deepagents_acp/utils.py312 # Use specific handler if available, otherwise just use base command
LOWlibs/acp/deepagents_acp/utils.py317 # Non-sensitive commands - just use the base command
MEDIUMexamples/nvidia_deep_agent/src/prompts.py12RESEARCHER_INSTRUCTIONS = """Gather and synthesize comprehensive information on the provided query, carefully addressing
MEDIUMexamples/better-harness/tests/__init__.py1# Tests package for better-harness.
MEDIUM…amples/better-harness/examples/deepagents_example.toml1# Worked example for optimizing a Deep Agents-based harness.
MEDIUMexamples/better-harness/better_harness/core.py345 "# better-harness report",
Over-Commented Block39 hits · 35 pts
SeverityFileLineSnippet
LOWlibs/code/deepagents_code/sessions.py761 batch_results = await _load_latest_checkpoint_summaries_batch(
LOWlibs/code/deepagents_code/theme.py161"""Incognito shell accent (darkened for light bg contrast)."""
LOWlibs/code/deepagents_code/app.py9541 )
LOWlibs/code/deepagents_code/widgets/chat_input.py721 end = (row - 1, len(prev_line))
LOWlibs/code/deepagents_code/widgets/chat_input.py1141 # now-empty text, assume all media were deleted, and discard them
LOWlibs/code/deepagents_code/widgets/chat_input.py1321 # currently-visible `!` is the second bang of `!!`. Promote to
LOWlibs/code/scripts/install.sh1#!/usr/bin/env bash
LOWlibs/code/scripts/install.sh301 log_info "deepagents-code ${pre_label} found (editable install from local source)."
LOWlibs/cli/scripts/install.sh1#!/usr/bin/env bash
LOWlibs/cli/deepagents_cli/deploy/config.py761# runtime store instead.
LOWlibs/cli/deepagents_cli/deploy/templates.py581# deploy_graph.py — the generated server entry point
LOWlibs/partners/quickjs/langchain_quickjs/_repl.py361 self._console = _ConsoleBuffer(max_stdout_chars)
LOWlibs/partners/quickjs/langchain_quickjs/_repl.py461 if target_names == self._active_tool_names and self._tools_installed:
LOWlibs/deepagents/deepagents/middleware/filesystem.py501
LOWlibs/acp/examples/local_context.py41@runtime_checkable
LOW…amples/better-harness/examples/deepagents_example.toml1# Worked example for optimizing a Deep Agents-based harness.
LOW.github/workflows/evals.yml1# Evaluation workflow for Deep Agents.
LOW.github/workflows/evals.yml561 PYEOF
LOW.github/workflows/release.yml1# Builds and publishes deepagents packages to PyPI.
LOW.github/workflows/release.yml681 # maximally sensitive to catching breakage.
LOW.github/workflows/pr_labeler.yml1# Unified PR labeler — applies size, file-based, title-based, and
LOW.github/workflows/harbor.yml1# Harbor evaluation workflow for Deep Agents
LOW.github/workflows/close_unchecked_issues.yml1# Auto-close issues that bypass or ignore the issue template checkboxes.
LOW.github/workflows/tag-external-issues.yml1# Automatically tag issues as "external" or "internal" based on whether
LOW.github/workflows/pr_lint_trailer.yml41 // and CRLF leaves stray \r chars in offending-line displays.
LOW.github/workflows/pr_lint_trailer.yml61 async function findStickyComment() {
LOW.github/workflows/evals_trials.yml1# N-trial eval workflow.
LOW.github/workflows/bump_uv_pin.yml1# Monthly bump of the uv pin in `.github/actions/uv_setup/action.yml`.
LOW.github/workflows/release-please.yml321 # Dispatching makes each release run a top-level workflow, so the OIDC token
LOW.github/workflows/release-please.yml361 ACP_RELEASE: ${{ needs.release-please.outputs.acp-release }}
LOW.github/workflows/release_please_parse_check.yml1# Pre-merge parse check for release-please.
LOW.github/workflows/release_please_parse_check.yml21# release-please bumps. As of release-please 17.6.0 this is 0.4.1:
LOW.github/workflows/pr_lint.yml1# PR title linting.
LOW.github/workflows/pr_lint.yml21# * test — adding tests or correcting existing
LOW.github/workflows/pr_lint.yml141
LOW.github/workflows/block_fork_main_prs.yml1# Block PRs whose head ref is `main` (or `master`) from a fork. This topology
LOW.github/workflows/require_issue_link.yml1# Require external PRs to reference an approved issue (e.g. Fixes #NNN) and
LOW.github/workflows/require_issue_link.yml21# Enforcement gate: set to 'true' to activate the issue link requirement.
LOW.github/workflows/sync_priority_labels.yml1# Sync priority labels (p0–p3) from linked issues to PRs.
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippet
CRITICAL…ents_cli/deploy/frontend_dist/assets/index-DM3gptpu.js85`))}function d(T,v,C,A){const k=C.enter("tableCell"),D=C.enter("phrasing"),N=C.containerPhrasing(T,{...A,before:l,after:
CRITICAL…ents_cli/deploy/frontend_dist/assets/index-DM3gptpu.js107`,h="/",g="*",p="",_="comment",T="declaration";function v(A,k){if(typeof A!="string")throw new TypeError("First argument
CRITICAL…ents_cli/deploy/frontend_dist/assets/index-DM3gptpu.js158`+f.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=h.text):n.push(f);continue}if(t){let h="Infinite loop on byt
Overly Generic Function Names5 hits · 6 pts
SeverityFileLineSnippet
LOW…/deepagents/tests/unit_tests/test_file_system_tools.py320 "content": "def helper():\n return 42",
LOW…/tests/unit_tests/middleware/test_skills_middleware.py767 helper_content = "def helper(): pass"
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py77 write_res = be.write("/src/utils.py", "import sys\ndef helper():\n pass\nimport os\n")
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py189 be.write("/src/utils.py", "import sys\ndef helper():\n pass\nimport os\n")
LOW…s/deepagents/tests/unit_tests/_api/test_deprecation.py45 def helper() -> None:
Dead Code3 hits · 5 pts
SeverityFileLineSnippet
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py902
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1214
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py4099
Example Usage Blocks2 hits · 2 pts
SeverityFileLineSnippet
LOWlibs/code/scripts/install.sh4# Usage:
LOWlibs/cli/scripts/install.sh4# Usage:
Fake / Example Data1 hit · 0 pts
SeverityFileLineSnippet
LOW…agents/tests/unit_tests/backends/test_store_backend.py450 ("user@example.com",),