Repository Analysis

makepad/makepad

Makepad is a creative software development platform for Rust that compiles to wasm/webGL, osx/metal, windows/dx11 linux/opengl

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of makepad/makepad, a Rust project with 6,490 GitHub stars. SynthScan v2.0 examined 1,672,696 lines of code across 3655 source files, recording 4675 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-10
Last Push
6.5K
Stars
Rust
Language
1.7M
Lines of Code
3.7K
Files
4.7K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

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

CRITICAL 25HIGH 6MEDIUM 73LOW 4571

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 4675 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block4418 hits · 3730 pts
SeverityFileLineSnippetContext
LOWCargo.toml201#opt-level = 3COMMENT
LOWCargo.toml221#opt-level = 3COMMENT
LOWdownload_tts.sh1#!/usr/bin/env bashCOMMENT
LOWstudio/desktop/src/desktop_terminal_view.rs141 #[redraw]COMMENT
LOWstudio/desktop/src/desktop_run_view.rs161#[derive(Script, Widget)]COMMENT
LOWstudio/desktop/src/desktop_run_view.rs181 #[redraw]COMMENT
LOWtools/cargo_publish.sh1DRYRUN=${1:---dry-run}COMMENT
LOWtools/cargo_publish.sh21#cargo publish $DRYRUN --allow-dirty -p makepad-derive-liveCOMMENT
LOWtools/cargo_publish.sh41COMMENT
LOWtools/cargo_publish.sh61#cargo publish $DRYRUN --allow-dirty -p makepad-rustybuzzCOMMENT
LOWtools/cargo_publish.sh81#cargo publish $DRYRUN --allow-dirty -p makepad-fonts-chinese-regularCOMMENT
LOWtools/cargo_publish.sh101#echo "---- PUBLISHING makepad-audio-graph----" COMMENT
LOWtools/cargo_publish.sh121#echo "---- PUBLISHING makepad-file-protocol----" COMMENT
LOWtools/open_harmony/deveco/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWtools/cargo_makepad/src/utils.rs281COMMENT
LOWtools/cargo_makepad/src/android/compile.rs801 /// Android package id (`com.foo.bar`). Becomes both the manifest `package=`COMMENT
LOWtools/cargo_makepad/src/android/compile.rs1881 (build_paths.dst_apk.to_str().unwrap()),COMMENT
LOW…/android/java/dev/makepad/android/MakepadActivity.java181COMMENT
LOW…/android/java/dev/makepad/android/MakepadActivity.java241 this.right = right;COMMENT
LOW…/android/java/dev/makepad/android/MakepadActivity.java2021 public void showKeyboard(final boolean show) {COMMENT
LOWplatform/studio/src/cursor.rs1use makepad_micro_serde::*;COMMENT
LOWplatform/studio/src/cursor.rs21 // |COMMENT
LOWplatform/studio/src/cursor.rs41 Arrow,COMMENT
LOWplatform/studio/src/cursor.rs61 // |******|COMMENT
LOWplatform/studio/src/cursor.rs81 // * * * *COMMENT
LOWplatform/studio/src/cursor.rs101 // * *COMMENT
LOWplatform/studio/src/cursor.rs121 // | |COMMENT
LOWplatform/studio/src/cursor.rs141 // * *COMMENT
LOWplatform/studio/src/cursor.rs161COMMENT
LOWplatform/studio/src/cursor.rs221 // ^COMMENT
LOWplatform/studio/src/mouse.rs41 /// to be pressed simultaneously during a given input event.COMMENT
LOWplatform/studio/src/mouse.rs101 /// Returns true if the back mouse button is pressed.COMMENT
LOWplatform/studio/src/mouse.rs121 /// Returns a `MouseButton` bit mask based on the raw button value: `1 << raw`.COMMENT
LOWplatform/script/derive/src/derive_scriptable.rs181COMMENT
LOWplatform/script/src/opcodes.rs1//! Opcode execution for the script virtual machineCOMMENT
LOWplatform/script/src/heap.rs61impl ScriptHeap {COMMENT
LOWplatform/script/src/gen_index.rs1/// Generational index system for detecting use-after-free bugs.COMMENT
LOWplatform/script/src/apply.rs121}COMMENT
LOWplatform/script/src/apply.rs181 /// LiveEdit hot-reload (`Apply::Reload`) or a `request_script_reapply`-drivenCOMMENT
LOWplatform/src/media_plugin.rs81 /// Updated buffered time ranges (seconds).COMMENT
LOWplatform/src/permission.rs1#[derive(Debug, Clone, Copy, PartialEq)]COMMENT
LOWplatform/src/permission.rs21 /// Required on: Android Quest for scene data, environment depth, and passthrough occlusion.COMMENT
LOWplatform/src/permission.rs41 /// - User denied the permission once but didn't trigger the "implicit don't ask again"COMMENT
LOWplatform/src/window.rs381 pub position: Option<Vec2d>,COMMENT
LOWplatform/src/gl_render_bridge.rs21use crate::os::linux::gl_sys;COMMENT
LOWplatform/src/id_pool.rs101 /// Allocates an item in the pool, potentially reusing an existing slot.COMMENT
LOWplatform/src/perf_monitor.rs1//! Main-thread frame monitor feeding the PerfGraph widget (widgets crate).COMMENT
LOWplatform/src/live_reload.rs81 self.pending_filesCOMMENT
LOWplatform/src/ui_runner.rs1use crate::*;COMMENT
LOWplatform/src/cx.rs141 /// When true, the next event-loop iteration will fire `Event::LiveEdit`,COMMENT
LOWplatform/src/cx.rs321 OsType::OpenHarmony(params) => Some(params.cache_dir.clone()),COMMENT
LOWplatform/src/cursor.rs1use crate::{COMMENT
LOWplatform/src/cursor.rs21 #[pick]COMMENT
LOWplatform/src/cursor.rs41 // * *COMMENT
LOWplatform/src/cursor.rs61COMMENT
LOWplatform/src/cursor.rs81 // | \ |COMMENT
LOWplatform/src/cursor.rs101 Grabbing,COMMENT
LOWplatform/src/cursor.rs121 ContextMenu,COMMENT
LOWplatform/src/cursor.rs141 // * * | / |COMMENT
LOWplatform/src/cursor.rs161 NoDrop,COMMENT
4358 more matches not shown…
Hallucination Indicators25 hits · 265 pts
SeverityFileLineSnippetContext
CRITICALplatform/script/std/src/task.rs63 std.data.tasks.hooks.on_thread_completed.push(hook);CODE
CRITICALplatform/script/std/src/task.rs76 std.data.tasks.hooks.pump.push(hook);CODE
CRITICALplatform/script/std/src/task.rs92 let hooks = std.data.tasks.hooks.on_thread_completed.clone();CODE
CRITICALplatform/script/std/src/task.rs101 let hooks = std.data.tasks.hooks.pump.clone();CODE
CRITICALplatform/script/src/shader_vars.rs500 if let Some(pod_ty) = vm.bx.code.builtins.pod.value_to_exact_type(value) {CODE
CRITICALplatform/script/src/shader.rs761 if let Some(pod_ty) = vm.bx.code.builtins.pod.value_to_exact_type(value) {CODE
CRITICALplatform/script/src/shader_output.rs416 if let Some(pod_ty) = vm.bx.code.builtins.pod.value_to_exact_type(value) {CODE
CRITICALplatform/script/src/opcodes_control.rs198 .new_with_proto(self.bx.code.builtins.range.into());CODE
CRITICALplatform/script/src/opcodes_loops.rs106 .has_proto(obj, self.bx.code.builtins.range.into());CODE
CRITICALplatform/script/src/opcodes_loops.rs203 .has_proto(obj, self.bx.code.builtins.range.into())CODE
CRITICALxr/src/bin/manual_align.rs976 .and_then(|loaded| loaded.pair.local_descriptor.descriptor.height_map.clone());CODE
CRITICALold/studio/src/app.rs216 for build in self.data.build_manager.active.builds.values() {CODE
CRITICALlibs/box3d/src/recording.rs1420 hash = (hash ^ sim.transform.q.v.x.to_bits() as u64).wrapping_mul(prime);CODE
CRITICALlibs/box3d/src/recording.rs1421 hash = (hash ^ sim.transform.q.v.y.to_bits() as u64).wrapping_mul(prime);CODE
CRITICALlibs/box3d/src/recording.rs1422 hash = (hash ^ sim.transform.q.v.z.to_bits() as u64).wrapping_mul(prime);CODE
CRITICAL…dows/windows-rs/src/extensions/Win32/System/Variant.rs109 if from.Anonymous.Anonymous.vt == VT_UNKNOWN && !from.Anonymous.Anonymous.Anonymous.punkVal.is_none() {CODE
CRITICAL…dows/windows-rs/src/extensions/Win32/System/Variant.rs270 if from.Anonymous.Anonymous.vt == VT_DISPATCH && !from.Anonymous.Anonymous.Anonymous.pdispVal.is_none() {CODE
CRITICAL…ws-rs/src/extensions/Win32/System/StructuredStorage.rs97 if from.Anonymous.Anonymous.vt == VT_UNKNOWN && !from.Anonymous.Anonymous.Anonymous.punkVal.is_none() {CODE
CRITICAL…ws-rs/src/extensions/Win32/System/StructuredStorage.rs258 if from.Anonymous.Anonymous.vt == VT_DISPATCH && !from.Anonymous.Anonymous.Anonymous.pdispVal.is_none() {CODE
CRITICALlibs/mlx/src/core/model.rs875 self.snapshot.config.quantization.mode.as_str()CODE
CRITICALlibs/mlx/src/multimodal/vision.rs454 let root = self.weights.snapshot.paths.root_dir.to_string_lossy();CODE
CRITICALlibs/mlx/src/multimodal/vision.rs505 let root = self.weights.snapshot.paths.root_dir.to_string_lossy();CODE
CRITICALexamples/gamemaker/src/game_view.rs2343 let slice = self.draw_alpha.cube.cube.draw_vars.as_slice();CODE
CRITICALexamples/gamemaker/src/game_view.rs2538 && self.draw_alpha.cube.cube.draw_vars.can_instance();CODE
CRITICALexamples/gamemaker/src/game_view.rs2796 if let Some(mi) = self.draw_alpha.cube.cube.many_instances.take() {CODE
Decorative Section Separators52 hits · 155 pts
SeverityFileLineSnippetContext
MEDIUMtools/tui_test/src/main.rs37 // ─── Terminal size via ioctl ─────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs74 // ─── Raw terminal mode (termios) ────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs167 // ─── Raw byte I/O ───────────────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs199 // ─── Input parsing ──────────────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs285 // ─── CWD display ────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs301 // ─── Rendering constants ────────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs351 // ─── App state ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs579 // ─── Terminal guard (setup + cleanup) ───────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs616 // ─── Cursor position query ──────────────────────────────────────────────────COMMENT
MEDIUMtools/tui_test/src/main.rs661 // ─── Main ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/shader.rs320// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/shader.rs322// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/shader.rs999// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/shader.rs1001// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs19// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs21// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs40// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs42// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs585// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs587// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs1202// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/headless/raster.rs1204// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs37// ── GUIDs ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs57// ── Raw FFI ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs91// ── COM vtable definitions ─────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs192// ── TransferVideoFrame helper structs ──────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs221// ── IMFMediaEngineNotify callback ──────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs310// ── Helper: raw COM Release ────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs321// ── Engine creation on MTA thread ──────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs485// ── WindowsVideoPlayer ────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/src/os/windows/windows_video_playback.rs693 // ── Public API ─────────────────────────────────────────────────────────────COMMENT
MEDIUMlibs/vulkan/naga/src/front/wgsl/parse/lexer.rs1009 /// D(𝐡) = ───────────────────────────────────────────────────COMMENT
MEDIUMlibs/vulkan/naga/src/front/wgsl/parse/lexer.rs1014 Token::DocComment("/// D(𝐡) = ───────────────────────────────────────────────────"),CODE
MEDIUMlibs/zune/zune-bmp/src/decoder.rs756 // ┌───────────────┐COMMENT
MEDIUMlibs/zune/zune-bmp/src/decoder.rs761 // └───────────────┘COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs1245 // ── setup ───────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs1335 // ── script isolate ──────────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs1524 // ── logs / agent files ──────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs1573 // ── agent RPC (peek / test) ─────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs1754 // ── the fixed-step tick ─────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs2149 // ── camera / render ─────────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs2809// ── unit shape geometries ───────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs2997// ── the script API dispatcher ───────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs4460 // ── writable camera (the chase-cam API, features.md §1) ─────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs4506 // ── spatial queries (features.md §7) ─────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs4579 // ── save/load (features.md §9): best laps survive edits ─────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs4661 // ── HUD extras (features.md §13) ─────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs4855// ── physics ─────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/gamemaker/src/game_view.rs5110// ── widget plumbing ─────────────────────────────────────────────────────COMMENT
MEDIUMdraw/src/shader/draw_pbr.rs2166 // ── 1. SIX FLAT FACES ──────────────────────────────────────────────COMMENT
MEDIUMdraw/src/shader/draw_pbr.rs2243 // ── 2. TWELVE EDGES ────────────────────────────────────────────────COMMENT
MEDIUMdraw/src/shader/draw_pbr.rs2374 // ── 3. EIGHT CORNERS ───────────────────────────────────────────────COMMENT
Verbosity Indicators54 hits · 94 pts
SeverityFileLineSnippetContext
LOWplatform/src/os/windows/d3d11.rs598 // Step 1: adopt any background compiles that finished since the lastCOMMENT
LOWplatform/src/os/windows/d3d11.rs657 // Step 2: partition by cache state, computing the cache key once.COMMENT
LOWplatform/src/os/windows/d3d11.rs688 // Step 3: dispatch background compiles. The window presents thisCOMMENT
LOWplatform/src/os/windows/d3d11.rs706 // Step 4: serial D3D11 object creation for the cache-hit shaders.COMMENT
LOWold/studio/src/file_system/file_system.rs550 // now we need to check if a live_design!{} changed or something outside itCOMMENT
LOWold/draw/src/cx_2d.rs50 // ok so we need to check if our turtle position has changed since last time.COMMENT
LOWold/draw/src/cx_2d.rs67 // ok so we need to check if our turtle position has changed since last time.COMMENT
LOWold/widgets/src/label.rs254 // here we need to check if the text is empty, if so we need to set it to a spaceCOMMENT
LOWlibs/svg/src/path_data.rs475 // Step 1: Compute (x1', y1')COMMENT
LOWlibs/svg/src/path_data.rs481 // Step 2: Compute (cx', cy')COMMENT
LOWlibs/svg/src/path_data.rs535 // Step 3: Compute (cx, cy) from (cx', cy')COMMENT
LOWlibs/svg/src/path_data.rs541 // Step 4: Compute theta1 and dthetaCOMMENT
LOWlibs/box3d/src/mesh_contact.rs295 // Step 1: the two points with the largest distance, ties broken by deepest combined separationCOMMENT
LOWlibs/box3d/src/mesh_contact.rs353 // Step 2: find the point with the maximum triangular area, ties broken by deepest separationCOMMENT
LOWlibs/box3d/src/mesh_contact.rs392 // Step 4: get the point that adds the most area outside the current triangleCOMMENT
LOWlibs/box3d/src/convex_manifold.rs381 // Step 1: find extreme point that is touchingCOMMENT
LOWlibs/box3d/src/convex_manifold.rs417 // Step 2: Find farthest point in 2DCOMMENT
LOWlibs/box3d/src/convex_manifold.rs450 // Step 3: Find the point with the maximum triangular areaCOMMENT
LOWlibs/box3d/src/convex_manifold.rs478 // Step 4: get the point that adds the most area outside the current triangleCOMMENT
LOWlibs/csg/csg/examples/coref_trace.rs95 // Step 1: CorefineCOMMENT
LOWlibs/csg/csg/examples/coref_trace.rs115 // Step 2: ClassifyCOMMENT
LOWlibs/csg/csg/examples/coref_trace.rs144 // Step 3: Manually do union selectionCOMMENT
LOWlibs/csg/csg_boolean/src/boolean.rs28 // Step 1: Corefine both meshesCOMMENT
LOWlibs/csg/csg_boolean/src/boolean.rs31 // Step 2: Classify trianglesCOMMENT
LOWlibs/csg/csg_boolean/src/boolean.rs35 // Step 3: Select faces based on operationCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs67 // Step 1: Build AABB treesCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs78 // Step 2: Find candidate pairsCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs81 // Step 3: Compute intersection segments for each pair.COMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs150 // Step 4: Collect intersection data per triangleCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs159 // Step 5: Re-triangulate affected trianglesCOMMENT
LOWlibs/csg/csg_boolean/src/tri_tri.rs140 // Step 5: Compute line of intersection of the two planes.COMMENT
LOWlibs/csg/csg_boolean/src/tri_tri.rs158 // Step 6: Project triangles onto the intersection line.COMMENT
LOWlibs/csg/csg_boolean/src/tri_tri.rs166 // Step 7: Check interval overlapCOMMENT
LOWlibs/fast_inflate/src/crc32.rs156 // Step 1: fold by 4 loopCOMMENT
LOWlibs/fast_inflate/src/crc32.rs178 // Step 2: fold by 1 loopCOMMENT
LOWlibs/fast_inflate/src/crc32.rs183 // Step 3: reduction from 128 bits to 64 bitsCOMMENT
LOWlibs/fast_inflate/src/crc32.rs197 // Step 4: Barrett reduction from 64 bits to 32 bitsCOMMENT
LOWlibs/regex/src/utf8.rs33 // Step 1: If the range contains only ASCII code points, return early.COMMENT
LOWlibs/regex/src/utf8.rs41 // Step 2: Ensure that the range does not contain any surrogate code points.COMMENT
LOWlibs/regex/src/utf8.rs48 // Step 3: Ensure that all scalar values in the range can be encoded as a sequenceCOMMENT
LOWlibs/regex/src/utf8.rs59 // Step 4: Ensure that all scalar values in the range can be encoded as a singleCOMMENT
LOWlibs/regex/src/utf8.rs79 // Step 5: Encode all scalar values in the range as a sequence of UTF-8 bytes.COMMENT
LOWlibs/vulkan/bit-set/src/lib.rs75 // one too many. So we need to check if that's the case. We can do that by computing ifCOMMENT
LOWlibs/vulkan/bit-vec/src/lib.rs277 // one too many. So we need to check if that's the case. We can do that by computing ifCOMMENT
LOWlibs/crc32fast/src/specialized/pclmulqdq.rs86 // Step 1: fold by 4 loopCOMMENT
LOWlibs/crc32fast/src/specialized/pclmulqdq.rs108 // Step 2: fold by 1 loopCOMMENT
LOWlibs/rapier/src/geometry/manifold_reduction.rs101 // Step 1: Find the deepest contact, biased by extremity for frame stability.COMMENT
LOWlibs/rapier/src/geometry/manifold_reduction.rs133 // Step 2: Find the point most distant from the first contact.COMMENT
LOWlibs/rapier/src/geometry/manifold_reduction.rs156 // Step 3: Find two more contacts that maximize positive and negative signed area.COMMENT
LOWlibs/zune/zune-jpeg/src/decoder.rs496 // The check is weird, we need to check if IDCOMMENT
LOWlibs/memchr/src/ext.rs15 /// The purpose of this function is just to be able to do arithmetic, i.e.,COMMENT
LOWdraw/src/cx_2d.rs123 // ok so we need to check if our turtle position has changed since last time.COMMENT
LOWdraw/src/cx_2d.rs140 // ok so we need to check if our turtle position has changed since last time.COMMENT
LOWwidgets/src/label.rs304 // here we need to check if the text is empty, if so we need to set it to a spaceCOMMENT
Structural Annotation Overuse48 hits · 88 pts
SeverityFileLineSnippetContext
LOWplatform/src/os/windows/d3d11.rs598 // Step 1: adopt any background compiles that finished since the lastCOMMENT
LOWplatform/src/os/windows/d3d11.rs657 // Step 2: partition by cache state, computing the cache key once.COMMENT
LOWplatform/src/os/windows/d3d11.rs688 // Step 3: dispatch background compiles. The window presents thisCOMMENT
LOWplatform/src/os/windows/d3d11.rs706 // Step 4: serial D3D11 object creation for the cache-hit shaders.COMMENT
LOWxr/src/3d.md94### Step 1: Move physics into XrEnvCOMMENT
LOWxr/src/3d.md104### Step 2: Remove XrSceneCOMMENT
LOWxr/src/3d.md110### Step 3: Rebuild XrRoot from scratchCOMMENT
LOWxr/src/3d.md181### Step 4: Create XrViewCOMMENT
LOWxr/src/3d.md188### Step 5: Update examples/xr/src/main.rsCOMMENT
LOWlibs/svg/src/path_data.rs475 // Step 1: Compute (x1', y1')COMMENT
LOWlibs/svg/src/path_data.rs481 // Step 2: Compute (cx', cy')COMMENT
LOWlibs/svg/src/path_data.rs535 // Step 3: Compute (cx, cy) from (cx', cy')COMMENT
LOWlibs/svg/src/path_data.rs541 // Step 4: Compute theta1 and dthetaCOMMENT
LOWlibs/box3d/src/mesh_contact.rs295 // Step 1: the two points with the largest distance, ties broken by deepest combined separationCOMMENT
LOWlibs/box3d/src/mesh_contact.rs353 // Step 2: find the point with the maximum triangular area, ties broken by deepest separationCOMMENT
LOWlibs/box3d/src/mesh_contact.rs392 // Step 4: get the point that adds the most area outside the current triangleCOMMENT
LOWlibs/box3d/src/convex_manifold.rs381 // Step 1: find extreme point that is touchingCOMMENT
LOWlibs/box3d/src/convex_manifold.rs417 // Step 2: Find farthest point in 2DCOMMENT
LOWlibs/box3d/src/convex_manifold.rs450 // Step 3: Find the point with the maximum triangular areaCOMMENT
LOWlibs/box3d/src/convex_manifold.rs478 // Step 4: get the point that adds the most area outside the current triangleCOMMENT
LOWlibs/csg/csg/examples/coref_trace.rs95 // Step 1: CorefineCOMMENT
LOWlibs/csg/csg/examples/coref_trace.rs115 // Step 2: ClassifyCOMMENT
LOWlibs/csg/csg/examples/coref_trace.rs144 // Step 3: Manually do union selectionCOMMENT
LOWlibs/csg/csg_boolean/src/boolean.rs28 // Step 1: Corefine both meshesCOMMENT
LOWlibs/csg/csg_boolean/src/boolean.rs31 // Step 2: Classify trianglesCOMMENT
LOWlibs/csg/csg_boolean/src/boolean.rs35 // Step 3: Select faces based on operationCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs67 // Step 1: Build AABB treesCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs78 // Step 2: Find candidate pairsCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs81 // Step 3: Compute intersection segments for each pair.COMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs150 // Step 4: Collect intersection data per triangleCOMMENT
LOWlibs/csg/csg_boolean/src/corefine.rs159 // Step 5: Re-triangulate affected trianglesCOMMENT
LOWlibs/csg/csg_boolean/src/tri_tri.rs140 // Step 5: Compute line of intersection of the two planes.COMMENT
LOWlibs/csg/csg_boolean/src/tri_tri.rs158 // Step 6: Project triangles onto the intersection line.COMMENT
LOWlibs/csg/csg_boolean/src/tri_tri.rs166 // Step 7: Check interval overlapCOMMENT
LOWlibs/fast_inflate/src/crc32.rs156 // Step 1: fold by 4 loopCOMMENT
LOWlibs/fast_inflate/src/crc32.rs178 // Step 2: fold by 1 loopCOMMENT
LOWlibs/fast_inflate/src/crc32.rs183 // Step 3: reduction from 128 bits to 64 bitsCOMMENT
LOWlibs/fast_inflate/src/crc32.rs197 // Step 4: Barrett reduction from 64 bits to 32 bitsCOMMENT
LOWlibs/regex/src/utf8.rs33 // Step 1: If the range contains only ASCII code points, return early.COMMENT
LOWlibs/regex/src/utf8.rs41 // Step 2: Ensure that the range does not contain any surrogate code points.COMMENT
LOWlibs/regex/src/utf8.rs48 // Step 3: Ensure that all scalar values in the range can be encoded as a sequenceCOMMENT
LOWlibs/regex/src/utf8.rs59 // Step 4: Ensure that all scalar values in the range can be encoded as a singleCOMMENT
LOWlibs/regex/src/utf8.rs79 // Step 5: Encode all scalar values in the range as a sequence of UTF-8 bytes.COMMENT
LOWlibs/crc32fast/src/specialized/pclmulqdq.rs86 // Step 1: fold by 4 loopCOMMENT
LOWlibs/crc32fast/src/specialized/pclmulqdq.rs108 // Step 2: fold by 1 loopCOMMENT
LOWlibs/rapier/src/geometry/manifold_reduction.rs101 // Step 1: Find the deepest contact, biased by extremity for frame stability.COMMENT
LOWlibs/rapier/src/geometry/manifold_reduction.rs133 // Step 2: Find the point most distant from the first contact.COMMENT
LOWlibs/rapier/src/geometry/manifold_reduction.rs156 // Step 3: Find two more contacts that maximize positive and negative signed area.COMMENT
AI Slop Vocabulary21 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMplatform/src/os/linux/android/android.rs1876 // We're not requesting a robust context (false), which is usually fine for most applications.COMMENT
MEDIUMold/platform/src/os/linux/android/android.rs827 // We're not requesting a robust context (false), which is usually fine for most applications.COMMENT
MEDIUMlibs/makepad_physics/src/narrow_phase.rs162/// Uses support points for robust separation computation.COMMENT
MEDIUMlibs/csg/csg_exact/src/lib.rs1// makepad-csg-exact: Exact arithmetic for robust geometric constructions.COMMENT
MEDIUMlibs/csg/csg_boolean/src/tri_tri.rs4// with Shewchuk's orient3d for robust orientation tests.COMMENT
MEDIUMlibs/csg/csg_boolean/src/tri_tri.rs69/// Uses robust orient3d predicates for classification.COMMENT
MEDIUMlibs/ttf-parser/src/tables/kern.rs440 // There are no robust way to distinguish them, so we have to guess.COMMENT
MEDIUMlibs/ttf-parser/src/tables/gpos.rs414// Essentially a `LazyOffsetArray16` but stores additional data required to parse [`PairSet`].COMMENT
MEDIUMlibs/unicase/src/lib.rs12//! utilize faster ASCII case comparisons, if both strings are ASCII.COMMENT
MEDIUMlibs/vulkan/naga/src/proc/index.rs79 /// Some graphics hardware provides "robust buffer access", a feature thatCOMMENT
MEDIUMlibs/vulkan/naga/src/proc/overloads/mod.rs165 /// Essentially, if any one of the arguments is not a constant expression,COMMENT
MEDIUMlibs/vulkan/libloading/src/changelog.rs156/// pointers in the `.init_array` section. A very similar mechanism exists on systems that utilizeCOMMENT
MEDIUMlibs/vulkan/libloading/src/changelog.rs292/// `libloading` used to utilize a snippet written in C to work-around the unlikely possibilityCOMMENT
MEDIUMlibs/vulkan/indexmap/src/macros.rs180 // allow it to leverage unstable traits like `TrustedLen`.COMMENT
MEDIUMlibs/vulkan/zerocopy/src/layout.rs337 // We use Kani to prove that this method is robust to future increasesCOMMENT
MEDIUMlibs/tts/Cargo.toml21# Only the round-trip harness needs an ASR: synthesize, transcribe, compare.COMMENT
MEDIUMlibs/tts/tools/ref_infer.py93 # A 16k copy so Whisper can score it with the same harness.COMMENT
LOWlibs/rapier/src/dynamics/integration_parameters.rs259 #[deprecated = "You can just set the `IntegrationParams::dt` value directly"]COMMENT
MEDIUMlibs/mb3d/src/m3p.rs393 // Keep a minimum amplitude for robust rendering if the file has zeroed legacy values.COMMENT
MEDIUMlibs/zune/zune-jpeg/src/idct.rs11//! Essentially we provide 2 routines for IDCT, a scalar implementation and a not super optimizedCOMMENT
MEDIUMlibs/zune/zune-jpeg/src/color_convert/neon64.rs43 // NEON has 32 registers, so it is good idea to utilize a lot of variables at onceCOMMENT
Fake / Example Data36 hits · 48 pts
SeverityFileLineSnippetContext
LOWstudio/hub/tests/virtual_fs_test.rs20 .env("GIT_AUTHOR_EMAIL", "test@test.com")CODE
LOWstudio/hub/tests/virtual_fs_test.rs22 .env("GIT_COMMITTER_EMAIL", "test@test.com")CODE
LOWold/examples/ui_zoo/src/tab_label.rs50 text: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,CODE
LOWold/examples/ui_zoo/src/tab_label.rs50 text: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,CODE
LOWold/examples/ui_zoo/src/tab_portallist.rs69 1 => format!("At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergrenCODE
LOWold/examples/ui_zoo/src/tab_portallist.rs69 1 => format!("At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergrenCODE
LOWold/examples/ui_zoo/src/tab_portallist.rs71 3 => format!("Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.CODE
LOWold/examples/ui_zoo/src/tab_portallist.rs71 3 => format!("Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.CODE
LOWold/examples/ui_zoo/src/tab_portallist.rs72 _ => format!("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod teCODE
LOWold/examples/ui_zoo/src/tab_portallist.rs72 _ => format!("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod teCODE
LOWlibs/vulkan/indexmap/src/set.rs1261/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/set.rs1261/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1604/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1604/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1646/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1646/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1687/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1687/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1738/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map.rs1738/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map/iter.rs399/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/indexmap/src/map/iter.rs399/// for word in "Lorem ipsum dolor sit amet".split_whitespace() {COMMENT
LOWlibs/vulkan/zerocopy/agent_docs/style.md34 block inside of a `/// Lorem ipsum...` comment should have lines no more thanCODE
LOWlibs/git/tests/integration_test.rs10 .env("GIT_AUTHOR_EMAIL", "test@test.com")CODE
LOWlibs/git/tests/integration_test.rs12 .env("GIT_COMMITTER_EMAIL", "test@test.com")CODE
LOWlibs/git/tests/integration_test.rs23 .env("GIT_AUTHOR_EMAIL", "test@test.com")CODE
LOWlibs/git/tests/integration_test.rs25 .env("GIT_COMMITTER_EMAIL", "test@test.com")CODE
LOWlibs/git/tests/integration_test.rs46 email: "test@test.com".into(),CODE
LOWlibs/git/src/object.rs213 .env("GIT_AUTHOR_EMAIL", "test@test.com")CODE
LOWlibs/git/src/object.rs215 .env("GIT_COMMITTER_EMAIL", "test@test.com")CODE
LOWexamples/uizoo/src/tab_portallist.rs64 1 => format!("At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergrenCODE
LOWexamples/uizoo/src/tab_portallist.rs64 1 => format!("At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergrenCODE
LOWexamples/uizoo/src/tab_portallist.rs66 3 => format!("Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.CODE
LOWexamples/uizoo/src/tab_portallist.rs66 3 => format!("Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.CODE
LOWexamples/uizoo/src/tab_portallist.rs67 _ => format!("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod teCODE
LOWexamples/uizoo/src/tab_portallist.rs67 _ => format!("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod teCODE
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHplatform/script/src/pod_heap.rs2280// AI generated f16/f32 conversions. They look correct at first glance/testCOMMENT
HIGHlibs/unicode/unicode-properties/src/lib.rs18//! Future properties can be added as requested.COMMENT
HIGHlibs/unicode/unicode-bidi/src/implicit.rs383 // Update all processing classes corresponding to the start and end elements, as requested.COMMENT
HIGHlibs/vulkan/zerocopy/src/lib.rs6418 // preserving the count as requested by the user is the behavior that weCOMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHlibs/cfg-if/src/lib.rs143 // block to be annotated with the produced `#[cfg(...)]`. In this example,COMMENT
HIGHlibs/vulkan/cfg-if/src/lib.rs143 // block to be annotated with the produced `#[cfg(...)]`. In this example,COMMENT
TODO Padding8 hits · 12 pts
SeverityFileLineSnippetContext
LOWplatform/src/os/linux/android/android.rs2802 // TODO: implement via MediaPlayer when neededCOMMENT
LOWplatform/src/os/windows/windows_video_playback.rs747 // TODO: implement via IMFMediaEngine::SetVolumeCOMMENT
LOWplatform/src/os/windows/windows_video_playback.rs751 // TODO: implement via IMFMediaEngine::SetPlaybackRateCOMMENT
LOWplatform/src/os/windows/windows.rs787 // TODO: implement Windows audio-only playbackCOMMENT
LOWlibs/vulkan/ash/src/entry.rs355#[cfg(feature = "std")] // TODO: implement when error_in_core is stabilizedCOMMENT
LOWlibs/rapier/src/dynamics/island_manager/sleep.rs81 // TODO: implement recycling islands to avoid repeated allocations?COMMENT
LOWlibs/rapier/src/dynamics/island_manager/optimizer.rs159 // TODO: implement islands recycling to avoid reallocating every time.COMMENT
LOWlibs/rustybuzz/src/hb/face.rs269 // TODO: Add tests for this. We should use all glyphs fromCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWlibs/linux/wayland-client/src/event_queue.rs51/// # // Maintainers: If this example changes, please make sure you also carry those changes over to the delegate_dispatCOMMENT
MEDIUMlibs/rapier/src/dynamics/integration_parameters.rs143/// maintains stability. The defaults work well for most games, but you may want to adjustCOMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlibs/regex/src/make_fowler_tests.py18CODE
LOWlibs/regex/src/make_unicode.py38CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlibs/linux/wayland-scanner/src/lib.rs10//! ## Example usageCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlibs/tts/tools/convert_kokoro.py33CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlibs/mlx/tools/build_qwen35moe_mlx_multimodal.py111def copy_quantized_text_shards(quantized_model_dir: Path, output_dir: Path):CODE