Repository Analysis

langchain-ai/open-swe

An Open-Source Asynchronous Coding Agent

17.1 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,626 GitHub stars. SynthScan v2.0 examined 205,491 lines of code across 903 source files, recording 3385 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 17.1 places this repository in the Moderate AI signal band.

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

17.1
Adjusted Score
17.1
Raw Score
100%
Time Factor
2026-08-29
Last Push
10.6K
Stars
Python
Language
205.5K
Lines of Code
903
Files
3.4K
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 30MEDIUM 29LOW 3326

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 3385 distinct pattern matches across 15 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 Identifiers2541 hits · 2552 pts
SeverityFileLineSnippetContext
LOW…es/settings/components/PersonalInstructionsSection.tsx10export function PersonalInstructionsSection() {CODE
LOWui/src/features/agents/terminal/terminalLinks.ts65export function collectWrappedTerminalLinkLine(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts63function ensureTerminalSymbolsFont(): Promise<void> {CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts79function quoteTerminalFontFamilies(list: string): string {CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts93function uncheckedTerminalFontFamily(family?: string): string {CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts152export function shouldBlinkTerminalCursor(state: {CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts191export function terminalScrollbarGeometry(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts212export function terminalScrollbarOffsetAtPointer(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts297export function terminalLinkAtPositionWithRange(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts404export function isTerminalCompositionCommitInput(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts420export function shouldReportTerminalMouse(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts461export function isTerminalLinkPointerGesture(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts470export function shouldShowTerminalLinkHover(CODE
LOWui/src/features/agents/terminal/ghostty/surface.ts501export function advanceTerminalSelectionClickSequence(CODE
LOWui/src/features/agents/terminal/ghostty/keyCodes.ts223export function loadGhosttyKeyboardLayoutMap(): Promise<CODE
LOWui/src/features/agents/terminal/ghostty/keyCodes.ts242export function ghosttyUnshiftedCodepoint(CODE
LOWui/src/features/agents/utils/diffUtils.ts43function handleDiffOverflowStorage(event: StorageEvent): void {CODE
LOW…atures/agents/components/DesktopThreadSourceToggle.tsx12export function DesktopThreadSourceToggle({CODE
LOW…gents/components/OptimisticThreadHydrationRecovery.tsx6export function OptimisticThreadHydrationRecovery({CODE
LOWui/src/features/agents/components/AgentsSidebar.tsx114function openContextMenuFromKeyboard(CODE
LOW…es/agents/components/composer/ComposerPromptEditor.tsx526function ComposerPromptEditorInner({CODE
LOW…features/agents/components/composer/composerTrigger.ts29export function serializeComposerMentionPath(path: string): string {CODE
LOW…features/agents/components/composer/composerTrigger.ts46function encodeMarkdownLinkDestination(path: string): string {CODE
LOW…features/agents/components/composer/composerTrigger.ts59export function serializeComposerFileLink(path: string): string {CODE
LOWui/src/features/agents/lib/diffPanelStore.ts36export function migratePersistedDiffPanelState(persistedState: unknown): {CODE
LOWui/src/features/agents/lib/contextUsage.ts16export function contextTokensFromUsageMetadata(usage: unknown): number | null {CODE
LOWui/src/features/agents/lib/queries.ts53export function invalidateAgentThreadLists(queryClient: QueryClient): void {CODE
LOWui/src/features/agents/lib/queries.ts119function snapshotAgentThreadQueries(CODE
LOWui/src/features/agents/lib/queries.ts145function restoreAgentThreadQueries(CODE
LOWui/src/features/agents/lib/queries.ts346export function useOrganizationAgentSkills(enabled = true) {CODE
LOWui/src/features/agents/lib/queries.ts435export function useSeedAgentThreadDetails(CODE
LOWui/src/features/agents/lib/queries.ts546export function useAgentThreadPullRequestStatus(CODE
LOWui/src/features/agents/lib/queries.ts571export function useAgentThreadWorkingTreeDiff(CODE
LOWui/src/features/agents/lib/queries.ts623export function useWorkflowApprovalDecision(threadId: string) {CODE
LOWui/src/features/agents/lib/queries.ts772export function useAdminCancelAgentThread() {CODE
LOWui/src/features/agents/lib/desktopLocal.ts27export async function ensureDesktopModelCredential(CODE
LOWui/src/features/agents/lib/desktopLocal.ts47export function useReadyDesktopLocalThread(threadId: string) {CODE
LOWui/src/features/agents/lib/terminalSession.ts151export function useDesktopTerminalMetadata(CODE
LOWui/src/features/agents/lib/terminalSession.ts245export function cloudTerminalReconnectDelay(attempt: number): number {CODE
LOWui/src/features/agents/lib/terminalSession.ts249export function shouldReconnectCloudTerminal(CODE
LOWui/src/features/agents/lib/sidebarFilter.ts152export function reconcilePinnedAttentionThread(CODE
LOWui/src/features/agents/lib/api.ts187function filenameFromContentDisposition(value: string | null): string | null {CODE
LOWui/src/features/agents/lib/gitPanelPreferences.ts17export function writeStoredPanelCollapsed(CODE
LOWui/src/features/agents/lib/structuredInputMessages.ts193export function collectStructuredEntities(CODE
LOWui/src/features/agents/lib/rightPanelStore.ts177export function migratePersistedRightPanelState(persistedState: unknown): {CODE
LOWui/src/features/agents/lib/rightPanelStore.ts582export function selectThreadRightPanelState(CODE
LOWui/src/features/agents/lib/rightPanelStore.ts591export function selectSelectedRightPanelSurface(CODE
LOWui/src/features/agents/lib/rightPanelStore.ts602export function selectActiveRightPanelSurface(CODE
LOWui/src/features/agents/lib/desktopThreadSource.ts9export function readStoredDesktopThreadSource(): DesktopThreadSource {CODE
LOWui/src/features/agents/lib/desktopThreadSource.ts40export function writeStoredDesktopThreadSource(CODE
LOW…/src/features/agents/lib/AgentThreadStreamProvider.tsx44export function AgentThreadStreamProvider({CODE
LOW…tures/agents/lib/provider/useIsInAgentThreadStream.tsx22export function AgentThreadStreamBoundary({CODE
LOWui/src/features/reviews/components/ReviewMainBody.tsx153function buildSelectionAttachments(CODE
LOWui/src/features/reviews/components/ReviewMainBody.tsx392function scrollFindingLineToCenter({CODE
LOWui/src/features/reviews/components/ReviewMainBody.tsx2472function readStoredReviewPanelWidth(): number {CODE
LOWui/src/features/reviews/components/ReviewChat.tsx63export function ReviewChatComposerProvider({CODE
LOWui/src/components/ui/scroll-area.tsx7function getVirtualizedScrollFadeClassName({CODE
LOWui/src/lib/datadog.ts49export function subscribeToDatadogInitialization(CODE
LOWui/src/lib/notifications.ts9export function getNotificationPermission(): NotificationPermission | null {CODE
LOWui/src/lib/notifications.ts24export async function requestNotificationPermission(): Promise<NotificationPermission | null> {CODE
2481 more matches not shown…
Excessive Try-Catch Wrapping337 hits · 334 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py244 except Exception:CODE
LOWevals/reviewer/run_eval.py271 except Exception:CODE
LOWevals/reviewer/run_eval.py286 except Exception as exc:CODE
LOWevals/reviewer/store_reporter.py104 except Exception:CODE
LOWevals/reviewer/target.py194 except Exception:CODE
LOWevals/reviewer/build_dataset.py132 except Exception as exc:CODE
LOWtests/e2e/harness.py153 except Exception: # noqa: BLE001CODE
LOWagent/server.py296 except Exception:CODE
LOWagent/server.py311 except Exception:CODE
LOWagent/server.py322 except Exception:CODE
LOWagent/server.py335 except Exception:CODE
LOWagent/server.py481 except Exception as exc:CODE
LOWagent/server.py551 except Exception as exc:CODE
LOWagent/server.py662 except Exception as create_exc:CODE
LOWagent/server.py1047 except Exception:CODE
LOWagent/server.py1184 except Exception as e: # noqa: BLE001CODE
LOWagent/server.py1372 except Exception:CODE
LOWagent/baby_sit.py58 except Exception:CODE
LOWagent/baby_sit.py67 except Exception:CODE
LOWagent/baby_sit.py211 except Exception:CODE
LOWagent/baby_sit.py262 except Exception:CODE
LOWagent/baby_sit.py267 except Exception:CODE
LOWagent/baby_sit.py280 except Exception:CODE
LOWagent/baby_sit.py315 except Exception:CODE
LOWagent/baby_sit.py334 except Exception:CODE
LOWagent/baby_sit.py522 except Exception:CODE
LOWagent/background_tasks.py159 except Exception:CODE
LOWagent/completion.py133 except Exception: # noqa: BLE001CODE
LOWagent/completion.py233 except Exception: # noqa: BLE001CODE
LOWagent/completion.py247 except Exception: # noqa: BLE001CODE
LOWagent/completion.py286 except Exception: # noqa: BLE001CODE
LOWagent/completion.py317 except Exception: # noqa: BLE001CODE
LOWagent/completion.py342 except Exception: # noqa: BLE001CODE
LOWagent/session_cost.py79 except Exception: # noqa: BLE001CODE
LOWagent/session_cost.py164 except Exception: # noqa: BLE001CODE
LOWagent/analyzer.py113 except Exception as e: # noqa: BLE001STRING
LOWagent/chat.py153 except Exception as e: # noqa: BLE001STRING
LOWagent/thread_title.py161 except Exception as exc: # noqa: BLE001CODE
MEDIUMagent/thread_title.py153def run() -> None:CODE
LOWagent/reviewer.py854 except Exception as e: # noqa: BLE001CODE
LOWagent/reviewer.py1134 except Exception:CODE
LOWagent/reviewer.py1171 except Exception:CODE
MEDIUMagent/reviewer.py1164def _prepare_pr_trace_context() -> PRTraceContext | None:CODE
LOWagent/prompt.py43 except Exception:CODE
LOWagent/slack_thinking.py286 except Exception:CODE
LOWagent/slack_thinking.py291 except Exception:CODE
LOWagent/reconcile.py62 except Exception:CODE
LOWagent/reconcile.py105 except Exception:CODE
LOWagent/middleware/refresh_github_proxy.py31 except Exception: # noqa: BLE001CODE
LOWagent/middleware/refresh_github_proxy.py39 except Exception: # noqa: BLE001CODE
LOWagent/middleware/model_fallback.py179 except Exception as exc:CODE
LOWagent/middleware/notify_step_limit.py80 except Exception:CODE
LOWagent/middleware/subdir_agents.py50 except Exception:CODE
LOWagent/middleware/subdir_agents.py176 except Exception:CODE
LOWagent/middleware/workflow_push_guard.py104 except Exception:CODE
LOWagent/middleware/workflow_push_guard.py234 except Exception:CODE
LOWagent/middleware/workflow_push_guard.py521 except Exception:CODE
LOWagent/middleware/dynamic_tools.py175 except Exception:CODE
LOWagent/middleware/settle_review_check.py82 except Exception:CODE
LOWagent/middleware/tool_error_handler.py122 except Exception:CODE
277 more matches not shown…
Cross-Language Confusion27 hits · 162 pts
SeverityFileLineSnippetContext
HIGHtests/reviewer/test_reviewer_publish.py645 explicit null, so the fetch must guard against it and return collected threads."""STRING
HIGHtests/tools/test_output_iframe.py76 "test -f /workspace/project/chart.html && stat -c %s -- /workspace/project/chart.html",CODE
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.py94 "cd /repo && git push -u origin HEAD:feature"CODE
HIGHtests/agent/test_workflow_push_guard.py102 assert guard._parse_git_push("git status && git push") is NoneCODE
HIGHtests/sandbox/test_sandbox_paths.py70 assert backend.commands == ["test -d /workspace && test -w /workspace"]CODE
HIGHtests/sandbox/test_sandbox_paths.py87 "test -d /workspace && test -w /workspace",CODE
HIGHtests/sandbox/test_sandbox_paths.py89 "test -d /home/daytona && test -w /home/daytona",CODE
HIGHtests/sandbox/test_sandbox_paths.py104 assert backend.commands == ["test -d /workspace && test -w /workspace"]CODE
HIGHtests/sandbox/test_sandbox_paths.py116 assert backend.commands == ["test -d /home/daytona && test -w /home/daytona"]CODE
HIGHtests/e2e/fake_llm.py480 {"name": "execute", "args": {"command": "echo planning && ls"}, "id": "call-plan-read"}STRING
HIGHtests/e2e/fake_llm.py533ENVIRONMENT_PROVISION_SCRIPT = "mkdir -p repos && echo provisioned > repos/.provisioned && ls repos"STRING
HIGHtests/e2e/fake_llm.py664 {"command": "sleep 12 && ls"},STRING
HIGHagent/background_tasks.py101 f"rmdir {shlex.quote(f'{TASK_ROOT}/{task_id}/notify.claim')} 2>/dev/null || true",CODE
HIGHagent/background_tasks.py181 f"rmdir {shlex.quote(MONITOR_LOCK)} 2>/dev/null || true", timeout=10CODE
HIGHagent/reviewer.py380git fetch origin {head_sha_or_placeholder} --quiet || git fetch origin refs/pull/{pr_number}/head --quietCODE
HIGHagent/tools/background_execute.py151 f"acquired=; for _ in 1 2 3 4 5 6 7 8 9 10; do mkdir {lock} 2>/dev/null && acquired=1 && break; sleep .1; done; STRING
HIGHagent/utils/repo_prep.py49 f" cd {q_repo_dir} && {{ git fetch --all --quiet || true; }}",CODE
HIGHagent/utils/repo_prep.py56 lines.append(f"git fetch origin {q_base} --quiet 2>/dev/null || true")CODE
HIGHagent/utils/repo_prep.py60 lines.append(f"git fetch origin {q_head} --quiet 2>/dev/null || true")CODE
HIGHagent/utils/repo_prep.py63 lines.append(f"git fetch origin {pull_ref} --quiet 2>/dev/null || true")CODE
HIGHagent/utils/turn_checkpoint.py26 "if git rev-parse --verify -q HEAD >/dev/null; then git read-tree HEAD; "CODE
HIGHagent/utils/turn_checkpoint.py57 'if B=$(git rev-parse --verify "${B_INPUT}^{tree}" 2>/dev/null); then :; 'CODE
HIGHagent/utils/turn_checkpoint.py58 'elif [ "$B_INPUT" = HEAD ]; then B=$(git hash-object -t tree /dev/null); 'CODE
HIGHagent/utils/turn_checkpoint.py60 'H=$(git rev-parse --verify "${H}^{tree}" 2>/dev/null) || exit 4'CODE
HIGHagent/integrations/stagehand_browser.py75 f"python {runtime} request {socket} {health} >/dev/null 2>&1 && break; sleep .1; "CODE
Modern Structural Boilerplate163 hits · 162 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py35logger = logging.getLogger(__name__)CODE
LOWevals/reviewer/store_reporter.py25logger = logging.getLogger(__name__)CODE
LOWevals/reviewer/target.py25logger = logging.getLogger(__name__)CODE
LOWtests/reviewer/test_reviewer_outcomes.py83 def update_example(self, **kwargs: Any) -> None:CODE
LOWtests/auth/test_encryption.py13def _set_key(monkeypatch: pytest.MonkeyPatch, value: str) -> None:CODE
LOWtests/utils/test_startup_trace.py25 def update_run(self, run_id: Any, **kwargs: Any) -> None:CODE
LOWtests/agent/test_langsmith_trace_url.py19def _set_env(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/github/test_open_pull_request.py101def _set_config(monkeypatch: pytest.MonkeyPatch, configurable: dict[str, Any]) -> None:CODE
LOWtests/e2e/agent_entrypoint.py19__all__ = ["traced_agent"]CODE
LOWtests/e2e/patches.py18logger = logging.getLogger(__name__)CODE
LOWtests/e2e/fakes.py379def set_repo_private(value: bool) -> None:CODE
LOWagent/store.py26logger = logging.getLogger(__name__)CODE
LOWagent/server.py20logger = logging.getLogger(__name__)CODE
LOWagent/server.py516async def _settle_git_identity(task: asyncio.Task[None], *, failed: bool) -> None:CODE
LOWagent/encryption.py8logger = logging.getLogger(__name__)CODE
LOWagent/baby_sit.py33logger = logging.getLogger(__name__)CODE
LOWagent/background_tasks.py16logger = logging.getLogger(__name__)CODE
LOWagent/completion.py35logger = logging.getLogger(__name__)CODE
LOWagent/completion.py90async def _settle_failed_reviewer_check(thread_id: str, metadata: dict[str, Any]) -> None:CODE
LOWagent/session_cost.py19logger = logging.getLogger(__name__)CODE
LOWagent/dispatch.py48logger = logging.getLogger(__name__)CODE
LOWagent/webapp.py5__all__ = ["app"]CODE
LOWagent/analyzer.py63logger = logging.getLogger(__name__)CODE
LOWagent/chat.py75logger = logging.getLogger(__name__)CODE
LOWagent/thread_ids.py13__all__ = [CODE
LOWagent/thread_title.py20logger = logging.getLogger(__name__)CODE
LOWagent/reviewer.py25logger = logging.getLogger(__name__)CODE
LOWagent/source_context.py27logger = logging.getLogger(__name__)CODE
LOWagent/scheduler.py16logger = logging.getLogger(__name__)CODE
LOWagent/prompt.py16logger = logging.getLogger(__name__)CODE
LOWagent/slack_thinking.py21logger = logging.getLogger(__name__)CODE
LOWagent/reconcile.py16logger = logging.getLogger(__name__)CODE
LOWagent/middleware/refresh_github_proxy.py19logger = logging.getLogger(__name__)CODE
LOWagent/middleware/sandbox_circuit_breaker.py17logger = logging.getLogger(__name__)CODE
LOWagent/middleware/repair_orphaned_tool_calls.py25logger = logging.getLogger(__name__)CODE
LOWagent/middleware/model_call_timeout.py19logger = logging.getLogger(__name__)CODE
LOWagent/middleware/model_fallback.py42logger = logging.getLogger(__name__)CODE
LOWagent/middleware/notify_step_limit.py15logger = logging.getLogger(__name__)CODE
LOWagent/middleware/__init__.py33__all__ = [CODE
LOWagent/middleware/subdir_agents.py17logger = logging.getLogger(__name__)CODE
LOWagent/middleware/workflow_push_guard.py33logger = logging.getLogger(__name__)CODE
LOWagent/middleware/sanitize_tool_inputs.py19logger = logging.getLogger(__name__)CODE
LOWagent/middleware/dynamic_tools.py23logger = logging.getLogger(__name__)CODE
LOWagent/middleware/settle_review_check.py21logger = logging.getLogger(__name__)CODE
LOWagent/middleware/tool_error_handler.py35logger = logging.getLogger(__name__)CODE
LOWagent/middleware/check_message_queue.py29logger = logging.getLogger(__name__)CODE
LOWagent/tools/approve_plan.py25logger = logging.getLogger(__name__)CODE
LOWagent/tools/schedule_thread_wakeup.py20logger = logging.getLogger(__name__)CODE
LOWagent/tools/open_pull_request.py24logger = logging.getLogger(__name__)CODE
LOWagent/tools/recreate_sandbox.py8logger = logging.getLogger(__name__)CODE
LOWagent/tools/publish_review.py67logger = logging.getLogger(__name__)CODE
LOWagent/tools/notify_automation_channel.py15logger = logging.getLogger(__name__)CODE
LOWagent/tools/__init__.py70__all__ = [CODE
LOWagent/tools/save_user_instructions.py12logger = logging.getLogger(__name__)CODE
LOWagent/tools/sandbox_reset.py11logger = logging.getLogger(__name__)CODE
LOWagent/tools/threads.py44logger = logging.getLogger(__name__)CODE
LOWagent/tools/automations.py11logger = logging.getLogger(__name__)CODE
LOWagent/tools/background_execute.py15logger = logging.getLogger(__name__)CODE
LOWagent/tools/environments.py15logger = logging.getLogger(__name__)CODE
LOWagent/tools/save_review_style.py11logger = logging.getLogger(__name__)CODE
103 more matches not shown…
Unused Imports188 hits · 127 pts
SeverityFileLineSnippetContext
LOWtests/tools/test_observability_tools.py1CODE
LOWtests/github/test_open_pull_request.py8CODE
LOWtests/e2e/agent_entrypoint.py17CODE
LOWtests/e2e/patches.py16CODE
LOWagent/server.py131CODE
LOWagent/webapp.py3CODE
LOWagent/middleware/__init__.py62CODE
LOWagent/middleware/__init__.py63CODE
LOWagent/middleware/__init__.py63CODE
LOWagent/middleware/__init__.py64CODE
LOWagent/middleware/__init__.py65CODE
LOWagent/middleware/__init__.py66CODE
LOWagent/middleware/__init__.py67CODE
LOWagent/middleware/__init__.py68CODE
LOWagent/middleware/__init__.py69CODE
LOWagent/middleware/__init__.py70CODE
LOWagent/middleware/__init__.py70CODE
LOWagent/middleware/__init__.py71CODE
LOWagent/middleware/__init__.py72CODE
LOWagent/middleware/__init__.py73CODE
LOWagent/middleware/__init__.py74CODE
LOWagent/middleware/__init__.py75CODE
LOWagent/middleware/__init__.py76CODE
LOWagent/middleware/__init__.py77CODE
LOWagent/middleware/__init__.py78CODE
LOWagent/middleware/__init__.py79CODE
LOWagent/middleware/__init__.py80CODE
LOWagent/middleware/__init__.py80CODE
LOWagent/middleware/__init__.py81CODE
LOWagent/middleware/__init__.py82CODE
LOWagent/middleware/__init__.py83CODE
LOWagent/tools/__init__.py136CODE
LOWagent/tools/__init__.py137CODE
LOWagent/tools/__init__.py138CODE
LOWagent/tools/__init__.py138CODE
LOWagent/tools/__init__.py138CODE
LOWagent/tools/__init__.py138CODE
LOWagent/tools/__init__.py138CODE
LOWagent/tools/__init__.py145CODE
LOWagent/tools/__init__.py145CODE
LOWagent/tools/__init__.py146CODE
LOWagent/tools/__init__.py147CODE
LOWagent/tools/__init__.py148CODE
LOWagent/tools/__init__.py149CODE
LOWagent/tools/__init__.py149CODE
LOWagent/tools/__init__.py149CODE
LOWagent/tools/__init__.py149CODE
LOWagent/tools/__init__.py155CODE
LOWagent/tools/__init__.py156CODE
LOWagent/tools/__init__.py157CODE
LOWagent/tools/__init__.py158CODE
LOWagent/tools/__init__.py159CODE
LOWagent/tools/__init__.py160CODE
LOWagent/tools/__init__.py161CODE
LOWagent/tools/__init__.py162CODE
LOWagent/tools/__init__.py163CODE
LOWagent/tools/__init__.py164CODE
LOWagent/tools/__init__.py165CODE
LOWagent/tools/__init__.py166CODE
LOWagent/tools/__init__.py167CODE
128 more matches not shown…
Deep Nesting45 hits · 40 pts
SeverityFileLineSnippetContext
LOWevals/reviewer/run_eval.py290CODE
LOWtests/e2e/fake_llm.py274CODE
LOWagent/baby_sit.py217CODE
LOWagent/background_tasks.py125CODE
LOWagent/dispatch.py71CODE
LOWagent/prompt.py202CODE
LOWagent/reconcile.py37CODE
LOWagent/middleware/pr_creation_guard.py150CODE
LOWagent/middleware/check_message_queue.py180CODE
LOWagent/tools/open_pull_request.py529CODE
LOWagent/tools/open_pull_request.py691CODE
LOWagent/tools/publish_review.py262CODE
LOWagent/tools/publish_review.py805CODE
LOWagent/tools/publish_review.py945CODE
LOWagent/tools/manage_code_channel.py46CODE
LOWagent/tools/environments.py65CODE
LOWagent/utils/url_safety.py100CODE
LOWagent/utils/slack_stop.py86CODE
LOWagent/utils/model.py311CODE
LOWagent/utils/model.py346CODE
LOWagent/utils/thread_participants.py135CODE
LOWagent/utils/slack.py504CODE
LOWagent/utils/slack.py1523CODE
LOWagent/dashboard/pull_request_status.py178CODE
LOWagent/dashboard/pull_request_status.py224CODE
LOWagent/dashboard/review_chat_api.py129CODE
LOWagent/dashboard/review_chat_api.py322CODE
LOWagent/dashboard/pull_request_context.py124CODE
LOWagent/dashboard/pull_request_context.py330CODE
LOWagent/dashboard/thread_api.py408CODE
LOWagent/dashboard/thread_api.py845CODE
LOWagent/dashboard/thread_api.py975CODE
LOWagent/dashboard/thread_api.py1542CODE
LOWagent/dashboard/routes.py2012CODE
LOWagent/dashboard/routes.py2055CODE
LOWagent/integrations/langsmith.py348CODE
LOWagent/review/diff.py72CODE
LOWagent/review/style_collector.py279CODE
LOWagent/review/publish.py543CODE
LOWagent/review/publish.py665CODE
LOWagent/webhooks/linear.py26CODE
LOWagent/webhooks/common.py801CODE
LOWagent/webhooks/common.py1366CODE
LOWagent/webhooks/github.py355CODE
LOWagent/webhooks/github.py1077CODE
Fake / Example Data24 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/reviewer/test_review_chat.py430 async def fake_token(repositories=None):CODE
LOWtests/reviewer/test_review_chat.py439 monkeypatch.setattr(review_chat_api, "get_github_app_installation_token", fake_token)CODE
LOWtests/reviewer/test_review_api.py107 async def fake_token():CODE
LOWtests/reviewer/test_review_api.py114 monkeypatch.setattr(review_api, "_require_app_token", fake_token)CODE
LOWtests/reviewer/test_review_api.py121 async def fake_token():CODE
LOWtests/reviewer/test_review_api.py127 monkeypatch.setattr(review_api, "_require_app_token", fake_token)CODE
LOWtests/tools/test_observability_tools.py271 monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com")CODE
LOWtests/tools/test_observability_tools.py275 admin_config = cast(RunnableConfig, {"configurable": {"user_email": "admin@example.com"}})CODE
LOWtests/tools/test_observability_tools.py347 monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com")CODE
LOWtests/tools/test_observability_tools.py354 config = cast(RunnableConfig, {"configurable": {"user_email": "admin@example.com"}})CODE
LOWtests/tools/test_observability_tools.py365 monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com")CODE
LOWtests/tools/test_observability_tools.py377 admin = cast(RunnableConfig, {"configurable": {"user_email": "admin@example.com"}})CODE
LOWtests/dashboard/test_dashboard_thread_api.py2862 routes._require_admin({"sub": "not-admin", "email": "user@example.com"})CODE
LOWtests/dashboard/test_dashboard_thread_api.py1920 email="admin@example.com",CODE
LOWtests/dashboard/test_public_repo_org_gate.py348 async def fake_token(**_kwargs) -> None:CODE
LOWtests/dashboard/test_public_repo_org_gate.py354 monkeypatch.setattr(github_org_membership, "get_github_app_installation_token", fake_token)CODE
LOWtests/dashboard/test_public_repo_org_gate.py390 async def fake_token(**kwargs) -> str:CODE
LOWtests/dashboard/test_public_repo_org_gate.py397 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.py79 return "dummy-user-oauth-token"CODE
LOWtests/e2e/tests/desktop.spec.ts88 ANTHROPIC_API_KEY: "e2e-fake-key",CODE
LOWtests/e2e/tests/desktop.spec.ts89 OPENAI_API_KEY: "e2e-fake-key",CODE
LOWdocs/CUSTOMIZATION.md416 "user_email": "user@example.com",CODE
AI Slop Vocabulary10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMtests/slack/test_slack_context.py1393 # resolve to a mapping (login_for_email returns None in this harness).COMMENT
MEDIUMtests/e2e/local_desktop_login.py69 # harness's own callback and escape what reaches the page.COMMENT
MEDIUMtests/e2e/harness.py338 # 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.py42 # Set E2E_REAL_LLM=1 to drive the harness (mock Slack/GitHub, real agent)COMMENT
MEDIUMagent/dashboard/routes.py264# Module-level so a local harness can point the browser leg at a fake consentCOMMENT
MEDIUM.github/workflows/reviewer_eval.yml3# selecting the `prod` branch so the harness + judge match the deployed reviewer it scores.COMMENT
Over-Commented Block19 hits · 19 pts
SeverityFileLineSnippetContext
LOWui/vite.config.ts181 // directory under the vite plugin. Deployed builds only — dev proxies theCOMMENT
LOWui/vitest.config.ts1import { defineConfig } from "vitest/config"COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt.h121extern "C" {COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt.h141#include <ghostty/vt/modes.h>COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/device.h21#define GHOSTTY_DA_CONFORMANCE_VT220 62COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/device.h41#define GHOSTTY_DA_FEATURE_NATIONAL_REPLACEMENT 9COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/types.h1/**COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/types.h21#if defined(GHOSTTY_STATIC)COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/formatter.h1/**COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/terminal.h1/**COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/modes.h61#define GHOSTTY_MODE_SLOW_SCROLL (ghostty_mode_new(4, false)) /**< Slow scroll */COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/modes.h81#define GHOSTTY_MODE_ALT_SCROLL (ghostty_mode_new(1007, false)) /**< Alternate scroll mode */COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/selection.h1/**COMMENT
LOWui/native/libghostty-vt/include/ghostty/vt/render.h1/**COMMENT
LOWtests/e2e/dev-mock.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/INSTALLATION.md481COMMENT
LOWdocs/INSTALLATION.md501# Comma-separated list of specific owner/repo pairs allowed by the GitHub/Linear webhook filter.COMMENT
LOWdocs/INSTALLATION.md521# HMAC secret for dashboard JWTs (session cookie and OAuth state).COMMENT
LOWexamples/github-actions/set-base-snapshot.yml1# Example: point Open SWE at a new base sandbox snapshot from CI.COMMENT
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMagent/dashboard/user_mappings.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py167# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/dashboard/user_mappings.py169# ---------------------------------------------------------------------------COMMENT
Self-Referential Comments4 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMui/native/libghostty-vt/include/ghostty/vt/terminal.h86 * ### Defining a write_pty callbackCOMMENT
MEDIUMui/native/libghostty-vt/include/ghostty/vt/terminal.h89 * ### Defining a bell callbackCOMMENT
MEDIUMui/native/libghostty-vt/include/ghostty/vt/terminal.h92 * ### Defining a title_changed callbackCOMMENT
MEDIUMui/native/libghostty-vt/include/ghostty/vt/sys.h33 * ### Defining a PNG decode callbackCOMMENT
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 Patterns16 hits · 13 pts
SeverityFileLineSnippetContext
LOWagent/dispatch.py233CODE
LOWagent/dispatch.py278CODE
LOWagent/reviewer.py412CODE
LOWagent/prompt.py549CODE
LOWagent/middleware/workflow_push_guard.py254CODE
LOWagent/tools/manage_code_channel.py46CODE
LOWagent/tools/threads.py139CODE
LOWagent/tools/threads.py619CODE
LOWagent/tools/automations.py89CODE
LOWagent/utils/slack_code_channels.py355CODE
LOWagent/dashboard/thread_api.py845CODE
LOWagent/dashboard/thread_api.py975CODE
LOWagent/dashboard/thread_api.py1120CODE
LOWagent/dashboard/thread_api.py1302CODE
LOWagent/dashboard/routes.py1893CODE
LOWagent/integrations/langsmith.py751CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMui/native/libghostty-vt/include/ghostty/vt/wasm.h33 * Here's a simple example of using the Wasm utilities with the key encoder:COMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/tools/test_observability_tools.py233CODE