AI Slop Code Risk Monitor

GoogleCloudPlatform/knowledge-catalog

SlopCodeMonitor badge for GoogleCloudPlatform/knowledge-catalog Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Google Cloud Knowledge Catalog Tools and Samples

5.5 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for GoogleCloudPlatform/knowledge-catalog, a TypeScript project with 9,575 GitHub stars. SynthScan examined 153,666 lines of code across 484 source files, recording 722 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 5.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.5
Adjusted Signal
5.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.6K
Stars
TypeScript
Language
153.7K
Lines of Code
484
Files
722
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 15.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 485 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.6/100 · LOW

Are imports declared and package/API names verified? 50 finding(s).

Agent Over-Engineering Ratio 12.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 371 finding(s).

PR Review Velocity Impact 25.0/100 · MEDIUM

Which changes need focused human review? 722 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 3HIGH 15MEDIUM 30LOW 674

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block216 hits · 212 pts
SeverityFileLineSnippetContext
LOWsamples/governance-agent/requirements.txt501 # reportlabCOMMENT
LOWsamples/governance-agent/requirements.txt761 # via google-adkCOMMENT
LOWsamples/governance-agent/requirements.txt781google-auth==2.57.0 \COMMENT
LOWsamples/governance-agent/requirements.txt981 # google-cloud-datacatalog-lineageCOMMENT
LOWsamples/governance-agent/requirements.txt1021 # via huggingface-hubCOMMENT
LOWsamples/governance-agent/requirements.txt1041 # safehttpxCOMMENT
LOWsamples/governance-agent/requirements.txt1901 --hash=sha256:e9db7e292e0ab79dd108d7f1a94fe31601ce1ee3f7b79e0692043423020b0593COMMENT
LOWsamples/governance-agent/requirements.txt1921 --hash=sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a \COMMENT
LOWsamples/governance-agent/requirements.txt2261 --hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \COMMENT
LOWsamples/governance-agent/requirements.txt2701 --hash=sha256:269b7eb9d3c202ca84b4bc9618cb04ebb43d3d4d1e567e4c768607232c05f945 \COMMENT
LOWsamples/governance-agent/requirements.txt2721 # openaiCOMMENT
LOWsamples/governance-agent/requirements.txt2741 # viaCOMMENT
LOW…/policy-as-code-agent/policy_as_code_agent/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOWokf/samples/crypto_bitcoin/seeds.txt1# Seed URLs for the Bitcoin public BigQuery datasetCOMMENT
LOWokf/samples/ga4_merch_store/seeds.txt1# Seed URLs for the GA4 Google Merchandise Store anchor datasetCOMMENT
LOWokf/samples/stackoverflow/seeds.txt1# Seed URLs for the Stack Overflow public BigQuery datasetCOMMENT
LOWokf/src/reference_agent/viewer/static/viz.css161#detail-backlinks { margin-top: 18px; }COMMENT
LOWtoolbox/mdcode/README.md141# Initialize a new catalog snapshot for multiple bigquery datasetsCOMMENT
LOW…/skill/catalog/EntryGroups/commerce_demo/commerce.yaml1# What the business is, and what one agent is allowed to do to it.COMMENT
LOW…/skill/catalog/EntryGroups/commerce_demo/commerce.yaml21# that gate it in `guards` -- which is the only thing that gives a constraintCOMMENT
LOW…/skill/catalog/EntryGroups/commerce_demo/commerce.yaml41# in the schema.COMMENT
LOW…tryGroups/commerce_demo/commerce.profiles/spanner.yaml1# Where the commerce model lives, and how its one action is carried out.COMMENT
LOW…tryGroups/commerce_demo/commerce.profiles/alloydb.yaml1# The same commerce model, in AlloyDB.COMMENT
LOW…tryGroups/commerce_demo/commerce.profiles/alloydb.yaml21#COMMENT
LOWtoolbox/mdcode/tests/libts/mocks.ts241 // Reachable sources for the dry-run probe (validateBigQueryDataSources). UseCOMMENT
LOWtoolbox/mdcode/tests/libts/gcp/location_responses.ts1// Trimmed copies of what the services returned on 2026-10-27 inCOMMENT
LOWtoolbox/mdcode/tests/libts/semantic/spanner.e2e.test.ts1// End-to-end tests for the Spanner destination: real-shaped fixtures run theCOMMENT
LOWtoolbox/mdcode/tests/libts/semantic/transpile.test.ts1// Hermetic tests for the transpile pass (src/libts/semantic/transpile.ts).COMMENT
LOW…ox/mdcode/tests/libts/semantic/kc_custom_types.test.ts1// The custom aspect templates are APPEND-ONLY, and nothing else enforces it.COMMENT
LOWtoolbox/mdcode/tests/libts/semantic/bigquery.test.ts1// Behavior specification for the BigQuery property-graph generatorCOMMENT
LOWtoolbox/mdcode/tests/libts/semantic/bigquery.test.ts801 expect(ddl).not.toContain('MEASURE(COUNT(*))');COMMENT
LOWtoolbox/mdcode/tests/libts/semantic/skills.test.ts1// Behavior specification for generating an Agent Skill from a model.COMMENT
LOWtoolbox/mdcode/tests/libts/semantic/skills.test.ts661// -- Golden corpus: the whole generated skill, reviewable as files. --COMMENT
LOWtoolbox/mdcode/tests/libts/semantic/skills.test.ts761 //COMMENT
LOWtoolbox/mdcode/tests/libts/semantic/skills.test.ts781 {COMMENT
LOW…lbox/mdcode/tests/libts/semantic/transpile.e2e.test.ts1// End-to-end golden test for the transpile pass: file -> IR -> transpile ->COMMENT
LOW…lbox/mdcode/tests/libts/semantic/osi_converter.test.ts1// Behavior specification for the OSI converter's serialize directionCOMMENT
LOW…lbox/mdcode/tests/libts/semantic/osi_converter.test.ts621// The round-trip tests above prove IR-level stability but never pin the exactCOMMENT
LOW…ode/tests/libts/semantic/knowledge_catalog.e2e.test.ts1// End-to-end tests for the Knowledge Catalog destination: real-shaped fixturesCOMMENT
LOW…olbox/mdcode/tests/libts/semantic/bigquery.e2e.test.ts1// End-to-end tests for the BigQuery destination: real-shaped fixtures run theCOMMENT
LOW…olbox/mdcode/tests/libts/semantic/bigquery.e2e.test.ts421//COMMENT
LOW…/mdcode/tests/libts/semantic/knowledge_catalog.test.ts1// Behavior specification for the Knowledge Catalog emitterCOMMENT
LOW…olbox/mdcode/tests/libts/semantic/kc_converter.test.ts1// Behavior specification for the KC converter's read directionCOMMENT
LOW…olbox/mdcode/tests/libts/semantic/kc_converter.test.ts1141 // that wrote one (a default push omits it, leaving nothing to check).COMMENT
LOW…olbox/mdcode/tests/libts/semantic/kc_converter.test.ts1201 }COMMENT
LOWtoolbox/mdcode/tests/libts/semantic/spanner.test.ts1// Behavior specification for the Spanner property-graph generatorCOMMENT
LOWtoolbox/mdcode/tests/libts/semantic/pull_kc.test.ts1// Tests for the semantic-model Knowledge Catalog pull legCOMMENT
LOW…box/mdcode/tests/libts/semantic/action_affects.test.ts1// Behavior specification for an action's `affects`: the concepts a callCOMMENT
LOWtoolbox/mdcode/tests/libts/semantic/push_plan.test.ts1// Tests the semantic-model push/pull/profiles planning and CLI guardsCOMMENT
LOW…lbox/mdcode/tests/libts/semantic/owl_converter.test.ts1// Behavior specification for the OWL -> OSI converterCOMMENT
LOWtoolbox/mdcode/tests/tool/store_agreement.test.ts1// Push and the commands that read a model's store agree on a model'sCOMMENT
LOWtoolbox/mdcode/tests/tool/store_agreement.test.ts21// model whose deployment breaks the rules of its engine, or whose model fileCOMMENT
LOWtoolbox/mdcode/src/libts/gcp/spanner.ts121 const parent = `projects/${project}/instances/${instance}/databases/${COMMENT
LOWtoolbox/mdcode/src/libts/gcp/spanner.ts141 // (with Spanner's own "Did you mean ...?"), a bad assignment type and aCOMMENT
LOWtoolbox/mdcode/src/libts/gcp/bigquery.ts101 // referenced tables. With `dryRun` the statement is validated -- nameCOMMENT
LOWtoolbox/mdcode/src/libts/semantic/sql_parser.ts1// The SQL engine kcmd reads and translates expressions with: theCOMMENT
LOWtoolbox/mdcode/src/libts/semantic/binding.ts1// Which physical table an entity is bound to.COMMENT
LOWtoolbox/mdcode/src/libts/semantic/binding.ts21// chosen here, because the dialect is a property of the store the statement isCOMMENT
LOWtoolbox/mdcode/src/libts/semantic/source_entries.ts1// Checks that Knowledge Catalog has an entry for every table a push readsCOMMENT
LOWtoolbox/mdcode/src/libts/semantic/yaml_options.ts1import * as yaml from 'yaml';COMMENT
156 more matches not shown…
Hyper-Verbose Identifiers183 hits · 186 pts
SeverityFileLineSnippetContext
LOWsamples/governance-agent/tests/test_noise_reduction.py6def test_filtering_refinement():CODE
LOW…es/governance-agent/tests/test_fallback_propagation.py29 def test_prioritized_propagation_document_wins(self, mock_doc_plugin_cls):CODE
LOW…es/governance-agent/tests/test_fallback_propagation.py87 def test_prioritized_propagation_lineage_fallback(CODE
LOW…es/governance-agent/tests/test_fallback_propagation.py139 def test_prioritized_propagation_llm_fallback(self, mock_doc_plugin_cls):CODE
LOWsamples/governance-agent/tests/test_selective_ui.py28 def test_apply_propagation_selective(self, mock_set_token, mock_get_plugin):CODE
LOWsamples/governance-agent/tests/test_selective_ui.py64 def test_apply_glossary_selective(CODE
LOWsamples/governance-agent/tests/test_selective_ui.py99 def test_apply_propagation_no_selection(self):CODE
LOW⚡…ples/governance-agent/tests/test_project_resolution.py24def test_env_var_takes_precedence(monkeypatch):CODE
LOW⚡…ples/governance-agent/tests/test_project_resolution.py31def test_falls_back_to_adc_project(monkeypatch):CODE
LOW⚡…ples/governance-agent/tests/test_project_resolution.py38def test_returns_none_when_adc_has_no_project(monkeypatch, adc_project):CODE
LOW⚡…ples/governance-agent/tests/test_project_resolution.py44def test_returns_none_when_adc_is_unavailable(monkeypatch):CODE
LOW⚡…ples/governance-agent/tests/test_project_resolution.py50def test_cli_errors_without_a_project(monkeypatch, capsys):CODE
LOW…ples/governance-agent/tests/test_project_resolution.py63def test_cli_passes_project_to_plugins(CODE
LOWsamples/governance-agent/tests/test_dq_propagation.py19 def test_fetch_dq_summary_auto_dq(self, mock_client_class, mock_creds):CODE
LOWsamples/governance-agent/tests/test_dq_propagation.py55 def test_aggregation_conservative_min(self):CODE
LOWsamples/governance-agent/tests/test_dq_propagation.py63 def test_detect_remediation_distinct(self, mock_sql):CODE
LOWsamples/governance-agent/tests/test_sql_enrichment.py19 def test_sql_logic_extraction(self):CODE
LOWsamples/governance-agent/tests/test_sql_enrichment.py46 def test_description_enrichment_with_sql(self):STRING
LOWsamples/governance-agent/tests/test_sql_enrichment.py59 def test_plugin_preview_with_sql(self):STRING
LOWsamples/governance-agent/tests/test_auth_bypass.py39 def test_get_credentials_blocks_adc_fallback_when_token_is_none(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py47 def test_get_credentials_blocks_adc_when_token_is_empty_or_invalid_dict(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py58 def test_get_token_from_session_rejects_empty_session(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py69 def test_get_token_from_session_rejects_expired_token_without_refresh(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py87 def test_full_taint_chain_scan_dataset_blocks_unauthenticated_caller(CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py107 def test_lineage_plugin_blocks_adc_when_oauth_token_none(CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py121 def test_apply_policy_tag_recommendations_blocks_unauthenticated_caller(CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py149 def test_get_credentials_accepts_valid_dict_and_str_tokens(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py186 def test_fresh_thread_without_token_cannot_use_adc(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py202 def test_bypass_oauth_still_allows_adc(self, mock_adc):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py292 def test_missing_oauth_config_no_longer_implies_adc_mode(self):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py298 def test_check_auth_status_shows_app_only_for_session_or_bypass(self):CODE
LOW⚡samples/governance-agent/tests/test_auth_bypass.py312 def test_server_refuses_to_start_without_oauth_or_explicit_bypass(self):CODE
LOW⚡samples/governance-agent/tests/test_auth_bypass.py319 def test_server_enables_process_wide_enforcement(self):CODE
LOW⚡samples/governance-agent/tests/test_auth_bypass.py325 def test_api_and_upload_endpoints_require_session_but_login_page_works(self):CODE
LOW⚡samples/governance-agent/tests/test_auth_bypass.py372 def test_live_request_session_is_gradio_obj_not_dict(self):CODE
LOW⚡samples/governance-agent/tests/test_auth_bypass.py379 def test_live_request_state_token(self):CODE
LOW⚡samples/governance-agent/tests/test_auth_bypass.py383 def test_pickled_request_uses_preserved_state(self):CODE
LOWsamples/governance-agent/tests/test_auth_bypass.py395 def test_requests_without_token_are_rejected(self, mock_adc):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py28 def test_scan_for_policy_tags(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py54 def test_preview_policy_tag_propagation_straight_pull(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py118 def test_preview_policy_tag_propagation_transformed(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py202 def test_apply_policy_tags_with_readers(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py235 def test_get_policy_tag_readers(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py246 def test_preview_policy_tag_propagation_skips_existing(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py289 def test_get_policy_tag_reader_count(self):CODE
LOW…mples/governance-agent/tests/test_policy_tag_plugin.py303 def test_get_policy_tag_data_policy_count(self):CODE
LOW…nance-agent/tests/test_glossary_propagation_lineage.py42 def test_strict_lineage_propagation_threshold(self):CODE
LOW…nance-agent/tests/test_glossary_propagation_lineage.py96 def test_direct_link_propagation(self):CODE
LOWsamples/governance-agent/tests/test_glossary_logic.py53def test_recommendation_ranking():CODE
LOWsamples/governance-agent/tests/test_lineage_logic.py15 def test_get_column_lineage_heuristic(self, mock_auth, mock_post):CODE
LOW…s/governance-agent/tests/test_native_glossary_links.py25 def test_apply_terms_creates_links(self, mock_creds, mock_client_cls):CODE
LOW…s/governance-agent/tests/test_native_glossary_links.py63 def test_resolve_term_entry_name_fallback(CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py235def update_doc_selection_badge(docs_state, selected_labels, context_mode, current_fallback_val=False):CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py285def handle_refresh_lineage_cache(request: gr.Request = None):CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py940def apply_propagation_improved(STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py995def get_glossary_recommendations(STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1072def apply_glossary_selections(STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1134def get_policy_tag_recommendations(STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1175def apply_policy_tag_recommendations(STRING
LOW…etadata_propagation/agent/plugins/similarity_engine.py171 def calculate_lexical_similarity(CODE
123 more matches not shown…
Excessive Try-Catch Wrapping152 hits · 143 pts
SeverityFileLineSnippetContext
MEDIUM…s/governance-agent/metadata_propagation/steward_cli.py48 print(f"Error: Could not import Plugins. {e}")CODE
MEDIUM…s/governance-agent/metadata_propagation/steward_cli.py440 print("Error: Invalid --datastore-id format.")CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py92except Exception:CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py193 except Exception:CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py456 except Exception as e:CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py2170 except Exception as e:CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py931 except Exception as e:STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py976 except Exception as e:STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1067 except Exception as e:STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1115 except Exception as e:STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1170 except Exception as e:STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1216 except Exception as e:STRING
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1320 except Exception as e:STRING
MEDIUM…ce-agent/metadata_propagation/agent/skill_discovery.py8 print(f"Error: Skills directory '{skills_dir}' not found.")CODE
LOW…-agent/metadata_propagation/agent/plugins/dq_plugin.py60 except Exception as e:STRING
LOW…-agent/metadata_propagation/agent/plugins/dq_plugin.py102 except Exception as e:STRING
LOW…-agent/metadata_propagation/agent/plugins/dq_plugin.py137 except Exception as e:STRING
LOW…adata_propagation/agent/plugins/document_rag_engine.py56 except Exception as e:CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py175 except Exception as e:CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py196 except Exception:CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py275 except Exception as e:CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py279 except Exception as e:CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py419 except Exception as e:CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py115 except Exception as e:CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py162 except Exception as e:CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py209 except Exception as e:CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py379 except Exception as e:CODE
LOW…ce-agent/metadata_propagation/agent/plugins/context.py123 except Exception as e:CODE
LOW…ce-agent/metadata_propagation/agent/plugins/context.py146 except Exception as e:CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py364 except Exception:CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py369 except Exception as e:CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py402 except Exception as e:CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py470 except Exception as e:STRING
LOW…ta_propagation/agent/plugins/doc_description_plugin.py525 except Exception as e:STRING
LOW…ta_propagation/agent/plugins/doc_description_plugin.py575 except Exception as e:STRING
LOW…ta_propagation/agent/plugins/doc_description_plugin.py623 except Exception as e:STRING
LOW…/metadata_propagation/agent/plugins/vertex_embedder.py45 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/vertex_embedder.py77 except Exception as e:CODE
LOW⚡…/metadata_propagation/agent/plugins/glossary_plugin.py1030 except Exception as e:CODE
LOW⚡…/metadata_propagation/agent/plugins/glossary_plugin.py1039 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py83 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py105 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py128 except Exception:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py157 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py179 except Exception:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py187 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py205 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py238 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py314 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py335 except Exception:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py444 except Exception as ex:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py630 except Exception:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py659 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py828 except Exception:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py840 except Exception:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py851 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py931 except Exception as e:CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py1092 except Exception as e:CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py121 except Exception as e:CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py147 except Exception as e:CODE
92 more matches not shown…
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…governance-agent/metadata_propagation/ui/gradio_app.py92except Exception:CODE
HIGH…governance-agent/metadata_propagation/ui/gradio_app.py193except Exception:CODE
HIGH…governance-agent/metadata_propagation/ui/gradio_app.py357except (AttributeError, AssertionError, KeyError):CODE
HIGH…adata_propagation/agent/plugins/document_rag_engine.py196except Exception:CODE
HIGH…/metadata_propagation/agent/plugins/glossary_plugin.py335except Exception:CODE
HIGH…/metadata_propagation/agent/plugins/glossary_plugin.py828except Exception:CODE
HIGH…/metadata_propagation/agent/plugins/glossary_plugin.py840except Exception:CODE
HIGH…/metadata_propagation/agent/plugins/glossary_plugin.py179except Exception:CODE
HIGH…/metadata_propagation/agent/plugins/glossary_plugin.py630except Exception:CODE
HIGH…ta_propagation/dataplex_integration/export_metadata.py211except Exception:CODE
HIGH…es/policy-as-code-agent/policy_as_code_agent/memory.py318except Exception:CODE
HIGH…es/policy-as-code-agent/policy_as_code_agent/memory.py293except Exception:CODE
HIGH…y-as-code-agent/policy_as_code_agent/utils/dataplex.py16except (ImportError, google.auth.exceptions.DefaultCredentialsError):CODE
HIGH…les/enrichment/src/enrichment/documentation/sources.py63except Exception as e:CODE
Deep Nesting47 hits · 43 pts
SeverityFileLineSnippetContext
LOW…s/governance-agent/metadata_propagation/steward_cli.py52CODE
LOW…s/governance-agent/metadata_propagation/steward_cli.py114CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py144CODE
LOW…governance-agent/metadata_propagation/ui/gradio_app.py1235CODE
LOW…ce-agent/metadata_propagation/agent/skill_discovery.py5CODE
LOW…-agent/metadata_propagation/agent/plugins/dq_plugin.py141CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py167CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py283CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py123CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py342CODE
LOW…ce-agent/metadata_propagation/agent/plugins/context.py65CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py50CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py126CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py203CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py253CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py303CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py64CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py341CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py487CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py941CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py567CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py152CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py406CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py471CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py511CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py201CODE
LOW…ropagation/dataplex_integration/lineage_propagation.py81CODE
LOW…ropagation/dataplex_integration/lineage_propagation.py354CODE
LOW…ropagation/dataplex_integration/lineage_propagation.py431CODE
LOW…ropagation/dataplex_integration/lineage_propagation.py592CODE
LOW…propagation/dataplex_integration/propagate_metadata.py116CODE
LOW…propagation/dataplex_integration/propagate_metadata.py162CODE
LOW…propagation/dataplex_integration/propagate_metadata.py290CODE
LOW…olicy-as-code-agent/policy_as_code_agent/simulation.py160CODE
LOW…es/policy-as-code-agent/policy_as_code_agent/memory.py642CODE
LOW…les/policy-as-code-agent/policy_as_code_agent/agent.py135CODE
LOW…les/policy-as-code-agent/policy_as_code_agent/agent.py366CODE
LOW…les/policy-as-code-agent/policy_as_code_agent/agent.py440CODE
LOW…les/policy-as-code-agent/policy_as_code_agent/agent.py539CODE
LOW…les/policy-as-code-agent/policy_as_code_agent/agent.py638CODE
LOW…policy-as-code-agent/policy_as_code_agent/utils/llm.py40CODE
LOW…policy-as-code-agent/policy_as_code_agent/utils/llm.py58CODE
LOW…policy-as-code-agent/policy_as_code_agent/utils/llm.py77CODE
LOWsamples/enrichment/src/tools/fileskb/main.py62CODE
LOW…mples/enrichment/src/enrichment/documentation/agent.py45CODE
LOWokf/src/reference_agent/runner.py82CODE
LOWokf/src/reference_agent/bundle/index.py49CODE
Unused Imports38 hits · 38 pts
SeverityFileLineSnippetContext
LOW…es/governance-agent/tests/test_fallback_propagation.py3CODE
LOW…es/governance-agent/tests/test_fallback_propagation.py6CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py305CODE
LOWsamples/discovery/tools.py4CODE
LOWsamples/enrichment/src/enrichment/enrich.py8CODE
LOW…mples/enrichment/src/enrichment/documentation/agent.py10CODE
LOWsamples/enrichment/src/enrichment/metadata/snapshot.py6CODE
LOWokf/tests/test_viewer.py1CODE
LOWokf/tests/test_web_tools.py1CODE
LOWokf/tests/test_web_fetcher.py1CODE
LOWokf/tests/test_index.py1CODE
LOWokf/tests/test_bigquery_source.py1CODE
LOWokf/tests/test_document.py1CODE
LOWokf/tests/test_bundle_tools.py1CODE
LOWokf/bundles/acme_retail/attesters/sql_equality.py20CODE
LOWokf/src/reference_agent/runner.py1CODE
LOWokf/src/reference_agent/cli.py1CODE
LOWokf/src/reference_agent/agent.py1CODE
LOWokf/src/reference_agent/tools/web_tools.py1CODE
LOWokf/src/reference_agent/tools/bundle_tools.py1CODE
LOWokf/src/reference_agent/tools/context.py1CODE
LOWokf/src/reference_agent/tools/source_tools.py1CODE
LOWokf/src/reference_agent/web/fetcher.py1CODE
LOWokf/src/reference_agent/bundle/index.py1CODE
LOWokf/src/reference_agent/bundle/paths.py1CODE
LOWokf/src/reference_agent/bundle/__init__.py1CODE
LOWokf/src/reference_agent/bundle/__init__.py1CODE
LOWokf/src/reference_agent/bundle/__init__.py2CODE
LOWokf/src/reference_agent/bundle/__init__.py3CODE
LOWokf/src/reference_agent/bundle/__init__.py3CODE
LOWokf/src/reference_agent/bundle/synthesizer.py1CODE
LOWokf/src/reference_agent/bundle/document.py1CODE
LOWokf/src/reference_agent/viewer/__init__.py1CODE
LOWokf/src/reference_agent/viewer/generator.py1CODE
LOWokf/src/reference_agent/sources/bigquery.py1CODE
LOWokf/src/reference_agent/sources/__init__.py1CODE
LOWokf/src/reference_agent/sources/__init__.py1CODE
LOWokf/src/reference_agent/sources/base.py1CODE
Modern AI Meta-Vocabulary10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMsamples/governance-agent/README.md89# Preview and apply description propagation using Document Context (RAG)COMMENT
MEDIUM…s/governance-agent/metadata_propagation/steward_cli.py348 # Clear RAG Cache commandCOMMENT
MEDIUM…t/metadata_propagation/agent/plugins/lineage_plugin.py265 # Pre-embed column queries in batch for RAG mode to avoid N sequential size 1 embedding callsCOMMENT
MEDIUM…/metadata_propagation/agent/plugins/vertex_embedder.py30 # Use thread-local storage to avoid concurrent mutation of SSL context in multi-threaded RAG modeCOMMENT
MEDIUM…/metadata_propagation/agent/plugins/glossary_plugin.py555 # Pre-embed column queries in batch for RAG mode to avoid N sequential size 1 embedding callsCOMMENT
MEDIUM…etadata_propagation/agent/plugins/policy_tag_plugin.py190 # Pre-embed column queries in batch for RAG mode to avoid N sequential size 1 embedding callsCOMMENT
MEDIUMtoolbox/mdcode/src/libts/semantic/osi_converter.ts9// TODO(#278): fold the OSI READ direction in and drop the scaffold. OnceCOMMENT
MEDIUMtoolbox/mdcode/src/libts/semantic/osi_converter.ts9// TODO(#278): fold the OSI READ direction in and drop the scaffold. OnceCOMMENT
MEDIUMtoolbox/mdcode/src/libts/semantic/kc_converter.ts11// TODO(#278): fold the KC WRITE direction in and drop the scaffold. OnceCOMMENT
MEDIUMtoolbox/mdcode/src/libts/semantic/kc_converter.ts11// TODO(#278): fold the KC WRITE direction in and drop the scaffold. OnceCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALtoolbox/mdcode/tests/tool/two_phase/tables.test.ts98 check: r => expect(r.fake.query.mock.calls.map(c => c[2] ?? null))CODE
CRITICALtoolbox/mdcode/tests/tool/two_phase/tables.test.ts108 check: r => expect(r.fake.query.mock.calls.map(c => c[2] ?? null))CODE
CRITICALtoolbox/mdcode/tests/tool/two_phase/harness.ts356 expect(r.fake.query.mock.calls.filter(c => c[3] !== true)).toEqual([]);CODE
Modern Structural Boilerplate20 hits · 20 pts
SeverityFileLineSnippetContext
LOW…governance-agent/metadata_propagation/ui/gradio_app.py62logger = logging.getLogger(__name__)CODE
LOW…-agent/metadata_propagation/agent/plugins/dq_plugin.py10logger = logging.getLogger(__name__)CODE
LOW…adata_propagation/agent/plugins/document_rag_engine.py13logger = logging.getLogger(__name__)CODE
LOW…etadata_propagation/agent/plugins/similarity_engine.py7logger = logging.getLogger(__name__)CODE
LOW…t/metadata_propagation/agent/plugins/lineage_plugin.py25logger = logging.getLogger(__name__)CODE
LOW…ce-agent/metadata_propagation/agent/plugins/context.py9logger = logging.getLogger(__name__)CODE
LOW…ta_propagation/agent/plugins/doc_description_plugin.py14logger = logging.getLogger(__name__)CODE
LOW…/metadata_propagation/agent/plugins/vertex_embedder.py9logger = logging.getLogger(__name__)CODE
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py29logger = logging.getLogger(__name__)CODE
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py23logger = logging.getLogger(__name__)CODE
LOW…ropagation/dataplex_integration/lineage_propagation.py14logger = logging.getLogger(__name__)CODE
LOW…ropagation/dataplex_integration/glossary_management.py6logger = logging.getLogger(__name__)CODE
LOW…ata_propagation/dataplex_integration/dq_propagation.py13logger = logging.getLogger(__name__)CODE
LOW⚡…propagation/dataplex_integration/propagate_metadata.py19logger = logging.getLogger(__name__)CODE
LOW…_propagation/data_generation/generate_glossary_data.py12logger = logging.getLogger(__name__)CODE
LOWokf/tests/test_bundle_tools.py23def _set_ctx(tmp_path: Path) -> None:CODE
LOWokf/src/reference_agent/tools/context.py32def set_context(source: Source, bundle_root: Path, model: str = "") -> None:CODE
LOWokf/src/reference_agent/bundle/__init__.py5__all__ = [CODE
LOWokf/src/reference_agent/viewer/__init__.py3__all__ = ["generate_visualization"]CODE
LOWokf/src/reference_agent/sources/__init__.py3__all__ = ["ConceptRef", "Source"]CODE
AI Slop Vocabulary7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…es/policy-as-code-agent/policy_as_code_agent/memory.py871 # Query only by timestamp to utilize the default single-field index.COMMENT
MEDIUM…policy-as-code-agent/policy_as_code_agent/utils/llm.py85 # To make the schema more comprehensive, we merge schemas of all itemsCOMMENT
MEDIUMokf/bundles/ga4/viz.html229window.BUNDLE = {"nodes": [{"data": {"id": "datasets/ga4_obfuscated_sample_ecommerce", "label": "GA4 Obfuscated Sample ECODE
MEDIUMokf/bundles/ga4/viz.html229window.BUNDLE = {"nodes": [{"data": {"id": "datasets/ga4_obfuscated_sample_ecommerce", "label": "GA4 Obfuscated Sample ECODE
MEDIUMokf/bundles/stackoverflow/viz.html229window.BUNDLE = {"nodes": [{"data": {"id": "datasets/stackoverflow", "label": "Stack Overflow Public Dataset", "type": "CODE
MEDIUMtoolbox/mdcode/src/libts/semantic/kc_converter.ts763// `/aspectTypes/<type>` suffix (robust to whichever system-typeCOMMENT
MEDIUM…lbox/mdcode/src/libts/semantic/converters/owl/parse.ts554 // robust to a document that also types a handful of foreign-namespace termsCOMMENT
Structural Annotation Overuse9 hits · 14 pts
SeverityFileLineSnippetContext
LOWsamples/governance-agent/OAUTH_SETUP_GUIDE.md19### Step 1: Configure the OAuth Consent ScreenCOMMENT
LOWsamples/governance-agent/OAUTH_SETUP_GUIDE.md35### Step 2: Create OAuth 2.0 Client IDCOMMENT
LOWsamples/governance-agent/OAUTH_SETUP_GUIDE.md47### Step 3: Configure Environment VariablesCOMMENT
LOWsamples/discovery/SKILL.md42## Step 1: Understand the queryCOMMENT
LOWsamples/discovery/SKILL.md49## Step 2: Semantic Decomposition & Generating VariationsCOMMENT
LOWsamples/discovery/SKILL.md60## Step 3: Call Knowledge Catalog Search Tools (Batching)COMMENT
LOWsamples/discovery/SKILL.md68## Step 3: Call Knowledge Catalog SearchCOMMENT
LOWsamples/discovery/SKILL.md79## Step 4: Merge Search ResultsCOMMENT
LOWsamples/discovery/SKILL.md84## Step 5: Identify the best ResultsCOMMENT
Fake / Example Data9 hits · 12 pts
SeverityFileLineSnippetContext
LOWsamples/governance-agent/tests/test_selective_ui.py23 "google_token": {"access_token": "fake-token"}CODE
LOW⚡samples/enrichment/sample/docs/lipsum.md1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOW⚡samples/enrichment/sample/docs/lipsum.md1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOW⚡samples/enrichment/sample/docs/lipsum.md3Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOW⚡samples/enrichment/sample/docs/lipsum.md3Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOW⚡samples/enrichment/sample/docs/lipsum.md5Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint ocCODE
LOW⚡samples/enrichment/sample/docs/lipsum.md5Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint ocCODE
LOWokf/bundles/stackoverflow/viz.html229window.BUNDLE = {"nodes": [{"data": {"id": "datasets/stackoverflow", "label": "Stack Overflow Public Dataset", "type": "CODE
LOWtoolbox/mdcode/demo/kb/setup.ts36 content: '# Placeholder Content\n\nLorem ipsum dolor met',CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…/metadata_propagation/agent/plugins/glossary_plugin.py998 # Create the EntryLinkCOMMENT
MEDIUMsamples/policy-as-code-agent/tests/unit/test_llm.py10 # Create a list where the second item is "larger" (more fields) than the firstCOMMENT
MEDIUM…de-agent/tests/integration/test_conversational_flow.py52 # Create a mapping of original tool names to mock functionsCOMMENT
MEDIUM…/skill/catalog/EntryGroups/commerce_demo/commerce.yaml16# This file is the same bytes under both, which is the claim the pair exists toCOMMENT
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py95 # Check if cache has not been warmed in this session yetCOMMENT
LOW…/metadata_propagation/agent/plugins/glossary_plugin.py264 # Check if we have a valid cached embedding with a matching hashCOMMENT
LOW…etadata_propagation/agent/plugins/policy_tag_plugin.py262 # Check if the target field already has this tagCOMMENT
LOW…propagation/data_generation/attach_test_policy_tags.py29 # Check if already exists (simplified check by list)COMMENT
LOW…es/policy-as-code-agent/policy_as_code_agent/memory.py699 # Check if any violated resource string contains the search termCOMMENT
LOW…policy-as-code-agent/policy_as_code_agent/utils/llm.py43 # Check if the content is JSONL or JSONCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/tests/libts/semantic/deploy_knowledge_catalog.test.ts3604 // The listing spells the project as requested, so it gives no number.COMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…governance-agent/metadata_propagation/ui/gradio_app.py36# ---------------------------COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…mples/enrichment/src/enrichment/documentation/agent.py45async def run_task(runner: InMemoryRunner, prompt: str):CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWokf/src/reference_agent/runner.py161CODE