Repository Analysis

HolmesGPT/holmesgpt

SRE Agent - CNCF Sandbox Project

27.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of HolmesGPT/holmesgpt, a Python project with 2,849 GitHub stars. SynthScan v2.0 examined 187,019 lines of code across 799 source files, recording 4001 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 27.1 places this repository in the Moderate 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).

27.1
Adjusted Score
27.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.8K
Stars
Python
Language
187.0K
Lines of Code
799
Files
4.0K
Pattern Hits
2026-07-14
Scan Date
0.09
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 71MEDIUM 338LOW 3591

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 4001 distinct pattern matches across 22 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.

Hyper-Verbose Identifiers2413 hits · 2354 pts
SeverityFileLineSnippetContext
LOWconftest.py298def pytest_collection_modifyitems(config, items):CODE
LOWserver.py154def open_experiment_from_request(http_request: Request) -> None:CODE
LOWserver.py245def _get_next_refresh_interval(CODE
LOWserver.py259def _toolset_status_refresh_loop():CODE
LOWserver.py447def extract_passthrough_headers(request: Request) -> dict:CODE
LOWserver.py475def _stream_with_storage_cleanup(storage, stream_generator, req_info):CODE
LOWserver.py484def _stream_with_trace_cleanup(storage, stream_generator, req_info, trace_span):CODE
LOWexperimental/ag-ui/server-agui.py310def _should_execute_suggested_query(CODE
LOWexperimental/ag-ui/server-agui.py334def _should_graph_timeseries_data(tool_name: str) -> bool:CODE
LOWexperimental/ag-ui/server-agui.py424async def _stream_agui_text_message_event(message: str):CODE
LOWexperimental/ag-ui/server-agui.py439def _agui_input_to_holmes_chat_request(input_data: RunAgentInput) -> ChatRequest:CODE
LOWtests/test_server_ssl.py35def test_no_tls_config_returns_empty(monkeypatch):CODE
LOWtests/test_server_ssl.py39def test_only_certfile_fails_fast(monkeypatch, cert_and_key):CODE
LOWtests/test_server_ssl.py46def test_only_keyfile_fails_fast(monkeypatch, cert_and_key):CODE
LOWtests/test_server_ssl.py53def test_missing_cert_file_fails_fast(monkeypatch, tmp_path, cert_and_key):CODE
LOWtests/test_server_ssl.py64def test_unreadable_cert_file_fails_fast(monkeypatch, cert_and_key):CODE
LOWtests/test_server_ssl.py82def test_keyfile_password_included(monkeypatch, cert_and_key):CODE
LOWtests/test_server_ssl.py91def test_mtls_ca_certs_enables_client_verification(monkeypatch, tmp_path, cert_and_key):CODE
LOWtests/test_server_ssl.py103def test_missing_ca_certs_file_fails_fast(monkeypatch, tmp_path, cert_and_key):CODE
LOWtests/test_server_ssl.py112def test_ca_certs_without_cert_and_key_fails_fast(monkeypatch, tmp_path):CODE
LOWtests/test_server_ssl.py121def test_keyfile_password_without_cert_and_key_fails_fast(monkeypatch):CODE
LOWtests/test_mcp_refresh_backoff.py6 def test_backoff_schedule_when_mcp_failed(self):CODE
LOWtests/test_mcp_refresh_backoff.py20 def test_falls_back_to_default_after_schedule_exhausted(self):CODE
LOWtests/test_mcp_refresh_backoff.py29 def test_default_interval_when_no_failures(self):CODE
LOWtests/test_mcp_refresh_backoff.py35 def test_resets_backoff_when_mcp_recovers(self):CODE
LOWtests/test_mcp_refresh_backoff.py47 def test_backoff_restarts_on_new_failure(self):CODE
LOWtests/test_header_propagation.py42 def test_request_context_header(self):CODE
LOWtests/test_header_propagation.py50 def test_case_insensitive_request_context(self):CODE
LOWtests/test_header_propagation.py58 def test_missing_header_renders_empty(self):CODE
LOWtests/test_header_propagation.py96 def test_command_renders_request_context_header(self):CODE
LOWtests/test_header_propagation.py181 def test_model_dump_redacts_request_context_headers(self):CODE
LOWtests/test_header_propagation.py204 def test_extra_headers_merged_into_request(self, mock_request):CODE
LOWtests/test_header_propagation.py298 def test_config_level_extra_headers_rendered(self):CODE
LOWtests/test_header_propagation.py112 def test_command_renders_env_var(self, monkeypatch):CODE
LOWtests/test_header_propagation.py128 def test_command_works_without_request_context(self):CODE
LOWtests/test_header_propagation.py143 def test_script_renders_request_context_header(self):CODE
LOWtests/test_header_propagation.py159 def test_command_renders_case_insensitive_header(self):CODE
LOWtests/test_header_propagation.py249 def test_extra_headers_override_defaults(self, mock_request):CODE
LOWtests/test_header_propagation.py316 def test_extra_headers_with_request_context(self):CODE
LOWtests/test_header_propagation.py337 def test_static_headers_and_extra_headers_merged(self):CODE
LOWtests/test_header_propagation.py357 def test_extra_headers_override_static_headers(self):CODE
LOWtests/test_check_prerequisites.py49def test_check_prerequisites_none():CODE
LOWtests/test_check_prerequisites.py56def test_check_prerequisites_static_enabled():CODE
LOWtests/test_check_prerequisites.py64def test_check_prerequisites_static_disabled():CODE
LOWtests/test_check_prerequisites.py74def test_check_prerequisites_command_success(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py117def test_check_prerequisites_env_var_exists():CODE
LOWtests/test_check_prerequisites.py126def test_check_prerequisites_env_var_missing():CODE
LOWtests/test_check_prerequisites.py134def test_check_prerequisites_callable_success():CODE
LOWtests/test_check_prerequisites.py142def test_check_prerequisites_callable_failure_with_message():CODE
LOWtests/test_check_prerequisites.py150def test_check_prerequisites_callable_failure_no_message():CODE
LOWtests/test_check_prerequisites.py160def test_check_prerequisites_multiple_success(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py36 def get_parameterized_one_liner(self, params: Dict) -> str:CODE
LOWtests/test_check_prerequisites.py94def test_check_prerequisites_command_output_mismatch(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py106def test_check_prerequisites_command_failure(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py176def test_check_prerequisites_command_uses_interpolate_command(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py195def test_check_prerequisites_multiple_all_types_success(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py249def test_check_prerequisites_stops_at_first_failure_command(mock_subprocess_run):CODE
LOWtests/test_check_prerequisites.py288def test_check_prerequisites_stops_at_first_failure_callable():CODE
LOWtests/test_check_prerequisites.py312def test_check_prerequisites_with_failing_callable():CODE
LOWtests/test_check_prerequisites.py330def test_check_prerequisites_env_before_command():CODE
2353 more matches not shown…
Decorative Section Separators224 hits · 819 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_header_propagation.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py178# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py200# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py293# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py295# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_header_propagation.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_check_prerequisites.py400# ============================================================================COMMENT
MEDIUMtests/test_check_prerequisites.py402# ============================================================================COMMENT
MEDIUMtests/test_json_schema_coerce.py9# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py11# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py171# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py219# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py221# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py270# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py272# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_json_schema_coerce.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_toolset_config_tui.py174# ── build_tree_from_schema ────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py374# ── save_config_to_file ──────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py488# ── run_config_test ───────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py538# ── select_toolset ────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py548# ── _get_existing_config ──────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py702# ── Integration: real Pydantic configs ────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py40# ── Fixtures ──────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py133# ── _resolve_primitive_type ───────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py274# ── _flatten_tree ─────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py304# ── tree_to_dict ──────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py579# ── ConfigFieldNode manipulation ──────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py811# ── Enum support ─────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py922# ── MCP save/load ────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_toolset_config_tui.py1007# ── Per-class config cache (mode cycling) ────────────────────────────COMMENT
MEDIUMtests/test_tool_calling_llm.py374# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py376# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py414# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py416# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py480# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py482# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py535# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py537# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py577# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py579# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py720# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py722# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py790# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py792# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py843# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py845# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py933# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py935# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py961# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_calling_llm.py963# ---------------------------------------------------------------------------COMMENT
164 more matches not shown…
Excessive Try-Catch Wrapping510 hits · 508 pts
SeverityFileLineSnippetContext
LOWconftest.py133 except Exception as e:CODE
MEDIUMserver.py869def readiness_check():CODE
LOWserver.py214 except Exception:CODE
LOWserver.py218 except Exception:CODE
LOWserver.py223 except Exception:CODE
LOWserver.py230 except Exception:CODE
LOWserver.py290 except Exception:CODE
LOWserver.py303 except Exception:CODE
LOWserver.py323 except Exception:CODE
LOWserver.py432 except Exception as e:CODE
LOWserver.py734 except Exception as e:CODE
LOWserver.py751 except Exception as e:CODE
LOWserver.py873 except Exception as e:CODE
LOWtempo_cli.py95 except Exception as e:CODE
LOWtempo_cli.py124 except Exception as e:CODE
LOWtempo_cli.py171 except Exception as e:CODE
LOWtempo_cli.py206 except Exception as e:CODE
LOWtempo_cli.py253 except Exception as e:CODE
LOWtempo_cli.py298 except Exception as e:CODE
LOWtempo_cli.py330 except Exception as e:CODE
LOWtempo_cli.py370 except Exception as e:CODE
LOWexperimental/ag-ui/server-agui.py280 except Exception as e:CODE
LOWexperimental/ag-ui/server-agui.py393 except Exception as e:CODE
MEDIUMexperimental/ag-ui/server-agui.py138def event_generator(message_history):CODE
MEDIUMexperimental/ag-ui/server-agui.py342def _parse_timeseries_data(data) -> dict:CODE
LOWtests/conftest.py54 except Exception:CODE
MEDIUMtests/test_mcp_toolset.py2274 print(f"Error: {result[1]}")CODE
LOWtests/test_mcp_toolset.py121 except Exception as e:CODE
LOWtests/test_mcp_toolset.py2329 except Exception as e:CODE
LOWtests/test_mcp_oauth.py876 except Exception:CODE
LOWtests/test_mcp_oauth.py920 except Exception:CODE
LOWtests/test_mcp_oauth.py964 except Exception:CODE
LOWtests/test_mcp_oauth.py1017 except Exception:CODE
LOWtests/llm/conftest.py122 except Exception as e: # pragma: no cover - defensive error propagationCODE
LOWtests/llm/conftest.py314 except Exception as e:CODE
LOWtests/llm/conftest.py409 except Exception:CODE
LOWtests/llm/conftest.py472 except Exception as e:CODE
LOWtests/llm/conftest.py501 except Exception as e:CODE
LOWtests/llm/test_holmes_checks.py230 except Exception as e:CODE
LOWtests/llm/test_holmes_checks.py241 except Exception:CODE
LOWtests/llm/test_compaction.py208 except Exception as e:CODE
LOWtests/llm/test_ask_holmes.py139 except Exception as e:CODE
LOWtests/llm/test_ask_holmes.py348 except Exception as e:CODE
LOWtests/llm/test_ask_holmes.py494 except Exception as e:CODE
LOWtests/llm/test_ask_holmes.py603 except Exception as e:CODE
LOWtests/llm/utils/property_manager.py330 except Exception:CODE
LOWtests/llm/utils/mock_dal.py65 except Exception as e:CODE
LOWtests/llm/utils/mock_dal.py78 except Exception as e:CODE
LOWtests/llm/utils/mock_dal.py92 except Exception as e:CODE
LOWtests/llm/utils/port_forward.py62 except Exception as e:CODE
LOWtests/llm/utils/port_forward.py111 except Exception as e:CODE
LOWtests/llm/utils/port_forward.py119 except Exception:CODE
LOWtests/llm/utils/port_forward.py389 except Exception as e:CODE
LOWtests/llm/utils/braintrust.py210 except Exception:CODE
LOWtests/llm/utils/setup_cleanup.py178 except Exception as e:CODE
LOWtests/llm/utils/retry_handler.py115 except Exception as e:CODE
LOWtests/llm/utils/classifiers.py130except Exception:CODE
LOWtests/llm/utils/braintrust_history.py422 except Exception as e:CODE
LOWtests/llm/utils/test_toolset.py263 except Exception as e:STRING
LOWtests/llm/utils/test_toolset.py293 except Exception as e:STRING
450 more matches not shown…
Self-Referential Comments66 hits · 206 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_header_propagation.py208 # Create an HTTP toolset with extra_headers in configCOMMENT
MEDIUMtests/test_toolset_auto_enable.py48 # Create a per-test subclass so config_classes doesn't leak between testsCOMMENT
MEDIUMtests/stdio_server.py7# Create the MCP serverCOMMENT
MEDIUMtests/test_approval_workflow.py87 # Create the actual ToolCallingLLM instanceCOMMENT
MEDIUMtests/test_approval_workflow.py131 # Create a proper toolset mock with statusCOMMENT
MEDIUMtests/test_approval_workflow.py228 # Create the actual ToolCallingLLM instanceCOMMENT
MEDIUMtests/test_approval_workflow.py271 # Create a proper toolset mock with statusCOMMENT
MEDIUMtests/test_approval_workflow.py380 # Create the actual ToolCallingLLM instanceCOMMENT
MEDIUMtests/test_approval_workflow.py423 # Create a proper toolset mock with statusCOMMENT
MEDIUMtests/generate_eval_report.py299 # Create the filter string for span_attributes.nameCOMMENT
MEDIUMtests/test_holmes_sync_toolsets.py97 # Create a toolset without config_classes - should have null schemaCOMMENT
MEDIUMtests/test_bash_session_prefix_flow.py595 # Create a shared config instance (simulates how toolset config is shared)COMMENT
MEDIUMtests/test_otel_tracing.py155 # Create a child (simulates gen_ai.chat)COMMENT
MEDIUMtests/test_interactive.py412 # Create a temporary directory for history fileCOMMENT
MEDIUMtests/test_mcp_oauth.py1668 # Create a RemoteMCPTool with proper .toolset referenceCOMMENT
MEDIUMtests/test_mcp_oauth.py1749 # Create a placeholder connect toolCOMMENT
MEDIUMtests/llm/utils/constants.py34 # Create a Literal type with all discovered tagsCOMMENT
MEDIUMtests/llm/utils/port_forward.py177 # Create a hashable key for deduplicationCOMMENT
MEDIUMtests/llm/utils/port_forward.py207 # Create a unique key for the serviceCOMMENT
MEDIUMtests/core/test_tool_transformers.py49 # Create a concrete tool for testingCOMMENT
MEDIUMtests/core/test_tool_transformers.py407 # Create a transformer that will failCOMMENT
MEDIUMtests/core/test_tool_transformers.py793 # Create a transformer config that will fail to initializeCOMMENT
MEDIUMtests/core/transformers/test_llm_summarize.py532 # Create a mock expanding transformer responseCOMMENT
MEDIUMtests/core/transformers/test_llm_summarize.py537 # Create a concrete tool class for testingCOMMENT
MEDIUMtests/core/transformers/test_llm_summarize.py579 # Create a mock expanding transformer response that's much larger than originalCOMMENT
MEDIUMtests/core/transformers/test_llm_summarize.py586 # Create a concrete tool class for testingCOMMENT
MEDIUMtests/core/transformers/test_llm_summarize.py650 # Create a concrete tool class for testingCOMMENT
MEDIUMtests/plugins/toolsets/test_tool_kafka.py323 # Create a new topic for this test to ensure clean stateCOMMENT
MEDIUMtests/plugins/toolsets/test_tool_kafka.py327 # Create the topicCOMMENT
MEDIUMtests/plugins/toolsets/test_tool_kafka.py454 # Create a consumer group and commit offsetsCOMMENT
MEDIUMtests/plugins/toolsets/test_logging_api.py33 # Create the toolCOMMENT
MEDIUMtests/plugins/toolsets/test_logging_api.py71 # Create the toolCOMMENT
MEDIUMtests/plugins/toolsets/test_logging_api.py102 # Create the toolCOMMENT
MEDIUMtests/plugins/toolsets/test_logging_api.py130 # Create the toolCOMMENT
MEDIUMtests/plugins/toolsets/test_logging_api.py152 # Create the toolCOMMENT
MEDIUMtests/plugins/toolsets/test_logging_api.py187 # Create a mock LLM that simulates token countingCOMMENT
MEDIUM…sts/plugins/toolsets/grafana/test_grafana_tempo_api.py360 # Create an HTTPError with a response attributeCOMMENT
MEDIUMtests/plugins/toolsets/bash/test_read_image_file.py91 # Create a file just over the 20MB limitCOMMENT
MEDIUMtests/checks/test_checks_cli.py36 # Create a temporary checks config fileCOMMENT
MEDIUM…s/integration/test_kubernetes_transformer_execution.py209 # Create a failing transformerCOMMENT
MEDIUM…s/integration/test_kubernetes_transformer_execution.py225 # Create a YAML toolset with the failing transformerCOMMENT
MEDIUM…s/integration/test_kubernetes_transformer_execution.py317 # Create a second transformerCOMMENT
MEDIUM…s/integration/test_kubernetes_transformer_execution.py425 # Create a YAML toolset for testingCOMMENT
MEDIUMholmes/interactive.py1209 # Create a temporary document with just the path partCOMMENT
MEDIUMholmes/interactive.py1240 # Create a temporary document with just the command partCOMMENT
MEDIUMholmes/interactive.py1718 # Create a temporary session without history for y/n promptsCOMMENT
MEDIUMholmes/interactive.py1998 # Create a temporary file to capture shell sessionCOMMENT
MEDIUMholmes/interactive.py2091 # Create a temporary session without history for feedback promptsCOMMENT
MEDIUMholmes/core/openai_formatting.py174 ) # Create a copy to avoid modifying originalCODE
MEDIUMholmes/core/tools.py509 # Create a copy of the result with transformed dataCOMMENT
MEDIUMholmes/core/tool_calling_llm.py88# Create a named logger for cost trackingCOMMENT
MEDIUMholmes/core/tool_calling_llm.py1157 # Create a child gen_ai.chat span for each LLM call iteration.COMMENT
MEDIUMholmes/plugins/destinations/pagerduty/plugin.py111 # Create the payloadCOMMENT
MEDIUMholmes/plugins/toolsets/kafka.py207 # Create the file atomically with restrictive permissions.COMMENT
MEDIUMholmes/plugins/toolsets/kafka.py779 # Create a consumer with the same group.id as the one we're checkingCOMMENT
MEDIUM…lugins/toolsets/servicenow_tables/servicenow_tables.py427 # Create the response with records and relevant headersCOMMENT
MEDIUMholmes/plugins/toolsets/grafana/trace_parser.py60 # Create a Span objectCOMMENT
MEDIUMholmes/plugins/toolsets/rabbitmq/api.py427 # Create a unique key: node_name + sorted tuple of unreachable nodesCOMMENT
MEDIUMholmes/plugins/toolsets/bash/bash_toolset.py437 # Create a config-like dict with effective lists for the templateCOMMENT
MEDIUM…es/plugins/toolsets/datadog/toolset_datadog_general.py763 # Create a readable endpoint example from the patternCOMMENT
6 more matches not shown…
Deep Nesting209 hits · 176 pts
SeverityFileLineSnippetContext
LOWconftest.py88CODE
LOWserver.py259CODE
LOWserver.py500CODE
LOWserver.py269CODE
LOWexperimental/ag-ui/server-agui.py102CODE
LOWexperimental/ag-ui/server-agui.py138CODE
LOWtests/test_approval_workflow.py71CODE
LOWtests/test_approval_workflow.py212CODE
LOWtests/test_approval_workflow.py364CODE
LOWtests/generate_eval_report.py149CODE
LOWtests/generate_eval_report.py431CODE
LOWtests/generate_eval_report.py501CODE
LOWtests/generate_eval_report.py597CODE
LOWtests/generate_eval_report.py945CODE
LOWtests/generate_eval_report.py1141CODE
LOWtests/generate_eval_report.py1203CODE
LOWtests/generate_eval_report.py1316CODE
LOWtests/test_http_docs.py184CODE
LOWtests/test_bash_session_prefix_flow.py156CODE
LOWtests/test_cache.py44CODE
LOWtests/llm/conftest.py131CODE
LOWtests/llm/conftest.py376CODE
LOWtests/llm/conftest.py603CODE
LOWtests/llm/conftest.py680CODE
LOWtests/llm/conftest.py744CODE
LOWtests/llm/test_holmes_checks.py156CODE
LOWtests/llm/test_compaction.py42CODE
LOWtests/llm/test_ask_holmes.py72CODE
LOWtests/llm/test_ask_holmes.py500CODE
LOWtests/llm/utils/test_case_utils.py446CODE
LOWtests/llm/utils/property_manager.py107CODE
LOWtests/llm/utils/mock_dal.py55CODE
LOWtests/llm/utils/test_results.py96CODE
LOWtests/llm/utils/test_results.py113CODE
LOWtests/llm/utils/test_results.py128CODE
LOWtests/llm/utils/env_config.py29CODE
LOWtests/llm/utils/conversation_formatter.py7CODE
LOWtests/llm/utils/port_forward.py167CODE
LOWtests/llm/utils/port_forward.py191CODE
LOWtests/llm/utils/port_forward.py340CODE
LOWtests/llm/utils/port_forward.py98CODE
LOWtests/llm/utils/braintrust.py29CODE
LOWtests/llm/utils/setup_cleanup.py21CODE
LOWtests/llm/utils/setup_cleanup.py59CODE
LOWtests/llm/utils/classifiers.py35CODE
LOWtests/llm/utils/test_toolset.py132CODE
LOWtests/llm/utils/commands.py21CODE
LOWtests/llm/utils/reporting/github_reporter.py466CODE
LOWtests/llm/utils/reporting/terminal_reporter.py504CODE
LOWtests/llm/utils/reporting/terminal_reporter.py904CODE
LOWtests/llm/utils/reporting/terminal_reporter.py1149CODE
LOWtests/llm/utils/reporting/terminal_reporter.py1271CODE
LOWtests/plugins/toolsets/test_tool_kafka.py452CODE
LOW…s/plugins/toolsets/grafana/test_grafana_tempo_tools.py496CODE
LOW…/toolsets/datadog/metrics/test_datadog_metrics_live.py101CODE
LOW…ins/toolsets/kubernetes/test_kubernetes_logs_mocked.py9CODE
LOW…s/integration/test_kubernetes_transformer_execution.py206CODE
LOWtests/utils/curl_parser.py140CODE
LOWholmes_operator/trigger_executor.py425CODE
LOWholmes_operator/utils.py108CODE
149 more matches not shown…
Magic Placeholder Names32 hits · 165 pts
SeverityFileLineSnippetContext
HIGHtempo_cli_README.md112export TEMPO_API_KEY=your-api-key-hereCODE
HIGHCONTRIBUTING.md45export OPENAI_API_KEY="your-api-key-here"CODE
HIGHCONTRIBUTING.md48export ANTHROPIC_API_KEY="your-api-key-here"CODE
HIGHCONTRIBUTING.md51export AZURE_API_KEY="your-api-key-here"CODE
HIGHtests/utils/curl_parser.py278 - <your-api-key> -> test-api-keySTRING
HIGHtests/utils/test_pydantic_utils.py34 assert example["api_key"] == "your_api_key"CODE
HIGHdocs/development/evaluations/reporting.md30export BRAINTRUST_API_KEY=sk-your-api-key-hereCODE
HIGHdocs/installation/cli-installation.md76 -e OPENAI_API_KEY="your-api-key" \CODE
HIGHdocs/installation/cli-installation.md107 export ANTHROPIC_API_KEY="your-api-key"CODE
HIGHdocs/installation/cli-installation.md128 export OPENAI_API_KEY="your-api-key"CODE
HIGHdocs/installation/docker-compose-installation.md22 export OPENAI_API_KEY="your-api-key"CODE
HIGHdocs/data-sources/builtin-toolsets/grafana-mcp.md192 ./test-grafana-api-key.sh '<your-api-key>' '<your-grafana-url>'CODE
HIGHdocs/data-sources/builtin-toolsets/grafana-mcp.md376 X-Grafana-API-Key: "<YOUR_TOKEN>"CODE
HIGHdocs/data-sources/builtin-toolsets/grafana-mcp.md404 Replace `<YOUR_TOKEN>` with your Grafana service account token.CODE
HIGHdocs/data-sources/builtin-toolsets/splunk-mcp.md75 Authorization: "Bearer <YOUR_TOKEN>"CODE
HIGHdocs/data-sources/builtin-toolsets/splunk-mcp.md87 - `<YOUR_TOKEN>` with the token generated in Prerequisites Step 4CODE
HIGHdocs/data-sources/builtin-toolsets/splunk-mcp.md97 --from-literal=token=<YOUR_TOKEN> \CODE
HIGHdocs/data-sources/builtin-toolsets/servicenow.md64 -H "x-sn-apikey: <your-api-key>"CODE
HIGHdocs/data-sources/builtin-toolsets/servicenow.md69 -H "x-sn-apikey: <your-api-key>"CODE
HIGHdocs/data-sources/builtin-toolsets/elasticsearch.md30 api_key: "your-api-key"CODE
HIGHdocs/data-sources/builtin-toolsets/elasticsearch.md38 api_key: "your-api-key"CODE
HIGHdocs/data-sources/builtin-toolsets/elasticsearch.md52 --from-literal=api-key=your-api-key \CODE
HIGHdocs/data-sources/builtin-toolsets/elasticsearch.md95 --from-literal=api-key=your-api-key \CODE
HIGHdocs/data-sources/builtin-toolsets/elasticsearch.md144 api_key: "your-api-key"CODE
HIGHdocs/ai-providers/anthropic.md23 holmes ask "what pods are failing?" --model="anthropic/claude-sonnet-4-5" --api-key="your-api-key"CODE
HIGHdocs/ai-providers/openai.md26 holmes ask "what pods are failing?" --api-key="your-api-key"CODE
HIGHdocs/ai-providers/using-multiple-providers.md24 api_key: "your-api-key"CODE
HIGHdocs/ai-providers/index.md32 2. Set `export OPENAI_API_KEY="your-api-key"`CODE
HIGHdocs/ai-providers/gemini.md116holmes ask "what pods are failing?" --model="gemini/<your-gemini-model>" --api-key="your-api-key"CODE
HIGHdocs/ai-providers/azure-ai-foundry.md127holmes ask "what pods are failing?" --model="anthropic/claude-opus-4-7" --api-key="your-api-key"CODE
HIGHdocs/reference/helm-configuration.md73 value: "your-api-key"CODE
HIGHholmes/plugins/toolsets/grafana/common.py52 examples=[{"Authorization": "Bearer YOUR_API_KEY"}],CODE
Redundant / Tautological Comments85 hits · 130 pts
SeverityFileLineSnippetContext
LOWtests/test_bash_session_prefix_flow.py127 # Check if all prefixes are in session_approved_prefixesCOMMENT
LOWtests/test_bash_session_prefix_flow.py353 # Check if we got approval_required or answer_endCOMMENT
LOWtests/llm/conftest.py200 # Check if any failures are not in the allowed listCOMMENT
LOWtests/llm/conftest.py265 # Check if we're in --only-setup modeCOMMENT
LOWtests/llm/conftest.py565 # Check if LLM marker is being excludedCOMMENT
LOWtests/llm/conftest.py606 # Check if we're in collect-only modeCOMMENT
LOWtests/llm/conftest.py612 # Check if LLM marker is being excludedCOMMENT
LOWtests/llm/conftest.py661 # Check if Braintrust is enabledCOMMENT
LOWtests/llm/conftest.py718 # Check if we're in a worker processCOMMENT
LOWtests/llm/conftest.py819 # Check if we have error informationCOMMENT
LOWtests/llm/conftest.py970 # Check if Braintrust is enabledCOMMENT
LOWtests/llm/test_holmes_checks.py168 # Check if test should be skippedCOMMENT
LOWtests/llm/utils/test_case_utils.py322 # Check if test should be skippedCOMMENT
LOWtests/llm/utils/test_case_utils.py344 # Check if --only-setup is set (AFTER checking for setup failures)COMMENT
LOWtests/llm/utils/test_case_utils.py349 # Check if --only-cleanup is setCOMMENT
LOWtests/llm/utils/test_case_utils.py360 # Check if test should be skipped due to port conflictsCOMMENT
LOWtests/llm/utils/property_manager.py160 # Check if we should include intermediate outputs (based on CLI flag, defaults to True)COMMENT
LOWtests/llm/utils/property_manager.py347 # Check if this is a ThrottledErrorCOMMENT
LOWtests/llm/utils/property_manager.py358 # Check if this is a ToolsetPrerequisiteError (toolset infrastructure not available)COMMENT
LOWtests/llm/utils/test_results.py40 # Check if removing this digit would leave us with underscore or nothingCOMMENT
LOWtests/llm/utils/port_forward.py29 # Check if port is already in useCOMMENT
LOWtests/llm/utils/port_forward.py44 # Check if process is still runningCOMMENT
LOWtests/llm/utils/port_forward.py48 # Check if port is in use to provide better error messageCOMMENT
LOWtests/llm/utils/port_forward.py259 # Check if ports are already in use on the systemCOMMENT
LOWtests/llm/utils/port_forward.py373 # Check if it's a kubectl process before killingCOMMENT
LOWtests/llm/utils/retry_handler.py116 # Check if this is a throttle errorCOMMENT
LOWtests/llm/utils/retry_handler.py127 # Check if retries are disabledCOMMENT
LOWtests/llm/utils/retry_handler.py138 # Check if we have retries leftCOMMENT
LOWtests/llm/utils/reporting/github_reporter.py479 # Check if running on a specific branch (for cross-branch comparison)COMMENT
LOWtests/llm/utils/reporting/terminal_reporter.py1276 # Check if any tests had retriesCOMMENT
LOWtests/core/transformers/test_transformers.py280 # Check if transformation should applyCOMMENT
LOWholmes_operator/handlers/healthcheck.py50 # Set status to PendingCOMMENT
LOWscripts/publish-pypi.sh19# Check if PYPI_TOKEN is setCOMMENT
LOWscripts/publish-pypi.sh26# Check if Poetry is installedCOMMENT
LOW.github/workflows/build-and-test.yaml60 # Check if file matches any skip patternCOMMENT
LOW.github/workflows/eval-regression.yaml1287 # Check if results were actually produced. If not, it's a collection error.COMMENT
LOW.github/workflows/eval-benchmarks.yaml163 # Check if there are changes to commitCOMMENT
LOW.github/workflows/eval-benchmarks.yaml181 # Check if PR already existsCOMMENT
LOWholmes/version.py78 # Check if Git substitution didn't happen (placeholders are still present)COMMENT
LOWholmes/version.py91 # Set ceiling to prevent walking up beyond the project rootCOMMENT
LOWholmes/version.py122 # Check if there are uncommitted changesCOMMENT
LOWholmes/version.py177 # Check if current version starts with latest versionCOMMENT
LOWholmes/interactive.py2657 # Check if we got an approval-required eventCOMMENT
LOWholmes/core/tracing.py64 # Check if .git is a file (worktree case)COMMENT
LOWholmes/core/tools.py456 # Check if transformer should be appliedCOMMENT
LOWholmes/core/tools.py470 # Check if this is llm_summarize and revert if summary is not smallerCOMMENT
LOWholmes/core/tools.py854 # Check if transformer is registeredCOMMENT
LOWholmes/core/tools.py885 # Check if transformer is registeredCOMMENT
LOWholmes/core/tool_calling_llm.py657 # Check if there are frontend tool calls — can't execute in sync modeCOMMENT
LOWholmes/core/tool_calling_llm.py1288 # Check if any tools require approval or are frontend-definedCOMMENT
LOWholmes/core/toolset_manager.py469 # Check if any datasource config file has changed since the last run.COMMENT
LOWholmes/core/transformers/llm_summarize.py116 # Check if input exceeds thresholdCOMMENT
LOWholmes/plugins/toolsets/kubernetes_logs.py71 # Check if kubectl is availableCOMMENT
LOWholmes/plugins/toolsets/kubernetes_logs.py192 # Check if we have any logs to returnCOMMENT
LOWholmes/plugins/toolsets/kubernetes.yaml157 # Output results as a JSON object with metadataCOMMENT
LOWholmes/plugins/toolsets/kafka.py805 # Check if any partition has a valid committed offsetCOMMENT
LOWholmes/plugins/toolsets/kafka.py1284 # Check if partition is under-replicatedCOMMENT
LOWholmes/plugins/toolsets/kafka.py1288 # Check if partition is offlineCOMMENT
LOWholmes/plugins/toolsets/database/database.py534 # Check if the result returns rows (SELECT, SHOW, etc.) or not (INSERT, UPDATE, etc.)COMMENT
LOWholmes/plugins/toolsets/logging_utils/logging_api.py246 # Check if it's already in RFC3339 formatCOMMENT
25 more matches not shown…
Structural Annotation Overuse76 hits · 126 pts
SeverityFileLineSnippetContext
LOWexperimental/ag-ui/server-agui.py442 # IMPORTANT: Do not support front-end "tool" messages for now. Store them as assistant messages in conv history.COMMENT
LOWtests/test_mcp_oauth.py688 # Step 1: Discover OAuth endpointsCOMMENT
LOWtests/test_mcp_oauth.py709 # Step 2: Generate PKCECOMMENT
LOWtests/test_mcp_oauth.py712 # Step 3: Start local callback server (port 0 = OS-assigned)COMMENT
LOWtests/test_mcp_oauth.py776 # Step 5: Wait for callbackCOMMENT
LOWtests/test_mcp_oauth.py785 # Step 6: Exchange code for tokenCOMMENT
LOWtests/test_mcp_oauth.py759 # Step 4: Build authorization URL and open browserCOMMENT
LOWtests/test_mcp_oauth.py807 # Step 7: Use token to list MCP toolsCOMMENT
LOWtests/llm/conftest.py458 # Step 2: Environment is OK, now test if the API actually worksCOMMENT
LOWtests/core/conversations_worker/README.md40### Step 1: Start the Holmes serverCOMMENT
LOWtests/core/conversations_worker/README.md55### Step 2: Run the integration testsCOMMENT
LOW.claude/skills/patch-cve/SKILL.md17## Step 1: Identify the CVE SourceCOMMENT
LOW.claude/skills/patch-cve/SKILL.md31## Step 2: Check if Upstream Fixes ExistCOMMENT
LOW.claude/skills/patch-cve/SKILL.md72## Step 3: Apply the FixCOMMENT
LOW.claude/skills/patch-cve/SKILL.md120## Step 4: Build the Docker ImageCOMMENT
LOW.claude/skills/patch-cve/SKILL.md130## Step 5: Validate the FixCOMMENT
LOW.claude/skills/patch-cve/SKILL.md158## Step 6: Document and Clean UpCOMMENT
LOW.claude/skills/create-eval/SKILL.md28### Step 1: Choose Test Number and NamespaceCOMMENT
LOW.claude/skills/create-eval/SKILL.md38### Step 2: Validate TagsCOMMENT
LOW.claude/skills/create-eval/SKILL.md42### Step 3: Write test_case.yamlCOMMENT
LOW.claude/skills/create-eval/SKILL.md68### Step 4: Write toolsets.yaml (if needed)COMMENT
LOW.claude/skills/create-eval/SKILL.md84### Step 5: Write Setup ScriptsCOMMENT
LOW.claude/skills/create-eval/SKILL.md106### Step 6: Design Anti-Hallucination MeasuresCOMMENT
LOWdocs/development/evaluations/benchmarking-new-models.md10## Step 1: Create Model List FileCOMMENT
LOWdocs/development/evaluations/benchmarking-new-models.md40## Step 2: Run Initial TestCOMMENT
LOWdocs/development/evaluations/benchmarking-new-models.md55## Step 3: Known Issues and TroubleshootingCOMMENT
LOWdocs/development/evaluations/benchmarking-new-models.md64## Step 4: Run BenchmarksCOMMENT
LOWdocs/development/evaluations/benchmarking-new-models.md77## Step 5: Review ResultsCOMMENT
LOWdocs/walkthrough/investigating-using-aks-mcp-server.md17### Step 1: Setup the MCP ServerCOMMENT
LOWdocs/walkthrough/investigating-using-aks-mcp-server.md23### Step 2: Update Configuration for SSECOMMENT
LOWdocs/walkthrough/investigating-using-aks-mcp-server.md40### Step 3: Configure HolmesGPTCOMMENT
LOWdocs/walkthrough/investigating-prometheus-alerts.md16### Step 1: Forward AlertManagerCOMMENT
LOWdocs/walkthrough/investigating-prometheus-alerts.md24### Step 2: Create a Test AlertCOMMENT
LOWdocs/walkthrough/investigating-prometheus-alerts.md57### Step 3: Investigate AlertsCOMMENT
LOWdocs/data-sources/builtin-toolsets/splunk-mcp.md18### Step 1: Install Splunk MCP ServerCOMMENT
LOWdocs/data-sources/builtin-toolsets/splunk-mcp.md32### Step 2: Create MCP RoleCOMMENT
LOWdocs/data-sources/builtin-toolsets/splunk-mcp.md41### Step 3: Create MCP UserCOMMENT
LOWdocs/data-sources/builtin-toolsets/splunk-mcp.md48### Step 4: Generate Authentication TokenCOMMENT
LOWdocs/data-sources/builtin-toolsets/splunk-mcp.md56### Step 5: Get MCP Endpoint URLCOMMENT
LOWdocs/data-sources/builtin-toolsets/azure-mcp.md89### Step 1: Set Up Azure RBAC RolesCOMMENT
LOWdocs/data-sources/builtin-toolsets/azure-mcp.md134### Step 2: Deploy with HelmCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md19### Step 1: DeployCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md86### Step 2: VerifyCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md96### Step 1: Generate a kubeconfig for HolmesCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md179### Step 2: Set the default context In the Kubeconfig fileCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md193### Step 3: Create the kubeconfig SecretCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md211### Step 4: DeployCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md429### Step 5: Route chats to the right cluster (Robusta UI)COMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md450### Step 1: Enable Azure AD on your AKS clusterCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md454### Step 2: Create an Entra ID App RegistrationCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md471### Step 3: Store the client secretCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md482### Step 4: DeployCOMMENT
LOWdocs/data-sources/builtin-toolsets/kubernetes-mcp.md589### Step 5: VerifyCOMMENT
LOWdocs/data-sources/builtin-toolsets/aws.md12### Step 1: Set Up IAM PermissionsCOMMENT
LOWdocs/data-sources/builtin-toolsets/aws.md105### Step 2: Deploy AWS MCPCOMMENT
LOWdocs/data-sources/builtin-toolsets/aws.md263### Step 1: Download the Setup ScriptCOMMENT
LOWdocs/data-sources/builtin-toolsets/aws.md283### Step 2: Create Configuration FileCOMMENT
LOWdocs/data-sources/builtin-toolsets/aws.md335### Step 3: Run the SetupCOMMENT
LOWdocs/data-sources/builtin-toolsets/aws.md354### Step 4: Configure Helm ChartCOMMENT
LOWdocs/ai-providers/other.md9### Step 1: Check LiteLLM DocumentationCOMMENT
16 more matches not shown…
Unused Imports144 hits · 120 pts
SeverityFileLineSnippetContext
LOWserver.py18CODE
LOWserver.py26CODE
LOWtests/test_header_propagation.py12CODE
LOWtests/test_header_propagation.py13CODE
LOWtests/test_header_propagation.py13CODE
LOWtests/test_header_propagation.py13CODE
LOWtests/test_header_propagation.py13CODE
LOWtests/test_header_propagation.py16CODE
LOWtests/test_header_propagation.py206CODE
LOWtests/test_header_propagation.py251CODE
LOWtests/test_check_prerequisites.py4CODE
LOWtests/test_check_prerequisites.py7CODE
LOWtests/test_toolset_auto_enable.py3CODE
LOWtests/test_toolset_auto_enable.py3CODE
LOWtests/test_toolset_auto_enable.py6CODE
LOWtests/test_toolset_auto_enable.py9CODE
LOWtests/test_bash_toolset_validation.py11CODE
LOWtests/test_toolset_config_tui.py3CODE
LOWtests/test_toolset_config_tui.py4CODE
LOWtests/test_toolset_config_tui.py8CODE
LOWtests/test_toolset_config_tui.py23CODE
LOWtests/test_toolset_prereq_timeout.py3CODE
LOWtests/test_tool_calling_llm.py18CODE
LOWtests/test_tool_calling_llm.py18CODE
LOWtests/test_tool_calling_llm.py18CODE
LOWtests/test_otel_tracing.py10CODE
LOWtests/test_otel_tracing.py10CODE
LOWtests/test_interactive.py6CODE
LOWtests/test_mcp_oauth.py30CODE
LOWtests/test_mcp_oauth.py1736CODE
LOWtests/llm/utils/property_manager.py10CODE
LOWtests/llm/utils/skill_suggestions.py17CODE
LOWtests/llm/utils/test_toolset.py5CODE
LOWtests/llm/utils/commands.py14CODE
LOWtests/core/test_llm_completion_temperature.py1CODE
LOWtests/core/test_tool_output_deduplication.py8CODE
LOW…sts/core/tools_utils/test_filesystem_result_storage.py3CODE
LOW…s/core/tools_utils/test_tool_context_window_limiter.py2CODE
LOW…sts/core/conversations_worker/test_realtime_manager.py4CODE
LOW…sts/core/conversations_worker/test_tool_call_worker.py22CODE
LOWtests/core/conversations_worker/test_event_publisher.py2CODE
LOWtests/core/conversations_worker/test_dal_contract.py6CODE
LOWtests/core/conversations_worker/test_dal_contract.py6CODE
LOWtests/core/conversations_worker/test_dal_contract.py6CODE
LOWtests/core/conversations_worker/integration/conftest.py12CODE
LOW…ersations_worker/integration/broadcast_health_check.py14CODE
LOW…versations_worker/integration/test_retry_resilience.py20CODE
LOW…ations_worker/integration/test_claiming_concurrency.py27CODE
LOWtests/core/conversations_worker/integration/__init__.py13CODE
LOW…ns_worker/integration/test_conversation_integration.py15CODE
LOW…ns_worker/integration/test_conversation_integration.py17CODE
LOWtests/plugins/sources/test_pagerduty_source.py3CODE
LOWtests/plugins/toolsets/test_tool_kafka.py7CODE
LOWtests/plugins/toolsets/test_logging_api.py3CODE
LOWtests/plugins/toolsets/test_logging_api.py6CODE
LOWtests/plugins/toolsets/test_logging_api.py8CODE
LOW…ts/plugins/toolsets/grafana/test_grafana_tempo_unit.py6CODE
LOWtests/config_class/test_config_anchors.py1CODE
LOWtests/config_class/test_source_factory.py14CODE
LOWtests/config_class/test_source_factory.py15CODE
84 more matches not shown…
Cross-Language Confusion19 hits · 99 pts
SeverityFileLineSnippetContext
HIGHtests/test_bash_toolset_validation.py153 segments, has_compound = parse_command_segments("mkdir test && cd test")CODE
HIGHtests/test_bash_toolset_validation.py159 segments, has_compound = parse_command_segments("test -f file.txt || touch file.txt")CODE
HIGHtests/test_bash_toolset_validation.py767 "echo $HOME && ls ${HOME}/projects",CODE
HIGHtests/test_bash_toolset_validation.py719 "kubectl get pods && kubectl get services",CODE
HIGHtests/test_bash_toolset_validation.py731 "kubectl get pods || echo 'no pods'",CODE
HIGHtests/test_bash_toolset_validation.py152 """Test parsing && operator."""STRING
HIGHtests/test_bash_toolset_validation.py158 """Test parsing || operator."""STRING
HIGHtests/test_approval_token_security.py87 "arguments": json.dumps({"command": "id && pwd"}),CODE
HIGHtests/test_mcp_oauth.py1307 is null), a static Authorization header from `headers` must NOT be sent —STRING
HIGHtests/core/test_tool_memory_limit.py19 assert result == f"ulimit -v {expected_kb} 2>/dev/null || true; "CODE
HIGH…ns_worker/integration/test_conversation_integration.py159 "https://example.invalid/no-op || echo done` to confirm a simple "CODE
HIGHtests/integration/test_tool_execution_pipeline.py40 "ulimit -v 1048576 2>/dev/null || true",CODE
HIGHholmes/main.py130 help="Slack API key if --destination=slack (experimental). Can generate with `pip install robusta-cli && robusta intCODE
HIGHholmes/core/openai_formatting.py145 # requires optional params to accept null, or when the source schema explicitly marksCOMMENT
HIGHholmes/core/tools.py248 """Return the primary (non-null) type as a string."""STRING
HIGHholmes/core/json_schema_coerce.py66 """Extract the primary (non-null) type from a schema-like object.STRING
HIGHholmes/plugins/toolsets/mcp/toolset_mcp.py657 # Nullable shorthand: anyOf[<type>, null] → collapse to the single type.COMMENT
HIGH…s/toolsets/azure_sql/apis/connection_monitoring_api.py190 FROM sys.fn_xe_file_target_read_file('system_health*.xel', null, null, null)CODE
HIGHholmes/utils/memory_limit.py25 return f"ulimit -v {memory_limit_kb} 2>/dev/null || true; "CODE
Docstring Block Structure17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHtests/llm/utils/retry_handler.py69 Retry a function when encountering throttling/overload errors. Args: func: The function to call STRING
HIGHtests/core/test_prompt.py74Extract user message content from messages list. Args: messages: List of message dictionaries with 'role' aSTRING
HIGHholmes_operator/scheduler/manager.py70 Register a cron job with APScheduler. Args: name: ScheduledHealthCheck name naSTRING
HIGHholmes_operator/client/holmes_api_client.py55 Execute a health check via Holmes API. Endpoint: POST /api/checks/execute Args: cSTRING
HIGHholmes/core/otel_tracing.py478Create the OTLP span and metric exporters for the given protocol. Args: protocol: ``"grpc"`` or ``"http/proSTRING
HIGHholmes/core/prompt.py46 Build content array for vision models with text and images. Args: text: The text content imageSTRING
HIGHholmes/core/transformers/registry.py67 Create a transformer instance by name. Args: name: The name of the transformer to create STRING
HIGHholmes/core/transformers/llm_summarize.py131 Transform the input text by summarizing it with the fast model. Args: input_text: The toolSTRING
HIGHholmes/core/transformers/base.py28 Transform the input text and return the transformed output. Args: input_text: The raw toolSTRING
HIGHholmes/core/tools_utils/oauth_tool_connector.py48Try to process a tool approval decision as an OAuth code exchange. If the decision contains an OAuth authorizatSTRING
HIGH…lugins/toolsets/servicenow_tables/servicenow_tables.py196Make a GET request to ServiceNow API and return JSON data and headers. Args: endpoint: API endpointSTRING
HIGHholmes/plugins/toolsets/grafana/grafana_tempo_api.py71Make HTTP request to Tempo API with retry logic. Args: endpoint: API endpoint path (e.g., "/api/echSTRING
HIGHholmes/plugins/toolsets/grafana/toolset_grafana.py587Make a GET request to Grafana render API and return PNG bytes. Args: render_path: Render URL path (STRING
HIGHholmes/plugins/toolsets/newrelic/newrelic.py279Create a NewRelicAPI client instance. Args: override_account_id: Account ID to use. If None, uses tSTRING
HIGHholmes/plugins/toolsets/newrelic/new_relic_api.py47Make HTTP POST request to NewRelic GraphQL API. Args: graphql_query: The GraphQL query as a dictionSTRING
HIGHholmes/plugins/toolsets/newrelic/new_relic_api.py85Execute an NRQL query via the NewRelic GraphQL API. Args: nrql_query: The NRQL query string to execSTRING
HIGHholmes/plugins/toolsets/elasticsearch/elasticsearch.py231Make HTTP request to Elasticsearch. Args: method: HTTP method (GET, POST, etc.) endpoinSTRING
Modern Structural Boilerplate63 hits · 64 pts
SeverityFileLineSnippetContext
LOWtests/test_cache.py22logger = logging.getLogger(__name__)CODE
LOWtests/llm/utils/property_manager.py75def set_trace_properties(request, eval_span) -> None:CODE
LOWtests/llm/utils/property_manager.py97def update_property(request, key: str, value: Any) -> None:CODE
LOWtests/llm/utils/braintrust_history.py28__all__ = [CODE
LOWtests/core/conversations_worker/integration/__init__.py140 async def _setup() -> None:CODE
LOWholmes_operator/trigger_executor.py23logger = logging.getLogger(__name__)CODE
LOWholmes_operator/operator.py32logger = logging.getLogger(__name__)CODE
LOWholmes_operator/context.py13logger = logging.getLogger(__name__)CODE
LOWholmes_operator/utils.py17logger = logging.getLogger(__name__)CODE
LOWholmes_operator/scheduler/job_executor.py12logger = logging.getLogger(__name__)CODE
LOWholmes_operator/scheduler/__init__.py7__all__ = ["SchedulerManager"]CODE
LOWholmes_operator/scheduler/manager.py14logger = logging.getLogger(__name__)CODE
LOWholmes_operator/client/__init__.py5__all__ = ["HolmesAPIClient"]CODE
LOWholmes_operator/client/holmes_api_client.py11logger = logging.getLogger(__name__)CODE
LOWholmes_operator/handlers/triggeredhealthcheck.py23logger = logging.getLogger(__name__)CODE
LOWholmes_operator/handlers/healthcheck.py25logger = logging.getLogger(__name__)CODE
LOWholmes_operator/handlers/scheduledhealthcheck.py25logger = logging.getLogger(__name__)CODE
LOWholmes/toolset_config_tui.py34logger = logging.getLogger(__name__)CODE
LOWholmes/core/oauth_utils.py29logger = logging.getLogger(__name__)CODE
LOWholmes/core/oauth_utils.py52def set_oauth_dal(dal: Any) -> None:CODE
LOWholmes/core/otel_tracing.py70logger = logging.getLogger(__name__)CODE
LOWholmes/core/otel_tracing.py268 def set_attributes(self, name: Optional[str] = None, span_type: Optional[str] = None, span_attributes: Optional[DictCODE
LOWholmes/core/oauth_config.py13logger = logging.getLogger(__name__)CODE
LOWholmes/core/feedback.py68 def update_llm(self, llm: LLM) -> None:CODE
LOWholmes/core/feedback.py119 def set_user_feedback(self, user_feedback: UserFeedback) -> None:CODE
LOWholmes/core/tools.py58logger = logging.getLogger(__name__)CODE
LOWholmes/core/json_schema_coerce.py52logger = logging.getLogger(__name__)CODE
LOWholmes/core/oauth_server_callbacks.py16logger = logging.getLogger(__name__)CODE
LOWholmes/core/usage_recorder.py578__all__ = [CODE
LOWholmes/core/azure_token.py10logger = logging.getLogger(__name__)CODE
LOWholmes/core/transformers/__init__.py16__all__ = [CODE
LOWholmes/core/transformers/llm_summarize.py20logger = logging.getLogger(__name__)CODE
LOWholmes/core/transformers/llm_summarize.py77 def set_default_fast_model(cls, model: str) -> None:CODE
LOWholmes/core/transformers/base.py5__all__ = ["BaseTransformer", "TransformerError"]CODE
LOWholmes/core/tools_utils/oauth_tool_connector.py23logger = logging.getLogger(__name__)CODE
LOWholmes/core/scheduled_prompts/__init__.py7__all__ = [CODE
LOWholmes/core/conversations_worker/__init__.py3__all__ = ["ConversationWorker"]CODE
LOWholmes/plugins/toolsets/multi_instance.py51logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/json_filter_mixin.py14logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/database/database.py30logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/database/database.py437 def _update_tool_descriptions(self) -> None:CODE
LOWholmes/plugins/toolsets/database/__init__.py3__all__ = ["DatabaseToolset"]CODE
LOWholmes/plugins/toolsets/grafana/grafana_tempo_api.py17logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/grafana/toolset_grafana.py29logger = logging.getLogger(__name__)CODE
LOW…/toolsets/robusta_platform_mcp/robusta_platform_mcp.py44logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/mcp/oauth_token_store.py22logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/mcp/oauth_token_manager.py25logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/mcp/oauth_token_manager.py68 def set_dal(self, dal: Any) -> None:CODE
LOWholmes/plugins/toolsets/mcp/toolset_mcp.py54logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/mongodb/mongodb.py26logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/mongodb/__init__.py3__all__ = ["MongoDBToolset"]CODE
LOWholmes/plugins/toolsets/bash/validation.py29logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/http/http_toolset.py27logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/datadog/datadog_models.py10logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/confluence/confluence.py19logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/confluence/confluence.py417 def _setup_http_tools(self) -> None:STRING
LOWholmes/plugins/toolsets/newrelic/new_relic_api.py8logger = logging.getLogger(__name__)CODE
LOWholmes/plugins/toolsets/prometheus/prometheus.py2157 def _set_meta_from_config(self) -> None:CODE
LOWholmes/plugins/toolsets/elasticsearch/__init__.py6__all__ = ["ElasticsearchToolset", "OpenSearchQueryAssistToolset"]CODE
LOWholmes/checks/__init__.py18__all__ = [CODE
3 more matches not shown…
Modern AI Meta-Vocabulary22 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMconfig.example.yaml9# Helps reduce context window usage, improve performance, and reduce costsCOMMENT
MEDIUM…s/core/tools_utils/test_tool_context_window_limiter.py22 2048 # Default to 50% of context windowCODE
MEDIUM…s/core/tools_utils/test_tool_context_window_limiter.py166 # Test with smaller context windowCOMMENT
MEDIUM…ns_worker/integration/test_conversation_integration.py633 # it by actually invoking the noop tool, ruling out hallucination.COMMENT
MEDIUMdocs/ai-providers/other.md35 export OVERRIDE_MAX_CONTENT_SIZE=98304 # 98k context windowCODE
MEDIUMdocs/ai-providers/other.md75 max_context_size: 98304 # Override context window to 98k tokensCODE
MEDIUMdocs/ai-providers/other.md94 max_context_size: 98304 # Override context window to 98k tokensCODE
MEDIUMdocs/ai-providers/other.md121 max_context_size: 98304 # Override context window to 98k tokensCODE
MEDIUMdocs/ai-providers/other.md141 max_context_size: 98304 # Override context window to 98k tokensCODE
MEDIUMdocs/ai-providers/other.md176 # Override context window size for any modelCOMMENT
MEDIUMdocs/ai-providers/other.md178 max_context_size: 1000000 # Override the model's context windowCODE
MEDIUMdocs/reference/environment-variables.md221# Allow each tool response to use up to 25% of context windowCOMMENT
MEDIUMholmes/core/llm.py780 # Reserve output budget = max(64k, 12% of the context window). The 64kCOMMENT
MEDIUMholmes/core/usage_recorder.py348 # for an agentic loop with N-1 tool turns). Filled by the wrapperCOMMENT
MEDIUMholmes/core/usage_recorder.py483 # record partial cost when the agentic loop raises mid-loop —COMMENT
MEDIUMholmes/core/truncation/compaction.py108 # context window, so it can describe what was in them. Otherwise strip them.COMMENT
MEDIUMholmes/core/tools_utils/tool_context_window_limiter.py110 # Allocate remaining char budget to the preview so the final string fits the context windowCOMMENT
MEDIUMholmes/plugins/toolsets/openshift.yaml12 # This reduces context window usage while preserving key information for debugging.COMMENT
MEDIUMholmes/plugins/toolsets/kubernetes.yaml14 # This reduces context window usage while preserving key information for debugging.COMMENT
MEDIUMholmes/common/env_vars.py17 200000 # Fallback context window size if it can't be determined from the modelCODE
MEDIUMholmes/common/env_vars.py134# Limit each tool response to N% of the total context window.COMMENT
MEDIUMhelm/holmes/values.yaml687 # Provides access to Prefect workflow orchestration for monitoring and troubleshootingCOMMENT
Over-Commented Block52 hits · 50 pts
SeverityFileLineSnippetContext
LOWconftest.py141COMMENT
LOWconftest.py161 # console_handler = logging.StreamHandler(sys.stderr) # pytest only prints error logsCOMMENT
LOWconfig.example.yaml1#model: "gpt-4.1"COMMENT
LOWconfig.example.yaml21#jira_query: "project = 'Natan Test Project' and Status = 'To Do'"COMMENT
LOWtests/test_bash_session_prefix_flow.py341 event_types = [e[0] for e in events]COMMENT
LOWtests/llm/test_ask_holmes.py261COMMENT
LOWtests/llm/test_ask_holmes.py341 # report reads the LAST value per key — so theCOMMENT
LOWtests/llm/utils/test_case_utils.py161 # - None → no count enforcement (legacy / unspecified)COMMENT
LOWtests/llm/utils/test_case_utils.py181 # primary pass's captured suggestions equals this value. None disablesCOMMENT
LOWtests/llm/utils/reporting/github_reporter.py701COMMENT
LOWtests/core/test_supabase_dal_usage.py201 assert payload["cached_tokens"] is NoneCOMMENT
LOWtests/core/conversations_worker/test_worker_polling.py41 # When realtime is connected, we still poll as a safety net for missedCOMMENT
LOW…ore/conversations_worker/test_worker_usage_recorder.py181 # Positional args are (chat_request, request_ai).COMMENT
LOW…ugins/toolsets/kubernetes/test_kubernetes_logs_unit.py21# init-config-reloader alertmanager config-reloaderCOMMENT
LOWdocs/installation/kubernetes-installation.md81 value: "https://your-resource.openai.azure.com/"COMMENT
LOWdocs/data-sources/builtin-toolsets/zabbix.md201COMMENT
LOWdocs/operator/destinations.md221- If the check has an associated URL, it's included as a link in the incidentCOMMENT
LOWexamples/azure-mcp-additional-instance.yaml1# =============================================================================COMMENT
LOWexamples/azure-mcp-additional-instance.yaml21#COMMENT
LOWexamples/azure-mcp-additional-instance.yaml261# mcp_servers:COMMENT
LOWscripts/build_go_binaries.sh1#!/bin/bashCOMMENT
LOWscripts/build_go_binaries.sh21# Revert to upstream binary when Helm releases a version built withCOMMENT
LOWscripts/setup-sandbox-k8s.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/setup-sandbox-k8s.sh21# before invoking the real runc.COMMENT
LOWholmes/core/tools.py201 # e.g., "string" or ["string", "null"] for nullable typesCOMMENT
LOWholmes/core/llm.py681 if allowed_openai_params is None:COMMENT
LOWholmes/core/usage_recorder.py221 # values dashboards group by:COMMENT
LOWholmes/core/usage_recorder.py241 # True when the LLM call hit a Robusta-managed model (Robusta paidCOMMENT
LOWholmes/core/usage_recorder.py261 # Opaque pointer to the entity the chat is *about*. Meaning isCOMMENT
LOWholmes/core/usage_recorder.py281 # conversation_id is set and no override given)COMMENT
LOWholmes/core/usage_recorder.py301 cluster_id: Optional[str] = NoneCOMMENT
LOWholmes/core/usage_recorder.py321 # Forward-compatibility metadata bag. JSONB-serializable dict thatCOMMENT
LOWholmes/core/usage_recorder.py341 # from the ANSWER_END event's `metadata.costs`, or byCOMMENT
LOWholmes/core/issue.py41 # Controls whether to append status to the title in Slack messages (e.g., " - open")COMMENT
LOWholmes/core/conversations_worker/worker.py641COMMENT
LOWholmes/core/conversations_worker/event_publisher.py21}COMMENT
LOWholmes/plugins/toolsets/kubernetes.yaml421COMMENT
LOWholmes/plugins/toolsets/azure_sql/azure_sql_toolset.py141 # try:COMMENT
LOWholmes/plugins/toolsets/prometheus/prometheus.py2161 subtype = getattr(type(self.config), "_subtype", None) if self.config else NoneCOMMENT
LOWholmes/common/env_vars.py261# Upper bound on how long a silently-dead realtime WebSocket can go undetected.COMMENT
LOWhelm/holmes/values.yaml1certificate: "" # base64 encodedCOMMENT
LOWhelm/holmes/values.yaml101affinity: {}COMMENT
LOWhelm/holmes/values.yaml181# Init containers run before the main Holmes container startsCOMMENT
LOWhelm/holmes/values.yaml201# List of Kubernetes Secret names whose keys are auto-mounted as env vars onCOMMENT
LOWhelm/holmes/values.yaml221# gpt-4.1:COMMENT
LOWhelm/holmes/values.yaml341 # 2. Create a Kubernetes secret:COMMENT
LOWhelm/holmes/values.yaml481 #COMMENT
LOWhelm/holmes/values.yaml501 imagePullPolicy: IfNotPresentCOMMENT
LOWhelm/holmes/values.yaml561COMMENT
LOWhelm/holmes/values.yaml801 # Set to false for OAuth mode (the OAuth token provides permissions instead)COMMENT
LOWhelm/holmes/values.yaml821 # Create a secret: kubectl create secret generic k8s-mcp-kubeconfig --from-file=kubeconfig=/path/to/kubeconfig -n COMMENT
LOWhelm/holmes/values.yaml841 # oauth_audience = "6dae42f8-4368-4678-94ff-3960e28e3630"COMMENT
Verbosity Indicators22 hits · 38 pts
SeverityFileLineSnippetContext
LOWtests/test_mcp_oauth.py688 # Step 1: Discover OAuth endpointsCOMMENT
LOWtests/test_mcp_oauth.py709 # Step 2: Generate PKCECOMMENT
LOWtests/test_mcp_oauth.py712 # Step 3: Start local callback server (port 0 = OS-assigned)COMMENT
LOWtests/test_mcp_oauth.py776 # Step 5: Wait for callbackCOMMENT
LOWtests/test_mcp_oauth.py785 # Step 6: Exchange code for tokenCOMMENT
LOWtests/test_mcp_oauth.py759 # Step 4: Build authorization URL and open browserCOMMENT
LOWtests/test_mcp_oauth.py807 # Step 7: Use token to list MCP toolsCOMMENT
LOWtests/llm/conftest.py458 # Step 2: Environment is OK, now test if the API actually worksCOMMENT
LOWholmes/core/llm.py923 # so we need to check if the user has set an OPENAI_API_KEY to load the config model.COMMENT
LOW…lmes/plugins/toolsets/grafana/toolset_grafana_tempo.py360 # Step 2: Sort traces by durationCOMMENT
LOW…lmes/plugins/toolsets/grafana/toolset_grafana_tempo.py363 # Step 3: Calculate basic statisticsCOMMENT
LOW…lmes/plugins/toolsets/grafana/toolset_grafana_tempo.py384 # Step 4: Select representative traces to fetchCOMMENT
LOW…lmes/plugins/toolsets/grafana/toolset_grafana_tempo.py393 # Step 5: Fetch full trace detailsCOMMENT
LOW…lmes/plugins/toolsets/grafana/toolset_grafana_tempo.py332 # Step 1: Get all trace summariesCOMMENT
LOWholmes/plugins/toolsets/grafana/trace_parser.py35 # Step 1: Extract all spans and create span objectsCOMMENT
LOWholmes/plugins/toolsets/grafana/trace_parser.py78 # Step 2: Build the hierarchy by connecting parents and childrenCOMMENT
LOWholmes/plugins/toolsets/mcp/toolset_mcp.py1158 # Step 1: Find auth server via Protected Resource Metadata (RFC 9728)COMMENT
LOWholmes/plugins/toolsets/mcp/toolset_mcp.py1165 # Step 2: Fetch OAuth/OIDC metadataCOMMENT
LOWholmes/plugins/toolsets/bash/validation.py265 # Step 1: Check hardcoded blocksCOMMENT
LOWholmes/plugins/toolsets/bash/validation.py274 # Step 2: Check deny list (using stricter matching)COMMENT
LOWholmes/plugins/toolsets/bash/validation.py283 # Step 3: Check allow listCOMMENT
LOWholmes/plugins/toolsets/bash/validation.py288 # Step 4: Not in any list -> needs approvalCOMMENT
AI Slop Vocabulary14 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMrun_benchmarks_local.py339 %(prog)s --models gpt-4o --benchmark-type full # Full comprehensive benchmarkCODE
LOWtests/llm/utils/test_case_utils.py100# TODO: do we ever use this? or do we always just use float belowCOMMENT
MEDIUMtests/llm/utils/braintrust.py92 # Build comprehensive metadataCOMMENT
MEDIUMtests/core/test_supabase_dal_transport.py39 # Start from a clean CA-env slate; the test harness/sandbox may set these.COMMENT
LOWtests/checks/test_checks_cli.py53 # Note: checks_app already has "check" as the command name, so we just pass the optionsCOMMENT
LOW…s/integration/test_kubernetes_transformer_execution.py50 # If we don't have much space, just use a short summaryCOMMENT
MEDIUMexamples/azure-mcp-additional-instance.yaml263# description: "Azure API MCP Server (replaceme account) - comprehensive Azure service access. Execute any Azure CLICOMMENT
LOWholmes/core/tools.py666 check=False, # do not throw error, we just return the error codeCODE
LOWholmes/core/llm.py473 # litellm.validate_environment simply set all AZURE_* variables to missing_keys for azure models when anyCOMMENT
LOWholmes/plugins/toolsets/kubernetes_logs.py246 check=False, # do not throw error, we just return the error codeCODE
LOWholmes/plugins/toolsets/kubernetes_logs.py434 # If we can't parse it, just return the originalCOMMENT
MEDIUMholmes/plugins/toolsets/kafka.py1245 """Provides comprehensive health metrics and status of a Kafka cluster."""STRING
LOWholmes/plugins/toolsets/prometheus/prometheus.py1721 # For other status codes, just return the status code and contentCOMMENT
MEDIUMhelm/holmes/values.yaml275 # Leave empty to use default comprehensive instructionsCOMMENT
AI Structural Patterns20 hits · 18 pts
SeverityFileLineSnippetContext
LOWtempo_cli.py129CODE
LOWtempo_cli.py176CODE
LOWtempo_cli.py211CODE
LOWtempo_cli.py258CODE
LOWtempo_cli.py303CODE
LOWtempo_cli.py335CODE
LOWholmes_operator/utils.py20CODE
LOWholmes/config.py575CODE
LOWholmes/interactive.py2275CODE
LOWholmes/interactive.py2620CODE
LOWholmes/main.py194CODE
LOWholmes/main.py446CODE
LOWholmes/main.py581CODE
LOWholmes/main.py674CODE
LOWholmes/main.py794CODE
LOWholmes/main.py879CODE
LOWholmes/main.py964CODE
LOWholmes/core/tool_calling_llm.py1031CODE
LOWholmes/core/toolset_manager.py84CODE
LOWholmes/checks/checks_cli.py40CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHholmes/plugins/toolsets/datadog/toolset_datadog_logs.py0get a one-liner description of the tool invocation.STRING
HIGH…es/plugins/toolsets/datadog/toolset_datadog_general.py0get a one-liner description of the tool invocation.STRING
HIGH…mes/plugins/toolsets/datadog/toolset_datadog_traces.py0get a one-liner description of the tool invocation.STRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/eval-regression.yaml518 const sha = context.payload.pull_request.head.sha.substring(0, 7);CODE
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/test_server_ssl.py31 key.write_text("dummy-key")CODE
LOWtests/core/test_supabase_dal.py36 dal.email = "user@example.com"CODE
LOWtests/core/test_image_token_counting.py69 return DefaultLLM(model=model, api_key="fake-key")CODE
LOWtests/plugins/toolsets/test_notion.py11 "Authorization": "Bearer fake_token",CODE
LOWtests/plugins/toolsets/test_confluence_tools.py25 api_key="fake-token",CODE
LOWtests/plugins/toolsets/bash/test_read_image_file.py102 img_file.write_bytes(b"fake-data")CODE
LOWdocs/ai-providers/ollama.md33 export OPENAI_API_KEY="dummy-key" # Required but can be any valueCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWholmes/core/supabase_dal.py212 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWholmes/plugins/sources/opsgenie/__init__.py11OPSGENIE_TEAM_INTEGRATION_KEY_HELP = "OpsGenie Team Integration key for writing back results. (NOT a normal API Key.) GeCODE