AI Slop Code Risk Monitor

slint-ui/slint

SlopCodeMonitor badge for slint-ui/slint Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for slint-ui/slint, a Rust project with 24,339 GitHub stars. SynthScan examined 638,500 lines of code across 2304 source files, recording 1805 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 2.9 (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.

2.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
24.3K
Stars
Rust
Language
638.5K
Lines of Code
2.3K
Files
1.8K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 12.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 4.6/100 · LOW

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

PR Review Velocity Impact 14.0/100 · LOW

Which changes need focused human review? 1805 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

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.

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 2HIGH 8MEDIUM 33LOW 1762

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 1805 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.

Over-Commented Block1058 hits · 976 pts
SeverityFileLineSnippetContext
LOW.clippy.toml1# Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/preview.rs161fn resource_url_mapper() -> Option<i_slint_compiler::ResourceUrlMapper> {COMMENT
LOWtools/lsp/host_language_search.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/host_language_search.rs41/// Hard limits on scan work. The host-language follow-up runs in aCOMMENT
LOWtools/lsp/host_language_search.rs241COMMENT
LOWtools/lsp/host_language_search.rs321/// literals, raw strings, lifetimes, or any other language construct. TheCOMMENT
LOWtools/lsp/language.rs301 InternalError,COMMENT
LOWtools/lsp/connector.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/fmt/fmt.rs2261/// ```slintCOMMENT
LOWtools/lsp/connector/remote.rs121COMMENT
LOWtools/lsp/preview/user_settings.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/preview/debug.rs101COMMENT
LOWtools/lsp/preview/outline.rs21trait Tree {COMMENT
LOWtools/lsp/preview/macos_titlebar.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/slintpad/playwright.config.ts61 },COMMENT
LOWtools/slintpad/tests/populate-command.spec.ts1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/viewer/remote.rs21// Set by CI when building the desktop and iOS binaries so users can reportCOMMENT
LOWtools/viewer/build.rs41/// attribution page of the remote viewer's idle screen (remote.rs embeds theCOMMENT
LOWtools/viewer/main.rs101 #[arg(long, value_name = "code", requires = "remote", conflicts_with = "no_pairing")]COMMENT
LOWtools/viewer/main.rs161 /// to be passed to the shell to be executed. Occurrences of `$1` will be replaced by the first argument,COMMENT
LOWtools/viewer/android/build-aab.sh1#!/bin/bashCOMMENT
LOWtools/viewer/android/build-native.sh1#!/bin/bashCOMMENT
LOWtools/viewer/android/install-aab.sh1#!/bin/bashCOMMENT
LOWtools/viewer/ci_scripts/ci_post_clone.sh1#!/bin/bashCOMMENT
LOWtools/viewer/remote/apple.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/viewer/remote/apple.rs21COMMENT
LOWtools/slint-sc-coverage/source_map.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/slint-sc-coverage/lib.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/slint-sc-coverage/main.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/slint-sc-coverage/expectations.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/slint-sc-coverage/expectations.rs21//! A caret line starts in the first column, so a point in the four columnsCOMMENT
LOWtools/compiler/main.rs41 #[value(alias = "false")]COMMENT
LOWtools/compiler/main.rs61 #[cfg_attr(feature = "cpp", doc = "'cpp' generates a C++ header.")]COMMENT
LOWtools/compiler/main.rs81 #[cfg(feature = "slint-sc")]COMMENT
LOWtools/compiler/main.rs101 #[arg(name = "file")]COMMENT
LOWtools/compiler/main.rs121 depfile: Option<std::path::PathBuf>,COMMENT
LOWtools/compiler/main.rs141 #[arg(long = "bundle-translations", name = "path")]COMMENT
LOWtools/editor/preview.rs201}COMMENT
LOWtools/editor/windows.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/editor/flatpak.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/editor/preview/outline.rs21trait Tree {COMMENT
LOWtools/editor/preview/macos_titlebar.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWdocker/sysroot-apt-install.sh1#!/bin/shCOMMENT
LOWeditors/tree-sitter-slint/grammar.js921 // A backslash that starts no known escape is a semantic error, not aCOMMENT
LOWeditors/tree-sitter-slint/run_tests.sh41COMMENT
LOWeditors/vscode/src/lsp_commands.ts1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWeditors/vscode/src/snippets.ts1// Copyright © Danny Tuppeny <danny@tuppeny.com>COMMENT
LOWtests/screenshots/anyrender.rs341 px[1] = ((px[1] as u32 * 255 / a).min(255)) as u8;COMMENT
LOWtests/screenshots/replay-anyrender.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/screenshots/fonts/convert.sh1#!/bin/bash -eCOMMENT
LOWtests/driver/driverlib/fork_harness.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/driverlib/lib.rs121 Ok(results)COMMENT
LOWtests/driver/rust/template.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/crashes.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/widgets-fluent.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/imports.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/types.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/elements.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/layout.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/lookup.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
998 more matches not shown…
Hyper-Verbose Identifiers566 hits · 509 pts
SeverityFileLineSnippetContext
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py54def test_gradient_stop_partial_hex_typing_cancels_without_source_changes(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py86def test_live_rgb_typing_preserves_edit_start_alpha(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py134def test_live_rgb_typing_recaptures_alpha_for_the_next_edit(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py167def test_opacity_scrub_cancellation_preserves_exact_alpha(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py215def test_gradient_stop_rows_edit_color_and_opacity_without_opening_stop_panel(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py255def test_gradient_stop_opacity_scrub_keeps_capture(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py326def test_stop_drag_crosses_neighbors_without_losing_capture(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py375def test_linear_canvas_activation_and_colour(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py427def test_linear_endpoint_drag_and_session_history(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py459def test_linear_double_click_and_delete(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py485def test_linear_drag_escape_restores_gesture(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py508def test_linear_axis_translation_tracks_rotated_rectangles(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py539def test_linear_layout_size_and_keyboard(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py586def test_linear_outside_click_accepts_before_selecting_another_rectangle(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py616def test_linear_external_edit_cancels_stale_draft(STRING
LOW…s/editor/ui-tests/tests/test_linear_gradient_canvas.py642def test_linear_extended_axis_round_trip(STRING
LOWtools/editor/ui-tests/tests/test_source_safety.py37def test_imported_file_edit_targets_only_nested_source(CODE
LOWtools/editor/ui-tests/tests/test_source_safety.py81def test_stale_selection_commit_is_rejected(CODE
LOWtools/editor/ui-tests/tests/test_source_safety.py102def test_stale_revision_commit_is_rejected(CODE
LOWtools/editor/ui-tests/tests/test_source_safety.py133def test_deleted_root_file_recovers_without_relaunch(CODE
LOWtools/editor/ui-tests/tests/test_source_safety.py157def test_deleted_import_recovers_without_relaunch(CODE
LOWtools/editor/ui-tests/tests/test_source_safety.py183def test_initial_broken_source_recovers_without_relaunch(CODE
LOWtools/editor/ui-tests/tests/test_wrap_in_layout.py50def test_wrap_in_layout_writes_exact_source(CODE
LOWtools/editor/ui-tests/tests/test_hover_refresh.py32def test_source_removal_clears_hover_without_pointer_motion(CODE
LOWtools/editor/ui-tests/tests/test_hover_refresh.py55def test_undo_moves_hovered_element_away_from_stationary_pointer(CODE
LOWtools/editor/ui-tests/tests/test_hover_refresh.py96def test_preview_reload_refreshes_hover_geometry_without_pointer_motion(STRING
LOWtools/editor/ui-tests/tests/test_hover_refresh.py116def test_preview_reload_updates_hover_target_without_pointer_motion(STRING
LOWtools/editor/ui-tests/tests/test_hover_refresh.py144def test_preview_reload_preserves_hover_suppression(STRING
LOWtools/editor/ui-tests/tests/test_checkable.py41def test_checkable_switch_writes_exact_source_and_shows_checked(CODE
LOWtools/editor/ui-tests/tests/test_checkable.py76def test_checked_switch_on_checkable_button_writes_exact_source(CODE
LOWtools/editor/ui-tests/tests/test_scroll_indicators.py17def test_file_selection_preserves_scrolled_row_positions(CODE
LOWtools/editor/ui-tests/tests/test_scroll_indicators.py66def test_tree_indicators_scroll_without_losing_virtualization(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py28def test_recompilation_preserves_inspector_focus_after_file_tree_navigation(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py59def test_file_tree_renames_file_inline(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py87def test_file_tree_renames_file_from_context_menu(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py115def test_file_tree_copies_path_from_context_menu(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py141def test_file_tree_saves_rename_when_focus_moves(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py172def test_file_tree_limits_rename_error_to_edited_row(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py194def test_file_tree_opens_sibling_component(CODE
LOWtools/editor/ui-tests/tests/test_navigation.py212def test_file_tree_switches_image_and_component_surfaces(CODE
LOWtools/editor/ui-tests/tests/canvas_interactions.py439def wait_for_no_rectangle_hover(window: slint_testing.Window) -> None:CODE
LOWtools/editor/ui-tests/tests/test_inspector_checked.py27def test_checked_switch_writes_exact_source(CODE
LOWtools/editor/ui-tests/tests/test_layout_spacing.py49def test_layout_scrub_previews_and_reverts(STRING
LOWtools/editor/ui-tests/tests/test_layout_spacing.py132def test_layout_bindings_are_editable_without_scrubbing(STRING
LOWtools/editor/ui-tests/tests/test_layout_spacing.py196def test_layout_numeric_input(STRING
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py36def test_radial_activation_preserves_the_actual_picker(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py108def test_ellipse_endpoint_cancel_restores_radius_and_rectangle_rotation(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py147def test_off_center_ellipse_endpoint_tracks_pointer_while_rotating_element(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py173def test_off_center_ellipse_radius_crosses_rectangle_pivot_without_rotation(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py203def test_radial_radius_save_reopen_and_history(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py240def test_ellipse_radii_save_and_reopen(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py289def test_ellipse_endpoint_rotates_rectangle_and_saves_one_edit(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py349def test_ellipse_handle_rotation_keeps_picker_and_saves_without_radius_change(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py397def test_explicit_equal_radius_ellipse_survives_stop_edit(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py427def test_shift_resize_either_ellipse_axis_makes_circle(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py472def test_dragging_circle_radius_creates_ellipse(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py510def test_ellipse_handles_keyboard_and_drag_cancel(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py550def test_ellipse_center_and_stop_save_with_history(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py586def test_radial_endpoint_rotation_saves_rectangle_and_noop_does_not_write_source(CODE
LOW…s/editor/ui-tests/tests/test_radial_gradient_canvas.py621def test_radial_stops_cross_insert_delete_and_color(CODE
506 more matches not shown…
Decorative Section Separators12 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/lsp/preview.rs168/// ┌─────────────┐COMMENT
MEDIUM⚡tools/lsp/preview.rs170/// │ └─────────────┘ │COMMENT
MEDIUM⚡tools/lsp/preview.rs172/// ┌─────────────┐ ┌─────────────┐ ┌─────────────┐COMMENT
MEDIUM⚡tools/lsp/preview.rs174/// └─────────────┘ └─────────────┘ └─────────────┘COMMENT
MEDIUM⚡tools/lsp/preview.rs177/// └───────────────────────────────────────┘COMMENT
MEDIUM⚡tools/editor/preview.rs210/// ┌─────────────┐COMMENT
MEDIUM⚡tools/editor/preview.rs212/// │ └─────────────┘ │COMMENT
MEDIUM⚡tools/editor/preview.rs214/// ┌─────────────┐ ┌─────────────┐ ┌─────────────┐COMMENT
MEDIUM⚡tools/editor/preview.rs216/// └─────────────┘ └─────────────┘ └─────────────┘COMMENT
MEDIUM⚡tools/editor/preview.rs219/// └───────────────────────────────────────┘COMMENT
MEDIUMinternal/interpreter/eval_layout.rs19// ── Value → layout-type converters ──────────────────────────────────────────COMMENT
MEDIUMinternal/interpreter/eval_layout.rs162// ── Dispatch ────────────────────────────────────────────────────────────────COMMENT
Structural Annotation Overuse25 hits · 50 pts
SeverityFileLineSnippetContext
LOWinternal/core/graphics/brush.rs672 // Step 1: Apply rotation by adding from_angle and wrapping to [0, 1) rangeCOMMENT
LOWinternal/core/graphics/brush.rs684 // Step 2: Separate duplicate positions with different colors to avoid flickeringCOMMENT
LOW⚡internal/core/graphics/brush.rs695 // Step 3: Sort by rotated positionCOMMENT
LOW⚡internal/core/graphics/brush.rs700 // Step 4: Add boundary stops at 0.0 and 1.0 if missingCOMMENT
LOWdocs/development/ffi-language-bindings.md404### Step 1: Add to Internal ModuleCOMMENT
LOWdocs/development/ffi-language-bindings.md425### Step 2: Update cbindgen (for C++)COMMENT
LOWdocs/development/ffi-language-bindings.md435### Step 3: Add C++ WrapperCOMMENT
LOWdocs/development/ffi-language-bindings.md448### Step 4: Add Python BindingCOMMENT
LOWdocs/development/ffi-language-bindings.md461### Step 5: Add Node.js BindingCOMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs353 // Step 1: Configure charge LED (register 0x69 = 105 decimal)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs360 // Step 2: Enable ALDO outputs (register 0x90 = 144 decimal)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs367 // Step 3: Configure ALDO4 voltage (register 0x95 = 149 decimal)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs387 // Step 1: Configure Port 0 Configuration (register 0x02) <- 0b00000101 (0x05)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs394 // Step 2: Configure Port 1 Configuration (register 0x03) <- 0b00000011 (0x03)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs401 // Step 3: Configure Port 0 Output (register 0x04) <- 0b00011000 (0x18)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs408 // Step 4: Configure Port 1 Output (register 0x05) <- 0b00001100 (0x0C)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs415 // Step 5: Configure register 0x11 <- 0b00010000 (0x10)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs422 // Step 6: Configure register 0x13 <- 0b11111111 (0xFF)COMMENT
LOWapi/slint-sc/tests/driver.rs246 // Step 1: Run slint-compilerCOMMENT
LOW⚡api/slint-sc/tests/driver.rs259 // Step 2: Extract test code from ```rust blocks in commentsCOMMENT
LOW⚡api/slint-sc/tests/driver.rs268 // Step 3: Create test .rs fileCOMMENT
LOW⚡api/slint-sc/tests/driver.rs274 // Step 4: Compile with rustcCOMMENT
LOW⚡api/slint-sc/tests/driver.rs288 // Step 5: Run the test binaryCOMMENT
LOW⚡api/slint-sc/tests/driver.rs295 // Step 7: Compare the screenshots against the referencesCOMMENT
LOWapi/slint-sc/tests/driver.rs341 // Step 6: The coverage of the case must be what the case states, if itCOMMENT
Verbosity Indicators22 hits · 45 pts
SeverityFileLineSnippetContext
LOWtools/lsp/preview/eval.rs324/// The purpose of this function is to be able to show some not totally useless representation ofCOMMENT
LOWtools/editor/preview/eval.rs323/// The purpose of this function is to be able to show some not totally useless representation ofCOMMENT
LOWinternal/core/graphics/brush.rs672 // Step 1: Apply rotation by adding from_angle and wrapping to [0, 1) rangeCOMMENT
LOWinternal/core/graphics/brush.rs684 // Step 2: Separate duplicate positions with different colors to avoid flickeringCOMMENT
LOW⚡internal/core/graphics/brush.rs695 // Step 3: Sort by rotated positionCOMMENT
LOW⚡internal/core/graphics/brush.rs700 // Step 4: Add boundary stops at 0.0 and 1.0 if missingCOMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs353 // Step 1: Configure charge LED (register 0x69 = 105 decimal)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs360 // Step 2: Enable ALDO outputs (register 0x90 = 144 decimal)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs367 // Step 3: Configure ALDO4 voltage (register 0x95 = 149 decimal)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs387 // Step 1: Configure Port 0 Configuration (register 0x02) <- 0b00000101 (0x05)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs394 // Step 2: Configure Port 1 Configuration (register 0x03) <- 0b00000011 (0x03)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs401 // Step 3: Configure Port 0 Output (register 0x04) <- 0b00011000 (0x18)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs408 // Step 4: Configure Port 1 Output (register 0x05) <- 0b00001100 (0x0C)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs415 // Step 5: Configure register 0x11 <- 0b00010000 (0x10)COMMENT
LOW⚡…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs422 // Step 6: Configure register 0x13 <- 0b11111111 (0xFF)COMMENT
LOWapi/slint-sc/tests/driver.rs246 // Step 1: Run slint-compilerCOMMENT
LOW⚡api/slint-sc/tests/driver.rs259 // Step 2: Extract test code from ```rust blocks in commentsCOMMENT
LOW⚡api/slint-sc/tests/driver.rs268 // Step 3: Create test .rs fileCOMMENT
LOW⚡api/slint-sc/tests/driver.rs274 // Step 4: Compile with rustcCOMMENT
LOW⚡api/slint-sc/tests/driver.rs288 // Step 5: Run the test binaryCOMMENT
LOW⚡api/slint-sc/tests/driver.rs295 // Step 7: Compare the screenshots against the referencesCOMMENT
LOWapi/slint-sc/tests/driver.rs341 // Step 6: The coverage of the case must be what the case states, if itCOMMENT
AI Slop Vocabulary12 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMtests/driver/driverlib/Cargo.toml20# The fork harness for test binaries whose tests must run on the process main thread.COMMENT
MEDIUMtests/driver/driverlib/lib.rs6#[cfg(feature = "fork-harness")]COMMENT
LOWtests/backends/Cargo.toml19# the right backend and doesn't accidentally just use the default backend!COMMENT
MEDIUMinternal/live-preview/tests/reload_imported_file.rs11#[path = "live_reload/harness.rs"]COMMENT
MEDIUMinternal/live-preview/tests/coalesced_reload.rs10#[path = "live_reload/harness.rs"]COMMENT
MEDIUMinternal/live-preview/tests/threaded_reload.rs10#[path = "live_reload/harness.rs"]COMMENT
MEDIUMinternal/live-preview/tests/reload_after_error.rs11#[path = "live_reload/harness.rs"]COMMENT
MEDIUMinternal/live-preview/tests/reload_compiler_config.rs10#[path = "live_reload/harness.rs"]COMMENT
MEDIUMinternal/renderers/software/lib.rs2558 // seamless edge (scaling each from its source extent drifted apart).COMMENT
MEDIUMscripts/slint_sc_test_suite.sh33# harness per invocation may honor it. The captured logs are parsed byCOMMENT
MEDIUM.github/workflows/node_test_reusable.yaml84 # Release is only applied to the harness that drives the node.js invocations, but neededCOMMENT
LOWapi/rs/slint/Cargo.toml75## environment, we need a replacement. Using this feature, Slint will just use static variableCOMMENT
Fake / Example Data24 hits · 32 pts
SeverityFileLineSnippetContext
LOWtools/lsp/preview/properties.rs442 && [SmolStr::new_static("text"), SmolStr::new_static("placeholder")]CODE
LOWtools/editor/preview/properties.rs420 && [SmolStr::new_static("text"), SmolStr::new_static("placeholder")]CODE
LOWapi/rs/slint/tests/text_input_long_press.rs64 let instance = setup("Lorem Ipsum Dolor Sit");CODE
LOWapi/rs/slint/tests/text_input_long_press.rs84 let instance = setup("Lorem Ipsum Dolor Sit");CODE
LOWapi/rs/slint/tests/text_input_selection_offsets.rs18 text: "Lorem Ipsum";CODE
LOWdemos/printerdemo/node/main.js36 owner: "user@example.com",CODE
LOWdemos/usecases/rust/src/lib.rs75 let message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOWdemos/usecases/rust/src/lib.rs75 let message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOW⚡demos/usecases/cpp/main.cpp22 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp22 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp27 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp27 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp32 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp32 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp37 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp37 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp42 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp42 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp47 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp47 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp52 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp52 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp57 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡demos/usecases/cpp/main.cpp57 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
Unused Imports22 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/editor/ui-tests/tests/ui_assertions.py4CODE
LOWtools/editor/ui-tests/tests/test_ui_assertions.py4CODE
LOWdocs/python/gen_mdx.py23CODE
LOWdocs/astro/src/content/code/main_game_logic.py5CODE
LOWdocs/astro/src/content/code/main_game_logic.py6CODE
LOWdocs/astro/src/content/code/main_tiles_from_python.py5CODE
LOWdocs/astro/src/content/code/main_tiles_from_python.py6CODE
LOWdocs/astro/src/content/code/main_tiles_from_python.py10CODE
LOWexamples/memory/main.py5CODE
LOWexamples/memory/main.py6CODE
LOWexamples/memory/main.py11CODE
LOWexamples/memory/main.py11CODE
LOWexamples/async-io/main.py5CODE
LOWscripts/build-demo-images.py35CODE
LOWapi/python/slint/tests/registry/e2e.py42CODE
LOWapi/python/slint/slint/__init__.py26CODE
LOWapi/python/slint/slint/__init__.py29CODE
LOWapi/python/slint/slint/__init__.py29CODE
LOWapi/python/slint/slint/__init__.py29CODE
LOWapi/python/slint/slint/__init__.py29CODE
LOWapi/python/slint/slint/__init__.py29CODE
LOWapi/python/slint/slint/__init__.py29CODE
Excessive Try-Catch Wrapping17 hits · 21 pts
SeverityFileLineSnippetContext
LOWtools/editor/ui-tests/tests/ui_driver.py200 except Exception as error:CODE
LOWtools/editor/ui-tests/tests/ui_reporting.py38 except Exception as error:CODE
LOWtools/editor/ui-tests/tests/ui_reporting.py62 except Exception as diagnostic_error:CODE
LOWtools/editor/ui-tests/tests/ui_reporting.py110 except Exception:CODE
LOWinternal/core/gdb_pretty_printers.py17 except Exception as e:CODE
LOWinternal/core/gdb_pretty_printers.py32 except Exception as e:CODE
LOWinternal/core/gdb_pretty_printers.py84 except Exception as e:CODE
LOWinternal/core/gdb_pretty_printers.py97 except Exception as e:CODE
MEDIUMinternal/core/gdb_pretty_printers.py13def to_string(self):CODE
MEDIUMinternal/core/gdb_pretty_printers.py20def children(self):CODE
MEDIUMinternal/core/gdb_pretty_printers.py81def to_string(self):CODE
MEDIUMinternal/core/gdb_pretty_printers.py87def children(self):CODE
LOWapi/python/slint/tests/test_async.py73 except Exception as e: # noqa: BLE001 -- surface any failure to the main threadCODE
LOWapi/python/slint/tests/test_async.py164 except Exception as e:CODE
LOWapi/python/slint/tests/test_async.py188 except Exception: # noqa: BLE001 -- any exception means the test failedCODE
LOWapi/python/slint/tests/test_async.py227 except Exception as e:CODE
LOWdemos/printerdemo/python/main.py77 except Exception:CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtools/editor/ui-tests/tests/editor_sync.py35except FileNotFoundError:CODE
HIGHapi/python/slint/slint/__init__.py536except ImportError:CODE
HIGHapi/python/slint/slint/__init__.py657except (NotImplementedError, RuntimeError, ValueError):CODE
HIGHapi/python/slint/slint/loop.py73except KeyError:CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/visual_editor_windows_msix.yaml264 $manifest.Package.Applications.Application.VisualElements.SetAttribute("DisplayName", $display)CODE
CRITICALapi/python/slint/tests/test_loader.py24 instance = loader.demos.printerdemo.ui.printerdemo.MainWindow()CODE
Deep Nesting19 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/editor/ui-tests/tests/ui_driver.py177CODE
LOWtools/editor/ui-tests/tests/test_rectangle_border.py101CODE
LOWtools/editor/ui-tests/tests/test_reload_diagnostics.py25CODE
LOWtools/editor/ui-tests/tests/ui_reporting.py49CODE
LOWtools/editor/ui-tests/tests/test_shadow_canvas.py294CODE
LOWtools/editor/ui-tests/tests/test_shadow_canvas.py488CODE
LOWtools/editor/ui-tests/tests/test_shadow_canvas.py658CODE
LOWtools/editor/ui-tests/tests/test_undo_redo.py157CODE
LOWtools/editor/ui-tests/tests/test_inspector.py883CODE
LOWtools/editor/ui-tests/tests/test_inspector.py1790CODE
LOWeditors/tree-sitter-slint/test-to-corpus.py24CODE
LOWinternal/core/gdb_pretty_printers.py39CODE
LOWdocs/python/gen_mdx.py191CODE
LOWdocs/python/gen_mdx.py552CODE
LOWscripts/build-demo-images.py216CODE
LOWapi/python/slint/slint/__init__.py163CODE
LOWapi/python/slint/slint/__init__.py305CODE
LOWapi/python/slint/slint/__init__.py166CODE
LOWapi/python/slint/slint/_native.py39CODE
Cross-Language Confusion4 hits · 12 pts
SeverityFileLineSnippetContext
HIGHapi/python/slint/tests/test_models.py66 "array.push(): the model ReadOnly does not support this modification" in errCODE
HIGHapi/python/slint/tests/test_models.py45 public function push-one() { ints.push(4) }STRING
HIGHapi/python/slint/tests/test_models.py371 public function push-one(value: int) { ints.push(value) }STRING
HIGHapi/python/slint/tests/test_models.py374 public function push-one-empty() { empty-ints.push(0) }STRING
Self-Referential Comments5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtests/driver/python/python.rs114 pop_front_if("# This file is auto-generated");CODE
MEDIUMinternal/compiler/generator/python.rs409 writeln!(f, "# This file is auto-generated\n")?;CODE
MEDIUMapi/python/slint/slint/__init__.py313 """This function is the low-level entry point into Slint for instantiating components. It loads the `.slint` file atSTRING
MEDIUMapi/python/slint/slint/__init__.py396 """This function is the low-level entry point into Slint for instantiating components. It loads the `.slint` file atSTRING
MEDIUMxtask/src/license_headers_check.rs173 let end_line = "# This file is distributed under the same license as the ";CODE
Modern Structural Boilerplate6 hits · 6 pts
SeverityFileLineSnippetContext
LOWapi/python/slint/tests/test_int_types.py204 def set_row_data(self, row: int, value: int) -> None:CODE
LOWapi/python/slint/slint/models.py39 def set_row_data(self, row: int, value: T) -> None:CODE
LOWapi/python/slint/slint/models.py128 def set_row_data(self, row: int, value: T) -> None:CODE
LOWapi/python/slint/slint/models.py265 def set_row_data(self, row: int, value: T) -> None:CODE
LOWapi/python/slint/slint/__init__.py584def set_xdg_app_id(app_id: str) -> None:CODE
LOWapi/python/slint/slint/__init__.py701__all__ = [CODE
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOWinternal/core/items.rs16 - Don't forget to update the documentationCODE
LOWinternal/core/model.rs145/// // don't forget to call row_changedCOMMENT
LOWinternal/backends/qt/qt_widgets.rs16 - Don't forget to update the documentationCODE
MEDIUMexamples/slide_puzzle/index.html42 build is done for demonstration purposes. Native applications are the real target of the toolkit.CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/make-screenshots.sh8# Set SLINT_VIEWER_BIN to a prebuilt host viewer; otherwise a debug build isCOMMENT
LOWscripts/make-screenshots.sh10# Set SLINT_BUILD_NUMBER to also show a build line.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/crater.yaml391 # - git_url: "https://github.com/stars-labs/mpc-wallet" # uses properties that don't exist (AI hallCOMMENT