Repository Analysis

langchain-ai/open-swe

An Open-Source Asynchronous Coding Agent

24.3 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of langchain-ai/open-swe, a Python project with 10,297 GitHub stars. SynthScan v2.0 examined 118,446 lines of code across 534 source files, recording 2706 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 24.3 places this repository in the Moderate AI signal band.

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

24.3
Adjusted Score
24.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.3K
Stars
Python
Language
118.4K
Lines of Code
534
Files
2.7K
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

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 20MEDIUM 26LOW 2660

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 2706 distinct pattern matches across 13 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 Identifiers1863 hits · 1935 pts
SeverityFileLineSnippetContext
LOWui/src/features/agents/experiments/ChatView.tsx51function findLatestPendingApproval(messages: Message[]): ToolExecutionChunk | null {CODE
LOWui/src/features/agents/experiments/PromptBar.tsx56function buildApprovalPromptContent(request: PromptApprovalRequest): ApprovalPromptContent {CODE
LOWui/src/features/agents/components/AgentGitPanel.tsx131export function writeStoredPanelCollapsed(collapsed: boolean): void {CODE
LOW…es/agents/components/messages/TurnChangedFilesCard.tsx8function stripProjectPathForDisplay(path: string, projectPath?: string): string {CODE
LOWui/src/features/agents/lib/queries.ts26export function invalidateAgentThreadLists(queryClient: QueryClient): void {CODE
LOWui/src/features/agents/lib/queries.ts63export function useSeedAgentThreadDetails(CODE
LOWui/src/features/agents/lib/queries.ts149export function useWorkflowApprovalDecision(threadId: string) {CODE
LOWui/src/features/agents/lib/queries.ts287export function useAdminCancelAgentThread() {CODE
LOWui/src/features/agents/lib/api.ts140function filenameFromContentDisposition(value: string | null): string | null {CODE
LOW…/src/features/agents/lib/AgentThreadStreamProvider.tsx53export function AgentThreadStreamProvider({CODE
LOW…tures/agents/lib/provider/useIsInAgentThreadStream.tsx22export function AgentThreadStreamBoundary({ children }: { children: ReactNode }) {CODE
LOWui/src/features/reviews/components/ReviewMainBody.tsx150function buildSelectionAttachments(CODE
LOWui/src/features/reviews/components/ReviewMainBody.tsx389function scrollFindingLineToCenter({CODE
LOWui/src/features/reviews/components/ReviewMainBody.tsx2335function readStoredReviewPanelWidth(): number {CODE
LOWui/src/features/reviews/components/ReviewChat.tsx59export function ReviewChatComposerProvider({CODE
LOWui/src/lib/notifications.ts9export function getNotificationPermission(): NotificationPermission | null {CODE
LOWui/src/lib/notifications.ts24export async function requestNotificationPermission(): Promise<NotificationPermission | null> {CODE
LOWui/src/lib/auth-redirect-core.ts57export function authRedirectPathFromLocation(location: LocationParts): string {CODE
LOWui/src/lib/auth-redirect-core.ts84export function getRememberedAuthRedirect(): string | null {CODE
LOWui/src/lib/auth-redirect-core.ts100export function clearRememberedAuthRedirect(): void {CODE
LOWui/src/routes/admin_.evals.tsx50function ReviewerEvalStatusSection() {CODE
LOWui/src/routes/my-settings.tsx193function CurrentsCredentialsSection() {CODE
LOWui/src/routes/$owner.$repo.pull.$number.tsx25function PullRequestReviewLinkPage() {CODE
LOWui/src/routes/admin.tsx428function ObservabilityCredentialsSection() {CODE
LOWevals/reviewer/target.py78def get_reviewer_assistant_id() -> str:CODE
LOWevals/reviewer/target.py94def get_reviewer_reasoning_effort() -> str | None:CODE
LOWevals/reviewer/target.py231async def _extract_surfaced_comments(CODE
LOWevals/reviewer/target.py280def _score_severity_threshold() -> Severity:CODE
LOWtests/conftest.py11def _default_enable_auto_review(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/test_openai_responses_replay.py7def test_stateless_responses_replay_preserves_tool_history_without_mutation() -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py14 def test_already_int_passes_through(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py20 def test_extracts_leading_integer_from_comma_string(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py24 def test_extracts_leading_integer_from_embedded_json(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py28 def test_extracts_leading_integer_from_trailing_comma(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py32 def test_returns_none_when_no_digits(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py35 def test_handles_leading_whitespace(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py40 def test_coerces_offset_string_to_int(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py47 def test_coerces_offset_with_embedded_json(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py52 def test_coerces_offset_with_trailing_comma(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py57 def test_int_offset_unchanged(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py62 def test_missing_offset_unchanged(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py67 def test_uncoercible_offset_passed_through_unchanged(self) -> None:CODE
LOWtests/middleware/test_sanitize_tool_inputs.py73 def test_does_not_mutate_original_dict(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py36def _anthropic_model_not_available_error() -> anthropic.BadRequestError:CODE
LOWtests/middleware/test_model_fallback_middleware.py64 def test_anthropic_rate_limit_falls_back(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py70 def test_httpx_remote_protocol_error_falls_back(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py82 def test_value_error_does_not_fall_back(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py88 async def test_async_falls_over_on_overloaded(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py110 async def test_async_falls_over_on_stream_transport_error(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py135 async def test_async_propagates_non_transient_error(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py149 async def test_async_surfaces_model_unavailable_error(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py162 async def test_async_retries_primary_after_fallback_failure(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py186 async def test_async_exhaustion_returns_outage_message(self) -> None:CODE
LOWtests/middleware/test_model_fallback_middleware.py202 async def test_async_exhaustion_raises_when_message_disabled(self) -> None:CODE
LOWtests/middleware/test_ensure_no_empty_msg.py15 def test_returns_messages_after_last_human(self) -> None:CODE
LOWtests/middleware/test_ensure_no_empty_msg.py30 def test_returns_all_messages_when_no_human(self) -> None:CODE
LOWtests/middleware/test_ensure_no_empty_msg.py44 def test_returns_empty_when_human_is_last(self) -> None:CODE
LOWtests/middleware/test_ensure_no_empty_msg.py56 def test_returns_multiple_messages_after_human(self) -> None:CODE
LOWtests/middleware/test_ensure_no_empty_msg.py75 def test_returns_true_for_slack_thread_reply(self) -> None:CODE
LOWtests/middleware/test_ensure_no_empty_msg.py82 def test_returns_true_for_linear_comment(self) -> None:CODE
1803 more matches not shown…
Unused Imports379 hits · 336 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py7CODE
LOWevals/reviewer/store_reporter.py10CODE
LOWevals/reviewer/judge.py13CODE
LOWevals/reviewer/target.py10CODE
LOWevals/reviewer/build_dataset.py12CODE
LOWtests/conftest.py3CODE
LOWtests/middleware/test_sanitize_tool_inputs.py8CODE
LOWtests/middleware/test_model_fallback_middleware.py3CODE
LOWtests/middleware/test_prepare_run_middleware.py1CODE
LOWtests/middleware/test_subdir_agents_middleware.py3CODE
LOWtests/middleware/test_sanitize_thinking_blocks.py1CODE
LOWtests/middleware/test_tool_artifact_middleware.py3CODE
LOWtests/middleware/test_check_message_queue.py1CODE
LOWtests/middleware/test_repair_orphaned_tool_calls.py1CODE
LOWtests/middleware/test_sanitize_fireworks_messages.py1CODE
LOWtests/reviewer/test_pr_ready_auto_review.py3CODE
LOWtests/reviewer/test_review_styles_store.py1CODE
LOWtests/reviewer/test_fetch_review_diff_tool.py1CODE
LOWtests/reviewer/test_reviewer_eval_target.py1CODE
LOWtests/reviewer/test_reviewer_outcomes.py1CODE
LOWtests/reviewer/test_review_chat.py1CODE
LOWtests/reviewer/test_review_style_collector.py1CODE
LOWtests/reviewer/test_reviewer_eval_judge.py1CODE
LOWtests/reviewer/test_reviewer_tools.py3CODE
LOWtests/reviewer/test_review_style_sync.py1CODE
LOWtests/reviewer/test_reviewer_reconcile.py1CODE
LOWtests/reviewer/test_reviewer_groups.py1CODE
LOWtests/reviewer/test_reviewer_publish.py3CODE
LOWtests/reviewer/test_reconcile_sweep.py1CODE
LOWtests/reviewer/test_reviewer_watch.py3CODE
LOWtests/reviewer/test_reviewer_diff.py3CODE
LOWtests/reviewer/test_reviewer_findings.py3CODE
LOWtests/reviewer/test_reviewer.py1CODE
LOWtests/reviewer/test_reviewer_trace_context.py1CODE
LOWtests/reviewer/test_reviewer_eval_run.py1CODE
LOWtests/tools/test_http_security.py1CODE
LOWtests/tools/test_corridor_mcp.py1CODE
LOWtests/tools/test_observability_tools.py1CODE
LOWtests/tools/test_report_platform_issue_tool.py1CODE
LOWtests/tools/test_currents_tools.py1CODE
LOWtests/tools/test_schedule_thread_wakeup.py1CODE
LOWtests/auth/test_slack_oauth.py1CODE
LOWtests/auth/test_auth_sources.py1CODE
LOWtests/auth/test_user_credentials.py1CODE
LOWtests/auth/test_github_token_ttl.py11CODE
LOWtests/auth/test_github_oauth_refresh.py1CODE
LOWtests/auth/test_authorship.py1CODE
LOWtests/auth/test_notion_oauth.py1CODE
LOWtests/auth/test_encryption.py1CODE
LOWtests/agent/test_dispatch.py1CODE
LOWtests/agent/test_agent_usage.py1CODE
LOWtests/agent/test_agents_md.py1CODE
LOWtests/agent/test_prompt_default_repo.py1CODE
LOWtests/agent/test_agent_thread_pr_state.py3CODE
LOWtests/agent/test_plan_review.py1CODE
LOWtests/agent/test_task_retry.py1CODE
LOWtests/agent/test_multimodal.py1CODE
LOWtests/agent/test_agent_assembly_context.py10CODE
LOWtests/agent/test_agent_instructions.py1CODE
LOWtests/agent/test_agent_schedules.py1CODE
319 more matches not shown…
Excessive Try-Catch Wrapping237 hits · 237 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py246 except Exception:CODE
LOWevals/reviewer/run_eval.py273 except Exception:CODE
LOWevals/reviewer/run_eval.py288 except Exception as exc:CODE
LOWevals/reviewer/store_reporter.py106 except Exception:CODE
LOWevals/reviewer/target.py181 except Exception:CODE
LOWevals/reviewer/build_dataset.py134 except Exception as exc:CODE
LOWagent/server.py185 except Exception:CODE
LOWagent/server.py200 except Exception:CODE
LOWagent/server.py275 except Exception: # noqa: BLE001CODE
LOWagent/server.py355 except Exception: # noqa: BLE001CODE
LOWagent/server.py484 except Exception:CODE
LOWagent/server.py632 except Exception:CODE
LOWagent/server.py703 except Exception as e: # noqa: BLE001CODE
LOWagent/server.py787 except Exception:CODE
LOWagent/completion.py161 except Exception: # noqa: BLE001CODE
LOWagent/completion.py184 except Exception: # noqa: BLE001CODE
LOWagent/analyzer.py111 except Exception as e: # noqa: BLE001STRING
LOWagent/chat.py125 except Exception as e: # noqa: BLE001STRING
LOWagent/reviewer.py829 except Exception as e: # noqa: BLE001CODE
LOWagent/reviewer.py1102 except Exception:CODE
LOWagent/reviewer.py1139 except Exception:CODE
MEDIUMagent/reviewer.py1132def _prepare_pr_trace_context() -> PRTraceContext | None:CODE
LOWagent/prompt.py55 except Exception:CODE
LOWagent/reconcile.py64 except Exception:CODE
LOWagent/reconcile.py107 except Exception:CODE
LOWagent/middleware/refresh_github_proxy.py33 except Exception: # noqa: BLE001CODE
LOWagent/middleware/refresh_github_proxy.py41 except Exception: # noqa: BLE001CODE
LOWagent/middleware/sandbox_circuit_breaker.py258 except Exception:CODE
LOWagent/middleware/tool_artifact.py71 except Exception:CODE
LOWagent/middleware/tool_artifact.py203 except Exception:CODE
LOWagent/middleware/model_fallback.py177 except Exception as exc:CODE
LOWagent/middleware/notify_step_limit.py85 except Exception:CODE
LOWagent/middleware/subdir_agents.py52 except Exception:CODE
LOWagent/middleware/subdir_agents.py178 except Exception:CODE
LOWagent/middleware/refresh_slack_status.py122 except Exception:CODE
LOWagent/middleware/refresh_slack_status.py183 except Exception:CODE
LOWagent/middleware/refresh_slack_status.py189 except Exception:CODE
LOWagent/middleware/workflow_push_guard.py101 except Exception:CODE
LOWagent/middleware/workflow_push_guard.py231 except Exception:CODE
LOWagent/middleware/workflow_push_guard.py508 except Exception:CODE
LOWagent/middleware/settle_review_check.py84 except Exception:CODE
LOWagent/middleware/tool_error_handler.py101 except Exception:CODE
LOWagent/middleware/tool_error_handler.py172 except Exception:CODE
LOWagent/middleware/tool_error_handler.py175 except Exception as e:CODE
LOWagent/middleware/check_message_queue.py47 except Exception:CODE
LOWagent/middleware/check_message_queue.py108 except Exception: # noqa: BLE001CODE
LOWagent/middleware/check_message_queue.py117 except Exception: # noqa: BLE001CODE
LOWagent/middleware/check_message_queue.py159 except Exception as e: # noqa: BLE001CODE
LOWagent/middleware/check_message_queue.py175 except Exception as e: # noqa: BLE001CODE
LOWagent/middleware/check_message_queue.py226 except Exception:CODE
LOWagent/tools/schedule_thread_wakeup.py113 except Exception:CODE
LOWagent/tools/schedule_thread_wakeup.py210 except Exception as exc:CODE
LOWagent/tools/open_pull_request.py70 except Exception:CODE
LOWagent/tools/open_pull_request.py82 except Exception:CODE
LOWagent/tools/open_pull_request.py519 except Exception:CODE
LOWagent/tools/open_pull_request.py531 except Exception:CODE
LOWagent/tools/open_pull_request.py603 except Exception:CODE
LOWagent/tools/open_pull_request.py608 except Exception:CODE
MEDIUMagent/tools/open_pull_request.py79def _configurable() -> dict[str, Any]:CODE
LOWagent/tools/list_review_findings.py64 except Exception as exc: # noqa: BLE001CODE
177 more matches not shown…
Modern Structural Boilerplate131 hits · 130 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py37logger = logging.getLogger(__name__)CODE
LOWevals/reviewer/store_reporter.py27logger = logging.getLogger(__name__)CODE
LOWevals/reviewer/target.py26logger = logging.getLogger(__name__)CODE
LOWtests/reviewer/test_reviewer_outcomes.py75 def update_example(self, **kwargs: Any) -> None:CODE
LOWtests/auth/test_encryption.py15def _set_key(monkeypatch: pytest.MonkeyPatch, value: str) -> None:CODE
LOWtests/agent/test_langsmith_trace_url.py12def _set_env(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/github/test_open_pull_request.py87def _set_config(monkeypatch: pytest.MonkeyPatch, configurable: dict[str, Any]) -> None:CODE
LOWtests/e2e/agent_entrypoint.py21__all__ = ["traced_agent"]CODE
LOWtests/e2e/patches.py20logger = logging.getLogger(__name__)CODE
LOWagent/server.py17logger = logging.getLogger(__name__)CODE
LOWagent/encryption.py8logger = logging.getLogger(__name__)CODE
LOWagent/completion.py29logger = logging.getLogger(__name__)CODE
LOWagent/dispatch.py27logger = logging.getLogger(__name__)CODE
LOWagent/webapp.py5__all__ = ["app"]CODE
LOWagent/analyzer.py61logger = logging.getLogger(__name__)CODE
LOWagent/chat.py69logger = logging.getLogger(__name__)CODE
LOWagent/reviewer.py25logger = logging.getLogger(__name__)CODE
LOWagent/scheduler.py14logger = logging.getLogger(__name__)CODE
LOWagent/prompt.py17logger = logging.getLogger(__name__)CODE
LOWagent/reconcile.py18logger = logging.getLogger(__name__)CODE
LOWagent/middleware/refresh_github_proxy.py21logger = logging.getLogger(__name__)CODE
LOWagent/middleware/sandbox_circuit_breaker.py22logger = logging.getLogger(__name__)CODE
LOWagent/middleware/repair_orphaned_tool_calls.py27logger = logging.getLogger(__name__)CODE
LOWagent/middleware/tool_artifact.py33logger = logging.getLogger(__name__)CODE
LOWagent/middleware/model_fallback.py43logger = logging.getLogger(__name__)CODE
LOWagent/middleware/notify_step_limit.py15logger = logging.getLogger(__name__)CODE
LOWagent/middleware/__init__.py32__all__ = [CODE
LOWagent/middleware/subdir_agents.py19logger = logging.getLogger(__name__)CODE
LOWagent/middleware/refresh_slack_status.py35logger = logging.getLogger(__name__)CODE
LOWagent/middleware/refresh_slack_status.py114async def _set_status(channel_id: str, thread_ts: str, status: str) -> None:CODE
LOWagent/middleware/workflow_push_guard.py30logger = logging.getLogger(__name__)CODE
LOWagent/middleware/sanitize_tool_inputs.py20logger = logging.getLogger(__name__)CODE
LOWagent/middleware/settle_review_check.py23logger = logging.getLogger(__name__)CODE
LOWagent/middleware/tool_error_handler.py24logger = logging.getLogger(__name__)CODE
LOWagent/middleware/check_message_queue.py28logger = logging.getLogger(__name__)CODE
LOWagent/tools/schedule_thread_wakeup.py14logger = logging.getLogger(__name__)CODE
LOWagent/tools/open_pull_request.py20logger = logging.getLogger(__name__)CODE
LOWagent/tools/__init__.py38__all__ = [CODE
LOWagent/tools/save_review_style.py13logger = logging.getLogger(__name__)CODE
LOWagent/tools/enter_plan_mode.py15logger = logging.getLogger(__name__)CODE
LOWagent/tools/web_search.py6logger = logging.getLogger(__name__)CODE
LOWagent/tools/save_plan.py25logger = logging.getLogger(__name__)CODE
LOWagent/providers/__init__.py9__all__ = [CODE
LOWagent/runtime/__init__.py15__all__ = [CODE
LOWagent/utils/auth.py26logger = logging.getLogger(__name__)CODE
LOWagent/utils/gateway.py17logger = logging.getLogger(__name__)CODE
LOWagent/utils/slack_feedback.py18logger = logging.getLogger(__name__)CODE
LOWagent/utils/sandbox_state.py26logger = logging.getLogger(__name__)CODE
LOWagent/utils/authorship.py11logger = logging.getLogger(__name__)CODE
LOWagent/utils/repo_prep.py23logger = logging.getLogger(__name__)CODE
LOWagent/utils/linear.py15logger = logging.getLogger(__name__)CODE
LOWagent/utils/github_feedback.py17logger = logging.getLogger(__name__)CODE
LOWagent/utils/langsmith.py15logger = logging.getLogger(__name__)CODE
LOWagent/utils/github_app.py17logger = logging.getLogger(__name__)CODE
LOWagent/utils/multimodal.py18logger = logging.getLogger(__name__)CODE
LOWagent/utils/github_http.py28logger = logging.getLogger(__name__)CODE
LOWagent/utils/github_org_membership.py11logger = logging.getLogger(__name__)CODE
LOWagent/utils/ttl_cache.py8logger = logging.getLogger(__name__)CODE
LOWagent/utils/ttl_cache.py104def set_cached(key: str, value: object, ttl_seconds: float) -> None:CODE
LOWagent/utils/github_proxy.py26logger = logging.getLogger(__name__)CODE
71 more matches not shown…
Cross-Language Confusion16 hits · 108 pts
SeverityFileLineSnippetContext
HIGHtests/reviewer/test_reviewer_publish.py616 explicit null, so the fetch must guard against it and return collected threads."""STRING
HIGHtests/agent/test_repo_prep.py57 assert "git checkout --force abc123 --quiet 2>/dev/null || true" not in cmdCODE
HIGHtests/agent/test_repo_prep.py59 assert "git fetch --all --quiet || true" in cmdCODE
HIGHtests/agent/test_workflow_push_guard.py91 "cd /repo && git push -u origin HEAD:feature"CODE
HIGHtests/agent/test_workflow_push_guard.py99 assert guard._parse_git_push("git status && git push") is NoneCODE
HIGHtests/sandbox/test_sandbox_paths.py75 assert backend.commands == ["test -d /workspace && test -w /workspace"]CODE
HIGHtests/sandbox/test_sandbox_paths.py92 "test -d /workspace && test -w /workspace",CODE
HIGHtests/sandbox/test_sandbox_paths.py94 "test -d /home/daytona && test -w /home/daytona",CODE
HIGHtests/sandbox/test_sandbox_paths.py109 assert backend.commands == ["test -d /workspace && test -w /workspace"]CODE
HIGHtests/sandbox/test_sandbox_paths.py121 assert backend.commands == ["test -d /home/daytona && test -w /home/daytona"]CODE
HIGHtests/e2e/fake_llm.py205 {"name": "execute", "args": {"command": "echo planning && ls"}, "id": "call-plan-read"}STRING
HIGHagent/reviewer.py366GH_TOKEN=dummy git fetch origin {head_sha_or_placeholder} --quiet || GH_TOKEN=dummy git fetch origin refs/pull/{pr_numbeCODE
HIGHagent/utils/repo_prep.py52 f" cd {q_repo_dir} && {{ GH_TOKEN=dummy git fetch --all --quiet || true; }}",CODE
HIGHagent/utils/repo_prep.py59 lines.append(f"GH_TOKEN=dummy git fetch origin {q_base} --quiet 2>/dev/null || true")CODE
HIGHagent/utils/repo_prep.py63 lines.append(f"GH_TOKEN=dummy git fetch origin {q_head} --quiet 2>/dev/null || true")CODE
HIGHagent/utils/repo_prep.py66 lines.append(f"GH_TOKEN=dummy git fetch origin {pull_ref} --quiet 2>/dev/null || true")CODE
AI Slop Vocabulary11 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtests/github/test_github_comment_prompts.py86 # "Open SWE" identity lives in the harness-profile base prompt thatCOMMENT
MEDIUMtests/slack/test_slack_context.py878 # resolve to a mapping (login_for_email returns None in this harness).COMMENT
MEDIUMtests/e2e/harness.py170 # dev:mock), not this harness, so the cookie + the hot-reloading UI line up.COMMENT
MEDIUMtests/e2e/dev-mock.sh2# Local dev against the mock harness, with a REAL LLM and a Vite HMR dev server.COMMENT
MEDIUMtests/e2e/dev-mock.sh5# Slack/GitHub + sign-in to the harness ($API). Same-origin is what lets theCOMMENT
MEDIUMtests/e2e/dev-mock.sh20# Pulled line-by-line, not by sourcing .env, which would clobber the harness'sCOMMENT
MEDIUMtests/e2e/dev-mock.sh37# own origin and Vite proxies it (and the WS) to the harness.COMMENT
MEDIUMtests/e2e/patches.py44 # Set E2E_REAL_LLM=1 to drive the harness (mock Slack/GitHub, real agent)COMMENT
MEDIUMagent/prompt.py25# Provider keys the harness profile is registered under. deepagents resolves aCOMMENT
MEDIUMagent/prompt.py64# Registered as the harness profile's `base_system_prompt`, it REPLACESCOMMENT
MEDIUM.github/workflows/reviewer_eval.yml3# selecting the `prod` branch so the harness + judge match the deployed reviewer it scores.COMMENT
Deep Nesting31 hits · 28 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py292CODE
LOWagent/server.py432CODE
LOWagent/reconcile.py39CODE
LOWagent/middleware/pr_creation_guard.py102CODE
LOWagent/middleware/sandbox_circuit_breaker.py67CODE
LOWagent/tools/open_pull_request.py542CODE
LOWagent/tools/publish_review.py246CODE
LOWagent/tools/publish_review.py818CODE
LOWagent/tools/publish_review.py962CODE
LOWagent/utils/multimodal.py51CODE
LOWagent/utils/model.py250CODE
LOWagent/utils/model.py283CODE
LOWagent/utils/reviewer_outcomes.py285CODE
LOWagent/utils/slack.py913CODE
LOWagent/utils/slack.py1110CODE
LOWagent/dashboard/review_chat_api.py128CODE
LOWagent/dashboard/review_chat_api.py313CODE
LOWagent/dashboard/agent_usage.py485CODE
LOWagent/dashboard/agent_usage.py513CODE
LOWagent/dashboard/thread_api.py668CODE
LOWagent/dashboard/thread_api.py731CODE
LOWagent/dashboard/thread_api.py1156CODE
LOWagent/integrations/langsmith.py541CODE
LOWagent/review/diff.py75CODE
LOWagent/review/style_collector.py287CODE
LOWagent/review/publish.py543CODE
LOWagent/review/publish.py665CODE
LOWagent/webhooks/linear.py15CODE
LOWagent/webhooks/common.py720CODE
LOWagent/webhooks/github.py199CODE
LOWagent/webhooks/github.py868CODE
Fake / Example Data17 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/reviewer/test_review_chat.py420 async def fake_token(repositories=None):CODE
LOWtests/reviewer/test_review_chat.py429 monkeypatch.setattr(review_chat_api, "get_github_app_installation_token", fake_token)CODE
LOWtests/reviewer/test_review_api.py108 async def fake_token():CODE
LOWtests/reviewer/test_review_api.py115 monkeypatch.setattr(review_api, "_require_app_token", fake_token)CODE
LOWtests/reviewer/test_review_api.py122 async def fake_token():CODE
LOWtests/reviewer/test_review_api.py128 monkeypatch.setattr(review_api, "_require_app_token", fake_token)CODE
LOWtests/tools/test_observability_tools.py221 monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com")CODE
LOWtests/tools/test_observability_tools.py225 admin_config = {"configurable": {"user_email": "admin@example.com"}}CODE
LOWtests/dashboard/test_dashboard_thread_api.py1617 routes._require_admin({"sub": "not-admin", "email": "user@example.com"})CODE
LOWtests/dashboard/test_public_repo_org_gate.py342 async def fake_token() -> None:CODE
LOWtests/dashboard/test_public_repo_org_gate.py345 monkeypatch.setattr(github_org_membership, "get_github_app_installation_token", fake_token)CODE
LOWtests/dashboard/test_public_repo_org_gate.py376 async def fake_token() -> str:CODE
LOWtests/dashboard/test_public_repo_org_gate.py379 monkeypatch.setattr(github_org_membership, "get_github_app_installation_token", fake_token)CODE
LOWtests/github/test_repo_extraction.py102 "user": {"id": "user-1", "name": "Test User", "email": "test@test.com"},CODE
LOWtests/github/test_repo_extraction.py156 "user": {"id": "user-1", "name": "Test User", "email": "test@test.com"},CODE
LOWtests/e2e/patches.py80 return "dummy-user-oauth-token"CODE
LOWdocs/CUSTOMIZATION.md415 "user_email": "user@example.com",CODE
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM…/src/features/agents/experiments/SourceControlTile.tsx904// ─── DiffCard ────────────────────────────────────────────────────────────────COMMENT
MEDIUMagent/dashboard/user_mappings.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py124# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py167# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py169# ---------------------------------------------------------------------------COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHagent/webhooks/linear.py0slack webhook handler — moved out of common.py (behavior-identical). helpers and constants stay in common.py; they are aSTRING
HIGHagent/webhooks/github.py0slack webhook handler — moved out of common.py (behavior-identical). helpers and constants stay in common.py; they are aSTRING
HIGHagent/webhooks/slack.py0slack webhook handler — moved out of common.py (behavior-identical). helpers and constants stay in common.py; they are aSTRING
AI Structural Patterns6 hits · 5 pts
SeverityFileLineSnippetContext
LOWagent/dispatch.py106CODE
LOWagent/prompt.py337CODE
LOWagent/middleware/workflow_push_guard.py251CODE
LOWagent/dashboard/thread_api.py812CODE
LOWagent/dashboard/routes.py1523CODE
LOWagent/integrations/langsmith.py541CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHagent/integrations/stagehand_browser.py185Perform a single natural-language action on the current page. Examples: "click the Sign in button", "type 'hello' iSTRING
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/e2e/dev-mock.sh1#!/usr/bin/env bashCOMMENT
LOWagent/utils/github_app.py21GITHUB_APP_INSTALLATION_ID = os.environ.get("GITHUB_APP_INSTALLATION_ID", "")COMMENT
LOWdocs/INSTALLATION.md441# Without these, all agent operations use the GitHub App's bot token.COMMENT
LOWdocs/INSTALLATION.md461# Used across all triggers when no repo is specified.COMMENT