AI Slop Code Risk Monitor

google-antigravity/antigravity-sdk-python

SlopCodeMonitor badge for google-antigravity/antigravity-sdk-python Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
32.5 High pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for google-antigravity/antigravity-sdk-python. SynthScan examined 61,810 lines of code across 169 source files, recording 1769 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 32.5 (High 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.

32.5
Adjusted Signal
32.5
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
61.8K
Lines of Code
169
Files
1.8K
Pattern Hits
2026-10-31
Scan Date
0.30
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 63.4/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 9.5/100 · LOW

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

Agent Over-Engineering Ratio 71.3/100 · HIGH

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

PR Review Velocity Impact 85.2/100 · CRITICAL

Which changes need focused human review? 1769 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 0HIGH 51MEDIUM 167LOW 1551

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 1769 distinct pattern matches across 20 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.

Hyper-Verbose Identifiers1180 hits · 894 pts
SeverityFileLineSnippetContext
LOWgoogle/antigravity/types.py278 def _check_mutually_exclusive(self) -> "SubagentCapabilities":CODE
LOWgoogle/antigravity/types.py286 def _validate_subagents_and_tools(self) -> "SubagentCapabilities":CODE
LOWgoogle/antigravity/types.py304 def _validate_interactive_tools(self) -> "SubagentCapabilities":CODE
LOWgoogle/antigravity/types.py687def normalize_builtin_tool_name(CODE
LOWgoogle/antigravity/types.py779 def _validate_tool_output_truncation_config(CODE
LOWgoogle/antigravity/types.py796 def _check_mutually_exclusive(self) -> "CapabilitiesConfig":CODE
LOWgoogle/antigravity/types.py804 def _validate_subagents_and_tools(self) -> "CapabilitiesConfig":CODE
LOWgoogle/antigravity/types.py831 def _validate_interactive_tools(self) -> "CapabilitiesConfig":CODE
LOWgoogle/antigravity/types.py845 def _get_explicit_compaction_threshold(self) -> int | None:CODE
LOWgoogle/antigravity/types.py852 def _warn_deprecated_compaction_fields(self) -> "CapabilitiesConfig":CODE
LOWgoogle/antigravity/types.py972 def _check_mutually_exclusive(self) -> "BaseMcpServerConfig":CODE
LOWgoogle/antigravity/types.py1599 def _validate_continue_reason(self) -> "StopHookResult":CODE
LOWgoogle/antigravity/types.py2067def _read_file_and_guess_mime(CODE
LOW⚡google/antigravity/types_test.py86 def test_step_id_defaults_to_none(self):CODE
LOW⚡google/antigravity/types_test.py91 def test_step_id_explicitly_set(self):CODE
LOW⚡google/antigravity/types_test.py96 def test_extra_fields_ignored(self):CODE
LOW⚡google/antigravity/types_test.py170 def test_step_id_defaults_to_none(self):CODE
LOW⚡google/antigravity/types_test.py175 def test_step_id_explicitly_set(self):CODE
LOW⚡google/antigravity/types_test.py180 def test_extra_fields_ignored(self):CODE
LOW⚡google/antigravity/types_test.py598 def test_custom_text_is_required(self):CODE
LOW⚡google/antigravity/types_test.py603 def test_templated_empty_construction(self):CODE
LOW⚡google/antigravity/types_test.py609 def test_union_parsing_empty_dict(self):CODE
LOW⚡google/antigravity/types_test.py778 def test_all_tools_returns_every_member(self):CODE
LOW⚡google/antigravity/types_test.py787 def test_none_returns_empty_list(self):CODE
LOW⚡google/antigravity/types_test.py791 def test_minimal_returns_four_minimal_tools(self):CODE
LOW⚡google/antigravity/types_test.py801 def test_default_excludes_ask_question_and_deprecated_tools(self):CODE
LOW⚡google/antigravity/types_test.py985 def test_run_command_config_non_positive_timeout_raises(self):CODE
LOW⚡google/antigravity/types_test.py993 def test_subagent_capabilities_allowed_subagents(self):CODE
LOW⚡google/antigravity/types_test.py998 def test_max_subagent_depth_fails_when_subagents_disabled(self):CODE
LOW⚡google/antigravity/types_test.py1016 def test_allowed_subagents_fails_when_subagents_disabled(self):CODE
LOW⚡google/antigravity/types_test.py1025 def test_allowed_subagents_empty_list_fails_when_subagents_disabled(self):CODE
LOW⚡google/antigravity/types_test.py1034 def test_max_subagent_depth_fails_when_invoke_subagent_tool_disabled(self):CODE
LOW⚡google/antigravity/types_test.py1126 def test_tool_output_truncation_config_default(self):CODE
LOW⚡google/antigravity/types_test.py1131 def test_tool_output_truncation_config_int_shorthand(self):CODE
LOW⚡google/antigravity/types_test.py1139 def test_tool_output_truncation_config_zero(self):CODE
LOW⚡google/antigravity/types_test.py1147 def test_tool_output_truncation_config_instance(self):CODE
LOW⚡google/antigravity/types_test.py1153 def test_tool_output_truncation_config_dict(self):CODE
LOW⚡google/antigravity/types_test.py1163 def test_tool_output_truncation_config_boolean_rejected(self):CODE
LOW⚡google/antigravity/types_test.py1170 def test_tool_output_truncation_config_invalid_types_rejected(self):CODE
LOW⚡google/antigravity/types_test.py1175 def test_tool_output_truncation_config_negative_or_overflow_raises(self):CODE
LOW⚡google/antigravity/types_test.py1212 def test_zero_max_tokens_allowed(self):CODE
LOW⚡google/antigravity/types_test.py1217 def test_negative_max_tokens_raises(self):CODE
LOW⚡google/antigravity/types_test.py1222 def test_overflow_max_tokens_raises(self):CODE
LOW⚡google/antigravity/types_test.py1407 def test_supported_mime_types(self, mime_type: str):CODE
LOW⚡google/antigravity/types_test.py1412 def test_unsupported_mime_type_raises(self):CODE
LOW⚡google/antigravity/types_test.py1417 def test_case_insensitive_and_whitespace_normalization(self):CODE
LOW⚡google/antigravity/types_test.py1463 def test_non_existent_path_raises_error(self):CODE
LOW⚡google/antigravity/types_test.py1468 def test_directory_path_raises_error(self):CODE
LOW⚡google/antigravity/types_test.py1474 def test_inference_failure_raises_clear_value_error(self):CODE
LOW⚡google/antigravity/types_test.py2340 def test_agent_behavior_explicit(self):CODE
LOW⚡google/antigravity/types_test.py2348 def test_mutually_exclusive_ok_enabled(self):CODE
LOW⚡google/antigravity/types_test.py2355 def test_mutually_exclusive_ok_disabled(self):CODE
LOW⚡google/antigravity/types_test.py2362 def test_mutually_exclusive_raises(self):CODE
LOW⚡google/antigravity/types_test.py2369 def test_allowed_subagents_valid_when_invoke_subagent_enabled(self):CODE
LOW⚡google/antigravity/types_test.py2376 def test_allowed_subagents_raises_when_invoke_subagent_omitted_from_enabled_tools(CODE
LOW⚡google/antigravity/types_test.py2959 def test_stop_hook_result_defaults(self):CODE
LOW⚡google/antigravity/types_test.py2964 def test_stop_hook_result_custom(self):CODE
LOW⚡google/antigravity/types_test.py2972 def test_stop_hook_result_extra_fields_ignored(self):CODE
LOW⚡google/antigravity/types_test.py2979 def test_stop_hook_result_continue_requires_non_empty_reason(self):CODE
LOWgoogle/antigravity/types_test.py52 def test_canonical_path_default_none(self):CODE
1120 more matches not shown…
Decorative Section Separators126 hits · 404 pts
SeverityFileLineSnippetContext
MEDIUM⚡google/antigravity/models.py31# =============================================================================COMMENT
MEDIUM⚡google/antigravity/models.py33# =============================================================================COMMENT
MEDIUM⚡google/antigravity/models.py39# =============================================================================COMMENT
MEDIUM⚡google/antigravity/models.py41# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py138# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py140# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1022# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1024# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1094# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1096# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1491# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1493# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1631# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1633# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1718# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1720# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1982# =============================================================================COMMENT
MEDIUMgoogle/antigravity/types.py1984# =============================================================================COMMENT
MEDIUMgoogle/antigravity/workflows.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/workflows.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡google/antigravity/connections/local/event_processor.py1189 # ---------------------------------------------------------------------------COMMENT
MEDIUM⚡google/antigravity/connections/local/event_processor.py1191 # ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py203# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py603# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py605# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py698# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py700# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py771# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py773# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py806# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py808# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py930# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/hooks/policy.py932# ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py90 # ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py92 # ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py214 # ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py216 # ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py341 # ---------------------------------------------------------------------------COMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py343 # ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/multimodal_pipeline.py107 # ----------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/multimodal_pipeline.py109 # ----------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/multimodal_pipeline.py143 # ----------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/multimodal_pipeline.py145 # ----------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/async_chat.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/async_chat.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/async_chat.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/async_chat.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/async_chat.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/async_chat.py197# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py104# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py143# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py167# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/deep_dives/agent_middleware.py169# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/deep_dives/agent_middleware.py199# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/deep_dives/agent_middleware.py201# ---------------------------------------------------------------------------COMMENT
66 more matches not shown…
Empty Error Handlers34 hits · 170 pts
SeverityFileLineSnippetContext
HIGHgoogle/antigravity/beta/__init__.py73except (AttributeError, TypeError):CODE
HIGHgoogle/antigravity/beta/__init__.py159except (AttributeError, TypeError):CODE
HIGHgoogle/antigravity/tools/tool_runner.py259except Exception: # pylint: disable=broad-exceptCODE
HIGHgoogle/antigravity/utils/otel_test.py27except ImportError:CODE
HIGHgoogle/antigravity/utils/interactive.py165except asyncio.CancelledError:CODE
HIGHgoogle/antigravity/utils/interactive.py191except asyncio.CancelledError:CODE
HIGHgoogle/antigravity/utils/interactive.py332except ValueError:CODE
HIGHgoogle/antigravity/connections/struct_converter.py240except (AttributeError, ValueError):CODE
HIGHgoogle/antigravity/connections/struct_converter.py259except (AttributeError, ValueError):CODE
HIGHgoogle/antigravity/connections/struct_converter.py84except (TypeError, ValueError, AttributeError):CODE
HIGHgoogle/antigravity/connections/struct_converter.py91except (TypeError, ValueError, AttributeError):CODE
HIGHgoogle/antigravity/connections/struct_converter.py96except (TypeError, ValueError, AttributeError):CODE
HIGHgoogle/antigravity/connections/struct_converter.py249except (AttributeError, ValueError):CODE
HIGHgoogle/antigravity/connections/struct_converter.py268except (AttributeError, ValueError):CODE
HIGH…antigravity/connections/local/local_connection_test.py5353except asyncio.CancelledError:CODE
HIGHgoogle/antigravity/connections/local/event_processor.py269except json.JSONDecodeError:CODE
HIGHgoogle/antigravity/connections/local/event_processor.py245except json.JSONDecodeError:CODE
HIGHgoogle/antigravity/connections/local/event_processor.py1027except ValueError:CODE
HIGH…avity/connections/local/interactions_step_assembler.py729except (ValueError, TypeError):CODE
HIGH…gle/antigravity/connections/local/litert_connection.py446except Exception: # pylint: disable=broad-exception-caughtCODE
HIGH…gle/antigravity/connections/local/litert_connection.py474except Exception: # pylint: disable=broad-exception-caughtCODE
HIGH…gle/antigravity/connections/local/litert_connection.py456except Exception: # pylint: disable=broad-exception-caughtCODE
HIGH…ogle/antigravity/connections/local/local_connection.py796except (importlib.metadata.PackageNotFoundError, ValueError, AttributeError):CODE
HIGH…ogle/antigravity/connections/local/local_connection.py814except (ImportError, AttributeError, KeyError):CODE
HIGH…ogle/antigravity/connections/local/local_connection.py558except ValueError:CODE
HIGH…ogle/antigravity/connections/local/local_connection.py591except asyncio.CancelledError:CODE
HIGH…ogle/antigravity/connections/local/local_connection.py597except asyncio.TimeoutError:CODE
HIGH…vity/connections/local/interactions_event_processor.py62except ValueError:CODE
HIGH…vity/connections/local/interactions_event_processor.py76except ValueError:CODE
HIGHgoogle/antigravity/connections/local/hook_router.py42except ValueError:CODE
HIGHgoogle/antigravity/connections/local/hook_router.py56except ValueError:CODE
HIGHgoogle/antigravity/connections/local/litert_server.py325except Exception: # pylint: disable=broad-exception-caughtCODE
HIGHgoogle/antigravity/connections/local/litert_server.py517except Exception: # pylint: disable=broad-exception-caughtCODE
HIGHexamples/getting_started/sandboxing.py102except FileNotFoundError:CODE
Over-Commented Block120 hits · 112 pts
SeverityFileLineSnippetContext
LOWpyproject.toml1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/models.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/types.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/types_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/agent_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/agent.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/workflows.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/workflows_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/beta/beta_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/beta/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/tools/tool_runner_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/tools/schema_utils.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/tools/schema_utils_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/tools/tool_context.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/tools/tool_runner.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/tools/tool_context_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/triggers.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/trigger_runner.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/helpers_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/triggers_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/helpers.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/triggers/trigger_runner_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/interactive_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/otel_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/state_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/interactive.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/otel.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/utils/state.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/struct_converter.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/connection_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/connection.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/struct_converter_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…antigravity/connections/local/local_connection_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…tigravity/connections/local/local_openai_connection.py1# Copyright 2026 Google LLCCOMMENT
LOW…antigravity/connections/local/proto_converters_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…ity/connections/local/interactions_config_converter.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/local/test_utils.py1# Copyright 2026 Google LLCCOMMENT
LOW…ty/connections/local/local_openai_connection_config.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/local/event_processor.py1# Copyright 2026 Google LLCCOMMENT
LOW…tigravity/connections/local/interactions_connection.py1# Copyright 2026 Google LLCCOMMENT
LOW…avity/connections/local/interactions_step_assembler.py1# Copyright 2026 Google LLCCOMMENT
LOW…/connections/local/interactions_step_assembler_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…onnections/local/interactions_config_converter_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…gle/antigravity/connections/local/litert_connection.py1# Copyright 2026 Google LLCCOMMENT
LOW…tigravity/connections/local/local_connection_config.py1# Copyright 2026 Google LLCCOMMENT
LOW…ogle/antigravity/connections/local/proto_converters.py1# Copyright 2026 Google LLCCOMMENT
LOW…igravity/connections/local/litert_connection_config.py1# Copyright 2026 Google LLCCOMMENT
LOW…connections/local/interactions_event_processor_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/local/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/local/types.py1# Copyright 2026 Google LLCCOMMENT
LOW…/antigravity/connections/local/event_processor_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…ogle/antigravity/connections/local/local_connection.py1# Copyright 2026 Google LLCCOMMENT
LOW…vity/connections/local/interactions_event_processor.py1# Copyright 2026 Google LLCCOMMENT
LOW…vity/connections/local/interactions_connection_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…ogle/antigravity/connections/local/hook_router_test.py1# Copyright 2026 Google LLCCOMMENT
LOWgoogle/antigravity/connections/local/hook_router.py1# Copyright 2026 Google LLCCOMMENT
60 more matches not shown…
Unused Imports122 hits · 104 pts
SeverityFileLineSnippetContext
LOWgoogle/antigravity/models.py21CODE
LOWgoogle/antigravity/__init__.py17CODE
LOWgoogle/antigravity/__init__.py18CODE
LOWgoogle/antigravity/__init__.py19CODE
LOWgoogle/antigravity/__init__.py20CODE
LOWgoogle/antigravity/__init__.py21CODE
LOWgoogle/antigravity/__init__.py22CODE
LOWgoogle/antigravity/__init__.py23CODE
LOWgoogle/antigravity/__init__.py24CODE
LOWgoogle/antigravity/__init__.py25CODE
LOWgoogle/antigravity/__init__.py26CODE
LOWgoogle/antigravity/__init__.py27CODE
LOWgoogle/antigravity/__init__.py28CODE
LOWgoogle/antigravity/__init__.py29CODE
LOWgoogle/antigravity/__init__.py30CODE
LOWgoogle/antigravity/__init__.py31CODE
LOWgoogle/antigravity/__init__.py32CODE
LOWgoogle/antigravity/__init__.py33CODE
LOWgoogle/antigravity/__init__.py34CODE
LOWgoogle/antigravity/__init__.py35CODE
LOWgoogle/antigravity/__init__.py36CODE
LOWgoogle/antigravity/__init__.py37CODE
LOWgoogle/antigravity/__init__.py38CODE
LOWgoogle/antigravity/__init__.py39CODE
LOWgoogle/antigravity/__init__.py40CODE
LOWgoogle/antigravity/__init__.py41CODE
LOWgoogle/antigravity/__init__.py42CODE
LOWgoogle/antigravity/__init__.py43CODE
LOWgoogle/antigravity/__init__.py44CODE
LOWgoogle/antigravity/__init__.py45CODE
LOWgoogle/antigravity/__init__.py46CODE
LOWgoogle/antigravity/__init__.py47CODE
LOWgoogle/antigravity/__init__.py48CODE
LOWgoogle/antigravity/__init__.py49CODE
LOWgoogle/antigravity/__init__.py50CODE
LOWgoogle/antigravity/__init__.py51CODE
LOWgoogle/antigravity/__init__.py52CODE
LOWgoogle/antigravity/__init__.py53CODE
LOWgoogle/antigravity/__init__.py54CODE
LOWgoogle/antigravity/__init__.py55CODE
LOWgoogle/antigravity/types.py21CODE
LOWgoogle/antigravity/types.py37CODE
LOWgoogle/antigravity/types.py38CODE
LOWgoogle/antigravity/types.py39CODE
LOWgoogle/antigravity/types.py40CODE
LOWgoogle/antigravity/types.py41CODE
LOWgoogle/antigravity/types.py43CODE
LOWgoogle/antigravity/types.py44CODE
LOWgoogle/antigravity/workflows.py17CODE
LOWgoogle/antigravity/beta/__init__.py27CODE
LOWgoogle/antigravity/triggers/triggers.py22CODE
LOWgoogle/antigravity/triggers/__init__.py17CODE
LOWgoogle/antigravity/triggers/__init__.py18CODE
LOWgoogle/antigravity/triggers/__init__.py19CODE
LOWgoogle/antigravity/triggers/__init__.py20CODE
LOWgoogle/antigravity/triggers/__init__.py21CODE
LOWgoogle/antigravity/triggers/__init__.py22CODE
LOWgoogle/antigravity/triggers/__init__.py23CODE
LOWgoogle/antigravity/utils/interactive.py33CODE
LOWgoogle/antigravity/utils/state.py17CODE
62 more matches not shown…
AI Slop Vocabulary26 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMgoogle/antigravity/types.py2036 """Robustly loads local file bytes with comprehensive error wrapping.STRING
MEDIUM⚡…antigravity/connections/local/local_connection_test.py94 # Older harness that omits sandbox status -> no spurious warning.COMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py1079 # The harness emits STATE_CANCELLED when the PreTurn hook denies.COMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py1163 # Simulate harness dispatching PreTool, PostTool, and OnToolError hooksCOMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py1490 # Simulate an active generation step from the harnessCOMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py1527 # Simulate the harness transitioning to idle after haltingCOMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py1899 # No messages should have been sent back to the harness.COMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py1929 # Default: all harness side tools enabled except user_questionsCOMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py4224 # 2. Simulate Go harness sending CallHookRequest(OnSessionEnd)COMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py4239 # 4. Simulate Go harness sending SessionEndResponseCOMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py4292 # The real harness sends STATE_IDLE after the final step. TheCOMMENT
MEDIUMgoogle/antigravity/connections/local/event_processor.py331 # Find the active built-in/harness tool name and field payload, if any.COMMENT
MEDIUMgoogle/antigravity/connections/local/event_processor.py631 # During live execution of a local custom tool, the Go harnessCOMMENT
MEDIUMgoogle/antigravity/connections/local/event_processor.py948 # Subagent execution is coordinated by the harness. The Python clientCOMMENT
MEDIUM…tigravity/connections/local/local_connection_config.py55# (including harness-internal actions like skill_lookup that are not exposedCOMMENT
MEDIUM…ogle/antigravity/connections/local/local_connection.py51# In some cases e.g. during eval runs, the harness needs extra time toCOMMENT
MEDIUM…ogle/antigravity/connections/local/local_connection.py375 # expected closures from harness crashes.COMMENT
MEDIUM…ogle/antigravity/connections/local/local_connection.py388 # Stderr lines from the Go harness, captured by a background thread.COMMENT
MEDIUM…ogle/antigravity/connections/local/local_connection.py389 # Retained in a bounded deque so the reader loop can surface harnessCOMMENT
MEDIUM…ogle/antigravity/connections/local/local_connection.py1543 # Retry the WebSocket connection with backoff. The harness process mayCOMMENT
MEDIUM…vity/connections/local/interactions_connection_test.py83 # Simulate harness sending call_hook_request(on_session_end) thenCOMMENT
MEDIUM…ogle/antigravity/connections/local/hook_router_test.py1275 # populated by the harness for MCP tool calls.COMMENT
MEDIUMgoogle/antigravity/connections/local/hook_router.py183 # server_name is populated directly by harness for MCP tool calls,COMMENT
MEDIUM⚡examples/deep_dives/agent_middleware.py195 # Let the harness handle all other errors with default formatting.COMMENT
MEDIUMexamples/getting_started/persona_config.py80 # Add custom sections. These sections are passed to the local harness asCOMMENT
MEDIUMexamples/getting_started/error_handler.py105 # Common cause: Backend harness process crashes or WebSocket connectionCOMMENT
Docstring Block Structure14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHgoogle/antigravity/types.py2036Robustly loads local file bytes with comprehensive error wrapping. Args: path: The file path to read. ReturnSTRING
HIGHgoogle/antigravity/types.py2070Reads a file and guesses its MIME type. Args: path: The file path to read. Returns: A tuple containingSTRING
HIGHgoogle/antigravity/types.py2204Automatically resolves a local file path into the correct semantic Content primitive. Args: path: Local file paSTRING
HIGHgoogle/antigravity/types.py2224Automatically resolves raw bytes and a MIME type into the correct Content primitive. Args: data: Raw file bytesSTRING
HIGHgoogle/antigravity/agent.py269Sends a prompt and returns the final response. Args: prompt: The user prompt or content to send. ReturSTRING
HIGHgoogle/antigravity/agent.py308Executes a `@workflows.define` function or a `.py` workflow script. Exactly one of `workflow` or `script_path` mustSTRING
HIGHgoogle/antigravity/workflows.py144Compile-time stub: defines a single-use or multi-turn workflow agent. Args: prompt: Task prompt (for a single-turSTRING
HIGHgoogle/antigravity/workflows.py338Extracts and validates the standalone script source from a workflow function. Given a `@workflows.define` function suSTRING
HIGHgoogle/antigravity/tools/tool_runner.py363Returns a callable with injectable params hidden from the signature. Connections use this to generate tool schemas STRING
HIGHgoogle/antigravity/tools/tool_runner.py466Executes a registered tool by name. If the tool declares a ``ToolContext`` parameter and a context has been setSTRING
HIGHgoogle/antigravity/triggers/helpers.py43Creates a trigger that runs callback on a fixed interval. The callback is invoked repeatedly with `interval_seconds` STRING
HIGH…igravity/connections/local/litert_connection_config.py43Derives the default compaction configuration for a LiteRT model. Calculates a safe token threshold based on the enginSTRING
HIGHgoogle/antigravity/hooks/policy.py951Creates a PreToolCallDecideHook that evaluates dynamic policies. Args: policies: The policies to enforce (can be STRING
HIGHexamples/deep_dives/agent_middleware.py87Send a message to a user by name (may fail if name is ambiguous). Args: name: The recipient's display name. mSTRING
Excessive Try-Catch Wrapping51 hits · 50 pts
SeverityFileLineSnippetContext
LOWgoogle/antigravity/agent.py76 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/agent.py81 except Exception as e:CODE
LOWgoogle/antigravity/agent.py115 except Exception:CODE
LOWgoogle/antigravity/agent.py145 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/agent.py249 except Exception:CODE
LOWgoogle/antigravity/agent.py353 except Exception as e:CODE
LOWgoogle/antigravity/workflows.py385 except Exception as e:CODE
LOWgoogle/antigravity/beta/__init__.py295 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/tools/tool_runner.py97 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/tools/tool_runner.py109 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/tools/tool_runner.py259 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/tools/tool_runner.py453 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/tools/tool_runner.py533 except Exception as e: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/triggers/trigger_runner.py136 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/utils/otel.py402 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/utils/otel.py438 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/connections/local/event_processor.py675 except Exception as e: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/connections/local/event_processor.py696 except Exception: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/connections/local/event_processor.py799 except Exception as e: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/connections/local/event_processor.py1046 except Exception as e: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/connections/local/event_processor.py1122 except Exception as e: # pylint: disable=broad-exceptCODE
LOW…tigravity/connections/local/interactions_connection.py185 except Exception as e:CODE
LOW…gle/antigravity/connections/local/litert_connection.py136 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py292 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py343 except Exception as e: # pylint: disable=broad-exception-caught # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py360 except Exception:CODE
LOW…gle/antigravity/connections/local/litert_connection.py377 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py399 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py429 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py446 except Exception: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py456 except Exception: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py471 except Exception: # pylint: disable=broad-exception-caughtCODE
LOW…gle/antigravity/connections/local/litert_connection.py474 except Exception: # pylint: disable=broad-exception-caughtCODE
MEDIUM…ogle/antigravity/connections/local/local_connection.py552def _drain():CODE
LOW…ogle/antigravity/connections/local/local_connection.py581 except Exception as e: # pylint: disable=broad-exceptCODE
LOW…ogle/antigravity/connections/local/local_connection.py667 except Exception as e: # pylint: disable=broad-exceptCODE
LOW…ogle/antigravity/connections/local/local_connection.py1582 except Exception as e:CODE
LOW…vity/connections/local/interactions_event_processor.py324 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…vity/connections/local/interactions_event_processor.py589 except Exception as e: # pylint: disable=broad-exceptCODE
LOW…vity/connections/local/interactions_event_processor.py633 except Exception as e: # pylint: disable=broad-exceptCODE
LOWgoogle/antigravity/connections/local/hook_router.py378 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/connections/local/litert_server.py129 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/connections/local/litert_server.py321 except Exception:CODE
LOWgoogle/antigravity/connections/local/litert_server.py325 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/connections/local/litert_server.py402 except Exception as e: # pylint: disable=broad-exception-caught # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/connections/local/litert_server.py462 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/connections/local/litert_server.py507 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/connections/local/litert_server.py517 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/hooks/hook_runner.py285 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWgoogle/antigravity/hooks/policy.py754 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWexamples/getting_started/error_handler.py109 except Exception as e: # pylint: disable=broad-exceptCODE
Deep Nesting48 hits · 40 pts
SeverityFileLineSnippetContext
LOWgoogle/antigravity/types.py1769CODE
LOWgoogle/antigravity/types.py1784CODE
LOWgoogle/antigravity/agent.py57CODE
LOWgoogle/antigravity/workflows.py275CODE
LOWgoogle/antigravity/tools/schema_utils.py81CODE
LOWgoogle/antigravity/utils/interactive.py296CODE
LOWgoogle/antigravity/utils/otel.py168CODE
LOWgoogle/antigravity/connections/struct_converter.py171CODE
LOWgoogle/antigravity/connections/struct_converter.py235CODE
LOWgoogle/antigravity/connections/struct_converter.py254CODE
LOWgoogle/antigravity/connections/struct_converter.py273CODE
LOWgoogle/antigravity/connections/connection.py301CODE
LOWgoogle/antigravity/connections/connection.py410CODE
LOW…ity/connections/local/interactions_config_converter.py208CODE
LOW…ity/connections/local/interactions_config_converter.py606CODE
LOWgoogle/antigravity/connections/local/event_processor.py221CODE
LOWgoogle/antigravity/connections/local/event_processor.py313CODE
LOWgoogle/antigravity/connections/local/event_processor.py843CODE
LOWgoogle/antigravity/connections/local/event_processor.py989CODE
LOWgoogle/antigravity/connections/local/event_processor.py1132CODE
LOW…avity/connections/local/interactions_step_assembler.py174CODE
LOW…avity/connections/local/interactions_step_assembler.py751CODE
LOW…avity/connections/local/interactions_step_assembler.py804CODE
LOW…gle/antigravity/connections/local/litert_connection.py434CODE
LOW…gle/antigravity/connections/local/litert_connection.py173CODE
LOW…gle/antigravity/connections/local/litert_connection.py384CODE
LOW…ogle/antigravity/connections/local/local_connection.py218CODE
LOW…ogle/antigravity/connections/local/local_connection.py772CODE
LOW…ogle/antigravity/connections/local/local_connection.py480CODE
LOW…ogle/antigravity/connections/local/local_connection.py571CODE
LOW…ogle/antigravity/connections/local/local_connection.py1130CODE
LOW…ogle/antigravity/connections/local/local_connection.py1178CODE
LOW…ogle/antigravity/connections/local/local_connection.py1239CODE
LOW…vity/connections/local/interactions_event_processor.py46CODE
LOW…vity/connections/local/interactions_event_processor.py258CODE
LOWgoogle/antigravity/connections/local/hook_router.py32CODE
LOWgoogle/antigravity/connections/local/litert_server.py178CODE
LOWgoogle/antigravity/connections/local/litert_server.py387CODE
LOW…ntigravity/connections/local/litert_connection_test.py237CODE
LOW…ntigravity/connections/local/litert_connection_test.py1848CODE
LOW…ntigravity/connections/local/litert_connection_test.py2077CODE
LOWgoogle/antigravity/hooks/hooks.py276CODE
LOWgoogle/antigravity/hooks/hooks.py336CODE
LOWgoogle/antigravity/hooks/policy.py776CODE
LOWgoogle/antigravity/hooks/policy.py709CODE
LOWgoogle/antigravity/conversation/conversation.py143CODE
LOWexamples/getting_started/slash_commands.py39CODE
LOWexamples/getting_started/slash_commands.py64CODE
Self-Referential Comments6 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMgoogle/antigravity/agent_test.py230 # Define a distinct function object with the exact same nameCOMMENT
MEDIUM…antigravity/connections/local/local_connection_test.py5107 # Create a FakeWebSocket that raises ConnectionClosed immediately.COMMENT
MEDIUM⚡examples/getting_started/triggers.py54# Define a callback function for the periodic trigger.COMMENT
MEDIUMexamples/getting_started/error_handler.py42# Define a tool that always fails.COMMENT
MEDIUMexamples/getting_started/error_handler.py80 # Create the agent configuration with the tool and hook.COMMENT
MEDIUMexamples/getting_started/app_data_dir_override.py47 # Create a temporary directory for the custom application data storageCOMMENT
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH⚡…ogle/antigravity/connections/local/hook_router_test.py666 result_str='{"results": null}',CODE
HIGH⚡…ogle/antigravity/connections/local/hook_router_test.py668 res.result, '{"results": null}'CODE
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWgoogle/antigravity/__init__.py57__all__ = [CODE
LOWgoogle/antigravity/types.py62__all__ = [CODE
LOWgoogle/antigravity/agent.py39__all__ = ["Agent"]CODE
LOWgoogle/antigravity/tools/tool_runner.py306 def set_context(self, ctx: tool_context_module.ToolContext) -> None:CODE
LOWgoogle/antigravity/triggers/__init__.py25__all__ = [CODE
LOWgoogle/antigravity/utils/state.py61 def set_state(self, key: str, value: Any) -> None:CODE
LOWgoogle/antigravity/connections/local/event_processor.py121 def update_state(self, new_state: localharness_pb2.StepUpdate.State) -> None:CODE
LOW…avity/connections/local/interactions_step_assembler.py292 def set_root_interaction_id(self, interaction_id: str) -> None:CODE
LOWgoogle/antigravity/hooks/__init__.py44__all__ = [CODE
LOWgoogle/antigravity/policy/__init__.py30__all__ = [CODE
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMgoogle/antigravity/types_test.py1923CODE
MEDIUMgoogle/antigravity/types_test.py2042CODE
MEDIUM…antigravity/connections/local/local_connection_test.py5119CODE
MEDIUM…antigravity/connections/local/local_connection_test.py5160CODE
MEDIUMgoogle/antigravity/conversation/conversation_test.py1186CODE
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…ity/connections/local/interactions_config_converter.py77 # When a tool uses ToolContext dependency injection, ToolRunner strips theCOMMENT
MEDIUMgoogle/antigravity/conversation/conversation.py175 # The agentic loop can emit the same ToolCall in multiple stepCOMMENT
MEDIUMgoogle/antigravity/conversation/conversation_test.py378 # The agentic loop can emit the same tool call in dispatch,COMMENT
AI Structural Patterns8 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ity/connections/local/interactions_config_converter.py606CODE
LOW…ty/connections/local/local_openai_connection_config.py43CODE
LOW…tigravity/connections/local/interactions_connection.py37CODE
LOW…tigravity/connections/local/local_connection_config.py215CODE
LOW…igravity/connections/local/litert_connection_config.py123CODE
LOW…ogle/antigravity/connections/local/local_connection.py347CODE
LOW…ogle/antigravity/connections/local/local_connection.py917CODE
LOWgoogle/antigravity/hooks/hook_runner.py47CODE
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡…antigravity/connections/local/local_connection_test.py4378 # Step 1: environment step — yielded but NOT a final response.COMMENT
LOW⚡…antigravity/connections/local/local_connection_test.py4385 # Step 2: user step — the real final response.COMMENT
LOW…antigravity/connections/local/local_connection_test.py4334 # Step 1: A TARGET_ENVIRONMENT step (tool execution).COMMENT
LOW…antigravity/connections/local/local_connection_test.py4347 # Step 2: A TARGET_USER step (the final answer).COMMENT
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡…antigravity/connections/local/local_connection_test.py4378 # Step 1: environment step — yielded but NOT a final response.COMMENT
LOW⚡…antigravity/connections/local/local_connection_test.py4385 # Step 2: user step — the real final response.COMMENT
LOW…antigravity/connections/local/local_connection_test.py4334 # Step 1: A TARGET_ENVIRONMENT step (tool execution).COMMENT
LOW…antigravity/connections/local/local_connection_test.py4347 # Step 2: A TARGET_USER step (the final answer).COMMENT
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippetContext
LOW⚡…antigravity/connections/local/local_connection_test.py4026 additional_headers={"x-goog-api-key": "fake-key"},CODE
LOW⚡…antigravity/connections/local/local_connection_test.py4031 additional_headers={"x-goog-api-key": "fake-key"},CODE
LOW⚡…antigravity/connections/local/local_connection_test.py4042 output_config = localharness_pb2.OutputConfig(port=8080, api_key="fake-key")CODE
LOW…antigravity/connections/local/local_connection_test.py3988 output_config = localharness_pb2.OutputConfig(port=8080, api_key="fake-key")CODE
Magic Placeholder Names1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHexamples/getting_started/vertex.py24 VERTEX_API_KEY="your-api-key" python vertex.pySTRING
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWgoogle/antigravity/workflows_test.py189 async def helper(item):CODE