Repository Analysis

google/adk-python

An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.

32.2 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google/adk-python, a Python project with 20,598 GitHub stars. SynthScan v2.0 examined 485,395 lines of code across 2202 source files, recording 13110 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 32.2 places this repository in the Strong AI signal band.

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

32.2
Adjusted Score
32.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
20.6K
Stars
Python
Language
485.4K
Lines of Code
2.2K
Files
13.1K
Pattern Hits
2026-07-14
Scan Date
0.16
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 15HIGH 341MEDIUM 822LOW 11932

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 13110 distinct pattern matches across 24 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 Identifiers7320 hits · 6570 pts
SeverityFileLineSnippetContext
LOWcontributing/samples/core/runner_debug_example/main.py37async def example_multiple_messages():CODE
LOWcontributing/samples/core/runner_debug_example/main.py54async def example_conversation_persistence():CODE
LOWcontributing/samples/core/runner_debug_example/main.py75async def example_separate_sessions():CODE
LOWcontributing/samples/core/logprobs/README.md51async def append_logprobs_to_response(CODE
LOWcontributing/samples/core/logprobs/agent.py28async def append_logprobs_to_response(CODE
LOW…buting/samples/adk_team/adk_pr_triaging_agent/agent.py288def list_untriaged_pull_requests(pr_count: int) -> dict[str, Any]:STRING
LOW…g/samples/adk_team/adk_issue_monitoring_agent/utils.py39def _increment_api_call_count() -> None:CODE
LOW…g/samples/adk_team/adk_issue_monitoring_agent/utils.py77def get_repository_maintainers(owner: str, repo: str) -> list[str]:CODE
LOW…ributing/samples/adk_team/adk_answering_agent/tools.py27def get_discussion_and_comments(discussion_number: int) -> dict[str, Any]:CODE
LOW…ributing/samples/adk_team/adk_answering_agent/tools.py101def add_comment_to_discussion(STRING
LOW…ributing/samples/adk_team/adk_answering_agent/tools.py218def convert_gcs_links_to_https(gcs_uris: list[str]) -> Dict[str, Optional[str]]:STRING
LOW…adk_answering_agent/upload_docs_to_vertex_ai_search.py137def import_from_gcs_to_vertex_ai(CODE
LOW…tributing/samples/adk_team/adk_answering_agent/main.py41async def list_most_recent_discussions(CODE
LOW…ributing/samples/adk_team/adk_knowledge_agent/agent.py27def citation_retrieval_after_model_callback(CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py34def _resolve_within_repos_dir(path: str) -> Optional[str]:CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py112def get_changed_files_between_releases(CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py218def read_local_git_repo_file_content(file_path: str) -> Dict[str, Any]:CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py363def create_pull_request_from_changes(CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py622def get_file_diff_for_release(CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py671def get_changed_files_summary(CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py759def _get_changed_files_from_local_git(CODE
LOW…uting/samples/adk_team/adk_documentation/test_tools.py56 def test_read_inside_sandbox_succeeds(self):CODE
LOW…uting/samples/adk_team/adk_documentation/test_tools.py60 def test_read_outside_sandbox_is_denied(self):CODE
LOW…uting/samples/adk_team/adk_documentation/test_tools.py66 def test_read_symlink_escape_is_denied(self):CODE
LOW…uting/samples/adk_team/adk_documentation/test_tools.py74 def test_list_and_search_outside_sandbox_are_denied(self):CODE
LOW…uting/samples/adk_team/adk_documentation/test_tools.py80 def test_clone_or_pull_outside_sandbox_is_denied(self):CODE
LOW…uting/samples/adk_team/adk_documentation/test_tools.py89 def test_create_pr_rejects_path_traversal_in_changes(self):CODE
LOW…k_team/adk_documentation/adk_release_analyzer/agent.py142def save_group_recommendations(CODE
LOW…k_team/adk_documentation/adk_release_analyzer/agent.py376def file_analyzer_instruction(readonly_context: ReadonlyContext) -> str:STRING
LOWcontributing/samples/adk_team/adk_stale_agent/utils.py57def _increment_api_call_count() -> None:CODE
LOWcontributing/samples/adk_team/adk_stale_agent/utils.py200def get_old_open_issue_numbers(CODE
LOWcontributing/samples/adk_team/adk_stale_agent/agent.py306def _replay_history_to_find_state(STRING
LOWcontributing/samples/adk_team/adk_stale_agent/agent.py510def add_stale_label_and_comment(item_number: int) -> dict[str, Any]:STRING
LOW…tributing/samples/adk_team/adk_triaging_agent/agent.py192def assign_gtech_owner_to_issue(issue_number: int) -> dict[str, Any]:STRING
LOW…ng/samples/patterns/workflow_triage/execution_agent.py27def before_agent_callback_check_relevance(CODE
LOW…ng/samples/patterns/workflow_triage/execution_agent.py81def instruction_provider_for_execution_summary_agent(STRING
LOW…les/patterns/context_offloading_with_artifact/agent.py53 async def _append_artifacts_to_llm_request(CODE
LOW…amples/plugin/plugin_reflect_tool_retry/basic/agent.py53 async def extract_error_from_result(CODE
LOWcontributing/samples/mcp/mcp_sse_agent/agent.py42def after_tool_debug_callback(CODE
LOW…uting/samples/mcp/mcp_progress_callback_agent/agent.py82def progress_callback_factory(CODE
LOWcontributing/samples/models/interactions_api/main.py131async def test_basic_text_generation(runner: Runner, session_id: str):CODE
LOWcontributing/samples/models/interactions_api/main.py165async def test_multi_turn_conversation(runner: Runner, session_id: str):CODE
LOWcontributing/samples/models/interactions_api/main.py236async def test_custom_function_tool(runner: Runner, session_id: str):CODE
LOWcontributing/samples/models/interactions_api/main.py298def check_interactions_api_available() -> bool:CODE
LOW…uting/samples/integrations/spanner_rag_agent/README.md329 def wrapped_spanner_similarity_search(STRING
LOW…tributing/samples/integrations/gcp_auth/client/main.py93def handle_adk_request_credential(auth_config):CODE
LOWcontributing/samples/integrations/bigtable/agent.py69def search_hotels_by_location(CODE
LOW…ntributing/samples/integrations/gepa/rater_lib_test.py34def test_rater_escapes_html_inputs_to_prevent_xss():CODE
LOW…ntributing/samples/integrations/gepa/adk_agent_test.py163def test_intermediary_step_is_done():CODE
LOW…ntributing/samples/integrations/gepa/adk_agent_test.py199def test_intermediary_tool_step_is_done():CODE
LOWcontributing/samples/integrations/gepa/rater_lib.py30def parse_rubric_validation_response(CODE
LOWcontributing/samples/integrations/gepa/rater_lib.py90def format_user_agent_conversation(conv: list[dict[str, Any]]) -> str:CODE
LOW…ations/oauth2_client_credentials/oauth2_test_server.py179async def handle_client_credentials(CODE
LOW…ations/oauth2_client_credentials/oauth2_test_server.py204async def handle_authorization_code(CODE
LOW…ng/samples/multimodal/static_non_text_content/agent.py55def create_static_instruction_with_file_upload():STRING
LOW…ributing/samples/multimodal/computer_use/playwright.py205 async def _horizontal_document_scroll(CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py319 def _play_audio_pyaudio_handler(CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py179def create_text_request_payload(text: str) -> str:CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py187def create_audio_request_payload(audio_bytes: bytes, mime_type: str) -> str:CODE
LOW…buting/samples/live/live_tool_callbacks_agent/agent.py98def before_tool_audit_callback(CODE
7260 more matches not shown…
Over-Commented Block1751 hits · 1686 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/services.yaml1# Copyright 2025 Google LLCCOMMENT
LOWcontributing/samples/services.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/dummy_services.py1# Copyright 2026 Google LLCCOMMENT
LOW…ntributing/samples/multi_agent/task_sub_agent/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…les/multi_agent/multi_agent_llm_config/roll_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…samples/multi_agent/multi_agent_llm_config/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…les/multi_agent/multi_agent_llm_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…es/multi_agent/multi_agent_llm_config/prime_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…les/multi_agent/multi_agent_seq_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…agent_seq_config/sub_agents/code_refactorer_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…lti_agent_seq_config/sub_agents/code_writer_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…i_agent_seq_config/sub_agents/code_reviewer_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…i_agent/multi_agent_basic_config/code_tutor_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…i_agent/multi_agent_basic_config/math_tutor_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…s/multi_agent/multi_agent_basic_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…ibuting/samples/multi_agent/hello_world_ma/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ntributing/samples/multi_agent/hello_world_ma/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…g/samples/multi_agent/three_layer_transfer/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ting/samples/multi_agent/three_layer_transfer/agent.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/multi_agent/sub_agents/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/multi_agent/sub_agents/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…ing/samples/multi_agent/single_turn_sub_agent/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…es/multi_agent/multi_agent_loop_config/loop_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…es/multi_agent/multi_agent_loop_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…nt_loop_config/writer_agents/initial_writer_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…ulti_agent_loop_config/writer_agents/critic_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…lti_agent_loop_config/writer_agents/refiner_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…/samples/multi_agent/sub_agents_config/work_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…ting/samples/multi_agent/sub_agents_config/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ng/samples/multi_agent/sub_agents_config/life_agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…/samples/multi_agent/sub_agents_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…ibuting/samples/tools/built_in_multi_tools/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ntributing/samples/tools/built_in_multi_tools/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…ting/samples/tools/tool_builtin_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…uting/samples/tools/long_running_functions/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ributing/samples/tools/long_running_functions/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…tributing/samples/tools/parallel_functions/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/tools/parallel_functions/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…g/samples/tools/hello_world_stream_fc_args/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ting/samples/tools/hello_world_stream_fc_args/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…s/tools/agent_tool_with_grounding_metadata/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ples/tools/agent_tool_with_grounding_metadata/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…ing/samples/tools/output_schema_with_tools/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…buting/samples/tools/output_schema_with_tools/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…les/tools/tool_agent_tool_config/web_search_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…les/tools/tool_agent_tool_config/summarizer_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…g/samples/tools/tool_agent_tool_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…tributing/samples/tools/tool_functions_config/tools.py1# Copyright 2026 Google LLCCOMMENT
LOW…buting/samples/tools/tool_functions_config/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ng/samples/tools/tool_functions_config/root_agent.yaml1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/tools/function_tools/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/tools/function_tools/agent.py1# Copyright 2026 Google LLCCOMMENT
LOW…ntributing/samples/tools/pydantic_argument/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/tools/pydantic_argument/agent.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/tools/pydantic_argument/main.py1#!/usr/bin/env python3COMMENT
LOWcontributing/samples/core/abort/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/core/abort/agent.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/core/artifacts/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWcontributing/samples/core/artifacts/agent.py1# Copyright 2026 Google LLCCOMMENT
1691 more matches not shown…
Decorative Section Separators420 hits · 1464 pts
SeverityFileLineSnippetContext
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py96# =============================================================================COMMENT
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py98# =============================================================================COMMENT
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py291# =============================================================================COMMENT
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py293# =============================================================================COMMENT
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py371# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py373# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py501# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py503# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py571# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py573# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py609# =============================================================================STRING
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py611# =============================================================================STRING
MEDIUMtests/unittests/test_optional_dependencies.py64# =============================================================================COMMENT
MEDIUMtests/unittests/test_optional_dependencies.py66# =============================================================================COMMENT
MEDIUMtests/unittests/test_optional_dependencies.py191# =============================================================================COMMENT
MEDIUMtests/unittests/test_optional_dependencies.py193# =============================================================================COMMENT
MEDIUMtests/unittests/artifacts/test_artifact_service.py1457# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittests/artifacts/test_artifact_service.py1459# ---------------------------------------------------------------------------COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py6494# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py6496# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8053# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8055# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8123# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8125# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8238# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8240# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8618# -----------------------------------------------------------------------------COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py5635# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py5637# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py5746# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py5748# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py5970# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py5972# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py6218# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py6220# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py7819# ==============================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py7821# ==============================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py7955# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py7957# ================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py8601# -----------------------------------------------------------------------------COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py9196# ==============================================================================COMMENT
MEDIUM…ttests/plugins/test_bigquery_agent_analytics_plugin.py9199# ==============================================================================COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py167# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py169# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py306# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py308# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py449# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py451# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py498# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py500# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py37# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py715# ---------------------------------------------------------------------------COMMENT
MEDIUM…unittests/plugins/test_notification_error_callbacks.py717# ---------------------------------------------------------------------------COMMENT
MEDIUM…sts/unittests/a2a/integration/test_client_server_v1.py244# -----------------------------------------------------------------------------COMMENT
MEDIUM…sts/unittests/a2a/integration/test_client_server_v1.py246# -----------------------------------------------------------------------------COMMENT
MEDIUM…sts/unittests/a2a/integration/test_client_server_v1.py365# -----------------------------------------------------------------------------COMMENT
MEDIUM…sts/unittests/a2a/integration/test_client_server_v1.py367# -----------------------------------------------------------------------------COMMENT
MEDIUM…sts/unittests/a2a/integration/test_client_server_v1.py42# -----------------------------------------------------------------------------COMMENT
MEDIUM…sts/unittests/a2a/integration/test_client_server_v1.py44# -----------------------------------------------------------------------------COMMENT
360 more matches not shown…
Unused Imports1443 hits · 1380 pts
SeverityFileLineSnippetContext
LOWcontributing/samples/services.py16CODE
LOWcontributing/samples/dummy_services.py16CODE
LOW…ntributing/samples/multi_agent/task_sub_agent/agent.py15CODE
LOW…ibuting/samples/multi_agent/hello_world_ma/__init__.py15CODE
LOW…g/samples/multi_agent/three_layer_transfer/__init__.py15CODE
LOWcontributing/samples/multi_agent/sub_agents/__init__.py15CODE
LOWcontributing/samples/multi_agent/sub_agents/agent.py15CODE
LOW…ibuting/samples/tools/built_in_multi_tools/__init__.py15CODE
LOW…uting/samples/tools/long_running_functions/__init__.py15CODE
LOW…tributing/samples/tools/parallel_functions/__init__.py15CODE
LOWcontributing/samples/tools/parallel_functions/agent.py18CODE
LOW…g/samples/tools/hello_world_stream_fc_args/__init__.py15CODE
LOW…s/tools/agent_tool_with_grounding_metadata/__init__.py15CODE
LOW…ing/samples/tools/output_schema_with_tools/__init__.py15CODE
LOWcontributing/samples/tools/function_tools/__init__.py15CODE
LOWcontributing/samples/tools/function_tools/agent.py15CODE
LOW…ntributing/samples/tools/pydantic_argument/__init__.py15CODE
LOWcontributing/samples/core/abort/__init__.py15CODE
LOWcontributing/samples/core/artifacts/__init__.py15CODE
LOWcontributing/samples/core/artifacts/agent.py15CODE
LOW…ributing/samples/core/runner_debug_example/__init__.py17CODE
LOWcontributing/samples/core/hello_world/__init__.py15CODE
LOWcontributing/samples/core/app/agent.py15CODE
LOWcontributing/samples/core/empty_agent/__init__.py15CODE
LOWcontributing/samples/core/empty_agent/__init__.py17CODE
LOWcontributing/samples/core/empty_agent/agent.py15CODE
LOWcontributing/samples/core/callbacks/__init__.py15CODE
LOWcontributing/samples/core/callbacks/agent.py15CODE
LOWcontributing/samples/core/input_output_schema/agent.py15CODE
LOWcontributing/samples/core/quickstart/__init__.py15CODE
LOWcontributing/samples/core/logprobs/__init__.py15CODE
LOW…ing/samples/adk_team/adk_pr_triaging_agent/__init__.py15CODE
LOW…amples/adk_team/adk_issue_monitoring_agent/__init__.py15CODE
LOW…uting/samples/adk_team/adk_answering_agent/__init__.py15CODE
LOW…_team/adk_answering_agent/gemini_assistant/__init__.py15CODE
LOW…amples/adk_team/adk_issue_formatting_agent/__init__.py15CODE
LOW…uting/samples/adk_team/adk_knowledge_agent/__init__.py15CODE
LOW…eam/adk_documentation/adk_release_analyzer/__init__.py15CODE
LOW…dk_team/adk_documentation/adk_docs_updater/__init__.py15CODE
LOW…tributing/samples/adk_team/adk_stale_agent/__init__.py15CODE
LOWcontributing/samples/adk_team/adk_stale_agent/utils.py27CODE
LOWcontributing/samples/adk_team/adk_pr_agent/__init__.py15CODE
LOW…tributing/samples/patterns/workflow_triage/__init__.py15CODE
LOW…/patterns/context_offloading_with_artifact/__init__.py15CODE
LOW…ntributing/samples/patterns/fields_planner/__init__.py15CODE
LOWcontributing/samples/patterns/fields_planner/agent.py19CODE
LOW…buting/samples/patterns/json_passing_agent/__init__.py15CODE
LOW…g/samples/config/core_custom_agent_config/my_agents.py15CODE
LOW…g/samples/config/core_custom_agent_config/my_agents.py17CODE
LOWcontributing/samples/a2a/a2a_basic/__init__.py15CODE
LOW…a2a/a2a_basic/remote_a2a/check_prime_agent/__init__.py15CODE
LOW…es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py15CODE
LOW…es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py18CODE
LOWcontributing/samples/a2a/a2a_auth/__init__.py15CODE
LOW…les/a2a/a2a_auth/remote_a2a/bigquery_agent/__init__.py15CODE
LOWcontributing/samples/a2a/a2a_human_in_loop/__init__.py15CODE
LOW…a2a_human_in_loop/remote_a2a/human_in_loop/__init__.py15CODE
LOW…amples/a2a/a2a_root/remote_a2a/hello_world/__init__.py15CODE
LOW…amples/environment_and_skills/skills_agent/__init__.py15CODE
LOW…es/environment_and_skills/skills_agent_gcs/__init__.py15CODE
1383 more matches not shown…
Cross-File Repetition178 hits · 890 pts
SeverityFileLineSnippetContext
HIGH…ntributing/samples/multi_agent/hello_world_ma/agent.py0you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die tSTRING
HIGHcontributing/samples/a2a/a2a_basic/agent.py0you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die tSTRING
HIGH…ples/legacy_workflows/simple_sequential_agent/agent.py0you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die tSTRING
HIGH…/samples/live/live_bidi_streaming_multi_agent/agent.py0you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die tSTRING
HIGH…ntributing/samples/multi_agent/hello_world_ma/agent.py0you are responsible for checking whether numbers are prime. when asked to check primes, you must call the check_prime toSTRING
HIGH…ples/legacy_workflows/simple_sequential_agent/agent.py0you are responsible for checking whether numbers are prime. when asked to check primes, you must call the check_prime toSTRING
HIGH…/samples/live/live_bidi_streaming_multi_agent/agent.py0you are responsible for checking whether numbers are prime. when asked to check primes, you must call the check_prime toSTRING
HIGH…ntributing/samples/multi_agent/hello_world_ma/agent.py0you are a helpful assistant that can check time, roll dice and check if numbers are prime. you can check time on your owSTRING
HIGHcontributing/samples/a2a/a2a_basic/agent.py0you are a helpful assistant that can check time, roll dice and check if numbers are prime. you can check time on your owSTRING
HIGH…/samples/live/live_bidi_streaming_multi_agent/agent.py0you are a helpful assistant that can check time, roll dice and check if numbers are prime. you can check time on your owSTRING
HIGH…ntributing/samples/tools/built_in_multi_tools/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…ples/tools/agent_tool_with_grounding_metadata/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…tributing/samples/tools/tool_functions_config/tools.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGHcontributing/samples/core/hello_world/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGHcontributing/samples/patterns/fields_planner/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…tributing/samples/config/core_callback_config/tools.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…in_reflect_tool_retry/hallucinating_func_name/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGHcontributing/samples/models/hello_world_ollama/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…ls/hello_world_litellm_add_function_to_prompt/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGHcontributing/samples/models/hello_world_gemma/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…ributing/samples/models/hello_world_anthropic/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…ributing/samples/models/hello_world_apigeellm/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…ting/samples/models/hello_world_gemma3_ollama/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…ntributing/samples/models/hello_world_litellm/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…samples/live/live_bidi_streaming_single_agent/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…samples/context_management/history_management/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…samples/context_management/migrate_session_db/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…s/integration/fixture/hello_world_agent_async/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGHtests/integration/fixture/hello_world_agent/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py0roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool coSTRING
HIGH…tributing/samples/tools/tool_functions_config/tools.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGHcontributing/samples/core/hello_world/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGHcontributing/samples/patterns/fields_planner/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…tributing/samples/config/core_callback_config/tools.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGHcontributing/samples/models/hello_world_gemma/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…ributing/samples/models/hello_world_anthropic/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…ributing/samples/models/hello_world_apigeellm/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…ting/samples/models/hello_world_gemma3_ollama/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…ntributing/samples/models/hello_world_litellm/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…samples/live/live_bidi_streaming_single_agent/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…samples/context_management/history_management/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…samples/context_management/migrate_session_db/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGH…s/integration/fixture/hello_world_agent_async/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGHtests/integration/fixture/hello_world_agent/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGHcontributing/samples/models/hello_world_ollama/agent.py0check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating whichSTRING
HIGHcontributing/samples/core/hello_world/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGHcontributing/samples/patterns/fields_planner/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGHcontributing/samples/models/hello_world_ollama/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…ributing/samples/models/hello_world_anthropic/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…ributing/samples/models/hello_world_apigeellm/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…ntributing/samples/models/hello_world_litellm/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…samples/context_management/history_management/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…samples/context_management/migrate_session_db/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGHcontributing/samples/models/hello_world_gemma/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…ting/samples/models/hello_world_gemma3_ollama/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…samples/live/live_bidi_streaming_single_agent/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
HIGH…s/integration/fixture/hello_world_agent_async/agent.py0you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can usSTRING
118 more matches not shown…
Self-Referential Comments280 hits · 860 pts
SeverityFileLineSnippetContext
MEDIUM…buting/samples/tools/output_schema_with_tools/agent.py83# Create the knowledge agent that uses google_search tool.COMMENT
MEDIUM…buting/samples/tools/output_schema_with_tools/agent.py98# Create the agent with both output_schema and toolsSTRING
MEDIUMcontributing/samples/tools/pydantic_argument/agent.py161# Create the agent with all Pydantic toolsCOMMENT
MEDIUMcontributing/samples/tools/pydantic_argument/main.py61 # Create a sessionCOMMENT
MEDIUMcontributing/samples/core/logprobs/agent.py97# Create a simple agent that demonstrates logprobs usageCOMMENT
MEDIUM…tributing/samples/adk_team/adk_answering_agent/main.py203 # Create a new session for each discussion to avoid interference.COMMENT
MEDIUM…es/adk_team/adk_documentation/adk_docs_updater/main.py96 # Create a new session for each suggestion to avoid context interferenceCOMMENT
MEDIUMcontributing/samples/adk_team/adk_stale_agent/utils.py88# Create a single, reusable Session object for connection poolingCOMMENT
MEDIUM…mples/environment_and_skills/skills_agent_gcs/agent.py36# Define the GCS bucket and skills prefixCOMMENT
MEDIUM…mples/environment_and_skills/skills_agent_gcs/agent.py60# Create the SkillToolsetCOMMENT
MEDIUM…mples/environment_and_skills/skills_agent_gcs/agent.py63# Create the AgentCOMMENT
MEDIUM…mples/environment_and_skills/skills_agent_gcs/agent.py84 # Create a RunnerCOMMENT
MEDIUM…tributing/samples/plugin/plugin_debug_logging/agent.py106# Create the app with DebugLoggingPluginCOMMENT
MEDIUM…ributing/samples/mcp/mcp_server_side_sampling/agent.py37# Create the ADK MCPToolset, which connects to the FastMCP server.COMMENT
MEDIUM…ributing/samples/mcp/mcp_server_side_sampling/agent.py47# Define the ADK agent that uses the MCP toolset.COMMENT
MEDIUM…ing/samples/mcp/mcp_server_side_sampling/mcp_server.py36# Create the FastMCP Server instance.COMMENT
MEDIUM…tributing/samples/mcp/mcp_in_agent_tool_stdio/agent.py61# Create main agentCOMMENT
MEDIUM…ples/mcp/mcp_streamablehttp_agent/filesystem_server.py23# Create an MCP server with a nameCOMMENT
MEDIUM…ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py22# Create an MCP server with a nameCOMMENT
MEDIUM…ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py27# Create an MCP server with a nameCOMMENT
MEDIUMcontributing/samples/mcp/mcp_toolset_auth/agent.py55# Create the MCP toolset with OAuth authenticationCOMMENT
MEDIUMcontributing/samples/mcp/mcp_toolset_auth/agent.py64# Define the agent that uses the OAuth-protected MCP toolsetCOMMENT
MEDIUMcontributing/samples/mcp/mcp_toolset_auth/main.py64 # Create a sessionCOMMENT
MEDIUM…ributing/samples/mcp/mcp_in_agent_tool_remote/agent.py54# Create main agentCOMMENT
MEDIUMcontributing/samples/models/interactions_api/main.py331 # Create a new sessionCOMMENT
MEDIUM…buting/samples/integrations/spanner_rag_agent/agent.py26# Define an appropriate credential typeCOMMENT
MEDIUMcontributing/samples/integrations/bigtable/agent.py27# Define an appropriate credential type.COMMENT
MEDIUMcontributing/samples/integrations/data_agent/agent.py32# Define the desired credential type.COMMENT
MEDIUMcontributing/samples/integrations/bigquery/agent.py26# Define the desired credential type.COMMENT
MEDIUMcontributing/samples/integrations/bigquery/agent.py32# Define an appropriate application nameCOMMENT
MEDIUM…amples/integrations/oauth2_client_credentials/agent.py112# Create the weather assistant agentCOMMENT
MEDIUMcontributing/samples/integrations/gcs_admin/agent.py25# Define an appropriate credential type.COMMENT
MEDIUMcontributing/samples/integrations/pubsub/agent.py25# Define the desired credential type.COMMENT
MEDIUMcontributing/samples/integrations/pubsub/agent.py31# Define an appropriate application nameCOMMENT
MEDIUMcontributing/samples/integrations/spanner/agent.py31# Define an appropriate credential typeCOMMENT
MEDIUM…ing/samples/integrations/sandbox_computer_use/agent.py62# Create the sandbox computerCOMMENT
MEDIUM…ntributing/samples/integrations/spanner_admin/agent.py23# Define an appropriate credential typeCOMMENT
MEDIUMcontributing/samples/integrations/gcs/agent.py25# Define an appropriate credential type.COMMENT
MEDIUM…ng/samples/multimodal/static_non_text_content/agent.py127 # Create a temporary file with the sample documentSTRING
MEDIUM…ng/samples/multimodal/static_non_text_content/agent.py213# Create the root agent with Files API integrationCOMMENT
MEDIUM…ributing/samples/multimodal/computer_use/playwright.py26# Define a mapping from the user-friendly key names to Playwright's expected key names.COMMENT
MEDIUM…ing/samples/live/live_non_blocking_tool_agent/agent.py44# Create a FunctionTool wrapping the long-running async functionCOMMENT
MEDIUM…/samples/live/live_bidi_streaming_tools_agent/agent.py81 # Create an image part using the blob's data and mime typeCOMMENT
MEDIUM…buting/samples/live/live_tool_callbacks_agent/agent.py218# Create the agent with tool callbacksCOMMENT
MEDIUM…ing/samples/context_management/cache_analysis/agent.py640# Create the cache analysis research assistant agentCOMMENT
MEDIUM…ing/samples/context_management/cache_analysis/agent.py837# Create the app with context caching configurationSTRING
MEDIUM…ing/samples/context_management/rewind_session/agent.py52# Create the agentCOMMENT
MEDIUM…ting/samples/context_management/rewind_session/main.py100 # Create a sessionCOMMENT
MEDIUM…ontext_management/postgres_session_service/compose.yml17# This file defines a PostgreSQL service used to demonstrate ADK'sCOMMENT
MEDIUMtests/integration/fixture/bigquery_agent/agent.py32# Define an appropriate application nameCOMMENT
MEDIUMtests/unittests/test_runners.py229 # Create a function call from sub_agent1COMMENT
MEDIUMtests/unittests/test_runners.py372 # Create a function call from sub_agent2COMMENT
MEDIUMtests/unittests/test_runners.py1423 # Create a mock sessionCOMMENT
MEDIUMtests/unittests/test_verify_snippets.py127 # Create a dummy module to test discoverySTRING
MEDIUMtests/unittests/artifacts/test_artifact_service.py44# Define a fixed datetime object to be returned by datetime.now()COMMENT
MEDIUM…nittests/tools/test_base_google_credentials_manager.py363 # Create a mock credentials instance that will represent our created credentialsCOMMENT
MEDIUM…nittests/tools/test_base_google_credentials_manager.py439 # Create the mock credentials instance that will be returned by the constructorCOMMENT
MEDIUM…ts/unittests/tools/test_authenticated_function_tool.py99 # Create a mock auth_type that returns the expected valueCOMMENT
MEDIUM…ts/unittests/tools/test_authenticated_function_tool.py522 # Create a spy function to check what arguments are passedCOMMENT
MEDIUMtests/unittests/tools/test_skill_toolset.py2181 # Create a mock registry skill that declares local additional toolsCOMMENT
220 more matches not shown…
Docstring Block Structure133 hits · 665 pts
SeverityFileLineSnippetContext
HIGHcontributing/samples/adk_team/adk_stale_agent/utils.py100 Sends a GET request to the GitHub API with automatic retries. Args: url (str): The URL endpoint. paramSTRING
HIGHcontributing/samples/adk_team/adk_stale_agent/agent.py125 Executes the GraphQL query to fetch raw issue data, including comments, edits, and timeline events. Args: STRING
HIGHcontributing/samples/adk_team/adk_stale_agent/main.py41 Processes a single GitHub issue using the AI agent and logs execution metrics. Args: issue_number (int): TheSTRING
HIGHcontributing/samples/integrations/gepa/adk_agent.py219Defines and runs an ADK LLM Agent in the provided simulation environment. Args: instruction: The instruction for STRING
HIGH…tributing/samples/integrations/gepa/tau_bench_agent.py99Solves the task using ADK agent. Args: env: The environment to solve the task in. task_index: The indexSTRING
HIGH…sts/unittests/tools/spanner/test_spanner_query_tool.py59\ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): STRING
HIGH…sts/unittests/tools/spanner/test_spanner_query_tool.py110\ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): STRING
HIGH…ests/integrations/bigquery/test_bigquery_query_tool.py90\ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str):STRING
HIGH…ests/integrations/bigquery/test_bigquery_query_tool.py189\ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str):STRING
HIGH…ests/integrations/bigquery/test_bigquery_query_tool.py426\ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str):STRING
HIGHsrc/google/adk/runners.py920Gets the session or creates it if auto-creation is enabled. This helper first attempts to retrieve the session. If STRING
HIGHsrc/google/adk/runners.py1034Main entry method to run the agent in this runner. If event compaction is enabled in the App configuration, it willSTRING
HIGHsrc/google/adk/runners.py1848Debug helper for quick agent experimentation and testing. This convenience method is designed for developers gettinSTRING
HIGHsrc/google/adk/runners.py1999Sets up the context for a resumed invocation. Args: session: The session to set up the invocation context forSTRING
HIGHsrc/google/adk/artifacts/file_artifact_service.py96Returns the absolute artifact directory and its relative path. The caller is expected to pass the scope root directorSTRING
HIGHsrc/google/adk/tools/_gda_stream_util.py43Creates an AuthorizedSession and returns it with the correct endpoint. Args: credentials: The credentials to usSTRING
HIGHsrc/google/adk/tools/_gemini_schema_util.py36Converts a string into snake_case. Handles lowerCamelCase, UpperCamelCase, or space-separated case, acronyms (e.g.,STRING
HIGHsrc/google/adk/tools/bigtable/query_tool.py47Execute a GoogleSQL query from a Bigtable table. Args: project_id (str): The GCP project id in which the query STRING
HIGHsrc/google/adk/tools/data_agent/data_agent_tool.py32Lists accessible data agents in a project. Args: project_id: The project to list agents in. credentials: STRING
HIGHsrc/google/adk/tools/data_agent/data_agent_tool.py164Gets a data agent by name. Args: data_agent_name: The name of the agent to get, in format projects/{proSTRING
HIGHsrc/google/adk/tools/data_agent/data_agent_tool.py219Asks a question to a data agent. Args: data_agent_name: The resource name of an existing data agent to ask, in STRING
HIGH…/google/adk/tools/apihub_tool/clients/apihub_client.py205Extracts the resource names of an API, API Version, and API Spec from a given URL or path. Args: url_or_patSTRING
HIGHsrc/google/adk/tools/spanner/search_tool.py248Similarity search in Spanner using a text query. The function will use embedding service (provided from options) to eSTRING
HIGHsrc/google/adk/tools/spanner/search_tool.py540Performs a semantic similarity search to retrieve relevant context from the Spanner vector store. This function perfoSTRING
HIGHsrc/google/adk/tools/spanner/metadata_tool.py34List tables within the database. Args: project_id (str): The Google Cloud project id. instance_id (str): STRING
HIGHsrc/google/adk/tools/spanner/metadata_tool.py85Get schema and metadata information about a Spanner table. Args: project_id (str): The Google Cloud project id.STRING
HIGHsrc/google/adk/tools/spanner/metadata_tool.py299Get index information about a Spanner table. Args: project_id (str): The Google Cloud project id. instancSTRING
HIGHsrc/google/adk/tools/spanner/metadata_tool.py399Get the columns in each index of a Spanner table. Args: project_id (str): The Google Cloud project id. inSTRING
HIGHsrc/google/adk/tools/spanner/metadata_tool.py502Get the named schemas in the Spanner database. Args: project_id (str): The Google Cloud project id. instaSTRING
HIGHsrc/google/adk/tools/spanner/query_tool.py41Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): The GCP prSTRING
HIGHsrc/google/adk/tools/spanner/query_tool.py99\ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): The GCP projSTRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py31List Spanner instances within a project. Args: project_id: The Google Cloud project id. credentials: The STRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py72Get details of a Spanner instance. Args: project_id: The Google Cloud project id. instance_id: The SpanneSTRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py124List Spanner instance configs available for a project. Args: project_id: The Google Cloud project id. creSTRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py164Get details of a Spanner instance config. Args: project_id: The Google Cloud project id. config_id: The SSTRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py233Create a Spanner instance. Args: project_id: The Google Cloud project id. instance_id: The Spanner instanSTRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py290List Spanner databases within an instance. Args: project_id: The Google Cloud project id. instance_id: ThSTRING
HIGHsrc/google/adk/tools/spanner/admin_tool.py335Create a Spanner database. Args: project_id: The Google Cloud project id. instance_id: The Spanner instanSTRING
HIGH…ication_integration_tool/clients/connections_client.py106Retrieves the JSON schema for a given entity in a connection. Args: entity (str): The entity name. RetSTRING
HIGH…ication_integration_tool/clients/connections_client.py136Retrieves the input and output JSON schema for a given action in a connection. Args: action (str): The actiSTRING
HIGH…ication_integration_tool/clients/connections_client.py870Executes an API call to the given URL. Args: url (str): The URL to call. Returns: requests.ResSTRING
HIGH…ication_integration_tool/clients/connections_client.py914Polls an operation until it is done. Args: operation_id: The ID of the operation to poll. Returns: STRING
HIGHsrc/google/adk/tools/mcp_tool/session_context.py193Run a coroutine while monitoring the background session task. Races the given coroutine against the background taskSTRING
HIGHsrc/google/adk/tools/mcp_tool/mcp_session_manager.py834Creates an MCP client based on the connection parameters. Args: session_key: Optional session key for this STRING
HIGHsrc/google/adk/tools/mcp_tool/conversion_utils.py28Convert a Tool in ADK into MCP tool type. This function transforms an ADK tool definition into its equivalent repreSTRING
HIGHsrc/google/adk/tools/mcp_tool/conversion_utils.py64Converts a Gemini Schema object into a JSON Schema dictionary. Args: gemini_schema: An instance of the Gemini SSTRING
HIGHsrc/google/adk/tools/mcp_tool/mcp_tool.py515Extracts authentication headers from credentials. Args: tool_context: The tool context of the current invocSTRING
HIGH…ools/openapi_tool/openapi_spec_parser/rest_api_tool.py345Prepares the request parameters for the API call. Args: parameters: A list of ApiParameter objects represenSTRING
HIGHsrc/google/adk/tools/openapi_tool/auth/auth_helpers.py80Creates a AuthScheme and AuthCredential for API key or bearer token. Examples: ``` # API Key in header auth_schSTRING
HIGHsrc/google/adk/tools/openapi_tool/auth/auth_helpers.py211Constructs OpenID scheme and credential from configuration and credential dictionaries. Args: config_dict: DictSTRING
HIGHsrc/google/adk/tools/openapi_tool/auth/auth_helpers.py275Constructs OpenID scheme and credential from OpenID URL, scopes, and credential dictionary. Fetches OpenID configuratSTRING
HIGHsrc/google/adk/tools/openapi_tool/auth/auth_helpers.py430Converts a dictionary to a FastAPI AuthScheme object. Args: data: The dictionary representing the security scheSTRING
HIGH…uth/credential_exchangers/service_account_exchanger.py87Exchanges the service account credential for an ID token. Args: sa_config: The service account configuratioSTRING
HIGH…uth/credential_exchangers/service_account_exchanger.py137Exchanges the service account credential for an access token. Args: sa_config: The service account configurSTRING
HIGH…uth/credential_exchangers/base_credential_exchanger.py41Exchanges the provided authentication credential for a usable token/credential. Args: auth_scheme: The secuSTRING
HIGH…pi_tool/auth/credential_exchangers/oauth2_exchanger.py94Exchanges the OpenID Connect auth credential for an access token or an auth URI. Args: auth_scheme: The autSTRING
HIGH…google/adk/auth/exchanger/base_credential_exchanger.py51Exchange credential if needed. Args: auth_credential: The credential to exchange. auth_scheme: The STRING
HIGH…ogle/adk/auth/exchanger/oauth2_credential_exchanger.py56Exchange OAuth2 credential from authorization response. if credential exchange failed, the original credential willSTRING
HIGH…google/adk/auth/refresher/base_credential_refresher.py62Refreshes a credential if needed. Args: auth_credential: The credential to refresh. auth_scheme: ThSTRING
HIGHsrc/google/adk/plugins/plugin_manager.py280Executes a specific callback for all registered plugins. This private method iterates through the plugins and callsSTRING
73 more matches not shown…
Excessive Try-Catch Wrapping481 hits · 492 pts
SeverityFileLineSnippetContext
LOW…buting/samples/tools/output_schema_with_tools/agent.py68 except Exception as e:CODE
LOWcontributing/samples/tools/pydantic_argument/main.py98 except Exception as e:CODE
MEDIUM…buting/samples/adk_team/adk_pr_triaging_agent/utils.py93 print(f"Error: File not found: {file_path}.")CODE
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py148 except Exception as e:CODE
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py165 except Exception as e:CODE
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py172 except Exception as e:CODE
MEDIUM…ributing/samples/adk_team/adk_answering_agent/utils.py97 print(f"Error: Invalid GCS link format: {gcs_uri}")CODE
MEDIUM…ributing/samples/adk_team/adk_answering_agent/utils.py111 print(f"Error: Failed to parse GCS link '{gcs_uri}': {e}")CODE
MEDIUM…tributing/samples/adk_team/adk_answering_agent/main.py82 print(f"Error from GitHub API: {response['errors']}", file=sys.stderr)STRING
MEDIUM…tributing/samples/adk_team/adk_answering_agent/main.py179 print("Error: Discussion JSON missing 'number' field.", file=sys.stderr)CODE
MEDIUM…tributing/samples/adk_team/adk_answering_agent/main.py186 print(f"Error: File not found: {args.discussion_file}", file=sys.stderr)CODE
MEDIUM…tributing/samples/adk_team/adk_answering_agent/main.py189 print(f"Error: Invalid JSON in {source_desc}: {e}", file=sys.stderr)CODE
MEDIUM…g/samples/adk_team/adk_issue_formatting_agent/utils.py53 print(f"Error: File not found: {file_path}.")CODE
LOW…es/adk_team/adk_documentation/adk_docs_updater/main.py126 except Exception as e:STRING
LOWcontributing/samples/adk_team/adk_stale_agent/agent.py97 except Exception as e:CODE
LOWcontributing/samples/adk_team/adk_stale_agent/agent.py452 except Exception as e:STRING
LOWcontributing/samples/adk_team/adk_stale_agent/main.py88 except Exception as e:CODE
LOWcontributing/samples/adk_team/adk_stale_agent/main.py121 except Exception as e:CODE
LOWcontributing/samples/adk_team/adk_stale_agent/main.py191 except Exception as e:CODE
LOWcontributing/samples/adk_team/adk_pr_agent/agent.py66 except Exception as e: # pylint: disable=broad-exceptCODE
LOW…mples/environment_and_skills/skills_agent_gcs/agent.py57except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…tributing/samples/plugin/plugin_debug_logging/agent.py84 except Exception as e:CODE
LOWcontributing/samples/workflows/auth_oauth/agent.py111 except Exception as e:CODE
LOW…ing/samples/mcp/mcp_server_side_sampling/mcp_server.py61 except Exception as e:CODE
LOW…ples/mcp/mcp_streamablehttp_agent/filesystem_server.py96 except Exception as e:CODE
LOW…ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py84 except Exception as e:CODE
MEDIUM…ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py82 print(f"Error: mTLS cert files not found in {cert_dir}")CODE
LOW…ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py110 except Exception as e:CODE
LOW…ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py141 except Exception as e:CODE
LOWcontributing/samples/mcp/mcp_toolset_auth/main.py105 except Exception as e:CODE
LOWcontributing/samples/models/interactions_api/main.py306 except Exception:CODE
LOWcontributing/samples/models/interactions_api/main.py355 except Exception as e:CODE
LOW…g/samples/integrations/authn-adk-all-in-one/idp/app.py498 except Exception as e:CODE
LOW…g/samples/integrations/authn-adk-all-in-one/idp/app.py528 except Exception as e:CODE
LOW…g/samples/integrations/authn-adk-all-in-one/idp/app.py562 except Exception as e:CODE
MEDIUM…g/samples/integrations/authn-adk-all-in-one/idp/app.py484def admin_update_config():CODE
MEDIUM…g/samples/integrations/authn-adk-all-in-one/idp/app.py503def admin_add_user():CODE
MEDIUM…g/samples/integrations/authn-adk-all-in-one/idp/app.py533def admin_add_client():CODE
LOW…grations/authn-adk-all-in-one/hotel_booker_app/main.py145 except Exception as e:CODE
MEDIUM…tributing/samples/integrations/gcp_auth/client/main.py54 print(f"Error mounting /static: {e}")CODE
MEDIUM…tributing/samples/integrations/gcp_auth/client/main.py63 print(f"Error serving static/index.html: {e}")CODE
MEDIUM…tributing/samples/integrations/gcp_auth/client/main.py88 print(f"Error listing agents: {e}")CODE
MEDIUM…tributing/samples/integrations/gcp_auth/client/main.py262 print(f"Error processing auth wrapper: {e}")CODE
MEDIUM…tributing/samples/integrations/gcp_auth/client/main.py59def get_index():CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py53except Exception as e:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py62 except Exception as e:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py87 except Exception as e:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py105except Exception:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py142 except Exception as e:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py177 except Exception as e:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py217 except Exception:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py261 except Exception as e:CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py310 except Exception as e:CODE
MEDIUM…tributing/samples/integrations/gcp_auth/client/main.py413 print(f"Error calling FinalizeCredentials via HTTP: {e}")STRING
LOW…tributing/samples/integrations/gcp_auth/client/main.py412 except Exception as e:STRING
LOWcontributing/samples/integrations/data_agent/agent.py120 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWcontributing/samples/integrations/gepa/experiment.py181 except Exception as e:CODE
LOW…ibuting/samples/integrations/gepa/voter_agent/tools.py221 except Exception as e:CODE
LOW…ibuting/samples/integrations/gepa/voter_agent/tools.py303 except Exception as e:STRING
LOW…ations/oauth2_client_credentials/oauth2_test_server.py155 except Exception:CODE
421 more matches not shown…
Deep Nesting421 hits · 354 pts
SeverityFileLineSnippetContext
LOWcontributing/samples/core/artifacts/agent.py159CODE
LOWcontributing/samples/core/runner_debug_example/main.py132CODE
LOW…g/samples/adk_team/adk_issue_monitoring_agent/utils.py114CODE
LOW…g/samples/adk_team/adk_issue_monitoring_agent/agent.py46CODE
LOW…adk_answering_agent/upload_docs_to_vertex_ai_search.py54CODE
LOW…tributing/samples/adk_team/adk_answering_agent/main.py145CODE
LOW…adk_team/adk_answering_agent/gemini_assistant/agent.py30CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py157CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py304CODE
LOW…ntributing/samples/adk_team/adk_documentation/tools.py759CODE
LOWcontributing/samples/adk_team/adk_stale_agent/utils.py200CODE
LOWcontributing/samples/adk_team/adk_pr_agent/agent.py30CODE
LOW…les/patterns/context_offloading_with_artifact/agent.py53CODE
LOW…les/patterns/context_offloading_with_artifact/agent.py192CODE
LOWcontributing/samples/hitl/human_in_loop/main.py42CODE
LOWcontributing/samples/hitl/human_in_loop/main.py52CODE
LOW…cp/mcp_progress_callback_agent/mock_progress_server.py84CODE
LOWcontributing/samples/mcp/mcp_toolset_auth/main.py48CODE
LOW…uting/samples/models/litellm_inline_tool_call/agent.py96CODE
LOWcontributing/samples/models/interactions_api/main.py57CODE
LOW…g/samples/integrations/authn-adk-all-in-one/idp/app.py319CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py127CODE
LOW…tributing/samples/integrations/gcp_auth/client/main.py200CODE
LOWcontributing/samples/integrations/gepa/experiment.py49CODE
LOWcontributing/samples/integrations/gepa/rater_lib.py30CODE
LOWcontributing/samples/integrations/gepa/rater_lib.py90CODE
LOW…ting/samples/integrations/sandbox_computer_use/main.py51CODE
LOW…ng/samples/multimodal/static_non_text_content/agent.py55CODE
LOW…ributing/samples/multimodal/computer_use/playwright.py232CODE
LOW…/samples/live/live_bidi_streaming_tools_agent/agent.py51CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py397CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py437CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py209CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py319CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py493CODE
LOW…ve/live_agent_api_server_example/live_agent_example.py579CODE
LOW…ext_management/cache_analysis/run_cache_experiments.py541CODE
LOW…ting/samples/context_management/rewind_session/main.py56CODE
LOW…samples/context_management/static_instruction/agent.py142CODE
LOWtests/integration/conftest.py95CODE
LOW…tion/fixture/ecommerce_customer_service_agent/agent.py250CODE
LOW…tegration/integrations/agent_identity/test_3lo_flow.py141CODE
LOW…rations/agent_identity/test_agent_identity_3lo_flow.py132CODE
LOWtests/unittests/testing_utils.py139CODE
LOW…sts/unittests/tools/test_function_tool_declarations.py116CODE
LOW…s/unittests/tools/bigtable/test_bigtable_query_tool.py133CODE
LOW…s/unittests/tools/mcp_tool/test_mcp_session_manager.py640CODE
LOW…s/unittests/tools/mcp_tool/test_mcp_session_manager.py758CODE
LOW…s/unittests/tools/mcp_tool/test_mcp_session_manager.py1105CODE
LOW…s/unittests/tools/mcp_tool/test_mcp_session_manager.py1247CODE
LOW…sts/unittests/plugins/test_context_filtering_plugin.py222CODE
LOW…sts/unittests/plugins/test_context_filtering_plugin.py270CODE
LOW…sts/unittests/plugins/test_context_filtering_plugin.py318CODE
LOW…ttests/plugins/test_bigquery_agent_analytics_plugin.py2482CODE
LOW…ttests/plugins/test_bigquery_agent_analytics_plugin.py5778CODE
LOWtests/unittests/agents/test_llm_agent_interruptions.py67CODE
LOWtests/unittests/agents/test_base_agent.py452CODE
LOWtests/unittests/agents/test_base_agent.py513CODE
LOWtests/unittests/agents/test_model_callback_chain.py134CODE
LOWtests/unittests/agents/test_model_callback_chain.py196CODE
361 more matches not shown…
Structural Annotation Overuse88 hits · 165 pts
SeverityFileLineSnippetContext
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py161 # Step 1: Fetch MaintainersCOMMENT
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py169 # Step 2: Fetch target issuesCOMMENT
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py186 # Step 3: Iterate through issues async 'CONCURRENCY_LIMIT' at a timeCOMMENT
LOW…g/samples/adk_team/adk_issue_formatting_agent/agent.py163 ## Step 1: Identify Issue Type & ApplicabilityCOMMENT
LOW…g/samples/adk_team/adk_issue_formatting_agent/agent.py173 ## Step 2: Analyze the Issue ContentCOMMENT
LOW…g/samples/adk_team/adk_issue_formatting_agent/agent.py192 ## Step 3: Formulate and Post a Comment (If Necessary)COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py392 # Step 0: Ensure we are on the base branch and it's up to date.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py396 # Step 1: Create a new, unique branch from the base branch.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py402 # Step 2: Apply the file changes.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py423 # Step 3: Stage the changes.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py427 # Step 4: Commit the changes.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py431 # Step 5: Push the new branch to the remote repository.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py435 # Step 6: Create the pull request via GitHub API.COMMENT
LOWcontributing/samples/mcp/mcp_sse_mtls_agent/README.md28### Step 1: Start the MCP ServerCOMMENT
LOWcontributing/samples/mcp/mcp_sse_mtls_agent/README.md45### Step 2: Run the ADK Agent (Client)COMMENT
LOWtests/unittests/agents/test_context.py1028 # Step 1: Root runs (child of root_ctx)COMMENT
LOWtests/unittests/agents/test_context.py1037 # Step 2: Child runs (child of root_run_ctx)COMMENT
LOWtests/unittests/agents/test_context.py1046 # Step 3: Grandchild runs (child of child_run_ctx)COMMENT
LOWtests/unittests/agents/test_context.py1055 # Step 4: Child runs again (sibling of child_run_ctx, parent is root_run_ctx!)COMMENT
LOWtests/unittests/agents/test_context.py1064 # Step 5: Root runs again (sibling of root_run_ctx, parent is root_ctx!)COMMENT
LOWtests/unittests/agents/test_context.py1136 # Step 1: Root runs, transfers to childCOMMENT
LOWtests/unittests/agents/test_context.py1145 # Step 2: Child runs, transfers back to rootCOMMENT
LOWtests/unittests/agents/test_context.py1154 # Step 3: Root runs again, completesCOMMENT
LOWtests/unittests/models/test_litellm.py2882 # Step 1: Incoming litellm message with thought_signatureCOMMENT
LOWtests/unittests/models/test_litellm.py2899 # Step 2: Convert to ADK internal format (types.Content)COMMENT
LOWtests/unittests/models/test_litellm.py2904 # Step 3: Convert back to litellm formatCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py60 # Step 1: SetupCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py200 # Step 1: SetupCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py88 # Step 2: Run the first invocationCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py121 # Step 3: Run the second invocationCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py152 # Step 4: Resume the second invocation with function response.COMMENT
LOWtests/unittests/runners/test_resume_invocation.py224 # Step 2: Run the first invocation, which pauses on the long running function.COMMENT
LOWtests/unittests/runners/test_resume_invocation.py253 # Step 3: Run the second invocation, expect it to finish normally.COMMENT
LOWtests/unittests/runners/test_resume_invocation.py272 # Step 4: Run the third invocation, which also pauses on the long runningCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py291 # Step 5: Resume the first invocation with long running function response.COMMENT
LOW…ills/adk-agent-builder/references/human-in-the-loop.md164 # Step 1: Ask for nameCOMMENT
LOW…ills/adk-agent-builder/references/human-in-the-loop.md172 # Step 2: Ask for emailCOMMENT
LOW.agents/skills/adk-review/SKILL.md60### Step 1: Retrieve Local ChangesCOMMENT
LOW.agents/skills/adk-review/SKILL.md63### Step 2: Perform the Multi-Dimensional ReviewCOMMENT
LOW.agents/skills/adk-review/SKILL.md66### Step 3: Generate and Present a Review ReportCOMMENT
LOW.agents/skills/adk-review/SKILL.md75### Step 4: Present Findings and StopCOMMENT
LOWsrc/google/adk/runners.py1480 # Step 2: Otherwise continue with normal executionCOMMENT
LOWsrc/google/adk/runners.py1486 # Step 3: Run the on_event callbacks before persisting so callbackCOMMENT
LOWsrc/google/adk/runners.py1520 # Step 4: Run the after_run callbacks to perform global cleanup tasks orCOMMENT
LOWsrc/google/adk/runners.py1968 # Step 1: Create invocation context in memory.COMMENT
LOWsrc/google/adk/runners.py1975 # Step 2: Handle new message, by running callbacks and appending toCOMMENT
LOWsrc/google/adk/runners.py1984 # Step 3: Set agent to run for the invocation.COMMENT
LOWsrc/google/adk/runners.py2018 # Step 1: Maybe retrieve a previous user message for the invocation.COMMENT
LOWsrc/google/adk/runners.py2026 # Step 2: Create invocation context.COMMENT
LOWsrc/google/adk/runners.py2033 # Step 3: Maybe handle new message.COMMENT
LOWsrc/google/adk/runners.py2042 # Step 4: Populate agent states for the current invocation.COMMENT
LOWsrc/google/adk/runners.py2044 # Step 5: Set agent to run for the invocation.COMMENT
LOWsrc/google/adk/runners.py1460 # Step 1: Run the before_run callbacks to see if we should early exit.COMMENT
LOWsrc/google/adk/auth/credential_manager.py230 # Step 1: Validate credential configurationCOMMENT
LOWsrc/google/adk/auth/credential_manager.py233 # Step 2: Check if credential is already ready (no processing needed)COMMENT
LOWsrc/google/adk/auth/credential_manager.py240 # Step 3: Try to load existing processed credentialCOMMENT
LOWsrc/google/adk/auth/credential_manager.py243 # Step 4: If no existing credential, load from auth responseCOMMENT
LOWsrc/google/adk/auth/credential_manager.py251 # Step 5: If still no credential available, check if client credentialsCOMMENT
LOWsrc/google/adk/auth/credential_manager.py262 # Step 6: Exchange credential if needed (e.g., service account to access token)COMMENT
LOWsrc/google/adk/auth/credential_manager.py265 # Step 7: Refresh credential if expiredCOMMENT
28 more matches not shown…
Verbosity Indicators82 hits · 153 pts
SeverityFileLineSnippetContext
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py161 # Step 1: Fetch MaintainersCOMMENT
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py169 # Step 2: Fetch target issuesCOMMENT
LOW…ng/samples/adk_team/adk_issue_monitoring_agent/main.py186 # Step 3: Iterate through issues async 'CONCURRENCY_LIMIT' at a timeCOMMENT
LOW…g/samples/adk_team/adk_issue_formatting_agent/agent.py163 ## Step 1: Identify Issue Type & ApplicabilityCOMMENT
LOW…g/samples/adk_team/adk_issue_formatting_agent/agent.py173 ## Step 2: Analyze the Issue ContentCOMMENT
LOW…g/samples/adk_team/adk_issue_formatting_agent/agent.py192 ## Step 3: Formulate and Post a Comment (If Necessary)COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py392 # Step 0: Ensure we are on the base branch and it's up to date.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py396 # Step 1: Create a new, unique branch from the base branch.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py402 # Step 2: Apply the file changes.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py423 # Step 3: Stage the changes.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py427 # Step 4: Commit the changes.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py431 # Step 5: Push the new branch to the remote repository.COMMENT
LOW…ntributing/samples/adk_team/adk_documentation/tools.py435 # Step 6: Create the pull request via GitHub API.COMMENT
LOWtests/unittests/agents/test_context.py1028 # Step 1: Root runs (child of root_ctx)COMMENT
LOWtests/unittests/agents/test_context.py1037 # Step 2: Child runs (child of root_run_ctx)COMMENT
LOWtests/unittests/agents/test_context.py1046 # Step 3: Grandchild runs (child of child_run_ctx)COMMENT
LOWtests/unittests/agents/test_context.py1055 # Step 4: Child runs again (sibling of child_run_ctx, parent is root_run_ctx!)COMMENT
LOWtests/unittests/agents/test_context.py1064 # Step 5: Root runs again (sibling of root_run_ctx, parent is root_ctx!)COMMENT
LOWtests/unittests/agents/test_context.py1136 # Step 1: Root runs, transfers to childCOMMENT
LOWtests/unittests/agents/test_context.py1145 # Step 2: Child runs, transfers back to rootCOMMENT
LOWtests/unittests/agents/test_context.py1154 # Step 3: Root runs again, completesCOMMENT
LOWtests/unittests/models/test_litellm.py2882 # Step 1: Incoming litellm message with thought_signatureCOMMENT
LOWtests/unittests/models/test_litellm.py2899 # Step 2: Convert to ADK internal format (types.Content)COMMENT
LOWtests/unittests/models/test_litellm.py2904 # Step 3: Convert back to litellm formatCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py60 # Step 1: SetupCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py200 # Step 1: SetupCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py88 # Step 2: Run the first invocationCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py121 # Step 3: Run the second invocationCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py152 # Step 4: Resume the second invocation with function response.COMMENT
LOWtests/unittests/runners/test_resume_invocation.py224 # Step 2: Run the first invocation, which pauses on the long running function.COMMENT
LOWtests/unittests/runners/test_resume_invocation.py253 # Step 3: Run the second invocation, expect it to finish normally.COMMENT
LOWtests/unittests/runners/test_resume_invocation.py272 # Step 4: Run the third invocation, which also pauses on the long runningCOMMENT
LOWtests/unittests/runners/test_resume_invocation.py291 # Step 5: Resume the first invocation with long running function response.COMMENT
LOWtests/unittests/runners/test_run_tool_confirmation.py660 # Step 1:COMMENT
LOWtests/unittests/runners/test_run_tool_confirmation.py715 # Step 2:COMMENT
LOWsrc/google/adk/runners.py1480 # Step 2: Otherwise continue with normal executionCOMMENT
LOWsrc/google/adk/runners.py1486 # Step 3: Run the on_event callbacks before persisting so callbackCOMMENT
LOWsrc/google/adk/runners.py1520 # Step 4: Run the after_run callbacks to perform global cleanup tasks orCOMMENT
LOWsrc/google/adk/runners.py1968 # Step 1: Create invocation context in memory.COMMENT
LOWsrc/google/adk/runners.py1975 # Step 2: Handle new message, by running callbacks and appending toCOMMENT
LOWsrc/google/adk/runners.py1984 # Step 3: Set agent to run for the invocation.COMMENT
LOWsrc/google/adk/runners.py2018 # Step 1: Maybe retrieve a previous user message for the invocation.COMMENT
LOWsrc/google/adk/runners.py2026 # Step 2: Create invocation context.COMMENT
LOWsrc/google/adk/runners.py2033 # Step 3: Maybe handle new message.COMMENT
LOWsrc/google/adk/runners.py2042 # Step 4: Populate agent states for the current invocation.COMMENT
LOWsrc/google/adk/runners.py2044 # Step 5: Set agent to run for the invocation.COMMENT
LOWsrc/google/adk/runners.py1460 # Step 1: Run the before_run callbacks to see if we should early exit.COMMENT
LOWsrc/google/adk/auth/credential_manager.py230 # Step 1: Validate credential configurationCOMMENT
LOWsrc/google/adk/auth/credential_manager.py233 # Step 2: Check if credential is already ready (no processing needed)COMMENT
LOWsrc/google/adk/auth/credential_manager.py240 # Step 3: Try to load existing processed credentialCOMMENT
LOWsrc/google/adk/auth/credential_manager.py243 # Step 4: If no existing credential, load from auth responseCOMMENT
LOWsrc/google/adk/auth/credential_manager.py251 # Step 5: If still no credential available, check if client credentialsCOMMENT
LOWsrc/google/adk/auth/credential_manager.py262 # Step 6: Exchange credential if needed (e.g., service account to access token)COMMENT
LOWsrc/google/adk/auth/credential_manager.py265 # Step 7: Refresh credential if expiredCOMMENT
LOWsrc/google/adk/auth/credential_manager.py270 # Step 8: Save credential if it was modifiedCOMMENT
LOWsrc/google/adk/auth/credential_manager.py185 # Step 0: Handle CustomAuthScheme if presentCOMMENT
LOWsrc/google/adk/auth/auth_preprocessor.py65 # Step 1: Scan events for matching adk_request_credential function callsCOMMENT
LOWsrc/google/adk/auth/auth_preprocessor.py83 # Step 2: Store credentials. Merge credential_key from the originalCOMMENT
LOWsrc/google/adk/auth/auth_preprocessor.py99 # Step 3: Collect original function call IDs to resume, skippingCOMMENT
LOW…le/adk/cli/built_in_agents/tools/write_config_files.py179 # Step 1: Validate all configs before writing any filesCOMMENT
22 more matches not shown…
Hallucination Indicators15 hits · 150 pts
SeverityFileLineSnippetContext
CRITICAL…on_integration_tool/clients/test_connections_client.py627 google.oauth2.service_account.Credentials.from_service_account_info.assert_called_once_with(CODE
CRITICAL…sts/unittests/a2a/integration/test_client_server_v1.py724 item.status_update.status.message.parts.add().text = textCODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py130 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py162 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py203 self.manager.genai_client.aio.caches.create.assert_called_once()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py240 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py275 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py358 self.manager.genai_client.aio.caches.delete.assert_called_once_with(CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py625 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py649 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py665 self.manager.genai_client.aio.caches.create.assert_not_called()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py991 self.manager.genai_client.aio.caches.create.assert_called_once()CODE
CRITICAL…/unittests/agents/test_gemini_context_cache_manager.py1063 self.manager.genai_client.aio.caches.create.assert_called_once()CODE
CRITICALsrc/google/adk/cli/browser/chunk-TULSIPRQ.js10}`,s=$e(E,{schema:Ze})}r=s?.type??r,s?.alias&&(!a||a.text===t)&&(a={text:s.alias,wrap:a?.wrap,type:r});let c=this.state.CODE
CRITICALsrc/google/adk/cli/browser/chunk-4V3PIBXT.js40`+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):r.push(t);continue}if(e){let i="Infinite loop on bytCODE
Redundant / Tautological Comments92 hits · 135 pts
SeverityFileLineSnippetContext
LOW…ributing/samples/adk_team/adk_answering_agent/utils.py142 # Check if the generated link existsCOMMENT
LOW…ributing/samples/hitl/human_tool_confirmation/agent.py81 # Set require_confirmation to True or a callable to require userSTRING
LOW…uting/samples/mcp/mcp_toolset_auth/oauth_mcp_server.py105 # Check if this is an MCP requestCOMMENT
LOWcontributing/samples/models/interactions_api/main.py304 # Check if interactions attribute existsCOMMENT
LOWcontributing/samples/models/interactions_api/main.py316 # Check if interactions API is availableCOMMENT
LOWcontributing/samples/models/interactions_api/main.py365 # Check if interactions API is availableCOMMENT
LOW…ng/samples/multimodal/static_non_text_content/agent.py113 # Check if file already existsSTRING
LOW…ve/live_agent_api_server_example/live_agent_example.py298 if pya_output_stream_instance.is_active(): # Check if stream is activeCODE
LOWtests/unittests/test_optional_dependencies.py34# Check if we should run integration tests that require network/installCOMMENT
LOW…i_tool/openapi_spec_parser/test_openapi_spec_parser.py74 # Check if operationId is auto generated based on path and method.COMMENT
LOW…ntial_service/test_session_state_credential_service.py234 # Set exchanged_auth_credential to NoneCOMMENT
LOW…ntial_service/test_session_state_credential_service.py251 # Set credential_key to empty stringCOMMENT
LOWtests/unittests/a2a/converters/test_event_converter.py177 # Check if error_code is in the result - it should be there since we set itCOMMENT
LOWtests/unittests/cli/utils/test_agent_loader.py537 # Check if it's an LlmAgent before accessing model and instructionSTRING
LOWtests/unittests/cli/utils/test_agent_loader.py844 # Check if it's an LlmAgent before accessing model and instructionSTRING
LOWtests/unittests/cli/utils/test_cli_tools_click.py1631 # Check if log_to_tmp_folder was called with the correct log level object from `logging` moduleCOMMENT
LOW…ts/unittests/streaming/test_streaming_audio_storage.py90# # Check if artifacts were createdCOMMENT
LOWtests/unittests/workflow/test_function_node.py552 # Check if received_input contains Section objectsCOMMENT
LOWtests/unittests/workflow/test_function_node.py591 # Check if received_input contains Section objectsCOMMENT
LOWtests/unittests/evaluation/test_local_eval_service.py752 # Check if this is the specific cancel scope error we're testing forCOMMENT
LOW…ests/flows/llm_flows/test_progressive_sse_streaming.py773 # Check if this is a follow-up call (after function response)COMMENT
LOW…sts/unittests/flows/llm_flows/test_functions_simple.py559 # Check if the response has the expected structureCOMMENT
LOWscripts/check_new_py_files.sh34 # Check if file is not empty (happens if no new files)COMMENT
LOWscripts/db_migration.sh132 # Check if the first line is already the import statementCOMMENT
LOW.github/workflows/release-publish.yml47 # Check if this version matches the one in the v1 manifest to determine if it's a v1 releaseCOMMENT
LOWsrc/google/adk/tools/function_tool.py171 # Check if the target type is a Pydantic modelCOMMENT
LOWsrc/google/adk/tools/_google_credentials.py203 # Check if we have valid credentialsCOMMENT
LOWsrc/google/adk/tools/_google_credentials.py259 # Check if OAuth response is availableCOMMENT
LOW…/google/adk/tools/computer_use/computer_use_toolset.py137 # Check if it's a method defined in BaseComputer classCOMMENT
LOW…/google/adk/tools/computer_use/computer_use_toolset.py215 # Check if it's a method defined in Computer classCOMMENT
LOW…/google/adk/tools/computer_use/computer_use_toolset.py257 # Check if computer use is already configuredCOMMENT
LOWsrc/google/adk/tools/mcp_tool/mcp_session_manager.py930 # Check if we have an existing sessionCOMMENT
LOWsrc/google/adk/tools/mcp_tool/mcp_session_manager.py934 # Check if the existing session is still connected and bound toCOMMENT
LOW…penapi_tool/openapi_spec_parser/openapi_spec_parser.py311 # Check if we have a cached resolved valueCOMMENT
LOWsrc/google/adk/auth/auth_handler.py108 # Check if raw_auth_credential existsCOMMENT
LOWsrc/google/adk/auth/auth_handler.py115 # Check if oauth2 exists in raw_auth_credentialCOMMENT
LOW…/google/adk/plugins/bigquery_agent_analytics_plugin.py1291 # Check if it's already a valid JSON object or array to avoid double-encodingCOMMENT
LOWsrc/google/adk/a2a/executor/a2a_agent_executor_impl.py123 # Check if the user input is responding to the agent'sCOMMENT
LOWsrc/google/adk/agents/invocation_context.py475 # Check if there is a newer user event in the session that belongs to a sub-branch of this tool call.COMMENT
LOWsrc/google/adk/agents/run_config.py118 # Check if it's text (not function call)STRING
LOWsrc/google/adk/agents/run_config.py152 # Check if this is text (not a function call)STRING
LOWsrc/google/adk/utils/context_utils.py62 # Check if it's exactly the Context type (or an alias like ToolContext)COMMENT
LOWsrc/google/adk/utils/streaming_utils.py206 # Check if function call is completeCOMMENT
LOWsrc/google/adk/utils/streaming_utils.py222 # Check if this is a streaming FC (has partialArgs or will_continue=True)COMMENT
LOWsrc/google/adk/utils/streaming_utils.py285 # Check if we need to flush the current buffer firstCOMMENT
LOWsrc/google/adk/utils/cache_performance_analyzer.py66 # Check if event has cache metadata and optionally filter by agentCOMMENT
LOWsrc/google/adk/utils/feature_decorator.py99 # Check if usage should be bypassed via environment variable at call timeCOMMENT
LOWsrc/google/adk/utils/feature_decorator.py121 # Check if usage should be bypassed via environment variable at call timeCOMMENT
LOWsrc/google/adk/models/lite_llm.py964 # Check if thought signature is embedded in the tool call IDCOMMENT
LOWsrc/google/adk/models/lite_llm.py2557 # Check if warning should be suppressed via environment variableSTRING
LOWsrc/google/adk/models/registry.py164 # Check if it matches known patterns that require optional dependenciesCOMMENT
LOWsrc/google/adk/models/gemini_context_cache_manager.py75 # Check if we have existing cache metadata and if it's validCOMMENT
LOWsrc/google/adk/models/gemini_context_cache_manager.py223 # Check if cache has expiredCOMMENT
LOWsrc/google/adk/models/gemini_context_cache_manager.py228 # Check if cache has been used for too many invocationsCOMMENT
LOWsrc/google/adk/models/gemini_context_cache_manager.py241 # Check if fingerprint matches using cached contents countCOMMENT
LOWsrc/google/adk/models/gemini_context_cache_manager.py310 # Check if we have token count from previous response for cache size validationCOMMENT
LOWsrc/google/adk/models/google_llm.py525 # Check if computer use is configuredCOMMENT
LOWsrc/google/adk/models/apigee_llm.py218 # Check if computer use is configuredCOMMENT
LOWsrc/google/adk/cli/cli_eval.py285 # Check if all elements in the column are NOT NoneCOMMENT
LOWsrc/google/adk/cli/cli_tools_click.py1054 # Check if the first entry is a file that exists, if it does then we assumeCOMMENT
32 more matches not shown…
Modern Structural Boilerplate101 hits · 101 pts
SeverityFileLineSnippetContext
LOW…/samples/context_management/cache_analysis/__init__.py17__all__ = ['agent']CODE
LOW…ples/context_management/static_instruction/__init__.py29__all__ = ['agent']CODE
LOWtests/unittests/workflow/test_function_node.py967 def set_state_return_none(ctx: Context) -> None:CODE
LOWtests/unittests/telemetry/test_telemetry_context.py55def _set_env(monkeypatch: pytest.MonkeyPatch, **env: Optional[str]) -> None:CODE
LOWsrc/google/adk/__init__.py25__all__ = ["Agent", "Context", "Event", "Runner", "Workflow"]CODE
LOWsrc/google/adk/labs/antigravity/__init__.py26__all__ = [CODE
LOWsrc/google/adk/labs/openai/_openai_responses_llm.py76__all__ = [CODE
LOWsrc/google/adk/labs/openai/_openai_responses_llm.py212def _update_type_string(value: object) -> None:CODE
LOWsrc/google/adk/labs/openai/_openai_llm.py53__all__ = ["OpenAILlm"]CODE
LOWsrc/google/adk/labs/openai/__init__.py19__all__ = [CODE
LOWsrc/google/adk/artifacts/__init__.py27__all__ = [CODE
LOWsrc/google/adk/tools/bash_tool.py78def _set_resource_limits(policy: BashToolPolicy) -> None:CODE
LOWsrc/google/adk/tools/langchain_tool.py29__all__ = [CODE
LOWsrc/google/adk/tools/_function_parameter_parse_util.py203def _update_for_default_if_mldev(schema: types.Schema) -> None:CODE
LOWsrc/google/adk/tools/crewai_tool.py28__all__ = [CODE
LOWsrc/google/adk/tools/google_api_tool/__init__.py31__all__ = [CODE
LOWsrc/google/adk/tools/bigtable/__init__.py31__all__ = [CODE
LOWsrc/google/adk/tools/data_agent/__init__.py22__all__ = [CODE
LOWsrc/google/adk/tools/apihub_tool/__init__.py17__all__ = [CODE
LOWsrc/google/adk/tools/retrieval/__init__.py17__all__ = [CODE
LOWsrc/google/adk/tools/environment/__init__.py21__all__ = [CODE
LOWsrc/google/adk/tools/pubsub/__init__.py30__all__ = ["PubSubCredentialsConfig", "PubSubToolConfig", "PubSubToolset"]CODE
LOWsrc/google/adk/tools/spanner/__init__.py38__all__ = [CODE
LOW…gle/adk/tools/application_integration_tool/__init__.py18__all__ = [CODE
LOWsrc/google/adk/tools/environment_simulation/__init__.py17__all__ = ["EnvironmentSimulationFactory"]CODE
LOW…/adk/tools/agent_simulator/tool_connection_analyzer.py28__all__ = ["ToolConnectionAnalyzer"]CODE
LOW…le/adk/tools/agent_simulator/agent_simulator_engine.py28__all__ = ["AgentSimulatorEngine"]CODE
LOWsrc/google/adk/tools/agent_simulator/__init__.py26__all__ = ["AgentSimulatorFactory"]CODE
LOW…le/adk/tools/agent_simulator/agent_simulator_plugin.py28__all__ = ["AgentSimulatorPlugin"]CODE
LOW…e/adk/tools/agent_simulator/agent_simulator_factory.py28__all__ = ["AgentSimulatorFactory"]CODE
LOW…le/adk/tools/agent_simulator/agent_simulator_config.py58__all__ = [CODE
LOW…oogle/adk/tools/agent_simulator/tool_connection_map.py29__all__ = ["StatefulParameter", "ToolConnectionMap"]CODE
LOW…/agent_simulator/strategies/tool_spec_mock_strategy.py29__all__ = ["ToolSpecMockStrategy"]CODE
LOWsrc/google/adk/tools/agent_simulator/strategies/base.py28__all__ = ["MockStrategy"]CODE
LOWsrc/google/adk/tools/mcp_tool/__init__.py15__all__ = []CODE
LOWsrc/google/adk/tools/openapi_tool/__init__.py18__all__ = [CODE
LOW…adk/tools/openapi_tool/openapi_spec_parser/__init__.py25__all__ = [CODE
LOWsrc/google/adk/tools/openapi_tool/auth/__init__.py17__all__ = [CODE
LOW…ls/openapi_tool/auth/credential_exchangers/__init__.py20__all__ = [CODE
LOWsrc/google/adk/tools/openapi_tool/common/__init__.py17__all__ = [CODE
LOWsrc/google/adk/memory/__init__.py28__all__ = [CODE
LOWsrc/google/adk/auth/exchanger/__init__.py19__all__ = [CODE
LOWsrc/google/adk/auth/refresher/__init__.py19__all__ = [CODE
LOWsrc/google/adk/plugins/__init__.py28__all__ = [CODE
LOWsrc/google/adk/plugins/plugin_manager.py95 def set_skip_closing_plugins(self, value: bool) -> None:CODE
LOWsrc/google/adk/a2a/_compat.py216def set_part_metadata(p: Part, metadata: dict[str, Any]) -> None:CODE
LOWsrc/google/adk/a2a/_compat.py1032def set_event_metadata(event: Any, metadata: dict[str, Any]) -> None:CODE
LOWsrc/google/adk/a2a/_compat.py1082def set_struct_metadata(obj: Any, metadata: dict[str, Any]) -> None:CODE
LOWsrc/google/adk/a2a/agent/__init__.py19__all__ = [CODE
LOWsrc/google/adk/a2a/executor/interceptors/__init__.py17__all__ = [CODE
LOWsrc/google/adk/platform/time.py29def set_time_provider(provider: Callable[[], float]) -> None:CODE
LOWsrc/google/adk/platform/uuid.py29def set_id_provider(provider: Callable[[], str]) -> None:CODE
LOWsrc/google/adk/features/__init__.py22__all__ = [CODE
LOWsrc/google/adk/agents/remote_a2a_agent.py73__all__ = [CODE
LOWsrc/google/adk/agents/base_agent.py54__all__ = ['BaseAgentConfig']CODE
LOWsrc/google/adk/agents/__init__.py40__all__ = [CODE
LOWsrc/google/adk/agents/llm_agent.py645 def set_default_model(cls, model: Union[str, BaseLlm]) -> None:CODE
LOWsrc/google/adk/agents/llm_agent.py662 def set_default_live_model(cls, model: Union[str, BaseLlm]) -> None:CODE
LOWsrc/google/adk/agents/config_agent_utils.py89def _set_enforce_yaml_key_denylist(value: bool) -> None:CODE
LOWsrc/google/adk/agents/config_agent_utils.py211def _set_enforce_denylist(value: bool) -> None:CODE
41 more matches not shown…
Fake / Example Data91 hits · 98 pts
SeverityFileLineSnippetContext
LOW…tools/pydantic_argument/tests/test_create_company.json27 "company_name": "Acme Corp",CODE
LOW…tools/pydantic_argument/tests/test_create_company.json59 "company_name": "Acme Corp",CODE
LOWcontributing/samples/workflows/auth_api_key/README.md49 api_key='placeholder',CODE
LOWcontributing/samples/workflows/auth_api_key/agent.py45 api_key='placeholder',CODE
LOW…tributing/samples/workflows/auth_api_key/tests/go.json35 "apiKey": "placeholder",CODE
LOW…ributing/samples/workflows/agent_in_workflow/README.md11 - If the name is anything other than "Jane Doe", it yields a `retry` route, sending the user back to the `intake_agenCODE
LOW…ributing/samples/workflows/agent_in_workflow/README.md12 - If the name is "Jane Doe", it routes to the `generate_instruction` agent.CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json38 "text": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json55 "name": "John Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json56 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json87 "name": "John Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json88 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json151 "name": "Jane Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json152 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json183 "name": "Jane Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/wrong_name.json184 "phone_number": "555-1234"CODE
LOW…es/workflows/agent_in_workflow/tests/phone_number.json38 "text": "Jane Doe"CODE
LOW…es/workflows/agent_in_workflow/tests/phone_number.json55 "name": "Jane Doe",CODE
LOW…es/workflows/agent_in_workflow/tests/phone_number.json56 "phone_number": "555-1234"CODE
LOW…es/workflows/agent_in_workflow/tests/phone_number.json87 "name": "Jane Doe",CODE
LOW…es/workflows/agent_in_workflow/tests/phone_number.json88 "phone_number": "555-1234"CODE
LOW…amples/workflows/agent_in_workflow/tests/jane_doe.json38 "text": "555-1234"CODE
LOW…amples/workflows/agent_in_workflow/tests/jane_doe.json55 "name": "Jane Doe",CODE
LOW…amples/workflows/agent_in_workflow/tests/jane_doe.json56 "phone_number": "555-1234"CODE
LOW…amples/workflows/agent_in_workflow/tests/jane_doe.json87 "name": "Jane Doe",CODE
LOW…amples/workflows/agent_in_workflow/tests/jane_doe.json88 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_approve.json38 "text": "Jane Doe"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_approve.json67 "text": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_approve.json84 "name": "Jane Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/go_approve.json85 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_approve.json116 "name": "Jane Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/go_approve.json117 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_decline.json38 "text": "Jane Doe"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_decline.json67 "text": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_decline.json84 "name": "Jane Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/go_decline.json85 "phone_number": "555-1234"CODE
LOW…ples/workflows/agent_in_workflow/tests/go_decline.json116 "name": "Jane Doe",CODE
LOW…ples/workflows/agent_in_workflow/tests/go_decline.json117 "phone_number": "555-1234"CODE
LOW…agent_in_workflow/tests/jane_doe_and_phone_number.json26 "name": "Jane Doe",CODE
LOW…agent_in_workflow/tests/jane_doe_and_phone_number.json27 "phone_number": "555-1234"CODE
LOW…agent_in_workflow/tests/jane_doe_and_phone_number.json58 "name": "Jane Doe",CODE
LOW…agent_in_workflow/tests/jane_doe_and_phone_number.json59 "phone_number": "555-1234"CODE
LOW…ons/authn-adk-all-in-one/hotel_booker_app/openapi.yaml145 example: "John Doe"CODE
LOW…ons/authn-adk-all-in-one/hotel_booker_app/openapi.yaml226 example: "John Doe"CODE
LOW…all-in-one/adk_agents/agent_openapi_tools/openapi.yaml145 example: "John Doe"CODE
LOW…all-in-one/adk_agents/agent_openapi_tools/openapi.yaml226 example: "John Doe"CODE
LOW…ntributing/samples/integrations/gepa/adk_agent_test.py328 mock.user_id = "fake-user=id"CODE
LOWtests/integration/test_system_instruction.py93 "customerJson": {"name": "John Doe", "age": 30, "count": 11.1},STRING
LOWtests/unittests/test_samples.py152 "GOOGLE_API_KEY": "dummy-key",CODE
LOWtests/unittests/test_samples.py153 "GEMINI_API_KEY": "dummy-key",CODE
LOWtests/unittests/test_samples.py156 "OPENAI_API_KEY": "dummy-key",CODE
LOWtests/unittests/test_samples.py157 "ANTHROPIC_API_KEY": "dummy-key",CODE
LOWtests/unittests/test_samples.py158 "GITHUB_TOKEN": "dummy-token",CODE
LOWtests/unittests/test_samples.py236 self.token: str | None = "dummy-token"CODE
LOWtests/unittests/test_samples.py239 self.token = "dummy-token"CODE
LOWtests/unittests/labs/openai/test_openai_llm.py91 inline_data=types.Blob(data=b"fake_data", mime_type="image/png")CODE
LOW…ts/unittests/tools/test_forwarding_artifact_service.py127 self.user_id = "fake_user"CODE
LOW…ts/unittests/tools/test_forwarding_artifact_service.py188 ("fake_app", "fake_user", "test.txt", "fake_session_id")CODE
LOW…ts/unittests/tools/test_forwarding_artifact_service.py218 ("fake_app", "fake_user", "test.txt", "fake_session_id")CODE
LOW…ts/unittests/tools/test_forwarding_artifact_service.py250 ("fake_app", "fake_user", "test.txt", "fake_session_id")CODE
31 more matches not shown…
Dead Code46 hits · 91 pts
SeverityFileLineSnippetContext
MEDIUM…unittests/plugins/test_notification_error_callbacks.py55CODE
MEDIUM…unittests/plugins/test_notification_error_callbacks.py68CODE
MEDIUM…unittests/plugins/test_notification_error_callbacks.py75CODE
MEDIUM…unittests/plugins/test_notification_error_callbacks.py289CODE
MEDIUM…unittests/plugins/test_notification_error_callbacks.py294CODE
MEDIUMtests/unittests/agents/test_managed_agent.py540CODE
MEDIUMtests/unittests/agents/test_managed_agent.py571CODE
MEDIUMtests/unittests/agents/test_managed_agent.py799CODE
MEDIUMtests/unittests/agents/test_parallel_agent.py392CODE
MEDIUMtests/unittests/cli/test_fast_api.py1691CODE
MEDIUMtests/unittests/cli/test_fast_api.py2874CODE
MEDIUMtests/unittests/cli/test_trigger_routes.py101CODE
MEDIUMtests/unittests/cli/test_trigger_routes.py140CODE
MEDIUMtests/unittests/cli/test_trigger_routes.py915CODE
MEDIUMtests/unittests/streaming/test_multi_agent_streaming.py175CODE
MEDIUMtests/unittests/integrations/slack/test_slack_runner.py135CODE
MEDIUMtests/unittests/workflow/test_workflow_failures.py1043CODE
MEDIUMtests/unittests/workflow/test_node_runner_ctx.py119CODE
MEDIUMtests/unittests/workflow/test_node_runner_ctx.py440CODE
MEDIUMtests/unittests/workflow/test_node_runner_ctx.py460CODE
MEDIUM…sts/unittests/workflow/test_node_runner_integration.py55CODE
MEDIUM…sts/unittests/workflow/test_node_runner_integration.py114CODE
MEDIUMtests/unittests/workflow/test_workflow.py1402CODE
MEDIUMtests/unittests/workflow/test_dynamic_use_as_output.py155CODE
MEDIUMtests/unittests/evaluation/test_evaluation_generator.py771CODE
MEDIUMtests/unittests/evaluation/test_evaluation_generator.py861CODE
MEDIUMtests/unittests/runners/test_runner_node.py184CODE
MEDIUMtests/unittests/runners/test_runner_node.py761CODE
MEDIUMsrc/google/adk/agents/remote_a2a_agent.py832CODE
MEDIUMsrc/google/adk/agents/base_agent.py384CODE
MEDIUMsrc/google/adk/agents/base_agent.py400CODE
MEDIUMsrc/google/adk/agents/parallel_agent.py242CODE
MEDIUMsrc/google/adk/agents/loop_agent.py167CODE
MEDIUMsrc/google/adk/models/base_llm.py150CODE
MEDIUMsrc/google/adk/workflow/_node.py246CODE
MEDIUMsrc/google/adk/workflow/_base_node.py196CODE
MEDIUMsrc/google/adk/workflow/_workflow.py264CODE
MEDIUMsrc/google/adk/flows/llm_flows/instructions.py133CODE
MEDIUM…google/adk/flows/llm_flows/_output_schema_processor.py67CODE
MEDIUMsrc/google/adk/flows/llm_flows/_base_llm_processor.py41CODE
MEDIUMsrc/google/adk/flows/llm_flows/_base_llm_processor.py53CODE
MEDIUM…c/google/adk/flows/llm_flows/interactions_processor.py124CODE
MEDIUMsrc/google/adk/flows/llm_flows/basic.py160CODE
MEDIUMsrc/google/adk/flows/llm_flows/compaction.py55CODE
MEDIUM…/google/adk/flows/llm_flows/context_cache_processor.py92CODE
MEDIUMsrc/google/adk/flows/llm_flows/agent_transfer.py69CODE
Cross-Language Confusion14 hits · 85 pts
SeverityFileLineSnippetContext
HIGH…ttests/plugins/test_bigquery_agent_analytics_plugin.py301 assert table.schema.equals(CODE
HIGHtests/unittests/utils/test_schema_utils.py127 json_text = '{"name": "test", "optional_field": null}'CODE
HIGHtests/unittests/models/test_completions_http_client.py693 ' "Hello"}, "finish_reason": null}]}\n'CODE
HIGHtests/unittests/models/test_completions_http_client.py702 ' "Hello"}, "finish_reason": null}]}\n'CODE
HIGHtests/unittests/models/test_completions_http_client.py716 ' "Hello"}, "finish_reason": null}]}\n'CODE
HIGHtests/unittests/models/test_completions_http_client.py730 ' "Hello"}, "finish_reason": null}]}\n'CODE
HIGHtests/unittests/evaluation/test_eval_config.py217 ' "userSimulatorConfig": {"type": null, "model": "explicit-null"}}'CODE
HIGHtests/unittests/telemetry/test_spans.py1254 ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description'CODE
HIGHtests/unittests/telemetry/test_spans.py1256 ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","descCODE
HIGHtests/unittests/telemetry/test_spans.py1263 ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description'CODE
HIGHtests/unittests/telemetry/test_spans.py1265 ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","descCODE
HIGHtests/unittests/telemetry/test_spans.py1266 ' standalone mcp tool","parameters":null,"type":"function"}]'CODE
HIGH…/google/adk/plugins/bigquery_agent_analytics_plugin.py2322 # null (the {agent_state: null, end_of_agent: true} shape),COMMENT
HIGH…/google/adk/plugins/bigquery_agent_analytics_plugin.py121 Order is fixed: (1) None → null; (2) node-shape (``name@run_id`` orSTRING
Magic Placeholder Names16 hits · 82 pts
SeverityFileLineSnippetContext
HIGHcontributing/samples/tools/pydantic_argument/README.md83 export GOOGLE_GENAI_API_KEY="your-api-key"CODE
HIGH…ntributing/samples/core/runner_debug_example/README.md28export GOOGLE_API_KEY="your-api-key"CODE
HIGH…ntributing/samples/core/runner_debug_example/README.md212 export GOOGLE_API_KEY="your-api-key"CODE
HIGH…s/environment_and_skills/daytona_environment/README.md31 export DAYTONA_API_KEY="your-api-key"CODE
HIGH…mples/environment_and_skills/e2b_environment/README.md34 export E2B_API_KEY="your-api-key"CODE
HIGHcontributing/samples/models/interactions_api/README.md46export GOOGLE_API_KEY=your-api-keyCODE
HIGH…tributing/samples/models/hello_world_apigeellm/main.py106 # GOOGLE_API_KEY="your-api-key"COMMENT
HIGH…g/samples/integrations/files_retrieval_agent/README.md34export GOOGLE_API_KEY="your-api-key"CODE
HIGHcontributing/samples/integrations/gcp_auth/README.md54 --api-key=YOUR_API_KEYCODE
HIGH…uting/samples/integrations/antigravity_agent/README.md21- Set a Gemini API key: `export GEMINI_API_KEY="your-api-key"`CODE
HIGH…ting/samples/integrations/crewai_tool_kwargs/README.md43export GOOGLE_API_KEY="your-api-key-here"CODE
HIGH…ting/samples/integrations/crewai_tool_kwargs/README.md45export GOOGLE_GENAI_API_KEY="your-api-key-here"CODE
HIGHtests/integration/fixture/bigquery_agent/README.md9 export GOOGLE_API_KEY=<your_api_key>CODE
HIGHtests/integration/fixture/bigquery_agent/README.md38 export GOOGLE_API_KEY=<your_api_key>CODE
HIGH…skills/adk-agent-builder/references/getting-started.md50GOOGLE_API_KEY=YOUR_API_KEYCODE
HIGHsrc/google/adk/labs/antigravity/README.md21export GEMINI_API_KEY="your-api-key"CODE
Modern AI Meta-Vocabulary21 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md105# Web UI (supports multi-agent directories or pointing directly to a single agent folder)COMMENT
MEDIUM…g/samples/multi_agent/multi_agent_llm_config/README.md1# Config-based Agent Sample - LLM multi-agentCOMMENT
MEDIUM…k_team/adk_documentation/adk_release_analyzer/agent.py572# Pipeline Agent: Sequential orchestration of the analysisSTRING
MEDIUM…uting/samples/integrations/spanner_rag_agent/README.md1# Spanner Tools RAG Agent SampleCOMMENT
MEDIUM…uting/samples/integrations/spanner_rag_agent/README.md114## 🤖 How to use the sample RAG agent built on SpannerCOMMENT
MEDIUMcontributing/samples/integrations/gepa/adk_agent.py244 # We use an agent loop to orchestrate the llm-agent and the environmentCOMMENT
MEDIUM…g/samples/legacy_workflows/workflow_agent_seq/agent.py97# This agent orchestrates the pipeline by running the sub_agents in order.STRING
MEDIUMtests/unittests/a2a/utils/test_agent_card_builder.py378 # Only the primary skill, no orchestration skill since no child nodes.COMMENT
MEDIUM…sts/unittests/streaming/test_live_streaming_configs.py607 # Create run config with context window compressionCOMMENT
MEDIUM…unittests/flows/llm_flows/test_contents_other_agent.py392 # Create a multi-agent conversationCOMMENT
MEDIUMtests/unittests/flows/llm_flows/test_contents.py155 # Create multi-agent conversation where current turn starts from userCOMMENT
MEDIUMdocs/guides/agents/managed_agent/index.md130### Tool encapsulation for orchestrationCOMMENT
MEDIUMscripts/curate_changelog.py67# scaffold to fill in by hand. Mirrors the format the model is asked to produce.COMMENT
MEDIUMsrc/google/adk/tools/skill_toolset.py373 # paths so the guard fires even when the LLM hallucinates a different pathCOMMENT
MEDIUMsrc/google/adk/tools/skill_toolset.py914 # paths so the guard fires even when the LLM hallucinates a differentCOMMENT
MEDIUM…/google/adk/tools/retrieval/vertex_ai_rag_retrieval.py67 # Use Gemini built-in Vertex AI RAG tool for Gemini 2 models.COMMENT
MEDIUMsrc/google/adk/tools/spanner/search_tool.py39# to inferencing with Vertex AI embedding model endpoint.COMMENT
MEDIUMsrc/google/adk/tools/spanner/search_tool.py586 # Get the embedding model settings.STRING
MEDIUMsrc/google/adk/cli/api_server.py620 # Set up HTTPX and gRPC instrumentation for A2A multi-agent observability.COMMENT
MEDIUMsrc/google/adk/cli/utils/_nested_agent_loader.py95 # Force multi-agent (nested) mode even if the root directory itselfCOMMENT
MEDIUMsrc/google/adk/workflow/_workflow.py207 # --- _run_impl: the orchestration loop ---COMMENT
AI Slop Vocabulary30 hits · 60 pts
SeverityFileLineSnippetContext
LOW…ributing/samples/tools/long_running_functions/agent.py29 # Here we just return a status.COMMENT
LOW…tributing/samples/integrations/gcp_auth/client/main.py342 # For this example, we'll just return an error message to the user and 200 OK.COMMENT
MEDIUM…ing/samples/context_management/cache_analysis/agent.py178 """Generate comprehensive test scenarios for system validation.STRING
MEDIUM…ing/samples/context_management/cache_analysis/agent.py339 # Simulate comprehensive performance optimization analysisCOMMENT
MEDIUM…ing/samples/context_management/cache_analysis/agent.py372 """Perform comprehensive security vulnerability analysis and risk assessment.STRING
MEDIUM…ing/samples/context_management/cache_analysis/agent.py461 """Design comprehensive scalability architecture for anticipated growth.STRING
MEDIUM…ing/samples/context_management/cache_analysis/agent.py565 """Perform comprehensive performance benchmarking and analysis.STRING
LOWtests/integration/test_tools.py169 # For non relevant query, the agent should still be running fine, just returnCOMMENT
MEDIUM…gration/fixture/flow_complex_spark/sample.session.json124 "text": "## Flooding in Florida: A Comprehensive Analysis of Causes, Impacts, and Mitigation Strategies\n\n*CODE
MEDIUM…gration/fixture/flow_complex_spark/sample.session.json124 "text": "## Flooding in Florida: A Comprehensive Analysis of Causes, Impacts, and Mitigation Strategies\n\n*CODE
MEDIUM…s/unittests/labs/antigravity/test_antigravity_agent.py89 # The harness replays steps 0-1 (prior turn) then emits step 2 (this turn).COMMENT
MEDIUMtests/unittests/tools/test_google_tool.py298 # as the expected config. Comparing the __dict__ is a robustCOMMENT
LOWtests/unittests/a2a/executor/test_a2a_agent_executor.py467 # For testing, we'll just return the mock runnerCOMMENT
MEDIUM…sts/unittests/utils/test_cache_performance_analyzer.py191 """Test comprehensive analysis with cache data and token metrics."""STRING
MEDIUMtests/unittests/streaming/test_streaming.py40 """A robust runner for streaming tests that avoids resource leaks."""STRING
MEDIUMtests/unittests/telemetry/test_telemetry_context.py608# implementation-detail span attributes) gives a robust signal: either theCOMMENT
MEDIUM.agents/skills/adk-verify-snippets/scripts/run.py76 # when run.py is imported in-process (e.g. from a test harness) ratherCOMMENT
MEDIUM.agents/skills/adk-verify-snippets/scripts/verify_md.py35# Using exit codes (not string/emoji matching) makes classification robust toCOMMENT
MEDIUMsrc/google/adk/labs/antigravity/_antigravity_agent.py119 # Resume only when a trajectory already exists; the harness errors if aCOMMENT
MEDIUMsrc/google/adk/labs/antigravity/_antigravity_agent.py124 # On resume the harness replays the whole trajectory; skip steps alreadyCOMMENT
MEDIUMsrc/google/adk/labs/antigravity/_antigravity_agent.py158 # On a fresh turn the harness wrote traj-<random>; rename it to ourCOMMENT
MEDIUMsrc/google/adk/utils/yaml_utils.py107 width=1000000, # Essentially disable text wrapsCODE
MEDIUM…le/adk/cli/built_in_agents/tools/write_config_files.py62 """Write multiple YAML configurations with comprehensive validation-before-write.STRING
MEDIUMsrc/google/adk/cli/conformance/_replay_validators.py105 # Compare events using model dumps with comprehensive exclude dictCOMMENT
MEDIUMsrc/google/adk/cli/conformance/_replay_validators.py147 """Compare actual session with recorded session using comprehensive exclude list.STRING
MEDIUMsrc/google/adk/cli/conformance/_replay_validators.py166 # Compare sessions using model dumps with comprehensive exclude dictCOMMENT
MEDIUMsrc/google/adk/workflow/_function_node.py98 """Cached version of typing.get_type_hints with robust unwrapping."""STRING
LOWsrc/google/adk/evaluation/final_response_match_v2.py220 # If no results were successfully evaluated, just return the first sample.STRING
LOWsrc/google/adk/evaluation/response_evaluator.py83 # If the metric is response_match_score, just use the RougeEvaluator.COMMENT
MEDIUMsrc/google/adk/events/event_actions.py96 # `exclude`/`include` directives, e.g. the conformance harness excludingCOMMENT
Slop Phrases23 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUM…ls/hello_world_litellm_add_function_to_prompt/agent.py64 # enable function calling, you can add functions to the models, and theCOMMENT
MEDIUM…g/samples/integrations/authn-adk-all-in-one/idp/app.py66# A simple user registry for demonstration purposesCOMMENT
LOW…buting/samples/integrations/spanner_rag_agent/agent.py46 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOW…buting/samples/integrations/spanner_rag_agent/agent.py46 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/bigtable/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/bigtable/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/data_agent/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/data_agent/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/bigquery/agent.py57 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/bigquery/agent.py57 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/gcs_admin/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/gcs_admin/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/pubsub/agent.py49 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/pubsub/agent.py49 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/spanner/agent.py57 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/spanner/agent.py57 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOW…ntributing/samples/integrations/spanner_admin/agent.py42 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOW…ntributing/samples/integrations/spanner_admin/agent.py42 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
MEDIUM…ing/samples/integrations/oauth_calendar_agent/agent.py45 # you can also replace below customized `list_calendar_events` with build-inCOMMENT
LOWcontributing/samples/integrations/gcs/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWcontributing/samples/integrations/gcs/agent.py48 # If this flow is enabled, make sure to replace the file path with your ownCOMMENT
LOWsrc/google/adk/tools/__init__.py49# If you are adding a new tool to this file, please make sure you add it to theCOMMENT
LOWsrc/google/adk/cli/api_server.py608 # Currently the instrumentation lib is in extras dependencies, make sure toCOMMENT
Overly Generic Function Names34 hits · 32 pts
SeverityFileLineSnippetContext
LOW…sts/unittests/tools/test_function_tool_declarations.py325 def process_data(data: dict[str, Any]) -> str:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py31 def test_function(param: str):CODE
LOW…sts/unittests/tools/test_from_function_with_options.py49 def test_function(param: str):CODE
LOW…sts/unittests/tools/test_from_function_with_options.py69 def test_function(param: str) -> None:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py88 def test_function(param: str) -> None:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py106 def test_function(param: str) -> str:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py125 def test_function(param: str) -> Dict[str, str]:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py144 def test_function(param: str) -> int:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py163 def test_function(param: Any) -> Any:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py183 def test_function() -> None:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py205 def test_function(CODE
LOW…sts/unittests/tools/test_from_function_with_options.py236 def test_function(CODE
LOW…sts/unittests/tools/test_from_function_with_options.py261 def test_function(CODE
LOW…sts/unittests/tools/test_from_function_with_options.py282 def test_function(CODE
LOW…sts/unittests/tools/test_from_function_with_options.py300 async def test_function(param: str) -> AsyncGenerator[str, None]:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py319 async def test_function(param: str) -> AsyncGenerator[str, None]:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py337 def test_function(param: str) -> Generator[int, None, None]:CODE
LOW…sts/unittests/tools/test_from_function_with_options.py356 async def test_function(param: str) -> AsyncGenerator[Dict[str, str], None]:CODE
LOWtests/unittests/tools/test_base_toolset.py264 def test_function(param1: str, param2: int) -> str:CODE
LOWtests/unittests/tools/test_base_toolset.py293 def test_function(param: str) -> str:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py30 def test_function(_param: str) -> None:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py49 def test_function(_param: str) -> None:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py67 def test_function(_param: str) -> str:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py86 def test_function(_param: str) -> int:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py105 def test_function(_param: str) -> Dict[str, str]:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py124 def test_function(_param: Any) -> Any:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py144 def test_function(str_param: str, int_param: int, any_param: Any) -> str:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py165 def test_function(file_patterns: list[str] | None = None) -> None:CODE
LOW…ts/tools/test_function_tool_with_import_annotations.py185 def test_function() -> str:CODE
LOW…sts/unittests/tools/test_build_function_declaration.py563 def process_data(data: dict[str, str]) -> str:CODE
LOWtests/unittests/tools/test_long_running_tool.py148 def test_function():CODE
LOWtests/unittests/plugins/test_auto_tracing_plugin.py235 def helper():CODE
LOW…ests/code_executors/test_unsafe_local_code_executor.py111 def helper(name):CODE
LOWsrc/google/adk/tools/tool_configs.py100 def my_function(args: ToolArgsConfig) -> BaseTool:STRING
AI Structural Patterns29 hits · 28 pts
SeverityFileLineSnippetContext
LOWcontributing/samples/integrations/gepa/experiment.py262CODE
LOWsrc/google/adk/runners.py201CODE
LOW…google/adk/tools/google_api_tool/google_api_toolset.py61CODE
LOWsrc/google/adk/tools/apihub_tool/apihub_toolset.py60CODE
LOW…on_integration_tool/application_integration_toolset.py86CODE
LOWsrc/google/adk/tools/mcp_tool/mcp_toolset.py96CODE
LOW…ls/openapi_tool/openapi_spec_parser/openapi_toolset.py67CODE
LOWsrc/google/adk/a2a/_compat.py430CODE
LOWsrc/google/adk/a2a/utils/agent_to_a2a.py78CODE
LOW…e/adk/optimization/gepa_root_agent_prompt_optimizer.py187CODE
LOWsrc/google/adk/agents/remote_a2a_agent.py134CODE
LOWsrc/google/adk/agents/context.py125CODE
LOWsrc/google/adk/agents/context.py481CODE
LOWsrc/google/adk/cli/cli_deploy.py645CODE
LOWsrc/google/adk/cli/cli_deploy.py851CODE
LOWsrc/google/adk/cli/cli_deploy.py1258CODE
LOWsrc/google/adk/cli/cli_tools_click.py724CODE
LOWsrc/google/adk/cli/cli_tools_click.py1780CODE
LOWsrc/google/adk/cli/cli_tools_click.py1920CODE
LOWsrc/google/adk/cli/cli_tools_click.py2452CODE
LOWsrc/google/adk/cli/fast_api.py403CODE
LOWsrc/google/adk/cli/api_server.py957CODE
LOWsrc/google/adk/cli/cli.py400CODE
LOWsrc/google/adk/cli/cli.py549CODE
LOWsrc/google/adk/integrations/vmaas/sandbox_computer.py86CODE
LOWsrc/google/adk/workflow/_node.py47CODE
LOWsrc/google/adk/workflow/_node.py64CODE
LOWsrc/google/adk/workflow/_node.py79CODE
LOW…c/google/adk/code_executors/vertex_ai_code_executor.py227CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/db_migration.sh21# Usage:COMMENT