AI Slop Code RIsk Monitor

mesop-dev/mesop

Rapidly build AI apps in Python

17.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mesop-dev/mesop, a Python project with 6,584 GitHub stars. SynthScan examined 60,020 lines of code across 862 source files, recording 892 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 17.6 (Elevated 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.

17.6
Adjusted Signal
17.6
Raw Pattern Score
100%
Time Factor
2026-09-26
Last Push
6.6K
Stars
Python
Language
60.0K
Lines of Code
862
Files
892
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 28.4/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 376 finding(s).

Hallucinated Dependency & Supply Chain Risk 27.1/100 · MEDIUM

Are imports declared and package/API names verified? 431 finding(s).

Agent Over-Engineering Ratio 39.2/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 390 finding(s).

PR Review Velocity Impact 60.5/100 · HIGH

Which changes need focused human review? 892 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

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

Severity Breakdown

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.

CRITICAL 1HIGH 28MEDIUM 37LOW 826

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 892 distinct pattern matches across 18 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.

Unused Imports386 hits · 304 pts
SeverityFileLineSnippetContext
LOWconftest.py44CODE
LOWconftest.py107CODE
LOWdemo/main.py51CODE
LOWdemo/main.py52CODE
LOWdemo/main.py53CODE
LOWdemo/main.py54CODE
LOWdemo/main.py55CODE
LOWdemo/main.py57CODE
LOWdemo/main.py58CODE
LOWdemo/main.py59CODE
LOWdemo/main.py60CODE
LOWdemo/main.py61CODE
LOWdemo/main.py62CODE
LOWdemo/main.py63CODE
LOWdemo/main.py64CODE
LOWdemo/main.py65CODE
LOWdemo/main.py66CODE
LOWdemo/main.py67CODE
LOWdemo/main.py68CODE
LOWdemo/main.py71CODE
LOWdemo/main.py72CODE
LOWdemo/main.py73CODE
LOWdemo/main.py74CODE
LOWdemo/main.py75CODE
LOWdemo/main.py76CODE
LOWdemo/main.py77CODE
LOWdemo/main.py78CODE
LOWdemo/main.py80CODE
LOWdemo/main.py81CODE
LOWdemo/main.py83CODE
LOWdemo/main.py84CODE
LOWdemo/main.py85CODE
LOWdemo/main.py86CODE
LOWdemo/main.py87CODE
LOWdemo/main.py88CODE
LOWdemo/main.py89CODE
LOWdemo/main.py90CODE
LOWdemo/main.py91CODE
LOWdemo/main.py92CODE
LOWdemo/main.py93CODE
LOWdemo/main.py94CODE
LOWdemo/main.py95CODE
LOWdemo/main.py96CODE
LOWdemo/main.py97CODE
LOWdemo/main.py98CODE
LOWdemo/main.py100CODE
LOWdemo/main.py101CODE
LOWdemo/main.py102CODE
LOWdemo/main.py104CODE
LOWdemo/main.py105CODE
LOWmesop/__init__.py6CODE
LOWmesop/__init__.py7CODE
LOWmesop/__init__.py8CODE
LOWmesop/__init__.py9CODE
LOWmesop/__init__.py10CODE
LOWmesop/__init__.py11CODE
LOWmesop/__init__.py12CODE
LOWmesop/__init__.py13CODE
LOWmesop/__init__.py14CODE
LOWmesop/__init__.py15CODE
326 more matches not shown…
Hyper-Verbose Identifiers284 hits · 298 pts
SeverityFileLineSnippetContext
LOWdemo/snackbar.py82def on_horizontal_position_change(e: me.SelectSelectionChangeEvent):CODE
LOWdemo/snackbar.py87def on_vertical_position_change(e: me.SelectSelectionChangeEvent):CODE
LOWdemo/dialog.py44def on_click_close_background(e: me.ClickEvent):CODE
LOWdemo/llm_playground.py342def on_click_add_stop_sequence(e: me.ClickEvent):CODE
LOWdemo/llm_playground.py350def on_click_remove_stop_sequence(e: me.ClickEvent):CODE
LOWdemo/llm_playground.py479def _make_modal_background_style(modal_open: bool) -> me.Style:CODE
LOWdemo/uploader.py83def _convert_contents_data_url(file: me.UploadedFile) -> str:CODE
LOW⚡demo/expansion_panel.py150def on_multi_accordion_toggle(e: me.ExpansionPanelToggleEvent):CODE
LOW⚡demo/expansion_panel.py156def on_multi_accordion_open_all(e: me.ClickEvent):CODE
LOW⚡demo/expansion_panel.py162def on_multi_accordion_close_all(e: me.ClickEvent):CODE
LOWdemo/llm_rewriter.py339def _make_style_chat_bubble_wrapper(role: Role) -> me.Style:CODE
LOWdemo/llm_rewriter.py382def _make_modal_background_style(modal_open: bool) -> me.Style:CODE
LOWdemo/fancy_chat.py459def on_click_example_user_query(e: me.ClickEvent):CODE
LOWdemo/fancy_chat.py505def on_click_theme_brightness(e: me.ClickEvent):CODE
LOWdemo/autocomplete.py51def _make_autocomplete_options() -> list[me.AutocompleteOptionGroup]:CODE
LOWdemo/copy_to_clipboard/copy_to_clipboard_component.py5def copy_to_clipboard_component(CODE
LOWmesop/labs/chat.py64def _make_style_chat_bubble_wrapper(role: Role) -> me.Style:CODE
LOWmesop/security/security_policy_test.py7def test_default_security_policy_is_valid():CODE
LOWmesop/security/security_policy_test.py12def test_disable_trusted_types_and_configuring_trusted_types_raises_exception():CODE
LOWmesop/security/security_policy_test.py24def test_configuring_trusted_types_without_disabling_trusted_types():CODE
LOWmesop/security/security_policy_test.py34def test_disabling_trusted_types_without_configuring_trusted_types():CODE
LOWmesop/web/src/shell/shell.ts370export function registerComponentRendererElement(app: ApplicationRef) {CODE
LOWmesop/features/query_params_test.py46def test_query_params_getitem():CODE
LOWmesop/features/query_params_test.py62def test_query_params_get_all():CODE
LOWmesop/features/query_params_test.py75def test_query_params_delitem():CODE
LOWmesop/features/query_params_test.py84def test_query_params_setitem():CODE
LOWmesop/runtime/node_tree_state_test.py7def create_default_single_component():CODE
LOWmesop/runtime/node_tree_state_test.py27def test_set_previous_node_from_current_node():CODE
LOWmesop/runtime/node_tree_state_test.py59def test_save_current_node_as_slot():CODE
LOWmesop/runtime/node_tree_state_test.py77def test_save_current_node_as_slot_with_name():CODE
LOWmesop/runtime/node_tree_state_test.py91def test_multiple_save_current_node_as_slot():CODE
LOWmesop/runtime/node_tree_state_test.py107def test_clear_node_slots_to_first_null_slot():CODE
LOWmesop/runtime/runtime.py162 def register_native_component_fn(self, component_fn: Callable[..., Any]):CODE
LOWmesop/runtime/runtime.py165 def check_register_web_component_is_valid(self) -> None:CODE
LOW⚡mesop/runtime/context.py127 def set_previous_node_from_current_node(self) -> None:CODE
LOW⚡mesop/runtime/context.py394 def save_current_node_as_slot(self, name: str = "") -> None:CODE
LOW⚡mesop/runtime/context.py397 def clear_node_slots_to_first_null_slot(self) -> None:CODE
LOW⚡mesop/runtime/context.py403 def set_previous_node_from_current_node(self) -> None:CODE
LOWmesop/runtime/context.py94 def save_current_node_as_slot(self, name: str = "") -> None:CODE
LOWmesop/runtime/context.py106 def clear_node_slots_to_first_null_slot(self) -> None:CODE
LOWmesop/runtime/context.py435 def restore_state_from_session(self, state_token: str):CODE
LOWmesop/runtime/context.py447 def clear_stale_state_sessions(self):CODE
LOWmesop/server/server.py207 def maybe_append_apply_cookies_command() -> None:CODE
LOWmesop/server/server.py511 def teardown_clear_stale_state_sessions(error=None):CODE
LOWmesop/server/static_file_serving.py81def configure_static_file_serving(STRING
LOWmesop/server/state_session_test.py53def state_session_backend_factory(tmp_path, sqlite_backend):CODE
LOWmesop/server/state_session_test.py74def test_create_state_session_from_config(backend, expected_backend):CODE
LOWmesop/server/state_session_test.py81def test_create_state_session_file():CODE
LOW⚡mesop/server/state_session_test.py93def test_null_backend_restore_raises_exception():CODE
LOW⚡mesop/server/state_session_test.py101def test_null_backend_save_is_noop():CODE
LOW⚡mesop/server/state_session_test.py106def test_null_backend_clear_stale_sessions_is_noop():CODE
LOW⚡mesop/server/state_session_test.py112def test_backend_restore_token_not_found_returns_exception(CODE
LOWmesop/server/state_session_test.py123def test_backend_save_and_restore_states(CODE
LOWmesop/server/state_session_test.py147def test_backend_token_is_cleared_after_restore(CODE
LOWmesop/server/state_session_test.py171def test_memory_backend_clear_stale_sessions():CODE
LOW⚡mesop/server/state_session_test.py210def test_file_backend_rejects_path_traversal_token(tmp_path, malicious_token):CODE
LOW⚡mesop/server/state_session_test.py216def test_file_backend_accepts_valid_token(tmp_path):CODE
LOW⚡mesop/server/state_session_test.py224def test_file_backend_clear_stale_sessions_not_stale(tmp_path):CODE
LOWmesop/server/state_session_test.py244def test_file_backend_clear_stale_sessions(tmp_path):CODE
LOWmesop/server/state_session_test.py271def test_file_backend_clear_stale_sessions_skipped(tmp_path):CODE
224 more matches not shown…
Decorative Section Separators34 hits · 135 pts
SeverityFileLineSnippetContext
MEDIUMmesop/pip_package/setup.py14# ==============================================================================COMMENT
MEDIUMmesop/pip_package/deterministic_tar_gz.py14# ==============================================================================COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py22# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py24# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py50# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py52# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py92# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py94# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py131# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py133# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py159# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/set_cookie_test.py161# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py36# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py38# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py70# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py142# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py157# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py159# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py213# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py215# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py274# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mesop/commands/cookie_class_test.py276# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class_test.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class_test.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py215# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py217# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py306# ---------------------------------------------------------------------------COMMENT
MEDIUMmesop/commands/cookie_class.py308# ---------------------------------------------------------------------------COMMENT
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHdemo/llm_rewriter.py0generates styles for chat bubble position. args: role: chat bubble alignment depends on the roleSTRING
HIGHmesop/labs/chat.py0generates styles for chat bubble position. args: role: chat bubble alignment depends on the roleSTRING
HIGHmesop/examples/inlined_chat.py0generates styles for chat bubble position. args: role: chat bubble alignment depends on the roleSTRING
HIGHmesop/examples/web_component/chartjs/chartjs_chat.py0generates styles for chat bubble position. args: role: chat bubble alignment depends on the roleSTRING
HIGHdemo/leaflet/leaflet_component.py0a web component wrapper for a google map. args: center: initial map center as a tuple (latitude, longitude). zoom: initiSTRING
HIGH…op/examples/web_component/leaflet/leaflet_component.py0a web component wrapper for a google map. args: center: initial map center as a tuple (latitude, longitude). zoom: initiSTRING
HIGH…les/web_component/google_maps/google_maps_component.py0a web component wrapper for a google map. args: center: initial map center as a tuple (latitude, longitude). zoom: initiSTRING
HIGHdemo/leaflet/app.py0proof of concept of a webcomponent wrapper that adds google maps support. note: does not implement full interactions witSTRING
HIGHmesop/examples/web_component/leaflet/leaflet_app.py0proof of concept of a webcomponent wrapper that adds google maps support. note: does not implement full interactions witSTRING
HIGH…/examples/web_component/google_maps/google_maps_app.py0proof of concept of a webcomponent wrapper that adds google maps support. note: does not implement full interactions witSTRING
HIGHmesop/labs/chat.py0generates styles for chat bubble. args: role: chat bubble background color depends on the roleSTRING
HIGHmesop/examples/inlined_chat.py0generates styles for chat bubble. args: role: chat bubble background color depends on the roleSTRING
HIGHmesop/examples/web_component/chartjs/chartjs_chat.py0generates styles for chat bubble. args: role: chat bubble background color depends on the roleSTRING
HIGHmesop/labs/chat.py0creates a simple chat ui which takes in a prompt and chat history and returns a response to the prompt. this function crSTRING
HIGHmesop/examples/inlined_chat.py0creates a simple chat ui which takes in a prompt and chat history and returns a response to the prompt. this function crSTRING
HIGHmesop/examples/web_component/chartjs/chartjs_chat.py0creates a simple chat ui which takes in a prompt and chat history and returns a response to the prompt. this function crSTRING
Deep Nesting53 hits · 50 pts
SeverityFileLineSnippetContext
LOWdemo/bootstrap.py13CODE
LOWdemo/snackbar.py117CODE
LOWdemo/context_menu.py61CODE
LOWdemo/feedback.py33CODE
LOWdemo/llm_playground.py50CODE
LOWdemo/uploader.py22CODE
LOWdemo/markdown_editor.py39CODE
LOWdemo/grid_table.py413CODE
LOWdemo/tailwind.py96CODE
LOWdemo/tab_group.py101CODE
LOWdemo/llm_rewriter.py44CODE
LOWdemo/fancy_chat.py79CODE
LOWdemo/fancy_chat.py211CODE
LOWdemo/headers.py17CODE
LOWdemo/main.py363CODE
LOWdemo/main.py528CODE
LOWdemo/main.py635CODE
LOWdemo/main.py711CODE
LOWdemo/copy_to_clipboard/app.py27CODE
LOWdemo/async_action/app.py36CODE
LOWmesop/labs/text_to_image.py13CODE
LOWmesop/labs/text_to_text.py39CODE
LOWmesop/labs/text_to_text.py62CODE
LOWmesop/labs/chat.py124CODE
LOWmesop/runtime/context.py461CODE
LOWmesop/server/server.py167CODE
LOWmesop/server/server.py295CODE
LOWmesop/server/static_file_serving.py81CODE
LOWmesop/server/static_file_serving.py216CODE
LOWmesop/server/state_session.py396CODE
LOWmesop/server/state_session.py181CODE
LOWmesop/server/server_utils.py107CODE
LOWmesop/utils/url_utils.py26CODE
LOWmesop/component_helpers/helper_test.py256CODE
LOWmesop/components/uploader/e2e/uploader_multiple_app.py12CODE
LOWmesop/examples/inlined_chat.py155CODE
LOWmesop/examples/named_nested_slot.py11CODE
LOW…sop/examples/web_component/chartjs/chartjs_chat_app.py153CODE
LOWmesop/examples/web_component/chartjs/chartjs_chat.py46CODE
LOW…b_component/copy_to_clipboard/copy_to_clipboard_app.py24CODE
LOW…xamples/web_component/async_action/async_action_app.py32CODE
LOWmesop/examples/web_component/gemini_live/demo.py189CODE
LOWmesop/examples/web_component/gemini_live/demo.py214CODE
LOWmesop/examples/web_component/gemini_live/demo.py234CODE
LOWmesop/examples/shared/navmenu.py29CODE
LOWmesop/examples/testing/complex_layout.py20CODE
LOWmesop/examples/testing/complex_slots.py29CODE
LOWmesop/examples/starter_kit/starter_kit.py172CODE
LOWmesop/dataclass_utils/dataclass_utils.py55CODE
LOWmesop/dataclass_utils/dataclass_utils.py140CODE
LOWmesop/dataclass_utils/dataclass_utils.py218CODE
LOWshowcase/main.py198CODE
LOWshowcase/main.py323CODE
Fake / Example Data40 hits · 43 pts
SeverityFileLineSnippetContext
LOWdemo/card.py39 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py39 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py56 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py56 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py73 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py73 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py88 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py88 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py102 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/card.py102 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py51 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py51 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py65 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py65 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py79 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py79 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py103 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py103 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py115 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py115 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py127 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py127 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricCODE
LOWdemo/expansion_panel.py139 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricieCODE
LOWdemo/expansion_panel.py139 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricieCODE
LOWdemo/llm_rewriter.py224 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWdemo/llm_rewriter.py224 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWdemo/copy_to_clipboard/app.py6Lorem ipsum odor amet, consectetuer adipiscing elit. Libero maecenas curaeCODE
LOWmesop/components/card/e2e/card_test.ts18 'Lorem ipsum dolor sit amet',CODE
LOWmesop/components/card/e2e/card_test.ts18 'Lorem ipsum dolor sit amet',CODE
LOWmesop/components/card/e2e/card_app.py20 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricieCODE
LOWmesop/components/card/e2e/card_app.py20 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sed augue ultricies, laoreet nunc eget, ultricieCODE
LOW…b_component/copy_to_clipboard/copy_to_clipboard_app.py7Lorem ipsum odor amet, consectetuer adipiscing elit. Libero maecenas curaeCODE
LOWmesop/examples/testing/minimal_chat.py5@me.page(path="/testing/minimal_chat", title="Lorem Ipsum Chat")CODE
LOWmesop/examples/testing/minimal_chat.py7 mel.chat(transform, title="Lorem Ipsum Chat", bot_user="Lorem Ipsum Bot")CODE
LOW⚡mesop/examples/e2e/chat_test.ts10 await page.locator('//input').fill('Lorem ipsum');CODE
LOW⚡mesop/examples/e2e/chat_test.ts16 expect(page.locator('//div[text()="Lorem ipsum"]')).toHaveCount(1);CODE
LOW⚡mesop/examples/e2e/chat_test.ts17 await expect(page.locator('//div[text()="Lorem Ipsum Bot"]')).toHaveCount(1);CODE
LOW⚡mesop/examples/e2e/chat_test.ts30 await page.locator('//input').fill('Dolor sit amet');CODE
LOW⚡mesop/examples/e2e/chat_test.ts35 await expect(page.locator('//div[text()="Dolor sit amet"]')).toHaveCount(1);CODE
LOW⚡mesop/examples/e2e/chat_test.ts36 await expect(page.locator('//div[text()="Lorem Ipsum Bot"]')).toHaveCount(2);CODE
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHconftest.py47except ImportError:CODE
HIGHconftest.py110except ImportError:CODE
HIGHdemo/llm_playground.py314except ValueError:CODE
HIGHdemo/llm_playground.py332except ValueError:CODE
HIGHmesop/utils/async_utils.py23except StopAsyncIteration:CODE
HIGHmesop/dataclass_utils/dataclass_utils.py283except ImportError:CODE
Modern Structural Boilerplate18 hits · 22 pts
SeverityFileLineSnippetContext
LOWmesop/warn/warn.py3logger = logging.getLogger(__name__)CODE
LOWmesop/features/theme.py10def set_theme_density(density: Literal[0, -1, -2, -3, -4]) -> None:CODE
LOWmesop/features/theme.py22def set_theme_mode(theme_mode: ThemeMode) -> None:CODE
LOW⚡mesop/runtime/context.py124 def set_current_node(self, node: pb.Component) -> None:CODE
LOW⚡mesop/runtime/context.py127 def set_previous_node_from_current_node(self) -> None:CODE
LOW⚡mesop/runtime/context.py336 def set_theme_density(self, density: int) -> None:CODE
LOW⚡mesop/runtime/context.py341 def set_theme_mode(self, theme_mode: pb.ThemeMode.ValueType) -> None:CODE
LOW⚡mesop/runtime/context.py346 def set_theme_settings(self, settings: pb.ThemeSettings) -> None:CODE
LOW⚡mesop/runtime/context.py385 def set_node_tree_state(self, node_tree_state: NodeTreeState) -> None:CODE
LOW⚡mesop/runtime/context.py400 def set_current_node(self, node: pb.Component) -> None:CODE
LOW⚡mesop/runtime/context.py403 def set_previous_node_from_current_node(self) -> None:CODE
LOWmesop/runtime/context.py28logger = logging.getLogger(__name__)CODE
LOWmesop/runtime/context.py186 def set_has_rendered(self, has_rendered: bool) -> None:CODE
LOWmesop/runtime/context.py266 def set_page_title(self, title: str) -> None:CODE
LOWmesop/runtime/context.py451 def update_state(self, states: pb.States) -> None:CODE
LOWmesop/server/server.py55logger = logging.getLogger(__name__)CODE
LOWmesop/commands/set_cookie.py8logger = logging.getLogger(__name__)CODE
LOWmesop/commands/set_page_title.py4def set_page_title(title: str) -> None:CODE
AI Structural Patterns21 hits · 21 pts
SeverityFileLineSnippetContext
LOWmesop/server/server.py467CODE
LOWmesop/server/server_debug_routes.py26CODE
LOWmesop/components/uploader/uploader.py60CODE
LOWmesop/components/uploader/uploader.py102CODE
LOWmesop/components/radio/radio.py46CODE
LOWmesop/components/autocomplete/autocomplete.py86CODE
LOWmesop/components/input/input.py110CODE
LOWmesop/components/input/input.py196CODE
LOWmesop/components/input/input.py290CODE
LOWmesop/components/datepicker/datepicker.py42CODE
LOWmesop/components/date_range_picker/date_range_picker.py45CODE
LOWmesop/components/checkbox/checkbox.py60CODE
LOWmesop/components/checkbox/checkbox.py109CODE
LOWmesop/components/slider/slider.py38CODE
LOWmesop/components/button/button.py16CODE
LOWmesop/components/expansion_panel/expansion_panel.py36CODE
LOWmesop/components/select/select.py81CODE
LOWmesop/components/slide_toggle/slide_toggle.py36CODE
LOWmesop/components/slide_toggle/slide_toggle.py81CODE
LOWmesop/components/badge/badge.py11CODE
LOWmesop/examples/web_component/gemini_live/gemini_live.py11CODE
Magic Placeholder Names2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH…les/web_component/google_maps/google_maps_component.js8// **IMPORTANT:** Replace 'YOUR_API_KEY' with your actual Google Maps API KeyCOMMENT
HIGH…les/web_component/google_maps/google_maps_component.js9const GOOGLE_MAPS_API_KEY = 'YOUR_API_KEY';CODE
Excessive Try-Catch Wrapping11 hits · 11 pts
SeverityFileLineSnippetContext
LOWmesop/bin/bin.py188 except Exception as e:CODE
LOWmesop/bin/bin.py266 except Exception as e:CODE
LOWmesop/server/server.py266 except Exception as e:CODE
LOWmesop/server/server.py425 except Exception as e:CODE
LOWmesop/server/server.py575 except Exception as parse_error:CODE
LOWmesop/server/server.py596 except Exception as e:CODE
LOWmesop/utils/host_util.py40 except Exception:CODE
LOWmesop/cli/cli.py72 except Exception as e:CODE
LOWmesop/cli/cli.py112 except Exception as e:CODE
LOWdocs/guides/auth.md82 except Exception:CODE
LOWdocs/guides/auth.md526 except Exception:CODE
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWdemo/hotkeys/hotkeys_component.js41 if (COMMENT
LOWmesop/pip_package/build_pip_package.sh1#!/bin/shCOMMENT
LOWmesop/pip_package/setup.py1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWmesop/pip_package/deterministic_tar_gz.py1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.COMMENT
LOWmesop/server/server.py521 sock = Sock(flask_app)COMMENT
LOWmesop/server/wsgi_app.py61 # Lazily create and reuse a flask app instance to avoidCOMMENT
LOWmesop/server/state_session.py241 "You can create a TTL policy by running this command: \n\n"COMMENT
LOWmesop/components/input/input.ts121 // menu item. The user will then need to press "enter" to confirm the selection (atCOMMENT
LOW…op/examples/web_component/hotkeys/hotkeys_component.js41 if (COMMENT
LOWbuild_defs/requirements_lock.txt361 # viaCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALmesop/web/src/component_renderer/component_renderer.ts289 this.insertionRef.element.nativeElement.parentElement.appendChild(CODE
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHmesop/dataclass_utils/dataclass_utils.py401 if not level.t1.equals(level.t2):CODE
HIGHmesop/dataclass_utils/dataclass_utils_test.py399 assert pandas_dataframe_state.val.equals(CODE
AI Response Leakage2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/web-components/troubleshooting.md22If you see this error message, then you will need to update your page's [Security Policy](../api/page.md#mesop.security.CODE
HIGHdocs/web-components/troubleshooting.md42If you see this error message, then you will need to update your page's [Security Policy](../api/page.md#mesop.security.CODE
Self-Referential Comments3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMmesop/server/static_file_serving.py155 # Create a BytesIO object from the modified linesSTRING
MEDIUM…ples/web_component/quickstart/counter_component_app.py34 # Creating a Pydantic model from the JSON value of the WebEventCOMMENT
MEDIUM…web_component/custom_font_csp_repro/custom_font_app.py43 # Creating a Pydantic model from the JSON value of the WebEventCOMMENT
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOWmesop/server/static_file_serving_test.py44 # Check if the ungzipped data is correctCOMMENT
LOWmesop/dataclass_utils/diff_state_test.py1088 }, # Check if value is base64 encoded without asserting exact valueCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdemo/fancy_chat.py541 # We make sure to only pass in the chat history up to this message.COMMENT