Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
This report summarizes scanner evidence for abi/screenshot-to-code, a Python project with 80,184 GitHub stars. SynthScan examined 51,176 lines of code across 293 source files, recording 518 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 11.9 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 368 finding(s).
Are imports declared and package/API names verified? 72 finding(s).
Are wrappers, guards, and repeated structures necessary? 407 finding(s).
Which changes need focused human review? 518 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 518 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | design-docs/commits-and-variants.md | 120 | async def process_variant_completion(index: int, task: asyncio.Task): | CODE |
| LOW | frontend/src/components/settings/GenerationSettings.tsx | 33 | function setSelectedDesignSystemId(id: string | null) { | CODE |
| LOW | …c/components/select-and-edit/SelectAndEditControls.tsx | 7 | export function SelectAndEditToolbarButton() { | CODE |
| LOW | frontend/src/components/select-and-edit/utils.ts | 39 | export function buildSelectedElementInstruction( | CODE |
| LOW | …omponents/select-and-edit/useEscapeToExitSelectMode.ts | 6 | export function useEscapeToExitSelectMode() { | CODE |
| LOW | frontend/src/components/agent/generation-time.ts | 36 | export function formatCompletedGenerationDuration( | CODE |
| LOW | frontend/src/components/agent/activity-order.ts | 11 | export function groupCompletedAgentEvents( | CODE |
| LOW | frontend/src/components/agent/AgentActivity.tsx | 131 | function getExtractedAssetPreviewUrl(asset: unknown): string | null { | CODE |
| LOW | frontend/src/components/agent/AgentActivity.tsx | 143 | function isSuccessfulExtractedAsset(asset: unknown): boolean { | CODE |
| LOW | …tend/src/components/unified-input/UnifiedInputPane.tsx | 48 | function setSelectedDesignSystemId(id: string | null) { | CODE |
| LOW | frontend/src/components/preview/download.ts | 15 | function filenameFromContentDisposition(contentDisposition: string | null) { | CODE |
| LOW | frontend/src/lib/design-systems.ts | 46 | export function createHttpDesignSystemsRequest( | CODE |
| LOW | frontend/src/lib/design-systems.ts | 67 | export function createDesignSystemsClient( | CODE |
| LOW | frontend/src/lib/prompt-history.ts | 69 | export function resolveAssetIdsToDataUrls( | CODE |
| LOW | frontend/src/lib/prompt-history.ts | 104 | export function buildAssistantHistoryMessage( | CODE |
| LOW | frontend/src/lib/prompt-history.ts | 115 | export function buildUpdateGenerationRequest({ | CODE |
| LOW | backend/asset_extraction.py | 134 | def _normalize_image_for_detection(image: Image.Image) -> Image.Image: | STRING |
| LOW | backend/asset_extraction.py | 144 | def _data_url_to_source_image( | CODE |
| LOW | backend/asset_extraction.py | 240 | def _parse_detection_response( | STRING |
| LOW | backend/asset_extraction.py | 346 | async def extract_assets_from_images( | STRING |
| LOW | backend/llm.py | 192 | def get_openai_reasoning_effort(model: Llm) -> str | None: | CODE |
| LOW | backend/main.py | 35 | async def probe_screenshot_preview_on_startup() -> None: | CODE |
| LOW | backend/video/utils.py | 21 | def get_video_bytes_and_mime_type(video_data_url: str) -> tuple[bytes, str]: | CODE |
| LOW | backend/evals/runner.py | 19 | def normalize_local_asset_urls(html: str) -> str: | CODE |
| LOW | backend/evals/runner.py | 76 | def get_eval_output_subfolder(stack: Stack, model: str) -> str: | CODE |
| LOW | backend/uploaded_assets/store.py | 38 | def configure_uploaded_asset_routes(app: FastAPI) -> None: | CODE |
| LOW | backend/uploaded_assets/store.py | 43 | def infer_local_asset_base_url(websocket: WebSocket) -> str: | CODE |
| LOW | backend/uploaded_assets/store.py | 83 | def _content_type_for_extension(extension: str) -> str: | CODE |
| LOW | backend/uploaded_assets/store.py | 208 | def persist_data_url_as_temporary_asset( | CODE |
| LOW | backend/uploaded_assets/store.py | 240 | async def persist_data_url_as_asset( | CODE |
| LOW | backend/uploaded_assets/store.py | 261 | async def promote_temporary_asset_id( | CODE |
| LOW | backend/uploaded_assets/tools.py | 49 | def summarize_save_assets_input(args: Dict[str, Any]) -> Dict[str, Any]: | CODE |
| LOW | backend/uploaded_assets/prompts.py | 41 | def append_uploaded_asset_ids_to_prompt( | STRING |
| LOW | backend/uploaded_assets/prompts.py | 52 | def append_uploaded_asset_ids_to_history( | STRING |
| LOW | backend/tests/test_status_broadcast.py | 15 | async def test_video_update_broadcasts_two_variants() -> None: | CODE |
| LOW | backend/tests/test_status_broadcast.py | 68 | async def test_image_update_broadcasts_two_variants() -> None: | CODE |
| LOW | backend/tests/test_agent_engine.py | 63 | async def test_asset_extraction_is_only_offered_for_still_image_inputs( | CODE |
| LOW | backend/tests/test_agent_engine.py | 72 | def fake_create_provider_session(**kwargs: Any) -> NoToolProviderSession: | CODE |
| LOW⚡ | backend/tests/test_screenshot.py | 8 | def test_url_without_protocol(self): | CODE |
| LOW⚡ | backend/tests/test_screenshot.py | 14 | def test_url_with_http_protocol(self): | CODE |
| LOW⚡ | backend/tests/test_screenshot.py | 19 | def test_url_with_https_protocol(self): | CODE |
| LOW⚡ | backend/tests/test_screenshot.py | 24 | def test_url_with_path_and_params(self): | CODE |
| LOW | backend/tests/test_websocket_communicator.py | 11 | async def test_send_message_ignores_already_completed_websocket() -> None: | CODE |
| LOW | backend/tests/test_websocket_communicator.py | 28 | async def test_receive_params_marks_websocket_closed_on_disconnect() -> None: | CODE |
| LOW | backend/tests/test_websocket_communicator.py | 40 | async def test_close_ignores_already_completed_websocket() -> None: | CODE |
| LOW | backend/tests/test_websocket_communicator.py | 57 | async def test_throw_error_ignores_already_completed_websocket() -> None: | CODE |
| LOW | backend/tests/test_anthropic_many_image_limit.py | 65 | def _first_prompt_image_source(session: AnthropicProviderSession) -> dict[str, Any]: | CODE |
| LOW | backend/tests/test_anthropic_many_image_limit.py | 99 | def test_initial_request_uses_stricter_limit_only_above_twenty_images( | CODE |
| LOW | backend/tests/test_anthropic_many_image_limit.py | 109 | async def test_crossing_limit_with_tool_images_resizes_history_and_future_images() -> None: | CODE |
| LOW | backend/tests/test_design_systems.py | 18 | async def test_design_system_crud_persists_to_backend_file( | CODE |
| LOW | backend/tests/test_openai_input_compare.py | 9 | def test_compare_openai_inputs_returns_none_for_identical_inputs() -> None: | CODE |
| LOW | backend/tests/test_openai_input_compare.py | 26 | def test_compare_openai_inputs_finds_first_different_block_and_field() -> None: | CODE |
| LOW | backend/tests/test_openai_input_compare.py | 70 | def test_compare_openai_inputs_accepts_raw_input_arrays() -> None: | CODE |
| LOW | backend/tests/test_capabilities.py | 8 | async def test_capabilities_reports_screenshot_preview_available( | CODE |
| LOW | backend/tests/test_capabilities.py | 22 | async def test_capabilities_reports_screenshot_preview_unavailable( | CODE |
| LOW | backend/tests/test_request_parsing.py | 4 | def test_parse_prompt_content_with_valid_data() -> None: | CODE |
| LOW | backend/tests/test_request_parsing.py | 20 | def test_parse_prompt_content_filters_invalid_media_types() -> None: | CODE |
| LOW | backend/tests/test_request_parsing.py | 36 | def test_parse_prompt_content_defaults_for_invalid_payload() -> None: | CODE |
| LOW | backend/tests/test_request_parsing.py | 42 | def test_parse_prompt_history_with_valid_entries() -> None: | CODE |
| LOW | backend/tests/test_request_parsing.py | 76 | def test_parse_prompt_history_filters_invalid_items() -> None: | CODE |
| 268 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/video/__init__.py | 1 | CODE | |
| LOW | backend/video/__init__.py | 1 | CODE | |
| LOW | backend/costs/token_usage.py | 1 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 1 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 1 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/uploaded_assets/__init__.py | 5 | CODE | |
| LOW | backend/image_generation/core.py | 1 | CODE | |
| LOW | backend/image_generation/core.py | 1 | CODE | |
| LOW | backend/agent/tools/__init__.py | 1 | CODE | |
| LOW | backend/agent/tools/__init__.py | 2 | CODE | |
| LOW | backend/agent/tools/__init__.py | 2 | CODE | |
| LOW | backend/agent/tools/__init__.py | 2 | CODE | |
| LOW | backend/agent/tools/__init__.py | 7 | CODE | |
| LOW | backend/agent/tools/__init__.py | 7 | CODE | |
| LOW | backend/agent/tools/__init__.py | 8 | CODE | |
| LOW | backend/agent/tools/__init__.py | 8 | CODE | |
| LOW | backend/agent/tools/__init__.py | 9 | CODE | |
| LOW | backend/agent/tools/__init__.py | 9 | CODE | |
| LOW | backend/agent/tools/__init__.py | 9 | CODE | |
| LOW | backend/agent/tools/runtime.py | 4 | CODE | |
| LOW | backend/agent/providers/__init__.py | 1 | CODE | |
| LOW | backend/agent/providers/__init__.py | 1 | CODE | |
| LOW | backend/agent/providers/__init__.py | 2 | CODE | |
| LOW | backend/agent/providers/__init__.py | 2 | CODE | |
| LOW | backend/agent/providers/__init__.py | 2 | CODE | |
| LOW | backend/agent/providers/__init__.py | 2 | CODE | |
| LOW | backend/agent/providers/__init__.py | 2 | CODE | |
| LOW | backend/agent/providers/__init__.py | 9 | CODE | |
| LOW | backend/agent/providers/__init__.py | 10 | CODE | |
| LOW | backend/agent/providers/__init__.py | 10 | CODE | |
| LOW | backend/agent/providers/__init__.py | 11 | CODE | |
| LOW | backend/agent/providers/__init__.py | 11 | CODE | |
| LOW | backend/agent/providers/__init__.py | 11 | CODE | |
| LOW | backend/agent/providers/types.py | 1 | CODE | |
| LOW | backend/agent/providers/types.py | 1 | CODE | |
| LOW | backend/agent/providers/types.py | 1 | CODE | |
| LOW | backend/agent/providers/anthropic/__init__.py | 1 | CODE | |
| LOW | backend/agent/providers/anthropic/__init__.py | 1 | CODE | |
| LOW | backend/agent/providers/anthropic/__init__.py | 1 | CODE | |
| LOW | backend/fs_logging/agent_runs.py | 48 | CODE | |
| LOW | backend/fs_logging/agent_runs.py | 49 | CODE | |
| LOW | backend/fs_logging/agent_runs.py | 49 | CODE | |
| LOW | backend/prompts/__init__.py | 1 | CODE | |
| LOW | backend/prompts/update/__init__.py | 1 | CODE | |
| LOW | backend/prompts/update/__init__.py | 2 | CODE | |
| LOW | backend/routes/evals.py | 4 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 12 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 12 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 13 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 14 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 14 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 14 | CODE | |
| LOW | backend/preview_screenshot/__init__.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plan.md | 61 | except Exception as e: | CODE |
| LOW | backend/asset_extraction.py | 163 | except Exception: | CODE |
| LOW | backend/run_image_generation_evals.py | 203 | except Exception as exc: | CODE |
| LOW | backend/evals/runner.py | 181 | except Exception as e: | CODE |
| LOW | backend/evals/runner.py | 370 | except Exception as e_write: | CODE |
| LOW | backend/evals/runner.py | 401 | except Exception as e_as_completed: | CODE |
| LOW⚡ | backend/evals/runner.py | 436 | except Exception as e: | CODE |
| MEDIUM⚡ | backend/evals/runner.py | 437 | print(f"Error writing timing file {timing_file_path}: {e}") | CODE |
| LOW⚡ | backend/evals/runner.py | 446 | except Exception as e: | CODE |
| MEDIUM⚡ | backend/evals/runner.py | 447 | print(f"Error writing failed tasks log {failed_log_path}: {e}") | CODE |
| LOW | backend/image_generation/replicate.py | 100 | except Exception as exc: | CODE |
| LOW | backend/agent/tools/screenshot_preview.py | 64 | except Exception as exc: | CODE |
| LOW | backend/agent/tools/parsing.py | 73 | except Exception: | CODE |
| LOW | backend/agent/tools/extract_assets.py | 94 | except Exception as exc: | CODE |
| LOW | backend/agent/providers/gemini.py | 130 | except Exception: | CODE |
| LOW | backend/agent/providers/gemini.py | 400 | except Exception as exc: | CODE |
| LOW | backend/agent/providers/openai.py | 54 | except Exception: | CODE |
| LOW | backend/fs_logging/prompt_reports.py | 146 | except Exception as e: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 224 | except Exception: | STRING |
| LOW | backend/fs_logging/agent_runs.py | 395 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 424 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 467 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 565 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 585 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 642 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 681 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 711 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 721 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 837 | except Exception as exc: | CODE |
| LOW | backend/fs_logging/agent_runs.py | 950 | except Exception as exc: | CODE |
| MEDIUM | backend/routes/generate_code.py | 186 | print(f"Error (variant {variantIndex + 1}): {value}") | CODE |
| LOW | backend/routes/generate_code.py | 443 | except Exception: | CODE |
| LOW | backend/routes/generate_code.py | 527 | except Exception: | CODE |
| LOW | backend/routes/generate_code.py | 709 | except Exception as e: | CODE |
| MEDIUM | backend/routes/generate_code.py | 710 | print(f"Error in variant {index + 1}: {e}") | CODE |
| LOW | backend/routes/generate_code.py | 865 | except Exception as e: | CODE |
| LOW | backend/routes/evals.py | 49 | except Exception as e: | CODE |
| LOW | backend/routes/evals.py | 103 | except Exception as e: | CODE |
| LOW | backend/routes/evals.py | 369 | except Exception as e: | CODE |
| LOW | backend/routes/evals.py | 504 | except Exception as e: | CODE |
| LOW | backend/routes/export.py | 357 | except Exception as exc: | CODE |
| LOW | backend/routes/screenshot.py | 105 | except Exception as e: | CODE |
| LOW | backend/debug/DebugFileWriter.py | 26 | except Exception as e: | CODE |
| LOW | backend/preview_screenshot/playwright_backend.py | 53 | except Exception as exc: | CODE |
| LOW | backend/preview_screenshot/playwright_backend.py | 85 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | backend/tests/test_token_usage.py | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/tests/test_token_usage.py | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/tests/test_token_usage.py | 106 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/tests/test_token_usage.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/tests/test_token_usage.py | 276 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/tests/test_token_usage.py | 278 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/tests/test_token_usage.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/tests/test_token_usage.py | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/tests/test_token_usage.py | 168 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/tests/test_token_usage.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/tests/test_token_usage.py | 228 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/tests/test_token_usage.py | 230 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/asset_extraction.py | 251 | except (ValidationError, TypeError, ValueError): | CODE |
| HIGH | backend/agent/tools/runtime.py | 151 | except (IndexError, ValueError): | CODE |
| HIGH | backend/agent/providers/gemini.py | 130 | except Exception: | CODE |
| HIGH | backend/routes/generate_code.py | 243 | except ( | CODE |
| HIGH | backend/routes/export.py | 230 | except ValueError: | CODE |
| HIGH | backend/preview_screenshot/playwright_backend.py | 79 | except PlaywrightTimeoutError: | CODE |
| HIGH | backend/preview_screenshot/playwright_backend.py | 85 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/utils.py | 12 | CODE | |
| LOW | backend/utils.py | 39 | CODE | |
| LOW | backend/utils.py | 100 | CODE | |
| LOW | backend/utils.py | 172 | CODE | |
| LOW | backend/evals/runner.py | 202 | CODE | |
| LOW | backend/evals/asset_extraction_benchmark.py | 571 | CODE | |
| LOW | backend/agent/engine.py | 218 | CODE | |
| LOW | backend/agent/tools/extract_assets.py | 43 | CODE | |
| LOW | backend/agent/providers/gemini.py | 136 | CODE | |
| LOW | backend/agent/providers/openai.py | 88 | CODE | |
| LOW | backend/agent/providers/openai.py | 151 | CODE | |
| LOW | backend/agent/providers/openai.py | 234 | CODE | |
| LOW | backend/agent/providers/openai.py | 154 | CODE | |
| LOW | backend/agent/providers/openai.py | 575 | CODE | |
| LOW | backend/agent/providers/anthropic/provider.py | 283 | CODE | |
| LOW | backend/agent/providers/anthropic/provider.py | 455 | CODE | |
| LOW | backend/fs_logging/agent_runs.py | 194 | CODE | |
| LOW | backend/fs_logging/agent_runs.py | 842 | CODE | |
| LOW | backend/fs_logging/openai_input_formatting.py | 96 | CODE | |
| LOW | backend/routes/prompt_reports.py | 168 | CODE | |
| LOW | backend/routes/generate_code.py | 172 | CODE | |
| LOW | backend/routes/generate_code.py | 284 | CODE | |
| LOW | backend/routes/generate_code.py | 451 | CODE | |
| LOW | backend/routes/agent_runs.py | 179 | CODE | |
| LOW | backend/routes/agent_runs.py | 229 | CODE | |
| LOW | backend/routes/evals.py | 56 | CODE | |
| LOW | backend/routes/evals.py | 401 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/asset_extraction.py | 235 | - If the described occurrence is absent, not uniquely distinguishable, substantially occluded, or cannot be isolated fro | CODE |
| HIGH | backend/evals/asset_extraction_benchmark.py | 355 | - If the asset is not visible, return {{"image_index": null, "box_2d": null, "label": "not found"}}. | CODE |
| HIGH | backend/tests/test_asset_extraction.py | 198 | assert "image_index=null, box_2d=null" in prompt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/video/__init__.py | 6 | __all__ = [ | CODE |
| LOW | backend/evals/sessions.py | 188 | def set_model_order(session_id: str, models: list[str]) -> None: | CODE |
| LOW | backend/evals/sessions.py | 204 | def set_model_notes(session_id: str, model: str, notes: str) -> None: | CODE |
| LOW | backend/uploaded_assets/__init__.py | 15 | __all__ = [ | CODE |
| LOW | backend/image_generation/core.py | 7 | __all__ = [ | CODE |
| LOW | backend/agent/tools/__init__.py | 15 | __all__ = [ | CODE |
| LOW | backend/agent/providers/__init__.py | 13 | __all__ = [ | CODE |
| LOW | backend/agent/providers/types.py | 11 | __all__ = [ | CODE |
| LOW | backend/agent/providers/anthropic/__init__.py | 7 | __all__ = [ | CODE |
| LOW | backend/prompts/__init__.py | 3 | __all__ = [ | CODE |
| LOW | backend/prompts/update/__init__.py | 4 | __all__ = [ | CODE |
| LOW | backend/prompts/create/__init__.py | 48 | __all__ = ["build_create_prompt_from_input"] | CODE |
| LOW | backend/preview_screenshot/registry.py | 16 | def set_screenshot_backend(backend: ScreenshotBackend) -> None: | CODE |
| LOW | backend/preview_screenshot/__init__.py | 21 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/tests/test_batching.py | 43 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW | backend/tests/test_batching.py | 81 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW | backend/tests/test_batching.py | 113 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW | backend/tests/test_batching.py | 146 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW | backend/tests/test_tool_image_outputs.py | 204 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW | backend/tests/test_tool_image_outputs.py | 286 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW | backend/tests/test_tool_image_outputs.py | 323 | monkeypatch.setattr("agent.tools.runtime.REPLICATE_API_KEY", "fake-key") | CODE |
| LOW⚡ | backend/tests/test_prompt_summary.py | 17 | {"role": "system", "content": "lorem ipsum dolor sit amet"}, | CODE |
| LOW⚡ | backend/tests/test_prompt_summary.py | 17 | {"role": "system", "content": "lorem ipsum dolor sit amet"}, | CODE |
| LOW | backend/tests/test_prompt_summary.py | 35 | assert "SYSTEM: lorem ipsum" in summary | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/routes/generate_code.py | 850 | # Check if all variants failed | COMMENT |
| LOW | backend/routes/screenshot.py | 20 | # Check if we have a scheme | COMMENT |
| LOW | backend/routes/screenshot.py | 28 | # Check if this might be a domain with port (like example.com:8080) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/index.css | 161 | 90deg, | COMMENT |
| LOW | frontend/src/components/select-and-edit/overlays.ts | 1 | // Devtools-style indicators for select-and-edit mode, rendered as | COMMENT |
| LOW | backend/.pre-commit-config.yaml | 1 | # See https://pre-commit.com for more information | COMMENT |
| LOW | backend/.pre-commit-config.yaml | 21 | # # entry: poetry run --directory backend pyright | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/tests/test_agent_runs.py | 93 | # Step 1: thinking + assistant deltas, one tool call | COMMENT |
| LOW | backend/tests/test_agent_runs.py | 140 | # Step 2: final assistant turn, no tools | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/tests/test_agent_runs.py | 93 | # Step 1: thinking + assistant deltas, one tool call | COMMENT |
| LOW | backend/tests/test_agent_runs.py | 140 | # Step 2: final assistant turn, no tools | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.yml | 14 | #- BACKEND_PORT=7001 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/evals/runner.py | 202 | CODE |