Repository Analysis

ColeMurray/background-agents

An open-source background agents coding system

8.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ColeMurray/background-agents, a TypeScript project with 2,449 GitHub stars. SynthScan v2.0 examined 232,109 lines of code across 1049 source files, recording 1268 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 8.1 places this repository in the Low 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).

8.1
Adjusted Score
8.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.4K
Stars
TypeScript
Language
232.1K
Lines of Code
1.0K
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 14MEDIUM 252LOW 1002

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 1268 distinct pattern matches across 19 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 Identifiers831 hits · 852 pts
SeverityFileLineSnippetContext
LOW…kages/modal-infra/tests/test_agent_slack_notify_env.py36 async def test_env_set_when_enabled(self, monkeypatch):CODE
LOW…kages/modal-infra/tests/test_agent_slack_notify_env.py54 async def test_env_omitted_when_disabled(self, monkeypatch):CODE
LOW…kages/modal-infra/tests/test_agent_slack_notify_env.py72 async def test_env_omitted_when_default(self, monkeypatch):CODE
LOW…kages/modal-infra/tests/test_agent_slack_notify_env.py93 async def test_env_set_when_enabled(self, monkeypatch):CODE
LOW…kages/modal-infra/tests/test_agent_slack_notify_env.py115 async def test_env_omitted_when_default(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_code_server.py13 def test_returns_nonempty_password(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py17 def test_generates_unique_passwords(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py28 async def test_returns_tunnel_url_on_success(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py39 async def test_returns_empty_on_exception_after_retries(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py51 async def test_returns_empty_when_port_missing_after_retries(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py62 async def test_retries_then_succeeds(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py84 async def test_handle_contains_code_server_fields(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_code_server.py127 async def test_code_server_skipped_when_disabled(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_code_server.py169 async def test_handle_contains_code_server_fields(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_code_server.py219 async def test_code_server_skipped_when_disabled(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_resources.py25 def test_allows_fractional_cpu(self):CODE
LOWpackages/modal-infra/tests/test_sandbox_resources.py53 async def test_create_sandbox_passes_cpu_and_memory(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_resources.py75 async def test_create_sandbox_omits_resources_without_settings(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_resources.py91 async def test_restore_from_snapshot_passes_resources(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py21def test_has_repository_accepts_complete_or_absent_metadata(repo_owner, repo_name, expected):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py32def test_has_repository_rejects_partial_repo_metadata(repo_owner, repo_name):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py45async def test_create_sandbox_rejects_partial_repo_metadata(repo_owner, repo_name):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py60async def test_restore_rejects_partial_repo_metadata(session_config):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py71async def test_user_env_vars_override_order(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py106async def test_restore_user_env_vars_override_order(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py156async def test_restore_uses_default_timeout(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py195async def test_restore_uses_custom_timeout(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py235async def test_create_and_restore_timeout_consistency(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py308async def test_restore_includes_branch_in_session_config(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py330async def test_restore_omits_branch_when_none(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py351async def test_restore_with_session_config_object(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py398async def test_vcs_env_vars_default_github(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py440async def test_vcs_env_vars_bitbucket(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py460async def test_repo_image_boot_omits_fallback_tokens(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py489async def test_repo_image_boot_preserves_user_github_cli_token(monkeypatch, token_key):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py519async def test_session_snapshot_boot_preserves_clone_token(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py542async def test_no_repo_session_snapshot_boot_omits_clone_token(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py572async def test_no_repo_sandbox_gets_provider_host_scoping(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py592async def test_restore_no_repo_gets_host_scoping_without_tokens(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py623async def test_restore_preserves_vcs_clone_token_for_legacy_snapshots(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py663async def test_restore_github_includes_gh_cli_aliases(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py701async def test_no_repo_restore_omits_clone_token(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py26 def test_generates_valid_token(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py43 def test_token_rejected_with_wrong_secret(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py49 def test_timestamp_is_milliseconds(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py64 async def test_success_on_first_try(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py125 async def test_returns_false_after_all_retries_exhausted(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py146 async def test_includes_auth_header(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py189 async def test_returns_sha_and_complete(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py206 async def test_complete_without_sha(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py221 async def test_incomplete_when_sandbox_exits(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py237 async def test_captures_setup_failure_tail(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py265 async def test_falls_back_to_supervisor_error(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py285 async def test_falls_back_to_supervisor_fatal(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py305 async def test_returns_incomplete_on_error(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py321 async def test_handles_malformed_json(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py340 def test_build_error_is_exception(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py397 async def test_uses_snapshot_timeout_and_terminates_on_success(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py430 async def test_forwards_build_timeout_to_create_build_sandbox(self):CODE
LOWpackages/modal-infra/tests/test_image_builder_v2.py458 async def test_defaults_build_timeout_when_unset(self):CODE
771 more matches not shown…
Decorative Section Separators249 hits · 783 pts
SeverityFileLineSnippetContext
MEDIUM.openinspect/setup.sh7# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh9# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh21# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh23# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh36# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh38# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh42# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh44# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh48# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh50# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh58# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh60# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh115# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh117# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh125# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh127# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/environments/production/web-cloudflare.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-cloudflare.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf110# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf112# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-github.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-github.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/r2.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/r2.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/main.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/main.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/opencomputer.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/opencomputer.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/modal.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/modal.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-slack.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-slack.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/moved.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/moved.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-linear.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-linear.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/kv.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/kv.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-vercel.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-vercel.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf283# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf285# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf293# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf295# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf112# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf114# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf127# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf129# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf154# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf156# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf174# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf176# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf202# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf204# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf237# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf239# =============================================================================COMMENT
189 more matches not shown…
Excessive Try-Catch Wrapping57 hits · 52 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/src/web_api.py209 except Exception as e:CODE
LOWpackages/modal-infra/src/web_api.py314 except Exception as e:CODE
LOWpackages/modal-infra/src/web_api.py449 except Exception as e:CODE
LOWpackages/modal-infra/src/web_api.py574 except Exception as e:CODE
LOWpackages/modal-infra/src/web_api.py645 except Exception as e:CODE
LOWpackages/modal-infra/src/clone_token.py33 except Exception as e:CODE
LOWpackages/modal-infra/src/app.py125 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py106 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py162 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py239 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py389 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py516 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py687 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py703 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py715 except Exception as e:CODE
LOWpackages/modal-infra/src/scheduler/image_builder.py748 except Exception as e:CODE
LOWpackages/modal-infra/src/sandbox/manager.py181 except Exception as e:CODE
LOWpackages/modal-infra/src/sandbox/manager.py310 except Exception as e:CODE
LOWpackages/modal-infra/src/sandbox/manager.py669 except Exception as e:CODE
LOW…box-runtime/src/sandbox_runtime/repo_image_callback.py135 except Exception as exc:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1864 except Exception:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1867 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1875 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py335 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py448 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py493 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py527 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py556 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py623 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py764 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1554 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1608 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1889 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1688 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1693 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py249 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py461 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py481 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py542 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py631 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py682 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py807 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py894 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py945 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1040 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1259 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1433 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1456 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1477 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1501 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1605 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1732 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1949 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1960 except Exception as e:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1990 except Exception as e:CODE
LOW…c/sandbox_runtime/credentials/git_credential_helper.py307 except Exception as e:CODE
LOW…c/sandbox_runtime/credentials/git_credential_helper.py345 except Exception as e:CODE
Unused Imports38 hits · 38 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/deploy.py18CODE
LOWpackages/modal-infra/src/log_config.py3CODE
LOWpackages/modal-infra/src/log_config.py3CODE
LOWpackages/modal-infra/src/log_config.py3CODE
LOWpackages/modal-infra/src/__init__.py5CODE
LOWpackages/modal-infra/src/__init__.py6CODE
LOWpackages/modal-infra/src/__init__.py7CODE
LOWpackages/modal-infra/src/auth/__init__.py6CODE
LOWpackages/modal-infra/src/auth/__init__.py6CODE
LOWpackages/modal-infra/src/auth/__init__.py6CODE
LOWpackages/modal-infra/src/auth/__init__.py6CODE
LOWpackages/modal-infra/src/auth/__init__.py6CODE
LOWpackages/modal-infra/src/images/__init__.py3CODE
LOWpackages/modal-infra/src/images/__init__.py3CODE
LOWpackages/modal-infra/src/scheduler/__init__.py4CODE
LOWpackages/modal-infra/src/sandbox/__init__.py7CODE
LOWpackages/modal-infra/src/sandbox/__init__.py7CODE
LOWpackages/modal-infra/src/sandbox/__init__.py7CODE
LOWpackages/modal-infra/src/sandbox/__init__.py7CODE
LOWpackages/modal-infra/src/sandbox/__init__.py7CODE
LOWpackages/sandbox-runtime/tests/test_gh_wrapper.py15CODE
LOW…es/sandbox-runtime/tests/test_git_credential_helper.py3CODE
LOW…box-runtime/src/sandbox_runtime/repo_image_callback.py3CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py12CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py12CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py12CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py12CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py12CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py12CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py3CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py4CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py4CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py4CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py4CODE
LOW…c/sandbox_runtime/credentials/git_credential_helper.py26CODE
LOWpackages/daytona-infra/src/bootstrap.py3CODE
LOWpackages/daytona-infra/src/config.py3CODE
LOWpackages/daytona-infra/src/toolchain.py3CODE
Cross-Language Confusion7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHpackages/modal-infra/src/web_api.py140 "snapshot_id": null,STRING
HIGHpackages/modal-infra/src/images/base.py81 "apt-get update && apt-get install -y gh && rm -rf /var/lib/apt/lists/*",CODE
HIGHpackages/modal-infra/src/images/base.py116 "opencode --version || echo 'OpenCode installed'",CODE
HIGHpackages/modal-infra/src/images/base.py140 "cd /app/opencode-deps && npm install --ignore-scripts --no-audit --no-fund",CODE
HIGHpackages/sandbox-runtime/tests/test_mcp.py235 "pkg && cat /etc/passwd",CODE
HIGH…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py88 "token=$(python3 -m sandbox_runtime.credentials.git_credential_helper gh-token || true)\n"CODE
HIGHpackages/daytona-infra/src/toolchain.py40 "apt-get update && apt-get install -y gh && rm -rf /var/lib/apt/lists/*",CODE
Structural Annotation Overuse20 hits · 32 pts
SeverityFileLineSnippetContext
LOWdocs/OPENAI_MODELS.md29### Step 1: Obtain OpenAI OAuth CredentialsCOMMENT
LOWdocs/OPENAI_MODELS.md49### Step 2: Add Secrets to Your DeploymentCOMMENT
LOWdocs/OPENAI_MODELS.md59### Step 3: Select an OpenAI ModelCOMMENT
LOWdocs/GETTING_STARTED.md70## Step 1: Fork the RepositoryCOMMENT
LOWdocs/GETTING_STARTED.md96## Step 2: Create Cloud Provider CredentialsCOMMENT
LOWdocs/GETTING_STARTED.md240## Step 3: Create GitHub AppCOMMENT
LOWdocs/GETTING_STARTED.md307## Step 4: Create Slack App (Optional)COMMENT
LOWdocs/GETTING_STARTED.md368## Step 5: Generate Security SecretsCOMMENT
LOWdocs/GETTING_STARTED.md396## Step 6: Configure TerraformCOMMENT
LOWdocs/GETTING_STARTED.md573## Step 7: Deploy with TerraformCOMMENT
LOWdocs/GETTING_STARTED.md744## Step 8: Deploy the Web AppCOMMENT
LOWdocs/GETTING_STARTED.md804## Step 9: Verify DeploymentCOMMENT
LOWdocs/GETTING_STARTED.md842## Step 10: Set Up CI/CD (Optional)COMMENT
LOWdocs/SETUP_GUIDE.md46## Step 0: Bootstrap the RepoCOMMENT
LOWpackages/control-plane/src/db/user-store.ts251 // Step 1: Look up by provider identityCOMMENT
LOWpackages/control-plane/src/db/user-store.ts255 // Step 2: Existing identity → load linked user, update if neededCOMMENT
LOWpackages/control-plane/src/db/user-store.ts313 // Step 3: No identity found — try email-based cross-provider linkingCOMMENT
LOWpackages/control-plane/src/db/user-store.ts333 // Step 4: Brand new user — batch user + identity creation so a UNIQUECOMMENT
LOWpackages/control-plane/src/session/initialize.ts126 // Step 1: D1 index (must succeed before DO init starts sandbox warming)COMMENT
LOWpackages/control-plane/src/session/initialize.ts150 // Step 2: DO initCOMMENT
Docstring Block Structure4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…s/sandbox-runtime/src/sandbox_runtime/auth/internal.py51 Generate an internal API token for service-to-service calls. Token format: `timestamp.signature` where: - STRING
HIGH…s/sandbox-runtime/src/sandbox_runtime/auth/internal.py85 Verify an internal API token from the Authorization header. Token format: `Bearer timestamp.signature` where: STRING
HIGH…sandbox-runtime/src/sandbox_runtime/auth/github_app.py39 Exchange a JWT for an installation access token. Args: jwt_token: The signed JWT installation_STRING
HIGH…sandbox-runtime/src/sandbox_runtime/auth/github_app.py70 Generate a fresh GitHub App installation token. This is the main entry point for token generation. It: 1. STRING
Fake / Example Data13 hits · 16 pts
SeverityFileLineSnippetContext
LOWpackages/web/src/lib/github-email-schema.test.ts8 { email: "user@example.com", primary: true, verified: true, visibility: "private" },CODE
LOWpackages/web/src/lib/github-email-schema.test.ts16 { email: "user@example.com", primary: true, verified: true, visibility: null },CODE
LOWpackages/web/src/lib/github-email-schema.test.ts23 expect(githubEmailListSchema.safeParse({ email: "user@example.com" }).success).toBe(false);CODE
LOWpackages/web/src/lib/github-email-schema.test.ts26 { email: "user@example.com", primary: true, verified: true },CODE
LOWpackages/web/src/lib/github-email-schema.test.ts31 { email: "user@example.com", primary: true, verified: "yes", visibility: null },CODE
LOWpackages/web/src/lib/access-control.test.ts144 expect(checkAccessAllowed(config, { emails: ["user@example.com"] })).toBe(false);CODE
LOW…ntime/src/sandbox_runtime/plugins/codex-auth-plugin.js14const OAUTH_DUMMY_KEY = "opencode-oauth-dummy-key";CODE
LOWpackages/shared/src/slack/resolve-users.test.ts65 real_name: "John Doe",CODE
LOWpackages/shared/src/slack/resolve-users.test.ts66 profile: { display_name: "", real_name: "John Doe" },CODE
LOWpackages/slack-bot/src/index.test.ts1686 real_name: "Jane Doe",CODE
LOW…ckages/slack-bot/src/sessions/session-launcher.test.ts103 profile: { display_name: "Display Name", email: "user@example.com" },CODE
LOW…ckages/slack-bot/src/sessions/session-launcher.test.ts149 actorEmail: "user@example.com",CODE
LOW…e/src/source-control/providers/github-provider.test.ts26 privateKey: "fake-key",CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/sandbox-runtime/tests/test_codex_auth_plugin_setup.py0create a sandboxsupervisor with default test config.STRING
HIGH…kages/sandbox-runtime/tests/test_openai_oauth_setup.py0create a sandboxsupervisor with default test config.STRING
HIGH…ckages/sandbox-runtime/tests/test_tool_installation.py0create a sandboxsupervisor with default test config.STRING
Verbosity Indicators6 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/control-plane/src/db/user-store.ts251 // Step 1: Look up by provider identityCOMMENT
LOWpackages/control-plane/src/db/user-store.ts255 // Step 2: Existing identity → load linked user, update if neededCOMMENT
LOWpackages/control-plane/src/db/user-store.ts313 // Step 3: No identity found — try email-based cross-provider linkingCOMMENT
LOWpackages/control-plane/src/db/user-store.ts333 // Step 4: Brand new user — batch user + identity creation so a UNIQUECOMMENT
LOWpackages/control-plane/src/session/initialize.ts126 // Step 1: D1 index (must succeed before DO init starts sandbox warming)COMMENT
LOWpackages/control-plane/src/session/initialize.ts150 // Step 2: DO initCOMMENT
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/deploy.py21__all__ = ["app"]CODE
LOWpackages/modal-infra/src/log_config.py5__all__ = ["StructuredLogger", "configure_logging", "get_logger"]CODE
LOWpackages/modal-infra/src/__init__.py9__all__ = ["app", "image_builder", "web_api"]CODE
LOWpackages/modal-infra/src/auth/__init__.py14__all__ = [CODE
LOWpackages/modal-infra/src/images/__init__.py5__all__ = ["OPENCODE_VERSION", "base_image"]CODE
LOWpackages/modal-infra/src/scheduler/__init__.py6__all__ = ["image_builder"]CODE
LOWpackages/modal-infra/src/sandbox/__init__.py33__all__ = [CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py21__all__ = [CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py860 def _setup_openai_oauth(self) -> None:CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py11__all__ = [CODE
Deep Nesting15 hits · 8 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/src/scheduler/image_builder.py194CODE
LOWpackages/modal-infra/src/sandbox/manager.py157CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py297CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py397CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py633CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py854CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py925CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py982CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1027CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1463CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1841CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1091CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1334CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1696CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1744CODE
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWterraform/environments/production/main.tf1# =============================================================================COMMENT
LOWterraform/environments/production/backend.tf1# Terraform State Backend ConfigurationCOMMENT
LOWdocs/GETTING_STARTED.md441modal_workspace = "your-modal-workspace"COMMENT
LOWdocs/GETTING_STARTED.md501repo_secrets_encryption_key = "your-generated-value"COMMENT
LOWscripts/migrate-kv-to-d1.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/wrangler-secrets.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/modal-infra/src/images/base.py121 # Pre-build OpenCode plugin deps into a staging directory.COMMENT
LOW…kages/sandbox-runtime/src/sandbox_runtime/constants.py21# for. The manager's write can land before the entrypoint starts (it onlyCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMterraform/environments/production/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUM…es/sandbox-runtime/tests/test_entrypoint_build_mode.py829 # Create the directory so _update_existing_repo proceeds after clone.COMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackages/modal-infra/tests/test_image_builder_v2.py310CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/migrate-kv-to-d1.sh13# Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ages/sandbox-runtime/src/sandbox_runtime/entrypoint.py1308 # Check if bridge exited immediately during startupCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/src/sandbox/manager.py673CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/control-plane/src/router.ts341export async function handleRequest(CODE