Repository Analysis

GoogleCloudPlatform/generative-ai

Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform

9.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of GoogleCloudPlatform/generative-ai, a Jupyter Notebook project with 17,635 GitHub stars. SynthScan v2.0 examined 482,734 lines of code across 1709 source files, recording 3001 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 9.4 places this repository in the Low 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).

9.4
Adjusted Score
9.4
Raw Score
100%
Time Factor
2026-08-27
Last Push
17.6K
Stars
Jupyter Notebook
Language
482.7K
Lines of Code
1.7K
Files
3.0K
Pattern Hits
2026-08-29
Scan Date
0.12
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 4HIGH 200MEDIUM 578LOW 2219

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 3001 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators359 hits · 1080 pts
SeverityFileLineSnippetContext
MEDIUM…/multimodal-live-api/livekit-adk/app/livekit_bridge.py215 # ==============================================================COMMENT
MEDIUM…/multimodal-live-api/livekit-adk/app/livekit_bridge.py217 # ==============================================================COMMENT
MEDIUMgemini/multimodal-live-api/livekit-adk/app/main.py45# ========================================COMMENT
MEDIUMgemini/multimodal-live-api/livekit-adk/app/main.py47# ========================================COMMENT
MEDIUMgemini/multimodal-live-api/livekit-adk/app/main.py137# ========================================COMMENT
MEDIUMgemini/multimodal-live-api/livekit-adk/app/main.py139# ========================================COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py524# ─── Consolidation Timer ──────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py36# ─── Config ────────────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py77# ─── Database ──────────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py315# ─── ADK Agents ────────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py395# ─── Agent Runner ──────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py478# ─── File Watcher ──────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py546# ─── HTTP API ──────────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py609# ─── Main ──────────────────────────────────────────────────────COMMENT
MEDIUMgemini/agents/always-on-memory-agent/agent.py111# ─── ADK Tools ─────────────────────────────────────────────────STRING
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py191 # ── Disambiguation ─────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py197 # ── Multi-part ─────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py203 # ── Multilingual ───────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py211# ── Multi-turn test cases ──────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py45# ── Defaults ────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py57# ── ANSI colours ────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py68# ── Dimension display names ────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py82# ── Data structures ────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py114# ── Single-turn test cases ─────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py117 # ── Factual / knowledge questions ──────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py143 # ── Current events / web search needed ─────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py159 # ── How-to / practical questions ───────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py170 # ── Creative / writing ─────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py306# ── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py352# ── Query helper ────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py366# ── Test runners ────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py533# ── LLM-as-Judge ────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py686# ── JSON output ─────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py760# ── Main ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py810 # ── Keyword Summary ──────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py821 # ── LLM Judge ────────────────────────────────────────────────────────COMMENT
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py829 # ── Save JSON report ─────────────────────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py182# ── Scenario sampling from profiles.json ───────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py270# ── Simulated user agent for evaluation ───────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py274# ── Agent conversation runner ─────────────────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py379# ── LLM Judge ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py383# ── Main ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py665 # ── Compute burden winner (programmatic) ──────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py682 # ── Compute quality winner (LLM judge with retry) ─────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py751 # ── Print results ─────────────────────────────────────COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py825 # ── Summary ──────────────────────────────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py732 # ── Fallback: keyword matching (for legacy triggers) ─────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py741 # ── Fallback: intent matching (for legacy triggers) ──────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py748 # ── No match ─────────────────────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py753 # ── Load and invoke the matched agent ────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py82# ── LLM-based trigger matching (new) ────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py261# ── Legacy keyword matching (kept for backward compatibility) ────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py290# ── Attribute-based feature extraction (new) ─────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py309# ── Task-adaptive style dampening ────────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py404# ── Response post-processing ──────────────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py497# ── Main entry point ─────────────────────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py587 # ── Separate triggers by type ────────────────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py613 # ── Stage 1: Attribute + Embedding matching ─────────────────────COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py770 # ── High confidence → execute agent silently ──────────────────COMMENT
MEDIUM…alized-agent-swarms/user_profiles/generate_profiles.py50# ---------------------------------------------------------------------------COMMENT
299 more matches not shown…
Excessive Try-Catch Wrapping899 hits · 730 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/pages/2_Dataset_Creation.py61 except Exception as e:CODE
LOWtools/llmevalkit/pages/2_Dataset_Creation.py102 except Exception as e:CODE
LOWtools/llmevalkit/pages/2_Dataset_Creation.py124 except Exception as e:CODE
LOWtools/llmevalkit/pages/2_Dataset_Creation.py139 except Exception as e:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py157 except Exception as e:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py191 except Exception as e:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py254 except Exception as e:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py311 except Exception as e:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py348 except Exception as e:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py467 except Exception as e:CODE
LOWtools/llmevalkit/pages/8_Prompt_Records.py51 except Exception as e:CODE
LOWtools/llmevalkit/pages/8_Prompt_Records.py60 except Exception as e:CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py96 except Exception as e:CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py143 except Exception as e:CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py354 except Exception as e:CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py375 except Exception as e:CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py468 except Exception as e:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py50 except Exception as e:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py125 except Exception as e:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py419 except Exception as e:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py548 except Exception as e:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py768 except Exception as e:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py1034 except Exception as e:CODE
LOWtools/llmevalkit/pages/5_Performance_Tuner.py528 except Exception as e:CODE
LOWtools/llmevalkit/pages/5_Performance_Tuner.py565 except Exception as e:CODE
LOWtools/llmevalkit/pages/5_Performance_Tuner.py599 except Exception as e:CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py102 except Exception as e:CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py124 except Exception as e:CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py167 except Exception as e:CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py187 except Exception as e:CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py229 except Exception as e:CODE
LOWtools/llmevalkit/src/gcp_evaluation.py64 except Exception as e:CODE
LOWtools/llmevalkit/src/gcp_evaluation.py124 except Exception as e:CODE
MEDIUMtools/llmevalkit/src/gcp_evaluation.py125 print(f"Error preparing DataFrame: {e}")CODE
LOWtools/llmevalkit/src/gcp_prompt.py236 except Exception as e:CODE
MEDIUMtools/llmevalkit/src/gcp_dataset.py94 print(f"An error occurred: {e}")CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py50 except Exception as e:CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py198 except Exception as send_err:CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py274 except Exception as exception:CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py276 except Exception as e:CODE
LOWgemini/multimodal-live-api/livekit-adk/app/main.py102 except Exception as e:CODE
LOWgemini/multimodal-live-api/livekit-adk/app/main.py130 except Exception as e:CODE
LOW…l-live-api/livekit-adk/app/travel_booking/telemetry.py41 except Exception as e:CODE
LOW…l-live-api/livekit-adk/app/travel_booking/telemetry.py44 except Exception as e:CODE
LOW…-live-api/livekit-adk/app/travel_booking/viewer_api.py39 except Exception as e:CODE
LOW…-live-api/livekit-adk/app/travel_booking/viewer_api.py82 except Exception as e:CODE
LOW…kit-adk/app/travel_booking/database_session_service.py136 except Exception:STRING
LOW…kit-adk/app/travel_booking/database_session_service.py202 except Exception as parse_e:STRING
LOW…ebsocket-demo-apps/gaming-assistant-demo-app/server.py35 except Exception as e:CODE
MEDIUM…ebsocket-demo-apps/gaming-assistant-demo-app/server.py36 print(f"Error generating access token: {e}")CODE
LOW…ebsocket-demo-apps/gaming-assistant-demo-app/server.py61 except Exception as e:CODE
MEDIUM…ebsocket-demo-apps/gaming-assistant-demo-app/server.py62 print(f"Error processing message: {e}")CODE
LOW…ebsocket-demo-apps/gaming-assistant-demo-app/server.py67 except Exception as e:CODE
LOW…ebsocket-demo-apps/gaming-assistant-demo-app/server.py141 except Exception as e:CODE
LOW…ebsocket-demo-apps/gaming-assistant-demo-app/server.py195 except Exception as e:CODE
LOW…-audio-websocket-demo-apps/plain-js-demo-app/server.py38 except Exception as e:CODE
MEDIUM…-audio-websocket-demo-apps/plain-js-demo-app/server.py39 print(f"Error generating access token: {e}")CODE
LOW…-audio-websocket-demo-apps/plain-js-demo-app/server.py65 except Exception as e:CODE
MEDIUM…-audio-websocket-demo-apps/plain-js-demo-app/server.py66 print(f"Error processing message: {e}")CODE
LOW…-audio-websocket-demo-apps/plain-js-demo-app/server.py71 except Exception as e:CODE
839 more matches not shown…
Cross-File Repetition144 hits · 720 pts
SeverityFileLineSnippetContext
HIGH…ebsocket-demo-apps/gaming-assistant-demo-app/server.py0websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts aSTRING
HIGH…ebsocket-demo-apps/customer-support-demo-app/server.py0websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts aSTRING
HIGH…ive-audio-websocket-demo-apps/react-demo-app/server.py0websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts aSTRING
HIGH…ebsocket-demo-apps/realtime-advisor-demo-app/server.py0websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts aSTRING
HIGH…ebsocket-demo-apps/gaming-assistant-demo-app/server.py0retrieves an access token using google cloud default credentials.STRING
HIGH…-audio-websocket-demo-apps/plain-js-demo-app/server.py0retrieves an access token using google cloud default credentials.STRING
HIGH…ebsocket-demo-apps/realtime-advisor-demo-app/server.py0retrieves an access token using google cloud default credentials.STRING
HIGH…ebsocket-demo-apps/customer-support-demo-app/server.py0retrieves an access token using google cloud default credentials.STRING
HIGH…ive-audio-websocket-demo-apps/react-demo-app/server.py0retrieves an access token using google cloud default credentials.STRING
HIGH…ebsocket-demo-apps/gaming-assistant-demo-app/server.py0forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to reSTRING
HIGH…-audio-websocket-demo-apps/plain-js-demo-app/server.py0forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to reSTRING
HIGH…ebsocket-demo-apps/realtime-advisor-demo-app/server.py0forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to reSTRING
HIGH…ebsocket-demo-apps/customer-support-demo-app/server.py0forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to reSTRING
HIGH…ive-audio-websocket-demo-apps/react-demo-app/server.py0forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to reSTRING
HIGH…ebsocket-demo-apps/gaming-assistant-demo-app/server.py0establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the webSTRING
HIGH…-audio-websocket-demo-apps/plain-js-demo-app/server.py0establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the webSTRING
HIGH…ebsocket-demo-apps/realtime-advisor-demo-app/server.py0establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the webSTRING
HIGH…ebsocket-demo-apps/customer-support-demo-app/server.py0establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the webSTRING
HIGH…ive-audio-websocket-demo-apps/react-demo-app/server.py0establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the webSTRING
HIGH…ebsocket-demo-apps/gaming-assistant-demo-app/server.py0handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beareSTRING
HIGH…-audio-websocket-demo-apps/plain-js-demo-app/server.py0handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beareSTRING
HIGH…ebsocket-demo-apps/realtime-advisor-demo-app/server.py0handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beareSTRING
HIGH…ebsocket-demo-apps/customer-support-demo-app/server.py0handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beareSTRING
HIGH…ive-audio-websocket-demo-apps/react-demo-app/server.py0handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beareSTRING
HIGH…ebsocket-demo-apps/gaming-assistant-demo-app/server.py0╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════STRING
HIGH…ebsocket-demo-apps/realtime-advisor-demo-app/server.py0╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════STRING
HIGH…ebsocket-demo-apps/customer-support-demo-app/server.py0╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════STRING
HIGH…ive-audio-websocket-demo-apps/react-demo-app/server.py0╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════STRING
HIGH…end/concierge_ui/agents/gemini_chat_with_guardrails.py0handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function takeSTRING
HIGH…graph-demo/frontend/concierge_ui/agents/gemini_chat.py0handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function takeSTRING
HIGH…-demo/frontend/concierge_ui/agents/function_calling.py0handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function takeSTRING
HIGH…h-demo/frontend/concierge_ui/agents/semantic_router.py0handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function takeSTRING
HIGH…-experience-concierge/langgraph-demo/backend/README.md0you are a retail search assistant for the cymbal retail company. answer questions about the company. cymbal offers both STRING
HIGH…erge/langgraph-demo/backend/concierge/agents/gemini.py0you are a retail search assistant for the cymbal retail company. answer questions about the company. cymbal offers both STRING
HIGH…graph-demo/backend/concierge/agents/semantic_router.py0you are a retail search assistant for the cymbal retail company. answer questions about the company. cymbal offers both STRING
HIGH…aph-demo/backend/concierge/langgraph_server/schemas.py0retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph sSTRING
HIGH…/backend/concierge/langgraph_server/langgraph_agent.py0retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph sSTRING
HIGH…demo/backend/concierge/langgraph_server/fastapi_app.py0retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph sSTRING
HIGH…aph-demo/backend/concierge/langgraph_server/schemas.py0retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to reSTRING
HIGH…/backend/concierge/langgraph_server/langgraph_agent.py0retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to reSTRING
HIGH…demo/backend/concierge/langgraph_server/fastapi_app.py0retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to reSTRING
HIGH…image-background-changer-using-imagen3/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…profile-image-generation-using-imagen3/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…bot/conversational-app-single-playbook/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…s/quickbot/text-to-image-using-imagen3/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…bot/website-search-using-agent-builder/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…kbot/conversational-app-multi-playbook/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…ot/document-search-using-agent-builder/backend/main.py0configures cors middleware based on the environment.STRING
HIGH…bot/conversational-app-single-playbook/backend/main.py0main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configuSTRING
HIGH…bot/website-search-using-agent-builder/backend/main.py0main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configuSTRING
HIGH…kbot/conversational-app-multi-playbook/backend/main.py0main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configuSTRING
HIGH…ot/document-search-using-agent-builder/backend/main.py0main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configuSTRING
HIGH…bot/conversational-app-single-playbook/backend/main.py0invalid environment: {environment}. must be 'production' or 'development'STRING
HIGH…bot/website-search-using-agent-builder/backend/main.py0invalid environment: {environment}. must be 'production' or 'development'STRING
HIGH…kbot/conversational-app-multi-playbook/backend/main.py0invalid environment: {environment}. must be 'production' or 'development'STRING
HIGH…ot/document-search-using-agent-builder/backend/main.py0invalid environment: {environment}. must be 'production' or 'development'STRING
HIGH…app-single-playbook/backend/scripts/big_query_setup.py0utility functions for setting up google bigquery datasets and tables.STRING
HIGH…using-agent-builder/backend/scripts/big_query_setup.py0utility functions for setting up google bigquery datasets and tables.STRING
HIGH…-app-multi-playbook/backend/scripts/big_query_setup.py0utility functions for setting up google bigquery datasets and tables.STRING
HIGH…using-agent-builder/backend/scripts/big_query_setup.py0utility functions for setting up google bigquery datasets and tables.STRING
84 more matches not shown…
Over-Commented Block536 hits · 458 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/pages/8_Prompt_Records.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/pages/6_Prompt_Optimization.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/pages/3_Evaluation.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/pages/5_Performance_Tuner.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/src/gcp_evaluation.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/src/gcp_prompt.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/src/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOWtools/llmevalkit/src/vapo_lib.py1# Copyright 2024 Google LLCCOMMENT
LOWtools/llmevalkit/src/gcp_dataset.py1# Copyright 2025 Google LLCCOMMENT
LOW…/multimodal-live-api/project-livewire/server/server.py1# Copyright 2025 Google LLCCOMMENT
LOW…-api/project-livewire/server/core/websocket_handler.py1# Copyright 2025 Google LLCCOMMENT
LOW…modal-live-api/project-livewire/server/core/session.py1# Copyright 2025 Google LLCCOMMENT
LOW…-live-api/project-livewire/server/core/tool_handler.py1# Copyright 2025 Google LLCCOMMENT
LOW…live-api/project-livewire/server/core/gemini_client.py1# Copyright 2025 Google LLCCOMMENT
LOW…odal-live-api/project-livewire/server/config/config.py1# Copyright 2025 Google LLCCOMMENT
LOW…cloud-functions/weather-tools/get-weather-tool/main.py1# Copyright 2025 Google LLCCOMMENT
LOWgemini/agents/genai-experience-concierge/LICENSE.txt1# Copyright 2025 Google LLCCOMMENT
LOW…perience-concierge/langgraph-demo/frontend/LICENSE.txt1# Copyright 2025 Google LLCCOMMENT
LOW…ierge/langgraph-demo/frontend/concierge_ui/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…xperience-concierge/langgraph-demo/backend/LICENSE.txt1# Copyright 2025 Google LLCCOMMENT
LOW…concierge/langgraph-demo/backend/concierge/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…rge/langgraph-demo/backend/concierge/tools/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…rge/langgraph-demo/backend/concierge/nodes/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…demo/backend/concierge/nodes/task_planning/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…/backend/concierge/nodes/task_planning/ops/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…ph-demo/backend/concierge/langgraph_server/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…ge/langgraph-demo/backend/concierge/agents/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…/agents/genai-experience-concierge/scripts/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…xperience-concierge/scripts/langgraph_demo/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOW…nts/genai-experience-concierge/scripts/cli/__init__.py1# Copyright 2025 Google. This software is provided as-is, without warranty orCOMMENT
LOWgemini/mcp/mcp_orchestration_app/src/gemini_client.py681 )COMMENT
LOW…cases/retrieval-augmented-generation/utils/__init__.py1# Copyright 2024 Google LLCCOMMENT
LOW…ini/use-cases/entity-extraction/document_processing.py1# Copyright 2025 Google LLCCOMMENT
LOWgemini/use-cases/entity-extraction/utils.py1# Copyright 2025 Google LLCCOMMENT
LOWgemini/use-cases/entity-extraction/deploy.sh1#!/bin/bashCOMMENT
LOWgemini/use-cases/entity-extraction/evaluate.py1# Copyright 2025 Google LLCCOMMENT
LOWgemini/use-cases/entity-extraction/main.py1# Copyright 2025 Google LLCCOMMENT
LOW…se-cases/entity-extraction/document_processing_test.py1# Copyright 2025 Google LLCCOMMENT
LOWgemini/prompts/prompt_optimizer/vapo_lib.py1# Copyright 2024 Google LLCCOMMENT
LOWgemini/sample-apps/gemini-mesop-cloudrun/main.py1# Copyright 2024 Google LLCCOMMENT
LOW…i/sample-apps/gemini-mesop-cloudrun/shared/nav_menu.py1# Copyright 2024 Google LLCCOMMENT
LOW…ni/sample-apps/gemini-mesop-cloudrun/shared/prompts.py1# Copyright 2024 Google LLCCOMMENT
LOW…ini/sample-apps/gemini-mesop-cloudrun/shared/styles.py1# Copyright 2024 Google LLCCOMMENT
LOWgemini/sample-apps/image-bash-jam/tts.sh1#!/bin/bashCOMMENT
LOWgemini/sample-apps/gemini-quart-cloudrun/app/app.py1# Copyright 2025 Google LLCCOMMENT
LOW…/sample-apps/photo-discovery/app/analysis_options.yaml1# This file configures the analyzer, which statically analyzes Dart code toCOMMENT
LOW…/sample-apps/photo-discovery/app/analysis_options.yaml21 # `// ignore_for_file: name_of_lint` syntax on the line or in the fileCOMMENT
LOW…covery/app/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOW…sample-apps/photo-discovery/app/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOW…ps/photo-discovery/app/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOW…ple-apps/photo-discovery/app/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…very/app/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOWgemini/sample-apps/photo-discovery/ag-web/app/app.py1# Copyright 2024 Google LLCCOMMENT
LOWgemini/sample-apps/prism-science-explainer/serve.py1# Copyright 2026 Google LLCCOMMENT
LOW…mini/sample-apps/prism-science-explainer/app/config.py1# Copyright 2026 Google LLCCOMMENT
LOW…mini/sample-apps/prism-science-explainer/app/render.py1# Copyright 2026 Google LLCCOMMENT
LOW…mini/sample-apps/prism-science-explainer/app/events.py1# Copyright 2026 Google LLCCOMMENT
LOW…ni/sample-apps/prism-science-explainer/app/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…ini/sample-apps/prism-science-explainer/app/prompts.py1# Copyright 2026 Google LLCCOMMENT
LOW…mini/sample-apps/prism-science-explainer/app/agents.py1# Copyright 2026 Google LLCCOMMENT
476 more matches not shown…
Hyper-Verbose Identifiers308 hits · 271 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/tests/test_evaluation_page.py18def test_evaluation_load_prompt(mock_init, mock_storage, mock_gcp_prompt, mock_prompts):CODE
LOWtools/llmevalkit/pages/2_Dataset_Creation.py107def _ensure_datasets_folder_exists(CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py85def _apply_generation_config_typing(config: dict[str, Any]) -> dict[str, Any]:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py162def _handle_generate_test_for_new() -> None:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py259def _handle_save_edited_prompt() -> None:CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py316def _handle_generate_test_for_edit() -> None:CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py37def list_custom_training_jobs(project_id: str, location: str):CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py154def _display_interactive_results(results_ui: vapo_lib.ResultsUI) -> None:CODE
LOWtools/llmevalkit/pages/3_Evaluation.py46def get_metric_object_by_name(metric_name: str):CODE
LOWtools/llmevalkit/pages/3_Evaluation.py78def get_autorater_pairwise_response(metric_prompt: str, model: str) -> dict:CODE
LOWtools/llmevalkit/src/gcp_evaluation.py129def extract_completeness_metrics(CODE
LOWtools/llmevalkit/src/gcp_evaluation.py157def plot_distribution_comparison(CODE
LOWtools/llmevalkit/src/gcp_prompt.py263 def get_generation_config_dict(self):CODE
LOWtools/llmevalkit/src/gcp_prompt.py268def escape_special_characters(text: str) -> str:CODE
LOWtools/llmevalkit/src/gcp_dataset.py61def escape_special_characters(text: str) -> str:CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py143 def _on_active_speakers_changed(self, speakers):CODE
LOWgemini/multimodal-live-api/livekit-adk/app/main.py94async def start_livekit_bridge_task(user_id: str, session_id: str):CODE
LOW…l-live-api/livekit-adk/app/static/js/audio-recorder.js23export async function startAudioRecorderWorklet(audioRecorderHandler) {CODE
LOW…al-live-api/pcm-audio-debugger/pcm-audio-debugger.html585 function processAndEncode() {CODE
LOW…timodal-live-api/websocket-demo-app/frontend/script.js41function getSelectedResponseModality() {CODE
LOW…timodal-live-api/websocket-demo-app/frontend/script.js229async function setAvailableCamerasOptions() {CODE
LOW…timodal-live-api/websocket-demo-app/frontend/script.js235async function setAvailableMicrophoneOptions() {CODE
LOW…concierge/langgraph-demo/frontend/concierge_ui/auth.py34def fetch_gce_id_token_credentials(CODE
LOW…concierge/langgraph-demo/frontend/concierge_ui/auth.py51def fetch_impersonated_id_token_credentials(CODE
LOW…concierge/langgraph-demo/backend/concierge/settings.py50 def ensure_cymbal_dataset_resources(self) -> Self:CODE
LOW…nggraph-demo/backend/concierge/tools/find_inventory.py39def generate_find_inventory_handler(STRING
LOW…/langgraph-demo/backend/concierge/tools/find_stores.py59def generate_find_stores_handler(CODE
LOW…anggraph-demo/backend/concierge/tools/find_products.py62def generate_find_products_handler(CODE
LOW…anggraph-demo/backend/concierge/tools/find_products.py166def _build_query_without_vector_search(CODE
LOW…anggraph-demo/backend/concierge/tools/find_products.py284def _build_query_with_vector_search(STRING
LOW…ierge/langgraph-demo/backend/concierge/nodes/router.py63def build_semantic_router_node(CODE
LOW…/backend/concierge/langgraph_server/langgraph_agent.py294def _checkpoint_from_runnable_config(CODE
LOW…/backend/concierge/langgraph_server/langgraph_agent.py315def _state_snapshot_to_thread_state(CODE
LOW…/backend/concierge/langgraph_server/langgraph_agent.py343def _pregel_task_to_thread_task(task: lg_types.PregelTask) -> schema.ThreadTask:CODE
LOW…experience-concierge/scripts/langgraph_demo/dataset.py191def create_product_table_with_embeddings(CODE
LOW…experience-concierge/scripts/langgraph_demo/dataset.py321def get_connection_service_account(CODE
LOWgemini/agents/always-on-memory-agent/agent.py169def read_unconsolidated_memories() -> dict:CODE
LOWgemini/agents/always-on-memory-agent/agent.py231def read_consolidation_history() -> dict:CODE
LOWgemini/mcp/adk_mcp_app/main.py47async def process_message_with_runner(runner: Runner, session_id: str, question: str):STRING
LOWgemini/mcp/adk_mcp_app/mcp_server/cocktail.py123async def list_cocktails_by_first_letter(letter: str) -> str:CODE
LOWgemini/mcp/adk_mcp_app/mcp_server/cocktail.py141async def search_ingredient_by_name(name: str) -> str:CODE
LOWgemini/mcp/adk_mcp_app/mcp_server/cocktail.py165async def lookup_cocktail_details_by_id(cocktail_id: str) -> str:CODE
LOWgemini/mcp/adk_multiagent_mcp_app/main.py105async def process_message_with_runner(runner: Runner, session_id: str, question: str):CODE
LOW…mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py120async def list_cocktails_by_first_letter(letter: str) -> str:CODE
LOW…mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py138async def search_ingredient_by_name(name: str) -> str:CODE
LOW…mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py162async def lookup_cocktail_details_by_id(cocktail_id: str) -> str:CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py32def get_text_embedding_from_text_embedding_model(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py59def get_image_embedding_from_multimodal_embedding_model(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py89def get_text_overlapping_chunk(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py533def get_user_query_text_embeddings(user_query: str) -> np.ndarray:CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py548def get_user_query_image_embeddings(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py585def print_text_to_image_citation(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py636def print_text_to_text_citation(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py689def get_similar_image_from_query(CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py795def get_similar_text_from_query(CODE
LOW…ini/use-cases/entity-extraction/document_processing.py108def classify_and_extract_document(document_uri: str) -> str:CODE
LOW…ini/use-cases/entity-extraction/document_processing.py118def evaluate_quality_and_extract(extract_config_id: str, document_uri: str):CODE
LOWgemini/use-cases/entity-extraction/main.py101def handle_classification_and_extraction():CODE
LOW…se-cases/entity-extraction/document_processing_test.py75def test_classify_and_extract_document() -> None:STRING
LOW…se-cases/entity-extraction/document_processing_test.py94def test_evaluate_quality_and_extract_high_quality_document() -> None:STRING
248 more matches not shown…
Self-Referential Comments72 hits · 192 pts
SeverityFileLineSnippetContext
MEDIUMtools/llmevalkit/pages/7_Prompt_Optimization_Results.py204 # Create a boolean series for the comparisonCOMMENT
MEDIUMtools/llmevalkit/src/gcp_dataset.py16"""This module provides utility functions for managing and processing datasetsSTRING
MEDIUM…l-live-api/livekit-adk/app/travel_booking/telemetry.py36 # Create a new provider with resource and processorCOMMENT
MEDIUM…-live-api/livekit-adk/app/travel_booking/viewer_api.py9# Create a dedicated FastAPI router/app for the viewerCOMMENT
MEDIUM…live-api/project-livewire/server/core/gemini_client.py67 # Create the sessionCOMMENT
MEDIUM…perience-concierge/langgraph-demo/terraform/project.tf11# Create a project for the concierge demo.COMMENT
MEDIUM…perience-concierge/langgraph-demo/terraform/project.tf47# Create an Artifact Registry repository for hosting docker images for the concierge demo.COMMENT
MEDIUM…perience-concierge/langgraph-demo/terraform/network.tf11# Create a VPC network and a single subnet for the concierge demo.COMMENT
MEDIUM…perience-concierge/langgraph-demo/terraform/network.tf30# Create an IP address for the VPC peering connection.COMMENT
MEDIUM…perience-concierge/langgraph-demo/terraform/network.tf40# Create a private service networking connection.COMMENT
MEDIUM…ience-concierge/langgraph-demo/terraform/app_engine.tf5# Create a demo IAP brand for the Oauth Consent Screen.COMMENT
MEDIUM…ience-concierge/langgraph-demo/terraform/app_engine.tf14# Create a demo IAP client for the Oauth Consent Screen.COMMENT
MEDIUM…rience-concierge/langgraph-demo/terraform/databases.tf20# Create an AlloyDB cluster and instance for session management.COMMENT
MEDIUM…rience-concierge/langgraph-demo/terraform/databases.tf69# Create a BigQuery dataset for the mock Cymbal Retail data and embedding model.COMMENT
MEDIUM…rience-concierge/langgraph-demo/terraform/databases.tf88# Create a remote Cloud Resource Connection to enable access to BQML Embedding modelsCOMMENT
MEDIUM…gmented-generation/utils/intro_multimodal_rag_utils.py247 # Create the image file nameCOMMENT
MEDIUM…gmented-generation/utils/intro_multimodal_rag_utils.py250 # Create the image save directory if it doesn't existCOMMENT
MEDIUM…gmented-generation/utils/intro_multimodal_rag_utils.py740 # Create a dictionary to store matched images and their informationCOMMENT
MEDIUM…gmented-generation/utils/intro_multimodal_rag_utils.py744 # Create a sub-dictionary for each matched imageCOMMENT
MEDIUM…gmented-generation/utils/intro_multimodal_rag_utils.py841 # Create a dictionary to store matched text and their informationCOMMENT
MEDIUM…gmented-generation/utils/intro_multimodal_rag_utils.py845 # Create a sub-dictionary for each matched textCOMMENT
MEDIUMgemini/prompts/prompt_optimizer/vapo_lib.py530 # Create a dictionary to track files found in each directoryCOMMENT
MEDIUMgemini/prompts/prompt_optimizer/vapo_lib.py617 # Create a label widget for the descriptionCOMMENT
MEDIUMgemini/prompts/prompt_optimizer/vapo_lib.py870 # Create an EvalTask objectCOMMENT
MEDIUMgemini/prompts/prompt_optimizer/vapo_lib.py1009 # Define the JSON schema for validationCOMMENT
MEDIUMgemini/sample-apps/swot-agent/main.py151 # Create a custom deps object that uses the session_idCOMMENT
MEDIUM…image-background-changer-using-imagen3/backend/main.py54# Create a route to handle GET requests on rootCOMMENT
MEDIUM…image-background-changer-using-imagen3/backend/main.py60# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…und-changer-using-imagen3/backend/tests/test_search.py33# Create a test client for the FastAPI appCOMMENT
MEDIUM…ound-changer-using-imagen3/backend/src/model/search.py21# Create a Literal type from the list of valid modelsCOMMENT
MEDIUM…profile-image-generation-using-imagen3/backend/main.py54# Create a route to handle GET requests on rootCOMMENT
MEDIUM…profile-image-generation-using-imagen3/backend/main.py60# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…e-generation-using-imagen3/backend/src/model/search.py21# Create a Literal type from the list of valid modelsCOMMENT
MEDIUM…generation-using-imagen3/backend/src/service/search.py71 # Create a new image with paddingSTRING
MEDIUM…generation-using-imagen3/backend/src/service/search.py109 # Create a mask with the same size as the original imageSTRING
MEDIUM…bot/conversational-app-single-playbook/backend/main.py65# Create a route to handle GET requests on rootCOMMENT
MEDIUM…bot/conversational-app-single-playbook/backend/main.py71# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…s/quickbot/text-to-image-using-imagen3/backend/main.py54# Create a route to handle GET requests on rootCOMMENT
MEDIUM…s/quickbot/text-to-image-using-imagen3/backend/main.py60# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…xt-to-image-using-imagen3/backend/tests/test_search.py31# Create a test client for the FastAPI appCOMMENT
MEDIUM…ext-to-image-using-imagen3/backend/src/model/search.py22# Create a Literal type from the list of valid modelsCOMMENT
MEDIUM…t-to-image-using-imagen3/backend/src/service/search.py185 # Create a list of coroutines for Imagen generationCOMMENT
MEDIUM…bot/website-search-using-agent-builder/backend/main.py62# Create a route to handle GET requests on rootCOMMENT
MEDIUM…bot/website-search-using-agent-builder/backend/main.py68# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…arch-using-agent-builder/backend/src/service/engine.py61 # Create a clientCOMMENT
MEDIUM…kbot/conversational-app-multi-playbook/backend/main.py65# Create a route to handle GET requests on rootCOMMENT
MEDIUM…kbot/conversational-app-multi-playbook/backend/main.py71# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…ot/document-search-using-agent-builder/backend/main.py62# Create a route to handle GET requests on rootCOMMENT
MEDIUM…ot/document-search-using-agent-builder/backend/main.py68# Create a route to handle GET requests on /versionCOMMENT
MEDIUM…arch-using-agent-builder/backend/src/service/engine.py61 # Create a clientCOMMENT
MEDIUMgemini/sample-apps/finance-advisor-spanner/home.py26 """This function implements common layouts across the pages"""STRING
MEDIUMgemini/sample-apps/finance-advisor-spanner/graph_viz.py1"""This module is the page for Graph Viz Data Search feature"""STRING
MEDIUMgemini/sample-apps/finance-advisor-spanner/graph_viz.py10 """This function is for generating the Graph Visualization"""STRING
MEDIUM…e-apps/finance-advisor-spanner/pages/1_Asset_Search.py1"""This module is the page for Asset Search feature"""STRING
MEDIUM…e-apps/finance-advisor-spanner/pages/1_Asset_Search.py16 """This function implements Asset search common functions"""STRING
MEDIUM…pps/finance-advisor-spanner/pages/2_Semantic_Search.py1"""This module is the page for Semantic Search feature"""STRING
MEDIUM…pps/finance-advisor-spanner/pages/2_Semantic_Search.py16 """This function implements Semantic Search feature"""STRING
MEDIUM…apps/finance-advisor-spanner/pages/4_Exposure_Check.py1"""This module is the page for Exposure Check Search feature"""STRING
MEDIUM…apps/finance-advisor-spanner/pages/4_Exposure_Check.py16 """This function implements Compliance Check Graph feature"""STRING
MEDIUM…finance-advisor-spanner/pages/3_Graph_Visualization.py1"""This module is the page for Graph Visualization feature"""STRING
12 more matches not shown…
Deep Nesting245 hits · 168 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/pages/2_Dataset_Creation.py67CODE
LOWtools/llmevalkit/pages/8_Prompt_Records.py32CODE
LOWtools/llmevalkit/pages/6_Prompt_Optimization.py180CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py154CODE
LOWtools/llmevalkit/pages/3_Evaluation.py140CODE
LOWtools/llmevalkit/pages/5_Performance_Tuner.py197CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py192CODE
LOWtools/llmevalkit/src/gcp_evaluation.py71CODE
LOWtools/llmevalkit/src/gcp_prompt.py204CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py202CODE
LOW…-live-api/livekit-adk/app/travel_booking/viewer_api.py43CODE
LOW…kit-adk/app/travel_booking/database_session_service.py187CODE
LOW…-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py30CODE
LOW…-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py79CODE
LOW…bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py47CODE
LOW…bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py68CODE
LOW…-api/project-livewire/server/core/websocket_handler.py42CODE
LOW…-api/project-livewire/server/core/websocket_handler.py134CODE
LOW…-api/project-livewire/server/core/websocket_handler.py193CODE
LOW…-api/project-livewire/server/core/websocket_handler.py303CODE
LOW…end/concierge_ui/agents/gemini_chat_with_guardrails.py16CODE
LOW…raph-demo/frontend/concierge_ui/agents/task_planner.py16CODE
LOW…-demo/frontend/concierge_ui/agents/function_calling.py17CODE
LOW…h-demo/frontend/concierge_ui/agents/semantic_router.py16CODE
LOWgemini/agents/always-on-memory-agent/dashboard.py120CODE
LOWgemini/agents/always-on-memory-agent/agent.py190CODE
LOWgemini/agents/always-on-memory-agent/agent.py283CODE
LOWgemini/agents/always-on-memory-agent/agent.py481CODE
LOWgemini/mcp/mcp_orchestration_app/src/gemini_client.py170CODE
LOWgemini/prompts/prompt_optimizer/vapo_lib.py773CODE
LOWgemini/prompts/prompt_optimizer/vapo_lib.py419CODE
LOWgemini/sample-apps/gemini-mesop-cloudrun/main.py707CODE
LOWgemini/sample-apps/gemini-mesop-cloudrun/main.py834CODE
LOWgemini/sample-apps/gemini-mesop-cloudrun/main.py1011CODE
LOWgemini/sample-apps/gemini-mesop-cloudrun/main.py1510CODE
LOW…i/sample-apps/gemini-mesop-cloudrun/shared/nav_menu.py63CODE
LOW…ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py72CODE
LOW…ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py137CODE
LOW…nd-changer-using-imagen3/backend/src/service/search.py93CODE
LOW…t-to-image-using-imagen3/backend/src/service/search.py82CODE
LOW…ample-apps/gemini-live-telephony-app/utils/live_api.py24CODE
LOW…s/gemini-live-telephony-app/utils/audio_transcoding.py26CODE
LOW…s/gemini-live-telephony-app/utils/audio_transcoding.py70CODE
LOWgemini/sample-apps/rosetta-agent-porter/serve.py102CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/intake.py391CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/config.py71CODE
LOWgemini/sample-apps/rosetta-agent-porter/scripts/port.py18CODE
LOWgemini/computer-use/web-agent/web_agent.py56CODE
LOWgemini/computer-use/web-agent/web_agent.py142CODE
LOWagents/personalized-agent-swarms/test_deployed_agent.py435CODE
LOWagents/personalized-agent-swarms/test_deployed_agent.py581CODE
LOW…ents/personalized-agent-swarms/test_augmented_agent.py292CODE
LOW…ents/personalized-agent-swarms/test_augmented_agent.py386CODE
LOW…t-swarms/augmented_assistant_agent/tools/active_mem.py61CODE
LOW…t-swarms/augmented_assistant_agent/tools/active_mem.py349CODE
LOW…t-swarms/augmented_assistant_agent/tools/active_mem.py500CODE
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py154CODE
LOW…s/personalized-agent-swarms/eval/generate_eval_pool.py143CODE
LOW…/personalized-agent-swarms/analyzer/swarm_generator.py597CODE
LOW…/personalized-agent-swarms/analyzer/swarm_generator.py749CODE
185 more matches not shown…
Docstring Block Structure33 hits · 165 pts
SeverityFileLineSnippetContext
HIGH…-demo/backend/concierge/nodes/task_planning/planner.py32 Generates a plan or a direct response based on the current conversation state. This function takes theSTRING
HIGH…emo/backend/concierge/nodes/task_planning/reflector.py32 Asynchronously reflects on the executed plan and determines the next action. This function takes the cSTRING
HIGH…demo/backend/concierge/nodes/task_planning/executor.py29 Asynchronously executes a plan's tasks and updates the conversation state. This function takes the curSTRING
HIGH…backend/concierge/langgraph_server/checkpoint_saver.py23 Loads a checkpoint saver based on the provided backend configuration. This function takes a CheckpointerConfigSTRING
HIGH…experience-concierge/scripts/langgraph_demo/backend.py99 Describe a Cloud Run service and print its details in JSON format. This command uses `gcloud run services descSTRING
HIGH…perience-concierge/scripts/langgraph_demo/terraform.py114 Retrieve Terraform outputs as a dictionary. This command retrieves the outputs defined in the Terraform configSTRING
HIGH…experience-concierge/scripts/langgraph_demo/dataset.py82 Create the required Cymbal dataset models and tables. Only the project is required to exist before calling thiSTRING
HIGH…experience-concierge/scripts/langgraph_demo/dataset.py349 Executes a function and prints a success or failure message. Args: start_message (str): The message toSTRING
HIGHgemini/mcp/mcp_orchestration_app/src/gemini_server.py108Calls the specified Gemini model using the google-genai library. Args: model_name: The name of the Gemini mSTRING
HIGHgemini/mcp/mcp_orchestration_app/src/gemini_client.py55Loads configuration from a JSON file. Args: file_path: Path to the configuration file. RetSTRING
HIGHgemini/mcp/mcp_orchestration_app/src/gemini_client.py228Execute a tool with retry mechanism. Args: tool_name: The name of the tool to execute. STRING
HIGHgemini/mcp/mcp_orchestration_app/src/gemini_client.py508 Sends the current conversation history to the LLM and returns the response text. Args: STRING
HIGH…gmented-generation/utils/intro_multimodal_rag_utils.py92 * Breaks a text document into chunks of a specified size, with an overlap between chunks to preserve context. *STRING
HIGH…gmented-generation/utils/intro_multimodal_rag_utils.py174 * Extracts text from a given page object, chunks it, and generates embeddings for each chunk. * Takes a page obSTRING
HIGH…gmented-generation/utils/intro_multimodal_rag_utils.py803 Finds the top N most similar text passages from a metadata DataFrame based on a text query. Args: querSTRING
HIGH…ingle-playbook/backend/src/repository/cloud_storage.py49Lists all blobs (files) within a specified GCS path. Parses the bucket name and prefix from the full GCS path STRING
HIGH…nal-app-single-playbook/backend/src/repository/task.py78Creates a Cloud Task to handle an IntentCreateEvent. Constructs an HTTP task targeting the configured FUNCTION_STRING
HIGH…pp-single-playbook/backend/src/repository/big_query.py111 Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string tSTRING
HIGH…onal-app-single-playbook/backend/src/service/intent.py89Creates a new intent in the database. Validates that an intent with the same name doesn't already exist. STRING
HIGH…sing-agent-builder/backend/src/repository/big_query.py111 Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string tSTRING
HIGH…h-using-agent-builder/backend/src/controller/search.py34 Performs a search using the configured Search Application. Args: item: The search request containing tSTRING
HIGH…gent-builder/backend/src/service/search_application.py57 Creates a new Search Application configuration in BigQuery. Ensures that no configuration already exisSTRING
HIGH…gent-builder/backend/src/service/search_application.py91 Updates an existing Search Application configuration in BigQuery. Identifies the row to update using tSTRING
HIGH…multi-playbook/backend/src/repository/cloud_storage.py49Lists all blobs (files) within a specified GCS path. Parses the bucket name and prefix from the full GCS path STRING
HIGH…onal-app-multi-playbook/backend/src/repository/task.py78Creates a Cloud Task to handle an IntentCreateEvent. Constructs an HTTP task targeting the configured FUNCTION_STRING
HIGH…app-multi-playbook/backend/src/repository/big_query.py111 Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string tSTRING
HIGH…ional-app-multi-playbook/backend/src/service/intent.py89Creates a new intent in the database. Validates that an intent with the same name doesn't already exist. STRING
HIGH…sing-agent-builder/backend/src/repository/big_query.py104 Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string tSTRING
HIGH…h-using-agent-builder/backend/src/controller/search.py44 Performs a search using the configured Search Application. Args: item: The search request containing tSTRING
HIGH…h-using-agent-builder/backend/src/controller/search.py117 Fetches a document directly from GCS and returns its content. Expects a JSON body with a 'gcs_url' field speciSTRING
HIGH…gent-builder/backend/src/service/search_application.py57 Creates a new Search Application configuration in BigQuery. Ensures that no configuration already exisSTRING
HIGH…gent-builder/backend/src/service/search_application.py91 Updates an existing Search Application configuration in BigQuery. Identifies the row to update using tSTRING
HIGH…arch-using-agent-builder/backend/src/service/search.py72 Performs a search against the configured Discovery Engine. Constructs a search request with predefinedSTRING
Modern AI Meta-Vocabulary47 hits · 126 pts
SeverityFileLineSnippetContext
MEDIUMrag-grounding/README.md1# RAG and GroundingCOMMENT
MEDIUMrag-grounding/README.md22## What is RAG and Grounding?COMMENT
MEDIUMrag-grounding/README.md47## Measuring RAG/Grounding QualityCOMMENT
MEDIUMrag-grounding/README.md63## Out of the Box RAG/GroundingCOMMENT
MEDIUMrag-grounding/README.md105## Orchestration with RAG EngineCOMMENT
MEDIUMrag-grounding/README.md118## Bring your own Search for RAG/GroundingCOMMENT
MEDIUMrag-grounding/README.md131## Build your own Search for RAG/GroundingCOMMENT
MEDIUMrag-grounding/README.md214## Agents on top of RAGCOMMENT
MEDIUM…rience-concierge/langgraph-demo/terraform/databases.tf69# Create a BigQuery dataset for the mock Cymbal Retail data and embedding model.COMMENT
MEDIUM…anggraph-demo/frontend/concierge_ui/remote_settings.py34 base_url=pydantic.HttpUrl("http://0.0.0.0:3000/gemini-with-guardrails"),CODE
MEDIUM…i-experience-concierge/agent-design-patterns/README.md9| [Guardrail Classifier Agent](#guardrail-classifier-agent) | [guardrail-classifier.ipynb](./guardrail-classifier.ipynb)CODE
MEDIUMgemini/mcp/adk_multiagent_mcp_app/main.py24# Initialize services (globally or via dependency injection)COMMENT
MEDIUM…ge-background-changer-using-imagen3/frontend/README.md15## Code scaffoldingCOMMENT
MEDIUM…file-image-generation-using-imagen3/frontend/README.md15## Code scaffoldingCOMMENT
MEDIUM…/quickbot/conversational-app-single-playbook/README.md1# Quickbot - Conversational App with Single Playbook using Custom RAG & Agent BuilderCOMMENT
MEDIUM…/quickbot/conversational-app-single-playbook/README.md197│ └── create-intent/ # Example: Source for the RAG Cloud FunctionCODE
MEDIUM…/conversational-app-single-playbook/frontend/README.md9## Code scaffoldingCOMMENT
MEDIUM…uickbot/text-to-image-using-imagen3/frontend/README.md15## Code scaffoldingCOMMENT
MEDIUM…/quickbot/website-search-using-agent-builder/README.md1# QuickBot - Website Search using Custom RAGCOMMENT
MEDIUM…/quickbot/website-search-using-agent-builder/README.md57#### 2. Deploy the RAG Cloud Function (e.g., `create-intent-index`)COMMENT
MEDIUM…/quickbot/website-search-using-agent-builder/README.md255│ └── create-intent/ # Example: Source for the RAG Cloud FunctionCODE
MEDIUM…/website-search-using-agent-builder/frontend/README.md9## Code scaffoldingCOMMENT
MEDIUM…s/quickbot/conversational-app-multi-playbook/README.md1# Quickbot - Conversational App with Multiple Playbooks using Custom RAG & Agent BuilderCOMMENT
MEDIUM…s/quickbot/conversational-app-multi-playbook/README.md197│ └── create-intent/ # Example: Source for the RAG Cloud FunctionCODE
MEDIUM…t/conversational-app-multi-playbook/frontend/README.md9## Code scaffoldingCOMMENT
MEDIUM…document-search-using-agent-builder/frontend/README.md9## Code scaffoldingCOMMENT
MEDIUMgemini/sample-apps/rosetta-agent-porter/app/acli.py86# scaffold / install / lintCOMMENT
MEDIUMgemini/sample-apps/genwealth/README.md174##### RAG Pipeline BranchCOMMENT
MEDIUM…ni/sample-apps/genwealth/deployment/install-pgadmin.sh56# Register text-embedding-005 embedding modelCOMMENT
MEDIUM…pps/genwealth/walkthroughs/backend-demo-walkthrough.md257### Build a RAG-Powered Gen AI ChatbotCOMMENT
MEDIUM…ps/genwealth/walkthroughs/frontend-demo-walkthrough.md184![Guardrails](https://storage.googleapis.com/github-repo/generative-ai/sample-apps/genwealth/images/genwealth-ui/20-guarCODE
MEDIUMagents/personalized-agent-swarms/README.md453| +-- active_mem.py # Trigger matching + mini-agent invocation + hallucination detectionCODE
MEDIUMagents/adk/zero-trust-agents/index.html709# Load a lightweight local embedding model for semantic similarity checkingSTRING
MEDIUMsearch/cloud-function/README.md106## Use case: RAG / GroundingCOMMENT
MEDIUMsearch/auto-rag-eval/README.md1# Auto RAG Eval: Automated Benchmark Generation for RAG SystemsCOMMENT
MEDIUMsearch/auto-rag-eval/README.md336### Auto RAG Eval Benchmark Format (benchmark.json)COMMENT
MEDIUM…se/ge-demo-generator/skills/ge-demo-generator/SKILL.md430│ └── examples/0.9/ # A2UI few-shot example surfacesCODE
MEDIUM…s/ge-demo-generator/references/datastore_connectors.md7## 1. Architecture: MCP mode vs. RAG-preferred modeCOMMENT
MEDIUM…skills/ge-demo-generator/templates/setup_and_deploy.sh467# --- Prune few-shot examples for capabilities this demo does not have ---COMMENT
MEDIUM…skills/ge-demo-generator/templates/setup_and_deploy.sh485# --- Substitute placeholders in the A2UI few-shot examples ---COMMENT
MEDIUM…skills/ge-demo-generator/templates/setup_and_deploy.sh487# templates stay currency-neutral. Cloud Run loads these files verbatim as few-shotCOMMENT
MEDIUM…-generator/skills/ge-demo-generator/templates/agent.py786# RAG mode additionally needs the wiring to actually exist. The mode says whatSTRING
MEDIUM…tor/skills/ge-demo-generator/templates/fast_api_app.py4904 # they either stall again or hallucinate), so this one explicitlyCOMMENT
MEDIUM…lls/ge-demo-generator/templates/examples/0.9/README.md1# A2UI few-shot examples (app-specific)COMMENT
MEDIUM…/skills/ge-demo-generator/templates/scripts/cleanup.sh449# dashboards and the multi-agent skill payloads. Its name embeds the run'sCOMMENT
MEDIUM…generator/agent_template/adk_agent/app/fast_api_app.py4904 # they either stall again or hallucinate), so this one explicitlyCOMMENT
MEDIUM…or/agent_template/adk_agent/app/examples/0.9/README.md1# A2UI few-shot examples (app-specific)COMMENT
Structural Annotation Overuse55 hits · 93 pts
SeverityFileLineSnippetContext
LOW…ni/sample-apps/genwealth/deployment/deploy-frontend.sh29# Step 3: Deploy to Cloud RunCOMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh53 # Step 1: Cleanup stale outputsCOMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh66 # Step 2: Analyze history and generate swarmCOMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh75 # Step 3: Sample eval scenarios from pool (if pool exists)COMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh90 # Step 4: Run evaluation with judgeCOMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md15## Step 1: Create a gcloud configurationCOMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md39## Step 2: AuthenticateCOMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md62## Step 3: Install dependenciesCOMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md70## Step 4: Update .envCOMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md82## Step 5: Deploy to Agent EngineCOMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md113## Step 6: Register on Gemini Enterprise (optional)COMMENT
LOW…alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md133## Step 7: VerifyCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py555 # Step 1: Intent → agent mappingCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py568 # Step 2: PartitionCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py601 # Step 3: Oversample candidates (3x to have room after filtering)COMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py612 # Step 4: LLM reviewCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py630 # Step 5: Sample from confirmedCOMMENT
LOW…peline/python-extraction-agent/app/fallback_handler.py21# NOTE: This module is retained as a reference implementation showing theCOMMENT
LOWagents/adk/zero-trust-agents/TUTORIAL.md42#### Step 1: Bind the Service Agent to the Cloud KMS KeyCOMMENT
LOWagents/adk/zero-trust-agents/TUTORIAL.md66#### Step 2: Zero-Key SDK Signature GenerationCOMMENT
LOWagents/adk/zero-trust-agents/demo/agent.py176 # Step 1: Call the query_order_limit toolCOMMENT
LOWagents/adk/zero-trust-agents/demo/agent.py184 # Step 2: Call the issue_refund_transaction toolCOMMENT
LOWvision/sample-apps/V-Start/README.md184### Step 1: Enable Required ServicesCOMMENT
LOWvision/sample-apps/V-Start/README.md191### Step 2: Secure Your API KeyCOMMENT
LOWvision/sample-apps/V-Start/README.md203### Step 3: Configure OAuth Consent ScreenCOMMENT
LOWvision/sample-apps/V-Start/README.md207### Step 4: Deploy the ServiceCOMMENT
LOWvision/sample-apps/V-Start/README.md219### Step 5: Grant Access PermissionsCOMMENT
LOWsearch/auto-rag-eval/README.md108### Step 1: Configure EnvironmentCOMMENT
LOWsearch/auto-rag-eval/README.md122### Step 2: Generate BenchmarkCOMMENT
LOWsearch/auto-rag-eval/README.md159### Step 3: Transform Benchmark (Optional)COMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/README.md386### Step 1: Provision & Deploy the Demo EnvironmentCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/README.md406### Step 2: Access the Chat Agent in Gemini EnterpriseCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/README.md416### Step 3: Access the Real-Time Data ViewerCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/README.md426### Step 4: Try the ScenariosCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/README.md438### Step 5: Manual Agent Registration (If Needed)COMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/tutorial.md23## Step 1: Provision Demo Environment in Your ProjectCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/tutorial.md42## Step 2: Access Your Agent in Gemini EnterpriseCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/tutorial.md56## Step 3: Explore & PreviewCOMMENT
LOWsearch/gemini-enterprise/ge-demo-generator/tutorial.md68## Step 4: Try the ScenariosCOMMENT
LOW…lls/ge-demo-generator/references/deployment_and_iam.md23### Step 1: Data & Secrets ProvisioningCOMMENT
LOW…lls/ge-demo-generator/references/deployment_and_iam.md44### Step 2: Agent Engine Sandbox Provisioning (CRITICAL DEPENDENCY)COMMENT
LOW…lls/ge-demo-generator/references/deployment_and_iam.md101### Step 3: Data Viewer Deployment (Cloud Run with --no-allow-unauthenticated + IAP)COMMENT
LOW…lls/ge-demo-generator/references/deployment_and_iam.md128### Step 4: Main Multi-Agent Cloud Run DeploymentCOMMENT
LOW…lls/ge-demo-generator/references/deployment_and_iam.md176### Step 5: Background Task Infrastructure & Post-Deploy Wire-upCOMMENT
LOW…lls/ge-demo-generator/references/deployment_and_iam.md209### Step 6: Gemini Enterprise Discovery, Authorization & RegistrationCOMMENT
LOW…skills/ge-demo-generator/templates/setup_and_deploy.sh1232# Step 2: create the free trial license config. freeTrial is pinned to TrueCOMMENT
LOW…skills/ge-demo-generator/templates/setup_and_deploy.sh1200# Step 1: provision the project for Discovery Engine / Gemini Enterprise.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go53 // Step 1: plain JSON logger for startup errors, before settings are loaded.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go56 // Step 2: load job settings from Cloud Run Job environment variables.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go63 // Step 3: load entitlement config.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go70 // Step 4: re-set the default logger with workflow and task_index attributesCOMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go78 // Step 5: partition cfg.Projects to only the entries assigned to this task.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go102 // Step 6: wire adapters.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go119 // Step 7: run the workflow determined by JobType.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go136 // Step 8: clean exit.COMMENT
AI Slop Vocabulary39 hits · 86 pts
SeverityFileLineSnippetContext
MEDIUM.ruff.toml56 "PYI",# flake8-pyi (best practices for .pyi stub files, some rules are useful for .py too)CODE
MEDIUM.ruff.toml62 "TRY",# tryceratops (exception handling best practices)CODE
MEDIUMtools/llmevalkit/pages/7_Prompt_Optimization_Results.py189 # Add a custom exact_match calculation. This is more robust than simpleCOMMENT
MEDIUM…concierge/langgraph-demo/frontend/concierge_ui/home.py21Each agent server is compatible with the [LangGraph Cloud API](langchain-ai.github.io/langgraph/cloud/reference/api/api_STRING
LOW…/langgraph-demo/backend/concierge/tools/find_stores.py89 # Note: google-genai doesn't properly handle floats, so we just set this as an integerCOMMENT
MEDIUMgemini/prompts/prompt_optimizer/vapo_lib.py831 ) # More robust text extractionCODE
MEDIUM…round-changer-using-imagen3/frontend/package-lock.json23195 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…ge-generation-using-imagen3/frontend/package-lock.json23219 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…ational-app-single-playbook/frontend/package-lock.json22428 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…text-to-image-using-imagen3/frontend/package-lock.json23272 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…-search-using-agent-builder/frontend/package-lock.json22430 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…sational-app-multi-playbook/frontend/package-lock.json22430 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…-search-using-agent-builder/frontend/package-lock.json22456 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUMgemini/sample-apps/rosetta-agent-porter/app/agents.py148 """Delimited-file code generator. No output_schema (raw code is more robust asSTRING
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py410 except Exception as e: # noqa: BLE001 — test harness records any failureCODE
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py453 except Exception as e: # noqa: BLE001 — test harness records session-create failureCODE
MEDIUMagents/personalized-agent-swarms/test_deployed_agent.py505 except Exception as e: # noqa: BLE001 — test harness records any turn failureCODE
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py271# (Shared functions imported from eval.harness)COMMENT
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py330 except Exception as e: # noqa: BLE001 — test harness records any turn failureCODE
MEDIUM…ents/personalized-agent-swarms/test_augmented_agent.py380# (Shared functions imported from eval.harness)COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py56# Invocation log — test harness reads this to know which agent fired.COMMENT
MEDIUM…t-swarms/augmented_assistant_agent/tools/active_mem.py368 # Override constraints that conflict with comprehensive outputCOMMENT
MEDIUM…ersonalized-agent-swarms/eval/sample_eval_scenarios.py556 # Primary: embedding similarity (robust, handles paraphrasing)COMMENT
MEDIUM…/personalized-agent-swarms/analyzer/swarm_generator.py831 # Remove "avoid" entries that suppress comprehensive outputCOMMENT
MEDIUM…ng/app/static/live-onboarding/assets/index-GxbLCVag.js76 } function Z0(l, t) { return t = Q0(t), Q0(l) === t } function cl(l, t, e, a, u, n) { switch (e) { case "children": CODE
MEDIUMagents/adk/zero-trust-agents/demo/agent.py44# Instead, we leverage Google Cloud's Service-Specific Agent Identity (Service Agent):COMMENT
LOWsearch/auto-rag-eval/main.py100 # Simplified review: just use one critic for now.COMMENT
MEDIUMsearch/gemini-enterprise/ge-migration-agent/core.py433 """Strips common suffixes like May29, dates, punctuation for robust fuzzy matching."""STRING
MEDIUM…rch/gemini-enterprise/ge-demo-generator/app/index.html4862 // Normalize category key for more robust matchingCOMMENT
MEDIUM…-generator/skills/ge-demo-generator/templates/tools.py1026 # Construct robust system-level style and language guidelines.COMMENT
MEDIUM…tor/skills/ge-demo-generator/templates/fast_api_app.py5917 # - robust text capture (retain any text part as a fallback)COMMENT
MEDIUM…tor/skills/ge-demo-generator/templates/fast_api_app.py5954 # Caught by class name (not import) to stay robust across ADK versions.COMMENT
MEDIUM…tor/skills/ge-demo-generator/templates/fast_api_app.py3620 # Caught by class name (not import) to stay robust across ADK versions.COMMENT
MEDIUM…tor/skills/ge-demo-generator/templates/fast_api_app.py6011 # Track tool calls for diagnostics + robust text captureCOMMENT
MEDIUM…e-demo-generator/agent_template/adk_agent/app/tools.py1005 # Construct robust system-level style and language guidelines.COMMENT
MEDIUM…generator/agent_template/adk_agent/app/fast_api_app.py5917 # - robust text capture (retain any text part as a fallback)COMMENT
MEDIUM…generator/agent_template/adk_agent/app/fast_api_app.py5954 # Caught by class name (not import) to stay robust across ADK versions.COMMENT
MEDIUM…generator/agent_template/adk_agent/app/fast_api_app.py3620 # Caught by class name (not import) to stay robust across ADK versions.COMMENT
MEDIUM…generator/agent_template/adk_agent/app/fast_api_app.py6011 # Track tool calls for diagnostics + robust text captureCOMMENT
Cross-Language Confusion12 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…/personalized-agent-swarms/analyzer/swarm_generator.py1016 "trigger_issue": "description of problem" or null,CODE
HIGH…/personalized-agent-swarms/analyzer/swarm_generator.py1109 "trigger_issue": "problem description" or null,CODE
HIGHsearch/gemini-enterprise/ge-demo-generator/canary.py195 "RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*\n"CODE
HIGHsearch/gemini-enterprise/ge-demo-generator/canary.py204 '"mcp>=1.24.0" > /dev/null && echo "constraints.txt OK"\n'CODE
HIGH…-generator/skills/ge-demo-generator/templates/tools.py3761 + "- Use the gws CLI for ALL Workspace reads/writes (see the gws-* skills under /workspace/.agentCODE
HIGH…-generator/skills/ge-demo-generator/templates/agent.py548 * The Firestore REST API requires TYPED values in the \`fields\` object. NEVER send null, None, or empty typed wraCOMMENT
HIGH…-generator/skills/ge-demo-generator/templates/agent.py554 * WRONG: \`{"mapValue": null}\` or \`{"arrayValue": null}\` -- causes 'Cannot convert firestore.v1.Value with typeCOMMENT
HIGH…mo-generator/templates/scripts/warmup_managed_agent.py56 'input': [{'type': 'user_input', 'content': [{'type': 'text', 'text': 'Warm-up and toolchain preparation (installs pCODE
HIGH…e-demo-generator/agent_template/adk_agent/app/tools.py3740 + "- Use the gws CLI for ALL Workspace reads/writes (see the gws-* skills under /workspace/.agentCODE
HIGH…e-demo-generator/agent_template/adk_agent/app/agent.py509 * The Firestore REST API requires TYPED values in the \`fields\` object. NEVER send null, None, or empty typed wraCOMMENT
HIGH…e-demo-generator/agent_template/adk_agent/app/agent.py515 * WRONG: \`{"mapValue": null}\` or \`{"arrayValue": null}\` -- causes 'Cannot convert firestore.v1.Value with typeCOMMENT
HIGH…r/agent_template/managed_agent/warmup_managed_agent.py56 'input': [{'type': 'user_input', 'content': [{'type': 'text', 'text': 'Warm-up and toolchain preparation (installs pCODE
Unused Imports75 hits · 64 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/src/vapo_lib.py27CODE
LOW…ebsocket-demo-apps/gaming-assistant-demo-app/server.py15CODE
LOW…ebsocket-demo-apps/customer-support-demo-app/server.py15CODE
LOW…ive-audio-websocket-demo-apps/react-demo-app/server.py15CODE
LOWgemini/agents/always-on-memory-agent/agent.py25CODE
LOWgemini/agents/always-on-memory-agent/agent.py26CODE
LOW…ni/sample-apps/prism-science-explainer/app/__init__.py15CODE
LOW…-playbook/functions/create-intent/src/cloud_storage.py15CODE
LOW…-playbook/functions/create-intent/src/cloud_storage.py16CODE
LOW…ingle-playbook/functions/create-intent/src/bigquery.py15CODE
LOW…o-image-using-imagen3/backend/src/controller/search.py15CODE
LOW…o-image-using-imagen3/backend/src/controller/search.py17CODE
LOW…o-image-using-imagen3/backend/src/controller/search.py19CODE
LOW…-playbook/functions/create-intent/src/cloud_storage.py15CODE
LOW…-playbook/functions/create-intent/src/cloud_storage.py16CODE
LOW…multi-playbook/functions/create-intent/src/bigquery.py15CODE
LOWgemini/sample-apps/rosetta-agent-porter/serve.py25CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/intake.py19CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/build.py15CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/acli.py20CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/evalgen.py29CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/tools.py22CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/runtime.py15CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/pipeline.py26CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/verify.py21CODE
LOWgemini/sample-apps/rosetta-agent-porter/app/codegen.py15CODE
LOW…apps/rosetta-agent-porter/scripts/validate_examples.py25CODE
LOWagents/personalized-agent-swarms/config.py27CODE
LOW…zed-agent-swarms/augmented_assistant_agent/__init__.py15CODE
LOW…ent-swarms/augmented_assistant_agent/tools/__init__.py15CODE
LOW…ent-swarms/augmented_assistant_agent/tools/__init__.py16CODE
LOW…onalized-agent-swarms/user_assistant_agent/__init__.py15CODE
LOW…mpliance-pipeline/python-extraction-agent/app/tools.py17CODE
LOWagents/adk/new-hire-onboarding/app/__init__.py15CODE
LOWagents/adk/agent-quality-flywheel/app/__init__.py15CODE
LOWagents/adk/zero-trust-agents/demo/agent.py29CODE
LOWsearch/auto-rag-eval/main.py3CODE
LOW…emini-enterprise/ge-migration-agent/skills/__init__.py1CODE
LOW…-generator/skills/ge-demo-generator/templates/tools.py26CODE
LOW…-generator/skills/ge-demo-generator/templates/tools.py26CODE
LOW…-generator/skills/ge-demo-generator/templates/tools.py28CODE
LOW…-generator/skills/ge-demo-generator/templates/tools.py33CODE
LOW…/skills/ge-demo-generator/templates/part_converters.py32CODE
LOW…/skills/ge-demo-generator/templates/part_converters.py35CODE
LOW…/skills/ge-demo-generator/templates/part_converters.py36CODE
LOW…/skills/ge-demo-generator/templates/part_converters.py37CODE
LOW…/skills/ge-demo-generator/templates/part_converters.py43CODE
LOW…-generator/skills/ge-demo-generator/templates/agent.py238CODE
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py40CODE
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py66CODE
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py5674CODE
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py4189CODE
LOW…/skills/ge-demo-generator/templates/viewer_app/main.py28CODE
LOW…/skills/ge-demo-generator/templates/viewer_app/main.py29CODE
LOW…ls/ge-demo-generator/templates/scripts/validate_csv.py32CODE
LOW…ge-demo-generator/templates/scripts/verify_and_heal.py44CODE
LOW…se/ge-demo-generator/agent_template/viewer_app/main.py27CODE
LOW…se/ge-demo-generator/agent_template/viewer_app/main.py28CODE
LOW…e-demo-generator/agent_template/adk_agent/app/tools.py26CODE
LOW…e-demo-generator/agent_template/adk_agent/app/tools.py26CODE
15 more matches not shown…
Modern Structural Boilerplate62 hits · 62 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/pages/2_Dataset_Creation.py28logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/1_Prompt_Management.py43logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/8_Prompt_Records.py29logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/6_Prompt_Optimization.py48logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py28logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/3_Evaluation.py43logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/5_Performance_Tuner.py38logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/pages/4_One_Click_Refiner.py30logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/src/gcp_evaluation.py49logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/src/gcp_prompt.py62logger = logging.getLogger(__name__)CODE
LOWtools/llmevalkit/src/gcp_dataset.py42logger = logging.getLogger(__name__)CODE
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py23logger = logging.getLogger(__name__)CODE
LOWgemini/multimodal-live-api/livekit-adk/app/main.py37logger = logging.getLogger(__name__)CODE
LOW…al-live-api/livekit-adk/app/travel_booking/__init__.py1__all__ = ['DatabaseSessionService']CODE
LOW…kit-adk/app/travel_booking/database_session_service.py16logger = logging.getLogger(__name__)CODE
LOW…bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py19logger = logging.getLogger(__name__)CODE
LOW…/multimodal-live-api/project-livewire/server/server.py48logger = logging.getLogger(__name__)CODE
LOW…-api/project-livewire/server/core/websocket_handler.py31logger = logging.getLogger(__name__)CODE
LOW…-live-api/project-livewire/server/core/tool_handler.py26logger = logging.getLogger(__name__)CODE
LOW…live-api/project-livewire/server/core/gemini_client.py25logger = logging.getLogger(__name__)CODE
LOW…odal-live-api/project-livewire/server/config/config.py26logger = logging.getLogger(__name__)CODE
LOW…erge/langgraph-demo/frontend/concierge_ui/demo_page.py14logger = logging.getLogger(__name__)CODE
LOW…end/concierge_ui/agents/gemini_chat_with_guardrails.py13logger = logging.getLogger(__name__)CODE
LOW…graph-demo/frontend/concierge_ui/agents/gemini_chat.py13logger = logging.getLogger(__name__)CODE
LOW…raph-demo/frontend/concierge_ui/agents/task_planner.py13logger = logging.getLogger(__name__)CODE
LOW…-demo/frontend/concierge_ui/agents/function_calling.py14logger = logging.getLogger(__name__)CODE
LOW…h-demo/frontend/concierge_ui/agents/semantic_router.py13logger = logging.getLogger(__name__)CODE
LOW…ce-concierge/langgraph-demo/backend/concierge/utils.py29logger = logging.getLogger(__name__)CODE
LOW…/langgraph-demo/backend/concierge/tools/find_stores.py20logger = logging.getLogger(__name__)CODE
LOW…anggraph-demo/backend/concierge/tools/find_products.py17logger = logging.getLogger(__name__)CODE
LOW…ncierge/langgraph-demo/backend/concierge/nodes/chat.py17logger = logging.getLogger(__name__)CODE
LOW…e/langgraph-demo/backend/concierge/nodes/guardrails.py17logger = logging.getLogger(__name__)CODE
LOW…ierge/langgraph-demo/backend/concierge/nodes/router.py18logger = logging.getLogger(__name__)CODE
LOW…-demo/backend/concierge/nodes/task_planning/planner.py16logger = logging.getLogger(__name__)CODE
LOW…emo/backend/concierge/nodes/task_planning/reflector.py16logger = logging.getLogger(__name__)CODE
LOW…demo/backend/concierge/nodes/task_planning/executor.py16logger = logging.getLogger(__name__)CODE
LOW…backend/concierge/langgraph_server/checkpoint_saver.py17logger = logging.getLogger(__name__)CODE
LOW…/backend/concierge/langgraph_server/langgraph_agent.py18logger = logging.getLogger(__name__)CODE
LOWgemini/mcp/mcp_orchestration_app/src/gemini_client.py406 def set_generation_config(self, config: types.GenerateContentConfig) -> None:CODE
LOWgemini/mcp/mcp_orchestration_app/src/gemini_client.py415 def set_system_instruction(self, system_instruction: str) -> None:CODE
LOW…ni/sample-apps/prism-science-explainer/app/__init__.py17__all__ = ["app"]CODE
LOWgemini/sample-apps/swot-agent/main.py176async def update_status(session_id: str, message: Any) -> None:CODE
LOWgemini/sample-apps/gemini-live-telephony-app/main.py32logger = logging.getLogger(__name__)CODE
LOW…ample-apps/gemini-live-telephony-app/utils/live_api.py21logger = logging.getLogger(__name__)CODE
LOW…s/gemini-live-telephony-app/utils/audio_transcoding.py23logger = logging.getLogger(__name__)CODE
LOW…zed-agent-swarms/augmented_assistant_agent/__init__.py17__all__ = ["root_agent"]CODE
LOW…ent-swarms/augmented_assistant_agent/tools/__init__.py18__all__ = ["check_and_invoke_swarm", "load_swarm"]CODE
LOW…onalized-agent-swarms/user_assistant_agent/__init__.py17__all__ = ["root_agent"]CODE
LOW…e-pipeline/python-extraction-agent/app/fast_api_app.py75logger = logging.getLogger(__name__)CODE
LOW…peline/python-extraction-agent/app/fallback_handler.py40logger = logging.getLogger(__name__)CODE
LOW…ine/python-extraction-agent/app/app_utils/telemetry.py18logger = logging.getLogger(__name__)CODE
LOW…ne/python-extraction-agent/tests/unit/test_fallback.py23logger = logging.getLogger(__name__)CODE
LOWagents/adk/new-hire-onboarding/app/resume_handler.py23logger = logging.getLogger(__name__)CODE
LOWagents/adk/new-hire-onboarding/app/__init__.py17__all__ = ["app"]CODE
LOWagents/adk/new-hire-onboarding/app/agent_runtime_app.py33 def set_up(self) -> None:CODE
LOWagents/adk/agent-quality-flywheel/app/__init__.py17__all__ = ["app"]CODE
LOW…emini-enterprise/ge-migration-agent/skills/__init__.py3__all__ = ["MigrationConfigSkill"]CODE
LOW…/skills/ge-demo-generator/templates/part_converters.py48logger = logging.getLogger(__name__)CODE
LOW…-generator/skills/ge-demo-generator/templates/agent.py3661__all__ = ["root_agent", "app", "background_agent"]STRING
LOW…erator/agent_template/adk_agent/app/part_converters.py48logger = logging.getLogger(__name__)CODE
2 more matches not shown…
Verbosity Indicators22 hits · 41 pts
SeverityFileLineSnippetContext
LOW…ni/sample-apps/genwealth/deployment/deploy-frontend.sh29# Step 3: Deploy to Cloud RunCOMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh53 # Step 1: Cleanup stale outputsCOMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh66 # Step 2: Analyze history and generate swarmCOMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh75 # Step 3: Sample eval scenarios from pool (if pool exists)COMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh90 # Step 4: Run evaluation with judgeCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py555 # Step 1: Intent → agent mappingCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py568 # Step 2: PartitionCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py601 # Step 3: Oversample candidates (3x to have room after filtering)COMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py612 # Step 4: LLM reviewCOMMENT
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py630 # Step 5: Sample from confirmedCOMMENT
LOWagents/adk/zero-trust-agents/demo/agent.py176 # Step 1: Call the query_order_limit toolCOMMENT
LOWagents/adk/zero-trust-agents/demo/agent.py184 # Step 2: Call the issue_refund_transaction toolCOMMENT
LOW…skills/ge-demo-generator/templates/setup_and_deploy.sh1232# Step 2: create the free trial license config. freeTrial is pinned to TrueCOMMENT
LOW…skills/ge-demo-generator/templates/setup_and_deploy.sh1200# Step 1: provision the project for Discovery Engine / Gemini Enterprise.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go53 // Step 1: plain JSON logger for startup errors, before settings are loaded.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go56 // Step 2: load job settings from Cloud Run Job environment variables.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go63 // Step 3: load entitlement config.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go70 // Step 4: re-set the default logger with workflow and task_index attributesCOMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go78 // Step 5: partition cfg.Projects to only the entries assigned to this task.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go102 // Step 6: wire adapters.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go119 // Step 7: run the workflow determined by JobType.COMMENT
LOW…arch/gemini-enterprise/group-licensing/cmd/job/main.go136 // Step 8: clean exit.COMMENT
Redundant / Tautological Comments29 hits · 41 pts
SeverityFileLineSnippetContext
LOWtools/llmevalkit/pages/7_Prompt_Optimization_Results.py87 # Print the resultsCOMMENT
LOW…l-live-api/livekit-adk/app/travel_booking/telemetry.py9 # Check if we should enable cloud tracingCOMMENT
LOW…-audio-websocket-demo-apps/plain-js-demo-app/server.py215 # Check if file existsCOMMENT
LOWgemini/mcp/adk_mcp_app/mcp_server/cocktail.py31 # Check if it's a known 'no result' structure or genuinely emptyCOMMENT
LOW…mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py31 # Check if it's a known 'no result' structure or genuinely emptyCOMMENT
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py715 # Check if image embedding is usedCOMMENT
LOWgemini/prompts/prompt_optimizer/vapo_lib.py912 ) # Display value and line breakCODE
LOWgemini/sample-apps/swot-agent/main.py115 # Check if analysis is complete by looking for the final messageCOMMENT
LOWgemini/computer-use/web-agent/web_agent.py218 # Check if the attribute exists AND is not NoneCOMMENT
LOW…ents/personalized-agent-swarms/test_augmented_agent.py604 # Check if expected agent even exists in the swarmCOMMENT
LOW…t-swarms/augmented_assistant_agent/tools/active_mem.py618 # Check if ALL agents have pre-computed scope embeddingsCOMMENT
LOW…/personalized-agent-swarms/analyzer/swarm_generator.py1468 # Check if output looks truncatedCOMMENT
LOW…/personalized-agent-swarms/analyzer/swarm_generator.py2158 # Check if any surviving agent's trigger_signals overlapCOMMENT
LOW…/personalized-agent-swarms/analyzer/swarm_generator.py3223 # Check if goal reached via simulated userCOMMENT
LOW…peline/python-extraction-agent/app/fallback_handler.py73 # Check if a custom timeout is toggled in memory settingsCOMMENT
LOWagents/adk/zero-trust-agents/demo/gateway_guard.py65 # Check if database update exceeds order totalCOMMENT
LOWsearch/web-app/main.py125 # Check if POST Request includes search queryCOMMENT
LOWsearch/web-app/main.py197 # Check if POST Request includes search queryCOMMENT
LOWsearch/web-app/main.py208 # Check if text is a urlCOMMENT
LOWsearch/web-app/main.py277 # Check if POST Request includes document idCOMMENT
LOWsearch/web-app/main.py338 # Check if POST Request includes search queryCOMMENT
LOWsearch/auto-rag-eval/transform_benchmark.py85 # Check if input file existsCOMMENT
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py5783 # Check if cancelled before startingCOMMENT
LOW…/skills/ge-demo-generator/templates/viewer_app/main.py219 # Check if this is a scheduled task — if so, delete Cloud Scheduler job tooCOMMENT
LOW…e-demo-generator/templates/scripts/setup_datastores.py83 # Check if existsCOMMENT
LOW…emplates/scripts/generate_and_upload_external_files.py403 # Check if gdrive CLI is operational and check its authenticated identityCOMMENT
LOW…se/ge-demo-generator/agent_template/viewer_app/main.py206 # Check if this is a scheduled task — if so, delete Cloud Scheduler job tooCOMMENT
LOW…generator/agent_template/adk_agent/app/fast_api_app.py5783 # Check if cancelled before startingCOMMENT
LOWscripts/format.sh18# Check if uv is installedCOMMENT
Cross-Language Confusion (JS/TS)6 hits · 40 pts
SeverityFileLineSnippetContext
HIGHagents/adk/zero-trust-agents/app.js394 print(f"Calculated Prorated Refund for Order: \${final_refund:.2f}")CODE
HIGHagents/adk/zero-trust-agents/app.js402 print("Searching host filesystem for configuration credentials...")CODE
HIGHagents/adk/zero-trust-agents/app.js407 print("Successfully read local file credentials.")CODE
HIGHagents/adk/zero-trust-agents/app.js410 print(f"System Error: {e}")CODE
HIGHagents/adk/zero-trust-agents/app.js425 print(f"Attempting to exfiltrate Stripe Key to black-market-gateway.ru...")CODE
HIGHagents/adk/zero-trust-agents/app.js428 print("Data sent successfully.")CODE
Hallucination Indicators4 hits · 35 pts
SeverityFileLineSnippetContext
CRITICALtools/llmevalkit/pages/6_Prompt_Optimization.py164 st.session_state.local_prompt.prompt_to_run.model_name.split("/")[-1]CODE
CRITICALtools/llmevalkit/pages/3_Evaluation.py366 st.session_state.local_prompt.prompt_to_run.model_name.split("/")[-1]CODE
CRITICALgemini/sample-apps/swot-agent/agent.py224 response = await ctx.deps.client.aio.models.generate_content(STRING
CRITICAL…licensing/internal/adapters/discoveryengine/adapter.go438 resp, err := svc.Projects.Locations.UserStores.LicenseConfigsUsageStats.List(parent).Context(ctx).Do()CODE
Fake / Example Data27 hits · 29 pts
SeverityFileLineSnippetContext
LOW…/multimodal-live-api/livekit-adk/app/livekit_bridge.py58 return "dummy_token"CODE
LOW…and-documentai-for-entity-extraction/prompts_module.py47 "Employee's Name": "John Doe",CODE
LOW…ini/sample-apps/prism-science-explainer/app/shell.html224 <div class="placeholder" id="placeholder">CODE
LOW…ini/sample-apps/prism-science-explainer/app/shell.html445 var elPlaceholder=$('placeholder'), elInstrument=$('instrument'),CODE
LOW…-changer-input/background-changer-input.component.html34 <span *ngIf="!selectedFile" class="placeholder"> No image selected </span>CODE
LOW…-changer-input/background-changer-input.component.html39 <span *ngIf="!selectedFile" class="placeholder"> No image selected </span>CODE
LOW…re-onboarding/tests/eval/evalsets/onboarding_eval.json31 "name": "Jane Doe",CODE
LOW…re-onboarding/tests/eval/evalsets/onboarding_eval.json81 "name": "Jane Doe",CODE
LOW…re-onboarding/tests/eval/evalsets/onboarding_eval.json135 "name": "Jane Doe",CODE
LOW…re-onboarding/tests/eval/evalsets/onboarding_eval.json181 "name": "Jane Doe",CODE
LOW…re-onboarding/tests/eval/evalsets/onboarding_eval.json230 "name": "Jane Doe",CODE
LOW…boarding/tests/eval/evalsets/dead_time_delay_eval.json31 "name": "Jane Doe",CODE
LOW…boarding/tests/eval/evalsets/dead_time_delay_eval.json115 "name": "Jane Doe",CODE
LOWsearch/web-app/consts.py24 "placeholder": "Vertex AI",CODE
LOWsearch/web-app/consts.py29 "placeholder": "What is the SLA?",CODE
LOWsearch/web-app/consts.py34 "placeholder": "What was Google's revenue in 2021?",CODE
LOWsearch/web-app/consts.py39 "placeholder": "Harry Potter",CODE
LOW…erator/templates/scripts/managed_agent_instruction.txt37- The bar is board-ready: real numbers from the actual data, sources with URLs for every external claim, assertion-styleCODE
LOW…sing/internal/adapters/discoveryengine/adapter_test.go253 UserPrincipal: "user@example.com",CODE
LOW…sing/internal/adapters/discoveryengine/adapter_test.go412 UserEmail: "user@example.com",CODE
LOW…prise/group-licensing/internal/services/joiner_test.go154 {Email: "user@example.com", Type: models.MemberTypeUser},CODE
LOW…prise/group-licensing/internal/services/joiner_test.go279 {Email: "user@example.com", Type: models.MemberTypeUser},CODE
LOW…prise/group-licensing/internal/services/joiner_test.go433 {Email: "user@example.com", Type: models.MemberTypeUser},CODE
LOW…prise/group-licensing/internal/services/joiner_test.go437 return len(updates) == 1 && updates[0].UserEmail == "user@example.com"CODE
LOW…prise/group-licensing/internal/services/joiner_test.go595 {Email: "user@example.com", Type: models.MemberTypeUser},CODE
LOW…prise/group-licensing/internal/services/joiner_test.go820 userEmail = "user@example.com"CODE
LOW…nterprise/group-licensing/internal/services/gc_test.go516 userEmail = "user@example.com"CODE
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHgemini/sample-apps/prism-science-explainer/README.md59GOOGLE_API_KEY=your-api-key-hereCODE
HIGHgemini/sample-apps/rosetta-agent-porter/README.md57GOOGLE_API_KEY=your-api-key-hereCODE
HIGHpartner-models/claude/computer-use-demo/README.md124export ANTHROPIC_API_KEY=%your_api_key%CODE
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…experience-concierge/langgraph-demo/frontend/README.md51 - **Gemini Chat:** streams response text generated by GeminiCODE
HIGH…-experience-concierge/langgraph-demo/backend/README.md77 - Streams: Response text generated by Gemini.CODE
AI Structural Patterns11 hits · 9 pts
SeverityFileLineSnippetContext
LOW…raph-demo/frontend/concierge_ui/agents/task_planner.py104CODE
LOW…aph-demo/backend/concierge/langgraph_server/schemas.py134CODE
LOW…/backend/concierge/langgraph_server/langgraph_agent.py216CODE
LOW…gmented-generation/utils/intro_multimodal_rag_utils.py306CODE
LOWgemini/use-cases/entity-extraction/evaluate.py128CODE
LOWgemini/sample-apps/gemini-hallcheck/src/gemhall/eval.py253CODE
LOWgemini/sample-apps/swot-agent/main.py129CODE
LOW…generation-using-imagen3/backend/src/service/search.py194CODE
LOW…ersonalized-agent-swarms/eval/sample_eval_scenarios.py742CODE
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py5563CODE
LOW…generator/agent_template/adk_agent/app/fast_api_app.py5563CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…pps/prism-science-explainer/deployment/cloudbuild.yaml2# Usage:COMMENT
LOW…/sample-apps/prism-science-explainer/scripts/deploy.sh20# Usage:COMMENT
LOW…e-apps/rosetta-agent-porter/deployment/cloudbuild.yaml3# Usage:COMMENT
LOW…ini/sample-apps/rosetta-agent-porter/scripts/deploy.sh23# Usage:COMMENT
LOWagents/personalized-agent-swarms/run_pipeline.sh3# Usage:COMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMgemini/sample-apps/genwealth/database-files/llm.sql22-- DISCLAIMER: This function is provided for demonstration purposes only andCODE
MEDIUM…ini/sample-apps/genwealth/database-files/llm_local.sql22-- DISCLAIMER: This function is provided for demonstration purposes only andCODE
MEDIUM…/personalized-agent-swarms/analyzer/swarm_generator.py310 "Let me know if you need more help" unless the user explicitly asks.CODE
MEDIUM…/personalized-agent-swarms/analyzer/swarm_generator.py981 actionable advice rather than vague "let me know if you need more" padding?CODE
Overly Generic Function Names2 hits · 1 pts
SeverityFileLineSnippetContext
LOW…tor/skills/ge-demo-generator/templates/fast_api_app.py5670async def execute_task(request: Request):CODE
LOW…generator/agent_template/adk_agent/app/fast_api_app.py5670async def execute_task(request: Request):CODE