Repository Analysis

google/adk-samples

A collection of sample agents built with Agent Development Kit (ADK)

34.4 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google/adk-samples, a Python project with 10,248 GitHub stars. SynthScan v2.0 examined 494,278 lines of code across 2912 source files, recording 11045 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 34.4 places this repository in the Strong AI signal band.

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

34.4
Adjusted Score
34.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
10.2K
Stars
Python
Language
494.3K
Lines of Code
2.9K
Files
11.0K
Pattern Hits
2026-08-29
Scan Date
0.12
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 3HIGH 352MEDIUM 1802LOW 8888

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 11045 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Decorative Section Separators1576 hits · 5713 pts
SeverityFileLineSnippetContext
MEDIUM.golangci.yml23# --------------------------------------------------------------------------COMMENT
MEDIUM.golangci.yml38# --------------------------------------------------------------------------COMMENT
MEDIUM.golangci.yml84# --------------------------------------------------------------------------COMMENT
MEDIUM.golangci.yml93# --------------------------------------------------------------------------COMMENT
MEDIUMtools/validate_manifest.py154# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/validate_manifest.py161# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py71# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py131# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py212# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py261# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_message.py263# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/validate_structure.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/validate_structure.py85# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/validate_structure.py89# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py91# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py257# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py259# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py307# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py309# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py757# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py759# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py831# ===========================================================================COMMENT
MEDIUMtools/validate_structure.py833# ===========================================================================COMMENT
MEDIUMtools/tests/test_validate_structure.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py178# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py239# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py241# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py291# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py293# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py576# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py578# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py770# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py772# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py889# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py891# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py957# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py959# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py395# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py397# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py703# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py705# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py806# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_structure.py808# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py332# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py334# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py438# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py440# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py488# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py493# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/tests/test_validate_manifest.py271# ---------------------------------------------------------------------------STRING
MEDIUMtools/tests/test_validate_manifest.py273# ---------------------------------------------------------------------------STRING
1516 more matches not shown…
Hyper-Verbose Identifiers4427 hits · 4275 pts
SeverityFileLineSnippetContext
LOWtools/validate_manifest.py650def missing_manifest_diagnostic(manifest_path: Path) -> Diagnostic:CODE
LOWtools/affected_recipes.py103def recipe_language_namespace(recipe_dir: str) -> str | None:CODE
LOWtools/affected_recipes.py118def _flat_recipe_manifest_language(CODE
LOWtools/validate_structure.py368def _iter_excluded_dirs_files(policy: dict) -> tuple[set[str], set[str]]:CODE
LOWtools/tests/test_validate_structure.py128def test_required_files_for_contrib_python():CODE
LOWtools/tests/test_validate_structure.py137def test_required_files_for_skills_no_language():CODE
LOWtools/tests/test_validate_structure.py145def test_required_files_for_unknown_root_and_language():CODE
LOWtools/tests/test_validate_structure.py153def test_required_files_for_missing_config():CODE
LOWtools/tests/test_validate_structure.py158def test_required_files_for_deduplicates():CODE
LOWtools/tests/test_validate_structure.py181def test_detect_language_valid(tmp_path):CODE
LOWtools/tests/test_validate_structure.py186def test_detect_language_missing_manifest(tmp_path):CODE
LOWtools/tests/test_validate_structure.py190def test_detect_language_bad_yaml(tmp_path):CODE
LOWtools/tests/test_validate_structure.py195def test_detect_language_no_language_field(tmp_path):CODE
LOWtools/tests/test_validate_structure.py200def test_detect_language_lowercases(tmp_path):CODE
LOWtools/tests/test_validate_structure.py207def test_is_large_recipe_true(tmp_path):CODE
LOWtools/tests/test_validate_structure.py215def test_is_large_recipe_false_by_default(tmp_path):CODE
LOWtools/tests/test_validate_structure.py220def test_is_large_recipe_missing_manifest(tmp_path):CODE
LOWtools/tests/test_validate_structure.py230def test_recipe_root_of_namespaced(tmp_path, monkeypatch):CODE
LOWtools/tests/test_validate_structure.py244def test_check_folder_name_valid(tmp_path):CODE
LOWtools/tests/test_validate_structure.py250def test_check_folder_name_rejects_underscore(tmp_path):CODE
LOWtools/tests/test_validate_structure.py259def test_check_folder_name_rejects_uppercase(tmp_path):CODE
LOWtools/tests/test_validate_structure.py266def test_check_folder_name_rejects_leading_digit(tmp_path):CODE
LOWtools/tests/test_validate_structure.py273def test_check_folder_name_too_long(tmp_path):CODE
LOWtools/tests/test_validate_structure.py282def test_check_folder_name_both_violations_reported(tmp_path):CODE
LOWtools/tests/test_validate_structure.py296def test_committed_policy_pairs_every_entry_with_a_rule():CODE
LOWtools/tests/test_validate_structure.py313def test_check_required_files_all_present(tmp_path):CODE
LOWtools/tests/test_validate_structure.py319def test_check_required_files_missing_agents_in_core(tmp_path):CODE
LOWtools/tests/test_validate_structure.py326def test_missing_file_says_which_rule_required_it(tmp_path):CODE
LOWtools/tests/test_validate_structure.py347def test_missing_uv_lock_gives_the_exact_command(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py355def test_a_required_file_with_no_generator_points_at_the_checklist(tmp_path):CODE
LOWtools/tests/test_validate_structure.py363def test_check_required_files_contrib_does_not_require_agents(tmp_path):CODE
LOWtools/tests/test_validate_structure.py369def test_check_required_files_nested_path(tmp_path):CODE
LOWtools/tests/test_validate_structure.py659def test_validate_recipe_bad_folder_name(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py668def test_validate_recipe_missing_agents_in_core(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py677def test_validate_recipe_outside_known_roots(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py722def test_main_all_recipes_pass(fake_repo):CODE
LOWtools/tests/test_validate_structure.py728def test_main_returns_one_on_failure(fake_repo, capsys):CODE
LOWtools/tests/test_validate_structure.py738def test_main_annotates_every_problem_not_just_the_first(fake_repo, capsys):CODE
LOWtools/tests/test_validate_structure.py765def test_main_single_recipe_scope(fake_repo):CODE
LOWtools/tests/test_validate_structure.py775def test_required_dirs_for_skills():CODE
LOWtools/tests/test_validate_structure.py784def test_required_dirs_for_core_is_empty():CODE
LOWtools/tests/test_validate_structure.py788def test_required_dirs_for_missing_section_degrades():CODE
LOWtools/tests/test_validate_structure.py792def test_required_dirs_for_dedupes():CODE
LOWtools/tests/test_validate_structure.py852def test_missing_dir_says_which_rule_required_it(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py860def test_skill_missing_eval_yaml_fails(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py867def test_empty_required_dirs_pass(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py876def test_required_dir_that_is_actually_a_file_is_reported_precisely(CODE
LOWtools/tests/test_validate_structure.py894def test_wrong_case_fails_for_a_strict_entry(isolated_repo):CODE
LOWtools/tests/test_validate_structure.py942def test_find_entry_walks_nested_segments(tmp_path):CODE
LOWtools/tests/test_validate_structure.py952def test_case_insensitive_entries_reads_policy():CODE
LOWtools/tests/test_validate_structure.py962def test_committed_policy_declares_the_skill_contract():CODE
LOWtools/tests/test_validate_structure.py116def test_required_files_for_core_python():CODE
LOWtools/tests/test_validate_structure.py383def test_check_required_files_directory_does_not_satisfy(tmp_path):CODE
LOWtools/tests/test_validate_structure.py419def test_check_size_and_count_under_limits(tmp_path):CODE
LOWtools/tests/test_validate_structure.py427def test_check_size_and_count_exceeds_file_count(tmp_path):CODE
LOWtools/tests/test_validate_structure.py443def test_check_size_and_count_exceeds_size(tmp_path):CODE
LOWtools/tests/test_validate_structure.py457def test_size_message_names_the_five_largest_and_no_more(tmp_path):CODE
LOWtools/tests/test_validate_structure.py469def test_large_tier_message_says_there_is_no_higher_tier(tmp_path):CODE
LOWtools/tests/test_validate_structure.py488def test_check_size_and_count_excludes_uv_lock(tmp_path):CODE
LOWtools/tests/test_validate_structure.py498def test_check_size_and_count_excludes_pycache_dir(tmp_path):CODE
4367 more matches not shown…
Over-Commented Block1975 hits · 1922 pts
SeverityFileLineSnippetContext
LOWpyproject.toml101# treat it as first-party across the whole repo. Hoisted here so recipeCOMMENT
LOWpyproject.toml121COMMENT
LOW.golangci.yml1# Go formatting and linting configuration — the single source of truth forCOMMENT
LOW.golangci.yml21version: "2"COMMENT
LOW.golangci.yml41 - gofumptCOMMENT
LOW.golangci.yml61 max-len: 120COMMENT
LOW.golangci.yml81 - localmoduleCOMMENT
LOWtools/validate_manifest.py61COMMENT
LOWgo/agents/llm-auditor/cmd/main.go1// Copyright 2025 Google LLCCOMMENT
LOWgo/agents/llm-auditor/critic/critic.go1// Copyright 2025 Google LLCCOMMENT
LOWgo/agents/llm-auditor/auditor/auditor.go1// Copyright 2025 Google LLCCOMMENT
LOWgo/agents/llm-auditor/auditor/auditor_test.go1// Copyright 2025 Google LLCCOMMENT
LOWgo/agents/llm-auditor/reviser/reviser.go1// Copyright 2025 Google LLCCOMMENT
LOW…ython/genmedia-for-commerce/infra/terraform/outputs.tf1# Copyright 2025 Google LLCCOMMENT
LOW…thon/genmedia-for-commerce/infra/terraform/cloudrun.tf1# Copyright 2025 Google LLCCOMMENT
LOW…e/python/genmedia-for-commerce/infra/terraform/main.tf1# Copyright 2025 Google LLCCOMMENT
LOW…edia-for-commerce/infra/terraform/artifact_registry.tf1# Copyright 2025 Google LLCCOMMENT
LOW…ython/genmedia-for-commerce/infra/terraform/storage.tf1# Copyright 2025 Google LLCCOMMENT
LOW…hon/genmedia-for-commerce/infra/terraform/variables.tf1# Copyright 2025 Google LLCCOMMENT
LOW…re/python/genmedia-for-commerce/infra/terraform/iam.tf1# Copyright 2025 Google LLCCOMMENT
LOW…-commerce/infra/model_training/finetune_gemini_lora.py1# Copyright 2026 Google LLCCOMMENT
LOW…-for-commerce/infra/model_training/eval_gemini_lora.py1# Copyright 2026 Google LLCCOMMENT
LOW…nmedia-for-commerce/frontend/scripts/copy-mediapipe.sh1#!/bin/bashCOMMENT
LOW…thon/genmedia-for-commerce/genmedia4commerce/config.py1# Copyright 2025 Google LLCCOMMENT
LOW…ia-for-commerce/genmedia4commerce/agent_debug_utils.py1# Copyright 2025 Google LLCCOMMENT
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py1# Copyright 2026 Google LLCCOMMENT
LOW…on/genmedia-for-commerce/genmedia4commerce/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…dia-for-commerce/genmedia4commerce/agent_engine_app.py1# Copyright 2026 Google LLCCOMMENT
LOW…on/genmedia-for-commerce/genmedia4commerce/chat_api.py1# Copyright 2026 Google LLCCOMMENT
LOW…ython/genmedia-for-commerce/genmedia4commerce/agent.py1# Copyright 2025 Google LLCCOMMENT
LOW…enmedia-for-commerce/genmedia4commerce/fast_api_app.py1# Copyright 2026 Google LLCCOMMENT
LOW…erce/genmedia4commerce/workflows/video_vto/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py1# Copyright 2025 Google LLCCOMMENT
LOW…rce/workflows/video_vto/clothes/generate_video_util.py1# Copyright 2025 Google LLCCOMMENT
LOW…ommerce/workflows/video_vto/glasses/custom_template.py1# Copyright 2025 Google LLCCOMMENT
LOW…a4commerce/workflows/video_vto/glasses/glasses_eval.py1# Copyright 2025 Google LLCCOMMENT
LOW…media4commerce/workflows/video_vto/glasses/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…media4commerce/workflows/video_vto/glasses/pipeline.py1# Copyright 2026 Google LLCCOMMENT
LOW…rce/workflows/video_vto/glasses/generate_video_util.py1# Copyright 2025 Google LLCCOMMENT
LOW…erce/workflows/spinning/glasses_rotation_classifier.py1# Copyright 2026 Google LLCCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py1#!/usr/bin/env python3COMMENT
LOW…merce/genmedia4commerce/workflows/spinning/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…-commerce/genmedia4commerce/workflows/spinning/eval.py1# Copyright 2025 Google LLCCOMMENT
LOW…e/genmedia4commerce/workflows/spinning/r2v/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…edia4commerce/workflows/spinning/r2v/other/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…mmerce/workflows/spinning/r2v/other/image_selection.py1# Copyright 2026 Google LLCCOMMENT
LOW…edia4commerce/workflows/spinning/r2v/other/pipeline.py1# Copyright 2026 Google LLCCOMMENT
LOW…dia4commerce/workflows/spinning/r2v/other/r2v_utils.py1# Copyright 2025 Google LLCCOMMENT
LOW…e/workflows/spinning/r2v/shoes/split_multiple_shoes.py1# Copyright 2025 Google LLCCOMMENT
LOW…edia4commerce/workflows/spinning/r2v/shoes/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOW…s/spinning/r2v/shoes/product_consistency_validation.py1# Copyright 2025 Google LLCCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py1# Copyright 2025 Google LLCCOMMENT
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py1# Copyright 2025 Google LLCCOMMENT
LOW…ommerce/workflows/spinning/r2v/shoes/classify_shoes.py1# Copyright 2025 Google LLCCOMMENT
LOW…e/workflows/spinning/r2v/shoes/classify_shoes_local.py1# Copyright 2025 Google LLCCOMMENT
LOW…/workflows/spinning/r2v/shoes/shoe_images_selection.py1# Copyright 2025 Google LLCCOMMENT
LOW…/workflows/spinning/r2v/shoes/prompt_generation_r2v.py1# Copyright 2025 Google LLCCOMMENT
LOW…4commerce/workflows/spinning/r2v/shoes/images_utils.py1# Copyright 2025 Google LLCCOMMENT
LOW…4commerce/workflows/spinning/interpolation/__init__.py1# Copyright 2026 Google LLCCOMMENT
1915 more matches not shown…
Cross-File Repetition275 hits · 1375 pts
SeverityFileLineSnippetContext
HIGH…dia-for-commerce/genmedia4commerce/agent_engine_app.py0initialize the agent engine app with logging and telemetry.STRING
HIGH…re/python/cross-session-memory/app/agent_engine_app.py0initialize the agent engine app with logging and telemetry.STRING
HIGH…python/oauth-user-consent-flow/app/agent_engine_app.py0initialize the agent engine app with logging and telemetry.STRING
HIGH…dia-for-commerce/genmedia4commerce/agent_engine_app.py0initialize the agent engine app with logging and telemetry.STRING
HIGH…n/agents/adk-ae-oauth/adk_ae_oauth/agent_engine_app.py0initialize the agent engine app with logging and telemetry.STRING
HIGHpython/agents/memory-bank/app/agent_engine_app.py0initialize the agent engine app with logging and telemetry.STRING
HIGH…media4commerce/workflows/video_vto/clothes/pipeline.py0evaluate face similarity for all clips in parallel.STRING
HIGH…s/product_enrichment/product_fitting/video_pipeline.py0evaluate face similarity for all clips in parallel.STRING
HIGH…media4commerce/workflows/video_vto/clothes/pipeline.py0evaluate face similarity for all clips in parallel.STRING
HIGH…s/product_enrichment/product_fitting/video_pipeline.py0evaluate face similarity for all clips in parallel.STRING
HIGH…dia4commerce/workflows/spinning/r2v/other/r2v_utils.py0**[subject]:** {{description}} **[action]:** the camera performs **one continuous, seamless, very fast 360-degree orbit*STRING
HIGH…/workflows/spinning/r2v/shoes/prompt_generation_r2v.py0**[subject]:** {{description}} **[action]:** the camera performs **one continuous, seamless, very fast 360-degree orbit*STRING
HIGH…dia4commerce/workflows/spinning/r2v/other/r2v_utils.py0**[subject]:** {{description}} **[action]:** the camera performs **one continuous, seamless, very fast 360-degree orbit*STRING
HIGH…/workflows/spinning/r2v/shoes/prompt_generation_r2v.py0**[subject]:** {{description}} **[action]:** the camera performs **one continuous, seamless, very fast 360-degree orbit*STRING
HIGH…ommerce/workflows/spinning/r2v/shoes/classify_shoes.py0\ you are an **expert in footwear and image understanding**. your primary role is to **analyze the user-provided image**STRING
HIGH…ommerce/workflows/spinning/r2v/shoes/classify_shoes.py0\ you are an **expert in footwear and image understanding**. your primary role is to **analyze the user-provided image**STRING
HIGH…e/workflows/spinning/r2v/shoes/classify_shoes_local.py0\ you are an **expert in footwear and image understanding**. your primary role is to **analyze the user-provided image**STRING
HIGH…e/workflows/spinning/r2v/shoes/classify_shoes_local.py0\ you are an **expert in footwear and image understanding**. your primary role is to **analyze the user-provided image**STRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0return (genai_client, nano_client), creating them on first call.STRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0return (genai_client, nano_client), creating them on first call.STRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0return (genai_client, nano_client), creating them on first call.STRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0return (genai_client, nano_client), creating them on first call.STRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0convert to a dict suitable for sse json serialisation.STRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0convert to a dict suitable for sse json serialisation.STRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0convert to a dict suitable for sse json serialisation.STRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0convert to a dict suitable for sse json serialisation.STRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0run the full glasses vto pipeline. yields results as each variation completes. yield order: 1. a single vtoresult with sSTRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0run the full glasses vto pipeline. yields results as each variation completes. yield order: 1. a single vtoresult with sSTRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0run the full glasses vto pipeline. yields results as each variation completes. yield order: 1. a single vtoresult with sSTRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0run the full glasses vto pipeline. yields results as each variation completes. yield order: 1. a single vtoresult with sSTRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0generate one variation, evaluate it, and put the result on the queue.STRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0generate one variation, evaluate it, and put the result on the queue.STRING
HIGH…media4commerce/workflows/image_vto/clothes/pipeline.py0generate one variation, evaluate it, and put the result on the queue.STRING
HIGH…media4commerce/workflows/image_vto/glasses/pipeline.py0generate one variation, evaluate it, and put the result on the queue.STRING
HIGH…erce/genmedia4commerce/workflows/shared/image_utils.py0preprocess images with optional upscaling and canvas creation. used by both interpolation and r2v modes for video generaSTRING
HIGH…erce/genmedia4commerce/workflows/shared/image_utils.py0preprocess images with optional upscaling and canvas creation. used by both interpolation and r2v modes for video generaSTRING
HIGH…-commerce/genmedia4commerce/workflows/shared/README.md0preprocess images with optional upscaling and canvas creation. used by both interpolation and r2v modes for video generaSTRING
HIGH…-commerce/genmedia4commerce/workflows/shared/README.md0preprocess images with optional upscaling and canvas creation. used by both interpolation and r2v modes for video generaSTRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0generate method specifications with schemas from agent's register_operations(). see: https://docs.cloud.google.com/agentSTRING
HIGH…re/python/cross-session-memory/app/app_utils/deploy.py0generate method specifications with schemas from agent's register_operations(). see: https://docs.cloud.google.com/agentSTRING
HIGH…python/oauth-user-consent-flow/app/app_utils/deploy.py0generate method specifications with schemas from agent's register_operations(). see: https://docs.cloud.google.com/agentSTRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0generate method specifications with schemas from agent's register_operations(). see: https://docs.cloud.google.com/agentSTRING
HIGH…n/agents/adk-ae-oauth/adk_ae_oauth/app_utils/deploy.py0generate method specifications with schemas from agent's register_operations(). see: https://docs.cloud.google.com/agentSTRING
HIGHpython/agents/memory-bank/app/app_utils/deploy.py0generate method specifications with schemas from agent's register_operations(). see: https://docs.cloud.google.com/agentSTRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0parse key-value pairs from a comma-separated key=value string.STRING
HIGH…re/python/cross-session-memory/app/app_utils/deploy.py0parse key-value pairs from a comma-separated key=value string.STRING
HIGH…python/oauth-user-consent-flow/app/app_utils/deploy.py0parse key-value pairs from a comma-separated key=value string.STRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0parse key-value pairs from a comma-separated key=value string.STRING
HIGH…n/agents/adk-ae-oauth/adk_ae_oauth/app_utils/deploy.py0parse key-value pairs from a comma-separated key=value string.STRING
HIGHpython/agents/memory-bank/app/app_utils/deploy.py0parse key-value pairs from a comma-separated key=value string.STRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0parse secrets from env_var=secret_id or env_var=secret_id:version format.STRING
HIGH…re/python/cross-session-memory/app/app_utils/deploy.py0parse secrets from env_var=secret_id or env_var=secret_id:version format.STRING
HIGH…python/oauth-user-consent-flow/app/app_utils/deploy.py0parse secrets from env_var=secret_id or env_var=secret_id:version format.STRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0parse secrets from env_var=secret_id or env_var=secret_id:version format.STRING
HIGH…n/agents/adk-ae-oauth/adk_ae_oauth/app_utils/deploy.py0parse secrets from env_var=secret_id or env_var=secret_id:version format.STRING
HIGHpython/agents/memory-bank/app/app_utils/deploy.py0parse secrets from env_var=secret_id or env_var=secret_id:version format.STRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0format an env var value for display, masking secrets.STRING
HIGH…re/python/cross-session-memory/app/app_utils/deploy.py0format an env var value for display, masking secrets.STRING
HIGH…python/oauth-user-consent-flow/app/app_utils/deploy.py0format an env var value for display, masking secrets.STRING
HIGH…dia-for-commerce/genmedia4commerce/app_utils/deploy.py0format an env var value for display, masking secrets.STRING
215 more matches not shown…
Excessive Try-Catch Wrapping770 hits · 820 pts
SeverityFileLineSnippetContext
LOWtools/ci_message.py391 except Exception as exc:CODE
LOW…-for-commerce/infra/model_training/eval_gemini_lora.py292 except Exception as e:CODE
LOW…thon/genmedia-for-commerce/genmedia4commerce/config.py58 except Exception:CODE
LOW…thon/genmedia-for-commerce/genmedia4commerce/config.py124 except Exception as e:CODE
LOW…thon/genmedia-for-commerce/genmedia4commerce/config.py166except Exception as e:CODE
LOW…thon/genmedia-for-commerce/genmedia4commerce/config.py183 except Exception as e:CODE
LOW…ia-for-commerce/genmedia4commerce/agent_debug_utils.py97 except Exception as e:CODE
LOW…ia-for-commerce/genmedia4commerce/agent_debug_utils.py137 except Exception as e:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py75 except Exception as e:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py119 except Exception as e:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py158 except Exception as e:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py192 except Exception as e:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py218 except Exception:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py225 except Exception:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py321 except Exception as e:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py373 except Exception:CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py415 except Exception as e:CODE
LOW…dia-for-commerce/genmedia4commerce/agent_engine_app.py76except Exception as e:CODE
LOW…on/genmedia-for-commerce/genmedia4commerce/chat_api.py122 except Exception:CODE
LOW…on/genmedia-for-commerce/genmedia4commerce/chat_api.py181 except Exception as e:CODE
LOW…enmedia-for-commerce/genmedia4commerce/fast_api_app.py140 except Exception as exc:CODE
LOW…enmedia-for-commerce/genmedia4commerce/fast_api_app.py285 except Exception as e:CODE
MEDIUM…enmedia-for-commerce/genmedia4commerce/fast_api_app.py258def _check_segmentation():CODE
LOW…ommerce/workflows/video_vto/glasses/custom_template.py105 except Exception as e:CODE
LOW…ommerce/workflows/video_vto/glasses/custom_template.py149 except Exception as e:CODE
LOW…media4commerce/workflows/video_vto/glasses/pipeline.py79 except Exception as e:CODE
LOW…rce/workflows/video_vto/glasses/generate_video_util.py132 except Exception as e:CODE
LOW…rce/workflows/video_vto/glasses/generate_video_util.py194 except Exception:CODE
LOW…erce/workflows/spinning/glasses_rotation_classifier.py103 except Exception as e:CODE
LOW…erce/workflows/spinning/glasses_rotation_classifier.py157 except Exception as e:CODE
LOW…-commerce/genmedia4commerce/workflows/spinning/eval.py82 except Exception as e:CODE
LOW…-commerce/genmedia4commerce/workflows/spinning/eval.py232 except Exception as e:CODE
LOW…mmerce/workflows/spinning/r2v/other/image_selection.py142 except Exception as e:CODE
LOW…e/workflows/spinning/r2v/shoes/split_multiple_shoes.py114 except Exception as e:CODE
LOW…e/workflows/spinning/r2v/shoes/split_multiple_shoes.py291 except Exception as e:CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py160 except Exception as validation_err:CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py189 except Exception as consistency_err:CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py725 except Exception as e:CODE
LOW…/workflows/spinning/r2v/shoes/shoe_images_selection.py74 except Exception:CODE
LOW…ws/spinning/interpolation/other/interpolation_utils.py194 except Exception as e:CODE
LOW…a4commerce/workflows/image_vto/clothes/garment_eval.py190 except Exception as e:CODE
LOW…commerce/workflows/image_vto/clothes/vto_generation.py75 except Exception as e:CODE
LOW…commerce/workflows/image_vto/clothes/vto_generation.py97 except Exception as e:CODE
LOW…commerce/workflows/image_vto/clothes/vto_generation.py147 except Exception as e:CODE
LOW…commerce/workflows/image_vto/clothes/vto_generation.py354 except Exception as e:CODE
LOW…media4commerce/workflows/image_vto/clothes/pipeline.py360 except Exception as e:CODE
LOW…rce/workflows/image_vto/clothes/garment_description.py109 except Exception as e:CODE
LOW…mmerce/workflows/image_vto/glasses/image_generation.py113 except Exception as e:CODE
LOW…mmerce/workflows/image_vto/glasses/image_generation.py135 except Exception as e:CODE
LOW…mmerce/workflows/image_vto/glasses/image_generation.py186 except Exception as e:CODE
LOW…mmerce/workflows/image_vto/glasses/image_generation.py302 except Exception as e:CODE
LOW…a4commerce/workflows/image_vto/glasses/glasses_eval.py129 except Exception as e:CODE
LOW…media4commerce/workflows/image_vto/glasses/pipeline.py318 except Exception as e:CODE
LOW…rkflows/other/background_changer/background_changer.py100 except Exception as e:CODE
LOW…rkflows/other/background_changer/background_changer.py130 except Exception as e:CODE
LOW…rkflows/other/background_changer/background_changer.py339 except Exception as e:CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py363 except Exception as e:CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py494 except Exception as e:CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py644 except Exception as e:CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py1027 except Exception as e:CODE
710 more matches not shown…
Unused Imports681 hits · 659 pts
SeverityFileLineSnippetContext
LOWtools/validate_placement.py34CODE
LOWtools/ci_message.py57CODE
LOWtools/affected_recipes.py39CODE
LOWtools/check_frozen_paths.py30CODE
LOWtools/validate_structure.py54CODE
LOWtools/tests/test_ci_message.py12CODE
LOW…nmedia4commerce/agents/style_advisor_agent/__init__.py17CODE
LOWcore/python/cross-session-memory/app/__init__.py41CODE
LOW…oss-session-memory/tests/integration/_e2e_bootstrap.py60CODE
LOWcore/python/oauth-user-consent-flow/app/__init__.py32CODE
LOW…python/ambient-expense-agent/expense_agent/__init__.py24CODE
LOW…python/ambient-expense-agent/expense_agent/__init__.py25CODE
LOWcore/python/rag-vector-search/app/__init__.py22CODE
LOWcore/python/deep-search/app/__init__.py36CODE
LOWcore/python/long-horizon-harness/tests/conftest.py28CODE
LOWcore/python/long-horizon-harness/tests/stubs.py17CODE
LOW…re/python/long-horizon-harness/tests/smoke/conftest.py29CODE
LOW…ness/tests/smoke/backend/test_search_and_read_smoke.py25CODE
LOW…n/long-horizon-harness/tests/smoke/backend/conftest.py29CODE
LOW…rizon-harness/tests/smoke/backend/test_provisioning.py22CODE
LOW…zon-harness/tests/smoke/backend/test_sessions_smoke.py20CODE
LOW…-harness/tests/smoke/backend/test_resubscribe_smoke.py28CODE
LOW…arness/tests/smoke/backend/test_artifact_sign_probe.py22CODE
LOW…ness/tests/smoke/backend/test_memory_profiles_smoke.py27CODE
LOW…n-harness/tests/smoke/backend/test_patch_lint_smoke.py36CODE
LOW…s/tests/smoke/backend/test_routine_foundation_smoke.py21CODE
LOW…harness/tests/smoke/backend/test_artifact_save_load.py29CODE
LOW…izon-harness/tests/smoke/backend/test_file_ops_tool.py17CODE
LOW…ng-horizon-harness/tests/smoke/backend/llm/conftest.py33CODE
LOW…ests/smoke/backend/llm/test_agent_overflow_recovery.py29CODE
LOW…ests/smoke/backend/llm/test_registry_models_resolve.py24CODE
LOW…/tests/smoke/backend/llm/test_agent_attacks_blocked.py28CODE
LOW…s/smoke/backend/llm/test_agent_recall_past_sessions.py23CODE
LOW…rness/tests/smoke/backend/llm/test_agent_fuzzy_edit.py24CODE
LOW…harness/tests/smoke/backend/llm/test_agent_artifact.py23CODE
LOW…harness/tests/smoke/backend/llm/test_agent_terminal.py22CODE
LOW…ts/smoke/backend/llm/test_agent_big_file_navigation.py24CODE
LOW…thon/long-horizon-harness/tests/smoke/http/conftest.py29CODE
LOW…ong-horizon-harness/tests/smoke/http/test_a2a_basic.py21CODE
LOW…harness/tests/smoke/http/test_a2a_artifact_filename.py27CODE
LOW…horizon-harness/tests/smoke/http/test_user_id_cache.py30CODE
LOW…python/long-horizon-harness/tests/unit/test_clarify.py26CODE
LOW…on-harness/tests/unit/test_process_spawn_guardrails.py22CODE
LOW…g-horizon-harness/tests/unit/test_guardrails_plugin.py17CODE
LOW…hon/long-horizon-harness/tests/unit/test_web_search.py39CODE
LOW…ong-horizon-harness/tests/unit/test_fork_throttling.py27CODE
LOW…horizon-harness/tests/unit/test_session_start_title.py19CODE
LOW…thon/long-horizon-harness/tests/unit/test_read_tool.py35CODE
LOW…horizon-harness/tests/unit/test_session_service_uri.py24CODE
LOW…ng-horizon-harness/tests/unit/test_builtin_commands.py22CODE
LOW…ong-horizon-harness/tests/unit/test_executor_cancel.py23CODE
LOW…ong-horizon-harness/tests/unit/test_feedback_schema.py23CODE
LOW…ng-horizon-harness/tests/unit/test_context_file_cap.py21CODE
LOW…g-horizon-harness/tests/unit/test_subagent_profiles.py17CODE
LOW…long-horizon-harness/tests/unit/test_probe_builders.py17CODE
LOW…ness/tests/unit/test_builtin_google_workspace_skill.py24CODE
LOW…n/long-horizon-harness/tests/unit/test_user_profile.py24CODE
LOW…g-horizon-harness/tests/unit/test_resurface_context.py17CODE
LOW…n-harness/tests/unit/test_process_registry_survival.py15CODE
LOW…-harness/tests/unit/test_subagents_delegate_builder.py25CODE
621 more matches not shown…
Modern Structural Boilerplate418 hits · 425 pts
SeverityFileLineSnippetContext
LOW…thon/genmedia-for-commerce/genmedia4commerce/config.py31logger = logging.getLogger(__name__)CODE
LOW…ia-for-commerce/genmedia4commerce/agent_debug_utils.py33logger = logging.getLogger(__name__)CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py37logger = logging.getLogger(__name__)CODE
LOW…dia-for-commerce/genmedia4commerce/agent_engine_app.py34logger = logging.getLogger(__name__)CODE
LOW…dia-for-commerce/genmedia4commerce/agent_engine_app.py40 def set_up(self) -> None:CODE
LOW…on/genmedia-for-commerce/genmedia4commerce/chat_api.py37logger = logging.getLogger(__name__)CODE
LOW…ython/genmedia-for-commerce/genmedia4commerce/agent.py72logger = logging.getLogger(__name__)CODE
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py49logger = logging.getLogger(__name__)CODE
LOW…rce/workflows/video_vto/clothes/generate_video_util.py30logger = logging.getLogger(__name__)CODE
LOW…a4commerce/workflows/video_vto/glasses/glasses_eval.py32logger = logging.getLogger(__name__)CODE
LOW…media4commerce/workflows/video_vto/glasses/pipeline.py34logger = logging.getLogger(__name__)CODE
LOW…rce/workflows/video_vto/glasses/generate_video_util.py36logger = logging.getLogger(__name__)CODE
LOW…erce/workflows/spinning/glasses_rotation_classifier.py36logger = logging.getLogger(__name__)CODE
LOW…-commerce/genmedia4commerce/workflows/spinning/eval.py36logger = logging.getLogger(__name__)CODE
LOW…mmerce/workflows/spinning/r2v/other/image_selection.py32logger = logging.getLogger(__name__)CODE
LOW…edia4commerce/workflows/spinning/r2v/other/pipeline.py25logger = logging.getLogger(__name__)CODE
LOW…e/workflows/spinning/r2v/shoes/split_multiple_shoes.py29logger = logging.getLogger(__name__)CODE
LOW…s/spinning/r2v/shoes/product_consistency_validation.py34logger = logging.getLogger(__name__)CODE
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py33logger = logging.getLogger(__name__)CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py60logger = logging.getLogger(__name__)CODE
LOW…ommerce/workflows/spinning/r2v/shoes/classify_shoes.py32logger = logging.getLogger(__name__)CODE
LOW…e/workflows/spinning/r2v/shoes/classify_shoes_local.py39logger = logging.getLogger(__name__)CODE
LOW…4commerce/workflows/spinning/r2v/shoes/images_utils.py29logger = logging.getLogger(__name__)CODE
LOW…a4commerce/workflows/image_vto/clothes/garment_eval.py32logger = logging.getLogger(__name__)CODE
LOW…commerce/workflows/image_vto/clothes/vto_generation.py36logger = logging.getLogger(__name__)CODE
LOW…media4commerce/workflows/image_vto/clothes/pipeline.py47logger = logging.getLogger(__name__)CODE
LOW…rce/workflows/image_vto/clothes/garment_description.py30logger = logging.getLogger(__name__)CODE
LOW…mmerce/workflows/image_vto/glasses/image_generation.py34logger = logging.getLogger(__name__)CODE
LOW…a4commerce/workflows/image_vto/glasses/glasses_eval.py28logger = logging.getLogger(__name__)CODE
LOW…media4commerce/workflows/image_vto/glasses/pipeline.py40logger = logging.getLogger(__name__)CODE
LOW…rkflows/other/background_changer/background_changer.py37logger = logging.getLogger(__name__)CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py46logger = logging.getLogger(__name__)CODE
LOW…erce/genmedia4commerce/workflows/shared/person_eval.py35logger = logging.getLogger(__name__)CODE
LOW…erce/genmedia4commerce/workflows/shared/nano_banana.py37logger = logging.getLogger(__name__)CODE
LOW…ce/genmedia4commerce/workflows/shared/vector_search.py38logger = logging.getLogger(__name__)CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py33logger = logging.getLogger(__name__)CODE
LOW…mmerce/genmedia4commerce/workflows/shared/gcs_utils.py28logger = logging.getLogger(__name__)CODE
LOW…erce/genmedia4commerce/workflows/shared/debug_utils.py28logger = logging.getLogger(__name__)CODE
LOW…ows/product_enrichment/product_fitting/garment_eval.py27logger = logging.getLogger(__name__)CODE
LOW…s/product_enrichment/product_fitting/video_pipeline.py39logger = logging.getLogger(__name__)CODE
LOW…flows/product_enrichment/product_fitting/generation.py27logger = logging.getLogger(__name__)CODE
LOW…s/product_enrichment/product_fitting/classification.py24logger = logging.getLogger(__name__)CODE
LOW…rkflows/product_enrichment/product_fitting/pipeline.py52logger = logging.getLogger(__name__)CODE
LOW…nmedia4commerce/agents/style_advisor_agent/__init__.py19__all__ = ["app"]CODE
LOW…/genmedia4commerce/agents/style_advisor_agent/agent.py43logger = logging.getLogger(__name__)CODE
LOW…enmedia4commerce/mcp_server/video_vto/video_vto_mcp.py22logger = logging.getLogger(__name__)CODE
LOW…a4commerce/mcp_server/video_vto/clothes/clothes_mcp.py25logger = logging.getLogger(__name__)CODE
LOW…a4commerce/mcp_server/video_vto/clothes/clothes_api.py27logger = logging.getLogger(__name__)CODE
LOW…a4commerce/mcp_server/video_vto/glasses/glasses_api.py37logger = logging.getLogger(__name__)CODE
LOW…a4commerce/mcp_server/video_vto/glasses/glasses_mcp.py27logger = logging.getLogger(__name__)CODE
LOW…/genmedia4commerce/mcp_server/spinning/spinning_mcp.py22logger = logging.getLogger(__name__)CODE
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_api.py40logger = logging.getLogger(__name__)CODE
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py37logger = logging.getLogger(__name__)CODE
LOW…ia4commerce/mcp_server/spinning/r2v/shoes/shoes_api.py42logger = logging.getLogger(__name__)CODE
LOW…ia4commerce/mcp_server/spinning/r2v/shoes/shoes_mcp.py25logger = logging.getLogger(__name__)CODE
LOW…e/mcp_server/spinning/interpolation/other/other_api.py39logger = logging.getLogger(__name__)CODE
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py35logger = logging.getLogger(__name__)CODE
LOW…enmedia4commerce/mcp_server/image_vto/image_vto_mcp.py22logger = logging.getLogger(__name__)CODE
LOW…a4commerce/mcp_server/image_vto/clothes/clothes_mcp.py22logger = logging.getLogger(__name__)CODE
LOW…a4commerce/mcp_server/image_vto/clothes/clothes_api.py24logger = logging.getLogger(__name__)CODE
358 more matches not shown…
Cross-Language Confusion52 hits · 306 pts
SeverityFileLineSnippetContext
HIGHtools/tests/test_validate_structure.py352 assert lock.how == "cd core/foo && uv lock"CODE
HIGH…s/spinning/r2v/shoes/product_consistency_validation.py109 frame_labels: List of labels (can contain None/null)STRING
HIGH…/tests/smoke/backend/llm/test_agent_attacks_blocked.py94 out = await active_env.execute(f"cat {rel} 2>/dev/null || echo __MISSING__")CODE
HIGH…/tests/smoke/backend/llm/test_agent_attacks_blocked.py108 f"(it is a normal git server): `git init -q && git add -A && "CODE
HIGH…on/long-horizon-harness/tests/unit/test_exfil_guard.py106 assert ev("terminal", command="ls -la && echo hi") is NoneCODE
HIGH…on/long-horizon-harness/tests/unit/test_exfil_guard.py348 assert ev("terminal", command="git status && git log -1") is NoneCODE
HIGH…ss/tests/unit/tools/processes/test_terminal_wrapper.py16parameter space. No ``cwd`` (use ``cd dir && cmd``), noSTRING
HIGH…ss/tests/unit/tools/processes/test_terminal_wrapper.py106 """Minimal parameter space: no cwd. Use `cd dir && cmd`."""STRING
HIGH…ss/tests/unit/tools/processes/test_terminal_wrapper.py125 command="cd sub && cat marker.txt", tool_context=_ctx()CODE
HIGH…harness/tests/unit/guardrails/test_command_classify.py46 ("ls && bq rm x", ["ls", "bq rm x"]),CODE
HIGH…harness/tests/unit/guardrails/test_command_classify.py48 ("x; y || z", ["x", "y", "z"]),CODE
HIGH…harness/tests/unit/guardrails/test_command_classify.py52 ("a && b", ["a", "b"]), # && still splits to 2, not on the inner &CODE
HIGH…harness/tests/unit/guardrails/test_command_classify.py58 ("echo 'a && b'", ["echo 'a && b'"]),CODE
HIGH…harness/tests/unit/guardrails/test_permission_guard.py186 "cd /workspace/proj 2>/dev/null && find . -iname '*.py' 2>/dev/null | head; "CODE
HIGH…harness/tests/unit/guardrails/test_permission_guard.py187 "grep -r foo . 2>/dev/null | head; ls -d out/* 2>/dev/null; "CODE
HIGH…harness/tests/unit/guardrails/test_permission_guard.py204 args={"command": "cd /tmp && rm -rf ."},CODE
HIGH…harness/tests/unit/guardrails/test_permission_guard.py313 args={"command": "ls && bq rm x"},CODE
HIGH…harness/tests/unit/guardrails/test_permission_guard.py349 args={"command": "bq rm a && bq rm b"},CODE
HIGH…n-harness/tests/unit/guardrails/test_command_safety.py36 assert segments("ls && rm -rf /") == [["ls"], ["rm", "-rf", "/"]]CODE
HIGH…n-harness/tests/unit/guardrails/test_command_safety.py363 "echo hi && bash deploy.sh", # && is a conjunction, not a pipeCODE
HIGH…n-harness/tests/unit/guardrails/test_command_safety.py364 "ls && python3 foo.py",CODE
HIGH…harness/tests/integration/test_background_lifecycle.py75 command="sleep 3 && echo done",CODE
HIGH…ng-horizon-harness/horizon/tools/processes/terminal.py16``bash(command, timeout_s)``. No ``cwd`` (use ``cd dir && cmd``), noSTRING
HIGH…ng-horizon-harness/horizon/tools/processes/terminal.py49 — drive it via `process`. Use `cd dir && cmd` for another directory,STRING
HIGH…horizon-harness/horizon/guardrails/command_classify.py18commands so a benign segment can't smuggle a gated one (``ls && bq rm``).STRING
HIGH…rizon-harness/scripts/probes/probe_sandbox_snapshot.py209 restored_env, "test -L ~/.local/bin/probe-link && echo symlink"CODE
HIGH…s/spinning/r2v/shoes/product_consistency_validation.py107 frame_labels: List of labels (can contain None/null)STRING
HIGH…and-aligned-presentations/presentation_agent/prompt.py103 * **Visual:** [The visual prompt, or "null" if null]COMMENT
HIGH…ons/presentation_agent/sub_agents/synthesizer/agent.py271 # We prioritize the writer's decision. If it says null, there is NO visual.COMMENT
HIGH…ns/presentation_agent/sub_agents/synthesizer/prompt.py47 - * If the slide HAS a visual (visual_prompt is NOT null): Aim for 3-4 bullets. The visual will carry some of thCODE
HIGH…ns/presentation_agent/sub_agents/synthesizer/prompt.py49 - If this slide HAS a visual (`visual_prompt` is NOT null): Aim for 3-4 concise bullets (10-20 words each) tCODE
HIGH…financial_advisor/sub_agents/trading_analyst/prompt.py44Condition: If the market_data_analysis_output state key is empty, null, or otherwise indicates that the data is not avaiCODE
HIGH…rag/data_ingestion_pipeline/preprocess_service/main.py142 On failure, error is non-null; text is "" and relevant is False soSTRING
HIGH…oice-processing/invoice_processing/core/rule_writer.py302 val_display = "(null)"CODE
HIGH…/invoice-processing/invoice_processing/core/prompts.py41is_true - Boolean true check (value must be null)CODE
HIGH…/invoice-processing/invoice_processing/core/prompts.py42is_false - Boolean false check (value must be null)CODE
HIGH…/invoice-processing/invoice_processing/core/prompts.py111 {"field": "has_waf", "operator": "is_false", "value": null}CODE
HIGH…/invoice-processing/invoice_processing/core/prompts.py116 {"field": "invoice._tax_id_validation.valid", "operator": "is_false", "value": null}CODE
HIGH…ssing/shared_libraries/acting/general_invoice_agent.py855 "quantity": decimal or null,CODE
HIGH…ssing/shared_libraries/acting/general_invoice_agent.py856 "unit_price": decimal or null,CODE
HIGH…ssing/shared_libraries/acting/general_invoice_agent.py879 "authorized_hours": decimal or null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py2867 "checksum_passed": true/false/null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py2869 "reextraction_succeeded": true/false/null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py2871 "hamming_distance": number/null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py3145 "bypass_valid": true/false/null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py3148 "hours_within_tolerance": true/false/null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py3149 "hours_within_investigator_tolerance": true/false/null,CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py951 - Array of {{"category": "...", "description": "...", "severity": "CRITICAL"|"HIGH"|"MEDIUM"|null, "affected_rules": CODE
HIGH…d_libraries/investigation/investigate_agent_reconst.py3019 "names_semantically_similar": true/false/null,CODE
HIGH…financial_advisor/sub_agents/trading_analyst/prompt.py44Condition: If the market_data_analysis_output state key is empty, null, or otherwise indicates that the data is not avaiCODE
HIGHcontrib/python/staged-ui-widgets/app/prompt.py71If a tool returns "widget": null, nothing was shown and no contract blockCODE
HIGH.github/scripts/check_lockfile_hashes.py228 " cd <recipe-dir> && rm uv.lock && uv lock"CODE
Deep Nesting298 hits · 270 pts
SeverityFileLineSnippetContext
LOWtools/validate_manifest.py344CODE
LOWtools/validate_manifest.py562CODE
LOWtools/validate.py97CODE
LOWtools/validate_structure.py659CODE
LOWtools/validate_structure.py707CODE
LOWtools/tests/test_ci_message.py252CODE
LOWtools/tests/test_ci_message.py315CODE
LOW…-for-commerce/infra/model_training/eval_gemini_lora.py215CODE
LOW…ia-for-commerce/genmedia4commerce/agent_debug_utils.py36CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py199CODE
LOW…genmedia-for-commerce/genmedia4commerce/agent_utils.py210CODE
LOW…on/genmedia-for-commerce/genmedia4commerce/chat_api.py66CODE
LOW…ython/genmedia-for-commerce/genmedia4commerce/agent.py79CODE
LOW…ython/genmedia-for-commerce/genmedia4commerce/agent.py252CODE
LOW…ython/genmedia-for-commerce/genmedia4commerce/agent.py306CODE
LOW…ython/genmedia-for-commerce/genmedia4commerce/agent.py474CODE
LOW…rce/workflows/video_vto/clothes/generate_video_util.py111CODE
LOW…erce/workflows/spinning/glasses_rotation_classifier.py43CODE
LOW…dia4commerce/workflows/spinning/rotation_classifier.py257CODE
LOW…dia4commerce/workflows/spinning/rotation_classifier.py430CODE
LOW…mmerce/workflows/spinning/r2v/other/image_selection.py41CODE
LOW…mmerce/workflows/spinning/r2v/other/image_selection.py153CODE
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py63CODE
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py302CODE
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py523CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py63CODE
LOW…4commerce/workflows/spinning/r2v/shoes/images_utils.py307CODE
LOW…media4commerce/workflows/image_vto/clothes/pipeline.py141CODE
LOW…media4commerce/workflows/image_vto/glasses/pipeline.py129CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py45CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py176CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py67CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py69CODE
LOW…mmerce/genmedia4commerce/workflows/shared/gcs_utils.py217CODE
LOW…mmerce/genmedia4commerce/workflows/shared/gcs_utils.py393CODE
LOW…s/product_enrichment/product_fitting/video_pipeline.py194CODE
LOW…flows/product_enrichment/product_fitting/generation.py30CODE
LOW…s/product_enrichment/product_fitting/classification.py37CODE
LOW…s/product_enrichment/product_fitting/classification.py158CODE
LOW…/genmedia4commerce/agents/style_advisor_agent/agent.py63CODE
LOW…/genmedia4commerce/agents/style_advisor_agent/agent.py180CODE
LOW…/genmedia4commerce/agents/style_advisor_agent/agent.py288CODE
LOW…/genmedia4commerce/agents/style_advisor_agent/agent.py188CODE
LOW…a4commerce/mcp_server/video_vto/clothes/clothes_api.py36CODE
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_api.py77CODE
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_api.py174CODE
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_api.py236CODE
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py54CODE
LOW…ia4commerce/mcp_server/spinning/r2v/shoes/shoes_api.py86CODE
LOW…e/mcp_server/spinning/interpolation/other/other_api.py75CODE
LOW…e/mcp_server/spinning/interpolation/other/other_api.py158CODE
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py52CODE
LOW…a4commerce/mcp_server/image_vto/clothes/clothes_api.py33CODE
LOW…ver/other/background_changer/background_changer_api.py51CODE
LOW…ver/other/background_changer/background_changer_api.py80CODE
LOW…hon/genmedia-for-commerce/tests/load_test/load_test.py39CODE
LOW…python/oauth-user-consent-flow/tools/register_oauth.py37CODE
LOWcore/python/oauth-user-consent-flow/app/tools.py34CODE
LOWcore/python/oauth-user-consent-flow/app/tools.py117CODE
LOWcore/python/ambient-expense-agent/frontend/main.py77CODE
238 more matches not shown…
Structural Annotation Overuse158 hits · 268 pts
SeverityFileLineSnippetContext
LOWgo/agents/llm-auditor/critic/critic.go37## Step 1: Identify the CLAIMSCOMMENT
LOWgo/agents/llm-auditor/critic/critic.go41## Step 2: Verify each CLAIMCOMMENT
LOWgo/agents/llm-auditor/critic/critic.go55## Step 3: Provide an overall assessmentCOMMENT
LOWcore/python/genmedia-for-commerce/README.md43### Step 1: Get the CodeCOMMENT
LOWcore/python/genmedia-for-commerce/README.md69### Step 2: Configure EnvironmentCOMMENT
LOWcore/python/genmedia-for-commerce/README.md80### Step 3: Install DependenciesCOMMENT
LOWcore/python/genmedia-for-commerce/README.md86### Step 4: Authenticate with Google CloudCOMMENT
LOWcore/python/genmedia-for-commerce/README.md93### Step 5: Infrastructure SetupCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py333 # Step 1: Image VTOCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py386 # Step 2: Delegate to run_animate_model for video generationCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py124 # Step 1: Detect rotation using optical flowCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py141 # Step 2: Apply V3f classification rulesCOMMENT
LOW…s/spinning/r2v/shoes/product_consistency_validation.py620 # Step 1: Extract all frames and get only the sampled ones using indicesSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py630 # Step 2: Forward-fill labels if requestedSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py639 # Step 3: Match frames to referencesSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py677 # Step 5: Evaluate ALL views in a SINGLE API callSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py692 # Step 6: Compute validation summarySTRING
LOW…commerce/workflows/image_vto/clothes/vto_generation.py59 # Step 1: Crop face (with generous padding for hair)COMMENT
LOW…commerce/workflows/image_vto/clothes/vto_generation.py69 # Step 2: Upscale (best-effort — skip if API fails)COMMENT
LOW…commerce/workflows/image_vto/clothes/vto_generation.py86 # Step 3: Remove background (for generation input, best-effort)COMMENT
LOW…r-commerce/genmedia4commerce/workflows/other/README.md123# Step 1: Preprocess imagesCOMMENT
LOW…r-commerce/genmedia4commerce/workflows/other/README.md130# Step 2: Generate transitions between consecutive framesCOMMENT
LOW…r-commerce/genmedia4commerce/workflows/other/README.md143# Step 3: Merge all transitionsCOMMENT
LOW…rkflows/other/background_changer/background_changer.py61 # Step 1: Crop face (with generous padding for hair)COMMENT
LOW…rkflows/other/background_changer/background_changer.py72 # Step 2: UpscaleCOMMENT
LOW…rkflows/other/background_changer/background_changer.py84 # Step 3: Remove background (for generation input)COMMENT
LOW…rkflows/other/background_changer/background_changer.py226 # Step 1: Initial background change generationCOMMENT
LOW…rkflows/other/background_changer/background_changer.py245 # Step 2: Face correction (if reference face is provided)COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py687 # Step 1: Classify garments (single call for all images of the same garment)COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py707 # Step 2: Determine framingCOMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py711 # Step 3: For footwear/head accessories, skip view classification — all images are candidates, select best 2COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py907 # Step 4: Generate detailed garment descriptionCOMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py91 # Step 0: Select best images if more than 4COMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py100 # Step 1: Preprocess imagesCOMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py117 # Step 2: Generate promptCOMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py130 # Step 3: Generate video with validation retriesCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py92 # Step 1: Preprocess imagesCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py105 # Step 2: Generate prompt from first two imagesCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py121 # Step 3: Generate all video segments in parallelCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py143 # Step 4: Validate each video (rotation + glitch check) in parallelCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py190 # Step 5: Merge all segmentsCOMMENT
LOWcore/python/cross-session-memory/README.md72### Step 1: Install DependenciesCOMMENT
LOWcore/python/cross-session-memory/README.md77### Step 2: Authenticate with Google CloudCOMMENT
LOWcore/python/cross-session-memory/README.md84### Step 3: Run LocallyCOMMENT
LOWcore/python/oauth-user-consent-flow/README.md204### Step 1: Deploy to Agent RuntimeCOMMENT
LOWcore/python/oauth-user-consent-flow/README.md212### Step 2: Register OAuth AuthorizationCOMMENT
LOWcore/python/oauth-user-consent-flow/README.md228### Step 3: Register Agent with Gemini EnterpriseCOMMENT
LOWcore/python/oauth-user-consent-flow/README.md247### Step 4: Verify the RegistrationCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py113 # Step 1: Submit a $250 expense — triggers review + HITL pauseCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py131 # Step 2: Frontend finds the pending approvalCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py143 # Step 3: Approve via frontendCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py173 # Step 4: No more pending approvalsCOMMENT
LOWcore/python/deep-search/README.md80#### Step 1: Clone RepositoryCOMMENT
LOWcore/python/deep-search/README.md88#### Step 2: Set Environment VariablesCOMMENT
LOWcore/python/deep-search/README.md95#### Step 3: Install & RunCOMMENT
LOWpython/agents/genmedia-for-commerce/README.md43### Step 1: Get the CodeCOMMENT
LOWpython/agents/genmedia-for-commerce/README.md69### Step 2: Configure EnvironmentCOMMENT
LOWpython/agents/genmedia-for-commerce/README.md80### Step 3: Install DependenciesCOMMENT
LOWpython/agents/genmedia-for-commerce/README.md86### Step 4: Authenticate with Google CloudCOMMENT
LOWpython/agents/genmedia-for-commerce/README.md93### Step 5: Infrastructure SetupCOMMENT
98 more matches not shown…
Self-Referential Comments77 hits · 243 pts
SeverityFileLineSnippetContext
MEDIUM…on/genmedia-for-commerce/genmedia4commerce/chat_api.py49# Create a runner for the style advisor agentCOMMENT
MEDIUM…on/genmedia-for-commerce/genmedia4commerce/chat_api.py68 # Create the session if it doesn't existCOMMENT
MEDIUM…enmedia-for-commerce/genmedia4commerce/fast_api_app.py260 # Create a tiny 1x1 white PNG to probe the APICOMMENT
MEDIUM…rce/workflows/video_vto/glasses/generate_video_util.py228 # Create the final canvas and paste the imageCOMMENT
MEDIUM…rce/workflows/video_vto/glasses/generate_video_util.py270 # Create the canvas and paste the imagesCOMMENT
MEDIUM…/workflows/spinning/r2v/shoes/shoe_images_selection.py54 # Create a white backgroundCOMMENT
MEDIUM…/workflows/spinning/r2v/shoes/shoe_images_selection.py134 # Create a dict for quick lookupCOMMENT
MEDIUM…ia-for-commerce/tests/unit/test_mcp_product_fitting.py106 # Create a tiny valid base64 image (1x1 white pixel PNG)COMMENT
MEDIUM…orkflows/video_vto/clothes/test_generate_video_util.py106 # Create a small face image to return from crop_faceCOMMENT
MEDIUM…ests/workflows/spinning/r2v/shoes/test_images_utils.py43 # Create a white frameCOMMENT
MEDIUM…nning/r2v/shoes/test_product_consistency_validation.py108 # Create a larger imageCOMMENT
MEDIUM…kflows/spinning/r2v/shoes/test_split_multiple_shoes.py159 # Create a mask with one blobCOMMENT
MEDIUM…kflows/spinning/r2v/shoes/test_split_multiple_shoes.py230 # Create a 100x100 red imageCOMMENT
MEDIUM…kflows/spinning/r2v/shoes/test_split_multiple_shoes.py233 # Create a mask that only shows the centerCOMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_nano_banana.py366 # Create a larger imageCOMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_image_utils.py357 # Create a large image (2000x2000 = 4M pixels)COMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_image_utils.py289 # Create a larger version of the image (simulating upscale)COMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_image_utils.py396 # Create a mock mask (white center, black edges)COMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_video_utils.py157 # Create a slightly different redCOMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_video_utils.py221 # Create a video firstCOMMENT
MEDIUM…-for-commerce/tests/workflows/shared/test_veo_utils.py135 # Create a different end frameCOMMENT
MEDIUM…on/ambient-expense-agent/terraform/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUM…python/ambient-expense-agent/tests/test_integration.py57 # Create a shared backend transport for the frontend's httpx callsCOMMENT
MEDIUM…ion/data_ingestion_pipeline/components/process_data.py251 # Create a column containing the whole markdown textCOMMENT
MEDIUMcore/python/safety-plugins/safety_plugins/main.py35# Define the command-line flag using absl.flags.COMMENT
MEDIUM…ion/data_ingestion_pipeline/components/process_data.py251 # Create a column containing the whole markdown textCOMMENT
MEDIUM…ts/genmedia-for-commerce/genmedia4commerce/chat_api.py48# Create a runner for the style advisor agentCOMMENT
MEDIUM…ts/genmedia-for-commerce/genmedia4commerce/chat_api.py67 # Create the session if it doesn't existCOMMENT
MEDIUM…enmedia-for-commerce/genmedia4commerce/fast_api_app.py232 # Create a tiny 1x1 white PNG to probe the APICOMMENT
MEDIUM…rce/workflows/video_vto/glasses/generate_video_util.py216 # Create the final canvas and paste the imageCOMMENT
MEDIUM…rce/workflows/video_vto/glasses/generate_video_util.py252 # Create the canvas and paste the imagesCOMMENT
MEDIUM…/workflows/spinning/r2v/shoes/shoe_images_selection.py54 # Create a white backgroundCOMMENT
MEDIUM…/workflows/spinning/r2v/shoes/shoe_images_selection.py134 # Create a dict for quick lookupCOMMENT
MEDIUM…ia-for-commerce/tests/unit/test_mcp_product_fitting.py89 # Create a tiny valid base64 image (1x1 white pixel PNG)COMMENT
MEDIUM…orkflows/video_vto/clothes/test_generate_video_util.py105 # Create a small face image to return from crop_faceCOMMENT
MEDIUM…ests/workflows/spinning/r2v/shoes/test_images_utils.py42 # Create a white frameCOMMENT
MEDIUM…nning/r2v/shoes/test_product_consistency_validation.py109 # Create a larger imageCOMMENT
MEDIUM…kflows/spinning/r2v/shoes/test_split_multiple_shoes.py156 # Create a mask with one blobCOMMENT
MEDIUM…kflows/spinning/r2v/shoes/test_split_multiple_shoes.py227 # Create a 100x100 red imageCOMMENT
MEDIUM…kflows/spinning/r2v/shoes/test_split_multiple_shoes.py230 # Create a mask that only shows the centerCOMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_nano_banana.py332 # Create a larger imageCOMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_image_utils.py345 # Create a large image (2000x2000 = 4M pixels)COMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_image_utils.py285 # Create a larger version of the image (simulating upscale)COMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_image_utils.py382 # Create a mock mask (white center, black edges)COMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_video_utils.py148 # Create a slightly different redCOMMENT
MEDIUM…or-commerce/tests/workflows/shared/test_video_utils.py210 # Create a video firstCOMMENT
MEDIUM…-for-commerce/tests/workflows/shared/test_veo_utils.py128 # Create a different end frameCOMMENT
MEDIUM…omic-research-agent/tests/unit/test_economic_skills.py46 # Create a real pandas series mockCOMMENT
MEDIUM…esentations/presentation_agent/tools/artifact_utils.py116 # Create a unique local file in the system's temp directoryCOMMENT
MEDIUM…entations/presentation_agent/tools/visual_generator.py104 # Create a unique name for the image fileCOMMENT
MEDIUM…esentations/presentation_agent/sub_agents/rag/agent.py45# Create the final tool that the main agent will useCOMMENT
MEDIUM…ons/presentation_agent/sub_agents/synthesizer/agent.py386# Create the tools to expose to the OrchestratorCOMMENT
MEDIUM…t/sub_agents/deep_research/tools/deep_research_tool.py185# Create the FunctionTool wrapperCOMMENT
MEDIUM…-presentations/tests/test_presentation_orchestrator.py55 # Create a sample DeckSpecCOMMENT
MEDIUMpython/agents/data-science/infra/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMpython/agents/data-science/data_science/agent.py63# Create the OTLP span exporter with endpoint and headersCOMMENT
MEDIUMpython/agents/data-science/data_science/agent.py69# Create a tracer provider and add the exporterCOMMENT
MEDIUM…nts/data-science/data_science/utils/create_bq_table.py22# Define the path to the .env fileCOMMENT
MEDIUM…nts/data-science/data_science/utils/create_bq_table.py104 # Create the dataset if it doesn't existCOMMENT
MEDIUM…data-science/data_science/utils/reference_guide_RAG.py22# Define the path to the .env fileCOMMENT
17 more matches not shown…
Modern AI Meta-Vocabulary61 hits · 184 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml141# Never descend into skill template payloads or virtualenvs. The scaffoldCOMMENT
MEDIUMtools/validate_readme.py172 # No TODO: placeholders — catches unfilled scaffold or draft text.COMMENT
MEDIUMtools/validate_structure.py758# Per-recipe orchestrationCOMMENT
MEDIUMtools/tests/test_validate_structure.py577# validate_recipe (end-to-end orchestration on a fake tree)COMMENT
MEDIUMtools/tests/test_validate_structure.py979 # created by the scaffold — see the comment above required_dirs inCOMMENT
MEDIUM…enmedia4commerce/workflows/video_vto/glasses/README.md13├── pipeline.py # Video generation and regeneration orchestrationCODE
MEDIUM…nmedia4commerce/workflows/spinning/r2v/shoes/README.md21├── pipeline.py # Main R2V pipeline orchestrationCODE
MEDIUM…workflows/product_enrichment/product_fitting/README.md31├── pipeline.py # Main pipeline orchestration (classify, generate, evaluate, fix)CODE
MEDIUMcore/python/rag-vector-search/README.md1# RAG Agent — Agent Platform Vector SearchCOMMENT
MEDIUMcore/python/rag-vector-search/AGENTS.md1# RAG Agent — Vector SearchCOMMENT
MEDIUMcore/python/rag-vector-search/data_ingestion/README.md52## Testing Your RAG ApplicationCOMMENT
MEDIUMcore/python/deep-search/README.md47Use the [Google Agents CLI](https://github.com/google/agents-cli) to scaffold a production-ready project and choose yourCODE
MEDIUMcore/python/deep-search/AGENTS.md60### Backend — the multi-agent orchestration (the bulk of the logic; read first)COMMENT
MEDIUMcore/python/deep-search/AGENTS.md60### Backend — the multi-agent orchestration (the bulk of the logic; read first)COMMENT
MEDIUM…s/tests/eval/evalsets/compression_quality.evalset.json139 "text": "### Compressed history (summary unavailable):\n[CONTEXT COMPACTION] Earlier turns were dropped CODE
MEDIUMcore/python/long-horizon-harness/docs/extending.md224### `guardrails/` — tool guardrailsCOMMENT
MEDIUM…on/long-horizon-harness/horizon/tools/skill_toolset.py197 # paths so the guard fires even when the model hallucinates aCOMMENT
MEDIUM…long-horizon-harness/horizon/conversation/reminders.py54# Handoff flags owned by the two halt consumers (guardrails + budget). Held asCOMMENT
MEDIUM…long-horizon-harness/horizon/conversation/reminders.py56# horizon/guardrails/halt_consumer.py and horizon/conversation/iteration_budget_plugin.py.COMMENT
MEDIUMcore/python/rag-agent-search/README.md1# RAG Agent — Agent Platform SearchCOMMENT
MEDIUMcore/python/rag-agent-search/AGENTS.md1# RAG Agent — Agent Platform SearchCOMMENT
MEDIUMcore/rag-vector-search/README.md1# RAG Agent — Agent Platform Vector SearchCOMMENT
MEDIUMcore/rag-vector-search/AGENTS.md1# RAG Agent — Vector SearchCOMMENT
MEDIUMcore/rag-vector-search/data_ingestion/README.md52## Testing Your RAG ApplicationCOMMENT
MEDIUMcore/rag-agent-search/README.md1# RAG Agent — Agent Platform SearchCOMMENT
MEDIUMcore/rag-agent-search/AGENTS.md1# RAG Agent — Agent Platform SearchCOMMENT
MEDIUM…enmedia4commerce/workflows/video_vto/glasses/README.md13├── pipeline.py # Video generation and regeneration orchestrationCODE
MEDIUM…nmedia4commerce/workflows/spinning/r2v/shoes/README.md21├── pipeline.py # Main R2V pipeline orchestrationCODE
MEDIUM…workflows/product_enrichment/product_fitting/README.md31├── pipeline.py # Main pipeline orchestration (classify, generate, evaluate, fix)CODE
MEDIUM…search-agent/tests/unit/test_routing_and_primitives.py42 # 3. judge_runner.run: "Audit: No hallucinations found. PASSED."COMMENT
MEDIUMpython/agents/brand-aligned-presentations/README.md71│ ├── sub_agents/ # Specialist agents (Deep Research, Synthesis, RAG)CODE
MEDIUM…rand-aligned-presentations/presentation_agent/agent.py82 # 2. Conditionally add RAG (Internal Search)COMMENT
MEDIUM…esentations/presentation_agent/sub_agents/rag/agent.py29# 1. Instantiate the RAG toolCOMMENT
MEDIUM…agents/brand-aligned-presentations/tests/test_tools.py29 # Even if we misspell or hallucinate slightly, it should find itCOMMENT
MEDIUM…data-science/data_science/utils/reference_guide_RAG.py45 # Configure embedding model, for example "text-embedding-005".COMMENT
MEDIUMpython/agents/image-scoring/README.md46Use the [Google Agents CLI](https://github.com/google/agents-cli) to scaffold a production-ready project and choose yourCODE
MEDIUMpython/agents/customer-service/README.md99Use the [Google Agents CLI](https://github.com/google/agents-cli) to scaffold a production-ready project and choose yourCODE
MEDIUMpython/agents/software-bug-assistant/README.md14The [Google Agents CLI](https://github.com/google/agents-cli) is the **recommended** way to scaffold a deployable copy oCODE
MEDIUMpython/agents/on-brand-genmedia/README.md216### 🔍 Advanced Retrieval & RAG ExtensionsCOMMENT
MEDIUMpython/agents/multiformat-hybrid-rag/README.md1# RAG TemplateCOMMENT
MEDIUM…format-hybrid-rag/infra/terraform/dev/vector_search.tf2# RAG documents bucket — name sourced from config.env GCS_BUCKETCOMMENT
MEDIUM…format-hybrid-rag/infra/terraform/dev/vector_search.tf14# This keeps the schema (fields, dims, text_template, embedding model) inCOMMENT
MEDIUM…multiformat-hybrid-rag/infra/terraform/dev/bigquery.tf1# BigQuery resources for the RAG pipeline.COMMENT
MEDIUM…multiformat-hybrid-rag/infra/terraform/dev/bigquery.tf35# Grant the connection's auto-provisioned SA read access to the RAG bucketCOMMENT
MEDIUM…ltiformat-hybrid-rag/data_ingestion_pipeline/README.md46## Testing Your RAG ApplicationCOMMENT
MEDIUM…ag/data_ingestion_pipeline/chunk_index_service/main.py194 # build a per-chunk context window. Walk forward from `cursor` soCOMMENT
MEDIUMpython/agents/deep-search/README.md49Use the [Google Agents CLI](https://github.com/google/agents-cli) to scaffold a production-ready project and choose yourCODE
MEDIUM…ke-python-recipe-deployable/scripts/make_deployable.py1738# acli_version No agents-cli scaffold produced this recipe, so there is noCOMMENT
MEDIUM…ke-python-recipe-deployable/scripts/make_deployable.py1743# print "Upgrade the project: agents-cli scaffold upgrade" forCOMMENT
MEDIUM…ke-python-recipe-deployable/scripts/make_deployable.py1754# agents-cli scaffold. `acli_version`, `generated_at` and `base_template` areCOMMENT
MEDIUM…ke-python-recipe-deployable/scripts/make_deployable.py1755# deliberately omitted rather than invented: no scaffold produced this recipe,COMMENT
MEDIUM…ke-python-recipe-deployable/scripts/make_deployable.py1756# and a fabricated version makes agents-cli offer a `scaffold upgrade` thatCOMMENT
MEDIUM…n-environment-variables/tests/test_extract_env_vars.py2528 # (empty scaffold, or someone deleted the source). Skill mustCOMMENT
MEDIUM…ents/skills/scaffold-python-recipe/scripts/scaffold.py77# Locations the CLI will scaffold into. `contrib` (flat) stays acceptedCOMMENT
MEDIUM…ents/skills/scaffold-python-recipe/scripts/scaffold.py84# better than scaffolding a recipe-shaped tree into a skills path.COMMENT
MEDIUM…ents/skills/scaffold-python-recipe/scripts/scaffold.py197 # invocation can't scaffold outside the repo (e.g. --output-dirCOMMENT
MEDIUMdocs/recipe-handbook/skills-catalog.md98### `scaffold-python-recipe`COMMENT
MEDIUM.github/policy.yml303# They remain the convention, and the skills scaffold template stillCOMMENT
MEDIUM.github/policy.yml304# creates them — prompting an author to fill a folder is the scaffold'sCOMMENT
MEDIUM.github/policy.yml625 # one makes the CLI nag the owner to run `agents-cli scaffold upgrade` on aCOMMENT
1 more matches not shown…
Verbosity Indicators103 hits · 161 pts
SeverityFileLineSnippetContext
LOWgo/agents/llm-auditor/critic/critic.go37## Step 1: Identify the CLAIMSCOMMENT
LOWgo/agents/llm-auditor/critic/critic.go41## Step 2: Verify each CLAIMCOMMENT
LOWgo/agents/llm-auditor/critic/critic.go55## Step 3: Provide an overall assessmentCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py333 # Step 1: Image VTOCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py386 # Step 2: Delegate to run_animate_model for video generationCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py124 # Step 1: Detect rotation using optical flowCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py141 # Step 2: Apply V3f classification rulesCOMMENT
LOW…s/spinning/r2v/shoes/product_consistency_validation.py620 # Step 1: Extract all frames and get only the sampled ones using indicesSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py630 # Step 2: Forward-fill labels if requestedSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py639 # Step 3: Match frames to referencesSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py654 # Step 4: (Optional) Use SSIM to select best matches + offsetsSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py677 # Step 5: Evaluate ALL views in a SINGLE API callSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py692 # Step 6: Compute validation summarySTRING
LOW…commerce/workflows/image_vto/clothes/vto_generation.py59 # Step 1: Crop face (with generous padding for hair)COMMENT
LOW…commerce/workflows/image_vto/clothes/vto_generation.py69 # Step 2: Upscale (best-effort — skip if API fails)COMMENT
LOW…commerce/workflows/image_vto/clothes/vto_generation.py86 # Step 3: Remove background (for generation input, best-effort)COMMENT
LOW…rkflows/other/background_changer/background_changer.py61 # Step 1: Crop face (with generous padding for hair)COMMENT
LOW…rkflows/other/background_changer/background_changer.py72 # Step 2: UpscaleCOMMENT
LOW…rkflows/other/background_changer/background_changer.py84 # Step 3: Remove background (for generation input)COMMENT
LOW…rkflows/other/background_changer/background_changer.py226 # Step 1: Initial background change generationCOMMENT
LOW…rkflows/other/background_changer/background_changer.py245 # Step 2: Face correction (if reference face is provided)COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py687 # Step 1: Classify garments (single call for all images of the same garment)COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py707 # Step 2: Determine framingCOMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py711 # Step 3: For footwear/head accessories, skip view classification — all images are candidates, select best 2COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py907 # Step 4: Generate detailed garment descriptionCOMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py91 # Step 0: Select best images if more than 4COMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py100 # Step 1: Preprocess imagesCOMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py117 # Step 2: Generate promptCOMMENT
LOW…ia4commerce/mcp_server/spinning/r2v/other/other_mcp.py130 # Step 3: Generate video with validation retriesCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py92 # Step 1: Preprocess imagesCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py105 # Step 2: Generate prompt from first two imagesCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py121 # Step 3: Generate all video segments in parallelCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py143 # Step 4: Validate each video (rotation + glitch check) in parallelCOMMENT
LOW…e/mcp_server/spinning/interpolation/other/other_mcp.py190 # Step 5: Merge all segmentsCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py113 # Step 1: Submit a $250 expense — triggers review + HITL pauseCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py131 # Step 2: Frontend finds the pending approvalCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py143 # Step 3: Approve via frontendCOMMENT
LOW…python/ambient-expense-agent/tests/test_integration.py173 # Step 4: No more pending approvalsCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py325 # Step 1: Image VTOCOMMENT
LOW…media4commerce/workflows/video_vto/clothes/pipeline.py374 # Step 2: Delegate to run_animate_model for video generationCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py124 # Step 1: Detect rotation using optical flowCOMMENT
LOW…dia4commerce/workflows/spinning/rotation_classifier.py141 # Step 2: Apply V3f classification rulesCOMMENT
LOW…s/spinning/r2v/shoes/product_consistency_validation.py605 # Step 1: Extract all frames and get only the sampled ones using indicesSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py615 # Step 2: Forward-fill labels if requestedSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py624 # Step 3: Match frames to referencesSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py639 # Step 4: (Optional) Use SSIM to select best matches + offsetsSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py660 # Step 5: Evaluate ALL views in a SINGLE API callSTRING
LOW…s/spinning/r2v/shoes/product_consistency_validation.py675 # Step 6: Compute validation summarySTRING
LOW…commerce/workflows/image_vto/clothes/vto_generation.py59 # Step 1: Crop face (with generous padding for hair)COMMENT
LOW…commerce/workflows/image_vto/clothes/vto_generation.py69 # Step 2: Upscale (best-effort — skip if API fails)COMMENT
LOW…commerce/workflows/image_vto/clothes/vto_generation.py82 # Step 3: Remove background (for generation input, best-effort)COMMENT
LOW…rkflows/other/background_changer/background_changer.py60 # Step 1: Crop face (with generous padding for hair)COMMENT
LOW…rkflows/other/background_changer/background_changer.py69 # Step 2: UpscaleCOMMENT
LOW…rkflows/other/background_changer/background_changer.py79 # Step 3: Remove background (for generation input)COMMENT
LOW…rkflows/other/background_changer/background_changer.py213 # Step 1: Initial background change generationCOMMENT
LOW…rkflows/other/background_changer/background_changer.py228 # Step 2: Face correction (if reference face is provided)COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py651 # Step 1: Classify garments (single call for all images of the same garment)COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py669 # Step 2: Determine framingCOMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py673 # Step 3: For footwear/head accessories, skip view classification — all images are candidates, select best 2COMMENT
LOW…rkflows/product_enrichment/product_fitting/pipeline.py858 # Step 4: Generate detailed garment descriptionCOMMENT
43 more matches not shown…
Docstring Block Structure20 hits · 100 pts
SeverityFileLineSnippetContext
HIGH…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py489Reference-to-Video (R2V) pipeline that generates a single spinning video using reference images. This function: STRING
HIGH…ws/spinning/interpolation/other/interpolation_utils.py148Post-process a generated video by trimming to the most similar end frame. Finds the frame most similar to the targeSTRING
HIGH…erce/genmedia4commerce/workflows/shared/nano_banana.py63Generate content using Gemini image generation model. Args: client: Gemini client instance text_imaSTRING
HIGH…mmerce/genmedia4commerce/workflows/shared/llm_utils.py262Create standard configuration for Gemini content generation. Args: temperature: Temperature for generation STRING
HIGH…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py472Reference-to-Video (R2V) pipeline that generates a single spinning video using reference images. This function: STRING
HIGH…ws/spinning/interpolation/other/interpolation_utils.py147Post-process a generated video by trimming to the most similar end frame. Finds the frame most similar to the targeSTRING
HIGH…erce/genmedia4commerce/workflows/shared/nano_banana.py62Generate content using Gemini image generation model. Args: client: Gemini client instance text_imaSTRING
HIGH…mmerce/genmedia4commerce/workflows/shared/llm_utils.py259Create standard configuration for Gemini content generation. Args: temperature: Temperature for generation STRING
HIGHpython/agents/data-science/data_science/utils/utils.py32Retrieves the value of an environment variable. Args: var_name: The name of the environment variable. ReSTRING
HIGHpython/agents/data-science/deployment/deploy.py52 Checks if the staging bucket exists, creates it if not. Args: project_id: The GCP project ID. STRING
HIGH…thon/agents/fomc-research/deployment/bigquery_setup.py39Creates a new BigQuery dataset. Args: client: A BigQuery client object. dataset_id: The ID of the dSTRING
HIGH…thon/agents/fomc-research/deployment/bigquery_setup.py85Creates a new BigQuery table. Args: client: A BigQuery client object. dataset_id: The ID of the datSTRING
HIGH…siness_loan_agent/shared_libraries/request_id_utils.py25 Extract loan_request_id from text using regex. Args: text: The text to search for a loan request ID. STRING
HIGH…ybrid-rag/src/document_preprocessing/parser/convert.py40Convert a document to a target format using LibreOffice headless. Args: file_path: Path to the source file STRING
HIGH…brid-rag/src/document_preprocessing/parser/__init__.py72Parse a document file to markdown. Args: file_path: Local path to the file. genai_client: Gemini clSTRING
HIGH…oice-processing/invoice_processing/core/case_loader.py62 Load case data and build context. Args: case_id: The case folder name (numeric ID). STRING
HIGH…oice_processing/shared_libraries/master_data_loader.py273Load master data from a YAML or JSON file. Args: path: Path to master_data.yaml (or .json). If None, looks STRING
HIGHskills/retail/product-search/scripts/validate_schema.py76Load records from a CSV, JSON, or JSONL file. Args: file_path: Path to the product data file. The file typeSTRING
HIGHskills/retail/product-search/scripts/retrievers.py126Run the SKILL.md smoke-test query against the configured collection. Reads the collection path from the ``VECTOR_SESTRING
HIGHskills/retail/product-search/scripts/ingest_bigquery.py248Ensure the BigQuery dataset and table exist based on if_exists policy. Args: client: An initialized BigQuerSTRING
AI Slop Vocabulary31 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMtools/validate_manifest.py449 # (rather than an exact string) keeps this robust to wording changesCOMMENT
LOWtools/validate_structure.py819 # here we simply use whatever the manifest declares (or None) so thisCOMMENT
MEDIUM…-for-commerce/infra/model_training/eval_gemini_lora.py138 """Compute comprehensive metrics."""STRING
MEDIUM…4commerce/workflows/spinning/r2v/shoes/images_utils.py66 # Calculate median color (more robust than mean against outliers)COMMENT
MEDIUMcore/python/deep-search/app/__init__.py15"""Deep Search Agent: strategize, research, and synthesize comprehensive reports."""STRING
MEDIUMcore/python/long-horizon-harness/pyproject.toml11# external harness can install a minimal slice; this repo's own dev/test envCOMMENT
MEDIUMcore/python/long-horizon-harness/pyproject.toml12# pulls them all back via the `long-horizon-harness[full]` self-reference in [dependency-groups].COMMENT
MEDIUMcore/python/long-horizon-harness/pyproject.toml66# In-sandbox data-analysis libraries (not imported by the harness itself).COMMENT
MEDIUMcore/python/long-horizon-harness/manifest.yaml5# Full harness: sandboxed environment interface, Memory Bank self-improvement,COMMENT
MEDIUM…rizon-harness/web/lib/__tests__/horizon-events.test.ts196 // applied before the special-case match so it stays robust if that changes.COMMENT
MEDIUM…ng-horizon-harness/tests/unit/test_context_file_cap.py32 # The harness caps each context source at 20K chars.COMMENT
LOW…e/python/long-horizon-harness/tests/unit/test_smoke.py58 # var we just set survives this test only — the next test starts clean.COMMENT
MEDIUM…n/long-horizon-harness/tests/unit/models/test_retry.py15"""The root-agent and Gemini subagent backends carry a robust HTTP retry configSTRING
MEDIUMcore/python/long-horizon-harness/horizon/agent.py127# eval harness import paths).COMMENT
MEDIUM…-for-commerce/infra/model_training/eval_gemini_lora.py138 """Compute comprehensive metrics."""STRING
MEDIUM…4commerce/workflows/spinning/r2v/shoes/images_utils.py63 # Calculate median color (more robust than mean against outliers)COMMENT
MEDIUMpython/agents/marketing-agency/demo_html/script.js22 // This is a very basic example. Real form handling needs more robust JS and backend.COMMENT
MEDIUM…gent/economic_research/tools/macro_foundation_skill.py40 # Note: In production, we handle these requests with robust error handling.COMMENT
MEDIUM…nt/economic_research/tools/company_relocation_skill.py37 # The current median_hourly_wages_skill is already robust for occupation-level keywords.COMMENT
MEDIUM…ic-research-agent/economic_research/tools/bea_skill.py42 # Grounding: Clean names for robust mapping (handle 'MSA', 'TX', etc)COMMENT
MEDIUM…ntations/presentation_agent/shared_libraries/config.py91 """Initializes and returns a GCS client with robust project detection."""STRING
LOW…customer-service/customer_service/entities/customer.py122 # For this example, we'll just return a dummy customer.COMMENT
MEDIUMpython/agents/deep-search/app/__init__.py15"""Deep Search Agent: strategize, research, and synthesize comprehensive reports."""STRING
MEDIUM…python-recipe-deployable/tests/test_make_deployable.py662# long-horizon-harness ships a Dockerfile and a bespoke ~400-lineCOMMENT
MEDIUM…thon-environment-variables/scripts/extract_env_vars.py805 # lines, contain escaped quotes, or otherwise be more nuanced thanSTRING
MEDIUMcontrib/python/market-research-agent/app/prompt.py17ORCHESTRATOR_PROMPT = """You are a market research pipeline orchestrator. You coordinate specialist agents to produce a CODE
MEDIUM.github/policy.yml509 # What breaks: core/python/long-horizon-harness/README.md embedsCOMMENT
MEDIUM.github/policy.yml510 # https://raw.githubusercontent.com/google/adk-samples/assets/long-horizon-harness/horizon-demo.gifCOMMENT
MEDIUM.github/workflows/_ai-pr-review-core.yml478 # (core/python/long-horizon-harness, 816 files), and a PR touchingCOMMENT
MEDIUM.github/scripts/check_env_vars.py111 # ADK runnability-test sentinel — set by the test harness, not theCOMMENT
MEDIUMskills/retail/virtual-tryon/scripts/tryon_processor.py191 # Unified prompt structure matching best practices in genmedia-for-commerceCOMMENT
Redundant / Tautological Comments44 hits · 56 pts
SeverityFileLineSnippetContext
LOW…s/spinning/r2v/shoes/product_consistency_validation.py351 # Check if label exists in referencesCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py118 # Check if node exists in the graphCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py151 # Check if this is a valid forward transitionCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py163 # Check if this is a backward movement to a visited adjacent nodeCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py166 # Check if we can move back to this node from current positionCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py186 # Check if this could be a valid skip-ahead (going through intermediate node)COMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py355 # Check if this occurrence is far enough from the firstCOMMENT
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py569 # Check if we have enough images for video generationCOMMENT
LOW…4commerce/workflows/spinning/r2v/shoes/images_utils.py392 # Check if indices wrap around (e.g., [0, 1, 2, 47, 48, 49])COMMENT
LOW…s/product_enrichment/product_fitting/video_pipeline.py216 # Check if face is present in the reference image (use front image)COMMENT
LOW…dia-for-commerce/genmedia4commerce/app_utils/deploy.py398 # Check if an agent with this name already existsSTRING
LOWcore/python/cross-session-memory/app/fast_api_app.py65# Check if we should use in-memory session for local development (set USE_IN_MEMORY_SESSION=true)COMMENT
LOW…re/python/cross-session-memory/app/app_utils/deploy.py417 # Check if an agent with this name already existsSTRING
LOW…python/oauth-user-consent-flow/app/app_utils/deploy.py397 # Check if an agent with this name already existsSTRING
LOW…ra/terraform/scripts/setup_vector_search_collection.py51 # Check if collection already existsCOMMENT
LOW…search/infra/terraform/scripts/setup_data_connector.py101 # Check if connector already exists (singleton per collection)COMMENT
LOW…ra/terraform/scripts/setup_vector_search_collection.py51 # Check if collection already existsCOMMENT
LOW…search/infra/terraform/scripts/setup_data_connector.py101 # Check if connector already exists (singleton per collection)COMMENT
LOW…s/spinning/r2v/shoes/product_consistency_validation.py340 # Check if label exists in referencesCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py112 # Check if node exists in the graphCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py141 # Check if this is a valid forward transitionCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py153 # Check if this is a backward movement to a visited adjacent nodeCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py156 # Check if we can move back to this node from current positionCOMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py176 # Check if this could be a valid skip-ahead (going through intermediate node)COMMENT
LOW…e/workflows/spinning/r2v/shoes/video_validation_r2v.py327 # Check if this occurrence is far enough from the firstCOMMENT
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py546 # Check if we have enough images for video generationCOMMENT
LOW…4commerce/workflows/spinning/r2v/shoes/images_utils.py379 # Check if indices wrap around (e.g., [0, 1, 2, 47, 48, 49])COMMENT
LOW…s/product_enrichment/product_fitting/video_pipeline.py214 # Check if face is present in the reference image (use front image)COMMENT
LOW…dia-for-commerce/genmedia4commerce/app_utils/deploy.py389 # Check if an agent with this name already existsSTRING
LOW…-presentations/presentation_agent/tools/pptx_editor.py363 # Check if the template supports subtitlesCOMMENT
LOW…ned-presentations/tests/test_research_and_citations.py141 # Add attributes to the list object (Python allows this for MagicMock but not standard list)COMMENT
LOW…/data-science/data_science/sub_agents/alloydb/tools.py294 if results: # Check if query returned dataCODE
LOWpython/agents/data-science/deployment/deploy.py68 # Check if the bucket existsCOMMENT
LOW…age-scoring/image_scoring/tools/loop_condition_tool.py24 # Check if the condition is met OR maximum iterations are reachedCOMMENT
LOW…n/agents/adk-ae-oauth/adk_ae_oauth/app_utils/deploy.py388 # Check if an agent with this name already existsSTRING
LOW…enmedia/on_brand_genmedia/tools/loop_condition_tool.py28 # Check if the condition is met OR maximum iterations are reachedCOMMENT
LOWpython/agents/memory-bank/app/fast_api_app.py45# Check if we should use in-memory session for local development (set USE_IN_MEMORY_SESSION=true)COMMENT
LOWpython/agents/memory-bank/app/app_utils/deploy.py408 # Check if an agent with this name already existsSTRING
LOW…ents/invoice-processing/eval/compare_postprocessing.py78 # Check if both files existCOMMENT
LOW…ents/invoice-processing/eval/compare_postprocessing.py87 # Check if files are identicalCOMMENT
LOW…d_libraries/investigation/investigate_agent_reconst.py638 # Check if this line starts the target sectionCOMMENT
LOW…d_libraries/investigation/investigate_agent_reconst.py647 # Check if we've hit the next section at same or higher levelCOMMENT
LOW…d_libraries/investigation/investigate_agent_reconst.py1723 # Check if agent used forbidden preprocessing fieldsCOMMENT
LOW…d_libraries/investigation/investigate_agent_reconst.py2085 # Check if bypass type matches any valid exemptionCOMMENT
Hallucination Indicators3 hits · 45 pts
SeverityFileLineSnippetContext
CRITICAL…horizon-harness/tests/unit/test_sandbox_environment.py321 assert route.calls.last.request.url.params.get("path") == "/workspace"CODE
CRITICAL…horizon-harness/tests/unit/test_sandbox_environment.py441 client.agent_engines.sandboxes.snapshots.create.assert_not_called()CODE
CRITICAL…horizon-harness/tests/unit/test_sandbox_environment.py459 client.agent_engines.sandboxes.snapshots.create.assert_not_called()CODE
AI Structural Patterns34 hits · 33 pts
SeverityFileLineSnippetContext
LOW…rce/workflows/video_vto/glasses/generate_video_util.py139CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py63CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py472CODE
LOW…mmerce/genmedia4commerce/workflows/shared/veo_utils.py41CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py708CODE
LOW…erce/genmedia4commerce/workflows/shared/nano_banana.py132CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py249CODE
LOW…a4commerce/mcp_server/video_vto/clothes/clothes_api.py36CODE
LOW…a4commerce/mcp_server/video_vto/glasses/glasses_api.py203CODE
LOW…ia4commerce/mcp_server/spinning/r2v/shoes/shoes_mcp.py40CODE
LOW…rch/data_ingestion/data_ingestion_pipeline/pipeline.py24CODE
LOW…ion/data_ingestion_pipeline/components/process_data.py54CODE
LOW…horizon-harness/tests/unit/test_sandbox_environment.py46CODE
LOW…ong-horizon-harness/horizon/tools/processes/process.py169CODE
LOW…hon/long-horizon-harness/horizon/subagents/subagent.py67CODE
LOW…hon/long-horizon-harness/horizon/subagents/delegate.py424CODE
LOW…-horizon-harness/horizon/subagents/delegate_builder.py171CODE
LOW…python/long-horizon-harness/horizon/subagents/spawn.py161CODE
LOW…rch/data_ingestion/data_ingestion_pipeline/pipeline.py24CODE
LOW…ion/data_ingestion_pipeline/components/process_data.py54CODE
LOW…rce/workflows/video_vto/glasses/generate_video_util.py131CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py58CODE
LOW…edia4commerce/workflows/spinning/r2v/shoes/pipeline.py455CODE
LOW…mmerce/genmedia4commerce/workflows/shared/veo_utils.py41CODE
LOW…erce/genmedia4commerce/workflows/shared/image_utils.py679CODE
LOW…erce/genmedia4commerce/workflows/shared/nano_banana.py127CODE
LOW…mmerce/genmedia4commerce/workflows/shared/llm_utils.py246CODE
LOW…a4commerce/mcp_server/video_vto/clothes/clothes_api.py34CODE
LOW…a4commerce/mcp_server/video_vto/glasses/glasses_api.py192CODE
LOW…ia4commerce/mcp_server/spinning/r2v/shoes/shoes_mcp.py37CODE
LOW…research/fomc_research/shared_libraries/price_utils.py126CODE
LOW…ingestion_pipeline/data_ingestion_pipeline/pipeline.py42CODE
LOW…n/agents/multiformat-hybrid-rag/src/utils/llm_utils.py136CODE
LOW…sing/invoice_processing/shared_libraries/alf_engine.py2103CODE
Magic Placeholder Names5 hits · 28 pts
SeverityFileLineSnippetContext
HIGHgo/agents/financial-advisor/README.md78 export GEMINI_API_KEY=<your-api-key>CODE
HIGHpython/agents/nurse-handover/README.md67 GOOGLE_API_KEY=your-api-keyCODE
HIGH…s/skills/extract-python-environment-variables/SKILL.md94 `<TODO: update-this-value>` — e.g. `my-project-id`, `your-api-key`,CODE
HIGH…n-environment-variables/tests/test_extract_env_vars.py1276 assert m.looks_like_placeholder("your-api-key") is not NoneCODE
HIGHkotlin/agents/llm-auditor/README.md80 export GOOGLE_API_KEY="YOUR_API_KEY"CODE
Fake / Example Data19 hits · 18 pts
SeverityFileLineSnippetContext
LOW…thon/long-horizon-harness/tests/unit/test_read_tool.py269 (ssh_dir / "id_rsa").write_text("fake-key-material")CODE
LOWpython/agents/high-volume-document-analyzer/README.md48**Agent:** Based on the contract header in Document #25, the assigned client is "Acme Corp".CODE
LOW…y/marketing_agency/sub_agents/website_create/prompt.py91Use relevant and descriptive placeholder text. While Lorem Ipsum is acceptable for longer paragraphs, try to make headliCODE
LOW…mic-research-agent/tests/unit/test_sub_agents_tools.py23 with patch("os.getenv", return_value="fake_key"):CODE
LOW…mic-research-agent/tests/unit/test_sub_agents_tools.py42 with patch("os.getenv", return_value="fake_key"):CODE
LOW…customer-service/customer_service/entities/customer.py133 street="123 Main St", city="Anytown", state="CA", zip="12345"CODE
LOW…siness-loan-agent/data/generate_sample_applications.py173 "owner_name": "Jane Doe",CODE
LOW…siness-loan-agent/data/generate_sample_applications.py202 "owner_name": "Jane Doe",CODE
LOW…l_business_loan_agent/sub_agents/underwriting/tools.py32 "owner_name": "Jane Doe",CODE
LOW…g/tests/unit/document_preprocessing/test_preprocess.py199 return_value="fake-token",CODE
LOW…thon/agents/brand-search-optimization/customization.md52USER_EMAIL = "user@example.com"CODE
LOW…s/invoice-processing/tests/test_condition_evaluator.py85 data = {"vendor": {"name": "Acme Corp"}}CODE
LOW…s/invoice-processing/tests/test_condition_evaluator.py89 assert result == "Acme Corp"CODE
LOW…s/invoice-processing/tests/test_condition_evaluator.py390 "first_word_equals", "Acme Corp", "Acme Ltd"CODE
LOW…s/invoice-processing/tests/test_condition_evaluator.py398 "first_word_equals", "The Acme Corp", "Acme Ltd"CODE
LOW…s/invoice-processing/tests/test_condition_evaluator.py406 "first_word_equals", "Pty Ltd Acme", "Acme Corp"CODE
LOW…s/invoice-processing/tests/test_condition_evaluator.py422 "first_word_equals", "Global Corp", "Acme Corp"CODE
LOW…customer_service/customer_service/entities/customer.ts117 street: '123 Main St',CODE
LOW…n-environment-variables/tests/test_extract_env_vars.py1349 assert m.looks_like_placeholder("user@example.com") is not NoneCODE
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…/tests/eval/evalsets/web_search_grounding.evalset.json87 "text_property": "The response is produced by calling the `google_search` tool with a query that referenCODE
MEDIUM…-harness/tests/eval/evalsets/output_style.evalset.json62 "text_property": "After running the `bash` tool, the model reports the cwd path with minimal wrapping — CODE
MEDIUM…youtube-analyst/youtube_analyst/visualization_tools.py50 # This is a sample intended for demonstration purposes.COMMENT
MEDIUM…siness-loan-agent/data/generate_sample_applications.py156 "This is a sample document for demonstration purposes only. All data is fictional.",CODE
MEDIUM…media/sub_agents/prompt/tools/fetch_existing_assets.py28 # For now, we are using a local JSON file for demonstration purposesCOMMENT
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM…orizon-harness/tests/unit/test_sibling_agent_plugin.py318CODE
MEDIUM…orizon-harness/tests/unit/test_sibling_agent_plugin.py348CODE
MEDIUM…orizon-harness/tests/unit/test_sibling_agent_plugin.py397CODE
MEDIUM…g-horizon-harness/tests/unit/routines/test_run_once.py74CODE
MEDIUM…s/integration/test_sibling_plugin_close_integration.py47CODE
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…python/long-horizon-harness/web/server/cloudbuild.yaml2# Usage:COMMENT
LOW…mat-hybrid-rag/data_ingestion_pipeline/cloudbuild.yaml7# Usage:COMMENT
LOW…_ingestion_pipeline/preprocess_service/cloudbuild.yaml7# Usage:COMMENT
LOW…ingestion_pipeline/chunk_index_service/cloudbuild.yaml3# Usage:COMMENT
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ion/data_ingestion_pipeline/components/process_data.py54def process_data(CODE
LOW…ion/data_ingestion_pipeline/components/process_data.py54def process_data(CODE
LOW…rag/data_ingestion_pipeline/preprocess_service/main.py234async def handle_request(request: Request):CODE
LOW…ag/data_ingestion_pipeline/chunk_index_service/main.py355async def handle_request(request: Request):CODE