Repository Analysis

Tracer-Cloud/opensre

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

42.9 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Tracer-Cloud/opensre, a Python project with 10,956 GitHub stars. SynthScan v2.0 examined 683,553 lines of code across 4590 source files, recording 24324 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 42.9 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.9
Adjusted Score
42.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
11.0K
Stars
Python
Language
683.6K
Lines of Code
4.6K
Files
24.3K
Pattern Hits
2026-08-29
Scan Date
0.03
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 158MEDIUM 1479LOW 22687

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 24324 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 Identifiers14535 hits · 15151 pts
SeverityFileLineSnippetContext
LOWtools/registry.py46def register_external_tool_package(package: ModuleType) -> None:CODE
LOWtools/registry.py164def clear_tool_registry_cache() -> None:CODE
LOWtools/registry.py249def resolve_tool_display_name(tool_name: str) -> str:CODE
LOWtools/registry.py268def resolve_tool_activity_labels(tool_name: str) -> tuple[str, str]:CODE
LOWtools/registry_discovery.py121def _qualify_tool_module_name(package: ModuleType, module_name: str) -> str:CODE
LOWtools/registry_discovery.py127def _iter_manifest_tool_module_names(module: ModuleType) -> tuple[str, ...]:CODE
LOWtools/registry_discovery.py163def _import_tool_module_or_none(package: ModuleType, module_name: str) -> ModuleType | None:CODE
LOWtools/registry_discovery.py180def iter_discovered_tool_modules(package: ModuleType) -> list[ModuleType]:CODE
LOWtools/registry_discovery.py196def _candidate_belongs_to_module(candidate: object, module_name: str) -> bool:CODE
LOWtools/registry_discovery.py204def _registered_tool_from_candidate(candidate: object) -> RegisteredTool | None:CODE
LOWtools/registry_discovery.py224def collect_registered_tools_from_module(module: ModuleType) -> list[RegisteredTool]:CODE
LOWtools/harness_adapters.py6def register_harness_adapters() -> None:CODE
LOWtools/registry_index.py368def clear_descriptor_index_cache() -> None: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.py197def run_investigation_for_session(CODE
LOWtools/investigation/session_runner.py214def run_sample_alert_for_session(CODE
LOWtools/investigation/session_runner.py230def run_investigation_for_session_background(CODE
LOWtools/investigation/session_runner.py247def run_sample_alert_for_session_background(CODE
LOWtools/investigation/scheduler_bootstrap.py29def run_scheduled_investigation(alert_payload: AlertPayload) -> InvestigationResult | None:CODE
LOWtools/investigation/capability.py131def resolve_investigation_context(CODE
LOWtools/investigation/capability.py161def build_investigation_payload(CODE
LOWtools/investigation/capability.py200def run_investigation_payload(CODE
LOWtools/investigation/lifecycle.py26def 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.py65def _render_rich_section_heading(console: Console, title: str) -> None:CODE
LOWtools/investigation/reporting/renderers/terminal.py94def _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.py26def _normalize_endpoint_target(endpoint: str) -> str:CODE
LOW…ls/investigation/reporting/context/evidence_catalog.py457def 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.py210def build_investigation_trace(ctx: ReportContext) -> list[str]:CODE
LOWtools/investigation/reporting/formatters/evidence.py71 def _datadog_investigate_count(e: dict) -> str | None:CODE
LOWtools/investigation/reporting/formatters/evidence.py247def format_cited_evidence_section(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/evidence.py298def format_cited_evidence_section_html(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/base.py69def slack_links_to_plain_text(text: str) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py53def _format_correlation_lines(ctx: ReportContext) -> tuple[list[str], list[str]]:CODE
LOWtools/investigation/reporting/formatters/report.py151def _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.py192def _render_claim_lines_telegram(ctx: ReportContext) -> tuple[list[str], list[str]]:CODE
LOWtools/investigation/reporting/formatters/report.py223def render_cloudwatch_link_html(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py351def _remove_speculative_words(text: str) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py358def _derive_root_cause_sentence(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py403def _normalize_triage_summary(summary: str) -> str:CODE
LOWtools/investigation/reporting/formatters/report.py408def _format_incident_command_block(ctx: ReportContext) -> str:CODE
LOWtools/investigation/reporting/urls/aws.py84def build_grafana_explore_url(CODE
14475 more matches not shown…
Decorative Section Separators1370 hits · 5242 pts
SeverityFileLineSnippetContext
MEDIUMtools/investigation/reporting/renderers/terminal.py16# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py18# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py57# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py59# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py102# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/renderers/terminal.py104# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py262# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py264# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py321# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py323# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py455# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py457# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/investigation/reporting/formatters/report.py725# ---------------------------------------------------------------------------STRING
MEDIUMtools/investigation/reporting/formatters/report.py727# ---------------------------------------------------------------------------STRING
MEDIUMcore/llm/factory.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/factory.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/llm/client_builders.py131# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/integration_resolution.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/agent_harness/session/lifecycle.py92 # ─── Core bootstrap ──────────────────────────────────────────────────COMMENT
MEDIUMcore/agent_harness/session/lifecycle.py119 # ─── Lifecycle ───────────────────────────────────────────────────────COMMENT
MEDIUMcore/domain/types/incident_anchors.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/domain/types/incident_anchors.py77# ---------------------------------------------------------------------------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.py52# ── Release notes ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py104# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py106# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py173# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py175# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py259# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_rocketchat_send_message_tool.py261# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_kafka_topic_health_tool.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_kafka_topic_health_tool.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_kafka_topic_health_tool.py134# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_kafka_topic_health_tool.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tools/test_kafka_topic_health_tool.py166# ---------------------------------------------------------------------------COMMENT
1310 more matches not shown…
Unused Imports5112 hits · 4738 pts
SeverityFileLineSnippetContext
LOWmain.py60CODE
LOWtools/registry_skill_guidance.py8CODE
LOWtools/registry.py9CODE
LOWtools/registry_discovery.py10CODE
LOWtools/harness_adapters.py3CODE
LOWtools/registry_index.py14CODE
LOWtools/cross_vendor/__init__.py12CODE
LOWtools/cross_vendor/fix_sentry_issue/runner.py8CODE
LOWtools/cross_vendor/fix_sentry_issue/__init__.py29CODE
LOWtools/cross_vendor/fix_sentry_issue/context.py8CODE
LOWtools/cross_vendor/fix_sentry_issue/errors.py3CODE
LOWtools/cross_vendor/fix_sentry_issue/ship.py14CODE
LOWtools/investigation/session_runner.py3CODE
LOWtools/investigation/scheduler_bootstrap.py19CODE
LOWtools/investigation/__init__.py3CODE
LOWtools/investigation/__init__.py10CODE
LOWtools/investigation/__init__.py10CODE
LOWtools/investigation/__init__.py10CODE
LOWtools/investigation/__init__.py10CODE
LOWtools/investigation/capability.py3CODE
LOWtools/investigation/lifecycle.py8CODE
LOWtools/investigation/alert_templates.py3CODE
LOWtools/investigation/streaming.py3CODE
LOWtools/investigation/agent_pipeline.py12CODE
LOWtools/investigation/reporting/evaluation.py3CODE
LOWtools/investigation/reporting/__init__.py11CODE
LOWtools/investigation/reporting/__init__.py11CODE
LOWtools/investigation/reporting/node.py11CODE
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
LOW…ation/reporting/upstream_correlation/feature_config.py1CODE
LOW…s/investigation/reporting/upstream_correlation/node.py1CODE
LOW…estigation/reporting/upstream_correlation/reporting.py1CODE
LOWtools/investigation/reporting/context/build.py3CODE
LOWtools/investigation/reporting/context/__init__.py3CODE
LOWtools/investigation/reporting/context/__init__.py4CODE
LOWtools/investigation/reporting/context/provenance.py3CODE
LOW…ls/investigation/reporting/context/evidence_catalog.py3CODE
LOWtools/investigation/reporting/context/schema.py3CODE
LOWtools/investigation/reporting/formatters/messages.py3CODE
LOWtools/investigation/reporting/formatters/base.py3CODE
LOWtools/investigation/reporting/urls/aws.py3CODE
5052 more matches not shown…
Modern Structural Boilerplate1436 hits · 1449 pts
SeverityFileLineSnippetContext
LOWtools/registry_skill_guidance.py18logger = logging.getLogger(__name__)CODE
LOWtools/registry.py31logger = logging.getLogger(__name__)CODE
LOWtools/registry_discovery.py21logger = logging.getLogger(__name__)CODE
LOWtools/registry_index.py372__all__ = [CODE
LOWtools/cross_vendor/__init__.py16__all__ = ["TOOL_MODULES"]CODE
LOWtools/investigation/session_runner.py263__all__ = [CODE
LOWtools/investigation/scheduler_bootstrap.py39__all__ = ["run_scheduled_investigation"]CODE
LOWtools/investigation/__init__.py56__all__ = [CODE
LOWtools/investigation/capability.py29logger = logging.getLogger(__name__)CODE
LOWtools/investigation/reporting/evaluation.py8logger = logging.getLogger(__name__)CODE
LOWtools/investigation/reporting/__init__.py13__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/formatters/base.py10__all__ = [CODE
LOWtools/investigation/reporting/delivery/bootstrap.py47__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.py185__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.py64logger = logging.getLogger(__name__)CODE
LOWtools/investigation/stages/gather_evidence/agent.py607__all__ = [CODE
LOWtools/investigation/stages/diagnose/__init__.py16__all__ = ["InvestigationResult", "diagnose", "parse_diagnosis"]CODE
LOWtools/investigation/stages/diagnose/node.py22logger = logging.getLogger(__name__)CODE
LOWtools/investigation/stages/intake/__init__.py12__all__ = ["extract_alert"]CODE
LOWtools/investigation/stages/intake/node.py36logger = logging.getLogger(__name__)CODE
LOWtools/system/__init__.py23__all__ = ["TOOL_MODULES"]CODE
LOWtools/system/agent_memory/results.py73__all__ = [CODE
LOWtools/system/agent_memory/__init__.py7__all__ = ["memory_forget", "memory_recall", "memory_remember"]CODE
LOWtools/system/agent_memory/tool.py185__all__ = ["memory_forget", "memory_recall", "memory_remember"]CODE
LOWtools/system/agent_memory/validation.py56__all__ = [CODE
LOWtools/system/sre_guidance_tool/__init__.py60__all__ = ["get_sre_guidance", "get_topics_for_keywords"]CODE
LOWtools/system/work_items/delivery.py79__all__ = [CODE
LOWtools/system/work_items/results.py102__all__ = [CODE
LOWtools/system/work_items/__init__.py14__all__ = [CODE
LOWtools/system/work_items/reminders.py77__all__ = [CODE
LOWtools/system/work_items/tool.py583__all__ = [CODE
LOWtools/system/work_items/validation.py81__all__ = [CODE
LOWtools/system/watch_dog/monitor.py171__all__ = ["AlarmDispatcherPort", "run_watchdog", "start_watchdog_daemon_thread"]CODE
LOWtools/system/fleet_monitoring/tail.py448__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.py19logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/discovery.py627__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.py65logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/pricing.py514__all__ = [CODE
LOWtools/system/fleet_monitoring/conflicts.py98__all__ = [CODE
LOWtools/system/fleet_monitoring/sweep.py26logger = logging.getLogger(__name__)CODE
LOWtools/system/fleet_monitoring/sweep.py150__all__ = ["DEFAULT_LOCK_DIR", "SweepResult", "sweep"]CODE
1376 more matches not shown…
Excessive Try-Catch Wrapping871 hits · 890 pts
SeverityFileLineSnippetContext
LOWtools/registry.py147 except Exception as exc:CODE
LOWtools/registry.py228 except Exception as exc:CODE
LOWtools/registry_discovery.py170 except Exception as exc:CODE
LOWtools/investigation/session_runner.py139 except Exception as exc:CODE
LOWtools/investigation/capability.py63 except Exception:CODE
LOWtools/investigation/capability.py71 except Exception as exc:CODE
LOWtools/investigation/capability.py334 except Exception as exc:CODE
LOWtools/investigation/agent_pipeline.py193 except Exception as exc:CODE
LOWtools/investigation/agent_pipeline.py296 except Exception: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.py122 except Exception:CODE
LOWtools/investigation/reporting/delivery/dispatch.py96 except Exception: # noqa: BLE001CODE
LOWtools/investigation/stages/gather_evidence/tools.py238 except Exception:CODE
LOWtools/investigation/stages/gather_evidence/agent.py127 except Exception: # noqa: BLE001 - observers must not break investigationsCODE
LOWtools/investigation/stages/gather_evidence/agent.py133 except Exception: # noqa: BLE001 - observers must not break investigationsCODE
LOWtools/investigation/stages/gather_evidence/agent.py143 except Exception: # noqa: BLE001 - observers must not break investigationsCODE
LOWtools/investigation/stages/gather_evidence/agent.py272 except Exception as err:CODE
LOWtools/investigation/stages/diagnose/node.py42 except Exception as err:CODE
LOWtools/investigation/stages/diagnose/node.py183 except Exception as err:STRING
LOWtools/investigation/stages/intake/node.py182 except Exception as err:STRING
LOWtools/system/watch_dog/monitor.py132 except Exception as exc: # noqa: BLE001CODE
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/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.py218 except Exception as exc:CODE
LOW…teractive_shell/implementation/claude_code_executor.py212 except Exception as exc:CODE
LOW…teractive_shell/implementation/claude_code_executor.py226 except Exception as exc:CODE
LOW…teractive_shell/implementation/claude_code_executor.py274 except Exception as exc: # noqa: BLE001CODE
MEDIUM…teractive_shell/implementation/claude_code_executor.py236def _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/llm/image_description.py74 except Exception as exc: # noqa: BLE001 - any provider/transport failure degrades to NoneCODE
LOWcore/llm/providers/azure_openai.py129 except Exception:CODE
LOWcore/llm/transports/sdk/llm_clients.py346 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py405 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py534 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py635 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py788 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py909 except Exception as err:CODE
LOWcore/llm/transports/sdk/llm_clients.py1024 except Exception as err:CODE
LOWcore/llm/transports/sdk/agent_clients.py268 except Exception as err:CODE
LOWcore/llm/transports/sdk/agent_clients.py465 except Exception as err:CODE
LOWcore/llm/transports/sdk/agent_clients.py700 except Exception as err:CODE
LOWcore/llm/shared/structured_output.py77 except Exception as err:CODE
LOWcore/llm/shared/llm_retry.py179 except Exception as exc:CODE
LOWcore/llm/shared/openai_chat_completions.py257 except Exception as err:CODE
LOWcore/llm/shared/openai_chat_completions.py312 except Exception as err:CODE
LOWcore/llm/shared/openai_chat_completions.py384 except Exception as err:CODE
LOWcore/agent_harness/closed_llm_verdict.py62 except Exception:CODE
LOWcore/agent_harness/closed_llm_verdict.py69 except Exception:CODE
LOWcore/agent_harness/accounting/turn_accounting.py64 except Exception:CODE
LOWcore/agent_harness/tools/action_tools.py71 except Exception as exc:CODE
LOWcore/agent_harness/prompts/grounding/provider.py30 except Exception:CODE
LOWcore/agent_harness/prompts/grounding/provider.py112 except Exception:CODE
811 more matches not shown…
Cross-File Repetition111 hits · 555 pts
SeverityFileLineSnippetContext
HIGHtests/tools/test_rocketchat_send_message_tool.py0the flat/runtime ``sources`` shape passed to is_available().STRING
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/tools/test_rocketchat_send_message_tool.py0extract_params output is serialized into traces - it must hold no secrets.STRING
HIGHtests/tools/test_slack_send_message_tool.py0extract_params output is serialized into traces - it must hold no secrets.STRING
HIGHtests/tools/test_telegram_send_message_tool.py0extract_params output is serialized into traces - it must hold no secrets.STRING
HIGHtests/tools/test_railway_deployment_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_cloudtrail_events.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_incident_io_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_pagerduty_services_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_bitbucket_file_contents_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_bitbucket_search_code_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_openobserve_logs_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_opsgenie_alert_detail_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.STRING
HIGHtests/tools/test_pagerduty_incident_detail_tool.py0regression: a title with bare \\r or \\r\\n line endings must not leave a literal carriage return in the report summary.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/client.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
51 more matches not shown…
Deep Nesting387 hits · 354 pts
SeverityFileLineSnippetContext
LOWtools/registry.py71CODE
LOWtools/registry.py121CODE
LOWtools/registry_index.py277CODE
LOWtools/registry_index.py297CODE
LOWtools/investigation/capability.py223CODE
LOWtools/investigation/capability.py283CODE
LOW…s/investigation/reporting/formatters/infrastructure.py210CODE
LOWtools/investigation/stages/gather_evidence/agent.py352CODE
LOWtools/investigation/stages/gather_evidence/agent.py356CODE
LOWtools/system/watch_dog/runner.py49CODE
LOWtools/system/watch_dog/monitor.py30CODE
LOWtools/system/fleet_monitoring/tail.py114CODE
LOWtools/system/fleet_monitoring/bus.py702CODE
LOWtools/system/fleet_monitoring/bus.py337CODE
LOWtools/system/fleet_monitoring/bus.py362CODE
LOWtools/system/fleet_monitoring/pricing.py368CODE
LOWtools/system/fleet_monitoring/sampler.py75CODE
LOWtools/system/fleet_monitoring/meters/codex.py70CODE
LOWtools/interactive_shell/cli.py165CODE
LOWtools/interactive_shell/shell/runner.py56CODE
LOWtools/interactive_shell/shell/read_only.py469CODE
LOWtools/interactive_shell/actions/sentry_fix.py26CODE
LOWtools/interactive_shell/synthetic/runner.py39CODE
LOWcore/context_budget.py126CODE
LOWcore/context_budget.py189CODE
LOWcore/context_budget.py291CODE
LOWcore/context_budget.py314CODE
LOWcore/messages/transcript.py8CODE
LOWcore/llm/transports/sdk/llm_clients.py354CODE
LOWcore/llm/transports/sdk/llm_clients.py555CODE
LOWcore/llm/transports/sdk/llm_clients.py933CODE
LOWcore/llm/transports/sdk/agent_clients.py815CODE
LOWcore/llm/shared/structured_output.py64CODE
LOWcore/llm/shared/openai_responses.py38CODE
LOWcore/llm/shared/tool_schema_normalize.py48CODE
LOWcore/llm/shared/tool_schema_normalize.py72CODE
LOWcore/llm/shared/tool_schema_normalize.py117CODE
LOWcore/llm/shared/tool_schema_normalize.py142CODE
LOWcore/llm/shared/llm_retry.py106CODE
LOWcore/llm/shared/openai_chat_completions.py245CODE
LOWcore/llm/shared/openai_chat_completions.py294CODE
LOWcore/llm/shared/openai_chat_completions.py360CODE
LOWcore/agent_harness/session_goal/evaluate.py223CODE
LOWcore/agent_harness/prompts/skills/loader.py140CODE
LOWcore/agent_harness/session/persistence/jsonl_store.py531CODE
LOWcore/agent_harness/session/persistence/jsonl_store.py668CODE
LOWcore/agent_harness/session/persistence/paths.py30CODE
LOWcore/agent_harness/session/persistence/jsonl_repo.py164CODE
LOWcore/agent/react_loop.py178CODE
LOWcore/tool_framework/skill_guidance.py181CODE
LOWcore/domain/work_items/store.py172CODE
LOWcore/tool/execution.py226CODE
LOWcore/tool/contracts.py41CODE
LOWconfig/runtime_metadata/probes.py61CODE
LOWtests/tools/investigation/test_layering.py40CODE
LOWtests/tools/interactive_shell/test_import_boundaries.py16CODE
LOWtests/core/test_layering.py83CODE
LOWtests/core/agent_harness/test_host_capability_ports.py120CODE
LOWtests/core/agent_harness/test_developer_agent_api.py282CODE
LOWtests/core/agent/test_turn_fixture_integrity.py46CODE
327 more matches not shown…
Cross-Language Confusion34 hits · 202 pts
SeverityFileLineSnippetContext
HIGHtools/system/fleet_monitoring/tail.py109 raise AttachUnsupportedError("stdout is /dev/null; nothing to tail")CODE
HIGHtools/system/fleet_monitoring/tail.py183 raise AttachUnsupportedError("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
HIGHtools/interactive_shell/shell/read_only.py293# Redirects that do not write a file: stderr/stdout to /dev/null, or fd dups.COMMENT
HIGHtests/tools/test_github_actions_tool.py71 "conclusion": null,CODE
HIGHtests/tools/interactive_shell/shell/test_risk.py39 ("rm data.json && echo done", CommandRisk.MEDIUM),CODE
HIGHtests/core/agent_harness/test_session_bindable_ports.py57 assert isinstance(null, SessionBindable)CODE
HIGHtests/core/agent_harness/test_session_bindable_ports.py58 assert isinstance(null, ConsoleBindable)CODE
HIGHtests/cli/wizard/test_flow.py179 "Install it first: sudo apt update && sudo apt install -y gnome-keyring dbus-user-session",CODE
HIGHtests/cli/wizard/test_flow.py189 assert "Install it first: sudo apt update && sudo apt install -y gnome-keyring" in outputCODE
HIGHtests/integrations/test_azure_sql.py264 # A stored integration persisting {"port": null} must not crashCOMMENT
HIGHtests/integrations/test_azure_sql.py281 # A stored integration persisting {"server": null} must not yield theCOMMENT
HIGHtests/integrations/test_yandex_cloud_catalog.py85 """``integrations setup`` writes unset fields as null, not as absent.STRING
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/shell/test_shell_parsing.py115 parsed = parse_shell_command("cd /tmp && ls", is_windows=False)CODE
HIGHtests/interactive_shell/shell/test_read_only.py20 'cd /Users/x/repo && git status --short --branch | head -5; echo "==="; grep -Ei foo Makefile',CODE
HIGHtests/interactive_shell/shell/test_read_only.py21 "cd /tmp && ls",CODE
HIGHtests/interactive_shell/shell/test_read_only.py24 "cd /x && git status | head; git remote -v; git branch -a",CODE
HIGHtests/interactive_shell/shell/test_read_only.py55 "cd /tmp && rm -rf x",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
HIGHinfrastructure/filestorage/providers/vercel.py227 An empty list is valid (nothing under the prefix). Missing, null, non-list,STRING
HIGH…/deployment/ec2/telegram_gateway/build_server_image.py111 "id opensre &>/dev/null || useradd --system --create-home "CODE
HIGH…/deployment/ec2/telegram_gateway/build_server_image.py123 "mkdir -p /etc/opensre && chmod 750 /etc/opensre && chown root:opensre /etc/opensre",CODE
HIGH…/deployment/ec2/telegram_gateway/build_server_image.py130 "systemctl daemon-reload && systemctl enable opensre-gateway",CODE
HIGH…structure/deployment/ec2/telegram_gateway/provision.py108 f"journalctl -u {service} -n {GATEWAY_LOG_TAIL_LINES} --no-pager 2>/dev/null || true",CODE
HIGH…ployment/ec2/telegram_gateway/install_on_new_server.py193 + "--home-dir /var/lib/opensre-gateway --shell /usr/sbin/nologin opensre || true"STRING
HIGH…ployment/ec2/telegram_gateway/install_on_new_server.py199 "mkdir -p /etc/opensre && chmod 750 /etc/opensre && chown root:opensre /etc/opensre",STRING
HIGH…ployment/ec2/telegram_gateway/install_on_new_server.py216 "systemctl daemon-reload && systemctl enable opensre-gateway",STRING
Over-Commented Block155 hits · 152 pts
SeverityFileLineSnippetContext
LOWpyproject.toml21 # Held below 1.96: LiteLLM 1.97 updates GPT-5.6 prices while familyCOMMENT
LOWmypy.ini1[mypy]COMMENT
LOWtools/investigation/stages/gather_evidence/tools.py21# that we tolerate before forcing the agent to conclude.COMMENT
LOWtools/system/fleet_monitoring/tail.py321 self._publish(chunk)COMMENT
LOWtools/system/fleet_monitoring/tail.py341 # post is also single-producer (the loop above has exitedCOMMENT
LOWtools/system/fleet_monitoring/pricing.py141# after a direct litellm lookup misses.COMMENT
LOWtools/interactive_shell/shell/read_only.py181# the attached ``-mreason`` form, which is not a separate positional).COMMENT
LOWcore/agent_harness/ports.py301# presenter lives in ``tools`` (process helpers), so this seam is how a hostCOMMENT
LOWcore/agent_harness/session_goal/goal.py141 # What the previous turn told the user, recorded whether or not a tool ran.COMMENT
LOWconfig/constants/filestorage.py21REMOTE_SYNC_BUCKET_ENV = "OPENSRE_REMOTE_SYNC_BUCKET"COMMENT
LOWtests/tools/test_telemetry.py941 )COMMENT
LOWtests/core/test_layering.py41 Path("core/messages/__init__.py"),COMMENT
LOWtests/core/agent/scenario_loader.py821_SELECT_MODES = frozenset({"sample", "complex"})COMMENT
LOWtests/filestorage/test_community_provider_template.py281 # ActCOMMENT
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.py221 return _filter_to_bench_package(tools, self.ALLOWED_TOOL_MODULE_PREFIXES)COMMENT
LOWtests/benchmarks/cloudopsbench/bench_agent.py281# baseline. The 2026-06-08 full-N floor=0 run loss diagnosis (n=353 pairedCOMMENT
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
95 more matches not shown…
AI Slop Vocabulary41 hits · 128 pts
SeverityFileLineSnippetContext
MEDIUMcore/agent_harness/turns/action_driver.py1049 # Literal text: the sink decides how to render it safely. The harnessCOMMENT
MEDIUMtests/tools/test_cloudtrail_events.py123 # The synthetic harness injects the fixture backend as "ec2_backend" on theCOMMENT
MEDIUMtests/tools/test_harness_api_border.py22#: Internal harness modules the tool tier still imports directly. Empty: everyCOMMENT
MEDIUMtests/tools/test_harness_api_border.py23#: harness name the tool tier uses comes through the API.COMMENT
MEDIUMtests/core/agent_harness/test_host_capability_ports.py26#: The one module allowed to declare the factory aliases (the harness API).COMMENT
MEDIUMtests/core/agent_harness/test_host_capability_ports.py86 # Arrange — the gate belongs to the harness API; hosts implement it.COMMENT
MEDIUMtests/core/agent_harness/test_host_capability_ports.py140 # Arrange — the aliases are part of the harness API; a second copy drifts.COMMENT
MEDIUMtests/core/agent/orchestration/test_action_prompt.py95 # prompt via the harness-ports fragment registry, not hardcoded in core.COMMENT
MEDIUMtests/core/agent/orchestration/test_action_prompt.py103 # appended to the composed action prompt via the harness-ports fragmentCOMMENT
MEDIUMtests/core/agent/orchestration/test_action_prompt.py129 # integrations.slack.action_prompt, appended via the harness-portsCOMMENT
MEDIUMtests/core/agent/orchestration/test_action_prompt.py116 # appended to the composed action prompt via the harness-ports fragmentCOMMENT
MEDIUMtests/core/agent/orchestration/test_action_prompt.py183 # Fat body stays out of the thin harness index.COMMENT
MEDIUMtests/bootstrap/test_process.py133 # Arrange: without adapter registration the harness starts but no toolCOMMENT
MEDIUMtests/utils/conftest.py38# Default stream URLs for optional remote investigation harness tests.COMMENT
MEDIUMtests/shared/harness_api.py35#: Every module through which the harness may be imported. Listed by exact nameCOMMENT
MEDIUMtests/shared/harness_api.py48#: The harness tier: one package, a fixed set of API modules.COMMENT
MEDIUMtests/shared/terminal/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
MEDIUMtests/interactive_shell/test_harness_api_border.py19#: Internal harness modules surfaces/ still imports directly. Empty: everyCOMMENT
MEDIUMtests/interactive_shell/test_harness_api_border.py20#: harness name surfaces/ uses comes through the API.COMMENT
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/loop.py228 # harness, the non-TTY path above) never expose the attributeCOMMENT
MEDIUMsurfaces/interactive_shell/runtime/turn_host.py276 # module) does not pull the harness/turn-execution stackCOMMENT
MEDIUM…ces/interactive_shell/runtime/startup/initial_input.py23 # ``run_initial_input`` at top) does not pull the harness/turn-executionCOMMENT
MEDIUMgateway/tests/test_transport_contract.py55 # on the harness patching the attribute on — declared directly, or inheritedCOMMENT
MEDIUMgateway/tests/test_harness_api_border.py23#: Internal harness modules gateway/ still imports directly. Empty: every harnessCOMMENT
MEDIUMgateway/tests/test_harness_behaviour_border.py52#: Modules outside the host layer that still call harness behaviour, and why.COMMENT
MEDIUMgateway/tests/test_harness_behaviour_border.py56 # Session lifecycle is the harness's; the resolver adds the gateway'sCOMMENT
MEDIUMgateway/tests/test_harness_behaviour_border.py112 # Assert: no module outside the host layer calls harness behaviour…COMMENT
MEDIUMgateway/tests/test_harness_behaviour_border.py131 # Arrange: every transport module that touches the harness at all.COMMENT
MEDIUMgateway/tests/test_harness_behaviour_border.py143 # Assert: transports import harness names, and only contracts.COMMENT
Fake / Example Data80 hits · 93 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_description_contract.py36 r"^(TODO|TBD|FIXME|description here|placeholder|lorem ipsum)\b",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_agent_memory.py109 fake_token = "ghp_" + ("a" * 36)CODE
LOWtests/tools/test_agent_memory.py114 content=f"auth_token: {fake_token}",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.py101 "author": "Jane Doe",CODE
LOW…s/core/agent_harness/session/test_memory_extraction.py104 fake_token = "ghp_" + ("a" * 36)CODE
LOW…s/core/agent_harness/session/test_memory_extraction.py110 "content": f"auth_token: {fake_token}",CODE
LOW…s/core/agent_harness/session/test_memory_extraction.py332 ("user", f"auth_token: {fake_token}"),CODE
LOW…s/core/agent_harness/session/test_memory_extraction.py337 assert fake_token not in prompts[0]CODE
LOW…s/core/agent_harness/session/test_memory_extraction.py319 fake_token = "ghp_" + ("a" * 36)CODE
LOWtests/core/domain/memory/test_memory_store.py244 fake_key = "sk-proj-" + ("a" * 32)CODE
LOWtests/core/domain/memory/test_memory_store.py247 f"OPENAI_API_KEY: {fake_key}",CODE
LOWtests/core/domain/memory/test_memory_store.py261 fake_token = "ghp_" + ("a" * 36)CODE
LOWtests/core/domain/memory/test_memory_store.py267 body=f"auth_token: {fake_token}",CODE
LOWtests/core/domain/memory/test_memory_store.py274 fake_token = "ghp_" + ("a" * 36)CODE
LOWtests/core/domain/memory/test_memory_store.py276 f"deploy used auth_token: {fake_token} and cluster eks-prod-1"CODE
LOWtests/core/domain/memory/test_memory_store.py278 assert fake_token not in redactedCODE
LOWtests/cli/test_hermes_command.py26 monkeypatch.setenv("TELEGRAM_BOT_TOKEN", "fake-token")CODE
LOWtests/cli/test_hermes_command.py37 monkeypatch.setenv("ROCKETCHAT_AUTH_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.py160 {"endpoint": "https://x", "api_key": "k", "bot_token": "fake-token"},CODE
LOWtests/integrations/test_jira_search_and_factory.py19 email="user@example.com",CODE
LOWtests/integrations/test_jira_search_and_factory.py105 email="user@example.com",CODE
LOWtests/integrations/test_jira_search_and_factory.py114 assert make_jira_client("", "user@example.com", "token") is NoneCODE
LOWtests/integrations/test_jira_search_and_factory.py122 assert make_jira_client("https://x.atlassian.net", "user@example.com", "") is NoneCODE
LOWtests/integrations/test_jira_search_and_factory.py143 result = make_jira_client("https://myteam.atlassian.net", "user@example.com", "token")CODE
LOWtests/integrations/test_jira_search_and_factory.py160 JiraConfig(email="user@example.com", api_token=_SECRET_API_TOKEN) # type: ignore[call-arg]CODE
LOWtests/integrations/test_jira_search_and_factory.py176 "https://myteam.atlassian.net", "user@example.com", _SECRET_API_TOKENCODE
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
20 more matches not shown…
Modern AI Meta-Vocabulary27 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMcore/agent_harness/grounding/docs_reference.py72# well within the LLM context window even when several pages match.COMMENT
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.py264# 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.py227# anti-hallucination scaffolding, no evidence-budget guidance. The point ofCOMMENT
MEDIUMtests/benchmarks/cloudopsbench/bench_agent.py227# anti-hallucination scaffolding, no evidence-budget guidance. The point ofCOMMENT
MEDIUMtests/benchmarks/cloudopsbench/bench_agent.py292# 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.py171 # 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/shared/terminal/stream_renderer/renderer.py76 # orchestrates lifecycle (active_node tracking, finish-on-end).COMMENT
AI Structural Patterns85 hits · 83 pts
SeverityFileLineSnippetContext
LOWtools/investigation/reporting/formatters/report.py137CODE
LOWtools/system/work_items/tool.py128CODE
LOWtools/system/work_items/tool.py322CODE
LOWtools/interactive_shell/shell/runner.py26CODE
LOWcore/llm/transports/litellm/clients.py54CODE
LOWcore/llm/transports/litellm/clients.py161CODE
LOWcore/agent_harness/harness.py141CODE
LOWcore/agent_harness/tools/tool_provider.py42CODE
LOWcore/agent/agent.py41CODE
LOWcore/tool_framework/tool_decorator.py23CODE
LOWcore/tool_framework/tool_decorator.py59CODE
LOWcore/tool_framework/tool_decorator.py95CODE
LOWcore/tool_framework/tool_decorator.py130CODE
LOWcore/domain/work_items/store.py116CODE
LOWcore/domain/work_items/models.py188CODE
LOWcore/tool/contracts.py550CODE
LOWcore/tool/contracts.py631CODE
LOWtests/utils/alert_factory/factory.py8CODE
LOWtests/utils/alert_factory/factory.py41CODE
LOWtests/shared/harness_turn_driver.py39CODE
LOWtests/shared/infrastructure_sdk/resources/ecs.py408CODE
LOWtests/cli/test_update.py226CODE
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__.py354CODE
LOW…rations/posthog_mcp/tools/posthog_mcp_tool/__init__.py470CODE
LOWintegrations/alertmanager/tools/__init__.py138CODE
LOW…opensearch/tools/opensearch_analytics_tool/__init__.py99CODE
LOW…grations/grafana/tools/grafana_traces_tool/__init__.py87CODE
LOW…ons/grafana/tools/grafana_annotations_tool/__init__.py85CODE
LOW…tegrations/grafana/tools/grafana_logs_tool/__init__.py86CODE
LOW…rations/grafana/tools/grafana_metrics_tool/__init__.py99CODE
LOW…ons/grafana/tools/grafana_alert_rules_tool/__init__.py95CODE
LOW…owflake/tools/snowflake_query_history_tool/__init__.py140CODE
25 more matches not shown…
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
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.py135 Execute a read-only AWS SDK operation with safety validations. Args: service_name: AWS service name (eSTRING
HIGHinfrastructure/safety/auth/jwt_auth.py219Verify JWT signature and claims asynchronously. This is the primary verification function - fully async and non-bloSTRING
Self-Referential Comments15 hits · 40 pts
SeverityFileLineSnippetContext
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.py344 # Create the documentCOMMENT
MEDIUMintegrations/google_docs/tools/__init__.py170 # Create the incident reportCOMMENT
MEDIUMsurfaces/interactive_shell/ui/alerts/__init__.py84 # Create a panel with the distinct accentCOMMENT
MEDIUMinfrastructure/terminal/theme.py497# This module is the only place in the codebase where raw ANSI escapes areCOMMENT
Redundant / Tautological Comments15 hits · 22 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/mariadb/__init__.py343 # Check if performance_schema is enabledCOMMENT
LOWintegrations/grafana/reporting_adapter.py53 # Check if Loki-only mode is availableCOMMENT
LOWintegrations/mysql/__init__.py436 # Check if performance_schema is enabledCOMMENT
Structural Annotation Overuse13 hits · 21 pts
SeverityFileLineSnippetContext
LOW…s/investigation/reporting/formatters/infrastructure.py227 # Step 1: Where we detected the failure (logs)COMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py248 # Step 2: ECS/Batch/Lambda compute that failedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py262 # Step 3: Lambda functions involvedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py276 # Step 4: S3 data inspectionCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py303 # 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
LOWdocs/agents.md16## Step 1: Install or upgrade the CLICOMMENT
LOWdocs/agents.md75## Step 2: SetupCOMMENT
LOWdocs/agents.md118## Step 3: VerifyCOMMENT
LOWdocs/agents.md132## Step 4: Suggest a first runCOMMENT
Verbosity Indicators9 hits · 15 pts
SeverityFileLineSnippetContext
LOW…s/investigation/reporting/formatters/infrastructure.py227 # Step 1: Where we detected the failure (logs)COMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py248 # Step 2: ECS/Batch/Lambda compute that failedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py262 # Step 3: Lambda functions involvedCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py276 # Step 4: S3 data inspectionCOMMENT
LOW…s/investigation/reporting/formatters/infrastructure.py303 # 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
Overly Generic Function Names10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/tools/test_registry.py266 def perform_action(value: str) -> dict[str, str]:CODE
LOWtests/filestorage/test_vercel_provider.py57 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/filestorage/test_vercel_provider.py173 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/filestorage/test_vercel_provider.py198 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/filestorage/test_vercel_provider.py223 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/filestorage/test_vercel_provider.py263 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/filestorage/test_azure_provider.py30 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/filestorage/test_azure_provider.py168 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWtests/shared/infrastructure_sdk/resources/ecs.py217def run_task(CODE
LOWinfrastructure/scheduling/scheduler/executor.py27def execute_task(CODE
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
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcore/agent_harness/prompts/rules.py46 "generic 'let me know if you need anything'). After integration status "CODE
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
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/core/runtime/llm/test_llm_client.py676CODE
MEDIUMtests/integrations/test_github_mcp_validation.py851CODE