Repository Analysis

GoogleCloudPlatform/python-docs-samples

Code samples used on cloud.google.com

42.5 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of GoogleCloudPlatform/python-docs-samples, a Jupyter Notebook project with 8,121 GitHub stars. SynthScan v2.0 examined 356,444 lines of code across 5263 source files, recording 9505 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 42.5 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).

42.5
Adjusted Score
42.5
Raw Score
100%
Time Factor
2026-07-30
Last Push
8.1K
Stars
Jupyter Notebook
Language
356.4K
Lines of Code
5.3K
Files
9.5K
Pattern Hits
2026-08-02
Scan Date
0.15
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 1HIGH 771MEDIUM 1138LOW 7595

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 9505 distinct pattern matches across 23 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.

Over-Commented Block4465 hits · 4449 pts
SeverityFileLineSnippetContext
LOWowlbot.py1# Copyright 2023 Google LLCCOMMENT
LOWnoxfile_config.py1# Copyright 2021 Google LLCCOMMENT
LOWnoxfile_config.py21# https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/noxfile_config.pyCOMMENT
LOWnoxfile-template.py1# Copyright 2019 Google LLCCOMMENT
LOWnoxfile-template.py41TEST_CONFIG = {COMMENT
LOWnoxfile-template.py121 basenameCOMMENT
LOWdataflow/conftest.py1# Copyright 2021 Google LLCCOMMENT
LOWdataflow/snippets/read_kafka_multi_topic.py1#!/usr/bin/env pythonCOMMENT
LOWdataflow/snippets/__init__.py1# Copyright 2023 Google LLCCOMMENT
LOWdataflow/snippets/noxfile_config.py1# Copyright 2024 Google LLCCOMMENT
LOWdataflow/snippets/noxfile_config.py21# https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/noxfile_config.pyCOMMENT
LOWdataflow/snippets/batch_write_storage.py1#!/usr/bin/env pythonCOMMENT
LOWdataflow/snippets/write_pubsub.py1#!/usr/bin/env pythonCOMMENT
LOWdataflow/snippets/read_kafka.py1#!/usr/bin/env pythonCOMMENT
LOWdataflow/snippets/tests/test_read_kafka.py1# Copyright 2024 Google LLCCOMMENT
LOWdataflow/snippets/tests/__init__.py1# Copyright 2023 Google LLCCOMMENT
LOWdataflow/snippets/tests/test_write_pubsub.py1# !/usr/bin/env pythonCOMMENT
LOWdataflow/snippets/tests/test_batch_write_storage.py1# Copyright 2023 Google LLCCOMMENT
LOWdataflow/gemma/e2e_test.py1# Copyright 2024 Google LLCCOMMENT
LOWdataflow/gemma/custom_model_gemma.py1# Copyright 2024 Google LLCCOMMENT
LOWdataflow/gemma/noxfile_config.py1# Copyright 2024 Google LLCCOMMENT
LOW…/flex-templates/pipeline_with_dependencies/e2e_test.py1# Copyright 2024 Google LLCCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt1#COMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt21 # httpxCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt41 # via cryptographyCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt61envoy-data-plane==1.0.3COMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt81 # google-cloud-coreCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt101 # google-api-coreCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt121 # google-cloud-visionCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt141 # google-cloud-bigqueryCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt161 # via google-cloud-aiplatformCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt181google-resumable-media==2.10.0COMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt201grpcio==1.82.0COMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt221 # grpc-interceptorCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt241 # viaCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt261 # via keyringCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt281 # grpclibCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt301 # google-cloud-spannerCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt321 # viaCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt341 # google-cloud-spannerCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt361 # google-cloud-spannerCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt381 # oauth2clientCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt401 # viaCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt421 # google-cloud-storageCOMMENT
LOW…-templates/pipeline_with_dependencies/requirements.txt441 # via google-cloud-spannerCOMMENT
LOW…lates/pipeline_with_dependencies/requirements-test.txt1# Copyright 2024 Google LLCCOMMENT
LOW…ex-templates/pipeline_with_dependencies/pyproject.toml1# Copyright 2024 Google LLCCOMMENT
LOW…templates/pipeline_with_dependencies/noxfile_config.py1# Copyright 2021 Google LLCCOMMENT
LOW…low/flex-templates/pipeline_with_dependencies/setup.py1# Copyright 2024 Google LLCCOMMENT
LOW…flow/flex-templates/pipeline_with_dependencies/main.py1# Copyright 2024 Google LLCCOMMENT
LOW…/pipeline_with_dependencies/src/my_package/__init__.py1# Copyright 2024 Google LLCCOMMENT
LOW…line_with_dependencies/src/my_package/my_transforms.py1# Copyright 2024 Google LLCCOMMENT
LOW…peline_with_dependencies/src/my_package/my_pipeline.py1# Copyright 2024 Google LLCCOMMENT
LOW…/pipeline_with_dependencies/src/my_package/launcher.py1# Copyright 2024 Google LLCCOMMENT
LOW…ine_with_dependencies/src/my_package/utils/__init__.py1# Copyright 2024 Google LLCCOMMENT
LOW…eline_with_dependencies/src/my_package/utils/figlet.py1# Copyright 2024 Google LLCCOMMENT
LOWdataflow/flex-templates/streaming_beam/e2e_test.py1# Copyright 2021 Google LLCCOMMENT
LOW…taflow/flex-templates/streaming_beam/noxfile_config.py1# Copyright 2021 Google LLCCOMMENT
LOW…taflow/flex-templates/streaming_beam/noxfile_config.py21# https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/noxfile_config.pyCOMMENT
LOW…taflow/flex-templates/streaming_beam/streaming_beam.py1#!/usr/bin/env pythonCOMMENT
4405 more matches not shown…
Cross-File Repetition616 hits · 3080 pts
SeverityFileLineSnippetContext
HIGHdataflow/gpu-examples/tensorflow-landsat-prime/main.py0validates that we are detecting gpus, otherwise raise a runtimeerror.STRING
HIGHdataflow/gpu-examples/tensorflow-minimal/main.py0validates that we are detecting gpus, otherwise raise a runtimeerror.STRING
HIGHdataflow/gpu-examples/tensorflow-landsat/main.py0validates that we are detecting gpus, otherwise raise a runtimeerror.STRING
HIGHdataflow/gpu-examples/pytorch-minimal/main.py0validates that we are detecting gpus, otherwise raise a runtimeerror.STRING
HIGHdataflow/run_template/main.py0http cloud function that declares a variable. args: request (flask.request): the request object. <http://flask.pocoo.orgSTRING
HIGHfunctions/helloworld/main.py0http cloud function that declares a variable. args: request (flask.request): the request object. <http://flask.pocoo.orgSTRING
HIGHfunctions/v2/response_streaming/main.py0http cloud function that declares a variable. args: request (flask.request): the request object. <http://flask.pocoo.orgSTRING
HIGHfunctions/tips-scopes/main.py0http cloud function that declares a variable. args: request (flask.request): the request object. <http://flask.pocoo.orgSTRING
HIGHkms/snippets/update_key_remove_labels.py0remove a rotation schedule from an existing key. args: project_id (string): google cloud project id (e.g. 'my-project').STRING
HIGHkms/snippets/update_key_add_rotation.py0remove a rotation schedule from an existing key. args: project_id (string): google cloud project id (e.g. 'my-project').STRING
HIGHkms/snippets/update_key_update_labels.py0remove a rotation schedule from an existing key. args: project_id (string): google cloud project id (e.g. 'my-project').STRING
HIGHkms/snippets/update_key_remove_rotation.py0remove a rotation schedule from an existing key. args: project_id (string): google cloud project id (e.g. 'my-project').STRING
HIGHkms/snippets/decrypt_symmetric.py0calculates the crc32c checksum of the provided data. args: data: the bytes over which the checksum should be calculated.STRING
HIGHkms/snippets/get_public_key.py0calculates the crc32c checksum of the provided data. args: data: the bytes over which the checksum should be calculated.STRING
HIGHkms/snippets/decrypt_asymmetric.py0calculates the crc32c checksum of the provided data. args: data: the bytes over which the checksum should be calculated.STRING
HIGHkms/snippets/get_public_key_jwk.py0calculates the crc32c checksum of the provided data. args: data: the bytes over which the checksum should be calculated.STRING
HIGHkms/snippets/sign_asymmetric.py0calculates the crc32c checksum of the provided data. args: data: the bytes over which the checksum should be calculated.STRING
HIGHkms/snippets/encrypt_symmetric.py0calculates the crc32c checksum of the provided data. args: data: the bytes over which the checksum should be calculated.STRING
HIGHvideo/transcoder/get_job.py0gets a job. args: project_id: the gcp project id. location: the location this job is in. job_id: the job id.STRING
HIGHvideo/transcoder/get_job_state.py0gets a job. args: project_id: the gcp project id. location: the location this job is in. job_id: the job id.STRING
HIGHvideo/transcoder/delete_job.py0gets a job. args: project_id: the gcp project id. location: the location this job is in. job_id: the job id.STRING
HIGHvideo/stitcher/list_vod_ad_tag_details.py0lists the stitch details for the specified vod session. args: project_id: the gcp project id. location: the location of STRING
HIGHvideo/stitcher/list_live_ad_tag_details.py0lists the stitch details for the specified vod session. args: project_id: the gcp project id. location: the location of STRING
HIGHvideo/stitcher/list_vod_stitch_details.py0lists the stitch details for the specified vod session. args: project_id: the gcp project id. location: the location of STRING
HIGHvideo/live-stream/stop_channel.py0gets a channel. args: project_id: the gcp project id. location: the location of the channel. channel_id: the user-defineSTRING
HIGHvideo/live-stream/delete_channel.py0gets a channel. args: project_id: the gcp project id. location: the location of the channel. channel_id: the user-defineSTRING
HIGHvideo/live-stream/start_channel.py0gets a channel. args: project_id: the gcp project id. location: the location of the channel. channel_id: the user-defineSTRING
HIGHvideo/live-stream/get_channel_event.py0gets a channel. args: project_id: the gcp project id. location: the location of the channel. channel_id: the user-defineSTRING
HIGHvideo/live-stream/get_channel.py0gets a channel. args: project_id: the gcp project id. location: the location of the channel. channel_id: the user-defineSTRING
HIGHvideo/live-stream/get_input.py0deletes an input. args: project_id: the gcp project id. location: the location of the input. input_id: the user-defined STRING
HIGHvideo/live-stream/update_input.py0deletes an input. args: project_id: the gcp project id. location: the location of the input. input_id: the user-defined STRING
HIGHvideo/live-stream/delete_input.py0deletes an input. args: project_id: the gcp project id. location: the location of the input. input_id: the user-defined STRING
HIGHdialogflow/detect_intent_audio.py0returns the result of detect intent with streaming audio as input. using the same `session_id` between requests allows cSTRING
HIGHdialogflow-cx/detect_intent_audio.py0returns the result of detect intent with streaming audio as input. using the same `session_id` between requests allows cSTRING
HIGHdialogflow/detect_intent_stream.py0returns the result of detect intent with streaming audio as input. using the same `session_id` between requests allows cSTRING
HIGHdialogflow-cx/detect_intent_stream.py0returns the result of detect intent with streaming audio as input. using the same `session_id` between requests allows cSTRING
HIGHdialogflow/detect_intent_texts_with_location.py0returns the result of detect intent with texts as inputs. using the same `session_id` between requests allows continuatiSTRING
HIGHdialogflow/detect_intent_texts.py0returns the result of detect intent with texts as inputs. using the same `session_id` between requests allows continuatiSTRING
HIGHdialogflow-cx/detect_intent_texts.py0returns the result of detect intent with texts as inputs. using the same `session_id` between requests allows continuatiSTRING
HIGHdialogflow/streaming_transcription.py0opens a recording stream as a generator yielding the audio chunks.STRING
HIGHspeech/microphone/transcribe_streaming_infinite_v2.py0opens a recording stream as a generator yielding the audio chunks.STRING
HIGHspeech/microphone/transcribe_streaming_mic.py0opens a recording stream as a generator yielding the audio chunks.STRING
HIGHspeech/microphone/transcribe_streaming_infinite.py0opens a recording stream as a generator yielding the audio chunks.STRING
HIGHmedia-translation/snippets/translate_from_mic.py0opens a recording stream as a generator yielding the audio chunks.STRING
HIGHdialogflow-cx/detect_intent_with_sentiment_analysis.py0returns the result of detect intent with sentiment analysisSTRING
HIGHdialogflow-cx/detect_intent_with_intent_input.py0returns the result of detect intent with sentiment analysisSTRING
HIGHdialogflow-cx/detect_intent_disabled_webhook.py0returns the result of detect intent with sentiment analysisSTRING
HIGHdialogflow-cx/webhook_validate_form_parameter_test.py0flask fixture to pass a flask.request to the test functionSTRING
HIGHdialogflow-cx/webhook_log_session_info_test.py0flask fixture to pass a flask.request to the test functionSTRING
HIGHdialogflow-cx/webhook_prebuilt_telecom_test.py0flask fixture to pass a flask.request to the test functionSTRING
HIGHdialogflow-cx/streaming_detect_intent_infinite.py0start bidirectional streaming from microphone input to speech apiSTRING
HIGHspeech/microphone/transcribe_streaming_infinite_v2.py0start bidirectional streaming from microphone input to speech apiSTRING
HIGHspeech/microphone/transcribe_streaming_infinite.py0start bidirectional streaming from microphone input to speech apiSTRING
HIGH…s/translate_v3_batch_translate_text_with_model_test.py0create a temporary bucket to store annotation output.STRING
HIGH…3_batch_translate_text_with_glossary_and_model_test.py0create a temporary bucket to store annotation output.STRING
HIGH…les/snippets/translate_v3_batch_translate_text_test.py0create a temporary bucket to store annotation output.STRING
HIGH…ranslate_v3_batch_translate_text_with_glossary_test.py0create a temporary bucket to store annotation output.STRING
HIGHauth/downscoping/snippets_test.py0yields a bucket object that is deleted after the test completes.STRING
HIGHcomposer/cicd_sample/utils/add_dags_to_composer_test.py0yields a bucket object that is deleted after the test completes.STRING
HIGHspeech/snippets/speech_to_storage_beta_test.py0yields a bucket object that is deleted after the test completes.STRING
556 more matches not shown…
Self-Referential Comments948 hits · 2941 pts
SeverityFileLineSnippetContext
MEDIUMdataflow/snippets/batch_write_storage.py31 # Define a custom pipeline option that specfies the Cloud Storage bucket.COMMENT
MEDIUMdataflow/snippets/write_pubsub.py48 # Define a custom pipeline option to specify the Pub/Sub topic.COMMENT
MEDIUM…flow/flex-templates/getting_started/getting_started.py25 # Define a custom pipeline option that specfies the Cloud Storage bucket.COMMENT
MEDIUMdataflow/run_template/main_test.py49# Create a fake "app" for generating test request contexts.COMMENT
MEDIUMprivateca/snippets/create_certificate_authority.py84 # Create the CertificateAuthorityRequest.COMMENT
MEDIUMprivateca/snippets/filter_certificates.py37 # Create the certificate request and set the filter condition.COMMENT
MEDIUMprivateca/snippets/update_certificate_authority.py49 # Create a request to update the CA.COMMENT
MEDIUMprivateca/snippets/delete_certificate_authority.py52 # Create the DeleteCertificateAuthorityRequest.COMMENT
MEDIUMprivateca/snippets/enable_certificate_authority.py40 # Create the Enable Certificate Authority Request.COMMENT
MEDIUMprivateca/snippets/create_certificate.py90 # Create the Certificate Request.COMMENT
MEDIUMprivateca/snippets/create_certificate_csr.py57 # Create the Certificate Request.COMMENT
MEDIUMprivateca/snippets/monitor_certificate_authority.py44 # Create a notification channel.COMMENT
MEDIUMprivateca/snippets/undelete_certificate_authority.py45 # Create the Request.COMMENT
MEDIUMprivateca/snippets/create_subordinate_ca.py88 # Create the CertificateAuthorityRequest.COMMENT
MEDIUMprivateca/snippets/disable_certificate_authority.py39 # Create the Disable Certificate Authority Request.COMMENT
MEDIUMprivateca/snippets/delete_ca_pool.py36 # Create the Delete request.COMMENT
MEDIUMprivateca/snippets/create_ca_pool.py40 # Create the pool request.COMMENT
MEDIUMprivateca/snippets/create_ca_pool.py47 # Create the CA pool.COMMENT
MEDIUM…rpriseknowledgegraph/search/search_public_kg_sample.py41 # Create a clientCOMMENT
MEDIUMenterpriseknowledgegraph/search/search_sample.py41 # Create a clientCOMMENT
MEDIUMenterpriseknowledgegraph/search/lookup_sample.py37 # Create a clientCOMMENT
MEDIUM…rpriseknowledgegraph/search/lookup_public_kg_sample.py37 # Create a clientCOMMENT
MEDIUM…onciliation/cancel_entity_reconciliation_job_sample.py29 # Create a clientCOMMENT
MEDIUM…conciliation/list_entity_reconciliation_jobs_sample.py26 # Create a clientCOMMENT
MEDIUM…onciliation/delete_entity_reconciliation_job_sample.py29 # Create a clientCOMMENT
MEDIUM…reconciliation/get_entity_reconciliation_job_sample.py29 # Create a clientCOMMENT
MEDIUM…onciliation/create_entity_reconciliation_job_sample.py41 # Create a clientCOMMENT
MEDIUM…nter-insights/snippets/create_conversation_with_ttl.py15# Create a conversation with a TTL.COMMENT
MEDIUM…insights/snippets/test_create_phrase_matcher_any_of.py35 # Create a phrase matcher.COMMENT
MEDIUM…ct-center-insights/snippets/test_export_to_bigquery.py40 # Create a BigQuery dataset.COMMENT
MEDIUM…ct-center-insights/snippets/test_export_to_bigquery.py49 # Create a BigQuery table under the created dataset.COMMENT
MEDIUM…t-center-insights/snippets/test_create_conversation.py30 # Create a conversationCOMMENT
MEDIUM…insights/snippets/test_create_phrase_matcher_all_of.py35 # Create a phrase matcher.COMMENT
MEDIUMcontact-center-insights/snippets/test_get_operation.py38 # Create a conversation.COMMENT
MEDIUMcontact-center-insights/snippets/test_get_operation.py64 # Create an analysis.COMMENT
MEDIUM…ct-center-insights/snippets/test_create_issue_model.py56 # Create an issue model.COMMENT
MEDIUM…ntact-center-insights/snippets/test_create_analysis.py33 # Create a conversation.COMMENT
MEDIUM…insights/snippets/test_create_conversation_with_ttl.py30 # Create a conversationCOMMENT
MEDIUMkms/snippets/update_key_remove_labels.py35 # Create the client.COMMENT
MEDIUMkms/snippets/update_key_add_rotation.py38 # Create the client.COMMENT
MEDIUMkms/snippets/create_key_for_import.py34 # Create the client.COMMENT
MEDIUMkms/snippets/import_manually_wrapped_key.py57 # Create the client.COMMENT
MEDIUMkms/snippets/update_key_update_labels.py35 # Create the client.COMMENT
MEDIUMkms/snippets/disable_key_version.py36 # Create the client.COMMENT
MEDIUMkms/snippets/create_import_job.py32 # Create the client.COMMENT
MEDIUMkms/snippets/get_retired_resource.py35 # Create the client.COMMENT
MEDIUMkms/snippets/update_key_set_primary.py36 # Create the client.COMMENT
MEDIUMkms/snippets/delete_key_version.py38 # Create the client.COMMENT
MEDIUMkms/snippets/create_key_mac.py39 # Create the client.COMMENT
MEDIUMkms/snippets/restore_key_version.py36 # Create the client.COMMENT
MEDIUMkms/snippets/verify_mac.py43 # Create the client.COMMENT
MEDIUMkms/snippets/update_key_remove_rotation.py35 # Create the client.COMMENT
MEDIUMkms/snippets/check_state_import_job.py32 # Create the client.COMMENT
MEDIUMkms/snippets/iam_get_policy.py36 # Create the client.COMMENT
MEDIUMkms/snippets/iam_add_member.py37 # Create the client.COMMENT
MEDIUMkms/snippets/create_key_asymmetric_decrypt.py39 # Create the client.COMMENT
MEDIUMkms/snippets/generate_random_bytes.py38 # Create the client.COMMENT
MEDIUMkms/snippets/create_key_labels.py36 # Create the client.COMMENT
MEDIUMkms/snippets/iam_remove_member.py37 # Create the client.COMMENT
MEDIUMkms/snippets/verify_asymmetric_rsa.py61 # Create the client.COMMENT
888 more matches not shown…
Hyper-Verbose Identifiers2331 hits · 2446 pts
SeverityFileLineSnippetContext
LOWAUTHORING_GUIDE.md575def setup_and_teardown_cluster():CODE
LOWnoxfile-template.py113def _determine_local_import_names(start_dir: str) -> list[str]:CODE
LOWdataflow/conftest.py186def dataflow_find_job_by_name(project: str, location: str, job_name: str) -> str:CODE
LOWdataflow/conftest.py202def dataflow_wait_until_running(project: str, location: str, job_id: str) -> str:CODE
LOWdataflow/conftest.py759 def dataflow_flex_template_build(CODE
LOWdataflow/conftest.py790 def dataflow_flex_template_run(CODE
LOWdataflow/conftest.py837 def dataflow_extensible_template_run(CODE
LOWdataflow/snippets/tests/test_read_kafka.py105def test_read_kafka_multi_topic(docker_client: DockerClient, tmp_path: Path, file_name_prefix: str) -> None:CODE
LOWdataflow/snippets/tests/test_batch_write_storage.py41def test_write_to_cloud_storage(setup_and_teardown: None) -> None:CODE
LOWdataflow/gemma/custom_model_gemma.py51 def share_model_across_processes(self) -> bool:CODE
LOWdataflow/gemma/README.md90 def share_model_across_processes(self) -> bool:CODE
LOW…/flex-templates/pipeline_with_dependencies/e2e_test.py65def test_flex_template_with_dependencies_and_custom_container(CODE
LOWdataflow/flex-templates/streaming_beam/e2e_test.py90def test_flex_template_streaming_beam(utils: Utils, dataflow_job_id: str) -> None:CODE
LOWdataflow/custom-containers/minimal/e2e_test.py52def test_custom_container_minimal(utils: Utils, run_dataflow_job: str) -> None:CODE
LOWdataflow/custom-containers/ubuntu/e2e_test.py52def test_custom_container_ubuntu(utils: Utils, run_dataflow_job: str) -> None:CODE
LOWdataflow/custom-containers/miniconda/e2e_test.py52def test_custom_container_miniconda(utils: Utils, run_dataflow_job: str) -> None:CODE
LOWdataflow/gemma-flex-template/custom_model_gemma.py71 def share_model_across_processes(self) -> bool:CODE
LOWdataflow/run-inference/tests/e2e_test.py130def test_load_state_dict_vertex(CODE
LOWdataflow/run_template/main_test.py120def test_run_template_python_empty_args(app, dataflow_job_name):CODE
LOWdataflow/run_template/main_test.py141def test_run_template_http_empty_args(app):CODE
LOWdataflow/run_template/main_test.py150def test_run_template_http_url(app, dataflow_job_name):CODE
LOWdataflow/run_template/main_test.py167def test_run_template_http_data(app, dataflow_job_name):CODE
LOWdataflow/run_template/main_test.py184def test_run_template_http_json(app, dataflow_job_name):CODE
LOWprivateca/snippets/create_certificate_authority.py22def create_certificate_authority(CODE
LOWprivateca/snippets/conftest.py130def deleted_certificate_authority(ca_pool):CODE
LOWprivateca/snippets/delete_certificate_authority.py21def delete_certificate_authority(CODE
LOWprivateca/snippets/enable_certificate_authority.py21def enable_certificate_authority(CODE
LOWprivateca/snippets/delete_certificate_template.py21def delete_certificate_template(CODE
LOWprivateca/snippets/test_crud_certificate_templates.py37def test_create_delete_certificate_template(capsys: typing.Any) -> None:CODE
LOWprivateca/snippets/test_crud_certificate_templates.py53def test_list_certificate_templates(certificate_template, capsys: typing.Any) -> None:CODE
LOWprivateca/snippets/test_crud_certificate_templates.py64def test_update_certificate_template(certificate_template, capsys: typing.Any) -> None:CODE
LOWprivateca/snippets/test_certificate_authorities.py75def test_enable_and_disable_certificate_authority(CODE
LOWprivateca/snippets/test_certificate_authorities.py95def test_undelete_certificate_authority(CODE
LOWprivateca/snippets/test_certificate_authorities.py115def test_update_certificate_authority(CODE
LOWprivateca/snippets/test_certificate_authorities.py128def test_create_monitor_ca_policy(capsys: typing.Any) -> None:CODE
LOWprivateca/snippets/list_certificate_authorities.py21def list_certificate_authorities(CODE
LOWprivateca/snippets/list_certificate_templates.py21def list_certificate_templates(project_id: str, location: str) -> None:CODE
LOWprivateca/snippets/test_subordinate_ca.py56def test_subordinate_certificate_authority(CODE
LOWprivateca/snippets/update_ca_pool_issuance_policy.py23def update_ca_pool_issuance_policy(CODE
LOWprivateca/snippets/undelete_certificate_authority.py21def undelete_certificate_authority(CODE
LOWprivateca/snippets/test_certificates.py44def test_create_and_revoke_certificate_authority(CODE
LOWprivateca/snippets/create_certificate_template.py22def create_certificate_template(CODE
LOWprivateca/snippets/update_certificate_template.py22def update_certificate_template(CODE
LOWprivateca/snippets/test_ca_pools.py73def test_update_ca_pool_issuance_policy(ca_pool, capsys: typing.Any) -> None:CODE
LOWprivateca/snippets/disable_certificate_authority.py21def disable_certificate_authority(CODE
LOWwebrisk/snippets/test_basic_samples.py28def test_search_uri_with_threat() -> None:CODE
LOWwebrisk/snippets/test_basic_samples.py36def test_search_uri_without_threat() -> None:CODE
LOWwebrisk/snippets/test_basic_samples.py60def test_compute_threatdiff_list() -> None:CODE
LOW…onciliation/cancel_entity_reconciliation_job_sample.py26def cancel_entity_reconciliation_job_sample(CODE
LOW…liation/list_entity_reconciliation_jobs_sample_test.py24def test_list_entity_reconciliation_jobs(capsys):CODE
LOW…conciliation/list_entity_reconciliation_jobs_sample.py25def list_entity_reconciliation_jobs_sample(project_id: str, location: str) -> None:CODE
LOW…ciliation/get_entity_reconciliation_job_sample_test.py27def test_get_entity_reconciliation_job(capsys):CODE
LOW…iation/delete_entity_reconciliation_job_sample_test.py27def test_delete_entity_reconciliation_job(capsys):CODE
LOW…onciliation/delete_entity_reconciliation_job_sample.py26def delete_entity_reconciliation_job_sample(CODE
LOW…iation/cancel_entity_reconciliation_job_sample_test.py27def test_cancel_entity_reconciliation_job(capsys):CODE
LOW…iation/create_entity_reconciliation_job_sample_test.py32def test_create_entity_reconciliation_job(capsys):CODE
LOW…reconciliation/get_entity_reconciliation_job_sample.py26def get_entity_reconciliation_job_sample(CODE
LOW…onciliation/create_entity_reconciliation_job_sample.py32def create_entity_reconciliation_job_sample(CODE
LOW…nter-insights/snippets/create_conversation_with_ttl.py21def create_conversation_with_ttl(CODE
LOW…insights/snippets/test_create_phrase_matcher_any_of.py45def test_create_phrase_matcher_any_of(capsys, phrase_matcher_any_of):CODE
2271 more matches not shown…
Docstring Block Structure132 hits · 660 pts
SeverityFileLineSnippetContext
HIGHdataflow/gpu-examples/tensorflow-landsat-prime/main.py133Gets the Cloud Storage paths for each band in a Landsat scene. Args: scene: Landsat 8 scene ID. banSTRING
HIGHdataflow/gpu-examples/tensorflow-landsat/main.py127Gets the Cloud Storage paths for each band in a Landsat scene. Args: scene: Landsat 8 scene ID. banSTRING
HIGH…anagement_api/event_threat_detection_custom_modules.py91 Retrieves a Event Threat Detection custom module. Args: parent: Use any one of the following options: STRING
HIGH…anagement_api/event_threat_detection_custom_modules.py121 Retrieves list of Event Threat Detection custom module. Args: parent: Use any one of the following optiSTRING
HIGH…anagement_api/event_threat_detection_custom_modules.py198 Deletes an Event Threat Detection custom module. Args: parent: Use any one of the following options: STRING
HIGH…anagement_api/event_threat_detection_custom_modules.py227 Retrieves an Event Threat Detection custom module using parent and module id as parameters. Args: parenSTRING
HIGH…anagement_api/event_threat_detection_custom_modules.py257 Retrieves list of Event Threat Detection custom module. This includes resident modules defined at the scope of STRING
HIGH…anagement_api/event_threat_detection_custom_modules.py299 Retrieves list of all resident Event Threat Detection custom modules and all of its descendants. Args: STRING
HIGH…gement_api/security_health_analytics_custom_modules.py104 Retrieves a Security Health Analytics custom module. Args: parent: Use any one of the following optionsSTRING
HIGH…gement_api/security_health_analytics_custom_modules.py135 Retrieves list of Security Health Analytics custom module. Args: parent: Use any one of the following oSTRING
HIGH…gement_api/security_health_analytics_custom_modules.py173 Deletes a Security Health Analytics custom module. Args: parent: Use any one of the following options: STRING
HIGH…gement_api/security_health_analytics_custom_modules.py202 Updates Security Health Analytics custom module. Args: parent: Use any one of the following options: STRING
HIGH…gement_api/security_health_analytics_custom_modules.py248 Retrieves a Security Health Analytics custom module using parent and module id as parameters. Args: parSTRING
HIGH…gement_api/security_health_analytics_custom_modules.py280 Retrieves list of all resident Security Health Analytics custom modules and all of its descendants. Args: STRING
HIGH…gement_api/security_health_analytics_custom_modules.py319 Retrieves list of all Security Health Analytics custom modules. This includes resident modules defined at the sSTRING
HIGH…ter/snippets_management_api/security_center_service.py24 Gets service settings for the specified Security Command Center service. Args: parent: Use any one of tSTRING
HIGH…ter/snippets_management_api/security_center_service.py58 Returns a list of all Security Command Center services for the given parent. Args: parent: Use any oneSTRING
HIGH…control/hierarchical-namespace/delete_empty_folders.py82Extracts bucket-relative path and depth from a GCS folder resource name. The "simple path" is relative to the buckeSTRING
HIGH…nd-planet-ai/land-cover-classification/serving/main.py46Gets a prediction from the model. Args: lon: Longitude of the point of interest. lat: Latitude of tSTRING
HIGH…nd-planet-ai/land-cover-classification/serving/data.py152Fetches a patch of pixels from Earth Engine. It retries if we get error "429: Too Many Requests". Args: STRING
HIGH…ather-forecasting/serving/weather-data/weather/data.py197Fetches a patch of pixels from Earth Engine. It retries if we get error "429: Too Many Requests". Args: STRING
HIGHcompute/client_library/snippets/snapshots/delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/snapshots/create.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ent_library/snippets/snapshots/schedule_remove_disk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…e/client_library/snippets/snapshots/schedule_create.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ent_library/snippets/snapshots/schedule_attach_disk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…e/client_library/snippets/snapshots/schedule_update.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…e/client_library/snippets/snapshots/schedule_delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…/client_library/snippets/snapshots/delete_by_filter.py37 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/images/delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/images/create.py37 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…te/client_library/snippets/images/create_from_image.py36 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…client_library/snippets/images/create_from_snapshot.py36 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ient_library/snippets/images/set_deprecation_status.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…e/client_library/snippets/instance_templates/delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ry/snippets/instance_templates/create_from_instance.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…e/client_library/snippets/instance_templates/create.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…instance_templates/create_reservation_from_template.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…rary/snippets/instance_templates/create_with_subnet.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…_regional_template/create_compute_regional_template.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…_regional_template/delete_compute_regional_template.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ary/snippets/operations/wait_for_extended_operation.py34 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/firewall/delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/firewall/patch.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/firewall/create.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/firewall/windows_kms.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ary/snippets/disks/clone_encrypted_disk_managed_key.py36 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/disks/delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGHcompute/client_library/snippets/disks/resize_disk.py37 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ute/client_library/snippets/disks/create_from_image.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…pute/client_library/snippets/disks/create_hyperdisk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ute/client_library/snippets/disks/autodelete_change.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…library/snippets/disks/create_secondary_region_disk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…t_library/snippets/disks/attach_regional_disk_force.py36 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…_library/snippets/disks/regional_create_from_source.py36 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…mpute/client_library/snippets/disks/regional_delete.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…t_library/snippets/disks/attach_regional_disk_to_vm.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…/client_library/snippets/disks/clone_encrypted_disk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…ute/client_library/snippets/disks/create_empty_disk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
HIGH…lient_library/snippets/disks/create_replicated_disk.py35 Waits for the extended (long-running) operation to complete. If the operation is successful, it will return itSTRING
72 more matches not shown…
Unused Imports299 hits · 298 pts
SeverityFileLineSnippetContext
LOWnoxfile-template.py15CODE
LOWnoxfile-template.py16CODE
LOWdataflow/conftest.py13CODE
LOW…taflow/flex-templates/streaming_beam/streaming_beam.py23CODE
LOWdataflow/gpu-examples/tensorflow-landsat-prime/main.py51CODE
LOWdataflow/gpu-examples/tensorflow-minimal/main.py15CODE
LOWdataflow/gpu-examples/tensorflow-landsat/main.py51CODE
LOWdataflow/gpu-examples/pytorch-minimal/main.py15CODE
LOWdataflow/custom-containers/minimal/main.py17CODE
LOWdataflow/custom-containers/ubuntu/main.py17CODE
LOWdataflow/custom-containers/miniconda/main.py17CODE
LOWdataflow/run-inference/download_model.py17CODE
LOWdataflow/run-inference/main.py17CODE
LOWdataflow/run-inference/tests/e2e_test.py30CODE
LOW…rpriseknowledgegraph/search/search_public_kg_sample.py18CODE
LOWenterpriseknowledgegraph/search/search_sample.py18CODE
LOWenterpriseknowledgegraph/search/lookup_sample.py18CODE
LOW…rpriseknowledgegraph/search/lookup_public_kg_sample.py18CODE
LOWbigquery_storage/to_dataframe/jupyter_test.py15CODE
LOWbigquery_storage/pyarrow/append_rows_with_arrow.py16CODE
LOWdialogflow/detect_intent_texts_with_location_test.py15CODE
LOWdialogflow/detect_intent_audio_test.py15CODE
LOWdialogflow/detect_intent_knowledge_test.py15CODE
LOWdialogflow/conversation_profile_management_test.py15CODE
LOW…gflow/detect_intent_with_texttospeech_response_test.py15CODE
LOWdialogflow/detect_intent_stream_test.py15CODE
LOWdialogflow/create_knowledge_base_test.py15CODE
LOWdialogflow/detect_intent_texts_test.py15CODE
LOWdialogflow/intent_management_test.py15CODE
LOW…alogflow/detect_intent_with_sentiment_analysis_test.py15CODE
LOWdialogflow/create_document_test.py15CODE
LOWdialogflow-cx/detect_intent_audio_test.py17CODE
LOW…ow-cx/streaming_detect_intent_partial_response_test.py17CODE
LOWdialogflow-cx/detect_intent_stream_test.py17CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py56CODE
LOWdialogflow-cx/detect_intent_with_intent_input_test.py17CODE
LOW…gflow-cx/detect_intent_synthesize_tts_response_test.py17CODE
LOWdialogflow-cx/detect_intent_texts_test.py17CODE
LOWdialogflow-cx/detect_intent_disabled_webhook_test.py17CODE
LOW…gflow-cx/detect_intent_with_sentiment_analysis_test.py17CODE
LOWdialogflow-cx/detect_intent_event_test.py17CODE
LOWservice_extensions/callouts/add_header/service_pb2.py15CODE
LOWservice_extensions/callouts/add_header/service_pb2.py16CODE
LOWservice_extensions/callouts/add_header/service_pb2.py17CODE
LOWservice_extensions/callouts/add_header/test_server.py14CODE
LOWtranslate/samples/snippets/snippets.py24CODE
LOWcomposer/conftest.py17CODE
LOWcomposer/tools/composer_dags.py18CODE
LOWcomposer/workflows/pubsub_trigger_response_dag.py20CODE
LOWcomposer/cicd_sample/utils/add_dags_to_composer.py16CODE
LOWcomposer/rest/composer2/composer2_airflow_rest_api.py22CODE
LOWappengine/flexible/django_cloudsql/polls/test_polls.py15CODE
LOWappengine/flexible/storage/main.py16CODE
LOWappengine/standard/download-appengine-sdk.py17CODE
LOWappengine/standard/ndb/queries/snippets_test.py1CODE
LOWappengine/standard/ndb/properties/snippets.py1CODE
LOWappengine/standard/i18n/i18n_utils.py22CODE
LOWappengine/standard_python3/django/polls/views.py15CODE
LOW…thon-db-dtypes-pandas/snippets/pandas_date_and_time.py23CODE
LOWbigquery/remote-function/translate/main.py16CODE
239 more matches not shown…
Excessive Try-Catch Wrapping218 hits · 282 pts
SeverityFileLineSnippetContext
LOWdataflow/conftest.py555 except Exception as e:CODE
LOWdataflow/conftest.py693 except Exception as e:CODE
MEDIUMdataflow/conftest.py680def job_is_done() -> bool:CODE
LOWdataflow/run_template/main_test.py93 except Exception as e:CODE
MEDIUMprivateca/snippets/update_ca_pool_issuance_policy.py94 print("Error in updating CA Pool Issuance policy! Please try again!")CODE
MEDIUMprivateca/snippets/update_certificate_template.py84 print("Error in updating certificate template!")CODE
LOWerror_reporting/snippets/report_exception.py26 except Exception:CODE
LOWerror_reporting/fluent_on_compute/main.py38 except Exception:CODE
LOWasset/snippets/quickstart_exportassets_test.py50 except Exception as e:CODE
LOWasset/snippets/quickstart_batchgetassetshistory_test.py44 except Exception as e:CODE
LOW…nippets/quickstart_analyzeiampolicylongrunning_test.py50 except Exception as e:CODE
LOW…center/snippets_v2/snippets_notification_configs_v2.py245 except Exception as e:CODE
MEDIUM…center/snippets_v2/snippets_notification_configs_v2.py230def callback(message):CODE
MEDIUM…anagement_api/event_threat_detection_custom_modules.py291 print(f"An error occurred while listing custom modules: {e}")CODE
MEDIUM…anagement_api/event_threat_detection_custom_modules.py331 print(f"An error occurred while listing custom modules: {e}")CODE
LOW…anagement_api/event_threat_detection_custom_modules.py290 except Exception as e:CODE
LOW…anagement_api/event_threat_detection_custom_modules.py330 except Exception as e:CODE
LOW…anagement_api/event_threat_detection_custom_modules.py189 except Exception as e:CODE
LOW…anagement_api/event_threat_detection_custom_modules.py389 except Exception as e:STRING
MEDIUM…gement_api/security_health_analytics_custom_modules.py166 print(f"An error occurred while listing custom modules: {e}")CODE
MEDIUM…gement_api/security_health_analytics_custom_modules.py239 print(f"An error occurred while updating the custom module: {e}")CODE
MEDIUM…gement_api/security_health_analytics_custom_modules.py311 print(f"An error occurred while listing custom modules: {e}")CODE
MEDIUM…gement_api/security_health_analytics_custom_modules.py353 print(f"An error occurred while listing custom modules: {e}")CODE
LOW…gement_api/security_health_analytics_custom_modules.py165 except Exception as e:CODE
LOW…gement_api/security_health_analytics_custom_modules.py238 except Exception as e:CODE
LOW…gement_api/security_health_analytics_custom_modules.py310 except Exception as e:CODE
LOW…gement_api/security_health_analytics_custom_modules.py352 except Exception as e:CODE
LOW…ment_api/event_threat_detection_custom_modules_test.py104 except Exception as e:CODE
LOW…ment_api/event_threat_detection_custom_modules_test.py116 except Exception as e:CODE
LOW…ment_api/event_threat_detection_custom_modules_test.py256 except Exception as e:CODE
LOW…t_api/security_health_analytics_custom_modules_test.py101 except Exception as e:CODE
LOW…t_api/security_health_analytics_custom_modules_test.py113 except Exception as e:CODE
LOW…t_api/security_health_analytics_custom_modules_test.py237 except Exception as e:CODE
LOW…ter/snippets_management_api/security_center_service.py90 except Exception as e:CODE
LOW…ter/snippets_management_api/security_center_service.py134 except Exception as e:CODE
MEDIUMdialogflow/participant_management.py78 print(f"Error: {suggestion_result.error.message}")CODE
MEDIUMdialogflow/participant_management.py96 print(f"Error: {suggestion_result.error.message}")CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py429 except Exception as e:CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py494 except Exception as e:CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py543 except Exception as e:CODE
LOWcloud-media-livestream/keypublisher/main.py166 except Exception as ex:CODE
MEDIUMfirestore/cloud-client/snippets_test.py465def test_compound_query_invalid_multi_field():CODE
MEDIUMfirestore/cloud-client/snippets_test.py473def test_compound_query_single_clause():CODE
MEDIUMfirestore/cloud-client/snippets_test.py481def test_compound_query_valid_single_field():CODE
LOWfirestore/cloud-client/snippets_test.py91 except Exception as e:CODE
LOWfirestore/cloud-client/snippets_test.py469 except Exception:CODE
LOWfirestore/cloud-client/snippets_test.py477 except Exception:CODE
LOWfirestore/cloud-client/snippets_test.py485 except Exception:CODE
LOWfirestore/cloud-client/snippets_test.py77 except Exception as e:CODE
LOWauth/service-to-service/main.py30 except Exception as e:CODE
LOWauth/custom-credentials/okta/snippets.py133 except Exception as e:CODE
MEDIUMauth/custom-credentials/okta/snippets.py99def main():CODE
MEDIUMauth/custom-credentials/aws/snippets.py108 print(f"Error: '{secrets_file}' is not valid JSON.", file=sys.stderr)CODE
LOWauth/custom-credentials/aws/snippets.py148 except Exception as e:CODE
LOWauth/cloud-client-temp/custom_aws_supplier.py112 except Exception as e:CODE
LOWcomposer/airflow_1_samples/airflow_db_cleanup.py174except Exception as e:CODE
LOWcomposer/airflow_1_samples/airflow_db_cleanup.py191except Exception as e:CODE
LOWcomposer/airflow_1_samples/airflow_db_cleanup.py209except Exception as e:CODE
LOWcomposer/workflows/airflow_db_cleanup.py189except Exception as e:CODE
LOWcomposer/workflows/airflow_db_cleanup.py206except Exception as e:CODE
158 more matches not shown…
Decorative Section Separators48 hits · 174 pts
SeverityFileLineSnippetContext
MEDIUMowlbot.py98 # ----------------------------------------------------------------------------COMMENT
MEDIUMowlbot.py100 # ----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-landsat-prime/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-landsat-prime/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUM…aflow/gpu-examples/tensorflow-landsat-prime/build.yaml15# -----------------------------------------------------------------------------COMMENT
MEDIUM…aflow/gpu-examples/tensorflow-landsat-prime/build.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-minimal/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-minimal/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-minimal/build.yaml15# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-minimal/build.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-landsat/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-landsat/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-landsat/build.yaml15# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/tensorflow-landsat/build.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/pytorch-minimal/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/pytorch-minimal/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/pytorch-minimal/build.yaml15# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/gpu-examples/pytorch-minimal/build.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/custom-containers/minimal/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/custom-containers/minimal/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/custom-containers/ubuntu/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/custom-containers/ubuntu/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/custom-containers/miniconda/run.yaml20# -----------------------------------------------------------------------------COMMENT
MEDIUMdataflow/custom-containers/miniconda/run.yaml26# -----------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py33# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py35# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py48# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py50# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py68# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py70# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py79# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py81# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py85# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py87# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py114# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py116# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py33# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py35# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py48# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py50# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py68# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py70# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py79# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py81# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py85# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py87# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py114# --------------------------------------------------------------------------------COMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py116# --------------------------------------------------------------------------------COMMENT
AI Slop Vocabulary52 hits · 165 pts
SeverityFileLineSnippetContext
LOWdataflow/run_template/main_test.py91 # if we don't find a job, just returnCOMMENT
MEDIUMdialogflow-cx/streaming_detect_intent_infinite.py413 if e.code == 500: # Consider making this more robustCODE
LOWdialogflow-cx/webhook_prebuilt_telecom.py69 # If bill hike amount is given - we just add it to the total billCOMMENT
LOWauth/custom-credentials/aws/snippets.py127 # will be the values we just set. In a containerized run, they will beCOMMENT
MEDIUMcomposer/airflow_1_samples/kubernetes_pod_operator.py56# for best practicesCOMMENT
MEDIUMcomposer/airflow_1_samples/unit_testing_cycle.py24# for best practicesCOMMENT
MEDIUMcomposer/airflow_1_samples/hadoop_tutorial.py39# for best practicesCOMMENT
MEDIUMcomposer/airflow_1_samples/unit_testing_variables.py25# for best practicesCOMMENT
MEDIUMcomposer/airflow_1_samples/quickstart.py23# for best practicesCOMMENT
MEDIUMcomposer/airflow_1_samples/bq_copy_across_locations.py54# for best practicesCOMMENT
MEDIUMcomposer/workflows/kubernetes_pod_operator.py57# for best practicesCOMMENT
MEDIUMcomposer/workflows/airflow_db_cleanup.py106# It's converted to facilitate version comparison.COMMENT
MEDIUMcomposer/workflows/unit_testing_cycle.py24# for best practicesCOMMENT
MEDIUMcomposer/workflows/hadoop_tutorial.py39# for best practicesCOMMENT
MEDIUMcomposer/workflows/unit_testing_variables.py25# for best practicesCOMMENT
MEDIUMcomposer/workflows/quickstart.py23# for best practicesCOMMENT
MEDIUMcomposer/workflows/bq_copy_across_locations.py54# for best practicesCOMMENT
MEDIUMcomposer/workflows/kubernetes_pod_operator_c2.py56# for best practicesCOMMENT
MEDIUMcomposer/cicd_sample/dags/example2_dag.py22# for best practicesCOMMENT
MEDIUMcomposer/cicd_sample/dags/example_dag.py21# for best practicesCOMMENT
MEDIUMcomposer/rest/composer2/composer2_airflow_rest_api.py31# Following GCP best practices, these credentials should beCOMMENT
LOWappengine/standard/search/snippets/snippets.py208 # sample we'll just use the first document.COMMENT
MEDIUMbigquery/bqml/data_scientist_tutorial_test.py27# other invocations of this tutorial. In practice, you could leverageCOMMENT
MEDIUMbigquery/bqml/ncaa_tutorial_test.py27# other invocations of this tutorial. In practice, you could leverageCOMMENT
LOW…l_buckets/storage_finalize_appendable_object_upload.py52 # 2. If you don't want to finalize, you can simply call `writer.close`COMMENT
MEDIUMiam/cloud-client/snippets/set_policy.py53 # but it means that request may fail and you need to leverage exponential retries approachCOMMENT
MEDIUMiam/cloud-client/snippets/service_account_set_policy.py48 # may fail and you need to leverage exponential retries approachCOMMENT
MEDIUM…tive_ai/model_tuning/create_evaluation_task_example.py39 """As part of a comprehensive initiative to tackle urban congestion and fosterSTRING
MEDIUMbigquery-datatransfer/snippets/scheduled_query.py34 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMbigquery-datatransfer/snippets/scheduled_query.py35 # provided by the testing harness.COMMENT
MEDIUMbigquery-datatransfer/snippets/copy_dataset.py27 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMbigquery-datatransfer/snippets/copy_dataset.py28 # provided by the testing harness.COMMENT
MEDIUM…query-datatransfer/snippets/manage_transfer_configs.py26 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUM…query-datatransfer/snippets/manage_transfer_configs.py27 # provided by the testing harness.COMMENT
MEDIUM…query-datatransfer/snippets/manage_transfer_configs.py67 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUM…query-datatransfer/snippets/manage_transfer_configs.py68 # provided by the testing harness.COMMENT
MEDIUMbigquery-datatransfer/snippets/quickstart.py29 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMbigquery-datatransfer/snippets/quickstart.py30 # provided by the testing harness.COMMENT
MEDIUMgenai/tools/tools_urlcontext_with_txt.py48 # * **Description**: This is Google's most advanced model, described as a "state-of-the-art thinking model". It exCOMMENT
MEDIUM…i/code_execution/codeexecution_barplot_with_txt_img.py144 # Based on the data provided in the table, I have calculated the per-category performance of Gemini 3 Pro normalCOMMENT
MEDIUMdatacatalog/snippets/create_fileset.py29 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMdatacatalog/snippets/create_fileset.py30 # provided by the testing harness.COMMENT
MEDIUMdatacatalog/snippets/grant_tag_template_user_role.py34 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMdatacatalog/snippets/grant_tag_template_user_role.py35 # provided by the testing harness.COMMENT
MEDIUMdatacatalog/snippets/search_assets.py30 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMdatacatalog/snippets/search_assets.py31 # provided by the testing harness.COMMENT
MEDIUMdatacatalog/snippets/lookup_entry.py34 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMdatacatalog/snippets/lookup_entry.py35 # provided by the testing harness.COMMENT
MEDIUMdatacatalog/snippets/create_custom_entry.py33 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMdatacatalog/snippets/create_custom_entry.py34 # provided by the testing harness.COMMENT
MEDIUMdatacatalog/quickstart/quickstart.py34 # To facilitate testing, we replace values with alternativesCOMMENT
MEDIUMdatacatalog/quickstart/quickstart.py35 # provided by the testing harness.COMMENT
Redundant / Tautological Comments93 hits · 141 pts
SeverityFileLineSnippetContext
LOW…taflow/flex-templates/streaming_beam/streaming_beam.py91 # Output the results into BigQuery table.COMMENT
LOWprivateca/snippets/conftest.py53 # Check if the CA is enabled.COMMENT
LOWprivateca/snippets/delete_certificate_authority.py40 # Check if the CA is enabled.COMMENT
LOWprivateca/snippets/delete_certificate_authority.py69 # Check if the CA has been deleted.COMMENT
LOWprivateca/snippets/enable_certificate_authority.py52 # Check if the CA is enabled.COMMENT
LOWprivateca/snippets/disable_certificate_authority.py49 # Check if the CA is disabled.COMMENT
LOW…ct-center-insights/snippets/test_create_issue_model.py37 # Check if the project has the minimum number of conversations required to create an issue model.COMMENT
LOWkms/attestations/verify_attestation.py60 # Check if the data was signed by the private key associatedCOMMENT
LOWdocumentai/snippets/process_document_sample.py57 # Read the file into memoryCOMMENT
LOWdocumentai/snippets/handle_response_sample_v1beta3.py139 # Read the file into memoryCOMMENT
LOWdocumentai/snippets/quickstart_sample.py60 # Read the file into memory.COMMENT
LOWdocumentai/snippets/handle_response_sample.py529 # Read the file into memoryCOMMENT
LOWdocumentai/snippets/review_document_sample.py79 # Read the file into memoryCOMMENT
LOW…/snippets/set_default_processor_version_sample_test.py40 # Set back to previous defaultCOMMENT
LOWauth/cloud-client-temp/custom_okta_supplier.py66 # Check if the current token is still valid (with a 60-second buffer).COMMENT
LOWappengine/standard/blobstore/gcs/main.py46 # Read the file's contents using the Blobstore API.COMMENT
LOW…d/migration/taskqueue/pull-counter/appengine_config.py19# Set path to your libraries folder.COMMENT
LOW…standard/migration/ndb/redis_cache/appengine_config.py18# Set path to your libraries folder.COMMENT
LOW…ne/standard/migration/ndb/overview/appengine_config.py18# Set path to your libraries folder.COMMENT
LOW…ine/standard/migration/memorystore/appengine_config.py18# Set path to your libraries folder.COMMENT
LOWappengine/standard_python3/pubsub/appengine_config.py19# Set path to your libraries folder.COMMENT
LOWlanguage/snippets/sentiment/sentiment_analysis.py55 # Print the resultsCOMMENT
LOWretail/interactive-tutorials/user_environment_setup.sh44# Check if user has service account activeCOMMENT
LOWretail/interactive-tutorials/user_environment_setup.sh71# Check if any of the needed roles is missingCOMMENT
LOW…torials/events/setup_events/update_user_events_json.py42 # Write the file out againCOMMENT
LOWbigquery/continuous-queries/programmatic_retries.py61 # Check if required fields are missingCOMMENT
LOWautoml/snippets/vision_classification_predict.py31 # Read the file.COMMENT
LOWautoml/snippets/vision_object_detection_predict.py31 # Read the file.COMMENT
LOWautoml/snippets/translate_predict.py31 # Read the file content for translation.COMMENT
LOWalm/ui-examples/app.py118 # Open the file and send as multipart/form-dataCOMMENT
LOWspeech/snippets/transcribe_diarization_gcs_beta.py62 # Print the outputCOMMENT
LOWstorage/samples/snippets/hmac_samples_test.py58 # Check if the failure is due to the Organization Policy constraintCOMMENT
LOWiam/cloud-client/snippets/test_project_policies.py49 # Check if the account was created correctly using exponential backoff.COMMENT
LOWiam/cloud-client/snippets/test_deny_policies.py39 # Check if the created policy is listed.COMMENT
LOWiam/cloud-client/snippets/test_deny_policies.py49 # Check if the policy rule is updated.COMMENT
LOWiam/cloud-client/snippets/test_service_account_key.py66 # Check if the account was created correctly using exponential backoff.COMMENT
LOWiam/cloud-client/snippets/quickstart_test.py43 # Check if the account was created correctly using exponential backoff.COMMENT
LOWiam/cloud-client/snippets/test_service_account.py45 # Check if the account was created correctly using exponential backoff.COMMENT
LOWcompute/metadata/vm_identity_test.py38 # Check if we're running in a GCP VM:COMMENT
LOW…client_library/snippets/disks/replication_disk_stop.py92 # Check if the primary disk is in a region or a zoneCOMMENT
LOW…lient_library/snippets/disks/replication_disk_start.py97 # Check if the primary disk location is a region or a zone.COMMENT
LOW…ances/create_start_instance/create_windows_instance.py331 external_access=True, # Set this to False to disable external IP for your instanceCODE
LOW…s/instances/custom_machine_types/create_with_helper.py136 # Check if the requested memory isn't too littleCOMMENT
LOW…s/instances/custom_machine_types/create_with_helper.py142 # Check if the requested memory isn't too muchCOMMENT
LOW…nippets/instances/custom_machine_types/helper_class.py127 # Check if the requested memory isn't too littleCOMMENT
LOW…nippets/instances/custom_machine_types/helper_class.py133 # Check if the requested memory isn't too muchCOMMENT
LOW…nces/custom_machine_types/create_shared_with_helper.py136 # Check if the requested memory isn't too littleCOMMENT
LOW…nces/custom_machine_types/create_shared_with_helper.py142 # Check if the requested memory isn't too muchCOMMENT
LOW…ent_library/ingredients/disks/replication_disk_stop.py36 # Check if the primary disk is in a region or a zoneCOMMENT
LOW…nt_library/ingredients/disks/replication_disk_start.py41 # Check if the primary disk location is a region or a zone.COMMENT
LOW…ances/create_start_instance/create_windows_instance.py84 external_access=True, # Set this to False to disable external IP for your instanceCODE
LOW…edients/instances/custom_machine_types/helper_class.py123 # Check if the requested memory isn't too littleCOMMENT
LOW…edients/instances/custom_machine_types/helper_class.py129 # Check if the requested memory isn't too muchCOMMENT
LOWrecaptcha_enterprise/snippets/create_mfa_assessment.py108 # Check if the token is valid.COMMENT
LOWrecaptcha_enterprise/snippets/create_mfa_assessment.py117 # Check if the expected action was executed.COMMENT
LOWrecaptcha_enterprise/snippets/create_assessment.py65 # Check if the token is valid.COMMENT
LOWrecaptcha_enterprise/snippets/create_assessment.py74 # Check if the expected action was executed.COMMENT
LOWrecaptcha_enterprise/demosite/app/urls.py78 # Check if the token is valid, score is above threshold score and the action equals expected.COMMENT
LOWrecaptcha_enterprise/demosite/app/urls.py127 # Check if the token is valid, score is above threshold score and the action equals expected.COMMENT
LOWrecaptcha_enterprise/demosite/app/urls.py131 # Check if the login credentials exist and match.COMMENT
33 more matches not shown…
Slop Phrases34 hits · 93 pts
SeverityFileLineSnippetContext
MEDIUMprivateca/snippets/create_certificate.py52 # Also you can use Cloud KMS to retrieve an already created public key.COMMENT
MEDIUMprivateca/snippets/create_certificate_csr.py47 # Also you can use Cloud KMS to retrieve an already created public key.COMMENT
LOWkubernetes_engine/django_tutorial/mysite/settings.py29# SECURITY WARNING: If you deploy a Django app to production, make sure to setCOMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py208 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py51 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py75 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py102 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py168 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py266 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py300 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py328 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py396 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py432 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py476 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_findings.py523 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets/snippets_security_marks.py188 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets_v2/snippets_findings_v2.py253 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets_v2/snippets_findings_v2.py313 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets_v2/snippets_findings_v2.py383 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUMsecuritycenter/snippets_v2/snippets_findings_v2.py415 # created previously (you can use list_sources to find a specific one).COMMENT
MEDIUM…d-media-livestream/keypublisher/clients/fake_client.py15"""File containing a fake CPIX client for demonstration purposes."""STRING
MEDIUM…d-media-livestream/keypublisher/clients/fake_client.py25 """Fake CPIX client, for demonstration purposes only."""STRING
MEDIUM…airflow_1_samples/dataflowtemplateoperator_tutorial.py70 # Below is a list of all the templates you can use.COMMENT
MEDIUMcomposer/workflows/dataflowtemplateoperator_tutorial.py71 # Below is a list of all the templates you can use.COMMENT
LOWappengine/flexible/django_cloudsql/mysite/settings.py65# app not on App Engine, make sure to set an appropriate host here.COMMENT
MEDIUM…engine/standard/ndb/async/app_toplevel/app_toplevel.py37# for demonstration purposes, you can also make the entire app toplevel withCOMMENT
MEDIUMappengine/standard_python3/django/main.py22# Alternatively, you can add a custom entrypoint field in your app.yaml:COMMENT
MEDIUMbigquery/bigframes/call_python_udf.py73 # has been deployed to bigquery-utils for demonstration purposes. To use inCOMMENT
MEDIUM…ge/samples/snippets/storage_generate_encryption_key.py26 This is included for demonstration purposes. You should generate your ownSTRING
MEDIUMcloud-sql/postgres/sqlalchemy/deployment.yaml77 # If connecting from a VPC-native GKE cluster, you can use theCOMMENT
MEDIUMcloud-sql/sql-server/sqlalchemy/deployment.yaml49 # If connecting from a VPC-native GKE cluster, you can use theCOMMENT
MEDIUMcloud-sql/sql-server/sqlalchemy/deployment.yaml76 # If connecting from a VPC-native GKE cluster, you can use theCOMMENT
MEDIUMcloud-sql/mysql/sqlalchemy/deployment.yaml77 # If connecting from a VPC-native GKE cluster, you can use theCOMMENT
MEDIUMgenai/thinking/thinking_budget_with_txt.py35 # To solve the equation $x^2 + 4x + 4 = 0$, you can use several methods:COMMENT
Deep Nesting93 hits · 92 pts
SeverityFileLineSnippetContext
LOWowlbot.py29CODE
LOWvideo/live-stream/channel_test.py45CODE
LOWdialogflow/streaming_transcription.py164CODE
LOWdialogflow/streaming_transcription.py111CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py433CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py200CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py359CODE
LOWdialogflow-cx/webhook_prebuilt_telecom.py24CODE
LOWfirestore/cloud-client/snippets_test.py56CODE
LOWfirestore/cloud-client/snippets.py744CODE
LOWfirestore/cloud-client/snippets.py752CODE
LOWservice_extensions/callouts/add_header/test_server.py70CODE
LOWhealthcare/api-client/v1/consent/consent_stores.py417CODE
LOW…lthcare/api-client/v1/consent/attribute_definitions.py430CODE
LOWhealthcare/api-client/v1/hl7v2/hl7v2_stores.py389CODE
LOWhealthcare/api-client/v1/hl7v2/hl7v2_messages.py380CODE
LOWhealthcare/api-client/v1/dicom/dicomweb.py499CODE
LOWhealthcare/api-client/v1/dicom/dicom_stores.py507CODE
LOWhealthcare/api-client/v1/fhir/fhir_stores.py538CODE
LOWhealthcare/api-client/v1/fhir/fhir_resources.py1674CODE
LOWhealthcare/api-client/v1beta1/fhir/fhir_stores.py171CODE
LOWhealthcare/api-client/v1beta1/fhir/fhir_resources.py434CODE
LOWcomposer/airflow_1_samples/airflow_db_cleanup.py335CODE
LOWcomposer/workflows/airflow_db_cleanup.py414CODE
LOWappengine/standard/ndb/transactions/main.py152CODE
LOWappengine/standard/i18n/i18n_utils.py40CODE
LOWappengine/standard/i18n/i18n_utils.py72CODE
LOWvision/snippets/detect/beta_snippets.py94CODE
LOWvision/snippets/detect/beta_snippets.py150CODE
LOWvision/snippets/detect/beta_snippets.py204CODE
LOWvision/snippets/detect/beta_snippets.py261CODE
LOWvision/snippets/detect/vision_batch_annotate_files.py21CODE
LOW…ion/snippets/detect/vision_batch_annotate_files_gcs.py20CODE
LOWvision/snippets/detect/detect.py544CODE
LOWvision/snippets/detect/detect.py620CODE
LOWvision/snippets/detect/detect.py826CODE
LOWvision/snippets/detect/detect.py874CODE
LOWvision/snippets/detect/detect.py1050CODE
LOWvision/snippets/detect/detect.py1077CODE
LOWvision/snippets/document_text/doctext.py73CODE
LOWalm/ui-examples/app.py176CODE
LOWpeople-and-planet-ai/conftest.py196CODE
LOWpeople-and-planet-ai/conftest.py210CODE
LOWspeech/microphone/transcribe_streaming_infinite_v2.py160CODE
LOWspeech/microphone/transcribe_streaming_mic.py109CODE
LOWspeech/microphone/transcribe_streaming_infinite.py156CODE
LOW…ointelligence/samples/analyze/video_detect_logo_gcs.py20CODE
LOWvideointelligence/samples/analyze/video_detect_logo.py23CODE
LOWcompute/oslogin/oslogin_service_account_ssh.py124CODE
LOWcompute/client_library/sgs.py98CODE
LOWcompute/client_library/sgs.py120CODE
LOWcompute/client_library/sgs.py150CODE
LOWcompute/client_library/sgs.py178CODE
LOWcompute/client_library/test_sgs.py37CODE
LOW…s/instances/custom_machine_types/create_with_helper.py180CODE
LOW…nippets/instances/custom_machine_types/helper_class.py171CODE
LOW…nces/custom_machine_types/create_shared_with_helper.py180CODE
LOW…ibrary/snippets/instances/ip_address/get_vm_address.py54CODE
LOWcompute/client_library/snippets/routes/create.py80CODE
LOW…ute/client_library/snippets/routes/create_kms_route.py92CODE
33 more matches not shown…
AI Response Leakage11 hits · 82 pts
SeverityFileLineSnippetContext
HIGHasset/snippets/quickstart_update_saved_query.py34 # In this example, we only update description of the saved_query.COMMENT
HIGHasset/snippets/quickstart_updatefeed.py34 # In this example, we update topic of the feedCOMMENT
HIGHcomposer/airflow_1_samples/simple.py70 # operators. In this example, hello_python executes before goodbye_bash.COMMENT
HIGHcomposer/workflows/simple.py66 # operators. In this example, hello_python executes before goodbye_bash.COMMENT
HIGH…e/client_library/snippets/snapshots/schedule_create.py110 # In this example we use daily_schedule - every day, starts between 12:00 AM and 1:00 AMCOMMENT
HIGH…lient_library/ingredients/snapshots/schedule_create.py54 # In this example we use daily_schedule - every day, starts between 12:00 AM and 1:00 AMCOMMENT
HIGHdlp/snippets/Inspect/inspect_gcs_test.py71 # In this example, we'll call the callback function with a mock messageCOMMENT
HIGH…nippets/Inspect/inspect_bigquery_with_sampling_test.py70 # In this example, we'll call the callback function with a mock messageCOMMENT
HIGHdlp/snippets/Inspect/inspect_gcs_with_sampling_test.py70 # In this example, we'll call the callback function with a mock messageCOMMENT
HIGHdlp/snippets/Inspect/inspect_bigquery_test.py70 # In this example, we'll call the callback function with a mock messageCOMMENT
HIGHdlp/snippets/Inspect/inspect_datastore_test.py72 # In this example, we'll call the callback function with a mock messageCOMMENT
AI Structural Patterns54 hits · 54 pts
SeverityFileLineSnippetContext
LOWdataflow/run_template/main.py62CODE
LOWcloud_scheduler/snippets/create_job.py57CODE
LOWdialogflow/webhook.py39CODE
LOWdialogflow/update_intent.py30CODE
LOWdialogflow-cx/long_running_operation_test.py43CODE
LOWdialogflow-cx/update_intent_test.py46CODE
LOWdialogflow-cx/page_management.py45CODE
LOWdialogflow-cx/page_management.py63CODE
LOWdialogflow-cx/page_management.py77CODE
LOWdialogflow-cx/webhook.py41CODE
LOWdialogflow-cx/webhook_log_session_info.py46CODE
LOWdialogflow-cx/update_intent.py30CODE
LOWdialogflow-cx/create_agent.py36CODE
LOW…ice_extensions/callouts/add_header/service_pb2_grpc.py138CODE
LOWappengine/flexible/tasks/snippets.py176CODE
LOWappengine/flexible/tasks/snippets.py191CODE
LOWappengine/flexible/tasks/snippets.py206CODE
LOWappengine/flexible/tasks/snippets.py221CODE
LOW…ndard_python3/bundled-services/blobstore/flask/main.py82CODE
LOWlanguage/snippets/api/analyze.py45CODE
LOWlanguage/snippets/api/analyze.py59CODE
LOWlanguage/snippets/api/analyze.py73CODE
LOWcompute/client_library/snippets/instances/create.py137CODE
LOW…lient_library/snippets/instances/create_with_subnet.py137CODE
LOW…nces/create_start_instance/create_from_public_image.py137CODE
LOW…nces/create_start_instance/create_from_custom_image.py137CODE
LOW…es/create_start_instance/create_with_existing_disks.py95CODE
LOW…stances/create_start_instance/create_with_local_ssd.py157CODE
LOW…s/create_start_instance/create_with_additional_disk.py167CODE
LOW…te_start_instance/create_with_snapshotted_data_disk.py174CODE
LOW…ances/create_start_instance/create_windows_instance.py138CODE
LOW…nstances/create_start_instance/create_from_snapshot.py119CODE
LOW…ces/create_start_instance/create_with_regional_disk.py82CODE
LOW…s/instances/custom_machine_types/create_with_helper.py331CODE
LOW…nstances/custom_machine_types/create_without_helper.py137CODE
LOW…/instances/custom_machine_types/extra_mem_no_helper.py137CODE
LOW…nces/custom_machine_types/create_shared_with_helper.py331CODE
LOW…y/snippets/instances/preemptible/create_preemptible.py137CODE
LOW…nces/ip_address/assign_static_external_ip_to_new_vm.py137CODE
LOW…t_library/snippets/instances/custom_hostname/create.py137CODE
LOW…library/snippets/instances/delete_protection/create.py137CODE
LOW…mpute/client_library/snippets/instances/spot/create.py137CODE
LOW…lient_library/ingredients/instances/create_instance.py29CODE
LOW…se/demosite/app/backend/create_recaptcha_assessment.py53CODE
LOWcontentwarehouse/snippets/update_document_sample.py56CODE
LOW…entwarehouse/snippets/delete_document_schema_sample.py58CODE
LOWcontentwarehouse/snippets/get_document_sample.py48CODE
LOWcontentwarehouse/snippets/delete_document_sample.py49CODE
LOWcontentwarehouse/snippets/create_document_sample.py82CODE
LOWdlp/snippets/Deidentify/deidentify_date_shift.py32CODE
LOWcontaineranalysis/snippets/get_note.py30CODE
LOWcontaineranalysis/snippets/create_note.py44CODE
LOWmedia_cdn/dualtoken.py40CODE
LOWvmwareengine/cloud-client/create_legacy_network.py48CODE
Fake / Example Data38 hits · 42 pts
SeverityFileLineSnippetContext
LOW…ace/cloud-trace-demo-app-opentelemetry/app/app_test.py24 expected = "Lorem ipsum dolor sit amet"CODE
LOW…ace/cloud-trace-demo-app-opentelemetry/app/app_test.py24 expected = "Lorem ipsum dolor sit amet"CODE
LOWendpoints/bookstore-grpc/jwt_token_gen.py52 "email": "user@example.com",CODE
LOW…d-media-livestream/keypublisher/clients/fake_client.py42 fake_key = secrets.token_hex(16)CODE
LOW…d-media-livestream/keypublisher/clients/fake_client.py46 "key": fake_key,CODE
LOW…d-media-livestream/keypublisher/clients/fake_client.py48 f"https://storage.googleapis.com/bucket-name/{fake_key}.bin"CODE
LOWcomposer/workflows/email_operator_sendgrid.py40 to="user@example.com",CODE
LOWappengine/standard/appengine_helper.py140 def _login(email="user@example.com", id="123", is_admin=False):CODE
LOWappengine/standard/endpoints/backend/main_test.py52 user_mock.return_value.email.return_value = "user@example.com"CODE
LOWappengine/standard/ndb/entities/snippets_test.py215 user = users.User(email="user@example.com", _user_id="123")CODE
LOWappengine/standard/iap/main_test.py29 assert "user@example.com" in response.bodyCODE
LOW…ine/standard/endpoints-frameworks-v2/echo/main_test.py39 user_mock.return_value.email.return_value = "user@example.com"CODE
LOW…ine/standard/endpoints-frameworks-v2/echo/main_test.py41 assert "user@example.com" == response.messageCODE
LOW…andard/endpoints-frameworks-v2/quickstart/main_test.py52 user_mock.return_value.email.return_value = "user@example.com"CODE
LOWappengine/standard/users/main_test.py29 assert "user@example.com" in response.bodyCODE
LOWappengine/standard_python3/pubsub/main_test.py53def fake_token(signer):CODE
LOWappengine/standard_python3/pubsub/main_test.py86def test_push_endpoint(monkeypatch, client, fake_token):CODE
LOWappengine/standard_python3/pubsub/main_test.py99 headers=dict(Authorization="Bearer " + fake_token.decode("utf-8")),CODE
LOW…aptcha_enterprise/demosite/app/static/demo-2af4c10e.js3993 <input type="email" value="user@example.com" disabled />CODE
LOW…aptcha_enterprise/demosite/app/static/demo-2af4c10e.js4018 <input type="email" value="user@example.com" disabled />CODE
LOWeventarc/audit_iam/main_test.py46 "authenticationInfo": {"principalEmail": "user@example.com"},CODE
LOW…om_Infotype/inspect_string_custom_omit_overlap_test.py31 assert "John Doe" in outCODE
LOW…nspect/inspect_send_data_to_hybrid_job_trigger_test.py41 content_string = "My email is test@example.org"CODE
LOW…ets/Inspect/inspect_column_values_w_custom_hotwords.py134 '"[["example1@example.org", "test1@example.com],'CODE
LOW…ets/Inspect/inspect_column_values_w_custom_hotwords.py135 '["example2@example.org", "test2@example.com]]"',CODE
LOW…/snippets/Deidentify/deidentify_exception_list_test.py24 content_str = "jack@example.org accessed record of user: gary@example.org"CODE
LOW…/snippets/Deidentify/deidentify_exception_list_test.py25 exception_list = ["jack@example.org", "jill@example.org"]CODE
LOW…/snippets/Deidentify/deidentify_exception_list_test.py32 assert "gary@example.org" not in outCODE
LOW…s/Deidentify/deidentify_table_with_crypto_hash_test.py28 "abby_abernathy@example.org",CODE
LOW…s/Deidentify/deidentify_table_with_crypto_hash_test.py32 "bert_beauregard@example.org",CODE
LOW…s/Deidentify/deidentify_table_with_crypto_hash_test.py36 "cathy_crenshaw@example.org",CODE
LOW…s/Deidentify/deidentify_table_with_crypto_hash_test.py51 assert "abby_abernathy@example.org" not in outCODE
LOW…ify/deidentify_table_with_multiple_crypto_hash_test.py31 "user1@example.org",CODE
LOW…ify/deidentify_table_with_multiple_crypto_hash_test.py53 assert "user1@example.org" not in outCODE
LOWdlp/snippets/Deidentify/deidentify_table_infotypes.py54 ["John Doe", "johndoe@example.com", "4253458383"]STRING
LOW…aanalytics/dataengineeringagent/dea_a2a_client_test.py124 token = "fake-token"CODE
LOW…aanalytics/dataengineeringagent/dea_a2a_client_test.py181 token = "fake-token"CODE
LOW…aanalytics/dataengineeringagent/dea_a2a_client_test.py247 token = "fake-token"CODE
Modern AI Meta-Vocabulary12 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMstoragetransfer/event_driven_gcs_transfer.py43 # description = 'Creates an event-driven transfer that tracks a pubsub subscription'COMMENT
MEDIUMstoragetransfer/event_driven_aws_transfer.py45 # description = 'Creates an event-driven transfer that tracks an SQS queue'COMMENT
MEDIUMgenerative_ai/rag/create_corpus_pinecone_example.py44 # Configure embedding model (Optional)COMMENT
MEDIUM…nerative_ai/rag/create_corpus_feature_store_example.py42 # Configure embedding model (Optional)COMMENT
MEDIUMgenerative_ai/rag/quickstart_example.py38 # Create a RAG Corpus, Import Files, and Generate a responseCOMMENT
MEDIUMgenerative_ai/rag/quickstart_example.py50 # Configure embedding model, for example "text-embedding-005".COMMENT
MEDIUMgenerative_ai/rag/quickstart_example.py105 # Create a RAG retrieval toolCOMMENT
MEDIUMgenerative_ai/rag/quickstart_example.py136 # RAG stands for Retrieval-Augmented Generation.COMMENT
MEDIUMgenerative_ai/rag/create_corpus_weaviate_example.py46 # Configure embedding model (Optional)COMMENT
MEDIUM…nerative_ai/rag/create_corpus_vector_search_example.py43 # Configure embedding model (Optional)COMMENT
MEDIUMgenai/tools/tools_urlcontext_with_txt.py48 # * **Description**: This is Google's most advanced model, described as a "state-of-the-art thinking model". It exCOMMENT
MEDIUMgenai/tools/tools_urlcontext_with_txt.py56 # * **Description**: Positioned as "fast and intelligent," Gemini 2.5 Flash is highlighted as Google's best model COMMENT
Magic Placeholder Names7 hits · 38 pts
SeverityFileLineSnippetContext
HIGHdiscoveryengine/search_lite_sample.py25# api_key = "YOUR_API_KEY"COMMENT
HIGHendpoints/getting-started/README.md60$ python clients/echo-client.py https://YOUR-PROJECT-ID.appspot.com YOUR-API-KEY helloworldCODE
HIGHendpoints/getting-started/README.md80$ python clients/google-jwt-client.py https://YOUR-PROJECT-ID.appspot.com YOUR-API-KEY /path/to/service-account.jsonCODE
HIGHendpoints/getting-started/README.md99$ python clients/google-id-token-client.py https://YOUR-PROJECT-ID.appspot.com YOUR-API-KEY /path/to/client-id.jsonCODE
HIGHcloud-media-livestream/keypublisher/README.md212 'https://livestream-key-publisher-api-gateway-48mwfke9.uc.gateway.dev/keys?api_key=YOUR_API_KEY' \CODE
HIGHgenai/express_mode/api_key_example.py21 API_KEY = "YOUR_API_KEY"CODE
HIGHgenai/express_mode/test_express_mode_examples.py41 mock_genai_client.assert_called_once_with(vertexai=True, api_key="YOUR_API_KEY")CODE
Modern Structural Boilerplate26 hits · 26 pts
SeverityFileLineSnippetContext
LOWcontact-center-insights/snippets/set_project_ttl.py22def set_project_ttl(project_id: str) -> None:CODE
LOWsecuritycenter/snippets/snippets_mute_config.py141def update_mute_rule(mute_config_name: str) -> None:CODE
LOWsecuritycenter/snippets/snippets_mute_config.py180def set_mute_finding(finding_path: str) -> None:CODE
LOWsecuritycenter/snippets/snippets_mute_config.py209def set_unmute_finding(finding_path: str) -> None:CODE
LOWsecuritycenter/snippets/snippets_mute_config.py238def set_undefined_finding(finding_path: str) -> None:CODE
LOWsecuritycenter/snippets_v2/mute_findings_v2.py19def set_mute_finding(finding_path: str) -> None:CODE
LOWsecuritycenter/snippets_v2/mute_findings_v2.py49def set_unmute_finding(finding_path: str) -> None:CODE
LOWdialogflow-cx/streaming_detect_intent_infinite.py85logger = logging.getLogger(__name__)CODE
LOWcomposer/tools/composer_dags.py29logger = logging.getLogger(__name__)CODE
LOWcomposer/tools/composer_migrate.py29logger = logging.getLogger(__name__)CODE
LOWmemorystore/memcache/quickstart.py76def update_instance(instance: memcache_v1.Instance, display_name: str) -> None:CODE
LOWsecretmanager/snippets/regional_samples/__init__.py5__all__ = [CODE
LOWlanguage/snippets/cloud-client/v1/set_endpoint.py16def set_endpoint() -> None:CODE
LOWiam/cloud-client/snippets/update_deny_policy.py22def update_deny_policy(project_id: str, policy_id: str, etag: str) -> None:CODE
LOWrecaptcha_enterprise/snippets/test_create_assessment.py180def set_score(browser: WebDriver, score: str) -> None:CODE
LOWrecaptcha_enterprise/snippets/update_site_key.py23def update_site_key(project_id: str, recaptcha_site_key: str, domain_name: str) -> None:CODE
LOW…ing_engine/create_reasoning_engine_advanced_example.py46 def set_up(self) -> None:CODE
LOW…/client-side-encryption/snippets/cloud_kms_env_aead.py22logger = logging.getLogger(__name__)CODE
LOW…nt-side-encryption/snippets/encrypt_and_insert_data.py27logger = logging.getLogger(__name__)CODE
LOW…/client-side-encryption/snippets/cloud_kms_env_aead.py22logger = logging.getLogger(__name__)CODE
LOW…nt-side-encryption/snippets/encrypt_and_insert_data.py27logger = logging.getLogger(__name__)CODE
LOW…/client-side-encryption/snippets/cloud_kms_env_aead.py22logger = logging.getLogger(__name__)CODE
LOW…nt-side-encryption/snippets/encrypt_and_insert_data.py26logger = logging.getLogger(__name__)CODE
LOWrun/mcp-server/server.py26logger = logging.getLogger(__name__)CODE
LOWrun/mcp-server/otel_setup.py29logger = logging.getLogger(__name__)CODE
LOWparametermanager/snippets/regional_samples/__init__.py5__all__ = [CODE
Cross-Language Confusion5 hits · 16 pts
SeverityFileLineSnippetContext
HIGHcompute/client_library/snippets/images/create.py104 storage_location: storage location for the image. If the value is undefined,STRING
HIGHcompute/client_library/ingredients/images/create.py50 storage_location: storage location for the image. If the value is undefined,STRING
HIGH…/controlled_generation/ctrlgen_with_nullable_schema.py66 # {"Day": "Tuesday", "Forecast": "rain showers", "Temperature": 64, "Wind Speed": null, "Humidity": "70%"},STRING
HIGH…/controlled_generation/ctrlgen_with_nullable_schema.py67 # {"Day": "Wednesday", "Forecast": "thunderstorms", "Temperature": 68, "Wind Speed": null},STRING
HIGH…/controlled_generation/ctrlgen_with_nullable_schema.py68 # {"Day": "Thursday", "Forecast": "cloudy", "Temperature": 66, "Wind Speed": null, "Humidity": "60%"},STRING
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOWdataplex/quickstart/quickstart_test.py52 # Step 6 - result from SearchCOMMENT
LOW…control/hierarchical-namespace/delete_empty_folders.py299 # Step 1: Discover and Partition Folders.COMMENT
LOW…control/hierarchical-namespace/delete_empty_folders.py312 # Step 2: Iterate and delete by depth (from max to min).COMMENT
LOWstorage/cloudbuild/zb-system-tests-cloudbuild.yaml26 # Step 0: Generate a persistent SSH key for this build run.COMMENT
LOWstorage/cloudbuild/zb-system-tests-cloudbuild.yaml97 # Step 2: Run the integration tests inside the newly created VM and cleanup.COMMENT
LOW…analysis/storage_soft_delete_relative_cost_analyzer.py79 # Step 1: Get storage class ratios for each bucket.COMMENT
LOW…analysis/storage_soft_delete_relative_cost_analyzer.py84 # Step 2: Fetch soft-deleted bytes and calculate costs using Monitoring API.COMMENT
LOWfunctions/billing_stop_on_notification/stop_billing.py16# WARNING: The following action, if not in simulation mode, will disable billingCOMMENT
Example Usage Blocks8 hits · 12 pts
SeverityFileLineSnippetContext
LOW…les/snippets/storage_transfer_manager_download_many.py15# Example usage:COMMENT
LOWrun/idp-sql/retry.sh21# Usage:COMMENT
LOWrun/jobs/retry.sh21# Usage:COMMENT
LOWrun/django/retry.sh21# Usage:COMMENT
LOWdataproc/snippets/submit_job.py20# Usage:COMMENT
LOW…ets/submit_pyspark_job_to_driver_node_group_cluster.py21# Usage:COMMENT
LOWdataproc/snippets/update_cluster.py20# Usage:COMMENT
LOW…ppets/submit_spark_job_to_driver_node_group_cluster.py21# Usage:COMMENT
Verbosity Indicators6 hits · 10 pts
SeverityFileLineSnippetContext
LOW…control/hierarchical-namespace/delete_empty_folders.py299 # Step 1: Discover and Partition Folders.COMMENT
LOW…control/hierarchical-namespace/delete_empty_folders.py312 # Step 2: Iterate and delete by depth (from max to min).COMMENT
LOWstorage/cloudbuild/zb-system-tests-cloudbuild.yaml26 # Step 0: Generate a persistent SSH key for this build run.COMMENT
LOWstorage/cloudbuild/zb-system-tests-cloudbuild.yaml97 # Step 2: Run the integration tests inside the newly created VM and cleanup.COMMENT
LOW…analysis/storage_soft_delete_relative_cost_analyzer.py79 # Step 1: Get storage class ratios for each bucket.COMMENT
LOW…analysis/storage_soft_delete_relative_cost_analyzer.py84 # Step 2: Fetch soft-deleted bytes and calculate costs using Monitoring API.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALpeople-and-planet-ai/geospatial-classification/task.py122 normalizer = tf.keras.layers.experimental.preprocessing.Normalization()CODE