Repository Analysis

Tracer-Cloud/opensre

Build your own AI SRE agents. The open source toolkit for the AI era.

42.6 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Tracer-Cloud/opensre, a Python project with 8,422 GitHub stars. SynthScan v2.0 examined 499,367 lines of code across 3421 source files, recording 16806 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 42.6 places this repository in the Strong AI signal band.

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

42.6
Adjusted Score
42.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
8.4K
Stars
Python
Language
499.4K
Lines of Code
3.4K
Files
16.8K
Pattern Hits
2026-07-14
Scan Date
0.04
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 0HIGH 125MEDIUM 1364LOW 15317

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 16806 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 Identifiers10222 hits · 10551 pts
SeverityFileLineSnippetContext
LOWtools/registry.py45def register_external_tool_package(package: ModuleType) -> None:CODE
LOWtools/registry.py153def clear_tool_registry_cache() -> None:CODE
LOWtools/registry.py215def resolve_tool_display_name(tool_name: str) -> str:CODE
LOWtools/registry_discovery.py114def _qualify_tool_module_name(package: ModuleType, module_name: str) -> str:CODE
LOWtools/registry_discovery.py120def _iter_manifest_tool_module_names(module: ModuleType) -> tuple[str, ...]:CODE
LOWtools/registry_discovery.py156def _import_tool_module_or_none(package: ModuleType, module_name: str) -> ModuleType | None:CODE
LOWtools/registry_discovery.py173def iter_discovered_tool_modules(package: ModuleType) -> list[ModuleType]:CODE
LOWtools/registry_discovery.py189def _candidate_belongs_to_module(candidate: object, module_name: str) -> bool:CODE
LOWtools/registry_discovery.py197def _registered_tool_from_candidate(candidate: object) -> RegisteredTool | None:CODE
LOWtools/registry_discovery.py217def collect_registered_tools_from_module(module: ModuleType) -> list[RegisteredTool]:CODE
LOWtools/harness_adapters.py6def register_harness_adapters() -> None:CODE
LOWtools/registry_index.py270def clear_descriptor_index_cache() -> None:CODE
LOWtools/work_status_report_tool/__init__.py57def generate_work_status_report(CODE
LOWtools/investigation_registry/prioritization.py26def get_prioritized_actions_with_reasons(CODE
LOWtools/investigation/session_runner.py67def reraise_investigation_failure(exc: BaseException) -> NoReturn:CODE
LOWtools/investigation/session_runner.py87def _alert_payload_with_context(CODE
LOWtools/investigation/session_runner.py102def run_session_alert_payload(CODE
LOWtools/investigation/session_runner.py194def run_investigation_for_session(CODE
LOWtools/investigation/session_runner.py211def run_sample_alert_for_session(CODE
LOWtools/investigation/session_runner.py227def run_investigation_for_session_background(CODE
LOWtools/investigation/session_runner.py244def run_sample_alert_for_session_background(CODE
LOWtools/investigation/state_factory.py107def make_agent_incident_state(CODE
LOWtools/investigation/capability.py120def resolve_investigation_context(CODE
LOWtools/investigation/capability.py158def build_investigation_payload(CODE
LOWtools/investigation/capability.py197def run_investigation_payload(CODE
LOWtools/investigation/lifecycle.py27def run_connected_investigation(CODE
LOWtools/investigation/streaming.py35def resolved_integrations_stream_payload(resolved: Mapping[str, Any]) -> dict[str, Any]:CODE
LOWtools/investigation/reporting/evaluation.py11def run_optional_opensre_evaluation(state: dict[str, Any]) -> dict[str, Any]:CODE
LOWtools/investigation/reporting/renderers/terminal.py76def _render_rich_section_heading(console: Console, title: str) -> None:CODE
LOWtools/investigation/reporting/renderers/terminal.py105def _render_rich_evidence_item(console: Console, line: str) -> None:CODE
LOW…investigation/reporting/upstream_correlation/enrich.py20def enrich_upstream_correlation(state: InvestigationState) -> dict[str, Any]:CODE
LOW…vestigation/reporting/upstream_correlation/registry.py19def target_resource_from_state(state: dict[str, Any]) -> str:CODE
LOW…vestigation/reporting/upstream_correlation/registry.py38def candidate_services_from_state(state: dict[str, Any]) -> tuple[str, ...]:CODE
LOW…vestigation/reporting/upstream_correlation/registry.py61def build_upstream_evidence_provider(state: dict[str, Any]) -> UpstreamEvidenceProvider | None:CODE
LOW…vestigation/reporting/upstream_correlation/registry.py93def _ensure_default_builders_registered() -> None:CODE
LOW…nvestigation/reporting/upstream_correlation/runtime.py36def _runtime_feature_keywords(CODE
LOW…nvestigation/reporting/upstream_correlation/runtime.py68def build_runtime_correlation(CODE
LOW…estigation/reporting/upstream_correlation/providers.py19 def collect_upstream_evidence(CODE
LOW…estigation/reporting/upstream_correlation/providers.py49 def collect_upstream_evidence(CODE
LOW…ion/reporting/upstream_correlation/feature_workflow.py16def score_feature_workflow_hypothesis(CODE
LOW…ation/reporting/upstream_correlation/feature_config.py33def load_feature_workflow_config(path: str | Path) -> FeatureWorkflowConfig:CODE
LOW…s/investigation/reporting/upstream_correlation/node.py23 def collect_upstream_evidence(CODE
LOW…estigation/reporting/upstream_correlation/reporting.py35def correlation_report_to_payload(report: CorrelationReport) -> dict[str, Any]:CODE
LOWtools/investigation/reporting/context/provenance.py23def _normalize_endpoint_target(endpoint: str) -> str:CODE
LOW…ls/investigation/reporting/context/evidence_catalog.py398def attach_evidence_to_claims(CODE
LOW…s/investigation/reporting/formatters/infrastructure.py76def extract_infrastructure_assets(ctx: ReportContext) -> dict[str, Any]:CODE
LOW…s/investigation/reporting/formatters/infrastructure.py215def build_investigation_trace(ctx: ReportContext) -> list[str]:CODE
LOWtools/investigation/reporting/formatters/evidence.py72 def _datadog_investigate_count(e: dict) -> str | None:CODE
LOWtools/investigation/reporting/formatters/evidence.py248def format_cited_evidence_section(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/evidence.py295def format_cited_evidence_section_html(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py52def _format_correlation_lines(ctx: ReportContext) -> tuple[list[str], list[str]]:CODE
LOWtools/investigation/reporting/formatters/report.py150def _telegram_baseline_repeats_header(ctx: ReportContext, root_cause_sentence: str) -> bool:CODE
LOWtools/investigation/reporting/formatters/report.py169def _severity_telegram_header(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py193def _render_claim_lines_telegram(ctx: ReportContext) -> tuple[list[str], list[str]]:CODE
LOWtools/investigation/reporting/formatters/report.py224def render_cloudwatch_link_html(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py352def _remove_speculative_words(text: str) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py359def _derive_root_cause_sentence(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py404def _normalize_triage_summary(summary: str) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py409def _format_incident_command_block(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/urls/aws.py84def build_grafana_explore_url(CODE
10162 more matches not shown…
Decorative Section Separators1273 hits · 4854 pts
SeverityFileLineSnippetContext
MEDIUMtools/investigation/reporting/renderers/terminal.py14# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py16# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py68# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py70# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py113# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py115# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py263# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py265# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py322# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py456# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py458# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py731# ---------------------------------------------------------------------------STRING
MEDIUMtools/investigation/reporting/formatters/report.py733# ---------------------------------------------------------------------------STRING
MEDIUMcore/llm/factory.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/factory.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/turns/orchestrator.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/turns/orchestrator.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/turns/orchestrator.py206# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/turns/orchestrator.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/lifecycle.py88 # ─── Core bootstrap ──────────────────────────────────────────────────COMMENT
MEDIUMcore/agent_harness/session/lifecycle.py115 # ─── Lifecycle ───────────────────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/incident_anchors.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/domain/types/incident_anchors.py82# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/domain/types/root_cause_categories.py67 # ── Database — connection layer ────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py88 # ── Database — compute layer ───────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py124 # ── Database — storage / IO layer ──────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py165 # ── Database — replication ─────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py191 # ── Database — composite ───────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py197 # ── Kubernetes / container workload ────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py273 # ── Network / DNS ──────────────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py309 # ── Cloud storage / object stores ──────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py330 # ── External dependency / API ──────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py356 # ── Code / configuration ───────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py407 # ── Data / pipeline orchestration ──────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py458 # ── Workload / traffic ─────────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py484 # ── Infrastructure / cloud platform ────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py607 # ── Generic fallbacks (kept for backward compatibility) ────────────COMMENT
MEDIUMconfig/repl_config.py15# ── Release notes ─────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/harness_ports.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py346# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py348# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py296# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py298# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py403# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py405# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py471# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py473# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/harness_ports.py540# ---------------------------------------------------------------------------COMMENT
1213 more matches not shown…
Unused Imports3042 hits · 2907 pts
SeverityFileLineSnippetContext
LOWtools/registry_skill_guidance.py8CODE
LOWtools/registry.py9CODE
LOWtools/registry_discovery.py10CODE
LOWtools/harness_adapters.py3CODE
LOWtools/registry_index.py14CODE
LOWtools/work_status_report_tool/__init__.py3CODE
LOWtools/pi_coding_tool/runner.py13CODE
LOWtools/pi_coding_tool/__init__.py30CODE
LOWtools/pi_coding_tool/errors.py8CODE
LOWtools/pi_coding_tool/validation.py10CODE
LOWtools/investigation_registry/__init__.py3CODE
LOWtools/investigation_registry/__init__.py4CODE
LOWtools/investigation_registry/__init__.py5CODE
LOWtools/investigation_registry/__init__.py5CODE
LOWtools/investigation_registry/prioritization.py3CODE
LOWtools/git_deploy_timeline_tool/__init__.py20CODE
LOWtools/cross_vendor/__init__.py12CODE
LOWtools/cross_vendor/fix_sentry_issue/runner.py8CODE
LOWtools/cross_vendor/fix_sentry_issue/__init__.py30CODE
LOWtools/cross_vendor/fix_sentry_issue/context.py8CODE
LOWtools/cross_vendor/fix_sentry_issue/pr.py10CODE
LOWtools/cross_vendor/fix_sentry_issue/errors.py3CODE
LOWtools/cross_vendor/fix_sentry_issue/ship.py13CODE
LOWtools/investigation/session_runner.py3CODE
LOWtools/investigation/scheduler_bootstrap.py17CODE
LOWtools/investigation/__init__.py3CODE
LOWtools/investigation/__init__.py8CODE
LOWtools/investigation/__init__.py8CODE
LOWtools/investigation/__init__.py8CODE
LOWtools/investigation/__init__.py8CODE
LOWtools/investigation/capability.py3CODE
LOWtools/investigation/lifecycle.py3CODE
LOWtools/investigation/alert_templates.py3CODE
LOWtools/investigation/streaming.py3CODE
LOWtools/investigation/tool.py3CODE
LOWtools/investigation/tool.py5CODE
LOWtools/investigation/reporting/evaluation.py3CODE
LOWtools/investigation/reporting/__init__.py12CODE
LOWtools/investigation/reporting/__init__.py12CODE
LOWtools/investigation/reporting/node.py12CODE
LOWtools/investigation/reporting/renderers/__init__.py3CODE
LOW…investigation/reporting/upstream_correlation/enrich.py1CODE
LOW…vestigation/reporting/upstream_correlation/registry.py11CODE
LOW…vestigation/reporting/upstream_correlation/registry.py103CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py1CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py3CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py3CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py3CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py3CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py3CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py10CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py10CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py14CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py14CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py18CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py18CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py18CODE
LOW…nvestigation/reporting/upstream_correlation/runtime.py1CODE
LOW…estigation/reporting/upstream_correlation/providers.py1CODE
LOW…ion/reporting/upstream_correlation/feature_workflow.py1CODE
2982 more matches not shown…
Modern Structural Boilerplate746 hits · 745 pts
SeverityFileLineSnippetContext
LOWtools/registry_skill_guidance.py18logger = logging.getLogger(__name__)CODE
LOWtools/registry.py30logger = logging.getLogger(__name__)CODE
LOWtools/registry_discovery.py22logger = logging.getLogger(__name__)CODE
LOWtools/registry_index.py274__all__ = [CODE
LOWtools/investigation_registry/__init__.py10__all__ = [CODE
LOWtools/cross_vendor/__init__.py16__all__ = ["TOOL_MODULES"]CODE
LOWtools/investigation/session_runner.py260__all__ = [CODE
LOWtools/investigation/scheduler_bootstrap.py49__all__ = ["install"]CODE
LOWtools/investigation/__init__.py54__all__ = [CODE
LOWtools/investigation/capability.py31logger = logging.getLogger(__name__)CODE
LOWtools/investigation/tool.py7__all__ = ["run_investigation_tool"]CODE
LOWtools/investigation/reporting/evaluation.py8logger = logging.getLogger(__name__)CODE
LOWtools/investigation/reporting/__init__.py14__all__ = [CODE
LOWtools/investigation/reporting/gitlab_writeback.py10logger = logging.getLogger(__name__)CODE
LOWtools/investigation/reporting/renderers/__init__.py5__all__ = ["render_report"]CODE
LOW…vestigation/reporting/upstream_correlation/__init__.py24__all__ = [CODE
LOW…s/investigation/reporting/upstream_correlation/node.py19logger = logging.getLogger(__name__)CODE
LOWtools/investigation/reporting/context/__init__.py6__all__ = ["ReportContext", "build_report_context"]CODE
LOWtools/investigation/reporting/delivery/bootstrap.py44__all__ = ["ensure_delivery_adapters_registered"]CODE
LOWtools/investigation/reporting/delivery/dispatch.py35logger = logging.getLogger(__name__)CODE
LOWtools/investigation/reporting/delivery/__init__.py5__all__ = ["dispatch_report"]CODE
LOWtools/investigation/stages/plan_evidence/__init__.py13__all__ = ["plan_actions"]CODE
LOWtools/investigation/stages/plan_evidence/node.py179__all__ = ["plan_actions"]CODE
LOW…/investigation/stages/resolve_integrations/__init__.py15__all__ = ["resolve_integrations", "resolve_integrations_quiet"]CODE
LOWtools/investigation/stages/gather_evidence/__init__.py22__all__ = ["ConnectedInvestigationAgent", "InvestigationAgent", "get_investigation_agent_class"]CODE
LOWtools/investigation/stages/gather_evidence/agent.py55logger = logging.getLogger(__name__)CODE
LOWtools/investigation/stages/diagnose/__init__.py16__all__ = ["InvestigationResult", "diagnose", "parse_diagnosis"]CODE
LOWtools/investigation/stages/diagnose/node.py21logger = logging.getLogger(__name__)CODE
LOWtools/investigation/stages/intake/__init__.py12__all__ = ["extract_alert"]CODE
LOWtools/investigation/stages/intake/node.py32logger = logging.getLogger(__name__)CODE
LOWtools/system/__init__.py21__all__ = ["TOOL_MODULES"]CODE
LOWtools/system/sre_guidance_tool/__init__.py60__all__ = ["get_sre_guidance", "get_topics_for_keywords"]CODE
LOWtools/system/watch_dog/monitor.py156__all__ = ["AlarmDispatcherPort", "run_watchdog", "start_watchdog_daemon_thread"]CODE
LOWtools/system/fleet_monitoring/tail.py444__all__ = [CODE
LOWtools/system/fleet_monitoring/config.py22logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/config.py122__all__ = [CODE
LOWtools/system/fleet_monitoring/discovery.py16logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/discovery.py624__all__ = [CODE
LOWtools/system/fleet_monitoring/registry.py14logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/__init__.py25__all__ = [CODE
LOWtools/system/fleet_monitoring/providers.py41__all__ = [CODE
LOWtools/system/fleet_monitoring/bus.py45logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/bus.py769__all__ = [CODE
LOWtools/system/fleet_monitoring/token_rate.py127__all__ = ["TOKEN_RATE_TRACKER", "TokenRateTracker"]CODE
LOWtools/system/fleet_monitoring/lifecycle.py17logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/pricing.py28logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/pricing.py452__all__ = [CODE
LOWtools/system/fleet_monitoring/conflicts.py98__all__ = [CODE
LOWtools/system/fleet_monitoring/sweep.py32logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/sweep.py182__all__ = ["DEFAULT_LOCK_DIR", "SweepResult", "run_startup_sweep", "sweep"]CODE
LOWtools/system/fleet_monitoring/sampler.py38logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/coordination.py18logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/coordination.py151__all__ = ["BranchClaim", "BranchClaims"]CODE
LOWtools/system/fleet_monitoring/provider_ids.py58__all__ = ["KNOWN_PROVIDERS", "provider_from_classified_name"]CODE
LOWtools/system/fleet_monitoring/token_sources/codex.py25logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/token_sources/codex.py121__all__ = ["CodexRolloutSource"]CODE
LOWtools/system/fleet_monitoring/token_sources/registry.py35__all__ = ["TOKEN_SOURCE_REGISTRY", "get_token_source"]CODE
LOWtools/system/fleet_monitoring/token_sources/__init__.py199__all__ = [CODE
LOW…s/system/fleet_monitoring/token_sources/claude_code.py22logger = logging.getLogger(__name__)CODE
LOW…s/system/fleet_monitoring/token_sources/claude_code.py80__all__ = ["ClaudeCodeJsonlSource"]CODE
686 more matches not shown…
Excessive Try-Catch Wrapping722 hits · 724 pts
SeverityFileLineSnippetContext
LOWtools/registry.py136 except Exception as exc:CODE
LOWtools/registry.py194 except Exception as exc:CODE
LOWtools/registry_discovery.py163 except Exception as exc:CODE
LOWtools/investigation/session_runner.py136 except Exception as exc:CODE
LOWtools/investigation/capability.py63 except Exception as exc:CODE
LOWtools/investigation/capability.py465 except Exception as exc:CODE
MEDIUMtools/investigation/capability.py299def _run_pipeline() -> None:CODE
LOWtools/investigation/lifecycle.py62 except Exception as exc:CODE
LOWtools/investigation/reporting/evaluation.py32 except Exception as exc:CODE
LOWtools/investigation/reporting/gitlab_writeback.py53 except Exception as exc:CODE
LOW…nvestigation/reporting/upstream_correlation/runtime.py51 except Exception:CODE
LOW…s/investigation/reporting/upstream_correlation/node.py127 except Exception:CODE
LOWtools/investigation/reporting/delivery/dispatch.py96 except Exception: # noqa: BLE001CODE
LOWtools/investigation/stages/gather_evidence/tools.py214 except Exception:CODE
LOWtools/investigation/stages/gather_evidence/agent.py237 except Exception as err:CODE
LOWtools/investigation/stages/diagnose/node.py41 except Exception as err:CODE
LOWtools/investigation/stages/diagnose/node.py184 except Exception as err:STRING
LOWtools/investigation/stages/intake/node.py177 except Exception as err:STRING
LOWtools/system/watch_dog/monitor.py117 except Exception as exc: # noqa: BLE001CODE
LOWtools/system/fleet_monitoring/sweep.py109 except Exception:CODE
LOWtools/system/fleet_monitoring/sampler.py85 except Exception:CODE
LOWtools/system/fleet_monitoring/sampler.py98 except Exception:CODE
LOWtools/system/fleet_monitoring/sampler.py102 except Exception:CODE
LOWtools/system/fleet_monitoring/sampler.py111 except Exception:CODE
LOWtools/slack_send_message_tool/delivery.py27 except Exception as exc:CODE
LOWtools/interactive_shell/cli.py247 except Exception as exc: # noqa: BLE001CODE
LOWtools/interactive_shell/cli.py325 except Exception as exc: # noqa: BLE001CODE
LOWtools/interactive_shell/shell/runner.py105 except Exception as exc:CODE
LOWtools/interactive_shell/shell/runner.py207 except Exception as exc:CODE
LOW…teractive_shell/implementation/claude_code_executor.py213 except Exception as exc:CODE
LOW…teractive_shell/implementation/claude_code_executor.py227 except Exception as exc:CODE
LOW…teractive_shell/implementation/claude_code_executor.py275 except Exception as exc: # noqa: BLE001CODE
MEDIUM…teractive_shell/implementation/claude_code_executor.py237def _watch() -> None:CODE
LOWtools/interactive_shell/synthetic/runner.py160 except Exception as exc: # noqa: BLE001CODE
LOWtools/interactive_shell/synthetic/runner.py207 except Exception as exc:CODE
LOWcore/execution.py147 except Exception as fut_exc: # noqa: BLE001 # lgtm[py/catch-base-exception]CODE
LOWcore/execution.py155 except Exception as fut_exc: # noqa: BLE001 # lgtm[py/catch-base-exception]CODE
LOWcore/execution.py268 except Exception as exc:CODE
LOWcore/execution.py368 except Exception as exc: # noqa: BLE001 - lifecycle hooks should fail closed for the callCODE
LOWcore/execution.py382 except Exception: # noqa: BLE001 - observer failures must not corrupt the transcriptCODE
LOWcore/execution.py400 except Exception: # noqa: BLE001 - partial rendering must not break tool executionCODE
LOWcore/llm/transports/sdk/llm_clients.py258 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py333 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py446 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py568 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py802 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py939 except Exception as err:CODE
LOWcore/llm/transports/sdk/agent_clients.py180 except Exception as err:CODE
LOWcore/llm/transports/sdk/agent_clients.py374 except Exception as err:CODE
LOWcore/llm/transports/sdk/agent_clients.py577 except Exception as err:CODE
LOWcore/llm/shared/llm_retry.py176 except Exception as exc:CODE
LOWcore/llm/shared/openai_chat_completions.py232 except Exception as err:CODE
LOWcore/llm/shared/openai_chat_completions.py285 except Exception as err:CODE
LOWcore/llm/shared/openai_chat_completions.py358 except Exception as err:CODE
LOWcore/agent_harness/llm_resolution.py30 except Exception:CODE
LOWcore/agent_harness/accounting/turn_accounting.py65 except Exception:CODE
LOWcore/agent_harness/tools/action_tools.py59 except Exception as exc:CODE
LOWcore/agent_harness/prompts/prompt_context.py22 except Exception:CODE
LOWcore/agent_harness/prompts/prompt_context.py66 except Exception:CODE
LOWcore/agent_harness/turns/action_driver.py492 except Exception as exc:CODE
662 more matches not shown…
Cross-File Repetition83 hits · 415 pts
SeverityFileLineSnippetContext
HIGHtests/tools/test_slack_send_message_tool.py0the flat/runtime ``sources`` shape passed to is_available().STRING
HIGHtests/tools/test_telegram_send_message_tool.py0the flat/runtime ``sources`` shape passed to is_available().STRING
HIGHtests/tools/test_twilio_notify_tool.py0the flat/runtime ``sources`` shape passed to is_available().STRING
HIGHtests/shared/infrastructure_sdk/resources/iam.py0get cluster details. args: name: cluster name. region: aws region. returns: cluster details or none if not found.STRING
HIGHtests/shared/infrastructure_sdk/resources/ecr.py0get cluster details. args: name: cluster name. region: aws region. returns: cluster details or none if not found.STRING
HIGHtests/shared/infrastructure_sdk/resources/ecs.py0get cluster details. args: name: cluster name. region: aws region. returns: cluster details or none if not found.STRING
HIGHtests/synthetic/mock_eks_backend/backend.py0awsbackend implementation backed by a scenariofixture. each method wraps the corresponding fixture file in the envelope STRING
HIGHtests/synthetic/mock_datadog_backend/backend.py0awsbackend implementation backed by a scenariofixture. each method wraps the corresponding fixture file in the envelope STRING
HIGHtests/synthetic/mock_aws_backend/backend.py0awsbackend implementation backed by a scenariofixture. each method wraps the corresponding fixture file in the envelope STRING
HIGHtests/synthetic/mock_eks_backend/selective_backend.py0clear the queried_metrics audit log (useful for re-running a scenario).STRING
HIGH…ts/synthetic/mock_datadog_backend/selective_backend.py0clear the queried_metrics audit log (useful for re-running a scenario).STRING
HIGH…ts/synthetic/mock_grafana_backend/selective_backend.py0clear the queried_metrics audit log (useful for re-running a scenario).STRING
HIGHtests/e2e/postgresql/test_postgresql_e2e.py0mysql e2e tests verifying integration with investigation pipeline. tests: - mysql config resolution from store and env -STRING
HIGHtests/e2e/redis/test_redis_e2e.py0mysql e2e tests verifying integration with investigation pipeline. tests: - mysql config resolution from store and env -STRING
HIGHtests/e2e/mongodb/test_mongodb_e2e.py0mysql e2e tests verifying integration with investigation pipeline. tests: - mysql config resolution from store and env -STRING
HIGHtests/e2e/mysql/test_mysql_e2e.py0mysql e2e tests verifying integration with investigation pipeline. tests: - mysql config resolution from store and env -STRING
HIGHtests/e2e/postgresql/test_postgresql_e2e.py0verify integrations returns expected result structure.STRING
HIGHtests/e2e/redis/test_redis_e2e.py0verify integrations returns expected result structure.STRING
HIGHtests/e2e/mongodb/test_mongodb_e2e.py0verify integrations returns expected result structure.STRING
HIGHtests/e2e/upstream_apache_flink_ecs/conftest.py0fixture for pipeline failure data - skip if infrastructure unavailable.STRING
HIGHtests/e2e/upstream_prefect_ecs_fargate/conftest.py0fixture for pipeline failure data - skip if infrastructure unavailable.STRING
HIGHtests/e2e/upstream_lambda/conftest.py0fixture for pipeline failure data - skip if infrastructure unavailable.STRING
HIGH…eam_apache_flink_ecs/pipeline_code/flink_job/errors.py0errors related to business logic or data validation.STRING
HIGH…efect_ecs_fargate/pipeline_code/prefect_flow/errors.py0errors related to business logic or data validation.STRING
HIGH…s/e2e/upstream_lambda/pipeline_code/mock_dag/errors.py0errors related to business logic or data validation.STRING
HIGHtests/e2e/kubernetes/pipeline_code/errors.py0errors related to business logic or data validation.STRING
HIGH…eam_apache_flink_ecs/pipeline_code/flink_job/errors.py0errors related to infrastructure or external systems.STRING
HIGH…efect_ecs_fargate/pipeline_code/prefect_flow/errors.py0errors related to infrastructure or external systems.STRING
HIGH…s/e2e/upstream_lambda/pipeline_code/mock_dag/errors.py0errors related to infrastructure or external systems.STRING
HIGHtests/e2e/kubernetes/pipeline_code/errors.py0errors related to infrastructure or external systems.STRING
HIGHintegrations/clickhouse/__init__.py0shared mysql integration helpers. provides configuration, connectivity validation, and read-only diagnostic queries for STRING
HIGHintegrations/postgresql/__init__.py0shared mysql integration helpers. provides configuration, connectivity validation, and read-only diagnostic queries for STRING
HIGHintegrations/mariadb/__init__.py0shared mysql integration helpers. provides configuration, connectivity validation, and read-only diagnostic queries for STRING
HIGHintegrations/mongodb/__init__.py0shared mysql integration helpers. provides configuration, connectivity validation, and read-only diagnostic queries for STRING
HIGHintegrations/mysql/__init__.py0shared mysql integration helpers. provides configuration, connectivity validation, and read-only diagnostic queries for STRING
HIGHintegrations/clickhouse/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/postgresql/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/signoz/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/gitlab/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/mariadb/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/openclaw/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/redis/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/rabbitmq/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/mongodb_atlas/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/dagster/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/mongodb/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/airflow/config.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/github/mcp.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/tempo/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/kafka/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/mysql/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/sentry_mcp/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/trello/config.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/bitbucket/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/jenkins/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/sentry/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/rds/__init__.py0build a normalized rds config object from env/store data.STRING
HIGHintegrations/signoz/availability.py0backend-aware availability check for bitbucket tools. the synthetic harnesses under ``tests/synthetic/`` inject a fixturSTRING
HIGHintegrations/groundcover/availability.py0backend-aware availability check for bitbucket tools. the synthetic harnesses under ``tests/synthetic/`` inject a fixturSTRING
HIGHintegrations/eks/availability.py0backend-aware availability check for bitbucket tools. the synthetic harnesses under ``tests/synthetic/`` inject a fixturSTRING
23 more matches not shown…
Deep Nesting284 hits · 274 pts
SeverityFileLineSnippetContext
LOWtools/registry.py70CODE
LOWtools/registry.py120CODE
LOWtools/registry_index.py179CODE
LOWtools/registry_index.py199CODE
LOWtools/investigation/capability.py221CODE
LOWtools/investigation/capability.py279CODE
LOW…s/investigation/reporting/formatters/infrastructure.py215CODE
LOWtools/investigation/stages/gather_evidence/agent.py118CODE
LOWtools/system/watch_dog/runner.py40CODE
LOWtools/system/watch_dog/monitor.py29CODE
LOWtools/system/fleet_monitoring/tail.py112CODE
LOWtools/system/fleet_monitoring/bus.py702CODE
LOWtools/system/fleet_monitoring/bus.py337CODE
LOWtools/system/fleet_monitoring/bus.py362CODE
LOWtools/system/fleet_monitoring/pricing.py396CODE
LOWtools/system/fleet_monitoring/sampler.py75CODE
LOWtools/system/fleet_monitoring/meters/codex.py70CODE
LOWtools/interactive_shell/cli.py165CODE
LOWtools/interactive_shell/actions/sentry_fix.py27CODE
LOWtools/interactive_shell/synthetic/runner.py39CODE
LOWcore/execution.py102CODE
LOWcore/context_budget.py118CODE
LOWcore/context_budget.py165CODE
LOWcore/context_budget.py216CODE
LOWcore/context_budget.py239CODE
LOWcore/messages/transcript.py8CODE
LOWcore/llm/transports/sdk/llm_clients.py233CODE
LOWcore/llm/transports/sdk/llm_clients.py297CODE
LOWcore/llm/transports/sdk/llm_clients.py381CODE
LOWcore/llm/transports/sdk/llm_clients.py487CODE
LOWcore/llm/transports/sdk/llm_clients.py729CODE
LOWcore/llm/transports/sdk/llm_clients.py844CODE
LOWcore/llm/transports/sdk/agent_clients.py682CODE
LOWcore/llm/shared/openai_responses.py38CODE
LOWcore/llm/shared/tool_schema_normalize.py45CODE
LOWcore/llm/shared/tool_schema_normalize.py69CODE
LOWcore/llm/shared/tool_schema_normalize.py114CODE
LOWcore/llm/shared/llm_retry.py103CODE
LOWcore/llm/shared/openai_chat_completions.py220CODE
LOWcore/llm/shared/openai_chat_completions.py267CODE
LOWcore/llm/shared/openai_chat_completions.py334CODE
LOWcore/agent_harness/turns/orchestrator.py304CODE
LOWcore/agent_harness/session/persistence/paths.py30CODE
LOWcore/agent_harness/session/persistence/jsonl_repo.py154CODE
LOWcore/tool_framework/skill_guidance.py170CODE
LOWcore/tool_framework/schema.py40CODE
LOWcore/domain/types/incident_anchors.py159CODE
LOWconfig/runtime_metadata/probes.py29CODE
LOWplatform/guardrails/engine.py89CODE
LOWplatform/observability/otlp_parser.py58CODE
LOWplatform/observability/trace/redaction.py32CODE
LOWplatform/observability/trace/process_stats.py40CODE
LOWplatform/observability/errors/sentry.py180CODE
LOWplatform/observability/errors/sentry.py219CODE
LOWplatform/observability/errors/sentry.py247CODE
LOWplatform/observability/errors/sentry.py546CODE
LOWplatform/common/task_registry.py77CODE
LOWplatform/deployment/ecr_deploy/instance.py72CODE
LOWplatform/deployment/aws/ec2.py517CODE
LOWplatform/deployment/gateway/lifecycle.py333CODE
224 more matches not shown…
Cross-Language Confusion29 hits · 169 pts
SeverityFileLineSnippetContext
HIGHtools/system/fleet_monitoring/tail.py107 raise AttachUnsupported("stdout is /dev/null; nothing to tail")CODE
HIGHtools/system/fleet_monitoring/tail.py181 raise AttachUnsupported("stdout is /dev/null; nothing to tail")CODE
HIGHtools/interactive_shell/shell/parsing.py146 ``cd /tmp && ls`` must not be hijacked by the builtin handler).STRING
HIGHconfig/llm_keyring.py107 "Install it first: sudo apt update && sudo apt install -y gnome-keyring dbus-user-session"CODE
HIGHplatform/deployment/ecr_deploy/instance.py237 f"{docker} logs --tail {GATEWAY_LOG_TAIL_LINES} {container_name} 2>&1 || true",CODE
HIGHplatform/deployment/gateway/bake.py100 "id opensre &>/dev/null || useradd --system --create-home "CODE
HIGHplatform/deployment/gateway/bake.py112 "mkdir -p /etc/opensre && chmod 750 /etc/opensre && chown root:opensre /etc/opensre",CODE
HIGHplatform/deployment/gateway/bake.py119 "systemctl daemon-reload && systemctl enable opensre-gateway",CODE
HIGHplatform/deployment/gateway/provision.py107 f"journalctl -u {service} -n 200 --no-pager 2>/dev/null || true",CODE
HIGHplatform/deployment/gateway/direct_deploy.py181 "--home-dir /var/lib/opensre-gateway --shell /usr/sbin/nologin opensre || true"STRING
HIGHplatform/deployment/gateway/direct_deploy.py187 "mkdir -p /etc/opensre && chmod 750 /etc/opensre && chown root:opensre /etc/opensre",STRING
HIGHplatform/deployment/gateway/direct_deploy.py204 "systemctl daemon-reload && systemctl enable opensre-gateway",STRING
HIGHtests/tools/test_github_actions_tool.py70 "conclusion": null,CODE
HIGHtests/config/test_llm_credentials.py194 "sudo apt update && sudo apt install -y gnome-keyring dbus-user-session" in lineCODE
HIGHtests/cli/wizard/test_flow.py154 "Install it first: sudo apt update && sudo apt install -y gnome-keyring dbus-user-session",CODE
HIGHtests/cli/wizard/test_flow.py164 assert "Install it first: sudo apt update && sudo apt install -y gnome-keyring" in outputCODE
HIGHtests/integrations/test_azure_sql.py259 # A stored integration persisting {"port": null} must not crashCOMMENT
HIGHtests/integrations/test_azure_sql.py276 # A stored integration persisting {"server": null} must not yield theCOMMENT
HIGHtests/deployment/ec2/test_gateway_e2e.py98 f"docker logs --tail 200 {GATEWAY_CONTAINER_NAME} 2>&1 || true",CODE
HIGHtests/benchmarks/_framework/llm_dispatch.py179 f"Run with `set -a && source .env && set +a` or export the key first."CODE
HIGHtests/benchmarks/_framework/reporting.py451 fewer than 2 scenarios a CI is undefined, so low==high==mean.STRING
HIGH…nchmarks/_framework/tests/test_reporting_statistics.py101 """n=1 → CI is undefined; convention is low==high==mean so the rowSTRING
HIGHtests/fleet_monitoring/token_sources/test_registry.py60 # must have an explicit registry entry (real or null). WithoutCOMMENT
HIGHtests/fleet_monitoring/meters/test_codex.py60 '{"type":"token_count","info":null,"rate_limits":{"plan_type":"plus"}}}'CODE
HIGHtests/interactive_shell/test_terminal_runtime.py541 "instead of returning null, log a warning",CODE
HIGHtests/interactive_shell/shell/test_shell_parsing.py115 parsed = parse_shell_command("cd /tmp && ls", is_windows=False)CODE
HIGHtests/e2e/openclaw/infrastructure_sdk/local.py145 "openclaw requires Node 22.12+ — run `nvm install 22 && nvm use 22` "CODE
HIGHsurfaces/cli/commands/tests.py176 "(`git clone https://github.com/Tracer-Cloud/opensre && pip "CODE
HIGHsurfaces/cli/commands/tests.py188 "(`git clone https://github.com/Tracer-Cloud/opensre && pip install -e .`) "CODE
Over-Commented Block146 hits · 145 pts
SeverityFileLineSnippetContext
LOWmypy.ini1[mypy]COMMENT
LOWruff.toml41# Tests: pytest fixtures/parameters often appear unused — keep ignoring those.COMMENT
LOWtools/git_deploy_timeline_tool/__init__.py281 payload = normalize_github_tool_result(result)COMMENT
LOWtools/system/fleet_monitoring/tail.py321 # the rendered view unchanged; see trace limitations inCOMMENT
LOWtools/system/fleet_monitoring/tail.py341 # has to preserve.COMMENT
LOWtests/tools/test_telemetry.py921# Every registered tool must fall into exactly one bucket:COMMENT
LOWtests/core/test_layering.py41 Path("core/messages/provider_adapters.py"),COMMENT
LOWtests/core/agent/prompt_turn_contracts.yml401 ok: trueCOMMENT
LOWtests/benchmarks/cloudopsbench/analyze_validation.py141 healthy += 1COMMENT
LOWtests/benchmarks/cloudopsbench/adapter.py181 # seen the corpus. Full declaration + caveats live in the pre-registrationCOMMENT
LOWtests/benchmarks/cloudopsbench/adapter.py341 # "N matching cases", not "N candidates, some of which match."COMMENT
LOWtests/benchmarks/cloudopsbench/scoring.py61 # quality from the LLM predictor that formalizes the prose intoCOMMENT
LOWtests/benchmarks/cloudopsbench/bench_agent.py81 return _DEFAULT_MIN_TOOL_CALLSCOMMENT
LOWtests/benchmarks/cloudopsbench/bench_agent.py221COMMENT
LOWtests/benchmarks/cloudopsbench/bench_agent.py281# scenarios) showed 60% of opensre+llm losses against llm_alone_pure areCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/s3.tf1# Results bucket for bench artifacts.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/s3.tf41 block_public_policy = trueCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/cloudwatch.tf1# CloudWatch log group for the Fargate task.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/fargate.tf1# Fargate cluster + task definition for the bench.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/fargate.tf61 }COMMENT
LOWtests/benchmarks/cloudopsbench/infra/secrets.tf1# Secrets Manager entries for LLM provider keys + HF token.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml1# Checkov configuration for the bench Terraform module.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml21COMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml41 # Skip: bench artifacts can be regenerated by re-runningCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml61 # Skip: bench writes small JSON files (no multipartCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml81 # Skip: AWS-managed encryption is sufficient.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml101 # does not own VPC flow logging. If/when bench movesCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/.checkov.yaml121 # read-only root would require a separate writableCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/backend.tf1# Terraform state backend.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/entrypoint.sh1#!/usr/bin/env bashCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/entrypoint.sh61#COMMENT
LOW…s/cloudopsbench/infra/scripts/bootstrap-bench-state.sh1#!/usr/bin/env bashCOMMENT
LOWtests/benchmarks/cloudopsbench/infra/.tfsec/config.yml1# tfsec configuration for the bench Terraform module.COMMENT
LOWtests/benchmarks/cloudopsbench/infra/.tfsec/config.yml41 # ---- Networking ------------------------------------------------------- #COMMENT
LOWtests/benchmarks/cloudopsbench/infra/.tfsec/config.yml61 # objects in a bucket is the canonical S3 IAM pattern. The bucketCOMMENT
LOW…s/cloudopsbench/configs/cloudopsbench_v1_anthropic.yml1# Cloud-OpsBench v1 — Anthropic slice (claude-4-sonnet).COMMENT
LOW…ch/configs/cloudopsbench_structured_outputs_openai.yml1# Cloud-OpsBench — structured-outputs full-N (n=353, three-arm, OpenAI predictor).COMMENT
LOW…ch/configs/cloudopsbench_structured_outputs_openai.yml21# - Per-stratum lift uniformity (no category > 2× median lift)COMMENT
LOW…nch/configs/cloudopsbench_definitive_floor0_openai.yml1# Cloud-OpsBench — definitive run at floor=0 (Path B from floor ablation v2).COMMENT
LOW…nch/configs/cloudopsbench_definitive_floor0_openai.yml21# - Most likely (60%): seen-shape Δa1 stays positive (+0.02 to +0.05) with CICOMMENT
LOW…nch/configs/cloudopsbench_floor_ablation_v2_openai.yml1# Cloud-OpsBench — floor ablation v2 (retry of failed exp_floor0_ablation).COMMENT
LOW…nch/configs/cloudopsbench_floor_ablation_v2_openai.yml21# (boutique/startup/36): agent identifies bad image at call 2-3, floorCOMMENT
LOW…nch/configs/cloudopsbench_floor_ablation_v2_openai.yml41# - floor=0 wins by ≥0.03 with CI excluding 0 → next experiment is theCOMMENT
LOW…sbench/configs/cloudopsbench_trimmed_prompt_openai.yml1# Cloud-OpsBench — trimmed prompt experiment (gpt-4o, 40-case slice).COMMENT
LOW…sbench/configs/cloudopsbench_trimmed_prompt_openai.yml21# planner directives, drop validation-of-validation; keep tool-outputCOMMENT
LOW…sbench/configs/cloudopsbench_trimmed_prompt_openai.yml41# - Seen-shape Δa1 ≥ +0.02 with CI tightening relative to floor=0 → promoteCOMMENT
LOW…nchmarks/cloudopsbench/configs/cloudopsbench_smoke.yml1# Example benchmark config — minimal but complete.COMMENT
LOW…igs/cloudopsbench_definitive_trimmed_prompt_openai.yml1# Cloud-OpsBench — definitive run at floor=0 + trimmed prompt (full N).COMMENT
LOW…igs/cloudopsbench_definitive_trimmed_prompt_openai.yml21# Fargate exit pattern) to tighten to ±0.04 and resolve whether the unseenCOMMENT
LOW…igs/cloudopsbench_definitive_trimmed_prompt_openai.yml41# - "Helps marginally" (45%): document as honest small improvement, changeCOMMENT
LOW…/benchmarks/cloudopsbench/configs/cloudopsbench_v1.yml1# Cloud-OpsBench v1 — opensre+LLM vs the paper's published LLM-alone baselines.COMMENT
LOW…/benchmarks/cloudopsbench/configs/cloudopsbench_v1.yml41 gpt-5: gpt-5-2025-08-07COMMENT
LOW…/benchmarks/cloudopsbench/configs/cloudopsbench_v1.yml61seed: 42COMMENT
LOW…udopsbench/configs/cloudopsbench_vocabpilot_openai.yml1# Cloud-OpsBench — unseen-shape vocab-fix validation pilot (cheap, gpt-4o only).COMMENT
LOW…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml1# Cloud-OpsBench v1 — OpenAI slice (gpt-4o + gpt-5).COMMENT
LOW…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml21# 2026-06-07 RE-RUN NOTES (read before launching the powered run)COMMENT
LOW…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml41# showed a rate-limit storm that crashed 78% of cells (a1 → 2.8%), ORCOMMENT
LOW…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml81runs_per_case: 3COMMENT
LOW…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml101output_dir: .bench-results/cloudopsbench_v1_openai/COMMENT
LOW…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml121#COMMENT
86 more matches not shown…
Modern AI Meta-Vocabulary29 hits · 92 pts
SeverityFileLineSnippetContext
MEDIUMcore/agent_harness/grounding/docs_reference.py72# well within the LLM context window even when several pages match.COMMENT
MEDIUMcore/agent_harness/turns/orchestrator.py207# Turn routing (pure router + snapshot adapter) and orchestrationCOMMENT
MEDIUMcore/domain/types/root_cause_categories.py407 # ── Data / pipeline orchestration ──────────────────────────────────COMMENT
MEDIUMcore/domain/types/root_cause_categories.py510 # ── Agent / orchestration runtime (Hermes + similar control-planes) ──COMMENT
MEDIUMtests/utils/test_slack_delivery.py254# send_slack_report orchestrationCOMMENT
MEDIUMtests/benchmarks/cloudopsbench/validity_scoring.py153# hallucinations like "kubectl pull" or "kubectl fix" without false positives.COMMENT
MEDIUMtests/benchmarks/cloudopsbench/bench_agent.py226# anti-hallucination scaffolding, no evidence-budget guidance. The point ofCOMMENT
MEDIUMtests/benchmarks/cloudopsbench/bench_agent.py226# anti-hallucination scaffolding, no evidence-budget guidance. The point ofCOMMENT
MEDIUMtests/benchmarks/cloudopsbench/bench_agent.py291# hedging + validation + multi-stage scaffolding produces RCAs that lean onCOMMENT
MEDIUM…nch/configs/cloudopsbench_floor_ablation_v2_openai.yml47# scaffolding, hedging language).COMMENT
MEDIUM…sbench/configs/cloudopsbench_trimmed_prompt_openai.yml16# vocabulary the full prompt's hedging + multi-stage scaffolding biasesCOMMENT
MEDIUM…opsbench/configs/preregistrations/cloudopsbench_v1.yml35# The paper (Table 4) reports each model in a "Base" (zero-shot) agent settingCOMMENT
MEDIUMtests/benchmarks/_framework/config.py145 # hedging scaffolding the full opensre prompt carries. Honored only by theCOMMENT
MEDIUMtests/benchmarks/_framework/reporting.py36# (arXiv:2603.00468v1), the "Base" (zero-shot) setting over the full 452-case #COMMENT
MEDIUMtests/benchmarks/_framework/reporting.py151# in-context demos lift GPT-4o 0.49 -> 0.70 with no orchestration. Only theCOMMENT
MEDIUMtests/synthetic/rds_postgres/test_scoring.py21 # Force the import to happen in this test's process; if orchestration modulesCOMMENT
MEDIUMtests/synthetic/rds_postgres/run_suite.py81 # orchestrationCOMMENT
MEDIUMtests/synthetic/rds_postgres/run_suite.py763 # --axis2 short-circuits the default per-level orchestration: every selectedCOMMENT
MEDIUMtests/synthetic/hermes_rca/analog_registry.py95 # Part 3/5: orchestration / memoryCOMMENT
MEDIUM…synthetic/hermes/004-context-length-overflow/README.md7Verbatim log excerpt from issue #23767: a session switched to a 65k-context local MLX provider then receives a 279,549-cCODE
MEDIUMtests/fleet_monitoring/test_pricing.py151 # 200 tokens/min on Sonnet-4.5 (typical light agenticCOMMENT
MEDIUMtests/e2e/kubernetes/infrastructure_sdk/eks.py489# Deploy / Destroy orchestrationCOMMENT
MEDIUMdocs/guardrails/README.md83### `opensre guardrails init`COMMENT
MEDIUMdocs/guardrails/README.md89### `opensre guardrails test "text"`COMMENT
MEDIUMdocs/guardrails/README.md101### `opensre guardrails rules`COMMENT
MEDIUMdocs/guardrails/README.md105### `opensre guardrails audit`COMMENT
MEDIUMintegrations/pi/client.py3Runs the Pi CLI (https://pi.dev) in headless agentic mode inside a targetSTRING
MEDIUMsurfaces/cli/ui/renderer/renderer.py69 # orchestrates lifecycle (active_node tracking, finish-on-end).COMMENT
MEDIUM…faces/interactive_shell/command_registry/cli_parity.py314 # ``opensre guardrails`` and its subcommands are all non-interactive printersCOMMENT
Fake / Example Data63 hits · 73 pts
SeverityFileLineSnippetContext
LOWtests/tools/test_s3_get_object_tool.py38 fake_data = {CODE
LOWtests/tools/test_s3_get_object_tool.py47 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_lambda_errors_tool.py31 fake_data = {CODE
LOWtests/tools/test_lambda_errors_tool.py38 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_google_docs_create_report_tool.py85 share_with=["user@example.com"],CODE
LOWtests/tools/test_google_docs_create_report_tool.py89 mock_client.share_document.assert_called_once_with("doc-1", "user@example.com", role="writer")CODE
LOWtests/tools/test_lambda_invocation_logs_tool.py36 fake_data = {CODE
LOWtests/tools/test_lambda_invocation_logs_tool.py43 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_lambda_invocation_logs_tool.py61 fake_data = {CODE
LOWtests/tools/test_lambda_invocation_logs_tool.py71 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_tracer_failed_run_tool.py47 mock_run.user_email = "user@example.com"CODE
LOWtests/tools/test_lambda_config_tool.py36 fake_data = {CODE
LOWtests/tools/test_lambda_config_tool.py48 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_jira_search_issues_tool.py25 "email": "user@example.com",CODE
LOWtests/tools/test_jira_search_issues_tool.py32 assert params["email"] == "user@example.com"CODE
LOWtests/tools/test_s3_list_tool.py37 fake_data = {CODE
LOWtests/tools/test_s3_list_tool.py44 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_s3_list_tool.py53 fake_data = {"count": 0, "objects": [], "is_truncated": False}CODE
LOWtests/tools/test_s3_list_tool.py56 return_value={"success": True, "data": fake_data},CODE
LOWtests/tools/test_bitbucket_commits_tool.py96 "author": "Jane Doe",CODE
LOW…l_prompts/316-sentry-recent-issues-windows-handoff.yml29 the 401 the fake-token draft masked.CODE
LOWtests/platform/guardrails/test_llm_integration.py84 monkeypatch.setenv("TEST_KEY", "fake-key")CODE
LOWtests/platform/guardrails/test_llm_integration.py109 "core.llm.providers.provider_credentials.resolve_llm_api_key", lambda _env_var: "fake-key"CODE
LOWtests/platform/guardrails/test_llm_integration.py249 monkeypatch.setenv("TEST_KEY", "fake-key")CODE
LOWtests/platform/observability/test_sentry_init.py276 "user_email": "user@example.com",CODE
LOWtests/platform/observability/test_sentry_init.py284 assert event["extra"]["user_email"] == "user@example.com"CODE
LOWtests/platform/observability/test_sentry_init.py683 "user_email": "user@example.com",CODE
LOWtests/platform/observability/test_sentry_init.py695 assert extra["user_email"] == "user@example.com"CODE
LOWtests/scheduler/test_executor.py46 mock_creds.return_value = {"bot_token": "fake_token"}CODE
LOWtests/cli/test_hermes_command.py25 monkeypatch.setenv("TELEGRAM_BOT_TOKEN", "fake-token")CODE
LOWtests/integrations/test_jira_client.py15 email="user@example.com",CODE
LOWtests/integrations/test_jira_client.py33 email="user@example.com",CODE
LOWtests/integrations/test_verification_registry.py343 out = verifier("local store", {"placeholder": True})CODE
LOW…tegrations/test_catalog_silent_fallback_elimination.py159 {"endpoint": "https://x", "api_key": "k", "bot_token": "fake-token"},CODE
LOWtests/integrations/test_jira_search_and_factory.py18 email="user@example.com",CODE
LOWtests/integrations/test_jira_search_and_factory.py104 email="user@example.com",CODE
LOWtests/integrations/test_jira_search_and_factory.py113 assert make_jira_client("", "user@example.com", "token") is NoneCODE
LOWtests/integrations/test_jira_search_and_factory.py121 assert make_jira_client("https://x.atlassian.net", "user@example.com", "") is NoneCODE
LOWtests/integrations/tracer/test_tracer_pipelines.py204 user_email="user@example.com",CODE
LOWtests/integrations/tracer/test_tracer_pipelines.py182 "user_email": "user@example.com",CODE
LOWtests/integrations/tracer/test_tracer_pipelines.py315 "email": "user@example.com",CODE
LOWtests/integrations/tracer/test_tracer_pipelines.py338 assert result.user_email == "user@example.com"CODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py147 m.stdout = '{"loggedIn": true, "email": "user@example.com"}\n'CODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py153 assert "user@example.com" in detailCODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py227 '"apiKeySource": "ANTHROPIC_API_KEY", "email": "user@example.com"}\n'CODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py234 assert "user@example.com" in detailCODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py265 '"apiKeySource": "ANTHROPIC_API_KEY", "email": "user@example.com"}\n'CODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py273 assert "user@example.com" in detailCODE
LOWtests/integrations/llm_cli/test_claude_code_adapter.py382 auth_proc.stdout = '{"loggedIn": true, "email": "user@example.com"}\n'CODE
LOWtests/integrations/alertmanager/test_client.py288 "createdBy": "admin@example.com",CODE
LOWtests/integrations/alertmanager/test_client.py297 "createdBy": "admin@example.com",CODE
LOWtests/integrations/grafana/test_tempo.py27 return {"Authorization": "Bearer fake-token"}CODE
LOWtests/integrations/google_docs/test_integration.py368 share_with=["user@example.com"],CODE
LOWtests/integrations/google_docs/test_integration.py374 "doc123", "user@example.com", role="writer"CODE
LOWtests/integrations/google_docs/test_integration.py454 share_with=["user@example.com"],CODE
LOWtests/integrations/google_docs/test_integration.py461 "doc123", "user@example.com", role="reader"CODE
LOWtests/integrations/google_docs/test_integration.py221 result = client.share_document("doc123", "user@example.com", role="writer")CODE
LOWtests/integrations/google_docs/test_integration.py487 share_with=["user@example.com"],CODE
LOWtests/integrations/google_docs/test_integration.py494 "doc123", "user@example.com", role="writer"CODE
LOWtests/synthetic/rds_postgres/test_suite.py107 "grafana_metrics": {"placeholder": True},CODE
3 more matches not shown…
AI Structural Patterns70 hits · 68 pts
SeverityFileLineSnippetContext
LOWtools/git_deploy_timeline_tool/__init__.py207CODE
LOWtools/investigation/reporting/formatters/report.py136CODE
LOWtools/interactive_shell/shell/runner.py28CODE
LOWcore/llm/transports/litellm/clients.py49CODE
LOWcore/llm/transports/litellm/clients.py148CODE
LOWcore/agent_harness/turns/headless_dispatch.py78CODE
LOWcore/agent/agent.py44CODE
LOWcore/tool_framework/registered_tool.py192CODE
LOWcore/tool_framework/registered_tool.py267CODE
LOWcore/tool_framework/tool_decorator.py18CODE
LOWcore/tool_framework/tool_decorator.py53CODE
LOWcore/tool_framework/tool_decorator.py88CODE
LOWcore/tool_framework/tool_decorator.py122CODE
LOWplatform/analytics/cli.py284CODE
LOWplatform/analytics/cli.py547CODE
LOWtests/utils/alert_factory/factory.py8CODE
LOWtests/utils/alert_factory/factory.py41CODE
LOWtests/shared/infrastructure_sdk/resources/ecs.py408CODE
LOWtests/cli/test_update.py227CODE
LOWtests/synthetic/rds_postgres/test_trajectory_policy.py50CODE
LOW…a/pipeline_code/api_ingester/charset_normalizer/api.py33CODE
LOW…a/pipeline_code/api_ingester/charset_normalizer/api.py545CODE
LOW…a/pipeline_code/api_ingester/charset_normalizer/api.py575CODE
LOW…a/pipeline_code/api_ingester/charset_normalizer/api.py606CODE
LOW…lambda/pipeline_code/api_ingester/requests/sessions.py500CODE
LOW…m_lambda/pipeline_code/api_ingester/requests/models.py258CODE
LOW…m_lambda/pipeline_code/api_ingester/requests/models.py351CODE
LOW…am_lambda/pipeline_code/api_ingester/urllib3/fields.py76CODE
LOW…pipeline_code/api_ingester/urllib3/_base_connection.py146CODE
LOW…_lambda/pipeline_code/api_ingester/urllib3/__init__.py116CODE
LOW…_lambda/pipeline_code/api_ingester/urllib3/response.py722CODE
LOW…ambda/pipeline_code/api_ingester/urllib3/connection.py600CODE
LOW…ambda/pipeline_code/api_ingester/urllib3/connection.py621CODE
LOW…ambda/pipeline_code/api_ingester/urllib3/connection.py683CODE
LOW…a/pipeline_code/api_ingester/urllib3/connectionpool.py175CODE
LOW…a/pipeline_code/api_ingester/urllib3/connectionpool.py376CODE
LOW…a/pipeline_code/api_ingester/urllib3/connectionpool.py591CODE
LOW…a/pipeline_code/api_ingester/urllib3/connectionpool.py979CODE
LOW…lambda/pipeline_code/api_ingester/urllib3/util/ssl_.py378CODE
LOW…lambda/pipeline_code/api_ingester/urllib3/util/ssl_.py397CODE
LOW…lambda/pipeline_code/api_ingester/urllib3/util/ssl_.py415CODE
LOW…ambda/pipeline_code/api_ingester/urllib3/util/retry.py211CODE
LOWintegrations/tracer/tracer_tools.py64CODE
LOWintegrations/tracer/tracer_pipelines.py130CODE
LOWintegrations/tracer/tracer_pipelines.py135CODE
LOWintegrations/tracer/tracer_pipelines.py141CODE
LOWintegrations/tracer/tracer_logs.py32CODE
LOW…rations/posthog_mcp/tools/posthog_mcp_tool/__init__.py201CODE
LOW…rations/posthog_mcp/tools/posthog_mcp_tool/__init__.py313CODE
LOWintegrations/alertmanager/tools/__init__.py110CODE
LOW…opensearch/tools/opensearch_analytics_tool/__init__.py66CODE
LOWintegrations/grafana/tools/__init__.py193CODE
LOWintegrations/grafana/tools/__init__.py378CODE
LOW…owflake/tools/snowflake_query_history_tool/__init__.py123CODE
LOW…ns/cloudtrail/tools/cloudtrail_events_tool/__init__.py184CODE
LOWintegrations/github/tools/commits.py76CODE
LOWintegrations/github/tools/actions.py293CODE
LOWintegrations/github/tools/actions.py572CODE
LOWintegrations/github/tools/repository_tree.py62CODE
LOW…ns/openobserve/tools/openobserve_logs_tool/__init__.py109CODE
10 more matches not shown…
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHplatform/auth/jwt_auth.py212Verify JWT signature and claims asynchronously. This is the primary verification function - fully async and non-bloSTRING
HIGHtests/shared/infrastructure_sdk/config.py35Load stack outputs from JSON file. Args: stack_name: Name of the stack. Returns: Dictionary ofSTRING
HIGHtests/shared/infrastructure_sdk/config.py57Get single output value. Args: stack_name: Name of the stack. key: Output key to retrieve. RetSTRING
HIGHtests/shared/infrastructure_sdk/deployer.py97Wait for a condition to be true. Args: check_func: Function that returns True when condition is met. STRING
HIGHtests/shared/infrastructure_sdk/resources/vpc.py18Get default VPC. Args: region: AWS region. Returns: Dictionary with VPC info: vpc_id, cidr. STRING
HIGHtests/shared/infrastructure_sdk/resources/secrets.py12Get secret value as dict (JSON parsed). Args: secret_name: Secret name or ARN. region: AWS region. STRING
HIGHtests/shared/infrastructure_sdk/resources/secrets.py45Get secret value as raw string. Args: secret_name: Secret name or ARN. region: AWS region. RetSTRING
HIGHtests/shared/infrastructure_sdk/resources/secrets.py74Get secret ARN. Args: secret_name: Secret name. region: AWS region. Returns: Secret ARSTRING
HIGHtests/benchmarks/_framework/reporting.py280Render artifacts under ``run_dir`` to the requested formats. Args: run_dir: directory containing ``report.jSTRING
HIGH…eam_apache_flink_ecs/pipeline_code/flink_job/domain.py110Validates events and engineers features for ML models. Args: raw_records: List of raw event records STRING
HIGHintegrations/aws/aws_sdk_client.py137 Execute a read-only AWS SDK operation with safety validations. Args: service_name: AWS service name (eSTRING
AI Slop Vocabulary20 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMcore/agent_harness/turns/orchestrator.py328 # is a no-op when compaction isn't required. Belongs at the harness layerCOMMENT
MEDIUMtests/tools/test_cloudtrail_events.py119 # The synthetic harness injects the fixture backend as "ec2_backend" on theCOMMENT
MEDIUMtests/utils/conftest.py38# Default stream URLs for optional remote investigation harness tests.COMMENT
MEDIUMtests/cli/test_output.py738 # Verify _safe_print itself is robust; _finish delegates to it.COMMENT
MEDIUMtests/benchmarks/cloudopsbench/infra/.tfsec/config.yml72 # its more nuanced wildcard detection that recognizes safe patterns).COMMENT
MEDIUM…arks/cloudopsbench/configs/cloudopsbench_v1_openai.yml133# reverts to "compare against paper's number from a different harness",COMMENT
MEDIUM…opsbench/configs/preregistrations/cloudopsbench_v1.yml43# EXTERNAL reference, not the primary contrast (our harness, predictor,COMMENT
MEDIUM…opsbench/configs/preregistrations/cloudopsbench_v1.yml45# cross-harness numbers are not strictly comparable).COMMENT
MEDIUMtests/benchmarks/_framework/reporting.py47# not measured in this harness (see _NON_COMPARABLE_METRICS).COMMENT
MEDIUMtests/benchmarks/_framework/reporting.py1323 """Markdown section with the highest-leverage provenance fields.STRING
MEDIUMtests/synthetic/eks/run_suite.py24# Kept identity for the initial harness drop; refine as scenarios #261+ landCOMMENT
MEDIUM…lambda/pipeline_code/api_ingester/requests/sessions.py678 # Set defaults that the hooks can utilize to ensure they always haveSTRING
LOW…m_lambda/pipeline_code/api_ingester/requests/models.py633 # method. To prevent iterating over None, simply use an empty listCOMMENT
LOW…am_lambda/pipeline_code/api_ingester/requests/utils.py448 # a UNC path, then just return the value without quotes. Using theSTRING
LOW…ream_lambda/pipeline_code/api_ingester/certifi/core.py70 # file, it will just return the file system location and theCOMMENT
MEDIUM…ambda/pipeline_code/api_ingester/urllib3/exceptions.py251 """Response needs to be chunked in order to read it as chunks."""STRING
MEDIUMsurfaces/interactive_shell/ui/streaming/__init__.py173 # harness, the non-TTY path above) never expose the attributeCOMMENT
MEDIUMsurfaces/interactive_shell/runtime/turn_host.py142 # module) does not pull the harness/turn-execution stackCOMMENT
MEDIUM…ces/interactive_shell/runtime/startup/initial_input.py21 # ``run_initial_input`` at top) does not pull the harness/turn-executionCOMMENT
MEDIUMgateway/runtime/manager.py61 # Mirror shell boot: register harness adapters here (gateway cannot importCOMMENT
Self-Referential Comments15 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMplatform/terminal/theme.py477# This module is the only place in the codebase where raw ANSI escapes areCOMMENT
MEDIUMtests/integrations/llm_cli/test_claude_code_adapter.py91 # Create a fake ~/.claude/.credentials.json under tmp_path.COMMENT
MEDIUMtests/integrations/aws/test_lambda_client.py90 # Create a mock zip fileCOMMENT
MEDIUM…eam_lambda/pipeline_code/api_ingester/idna/idnadata.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUM…am_lambda/pipeline_code/api_ingester/idna/uts46data.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUM…lambda/pipeline_code/api_ingester/requests/sessions.py562 # Create the Request.COMMENT
MEDIUM…_lambda/pipeline_code/api_ingester/urllib3/util/url.py266 output = [] # Initialize the variable to use to store outputCODE
MEDIUM…/pipeline_code/api_ingester/urllib3/util/connection.py23# This function is copied from socket.py in the Python 2.7 standardCOMMENT
MEDIUM…/pipeline_code/api_ingester/urllib3/util/connection.py104 """This function is designed to work in the context ofSTRING
MEDIUM…mbda/pipeline_code/api_ingester/urllib3/http2/probe.py66 """This function is for testing purposes only. Gets the current state of the probe cache"""STRING
MEDIUM…mbda/pipeline_code/api_ingester/urllib3/http2/probe.py71 """This function is for testing purposes only. Reset the cache values"""STRING
MEDIUMtests/e2e/kubernetes/test_local.py205 # Create the service account used by job manifests (on EKS this is created with IRSA)COMMENT
MEDIUMintegrations/google_docs/client.py339 # Create the documentCOMMENT
MEDIUMintegrations/google_docs/tools/__init__.py170 # Create the incident reportCOMMENT
MEDIUMsurfaces/interactive_shell/ui/alerts/__init__.py79 # Create a panel with the distinct accentCOMMENT
Slop Phrases9 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMcore/agent_harness/prompts/rules.py30 "generic 'let me know if you need anything'). After integration status "CODE
MEDIUM…re/agent/prompts/prompt_characterization_snapshot.json7 "cli_agent_minimal": "You are the OpenSRE terminal assistant. You help with OpenSRE CLI usage, the interactive shell, CODE
MEDIUM…re/agent/prompts/prompt_characterization_snapshot.json8 "cli_agent_no_integrations_guard": "You are the OpenSRE terminal assistant. You help with OpenSRE CLI usage, the interCODE
MEDIUM…re/agent/prompts/prompt_characterization_snapshot.json9 "cli_agent_integrations_listed_with_prior_state": "You are the OpenSRE terminal assistant. You help with OpenSRE CLI uCODE
MEDIUM…re/agent/prompts/prompt_characterization_snapshot.json10 "cli_agent_observation_on_screen": "You are the OpenSRE terminal assistant. You help with OpenSRE CLI usage, the interCODE
MEDIUM…re/agent/prompts/prompt_characterization_snapshot.json11 "cli_agent_observation_off_screen": "You are the OpenSRE terminal assistant. You help with OpenSRE CLI usage, the inteCODE
MEDIUM…re/agent/prompts/prompt_characterization_snapshot.json12 "cli_agent_synthetic_failure": "You are the OpenSRE terminal assistant. You help with OpenSRE CLI usage, the interactiCODE
LOW…_lambda/pipeline_code/api_ingester/urllib3/response.py1146 # TODO make sure to initially read enough data to get past the headersCOMMENT
MEDIUM…lambda/pipeline_code/api_ingester/urllib3/util/wait.py12# There are two types of APIs you can use for waiting on sockets: the fancyCOMMENT
Redundant / Tautological Comments17 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/investigation/reporting/urls/aws.py33 # Check if URL already providedCOMMENT
LOWtests/shared/infrastructure_sdk/resources/vpc.py67 # Check if subnet has route to internet gatewayCOMMENT
LOWtests/shared/infrastructure_sdk/resources/vpc.py141 # Check if existsCOMMENT
LOWtests/e2e/upstream_apache_flink_ecs/conftest.py24 # Check if CONFIG has required valuesCOMMENT
LOWtests/e2e/upstream_apache_flink_ecs/test_agent_e2e.py195 # Check if agent identified the key componentsCOMMENT
LOW…argate/infrastructure_code/prefect_image/entrypoint.sh11# Check if server process is still aliveCOMMENT
LOW…m_lambda/pipeline_code/api_ingester/requests/models.py497 # Check if file, fo, generator, iterator.COMMENT
LOW…ambda/pipeline_code/api_ingester/urllib3/connection.py736 # Check if the target origin supports HTTP/2.COMMENT
LOW…a/pipeline_code/api_ingester/urllib3/connectionpool.py927 # Check if we should retry the HTTP response.COMMENT
LOW…bda/pipeline_code/api_ingester/urllib3/util/request.py246 # Check if the body implements the buffer API.COMMENT
LOW…bda/pipeline_code/api_ingester/urllib3/util/request.py250 # Check if the body is an iterableCOMMENT
LOW…da/pipeline_code/api_ingester/urllib3/util/response.py31 # Check if the object is a container for another file-like object thatCOMMENT
LOWintegrations/messaging_security.py239 # Check if this is a pairing attempt (only when a pairing is actually pending)COMMENT
LOWintegrations/postgresql/__init__.py470 # Check if this might be a replica serverSTRING
LOWintegrations/postgresql/__init__.py508 # Check if pg_stat_statements extension is availableSTRING
LOWintegrations/mariadb/__init__.py334 # Check if performance_schema is enabledCOMMENT
LOWintegrations/mysql/__init__.py475 # Check if performance_schema is enabledCOMMENT
Verbosity Indicators9 hits · 15 pts
SeverityFileLineSnippetContext
LOW…s/investigation/reporting/formatters/infrastructure.py232 # Step 1: Where we detected the failure (logs)COMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py253 # Step 2: ECS/Batch/Lambda compute that failedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py267 # Step 3: Lambda functions involvedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py281 # Step 4: S3 data inspectionCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py308 # Step 6: Root cause evidenceCOMMENT
LOW…ts/interactive_shell/references/test_docs_reference.py31 "### Step 1: Create API Key\n\n"CODE
LOW…ts/interactive_shell/references/test_docs_reference.py33 "### Step 2: Configure OpenSRE\n\n"CODE
LOWtests/e2e/upstream_lambda/test_agent_e2e.py194 # Step 1: Trigger failureCOMMENT
LOWtests/e2e/upstream_lambda/test_agent_e2e.py197 # Step 2: Test agent investigationCOMMENT
Structural Annotation Overuse9 hits · 15 pts
SeverityFileLineSnippetContext
LOW…s/investigation/reporting/formatters/infrastructure.py232 # Step 1: Where we detected the failure (logs)COMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py253 # Step 2: ECS/Batch/Lambda compute that failedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py267 # Step 3: Lambda functions involvedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py281 # Step 4: S3 data inspectionCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py308 # Step 6: Root cause evidenceCOMMENT
LOW…ts/interactive_shell/references/test_docs_reference.py31 "### Step 1: Create API Key\n\n"CODE
LOW…ts/interactive_shell/references/test_docs_reference.py33 "### Step 2: Configure OpenSRE\n\n"CODE
LOWtests/e2e/upstream_lambda/test_agent_e2e.py194 # Step 1: Trigger failureCOMMENT
LOWtests/e2e/upstream_lambda/test_agent_e2e.py197 # Step 2: Test agent investigationCOMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtests/chaos_engineering/README.md12export DD_API_KEY='your-api-key' # omit if using CHAOS_LAB_FLAGS=--skip-datadogCODE
HIGHtests/chaos_engineering/README.md55export DD_API_KEY='your-api-key'CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/core/runtime/llm/test_llm_client.py676CODE
MEDIUMtests/interactive_shell/chat/test_cli_agent.py400CODE
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOWplatform/scheduler/executor.py23def execute_task(CODE
LOWtests/tools/test_registry.py267 def perform_action(value: str) -> dict[str, str]:CODE
LOWtests/shared/infrastructure_sdk/resources/ecs.py217def run_task(CODE