OpenUI let's you describe UI using your imagination, then see it rendered live.
This report summarizes scanner evidence for wandb/openui, a TypeScript project with 22,720 GitHub stars. SynthScan examined 33,340 lines of code across 138 source files, recording 50 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 22 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 33 finding(s).
Which changes need focused human review? 50 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 50 distinct pattern matches across 9 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 | backend/openui/server.py | 355 | except Exception as e: | CODE |
| LOW⚡ | backend/openui/server.py | 399 | except Exception: | CODE |
| LOW⚡ | backend/openui/server.py | 407 | except Exception: | CODE |
| LOW⚡ | backend/openui/server.py | 417 | except Exception: | CODE |
| LOW⚡ | backend/openui/server.py | 425 | except Exception: | CODE |
| MEDIUM | backend/openui/server.py | 394 | def get_openai_models(): | CODE |
| MEDIUM | backend/openui/server.py | 404 | def get_ollama_models(): | CODE |
| MEDIUM | backend/openui/server.py | 412 | def get_groq_models(): | CODE |
| MEDIUM | backend/openui/server.py | 422 | def get_litellm_models(): | CODE |
| LOW | backend/openui/litellm.py | 117 | except Exception as e: | CODE |
| LOW | backend/openui/ollama.py | 75 | except Exception as e: | CODE |
| LOW | backend/openui/ollama.py | 96 | except Exception as e: | CODE |
| MEDIUM | backend/openui/ollama.py | 80 | def generator(): | CODE |
| LOW | backend/openui/__main__.py | 25 | except Exception as e: | CODE |
| LOW | backend/openui/tui/code.py | 62 | except Exception: | CODE |
| LOW | backend/openui/eval/prompt_to_img.py | 39 | except Exception as e: | CODE |
| MEDIUM | backend/openui/eval/prompt_to_img.py | 40 | print(f"Error parsing frontmatter: {e}") | CODE |
| LOW | backend/openui/eval/evaluate_weave.py | 214 | except Exception as e: | STRING |
| MEDIUM | backend/openui/eval/evaluate_weave.py | 215 | print(f"Error parsing frontmatter: {e}") | STRING |
| LOW⚡ | backend/openui/eval/promptsearch.py | 250 | except Exception as e: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/openui/server.py | 220 | async def validation_exception_handler( | CODE |
| LOW | backend/openui/server.py | 266 | async def generic_exception_handler(request: Request, exc: Exception): | CODE |
| LOW | backend/openui/util/screenshots.py | 16 | async def set_window_size_for_screenshot(page, target_width, target_height): | CODE |
| LOW | backend/openui/tui/code.py | 48 | def on_directory_tree_file_selected( | CODE |
| LOW | backend/openui/tui/markdown.py | 116 | def action_toggle_table_of_contents(self) -> None: | CODE |
| LOW | backend/openui/eval/promptsearch.py | 78 | def _extract_new_prompt_from_response(self, response: str) -> str: | CODE |
| LOW | backend/openui/eval/promptsearch.py | 108 | def mutate_template_with_learnings(self, prompt_template: str, learning_list: list) -> str: | STRING |
| LOW | backend/openui/eval/promptsearch.py | 165 | def get_learnings_from_random_rows(self, score_dataset_rows: list) -> list: | STRING |
| LOW | backend/openui/eval/promptsearch.py | 181 | def get_learnings_from_best_vs_random_rows(self, score_dataset_rows: list) -> list: | STRING |
| LOW⚡ | backend/openui/eval/promptsearch.py | 257 | def get_learnings_from_dataset_rows(self, dataset_rows: list) -> list: | STRING |
| LOW⚡ | backend/openui/eval/promptsearch.py | 262 | def _eval_prompt_model_on_dataset(self): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/openui/server.py | 112 | CODE | |
| LOW | backend/openui/server.py | 312 | CODE | |
| LOW | backend/openui/server.py | 455 | CODE | |
| LOW | backend/openui/ollama.py | 42 | CODE | |
| LOW | backend/openui/__main__.py | 14 | CODE | |
| LOW | backend/openui/eval/prompt_to_img.py | 23 | CODE | |
| LOW | backend/openui/eval/to_fine_tune.py | 100 | CODE | |
| LOW | backend/openui/eval/evaluate_weave.py | 197 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/openui/ollama.py | 16 | # data: {"id":"chatcmpl-8omUbwmXu2rsLNcpMQWB0Q9gm0RHZ","object":"chat.completion.chunk","created":1707113497,"model":"gp | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/openui/logs.py | 8 | # Create a handler for the logger (you may need to adapt this based on your needs) | COMMENT |
| MEDIUM | backend/openui/logs.py | 14 | # Create a formatter and set it for the handler | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/openui/dummy.py | 6 | CODE | |
| LOW | backend/openui/util/__init__.py | 2 | CODE | |
| LOW | backend/openui/util/__init__.py | 3 | CODE | |
| LOW | backend/openui/eval/evaluate_weave.py | 10 | CODE | |
| LOW | backend/openui/eval/promptsearch.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/openui/__main__.py | 25 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/playwright.config.ts | 61 | // }, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/openui/util/__init__.py | 13 | __all__ = ["gen_screenshots", "get_git_user_email"] | CODE |