Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform
This report summarizes scanner evidence for GoogleCloudPlatform/generative-ai, a Jupyter Notebook project with 17,799 GitHub stars. SynthScan examined 523,766 lines of code across 1826 source files, recording 3774 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 12.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1582 finding(s).
Are imports declared and package/API names verified? 192 finding(s).
Are wrappers, guards, and repeated structures necessary? 2369 finding(s).
Which changes need focused human review? 3774 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3774 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 129 | except: | CODE |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 134 | except: | CODE |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 123 | except asyncio.CancelledError: | CODE |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 130 | except: | CODE |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 135 | except: | CODE |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 124 | except asyncio.CancelledError: | CODE |
| HIGH | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 56 | except asyncio.CancelledError: | CODE |
| HIGH | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 66 | except asyncio.CancelledError: | CODE |
| HIGH | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 74 | except asyncio.CancelledError: | CODE |
| HIGH | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 115 | except: | CODE |
| HIGH | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 83 | except json.JSONDecodeError: | CODE |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 127 | except: | CODE |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 132 | except: | CODE |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 121 | except asyncio.CancelledError: | CODE |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 129 | except: | CODE |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 134 | except: | CODE |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 123 | except asyncio.CancelledError: | CODE |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 129 | except: | CODE |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 134 | except: | CODE |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 123 | except asyncio.CancelledError: | CODE |
| HIGH | …-api/project-livewire/server/core/websocket_handler.py | 123 | except asyncio.CancelledError: | CODE |
| HIGH | …-api/project-livewire/server/core/websocket_handler.py | 130 | except asyncio.CancelledError: | CODE |
| HIGH | …-api/project-livewire/server/core/websocket_handler.py | 238 | except asyncio.CancelledError: | CODE |
| HIGH | …-api/project-livewire/server/core/websocket_handler.py | 51 | except asyncio.CancelledError: | CODE |
| HIGH | …-api/shopping-avatar/ecommerce/backend/routes/admin.py | 130 | except Exception: | CODE |
| HIGH | …-api/shopping-avatar/ecommerce/backend/routes/admin.py | 145 | except Exception: | CODE |
| HIGH | …ve-api/shopping-avatar/ecommerce/backend/routes/mcp.py | 291 | except Exception: | CODE |
| HIGH | …ve-api/shopping-avatar/ecommerce/backend/routes/mcp.py | 303 | except Exception: | CODE |
| HIGH | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 156 | except Exception: | CODE |
| HIGH | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 121 | except asyncio.CancelledError: | CODE |
| HIGH | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 136 | except asyncio.CancelledError: | CODE |
| HIGH | gemini/agents/always-on-memory-agent/agent.py | 643 | except asyncio.CancelledError: | CODE |
| HIGH | gemini/agents/always-on-memory-agent/agent.py | 669 | except (KeyboardInterrupt, asyncio.CancelledError): | CODE |
| HIGH | …cp/adk_multiagent_mcp_app/mcp_server/weather_server.py | 145 | except httpx.HTTPStatusError: | CODE |
| HIGH | …cp/adk_multiagent_mcp_app/mcp_server/weather_server.py | 147 | except httpx.RequestError: | CODE |
| HIGH | …cp/adk_multiagent_mcp_app/mcp_server/weather_server.py | 149 | except json.JSONDecodeError: | CODE |
| HIGH | …ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py | 107 | except Exception: | CODE |
| HIGH | …ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py | 172 | except Exception: | CODE |
| HIGH | gemini/sample-apps/gemini-hallcheck/src/gemhall/eval.py | 93 | except Exception: | CODE |
| HIGH | gemini/sample-apps/rosetta-agent-porter/serve.py | 186 | except Exception: # broad except on purpose | CODE |
| HIGH | gemini/sample-apps/rosetta-agent-porter/serve.py | 93 | except Exception: # broad except on purpose | CODE |
| HIGH | gemini/sample-apps/rosetta-agent-porter/app/evalgen.py | 244 | except Exception: # broad except on purpose: fall through to a generic probe | CODE |
| HIGH | …ents/personalized-agent-swarms/test_augmented_agent.py | 497 | except (json.JSONDecodeError, OSError): | CODE |
| HIGH | agents/personalized-agent-swarms/eval/harness.py | 169 | except (json.JSONDecodeError, OSError): | CODE |
| HIGH | …s/personalized-agent-swarms/eval/generate_eval_pool.py | 158 | except json.JSONDecodeError: | CODE |
| HIGH | …s/personalized-agent-swarms/eval/generate_eval_pool.py | 180 | except json.JSONDecodeError: | CODE |
| HIGH | …s/personalized-agent-swarms/eval/generate_eval_pool.py | 208 | except json.JSONDecodeError: | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 84 | except json.JSONDecodeError: | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 91 | except json.JSONDecodeError: | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 98 | except json.JSONDecodeError: | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 3177 | except (json.JSONDecodeError, TypeError): | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 3366 | except (json.JSONDecodeError, OSError): | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 2095 | except (ValueError, TypeError): | CODE |
| HIGH | …e-pipeline/python-extraction-agent/app/fast_api_app.py | 263 | except Exception: | CODE |
| HIGH | …e-pipeline/python-extraction-agent/app/fast_api_app.py | 256 | except Exception: | CODE |
| HIGH | …ine/python-extraction-agent/app/app_utils/telemetry.py | 65 | except Exception: | CODE |
| HIGH | vision/sample-apps/genmedia-live/app.py | 73 | except Exception: | CODE |
| HIGH | vision/sample-apps/genmedia-live/app.py | 237 | except RuntimeError: | CODE |
| HIGH | vision/sample-apps/genmedia-live/app.py | 249 | except Exception: | CODE |
| HIGH | vision/sample-apps/genmedia-live/app.py | 1091 | except Exception: | CODE |
| 247 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 215 | # ============================================================== | COMMENT |
| MEDIUM | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 217 | # ============================================================== | COMMENT |
| MEDIUM⚡ | gemini/multimodal-live-api/livekit-adk/app/main.py | 45 | # ======================================== | COMMENT |
| MEDIUM⚡ | gemini/multimodal-live-api/livekit-adk/app/main.py | 47 | # ======================================== | COMMENT |
| MEDIUM⚡ | gemini/multimodal-live-api/livekit-adk/app/main.py | 137 | # ======================================== | COMMENT |
| MEDIUM⚡ | gemini/multimodal-live-api/livekit-adk/app/main.py | 139 | # ======================================== | COMMENT |
| MEDIUM⚡ | gemini/agents/always-on-memory-agent/agent.py | 524 | # ─── Consolidation Timer ────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 36 | # ─── Config ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 77 | # ─── Database ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 315 | # ─── ADK Agents ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 395 | # ─── Agent Runner ────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 478 | # ─── File Watcher ────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 546 | # ─── HTTP API ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 609 | # ─── Main ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 111 | # ─── ADK Tools ───────────────────────────────────────────────── | STRING |
| MEDIUM⚡ | agents/personalized-agent-swarms/test_deployed_agent.py | 191 | # ── Disambiguation ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | agents/personalized-agent-swarms/test_deployed_agent.py | 197 | # ── Multi-part ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | agents/personalized-agent-swarms/test_deployed_agent.py | 203 | # ── Multilingual ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | agents/personalized-agent-swarms/test_deployed_agent.py | 211 | # ── Multi-turn test cases ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 45 | # ── Defaults ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 57 | # ── ANSI colours ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 68 | # ── Dimension display names ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 82 | # ── Data structures ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 114 | # ── Single-turn test cases ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 117 | # ── Factual / knowledge questions ────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 143 | # ── Current events / web search needed ───────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 159 | # ── How-to / practical questions ─────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 170 | # ── Creative / writing ───────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 306 | # ── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 352 | # ── Query helper ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 366 | # ── Test runners ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 533 | # ── LLM-as-Judge ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 686 | # ── JSON output ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 760 | # ── Main ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 810 | # ── Keyword Summary ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 821 | # ── LLM Judge ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 829 | # ── Save JSON report ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ents/personalized-agent-swarms/test_augmented_agent.py | 182 | # ── Scenario sampling from profiles.json ─────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ents/personalized-agent-swarms/test_augmented_agent.py | 270 | # ── Simulated user agent for evaluation ─────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ents/personalized-agent-swarms/test_augmented_agent.py | 274 | # ── Agent conversation runner ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ents/personalized-agent-swarms/test_augmented_agent.py | 379 | # ── LLM Judge ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ents/personalized-agent-swarms/test_augmented_agent.py | 383 | # ── Main ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ents/personalized-agent-swarms/test_augmented_agent.py | 665 | # ── Compute burden winner (programmatic) ────────────── | COMMENT |
| MEDIUM | …ents/personalized-agent-swarms/test_augmented_agent.py | 682 | # ── Compute quality winner (LLM judge with retry) ───── | COMMENT |
| MEDIUM | …ents/personalized-agent-swarms/test_augmented_agent.py | 751 | # ── Print results ───────────────────────────────────── | COMMENT |
| MEDIUM | …ents/personalized-agent-swarms/test_augmented_agent.py | 825 | # ── Summary ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 732 | # ── Fallback: keyword matching (for legacy triggers) ───────── | COMMENT |
| MEDIUM⚡ | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 741 | # ── Fallback: intent matching (for legacy triggers) ────────── | COMMENT |
| MEDIUM⚡ | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 748 | # ── No match ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 753 | # ── Load and invoke the matched agent ──────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 82 | # ── LLM-based trigger matching (new) ──────────────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 261 | # ── Legacy keyword matching (kept for backward compatibility) ──────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 290 | # ── Attribute-based feature extraction (new) ───────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 309 | # ── Task-adaptive style dampening ──────────────────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 404 | # ── Response post-processing ────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 497 | # ── Main entry point ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 587 | # ── Separate triggers by type ──────────────────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 613 | # ── Stage 1: Attribute + Embedding matching ───────────────────── | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 770 | # ── High confidence → execute agent silently ────────────────── | COMMENT |
| MEDIUM | …alized-agent-swarms/user_profiles/generate_profiles.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| 367 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 61 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 102 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 124 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 139 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 157 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 191 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 254 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 311 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 348 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 467 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 51 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 60 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 96 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 143 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 354 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 375 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 468 | except Exception as e: | CODE |
| LOW⚡ | tools/llmevalkit/pages/3_Evaluation.py | 50 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 125 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 419 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 548 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 768 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 1034 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 528 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 565 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 599 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 102 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 124 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 167 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 187 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 229 | except Exception as e: | CODE |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 64 | except Exception as e: | CODE |
| LOW⚡ | tools/llmevalkit/src/gcp_evaluation.py | 124 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/llmevalkit/src/gcp_evaluation.py | 125 | print(f"Error preparing DataFrame: {e}") | CODE |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 236 | except Exception as e: | CODE |
| MEDIUM | tools/llmevalkit/src/gcp_dataset.py | 94 | print(f"An error occurred: {e}") | CODE |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 50 | except Exception as e: | CODE |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 198 | except Exception as send_err: | CODE |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 274 | except Exception as exception: | CODE |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 276 | except Exception as e: | CODE |
| LOW | gemini/multimodal-live-api/livekit-adk/app/main.py | 102 | except Exception as e: | CODE |
| LOW⚡ | gemini/multimodal-live-api/livekit-adk/app/main.py | 130 | except Exception as e: | CODE |
| LOW⚡ | …l-live-api/livekit-adk/app/travel_booking/telemetry.py | 41 | except Exception as e: | CODE |
| LOW⚡ | …l-live-api/livekit-adk/app/travel_booking/telemetry.py | 44 | except Exception as e: | CODE |
| LOW | …-live-api/livekit-adk/app/travel_booking/viewer_api.py | 39 | except Exception as e: | CODE |
| LOW | …-live-api/livekit-adk/app/travel_booking/viewer_api.py | 82 | except Exception as e: | CODE |
| LOW | …kit-adk/app/travel_booking/database_session_service.py | 136 | except Exception: | STRING |
| LOW | …kit-adk/app/travel_booking/database_session_service.py | 202 | except Exception as parse_e: | STRING |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 35 | except Exception as e: | CODE |
| MEDIUM | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 36 | print(f"Error generating access token: {e}") | CODE |
| LOW⚡ | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 61 | except Exception as e: | CODE |
| MEDIUM⚡ | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 62 | print(f"Error processing message: {e}") | CODE |
| LOW⚡ | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 67 | except Exception as e: | CODE |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 141 | except Exception as e: | CODE |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 195 | except Exception as e: | CODE |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 38 | except Exception as e: | CODE |
| MEDIUM | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 39 | print(f"Error generating access token: {e}") | CODE |
| LOW⚡ | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 65 | except Exception as e: | CODE |
| MEDIUM⚡ | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 66 | print(f"Error processing message: {e}") | CODE |
| LOW⚡ | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 71 | except Exception as e: | CODE |
| 1000 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts a | STRING |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts a | STRING |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts a | STRING |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | websocket proxy server for gemini live api. handles authentication and proxies websocket connections. this server acts a | STRING |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. | STRING |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. | STRING |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. | STRING |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. | STRING |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. | STRING |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re | STRING |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re | STRING |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re | STRING |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re | STRING |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re | STRING |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web | STRING |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web | STRING |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web | STRING |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web | STRING |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web | STRING |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare | STRING |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare | STRING |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare | STRING |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare | STRING |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare | STRING |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ | STRING |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ | STRING |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ | STRING |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ | STRING |
| HIGH | …end/concierge_ui/agents/gemini_chat_with_guardrails.py | 0 | handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function take | STRING |
| HIGH | …graph-demo/frontend/concierge_ui/agents/gemini_chat.py | 0 | handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function take | STRING |
| HIGH | …-demo/frontend/concierge_ui/agents/function_calling.py | 0 | handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function take | STRING |
| HIGH | …h-demo/frontend/concierge_ui/agents/semantic_router.py | 0 | handles chat interactions for a semantic router agent by streaming responses from a remote langgraph. this function take | STRING |
| HIGH | …-experience-concierge/langgraph-demo/backend/README.md | 0 | you 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.py | 0 | you 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.py | 0 | you 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.py | 0 | retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph s | STRING |
| HIGH | …/backend/concierge/langgraph_server/langgraph_agent.py | 0 | retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph s | STRING |
| HIGH | …demo/backend/concierge/langgraph_server/fastapi_app.py | 0 | retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph s | STRING |
| HIGH | …aph-demo/backend/concierge/langgraph_server/schemas.py | 0 | retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to re | STRING |
| HIGH | …/backend/concierge/langgraph_server/langgraph_agent.py | 0 | retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to re | STRING |
| HIGH | …demo/backend/concierge/langgraph_server/fastapi_app.py | 0 | retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to re | STRING |
| HIGH | …image-background-changer-using-imagen3/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …profile-image-generation-using-imagen3/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …bot/conversational-app-single-playbook/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …s/quickbot/text-to-image-using-imagen3/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …bot/website-search-using-agent-builder/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …kbot/conversational-app-multi-playbook/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …ot/document-search-using-agent-builder/backend/main.py | 0 | configures cors middleware based on the environment. | STRING |
| HIGH | …bot/conversational-app-single-playbook/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu | STRING |
| HIGH | …bot/website-search-using-agent-builder/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu | STRING |
| HIGH | …kbot/conversational-app-multi-playbook/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu | STRING |
| HIGH | …ot/document-search-using-agent-builder/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu | STRING |
| HIGH | …bot/conversational-app-single-playbook/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' | STRING |
| HIGH | …bot/website-search-using-agent-builder/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' | STRING |
| HIGH | …kbot/conversational-app-multi-playbook/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' | STRING |
| HIGH | …ot/document-search-using-agent-builder/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' | STRING |
| HIGH | …app-single-playbook/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. | STRING |
| HIGH | …using-agent-builder/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. | STRING |
| HIGH | …-app-multi-playbook/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. | STRING |
| HIGH | …using-agent-builder/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. | STRING |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/pages/6_Prompt_Optimization.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/src/__init__.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | tools/llmevalkit/src/vapo_lib.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | tools/llmevalkit/src/gcp_dataset.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | gemini/agentic-video/gemini-agentic-video-go/main.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | gemini/agentic-video/gemini-agentic-video-go/cmd/run.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …gentic-video/gemini-agentic-video-go/cmd/multivideo.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …agentic-video/gemini-agentic-video-go/cmd/root_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …i/agentic-video/gemini-agentic-video-go/cmd/example.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …i/agentic-video/gemini-agentic-video-go/cmd/compare.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …agentic-video/gemini-agentic-video-go/cmd/multiturn.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …mini/agentic-video/gemini-agentic-video-go/cmd/root.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …deo/gemini-agentic-video-go/internal/ui/ticker_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …ic-video/gemini-agentic-video-go/internal/ui/styles.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …ntic-video/gemini-agentic-video-go/internal/ui/card.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …c-video/gemini-agentic-video-go/internal/ui/ui_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …ic-video/gemini-agentic-video-go/internal/ui/ticker.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …tic-video/gemini-agentic-video-go/internal/ui/table.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …ideo/gemini-agentic-video-go/internal/runner/runner.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …gemini-agentic-video-go/internal/runner/runner_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …eo/gemini-agentic-video-go/internal/catalog/catalog.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …mini-agentic-video-go/internal/catalog/catalog_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …-agentic-video-go/internal/telemetry/telemetry_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …emini-agentic-video-go/internal/telemetry/telemetry.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …ideo/gemini-agentic-video-go/internal/client/client.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …gemini-agentic-video-go/internal/client/client_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …/multimodal-live-api/project-livewire/server/server.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …modal-live-api/project-livewire/server/core/session.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …-live-api/project-livewire/server/core/tool_handler.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …live-api/project-livewire/server/core/gemini_client.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …odal-live-api/project-livewire/server/config/config.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …cloud-functions/weather-tools/get-weather-tool/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …ive-api/shopping-avatar/ecommerce/frontend/src/App.tsx | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …atar/ecommerce/frontend/src/components/ProductCard.tsx | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …dal-live-api/shopping-avatar/ecommerce/backend/auth.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …live-api/shopping-avatar/ecommerce/backend/services.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …l-live-api/shopping-avatar/ecommerce/backend/config.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …live-api/shopping-avatar/ecommerce/backend/database.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …dal-live-api/shopping-avatar/ecommerce/backend/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …vatar/ecommerce/backend/DatabaseSetup/setup_spanner.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …g-avatar/ecommerce/backend/DatabaseSetup/clear_data.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …api/shopping-avatar/ecommerce/backend/routes/config.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …i/shopping-avatar/ecommerce/backend/routes/products.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ve-api/shopping-avatar/ecommerce/backend/routes/mcp.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | gemini/agents/genai-experience-concierge/LICENSE.txt | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …perience-concierge/langgraph-demo/frontend/LICENSE.txt | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …ierge/langgraph-demo/frontend/concierge_ui/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or | COMMENT |
| LOW | …xperience-concierge/langgraph-demo/backend/LICENSE.txt | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …concierge/langgraph-demo/backend/concierge/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or | COMMENT |
| LOW | …rge/langgraph-demo/backend/concierge/tools/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or | COMMENT |
| LOW | …rge/langgraph-demo/backend/concierge/nodes/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or | COMMENT |
| LOW | …demo/backend/concierge/nodes/task_planning/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or | COMMENT |
| 524 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/tests/test_evaluation_page.py | 18 | def test_evaluation_load_prompt(mock_init, mock_storage, mock_gcp_prompt, mock_prompts): | CODE |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 107 | def _ensure_datasets_folder_exists( | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 85 | def _apply_generation_config_typing(config: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 162 | def _handle_generate_test_for_new() -> None: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 259 | def _handle_save_edited_prompt() -> None: | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 316 | def _handle_generate_test_for_edit() -> None: | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 37 | def list_custom_training_jobs(project_id: str, location: str): | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 154 | def _display_interactive_results(results_ui: vapo_lib.ResultsUI) -> None: | CODE |
| LOW⚡ | tools/llmevalkit/pages/3_Evaluation.py | 46 | def get_metric_object_by_name(metric_name: str): | CODE |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 78 | def get_autorater_pairwise_response(metric_prompt: str, model: str) -> dict: | CODE |
| LOW⚡ | tools/llmevalkit/src/gcp_evaluation.py | 129 | def extract_completeness_metrics( | CODE |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 157 | def plot_distribution_comparison( | CODE |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 263 | def get_generation_config_dict(self): | CODE |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 268 | def escape_special_characters(text: str) -> str: | CODE |
| LOW | tools/llmevalkit/src/gcp_dataset.py | 61 | def escape_special_characters(text: str) -> str: | CODE |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 143 | def _on_active_speakers_changed(self, speakers): | CODE |
| LOW | gemini/multimodal-live-api/livekit-adk/app/main.py | 94 | async def start_livekit_bridge_task(user_id: str, session_id: str): | CODE |
| LOW | …l-live-api/livekit-adk/app/static/js/audio-recorder.js | 23 | export async function startAudioRecorderWorklet(audioRecorderHandler) { | CODE |
| LOW | …al-live-api/pcm-audio-debugger/pcm-audio-debugger.html | 585 | function processAndEncode() { | CODE |
| LOW | …timodal-live-api/websocket-demo-app/frontend/script.js | 41 | function getSelectedResponseModality() { | CODE |
| LOW | …timodal-live-api/websocket-demo-app/frontend/script.js | 229 | async function setAvailableCamerasOptions() { | CODE |
| LOW | …timodal-live-api/websocket-demo-app/frontend/script.js | 235 | async function setAvailableMicrophoneOptions() { | CODE |
| LOW | …live-api/shopping-avatar/ecommerce/backend/database.py | 416 | def get_active_retailer_settings(self) -> dict: | STRING |
| LOW | …dal-live-api/shopping-avatar/ecommerce/backend/main.py | 73 | async def spa_fallback_exception_handler(request, exc): | CODE |
| LOW | …api/shopping-avatar/ecommerce/backend/routes/config.py | 52 | def fetch_dynamic_brand_theme(retailer: str) -> dict: | CODE |
| LOW | …concierge/langgraph-demo/frontend/concierge_ui/auth.py | 34 | def fetch_gce_id_token_credentials( | CODE |
| LOW | …concierge/langgraph-demo/frontend/concierge_ui/auth.py | 51 | def fetch_impersonated_id_token_credentials( | CODE |
| LOW | …concierge/langgraph-demo/backend/concierge/settings.py | 50 | def ensure_cymbal_dataset_resources(self) -> Self: | CODE |
| LOW | …nggraph-demo/backend/concierge/tools/find_inventory.py | 39 | def generate_find_inventory_handler( | STRING |
| LOW | …/langgraph-demo/backend/concierge/tools/find_stores.py | 59 | def generate_find_stores_handler( | CODE |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 62 | def generate_find_products_handler( | CODE |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 166 | def _build_query_without_vector_search( | CODE |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 284 | def _build_query_with_vector_search( | STRING |
| LOW | …ierge/langgraph-demo/backend/concierge/nodes/router.py | 63 | def build_semantic_router_node( | CODE |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 294 | def _checkpoint_from_runnable_config( | CODE |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 315 | def _state_snapshot_to_thread_state( | CODE |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 343 | def _pregel_task_to_thread_task(task: lg_types.PregelTask) -> schema.ThreadTask: | CODE |
| LOW | …experience-concierge/scripts/langgraph_demo/dataset.py | 191 | def create_product_table_with_embeddings( | CODE |
| LOW | …experience-concierge/scripts/langgraph_demo/dataset.py | 321 | def get_connection_service_account( | CODE |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 169 | def read_unconsolidated_memories() -> dict: | CODE |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 231 | def read_consolidation_history() -> dict: | CODE |
| LOW | gemini/mcp/adk_mcp_app/main.py | 47 | async def process_message_with_runner(runner: Runner, session_id: str, question: str): | STRING |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 123 | async def list_cocktails_by_first_letter(letter: str) -> str: | CODE |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 141 | async def search_ingredient_by_name(name: str) -> str: | CODE |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 165 | async def lookup_cocktail_details_by_id(cocktail_id: str) -> str: | CODE |
| LOW | gemini/mcp/adk_multiagent_mcp_app/main.py | 105 | async def process_message_with_runner(runner: Runner, session_id: str, question: str): | CODE |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 120 | async def list_cocktails_by_first_letter(letter: str) -> str: | CODE |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 138 | async def search_ingredient_by_name(name: str) -> str: | CODE |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 162 | async def lookup_cocktail_details_by_id(cocktail_id: str) -> str: | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 32 | def get_text_embedding_from_text_embedding_model( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 59 | def get_image_embedding_from_multimodal_embedding_model( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 89 | def get_text_overlapping_chunk( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 533 | def get_user_query_text_embeddings(user_query: str) -> np.ndarray: | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 548 | def get_user_query_image_embeddings( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 585 | def print_text_to_image_citation( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 636 | def print_text_to_text_citation( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 689 | def get_similar_image_from_query( | CODE |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 795 | def get_similar_text_from_query( | CODE |
| LOW | …ini/use-cases/entity-extraction/document_processing.py | 108 | def classify_and_extract_document(document_uri: str) -> str: | CODE |
| LOW | …ini/use-cases/entity-extraction/document_processing.py | 118 | def evaluate_quality_and_extract(extract_config_id: str, document_uri: str): | CODE |
| 296 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 1023 | "trigger_issue": "description of problem" or null, | CODE |
| HIGH | …/personalized-agent-swarms/analyzer/swarm_generator.py | 1116 | "trigger_issue": "problem description" or null, | CODE |
| HIGH | search/gemini-enterprise/ge-demo-generator/canary.py | 163 | "RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*\n" | CODE |
| HIGH | …rprise/ge-demo-generator/test_external_files_wiring.py | 479 | if (uiBound.length !== 2 || uiBound[0].file.id !== 'pdf_doc' || uiBound[1].file.id !== 'xlsx_doc') { | CODE |
| HIGH⚡ | …prise/ge-demo-generator/scripts/generate_demo_video.py | 808 | f'source "$HOME/.nvm/nvm.sh" 2>/dev/null || true; ' | CODE |
| HIGH⚡ | …prise/ge-demo-generator/scripts/generate_demo_video.py | 818 | ["bash", "-c", 'source "$HOME/.nvm/nvm.sh" 2>/dev/null || true; command -v node && command -v npx'], | CODE |
| HIGH⚡ | …prise/ge-demo-generator/scripts/generate_demo_video.py | 818 | ["bash", "-c", 'source "$HOME/.nvm/nvm.sh" 2>/dev/null || true; command -v node && command -v npx'], | CODE |
| HIGH | …-generator/skills/ge-demo-generator/templates/tools.py | 3761 | + "- Use the gws CLI for ALL Workspace reads/writes (see the gws-* skills under /workspace/.agent | CODE |
| HIGH | …-generator/skills/ge-demo-generator/templates/agent.py | 549 | * The Firestore REST API requires TYPED values in the \`fields\` object. NEVER send null, None, or empty typed wra | COMMENT |
| HIGH | …-generator/skills/ge-demo-generator/templates/agent.py | 555 | * WRONG: \`{"mapValue": null}\` or \`{"arrayValue": null}\` -- causes 'Cannot convert firestore.v1.Value with type | COMMENT |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 300 | await page.evaluate("([x, y]) => window.__updateGeCursor && window.__updateGeCursor(x, y, false)", [curr_x, | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 311 | await page.evaluate("([x, y]) => window.__updateGeCursor && window.__updateGeCursor(x, y, false)", [end_x, end_y | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 405 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 406 | if (!root) return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 407 | if (root.matches && root.matches(selector)) return root; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 416 | return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 420 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 423 | if (matcher(root)) results.push(root); | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 476 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 477 | if (!root) return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 478 | if (root.matches && root.matches(selector)) return root; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 487 | return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 493 | if (scroller && scroller.scrollTo) { | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 510 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 511 | if (!root) return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 512 | if (root.matches && root.matches(selector)) return root; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 521 | return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1325 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1326 | if (!root) return null; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1376 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1379 | if (matcher(root)) res.push(root); | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1433 | root = root || document.body; | CODE |
| HIGH⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1434 | if (!root) return null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 213 | (document.head || document.documentElement).appendChild(style); | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 224 | (document.body || document.documentElement).appendChild(root); | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 239 | (document.body || document.documentElement).appendChild(ripple); | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 275 | await page.evaluate("([x, y]) => window.__updateGeCursor && window.__updateGeCursor(x, y, false)", [end_x, e | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 440 | const allTurns = findDeepAll(el => el.tagName === "UCS-SUMMARY" || (el.className && typeof el.className === | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 441 | const lastTurn = allTurns.length > 0 ? allTurns[allTurns.length - 1] : null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1338 | return null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1390 | const turns = findDeepAll(el => el.tagName === "UCS-SUMMARY" || (el.className && typeof el.c | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1446 | return null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1461 | return null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1481 | root = root || document.body; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1482 | if (!root) return null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1494 | return null; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1524 | root = root || document.body; | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1527 | if (matcher(root)) res.push(root); | CODE |
| HIGH | …emo-generator/templates/video/scripts/record_ge_web.py | 1538 | const turns = findDeepAll(el => el.tagName === "UCS-SUMMARY" || (el.className && typeof | CODE |
| HIGH | …mo-generator/templates/scripts/warmup_managed_agent.py | 56 | 'input': [{'type': 'user_input', 'content': [{'type': 'text', 'text': 'Warm-up and toolchain preparation (installs p | CODE |
| HIGH | …e-demo-generator/agent_template/adk_agent/app/tools.py | 3740 | + "- Use the gws CLI for ALL Workspace reads/writes (see the gws-* skills under /workspace/.agent | CODE |
| HIGH | …e-demo-generator/agent_template/adk_agent/app/agent.py | 543 | * The Firestore REST API requires TYPED values in the \`fields\` object. NEVER send null, None, or empty typed wra | COMMENT |
| HIGH | …e-demo-generator/agent_template/adk_agent/app/agent.py | 549 | * WRONG: \`{"mapValue": null}\` or \`{"arrayValue": null}\` -- causes 'Cannot convert firestore.v1.Value with type | COMMENT |
| HIGH | …r/agent_template/managed_agent/warmup_managed_agent.py | 56 | 'input': [{'type': 'user_input', 'content': [{'type': 'text', 'text': 'Warm-up and toolchain preparation (installs p | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 67 | CODE | |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 32 | CODE | |
| LOW | tools/llmevalkit/pages/6_Prompt_Optimization.py | 180 | CODE | |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 154 | CODE | |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 140 | CODE | |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 197 | CODE | |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 192 | CODE | |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 71 | CODE | |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 204 | CODE | |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 202 | CODE | |
| LOW | …-live-api/livekit-adk/app/travel_booking/viewer_api.py | 43 | CODE | |
| LOW | …kit-adk/app/travel_booking/database_session_service.py | 187 | CODE | |
| LOW | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 30 | CODE | |
| LOW | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 79 | CODE | |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 47 | CODE | |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 68 | CODE | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 42 | CODE | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 134 | CODE | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 193 | CODE | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 303 | CODE | |
| LOW | …l-live-api/shopping-avatar/ecommerce/backend/config.py | 21 | CODE | |
| LOW | …g-avatar/ecommerce/backend/DatabaseSetup/clear_data.py | 33 | CODE | |
| LOW | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 118 | CODE | |
| LOW | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 364 | CODE | |
| LOW | …-api/shopping-avatar/ecommerce/backend/routes/admin.py | 71 | CODE | |
| LOW | …ve-api/shopping-avatar/ecommerce/backend/routes/mcp.py | 38 | CODE | |
| LOW | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 28 | CODE | |
| LOW | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 58 | CODE | |
| LOW | …end/concierge_ui/agents/gemini_chat_with_guardrails.py | 16 | CODE | |
| LOW | …raph-demo/frontend/concierge_ui/agents/task_planner.py | 16 | CODE | |
| LOW | …-demo/frontend/concierge_ui/agents/function_calling.py | 17 | CODE | |
| LOW | …h-demo/frontend/concierge_ui/agents/semantic_router.py | 16 | CODE | |
| LOW | gemini/agents/always-on-memory-agent/dashboard.py | 120 | CODE | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 190 | CODE | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 283 | CODE | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 481 | CODE | |
| LOW | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 170 | CODE | |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 773 | CODE | |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 419 | CODE | |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 713 | CODE | |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 840 | CODE | |
| LOW | …i/sample-apps/gemini-mesop-cloudrun/shared/nav_menu.py | 63 | CODE | |
| LOW | …ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py | 72 | CODE | |
| LOW | …ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py | 137 | CODE | |
| LOW | …nd-changer-using-imagen3/backend/src/service/search.py | 93 | CODE | |
| LOW | …t-to-image-using-imagen3/backend/src/service/search.py | 82 | CODE | |
| LOW | …ample-apps/gemini-live-telephony-app/utils/live_api.py | 24 | CODE | |
| LOW | …s/gemini-live-telephony-app/utils/audio_transcoding.py | 26 | CODE | |
| LOW | …s/gemini-live-telephony-app/utils/audio_transcoding.py | 70 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/serve.py | 102 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/intake.py | 391 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/config.py | 71 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/scripts/port.py | 18 | CODE | |
| LOW | gemini/computer-use/web-agent/web_agent.py | 56 | CODE | |
| LOW | gemini/computer-use/web-agent/web_agent.py | 142 | CODE | |
| LOW | agents/personalized-agent-swarms/test_deployed_agent.py | 435 | CODE | |
| LOW | agents/personalized-agent-swarms/test_deployed_agent.py | 581 | CODE | |
| LOW | …ents/personalized-agent-swarms/test_augmented_agent.py | 292 | CODE | |
| LOW | …ents/personalized-agent-swarms/test_augmented_agent.py | 386 | CODE | |
| LOW | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 61 | CODE | |
| 224 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 204 | # Create a boolean series for the comparison | COMMENT |
| MEDIUM | tools/llmevalkit/src/gcp_dataset.py | 16 | """This module provides utility functions for managing and processing datasets | STRING |
| MEDIUM⚡ | …l-live-api/livekit-adk/app/travel_booking/telemetry.py | 36 | # Create a new provider with resource and processor | COMMENT |
| MEDIUM | …-live-api/livekit-adk/app/travel_booking/viewer_api.py | 9 | # Create a dedicated FastAPI router/app for the viewer | COMMENT |
| MEDIUM | …live-api/project-livewire/server/core/gemini_client.py | 67 | # Create the session | COMMENT |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/project.tf | 11 | # Create a project for the concierge demo. | COMMENT |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/project.tf | 47 | # Create an Artifact Registry repository for hosting docker images for the concierge demo. | COMMENT |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/network.tf | 11 | # Create a VPC network and a single subnet for the concierge demo. | COMMENT |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/network.tf | 30 | # Create an IP address for the VPC peering connection. | COMMENT |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/network.tf | 40 | # Create a private service networking connection. | COMMENT |
| MEDIUM | …ience-concierge/langgraph-demo/terraform/app_engine.tf | 5 | # Create a demo IAP brand for the Oauth Consent Screen. | COMMENT |
| MEDIUM | …ience-concierge/langgraph-demo/terraform/app_engine.tf | 14 | # Create a demo IAP client for the Oauth Consent Screen. | COMMENT |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 20 | # Create an AlloyDB cluster and instance for session management. | COMMENT |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 69 | # Create a BigQuery dataset for the mock Cymbal Retail data and embedding model. | COMMENT |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 88 | # Create a remote Cloud Resource Connection to enable access to BQML Embedding models | COMMENT |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 247 | # Create the image file name | COMMENT |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 250 | # Create the image save directory if it doesn't exist | COMMENT |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 740 | # Create a dictionary to store matched images and their information | COMMENT |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 744 | # Create a sub-dictionary for each matched image | COMMENT |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 841 | # Create a dictionary to store matched text and their information | COMMENT |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 845 | # Create a sub-dictionary for each matched text | COMMENT |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 530 | # Create a dictionary to track files found in each directory | COMMENT |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 617 | # Create a label widget for the description | COMMENT |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 870 | # Create an EvalTask object | COMMENT |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 1009 | # Define the JSON schema for validation | COMMENT |
| MEDIUM | gemini/sample-apps/swot-agent/main.py | 151 | # Create a custom deps object that uses the session_id | COMMENT |
| MEDIUM | …image-background-changer-using-imagen3/backend/main.py | 54 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …image-background-changer-using-imagen3/backend/main.py | 60 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …und-changer-using-imagen3/backend/tests/test_search.py | 33 | # Create a test client for the FastAPI app | COMMENT |
| MEDIUM | …ound-changer-using-imagen3/backend/src/model/search.py | 21 | # Create a Literal type from the list of valid models | COMMENT |
| MEDIUM | …profile-image-generation-using-imagen3/backend/main.py | 54 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …profile-image-generation-using-imagen3/backend/main.py | 60 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …e-generation-using-imagen3/backend/src/model/search.py | 21 | # Create a Literal type from the list of valid models | COMMENT |
| MEDIUM | …generation-using-imagen3/backend/src/service/search.py | 71 | # Create a new image with padding | STRING |
| MEDIUM | …generation-using-imagen3/backend/src/service/search.py | 109 | # Create a mask with the same size as the original image | STRING |
| MEDIUM | …bot/conversational-app-single-playbook/backend/main.py | 65 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …bot/conversational-app-single-playbook/backend/main.py | 71 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …s/quickbot/text-to-image-using-imagen3/backend/main.py | 54 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …s/quickbot/text-to-image-using-imagen3/backend/main.py | 60 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …xt-to-image-using-imagen3/backend/tests/test_search.py | 31 | # Create a test client for the FastAPI app | COMMENT |
| MEDIUM | …ext-to-image-using-imagen3/backend/src/model/search.py | 22 | # Create a Literal type from the list of valid models | COMMENT |
| MEDIUM | …t-to-image-using-imagen3/backend/src/service/search.py | 185 | # Create a list of coroutines for Imagen generation | COMMENT |
| MEDIUM | …bot/website-search-using-agent-builder/backend/main.py | 62 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …bot/website-search-using-agent-builder/backend/main.py | 68 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …arch-using-agent-builder/backend/src/service/engine.py | 61 | # Create a client | COMMENT |
| MEDIUM | …kbot/conversational-app-multi-playbook/backend/main.py | 65 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …kbot/conversational-app-multi-playbook/backend/main.py | 71 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …ot/document-search-using-agent-builder/backend/main.py | 62 | # Create a route to handle GET requests on root | COMMENT |
| MEDIUM | …ot/document-search-using-agent-builder/backend/main.py | 68 | # Create a route to handle GET requests on /version | COMMENT |
| MEDIUM | …arch-using-agent-builder/backend/src/service/engine.py | 61 | # Create a client | COMMENT |
| MEDIUM | gemini/sample-apps/finance-advisor-spanner/home.py | 26 | """This function implements common layouts across the pages""" | STRING |
| MEDIUM | gemini/sample-apps/finance-advisor-spanner/graph_viz.py | 1 | """This module is the page for Graph Viz Data Search feature""" | STRING |
| MEDIUM | gemini/sample-apps/finance-advisor-spanner/graph_viz.py | 10 | """This function is for generating the Graph Visualization""" | STRING |
| MEDIUM | …e-apps/finance-advisor-spanner/pages/1_Asset_Search.py | 1 | """This module is the page for Asset Search feature""" | STRING |
| MEDIUM | …e-apps/finance-advisor-spanner/pages/1_Asset_Search.py | 16 | """This function implements Asset search common functions""" | STRING |
| MEDIUM | …pps/finance-advisor-spanner/pages/2_Semantic_Search.py | 1 | """This module is the page for Semantic Search feature""" | STRING |
| MEDIUM | …pps/finance-advisor-spanner/pages/2_Semantic_Search.py | 16 | """This function implements Semantic Search feature""" | STRING |
| MEDIUM | …apps/finance-advisor-spanner/pages/4_Exposure_Check.py | 1 | """This module is the page for Exposure Check Search feature""" | STRING |
| MEDIUM | …apps/finance-advisor-spanner/pages/4_Exposure_Check.py | 16 | """This function implements Compliance Check Graph feature""" | STRING |
| MEDIUM | …finance-advisor-spanner/pages/3_Graph_Visualization.py | 1 | """This module is the page for Graph Visualization feature""" | STRING |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rag-grounding/README.md | 1 | # RAG and Grounding | COMMENT |
| MEDIUM | rag-grounding/README.md | 22 | ## What is RAG and Grounding? | COMMENT |
| MEDIUM | rag-grounding/README.md | 47 | ## Measuring RAG/Grounding Quality | COMMENT |
| MEDIUM | rag-grounding/README.md | 63 | ## Out of the Box RAG/Grounding | COMMENT |
| MEDIUM | rag-grounding/README.md | 105 | ## Orchestration with RAG Engine | COMMENT |
| MEDIUM | rag-grounding/README.md | 118 | ## Bring your own Search for RAG/Grounding | COMMENT |
| MEDIUM | rag-grounding/README.md | 131 | ## Build your own Search for RAG/Grounding | COMMENT |
| MEDIUM | rag-grounding/README.md | 214 | ## Agents on top of RAG | COMMENT |
| MEDIUM | gemini/agentic-video/gemini-agentic-video-go/README.md | 1 | # gemini-agentic-video-go | COMMENT |
| MEDIUM⚡ | gemini/agentic-video/gemini-agentic-video-go/README.md | 69 | # or: ./bin/gemini-agentic-video-go compare | COMMENT |
| MEDIUM⚡ | gemini/agentic-video/gemini-agentic-video-go/README.md | 70 | # sequential fallback: ./bin/gemini-agentic-video-go compare --concurrent=false | COMMENT |
| MEDIUM⚡ | gemini/agentic-video/gemini-agentic-video-go/README.md | 74 | # or: ./bin/gemini-agentic-video-go compare --models="gemini-3.6-flash,gemini-3.7-flash,gemini-3.8-flash" | COMMENT |
| MEDIUM⚡ | gemini/agentic-video/gemini-agentic-video-go/README.md | 81 | # or: ./bin/gemini-agentic-video-go multivideo | COMMENT |
| MEDIUM⚡ | gemini/agentic-video/gemini-agentic-video-go/README.md | 88 | # or: ./bin/gemini-agentic-video-go multiturn | COMMENT |
| MEDIUM | gemini/agentic-video/gemini-agentic-video-go/README.md | 254 | - Based on the [Google Cloud Generative AI Agentic Video Tutorial](https://github.com/GoogleCloudPlatform/generative-ai/ | CODE |
| MEDIUM | gemini/agentic-video/gemini-agentic-video-go/main.go | 15 | // Command gemini-agentic-video-go provides a CLI for exploring Gemini | COMMENT |
| MEDIUM | gemini/agentic-video/gemini-agentic-video-go/main.go | 16 | // agentic video understanding with active timeline navigation. | COMMENT |
| MEDIUM | …ic-video/gemini-agentic-video-go/internal/ui/styles.go | 34 | // ColorAgenticPurple is the purple highlight representing agentic reasoning. | COMMENT |
| MEDIUM | …eo/gemini-agentic-video-go/internal/catalog/catalog.go | 37 | // Scenarios is the master registry of built-in agentic video scenarios. | COMMENT |
| MEDIUM | …entic-video/gemini-agentic-video-go/docs/user-guide.md | 12 | 1. [What is Agentic Video?](#1-what-is-agentic-video) | CODE |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 69 | # Create a BigQuery dataset for the mock Cymbal Retail data and embedding model. | COMMENT |
| MEDIUM | …anggraph-demo/frontend/concierge_ui/remote_settings.py | 34 | base_url=pydantic.HttpUrl("http://0.0.0.0:3000/gemini-with-guardrails"), | CODE |
| MEDIUM | …i-experience-concierge/agent-design-patterns/README.md | 9 | | [Guardrail Classifier Agent](#guardrail-classifier-agent) | [guardrail-classifier.ipynb](./guardrail-classifier.ipynb) | CODE |
| MEDIUM | gemini/mcp/adk_multiagent_mcp_app/main.py | 24 | # Initialize services (globally or via dependency injection) | COMMENT |
| MEDIUM | …ge-background-changer-using-imagen3/frontend/README.md | 15 | ## Code scaffolding | COMMENT |
| MEDIUM | …file-image-generation-using-imagen3/frontend/README.md | 15 | ## Code scaffolding | COMMENT |
| MEDIUM | …/quickbot/conversational-app-single-playbook/README.md | 1 | # Quickbot - Conversational App with Single Playbook using Custom RAG & Agent Builder | COMMENT |
| MEDIUM | …/quickbot/conversational-app-single-playbook/README.md | 197 | │ └── create-intent/ # Example: Source for the RAG Cloud Function | CODE |
| MEDIUM | …/conversational-app-single-playbook/frontend/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | …uickbot/text-to-image-using-imagen3/frontend/README.md | 15 | ## Code scaffolding | COMMENT |
| MEDIUM | …/quickbot/website-search-using-agent-builder/README.md | 1 | # QuickBot - Website Search using Custom RAG | COMMENT |
| MEDIUM | …/quickbot/website-search-using-agent-builder/README.md | 57 | #### 2. Deploy the RAG Cloud Function (e.g., `create-intent-index`) | COMMENT |
| MEDIUM | …/quickbot/website-search-using-agent-builder/README.md | 255 | │ └── create-intent/ # Example: Source for the RAG Cloud Function | CODE |
| MEDIUM | …/website-search-using-agent-builder/frontend/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | …s/quickbot/conversational-app-multi-playbook/README.md | 1 | # Quickbot - Conversational App with Multiple Playbooks using Custom RAG & Agent Builder | COMMENT |
| MEDIUM | …s/quickbot/conversational-app-multi-playbook/README.md | 197 | │ └── create-intent/ # Example: Source for the RAG Cloud Function | CODE |
| MEDIUM | …t/conversational-app-multi-playbook/frontend/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | …document-search-using-agent-builder/frontend/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | gemini/sample-apps/rosetta-agent-porter/app/acli.py | 86 | # scaffold / install / lint | COMMENT |
| MEDIUM | gemini/sample-apps/genwealth/README.md | 174 | ##### RAG Pipeline Branch | COMMENT |
| MEDIUM | …ni/sample-apps/genwealth/deployment/install-pgadmin.sh | 56 | # Register text-embedding-005 embedding model | COMMENT |
| MEDIUM | …pps/genwealth/walkthroughs/backend-demo-walkthrough.md | 257 | ### Build a RAG-Powered Gen AI Chatbot | COMMENT |
| MEDIUM | …ps/genwealth/walkthroughs/frontend-demo-walkthrough.md | 184 |  | COMMENT |
| MEDIUM | …se/ge-demo-generator/skills/ge-demo-generator/SKILL.md | 597 | │ └── examples/0.9/ # A2UI few-shot example surfaces | CODE |
| MEDIUM | …se/ge-demo-generator/skills/ge-demo-generator/SKILL.md | 1050 | # Enable Model Armor guardrails (automatically creates and attaches ge-demo-default-armor in us-central1) | COMMENT |
| MEDIUM | …s/ge-demo-generator/references/datastore_connectors.md | 7 | ## 1. Architecture: MCP mode vs. RAG-preferred mode | COMMENT |
| MEDIUM | …s/ge-demo-generator/references/datastore_connectors.md | 144 | #### 2. Architectural Comparison: DataStore (RAG) vs. Firestore MCP | COMMENT |
| MEDIUM | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 730 | # --- Prune few-shot examples for capabilities this demo does not have --- | COMMENT |
| MEDIUM | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 748 | # --- Substitute placeholders in the A2UI few-shot examples --- | COMMENT |
| MEDIUM | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 750 | # templates stay currency-neutral. Cloud Run loads these files verbatim as few-shot | COMMENT |
| MEDIUM | …-generator/skills/ge-demo-generator/templates/agent.py | 787 | # RAG mode additionally needs the wiring to actually exist. The mode says what | STRING |
| MEDIUM | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 5129 | # they either stall again or hallucinate), so this one explicitly | COMMENT |
| MEDIUM | …lls/ge-demo-generator/templates/examples/0.9/README.md | 1 | # A2UI few-shot examples (app-specific) | COMMENT |
| MEDIUM | …/skills/ge-demo-generator/templates/scripts/cleanup.sh | 458 | # dashboards and the multi-agent skill payloads. Its name embeds the run's | COMMENT |
| MEDIUM | …e-demo-generator/agent_template/adk_agent/app/agent.py | 781 | # RAG mode additionally needs the wiring to actually exist. The mode says what | STRING |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …-demo/backend/concierge/nodes/task_planning/planner.py | 32 | Generates a plan or a direct response based on the current conversation state. This function takes the | STRING |
| HIGH | …emo/backend/concierge/nodes/task_planning/reflector.py | 32 | Asynchronously reflects on the executed plan and determines the next action. This function takes the c | STRING |
| HIGH | …demo/backend/concierge/nodes/task_planning/executor.py | 29 | Asynchronously executes a plan's tasks and updates the conversation state. This function takes the cur | STRING |
| HIGH | …backend/concierge/langgraph_server/checkpoint_saver.py | 23 | Loads a checkpoint saver based on the provided backend configuration. This function takes a CheckpointerConfig | STRING |
| HIGH | …experience-concierge/scripts/langgraph_demo/backend.py | 99 | Describe a Cloud Run service and print its details in JSON format. This command uses `gcloud run services desc | STRING |
| HIGH | …perience-concierge/scripts/langgraph_demo/terraform.py | 114 | Retrieve Terraform outputs as a dictionary. This command retrieves the outputs defined in the Terraform config | STRING |
| HIGH | …experience-concierge/scripts/langgraph_demo/dataset.py | 82 | Create the required Cymbal dataset models and tables. Only the project is required to exist before calling thi | STRING |
| HIGH | …experience-concierge/scripts/langgraph_demo/dataset.py | 349 | Executes a function and prints a success or failure message. Args: start_message (str): The message to | STRING |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_server.py | 108 | Calls the specified Gemini model using the google-genai library. Args: model_name: The name of the Gemini m | STRING |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 55 | Loads configuration from a JSON file. Args: file_path: Path to the configuration file. Ret | STRING |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 228 | Execute a tool with retry mechanism. Args: tool_name: The name of the tool to execute. | STRING |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 508 | Sends the current conversation history to the LLM and returns the response text. Args: | STRING |
| HIGH | …gmented-generation/utils/intro_multimodal_rag_utils.py | 92 | * 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.py | 174 | * Extracts text from a given page object, chunks it, and generates embeddings for each chunk. * Takes a page ob | STRING |
| HIGH | …gmented-generation/utils/intro_multimodal_rag_utils.py | 803 | Finds the top N most similar text passages from a metadata DataFrame based on a text query. Args: quer | STRING |
| HIGH | …ingle-playbook/backend/src/repository/cloud_storage.py | 49 | Lists 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.py | 78 | Creates 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.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t | STRING |
| HIGH | …onal-app-single-playbook/backend/src/service/intent.py | 89 | Creates 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.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t | STRING |
| HIGH | …h-using-agent-builder/backend/src/controller/search.py | 34 | Performs a search using the configured Search Application. Args: item: The search request containing t | STRING |
| HIGH | …gent-builder/backend/src/service/search_application.py | 57 | Creates a new Search Application configuration in BigQuery. Ensures that no configuration already exis | STRING |
| HIGH | …gent-builder/backend/src/service/search_application.py | 91 | Updates an existing Search Application configuration in BigQuery. Identifies the row to update using t | STRING |
| HIGH | …multi-playbook/backend/src/repository/cloud_storage.py | 49 | Lists 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.py | 78 | Creates 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.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t | STRING |
| HIGH | …ional-app-multi-playbook/backend/src/service/intent.py | 89 | Creates 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.py | 104 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t | STRING |
| HIGH | …h-using-agent-builder/backend/src/controller/search.py | 44 | Performs a search using the configured Search Application. Args: item: The search request containing t | STRING |
| HIGH | …h-using-agent-builder/backend/src/controller/search.py | 117 | Fetches a document directly from GCS and returns its content. Expects a JSON body with a 'gcs_url' field speci | STRING |
| HIGH | …gent-builder/backend/src/service/search_application.py | 57 | Creates a new Search Application configuration in BigQuery. Ensures that no configuration already exis | STRING |
| HIGH | …gent-builder/backend/src/service/search_application.py | 91 | Updates an existing Search Application configuration in BigQuery. Identifies the row to update using t | STRING |
| HIGH | …arch-using-agent-builder/backend/src/service/search.py | 72 | Performs a search against the configured Discovery Engine. Constructs a search request with predefined | STRING |
| HIGH | agents/personalized-agent-swarms/analyzer/agent_spec.py | 103 | Read an agent's data from its source text without running it. Only simple top-level assignments of literal values t | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …video/gemini-agentic-video-go/docs/developers-guide.md | 134 | ### Step 1: Create Video Part from URI | COMMENT |
| LOW | …video/gemini-agentic-video-go/docs/developers-guide.md | 143 | ### Step 2: Configure Media Processing Mode | COMMENT |
| LOW | …video/gemini-agentic-video-go/docs/developers-guide.md | 154 | ### Step 3: Enforce Content Sequencing | COMMENT |
| LOW⚡ | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 140 | # Step 0: Generate dynamic product prompts based on the retailer using Gemini | COMMENT |
| LOW⚡ | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 264 | # Step 2: VQA Details via Gemini | COMMENT |
| LOW⚡ | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 306 | # Step 3: Embeddings generation | COMMENT |
| LOW | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 200 | # Step 1: Gemini Image Generation (using gemini-3.1-flash-image) | COMMENT |
| LOW | …ni/sample-apps/genwealth/deployment/deploy-frontend.sh | 29 | # Step 3: Deploy to Cloud Run | COMMENT |
| LOW | agents/personalized-agent-swarms/run_pipeline.sh | 53 | # Step 1: Cleanup stale outputs | COMMENT |
| LOW⚡ | agents/personalized-agent-swarms/run_pipeline.sh | 66 | # Step 2: Analyze history and generate swarm | COMMENT |
| LOW⚡ | agents/personalized-agent-swarms/run_pipeline.sh | 75 | # Step 3: Sample eval scenarios from pool (if pool exists) | COMMENT |
| LOW | agents/personalized-agent-swarms/run_pipeline.sh | 90 | # Step 4: Run evaluation with judge | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 15 | ## Step 1: Create a gcloud configuration | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 39 | ## Step 2: Authenticate | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 62 | ## Step 3: Install dependencies | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 70 | ## Step 4: Update .env | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 82 | ## Step 5: Deploy to Agent Engine | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 113 | ## Step 6: Register on Gemini Enterprise (optional) | COMMENT |
| LOW | …alized-agent-swarms/user_assistant_agent/DEPLOYMENT.md | 133 | ## Step 7: Verify | COMMENT |
| LOW⚡ | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 555 | # Step 1: Intent → agent mapping | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 568 | # Step 2: Partition | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 601 | # Step 3: Oversample candidates (3x to have room after filtering) | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 612 | # Step 4: LLM review | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 630 | # Step 5: Sample from confirmed | COMMENT |
| LOW | …peline/python-extraction-agent/app/fallback_handler.py | 21 | # NOTE: This module is retained as a reference implementation showing the | COMMENT |
| LOW | agents/adk/zero-trust-agents/TUTORIAL.md | 42 | #### Step 1: Bind the Service Agent to the Cloud KMS Key | COMMENT |
| LOW | agents/adk/zero-trust-agents/TUTORIAL.md | 66 | #### Step 2: Zero-Key SDK Signature Generation | COMMENT |
| LOW⚡ | agents/adk/zero-trust-agents/demo/agent.py | 176 | # Step 1: Call the query_order_limit tool | COMMENT |
| LOW⚡ | agents/adk/zero-trust-agents/demo/agent.py | 184 | # Step 2: Call the issue_refund_transaction tool | COMMENT |
| LOW | vision/sample-apps/V-Start/README.md | 184 | ### Step 1: Enable Required Services | COMMENT |
| LOW | vision/sample-apps/V-Start/README.md | 191 | ### Step 2: Secure Your API Key | COMMENT |
| LOW | vision/sample-apps/V-Start/README.md | 203 | ### Step 3: Configure OAuth Consent Screen | COMMENT |
| LOW | vision/sample-apps/V-Start/README.md | 207 | ### Step 4: Deploy the Service | COMMENT |
| LOW | vision/sample-apps/V-Start/README.md | 219 | ### Step 5: Grant Access Permissions | COMMENT |
| LOW | search/auto-rag-eval/README.md | 108 | ### Step 1: Configure Environment | COMMENT |
| LOW | search/auto-rag-eval/README.md | 122 | ### Step 2: Generate Benchmark | COMMENT |
| LOW | search/auto-rag-eval/README.md | 159 | ### Step 3: Transform Benchmark (Optional) | COMMENT |
| LOW | search/gemini-enterprise/ge-demo-generator/README.md | 385 | ### Step 1: Provision & Deploy the Demo Environment | COMMENT |
| LOW⚡ | search/gemini-enterprise/ge-demo-generator/README.md | 405 | ### Step 2: Access the Chat Agent in Gemini Enterprise | COMMENT |
| LOW⚡ | search/gemini-enterprise/ge-demo-generator/README.md | 415 | ### Step 3: Access the Real-Time Data Viewer | COMMENT |
| LOW⚡ | search/gemini-enterprise/ge-demo-generator/README.md | 425 | ### Step 4: Try the Scenarios | COMMENT |
| LOW | search/gemini-enterprise/ge-demo-generator/README.md | 437 | ### Step 5: Manual Agent Registration (If Needed) | COMMENT |
| LOW | search/gemini-enterprise/ge-demo-generator/tutorial.md | 23 | ## Step 1: Provision Demo Environment in Your Project | COMMENT |
| LOW | search/gemini-enterprise/ge-demo-generator/tutorial.md | 42 | ## Step 2: Access Your Agent in Gemini Enterprise | COMMENT |
| LOW | search/gemini-enterprise/ge-demo-generator/tutorial.md | 56 | ## Step 3: Explore & Preview | COMMENT |
| LOW | search/gemini-enterprise/ge-demo-generator/tutorial.md | 68 | ## Step 4: Try the Scenarios | COMMENT |
| LOW | …lls/ge-demo-generator/references/deployment_and_iam.md | 23 | ### Step 1: Data & Secrets Provisioning | COMMENT |
| LOW | …lls/ge-demo-generator/references/deployment_and_iam.md | 44 | ### Step 2: Agent Engine Sandbox Provisioning (CRITICAL DEPENDENCY) | COMMENT |
| LOW | …lls/ge-demo-generator/references/deployment_and_iam.md | 101 | ### Step 3: Data Viewer Deployment (Cloud Run with --no-allow-unauthenticated + IAP) | COMMENT |
| LOW | …lls/ge-demo-generator/references/deployment_and_iam.md | 128 | ### Step 4: Main Multi-Agent Cloud Run Deployment | COMMENT |
| LOW | …lls/ge-demo-generator/references/deployment_and_iam.md | 227 | ### Step 5: Background Task Infrastructure & Post-Deploy Wire-up | COMMENT |
| LOW | …lls/ge-demo-generator/references/deployment_and_iam.md | 260 | ### Step 6: Gemini Enterprise Discovery, Authorization & Registration | COMMENT |
| LOW⚡ | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 1622 | # Step 2: create the free trial license config. freeTrial is pinned to True | COMMENT |
| LOW | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 1590 | # Step 1: provision the project for Discovery Engine / Gemini Enterprise. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 53 | // Step 1: plain JSON logger for startup errors, before settings are loaded. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 56 | // Step 2: load job settings from Cloud Run Job environment variables. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 63 | // Step 3: load entitlement config. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 70 | // Step 4: re-set the default logger with workflow and task_index attributes | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 78 | // Step 5: partition cfg.Projects to only the entries assigned to this task. | COMMENT |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 102 | // Step 6: wire adapters. | COMMENT |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .ruff.toml | 56 | "PYI",# flake8-pyi (best practices for .pyi stub files, some rules are useful for .py too) | CODE |
| MEDIUM | .ruff.toml | 62 | "TRY",# tryceratops (exception handling best practices) | CODE |
| MEDIUM | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 189 | # Add a custom exact_match calculation. This is more robust than simple | COMMENT |
| MEDIUM | …concierge/langgraph-demo/frontend/concierge_ui/home.py | 21 | Each 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.py | 89 | # Note: google-genai doesn't properly handle floats, so we just set this as an integer | COMMENT |
| MEDIUM⚡ | gemini/prompts/prompt_optimizer/vapo_lib.py | 831 | ) # More robust text extraction | CODE |
| MEDIUM | …round-changer-using-imagen3/frontend/package-lock.json | 23195 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | …ge-generation-using-imagen3/frontend/package-lock.json | 23219 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | …ational-app-single-playbook/frontend/package-lock.json | 22428 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | …text-to-image-using-imagen3/frontend/package-lock.json | 23272 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | …-search-using-agent-builder/frontend/package-lock.json | 22430 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | …sational-app-multi-playbook/frontend/package-lock.json | 22430 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | …-search-using-agent-builder/frontend/package-lock.json | 22456 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | gemini/sample-apps/rosetta-agent-porter/app/agents.py | 148 | """Delimited-file code generator. No output_schema (raw code is more robust as | STRING |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 410 | except Exception as e: # noqa: BLE001 — test harness records any failure | CODE |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 453 | except Exception as e: # noqa: BLE001 — test harness records session-create failure | CODE |
| MEDIUM | agents/personalized-agent-swarms/test_deployed_agent.py | 505 | except Exception as e: # noqa: BLE001 — test harness records any turn failure | CODE |
| MEDIUM⚡ | …ents/personalized-agent-swarms/test_augmented_agent.py | 271 | # (Shared functions imported from eval.harness) | COMMENT |
| MEDIUM | …ents/personalized-agent-swarms/test_augmented_agent.py | 330 | except Exception as e: # noqa: BLE001 — test harness records any turn failure | CODE |
| MEDIUM⚡ | …ents/personalized-agent-swarms/test_augmented_agent.py | 380 | # (Shared functions imported from eval.harness) | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 56 | # Invocation log — test harness reads this to know which agent fired. | COMMENT |
| MEDIUM | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 368 | # Override constraints that conflict with comprehensive output | COMMENT |
| MEDIUM⚡ | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 556 | # Primary: embedding similarity (robust, handles paraphrasing) | COMMENT |
| MEDIUM | …/personalized-agent-swarms/analyzer/swarm_generator.py | 838 | # Remove "avoid" entries that suppress comprehensive output | COMMENT |
| MEDIUM | …ng/app/static/live-onboarding/assets/index-GxbLCVag.js | 76 | } function Z0(l, t) { return t = Q0(t), Q0(l) === t } function cl(l, t, e, a, u, n) { switch (e) { case "children": | CODE |
| MEDIUM | agents/adk/zero-trust-agents/demo/agent.py | 44 | # Instead, we leverage Google Cloud's Service-Specific Agent Identity (Service Agent): | COMMENT |
| LOW | search/auto-rag-eval/main.py | 100 | # Simplified review: just use one critic for now. | COMMENT |
| MEDIUM | search/gemini-enterprise/ge-migration-agent/core.py | 433 | """Strips common suffixes like May29, dates, punctuation for robust fuzzy matching.""" | STRING |
| MEDIUM | …rch/gemini-enterprise/ge-demo-generator/app/index.html | 4958 | // Normalize category key for more robust matching | COMMENT |
| MEDIUM | …-generator/skills/ge-demo-generator/templates/tools.py | 1026 | # Construct robust system-level style and language guidelines. | COMMENT |
| MEDIUM⚡ | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 6142 | # - robust text capture (retain any text part as a fallback) | COMMENT |
| MEDIUM⚡ | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 6179 | # Caught by class name (not import) to stay robust across ADK versions. | COMMENT |
| MEDIUM | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 3845 | # Caught by class name (not import) to stay robust across ADK versions. | COMMENT |
| MEDIUM | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 6236 | # Track tool calls for diagnostics + robust text capture | COMMENT |
| MEDIUM⚡ | …demo-generator/templates/video/scripts/generate_bgm.py | 188 | """Creates a seamless audio loop using FFmpeg equal-power crossfading.""" | STRING |
| MEDIUM⚡ | …demo-generator/templates/video/scripts/generate_bgm.py | 295 | # Apply seamless looping crossfade | COMMENT |
| MEDIUM | …e-demo-generator/agent_template/adk_agent/app/tools.py | 1005 | # Construct robust system-level style and language guidelines. | COMMENT |
| MEDIUM⚡ | …generator/agent_template/adk_agent/app/fast_api_app.py | 6303 | # - robust text capture (retain any text part as a fallback) | COMMENT |
| MEDIUM⚡ | …generator/agent_template/adk_agent/app/fast_api_app.py | 6340 | # Caught by class name (not import) to stay robust across ADK versions. | COMMENT |
| MEDIUM | …generator/agent_template/adk_agent/app/fast_api_app.py | 4006 | # Caught by class name (not import) to stay robust across ADK versions. | COMMENT |
| MEDIUM | …generator/agent_template/adk_agent/app/fast_api_app.py | 6397 | # Track tool calls for diagnostics + robust text capture | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/src/vapo_lib.py | 27 | CODE | |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 15 | CODE | |
| LOW | …ebsocket-demo-apps/customer-support-demo-app/server.py | 15 | CODE | |
| LOW | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 15 | CODE | |
| LOW | …vatar/ecommerce/backend/DatabaseSetup/setup_spanner.py | 20 | CODE | |
| LOW | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 28 | CODE | |
| LOW | …api/shopping-avatar/ecommerce/backend/routes/config.py | 15 | CODE | |
| LOW | …api/shopping-avatar/ecommerce/backend/routes/config.py | 20 | CODE | |
| LOW | …i/shopping-avatar/ecommerce/backend/routes/products.py | 20 | CODE | |
| LOW | …/shopping-avatar/ecommerce/backend/routes/websocket.py | 20 | CODE | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 25 | CODE | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 26 | CODE | |
| LOW | …ni/sample-apps/prism-science-explainer/app/__init__.py | 15 | CODE | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 15 | CODE | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 16 | CODE | |
| LOW | …ingle-playbook/functions/create-intent/src/bigquery.py | 15 | CODE | |
| LOW | …o-image-using-imagen3/backend/src/controller/search.py | 15 | CODE | |
| LOW | …o-image-using-imagen3/backend/src/controller/search.py | 17 | CODE | |
| LOW | …o-image-using-imagen3/backend/src/controller/search.py | 19 | CODE | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 15 | CODE | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 16 | CODE | |
| LOW | …multi-playbook/functions/create-intent/src/bigquery.py | 15 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/serve.py | 25 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/intake.py | 19 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/build.py | 15 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/acli.py | 20 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/evalgen.py | 29 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/tools.py | 22 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/runtime.py | 15 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/pipeline.py | 26 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/verify.py | 21 | CODE | |
| LOW | gemini/sample-apps/rosetta-agent-porter/app/codegen.py | 15 | CODE | |
| LOW | …apps/rosetta-agent-porter/scripts/validate_examples.py | 25 | CODE | |
| LOW | agents/personalized-agent-swarms/config.py | 27 | CODE | |
| LOW | …zed-agent-swarms/augmented_assistant_agent/__init__.py | 15 | CODE | |
| LOW | …ent-swarms/augmented_assistant_agent/tools/__init__.py | 15 | CODE | |
| LOW | …ent-swarms/augmented_assistant_agent/tools/__init__.py | 16 | CODE | |
| LOW | …onalized-agent-swarms/user_assistant_agent/__init__.py | 15 | CODE | |
| LOW | …/personalized-agent-swarms/analyzer/test_agent_spec.py | 22 | CODE | |
| LOW | agents/personalized-agent-swarms/analyzer/agent_spec.py | 31 | CODE | |
| LOW | …mpliance-pipeline/python-extraction-agent/app/tools.py | 17 | CODE | |
| LOW | agents/adk/new-hire-onboarding/app/__init__.py | 15 | CODE | |
| LOW | agents/adk/agent-quality-flywheel/app/__init__.py | 15 | CODE | |
| LOW | …dk/zero-trust-agents-2/demo/test_runtime_governance.py | 36 | CODE | |
| LOW | …dk/zero-trust-agents-2/demo/test_runtime_governance.py | 38 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/remediation_loop.py | 28 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/model_armor.py | 36 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/sgp_guard.py | 37 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 31 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 34 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 35 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 35 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 38 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 39 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 44 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 45 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/agent.py | 46 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/db_guard.py | 31 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/db_guard.py | 33 | CODE | |
| LOW | agents/adk/zero-trust-agents-2/demo/db_guard.py | 33 | CODE | |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/pages/6_Prompt_Optimization.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | tools/llmevalkit/pages/3_Evaluation.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 62 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/llmevalkit/src/gcp_dataset.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | gemini/multimodal-live-api/livekit-adk/app/main.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …al-live-api/livekit-adk/app/travel_booking/__init__.py | 1 | __all__ = ['DatabaseSessionService'] | CODE |
| LOW | …kit-adk/app/travel_booking/database_session_service.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/multimodal-live-api/project-livewire/server/server.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-live-api/project-livewire/server/core/tool_handler.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …live-api/project-livewire/server/core/gemini_client.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | …odal-live-api/project-livewire/server/config/config.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …erge/langgraph-demo/frontend/concierge_ui/demo_page.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …end/concierge_ui/agents/gemini_chat_with_guardrails.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …graph-demo/frontend/concierge_ui/agents/gemini_chat.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …raph-demo/frontend/concierge_ui/agents/task_planner.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-demo/frontend/concierge_ui/agents/function_calling.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …h-demo/frontend/concierge_ui/agents/semantic_router.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ce-concierge/langgraph-demo/backend/concierge/utils.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/langgraph-demo/backend/concierge/tools/find_stores.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ncierge/langgraph-demo/backend/concierge/nodes/chat.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e/langgraph-demo/backend/concierge/nodes/guardrails.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ierge/langgraph-demo/backend/concierge/nodes/router.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-demo/backend/concierge/nodes/task_planning/planner.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …emo/backend/concierge/nodes/task_planning/reflector.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …demo/backend/concierge/nodes/task_planning/executor.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …backend/concierge/langgraph_server/checkpoint_saver.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 406 | def set_generation_config(self, config: types.GenerateContentConfig) -> None: | CODE |
| LOW | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 415 | def set_system_instruction(self, system_instruction: str) -> None: | CODE |
| LOW | …ni/sample-apps/prism-science-explainer/app/__init__.py | 17 | __all__ = ["app"] | CODE |
| LOW | gemini/sample-apps/swot-agent/main.py | 176 | async def update_status(session_id: str, message: Any) -> None: | CODE |
| LOW | gemini/sample-apps/gemini-live-telephony-app/main.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ample-apps/gemini-live-telephony-app/utils/live_api.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s/gemini-live-telephony-app/utils/audio_transcoding.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …zed-agent-swarms/augmented_assistant_agent/__init__.py | 17 | __all__ = ["root_agent"] | CODE |
| LOW | …ent-swarms/augmented_assistant_agent/tools/__init__.py | 18 | __all__ = ["check_and_invoke_swarm", "load_swarm"] | CODE |
| LOW | …onalized-agent-swarms/user_assistant_agent/__init__.py | 17 | __all__ = ["root_agent"] | CODE |
| LOW | …e-pipeline/python-extraction-agent/app/fast_api_app.py | 75 | logger = logging.getLogger(__name__) | CODE |
| LOW | …peline/python-extraction-agent/app/fallback_handler.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ine/python-extraction-agent/app/app_utils/telemetry.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ne/python-extraction-agent/tests/unit/test_fallback.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | agents/adk/new-hire-onboarding/app/resume_handler.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | agents/adk/new-hire-onboarding/app/__init__.py | 17 | __all__ = ["app"] | CODE |
| LOW | agents/adk/new-hire-onboarding/app/agent_runtime_app.py | 33 | def set_up(self) -> None: | CODE |
| LOW | agents/adk/agent-quality-flywheel/app/__init__.py | 17 | __all__ = ["app"] | CODE |
| LOW | …emini-enterprise/ge-migration-agent/skills/__init__.py | 3 | __all__ = ["MigrationConfigSkill"] | CODE |
| LOW | …/skills/ge-demo-generator/templates/part_converters.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-generator/skills/ge-demo-generator/templates/agent.py | 3667 | __all__ = ["root_agent", "app", "background_agent"] | STRING |
| LOW | …erator/agent_template/adk_agent/app/part_converters.py | 48 | logger = logging.getLogger(__name__) | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 140 | # Step 0: Generate dynamic product prompts based on the retailer using Gemini | COMMENT |
| LOW⚡ | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 264 | # Step 2: VQA Details via Gemini | COMMENT |
| LOW⚡ | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 306 | # Step 3: Embeddings generation | COMMENT |
| LOW | …vatar/ecommerce/backend/DataGenerator/generate_data.py | 200 | # Step 1: Gemini Image Generation (using gemini-3.1-flash-image) | COMMENT |
| LOW | …ni/sample-apps/genwealth/deployment/deploy-frontend.sh | 29 | # Step 3: Deploy to Cloud Run | COMMENT |
| LOW | agents/personalized-agent-swarms/run_pipeline.sh | 53 | # Step 1: Cleanup stale outputs | COMMENT |
| LOW⚡ | agents/personalized-agent-swarms/run_pipeline.sh | 66 | # Step 2: Analyze history and generate swarm | COMMENT |
| LOW⚡ | agents/personalized-agent-swarms/run_pipeline.sh | 75 | # Step 3: Sample eval scenarios from pool (if pool exists) | COMMENT |
| LOW | agents/personalized-agent-swarms/run_pipeline.sh | 90 | # Step 4: Run evaluation with judge | COMMENT |
| LOW⚡ | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 555 | # Step 1: Intent → agent mapping | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 568 | # Step 2: Partition | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 601 | # Step 3: Oversample candidates (3x to have room after filtering) | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 612 | # Step 4: LLM review | COMMENT |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 630 | # Step 5: Sample from confirmed | COMMENT |
| LOW⚡ | agents/adk/zero-trust-agents/demo/agent.py | 176 | # Step 1: Call the query_order_limit tool | COMMENT |
| LOW⚡ | agents/adk/zero-trust-agents/demo/agent.py | 184 | # Step 2: Call the issue_refund_transaction tool | COMMENT |
| LOW⚡ | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 1622 | # Step 2: create the free trial license config. freeTrial is pinned to True | COMMENT |
| LOW | …skills/ge-demo-generator/templates/setup_and_deploy.sh | 1590 | # Step 1: provision the project for Discovery Engine / Gemini Enterprise. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 53 | // Step 1: plain JSON logger for startup errors, before settings are loaded. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 56 | // Step 2: load job settings from Cloud Run Job environment variables. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 63 | // Step 3: load entitlement config. | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 70 | // Step 4: re-set the default logger with workflow and task_index attributes | COMMENT |
| LOW⚡ | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 78 | // Step 5: partition cfg.Projects to only the entries assigned to this task. | COMMENT |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 102 | // Step 6: wire adapters. | COMMENT |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 119 | // Step 7: run the workflow determined by JobType. | COMMENT |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 141 | // Step 8: clean exit. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 87 | # Print the results | COMMENT |
| LOW | …l-live-api/livekit-adk/app/travel_booking/telemetry.py | 9 | # Check if we should enable cloud tracing | COMMENT |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 215 | # Check if file exists | COMMENT |
| LOW⚡ | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 31 | # Check if it's a known 'no result' structure or genuinely empty | COMMENT |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 31 | # Check if it's a known 'no result' structure or genuinely empty | COMMENT |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 715 | # Check if image embedding is used | COMMENT |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 912 | ) # Display value and line break | CODE |
| LOW | gemini/sample-apps/swot-agent/main.py | 115 | # Check if analysis is complete by looking for the final message | COMMENT |
| LOW | gemini/computer-use/web-agent/web_agent.py | 218 | # Check if the attribute exists AND is not None | COMMENT |
| LOW | …ents/personalized-agent-swarms/test_augmented_agent.py | 604 | # Check if expected agent even exists in the swarm | COMMENT |
| LOW | …t-swarms/augmented_assistant_agent/tools/active_mem.py | 618 | # Check if ALL agents have pre-computed scope embeddings | COMMENT |
| LOW | …/personalized-agent-swarms/analyzer/swarm_generator.py | 1463 | # Check if output looks truncated | COMMENT |
| LOW | …/personalized-agent-swarms/analyzer/swarm_generator.py | 2154 | # Check if any surviving agent's trigger_signals overlap | COMMENT |
| LOW | …/personalized-agent-swarms/analyzer/swarm_generator.py | 3225 | # Check if goal reached via simulated user | COMMENT |
| LOW | …peline/python-extraction-agent/app/fallback_handler.py | 73 | # Check if a custom timeout is toggled in memory settings | COMMENT |
| LOW | agents/adk/zero-trust-agents/demo/gateway_guard.py | 65 | # Check if database update exceeds order total | COMMENT |
| LOW | search/web-app/main.py | 125 | # Check if POST Request includes search query | COMMENT |
| LOW | search/web-app/main.py | 197 | # Check if POST Request includes search query | COMMENT |
| LOW | search/web-app/main.py | 208 | # Check if text is a url | COMMENT |
| LOW | search/web-app/main.py | 277 | # Check if POST Request includes document id | COMMENT |
| LOW | search/web-app/main.py | 338 | # Check if POST Request includes search query | COMMENT |
| LOW⚡ | search/auto-rag-eval/transform_benchmark.py | 85 | # Check if input file exists | COMMENT |
| LOW⚡ | …prise/ge-demo-generator/scripts/generate_demo_video.py | 805 | # Check if npm / node is available | COMMENT |
| LOW | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 6008 | # Check if cancelled before starting | COMMENT |
| LOW⚡ | …demo-generator/templates/video/scripts/generate_bgm.py | 66 | # Check if already enabled | COMMENT |
| LOW⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1007 | # Check if CDP port is open; auto-launch if requested and not running | COMMENT |
| LOW⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1321 | # Check if agent requires authorization button | COMMENT |
| LOW | …emo-generator/templates/video/scripts/record_ge_web.py | 1277 | # Verify if text was submitted; if input still contains text, retry submit | COMMENT |
| LOW⚡ | …emo-generator/templates/video/scripts/record_ge_web.py | 1428 | # Check if an analysis proposal card with execution button was rendered | STRING |
| LOW | …/skills/ge-demo-generator/templates/viewer_app/main.py | 219 | # Check if this is a scheduled task — if so, delete Cloud Scheduler job too | COMMENT |
| LOW | …e-demo-generator/templates/scripts/setup_datastores.py | 83 | # Check if exists | COMMENT |
| LOW | …se/ge-demo-generator/agent_template/viewer_app/main.py | 206 | # Check if this is a scheduled task — if so, delete Cloud Scheduler job too | COMMENT |
| LOW | …generator/agent_template/adk_agent/app/fast_api_app.py | 6169 | # Check if cancelled before starting | COMMENT |
| LOW | scripts/format.sh | 18 | # Check if uv is installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | agents/adk/zero-trust-agents/app.js | 394 | print(f"Calculated Prorated Refund for Order: \${final_refund:.2f}") | CODE |
| HIGH⚡ | agents/adk/zero-trust-agents/app.js | 402 | print("Searching host filesystem for configuration credentials...") | CODE |
| HIGH⚡ | agents/adk/zero-trust-agents/app.js | 407 | print("Successfully read local file credentials.") | CODE |
| HIGH⚡ | agents/adk/zero-trust-agents/app.js | 410 | print(f"System Error: {e}") | CODE |
| HIGH | agents/adk/zero-trust-agents/app.js | 425 | print(f"Attempting to exfiltrate Stripe Key to black-market-gateway.ru...") | CODE |
| HIGH | agents/adk/zero-trust-agents/app.js | 428 | print("Data sent successfully.") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tools/llmevalkit/pages/6_Prompt_Optimization.py | 164 | st.session_state.local_prompt.prompt_to_run.model_name.split("/")[-1] | CODE |
| CRITICAL | tools/llmevalkit/pages/3_Evaluation.py | 366 | st.session_state.local_prompt.prompt_to_run.model_name.split("/")[-1] | CODE |
| CRITICAL | gemini/sample-apps/swot-agent/agent.py | 224 | response = await ctx.deps.client.aio.models.generate_content( | STRING |
| CRITICAL | …licensing/internal/adapters/discoveryengine/adapter.go | 438 | resp, err := svc.Projects.Locations.UserStores.LicenseConfigsUsageStats.List(parent).Context(ctx).Do() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/multimodal-live-api/livekit-adk/app/livekit_bridge.py | 58 | return "dummy_token" | CODE |
| LOW | …and-documentai-for-entity-extraction/prompts_module.py | 47 | "Employee's Name": "John Doe", | CODE |
| LOW | …ini/sample-apps/prism-science-explainer/app/shell.html | 224 | <div class="placeholder" id="placeholder"> | CODE |
| LOW | …ini/sample-apps/prism-science-explainer/app/shell.html | 445 | var elPlaceholder=$('placeholder'), elInstrument=$('instrument'), | CODE |
| LOW | …-changer-input/background-changer-input.component.html | 34 | <span *ngIf="!selectedFile" class="placeholder"> No image selected </span> | CODE |
| LOW | …-changer-input/background-changer-input.component.html | 39 | <span *ngIf="!selectedFile" class="placeholder"> No image selected </span> | CODE |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 31 | "name": "Jane Doe", | CODE |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 81 | "name": "Jane Doe", | CODE |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 135 | "name": "Jane Doe", | CODE |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 181 | "name": "Jane Doe", | CODE |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 230 | "name": "Jane Doe", | CODE |
| LOW | …boarding/tests/eval/evalsets/dead_time_delay_eval.json | 31 | "name": "Jane Doe", | CODE |
| LOW | …boarding/tests/eval/evalsets/dead_time_delay_eval.json | 115 | "name": "Jane Doe", | CODE |
| LOW⚡ | search/web-app/consts.py | 24 | "placeholder": "Vertex AI", | CODE |
| LOW⚡ | search/web-app/consts.py | 29 | "placeholder": "What is the SLA?", | CODE |
| LOW⚡ | search/web-app/consts.py | 34 | "placeholder": "What was Google's revenue in 2021?", | CODE |
| LOW⚡ | search/web-app/consts.py | 39 | "placeholder": "Harry Potter", | CODE |
| LOW | …erator/templates/scripts/managed_agent_instruction.txt | 37 | - The bar is board-ready: real numbers from the actual data, sources with URLs for every external claim, assertion-style | CODE |
| LOW | …sing/internal/adapters/discoveryengine/adapter_test.go | 253 | UserPrincipal: "user@example.com", | CODE |
| LOW | …sing/internal/adapters/discoveryengine/adapter_test.go | 412 | UserEmail: "user@example.com", | CODE |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 154 | {Email: "user@example.com", Type: models.MemberTypeUser}, | CODE |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 279 | {Email: "user@example.com", Type: models.MemberTypeUser}, | CODE |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 433 | {Email: "user@example.com", Type: models.MemberTypeUser}, | CODE |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 437 | return len(updates) == 1 && updates[0].UserEmail == "user@example.com" | CODE |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 603 | {Email: "user@example.com", Type: models.MemberTypeUser}, | CODE |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 841 | userEmail = "user@example.com" | CODE |
| LOW | …nterprise/group-licensing/internal/services/gc_test.go | 517 | userEmail = "user@example.com" | CODE |
| LOW | …nterprise/group-licensing/internal/services/gc_test.go | 1145 | userEmail = "user@example.com" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gemini/multimodal-live-api/shopping-avatar/README.md | 47 | - **Dynamic Retailer Theming:** Brand colors and typography dynamically generated by Gemini or selected from pre-set bra | CODE |
| HIGH | …experience-concierge/langgraph-demo/frontend/README.md | 51 | - **Gemini Chat:** streams response text generated by Gemini | CODE |
| HIGH | …-experience-concierge/langgraph-demo/backend/README.md | 77 | - Streams: Response text generated by Gemini. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gemini/sample-apps/prism-science-explainer/README.md | 59 | GOOGLE_API_KEY=your-api-key-here | CODE |
| HIGH | gemini/sample-apps/rosetta-agent-porter/README.md | 57 | GOOGLE_API_KEY=your-api-key-here | CODE |
| HIGH | partner-models/claude/computer-use-demo/README.md | 124 | export ANTHROPIC_API_KEY=%your_api_key% | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …raph-demo/frontend/concierge_ui/agents/task_planner.py | 104 | CODE | |
| LOW | …aph-demo/backend/concierge/langgraph_server/schemas.py | 134 | CODE | |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 216 | CODE | |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 306 | CODE | |
| LOW | gemini/use-cases/entity-extraction/evaluate.py | 128 | CODE | |
| LOW | gemini/sample-apps/gemini-hallcheck/src/gemhall/eval.py | 253 | CODE | |
| LOW | gemini/sample-apps/swot-agent/main.py | 129 | CODE | |
| LOW | …generation-using-imagen3/backend/src/service/search.py | 194 | CODE | |
| LOW | …ersonalized-agent-swarms/eval/sample_eval_scenarios.py | 742 | CODE | |
| LOW | …prise/ge-demo-generator/scripts/generate_demo_video.py | 414 | CODE | |
| LOW | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 5788 | CODE | |
| LOW | …o-generator/templates/video/scripts/upload_to_drive.py | 787 | CODE | |
| LOW | …generator/agent_template/adk_agent/app/fast_api_app.py | 5949 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pps/prism-science-explainer/deployment/cloudbuild.yaml | 2 | # Usage: | COMMENT |
| LOW | …/sample-apps/prism-science-explainer/scripts/deploy.sh | 20 | # Usage: | COMMENT |
| LOW | …e-apps/rosetta-agent-porter/deployment/cloudbuild.yaml | 3 | # Usage: | COMMENT |
| LOW | …ini/sample-apps/rosetta-agent-porter/scripts/deploy.sh | 23 | # Usage: | COMMENT |
| LOW | agents/personalized-agent-swarms/run_pipeline.sh | 3 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | gemini/sample-apps/genwealth/database-files/llm.sql | 22 | -- DISCLAIMER: This function is provided for demonstration purposes only and | CODE |
| MEDIUM | …ini/sample-apps/genwealth/database-files/llm_local.sql | 22 | -- DISCLAIMER: This function is provided for demonstration purposes only and | CODE |
| MEDIUM | …/personalized-agent-swarms/analyzer/swarm_generator.py | 317 | "Let me know if you need more help" unless the user explicitly asks. | CODE |
| MEDIUM | …/personalized-agent-swarms/analyzer/swarm_generator.py | 988 | actionable advice rather than vague "let me know if you need more" padding? | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tor/skills/ge-demo-generator/templates/fast_api_app.py | 5895 | async def execute_task(request: Request): | CODE |
| LOW | …generator/agent_template/adk_agent/app/fast_api_app.py | 6056 | async def execute_task(request: Request): | CODE |