Repository Analysis

PerryTS/perry

A native TypeScript compiler written in Rust. Compiles TypeScript directly to executables using SWC and LLVM.

6.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of PerryTS/perry, a Rust project with 4,155 GitHub stars. SynthScan v2.0 examined 1,453,330 lines of code across 7859 source files, recording 7243 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 6.6 places this repository in the Low AI signal 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).

6.6
Adjusted Score
6.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.2K
Stars
Rust
Language
1.5M
Lines of Code
7.9K
Files
7.2K
Pattern Hits
2026-07-14
Scan Date
0.00
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 6HIGH 5MEDIUM 1154LOW 6078

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 7243 distinct pattern matches across 19 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 Block5496 hits · 5346 pts
SeverityFileLineSnippetContext
LOWCargo.toml201COMMENT
LOWCargo.toml221# libperry_runtime.a / libperry_stdlib.a. Thin-LTO would otherwise internalizeCOMMENT
LOWCargo.toml421# wrappers (per `perry.nativeLibrary` in package.json) can resolve itCOMMENT
LOWparity_status.sh1#!/usr/bin/env bashCOMMENT
LOWrun_module_parity.sh1#!/usr/bin/env bashCOMMENT
LOWrun_parity_tests.sh21BACKEND_LABEL="LLVM"COMMENT
LOWrun_parity_tests.sh301COMMENT
LOWrun_parity_tests.sh361 # will always differ between Node.js (JIT) and Perry (native LLVM).COMMENT
LOWrun_parity_tests.sh761COMMENT
LOWdocker-compose.yml1# Docker Compose for Perry TypeScript CompilerCOMMENT
LOWTYPE_LOWERING.md881 | Expr::Uint8ArrayLength(_)COMMENT
LOWTYPE_LOWERING.md1041 pub fn is_pointer(&self) -> bool {COMMENT
LOWTYPE_LOWERING.md1061 /// silently produce a wrong result. This blind spot has been patchedCOMMENT
LOWTYPE_LOWERING.md1081 /// The for-loop guarantees `i < arr.length` is true at the condCOMMENT
LOWTYPE_LOWERING.md1101**File:** crates/perry-codegen/src/stmt/let_stmt.rs (L612-682)COMMENT
LOWTYPE_LOWERING.md1121 // Issue #140 follow-up + #435 fix: gate the Let-site i32COMMENT
LOWTYPE_LOWERING.md1141 //COMMENT
LOWTYPE_LOWERING.md1301/// Canonical "Invalid Date" bit pattern.COMMENT
LOWTYPE_LOWERING.md1361 /// `keys_array` only supports O(N) linear scan; for objects thatCOMMENT
LOWTYPE_LOWERING.md1461//! - 8-byte GcHeader prepended to every heap allocation (invisible to callers)COMMENT
LOWTYPE_LOWERING.md1521 // x-regs and ~8 d-regs per call — that's ~25 ns per microtask, andCOMMENT
LOWTYPE_LOWERING.md1541COMMENT
LOWTYPE_LOWERING.md1561/// Pin/unpin must run on the main thread. The bit is set here (rightCOMMENT
LOWTYPE_LOWERING.md1601//! compile time with a clear error message.COMMENT
LOWpackaging/install.sh41 echo "Error: Unsupported architecture: $ARCH"COMMENT
LOWcrates/perry-ext-ws/Cargo.toml21# CryptoProvider (feature unification enables both `ring` and `aws-lc-rs` inCOMMENT
LOWcrates/perry-ext-ws/Cargo.toml41# BODY — so the degraded copy silently ToString-coerces a RegExp argument andCOMMENT
LOWcrates/perry-ext-ws/src/lib.rs1//! Native bindings for the npm `ws` package — WebSocket client +COMMENT
LOWcrates/perry-ext-ws/src/lib.rs21//! `spawn_blocking + tokio::Handle::current().block_on(async {...})`COMMENT
LOWcrates/perry-ext-ws/src/lib.rs401// `js_ws_on_client_i64` are the Phase 4 receiver-method variants.COMMENT
LOWcrates/perry-ext-ws/src/lib.rs621 // be a registered server handle id would route through the serverCOMMENT
LOWcrates/perry-ext-ws/src/lib.rs681/// TCP port or spawn the accept loop — it's a passive registry whoseCOMMENT
LOWcrates/perry-ext-ws/src/lib.rs821 }COMMENT
LOWcrates/perry-ext-ws/src/lib.rs881 // channel). Drive the per-connection IO loop on Perry's shared reactor-ownedCOMMENT
LOWcrates/perry-ext-ws/src/lib.rs901 // `register_external_ws_stream` (which spawnsCOMMENT
LOWcrates/perry-ext-ws/src/lib.rs1041/// `hyper::upgrade::on`, completed the tungstenite server handshake,COMMENT
LOWcrates/perry-ext-ws/src/lib.rs1061/// `req_f64` / `head_f64` are accepted for API shape parity (Node'sCOMMENT
LOWcrates/perry-ext-ws/src/mask.rs1//! SIMD-ish WebSocket frame (un)masking.COMMENT
LOWcrates/perry-ext-ws/src/mask.rs21//! same payload delivered whole.COMMENT
LOWcrates/perry-ext-ws/src/mask.rs61/// frame split across multiple buffers can be unmasked chunk-by-chunkCOMMENT
LOWcrates/perry-container-e2e/src/lib.rs1//! Phase D: End-to-end test harness for `perry/container`.COMMENT
LOWcrates/perry-codegen-js/src/web_runtime.js581}COMMENT
LOWcrates/perry-codegen-js/src/emit/calls.rs341 "menuBarCreate" | "menubar_create" => "perry_ui_menubar_create",COMMENT
LOWcrates/perry-parser/src/lib.rs21pub struct ParseResult {COMMENT
LOWcrates/perry-parser/src/lib.rs341 fn is_ident(b: u8) -> bool {COMMENT
LOWcrates/perry-ui-visionos/src/background.rs1//! Background tasks (issue #538) — BGTaskScheduler-backed visionOS implementation.COMMENT
LOWcrates/perry-ui-visionos/src/ffi_widgets_extra.rs1//! FFI exports for the extended widget catalogue: SecureField, ProgressView,COMMENT
LOWcrates/perry-ui-visionos/src/ffi_system.rs1//! System APIs: share, app groups, open URL, location, audio, camera,COMMENT
LOWcrates/perry-ui-visionos/src/ffi_misc.rs1//! Bottom navigation, lazy-vstack/scrollview scroll-end stubs, imageCOMMENT
LOWcrates/perry-ui-visionos/src/drag_drop.rs1//! UIKit drag & drop (issue #4773) — visionOS backend.COMMENT
LOWcrates/perry-ui-visionos/src/ffi_notifications.rs1//! Notifications, locale, multi-window stubs, LazyVStack stubs, andCOMMENT
LOWcrates/perry-ui-visionos/src/media_playback.rs1//! Streaming media playback (`perry/media`) — AVPlayer-backed.COMMENT
LOWcrates/perry-ui-visionos/src/deeplinks_stub.rs1//! Deep links stubs (issue #583).COMMENT
LOWcrates/perry-ui-visionos/src/audio_playback.rs1//! perry/audio runtime — game-engine-style audio backed by AVAudioEngine.COMMENT
LOWcrates/perry-ui-visionos/src/pointer.rs1//! Continuous pointer events for perry/ui on iOS (issue #1868).COMMENT
LOWcrates/perry-ui-visionos/src/ffi_cross.rs1//! Cross-cutting FFI exports: enabled, tooltip, control size, hover/click,COMMENT
LOWcrates/perry-ui-visionos/src/widgets/tree_view.rs1//! iOS Tree view widget (issue #480).COMMENT
LOWcrates/perry-ui-visionos/src/widgets/bloomview.rs1//! BloomView — a native render-surface host widget (issue #2395).COMMENT
LOWcrates/perry-ui-visionos/src/widgets/combobox.rs1//! iOS Combobox widget (issue #475).COMMENT
LOWcrates/perry-ui-visionos/src/widgets/rich_tooltip.rs1//! iOS rich tooltip presenter (issue #479).COMMENT
5436 more matches not shown…
Decorative Section Separators724 hits · 2226 pts
SeverityFileLineSnippetContext
MEDIUMrun_parity_tests.sh154# ── TLS-upgrade companion server (issue #275) ──────────────────────────────COMMENT
MEDIUMrun_parity_tests.sh187# ── Perry-specific expected-output tests ────────────────────────────────────COMMENT
MEDIUMrun_parity_tests.sh211# ── Counters ────────────────────────────────────────────────────────────────COMMENT
MEDIUMrun_parity_tests.sh502# ---------------------------------------------------------------------------COMMENT
MEDIUMrun_parity_tests.sh507# ---------------------------------------------------------------------------COMMENT
MEDIUMcrates/perry-ext-ws/src/lib.rs72// ── Global state ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-ws/src/lib.rs161// ── Client connect ────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-ws/src/lib.rs372// ── Send / close (client) ─────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-ws/src/lib.rs506// ── Accessors ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-ws/src/lib.rs676// ── Server ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-ws/src/lib.rs1119// ── Event-loop tick ───────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-visionos/src/app.rs157// ─── PerryViewController ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-visionos/src/menu.rs61// ─── Public API ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-visionos/src/menu.rs226// ─── UIMenu Construction ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-visionos/src/widgets/tabbar.rs52// ── State ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-visionos/src/widgets/tabbar.rs65// ── UITabBarDelegate ─────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-visionos/src/widgets/tabbar.rs125// ── Public API ────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-geisterhand/src/inspector_ui/index.html483// ── Preview pane ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/lib.rs115// ─── Lookup helpers ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs31 // ─── Lifecycle ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs47 // ─── Playback control ─────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs81 // ─── Per-voice / per-sound tuning ─────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs101 // ─── Fades & crossfade ────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs123 // ─── Buses ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs151 // ─── Master / engine ──────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs172 // ─── Introspection ────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-dispatch/src/audio_table.rs191 // ─── Callbacks ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ffi/src/jsvalue.rs119 // ── type predicates ────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ffi/src/jsvalue.rs204 // ── accessors ──────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ffi/src/jsvalue.rs284// ── object / array allocation primitives ─────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/deeplinks.rs108// ─── ObjC bridge helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/app.rs440// ─── PerryViewController ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/menu.rs61// ─── Public API ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/menu.rs226// ─── UIMenu Construction ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/widgets/tabbar.rs52// ── State ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/widgets/tabbar.rs65// ── UITabBarDelegate ─────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/widgets/tabbar.rs125// ── Public API ────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-ios/src/widgets/canvas.rs685// ── Stateful (HTML5-canvas-style) API ────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-cron/src/lib.rs345// ── setInterval / setTimeout placeholders ─────────────────────────COMMENT
MEDIUMcrates/perry-ui-tvos/src/app.rs288// ─── PerryViewController ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-tvos/src/menu.rs61// ─── Public API ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-tvos/src/menu.rs191// ─── UIMenu Construction ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-tvos/src/widgets/tabbar.rs52// ── State ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-tvos/src/widgets/tabbar.rs65// ── UITabBarDelegate ─────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ui-tvos/src/widgets/tabbar.rs123// ── Public API ────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs90// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs92// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs274// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs276// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs340// ── Promise helpers ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs486// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs488// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs635// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs637// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs740// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs742// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs841// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs843// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs997// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/perry-ext-streams/src/lib.rs999// ─────────────────────────────────────────────────────────────────────COMMENT
664 more matches not shown…
AI Slop Vocabulary388 hits · 1170 pts
SeverityFileLineSnippetContext
MEDIUMparity_status.sh6# parity harness per module (via run_module_parity.sh which is itself aCOMMENT
MEDIUMparity_status.sh15# parity?" — every failing test is a known issue (the harness's own gateCOMMENT
MEDIUMparity_status.sh40# total table; it's the canonical front-end for batching the harnessCOMMENT
MEDIUMrun_module_parity.sh2# run_module_parity.sh — run the `node-suite` parity harness for aCOMMENT
MEDIUMrun_module_parity.sh15# parsed from the harness output and aggregated into a final table.COMMENT
MEDIUMrun_module_parity.sh25# Strip ANSI color escapes from harness output so we can grep cleanly.COMMENT
MEDIUMrun_module_parity.sh61 # The harness exits non-zero whenever any test fails (even ones inCOMMENT
MEDIUMrun_module_parity.sh67 # Replay the harness's own summary block for context.COMMENT
MEDIUMrun_module_parity.sh98# (the harness already breaks CI on untracked failures), so we don't gateCOMMENT
MEDIUMrun_parity_tests.sh220# SIGSEGV sat in main for days — the harness only diffed stdout, so a processCOMMENT
MEDIUMcrates/perry-doc-tests/src/main.rs20#[command(name = "doc-tests", about = "Perry documentation-example test harness")]COMMENT
MEDIUMcrates/perry-codegen-wasm/src/emit/compile.rs927 // band; this keeps `export const X = ...` robust.)COMMENT
MEDIUMcrates/perry-ffi/src/handle.rs884 // value — robust to other tests churning the shared registry, but stillCOMMENT
MEDIUMcrates/perry-ffi/src/handle.rs916 /// The bounded retry is what makes the reuse assertion both robust andCOMMENT
MEDIUMcrates/perry-codegen/src/lower_array_method.rs179 // arm and is robust if interning ever changes to SSO-eligible.COMMENT
MEDIUMcrates/perry-codegen/src/expr/index_get.rs1413 // unproven-bounds slow path through the JS-value getter (robustCOMMENT
MEDIUMcrates/perry-container-compose/src/backend/apple.rs462// on every field keeps the parser robust against shape drift.COMMENT
MEDIUMcrates/perry-ui-android/src/widgets/text.rs350 // by name to be robust.COMMENT
MEDIUMcrates/perry-runtime/src/event_pump.rs691 // 500 ms is robust and still an order of magnitude under the 1 sCOMMENT
MEDIUMcrates/perry-runtime/src/event_pump.rs813 // so this upper bound is robust.)COMMENT
MEDIUMcrates/perry-runtime/src/event_pump.rs821 // alone tripped it under CI load; 200ms is robust and still catches anCOMMENT
MEDIUMcrates/perry-runtime/src/event_pump.rs876 // robust and still well below any budget-blocking behavior.COMMENT
MEDIUMcrates/perry-runtime/src/exception.rs407 // the entry state so this is robust under `--test-threads=1` (shared TLS).COMMENT
MEDIUMcrates/perry-runtime/src/exception.rs449 // Relative to the entry depth so it's robust under shared TLSCOMMENT
MEDIUMcrates/perry-runtime/src/embedded.rs170/// on which normal array methods then dispatch — is the robust shape. ReturnsCOMMENT
MEDIUMcrates/perry-runtime/src/map.rs2049 // registry check (GcHeader.obj_type fast-path + MAP_REGISTRY) is robustCOMMENT
MEDIUMcrates/perry-runtime/src/closure/dispatch/errors.rs14/// the single biggest leverage source of cascading parity-test failuresCOMMENT
MEDIUMcrates/perry-runtime/src/json/replacer.rs206/// tag (robust object/array discrimination), with a structural fallback forCOMMENT
MEDIUMcrates/perry-runtime/src/json/replacer.rs1549 // > MAX_FAST_DEPTH is robust to leftover entries from a prior panicCOMMENT
MEDIUMcrates/perry-runtime/src/object/map_set_subclass.rs18//! `field_get_set`). This is more robust than installing per-instance methodCOMMENT
MEDIUM…s/perry-runtime/src/object/class_registry/construct.rs986 // robust to `globalThis.Function` reassignment, unlike reading the mutableCOMMENT
MEDIUM…ates/perry-runtime/src/object/global_this/generator.rs323/// global func_ptr table built at module-init) is robust under codegen-units andCOMMENT
MEDIUMcrates/perry-runtime/src/gc/tests/budgeted_step_api.rs186/// assertion robust regardless of scan mode.)COMMENT
MEDIUM…y-runtime/src/gc/tests/copying/weak_holder_registry.rs15//! in-place rekey), which is the robust production-and-test path.COMMENT
MEDIUMcrates/perry-runtime/src/promise/rejection.rs241/// time.) This makes the detector robust to internal machinery (asyncCOMMENT
MEDIUMcrates/perry-runtime/src/promise/then.rs142 // handling the rejection. Marking here is the robust catch-all for theCOMMENT
MEDIUMcrates/perry-ui-macos/src/widgets/pdf_view.rs11//! the viewer ships first since it's the higher-leverage piece.COMMENT
MEDIUMcrates/perry/src/commands/compile/collect_modules.rs639 // robust against this — user code lives under `project_root`, libraryCOMMENT
MEDIUMcrates/perry-hir/tests/shape_inference.rs796/// this depth) so the test stays robust on loaded CI while still failing loudlyCOMMENT
MEDIUMcrates/perry-hir/src/lower/lower_module_fn.rs1152 // #806 mixin harness (bare-factory section).COMMENT
MEDIUMcrates/perry-ext-fastify/src/server.rs1021 // defending here keeps us robust against futureCOMMENT
MEDIUMtests/test_issue_5056_events_abort_exit.sh7# The node-suite parity harness compares stdout but a hang only shows up as aCOMMENT
MEDIUMtests/release/packages/_harness.sh11# (the harness counts SKIP separately from PASS/FAIL — they're notCOMMENT
MEDIUMtests/release/packages/_fixture_lib.sh15# Mark this fixture as SKIP. The harness reads the .last-skipCOMMENT
MEDIUMtests/release/packages/_fixture_lib.sh50# don't cleanly exit; the harness should not deadlock the whole sweep).COMMENT
MEDIUMtests/release/packages/nestjs-hello/fixture.sh16# reports SKIP with the wall as the reason (so the release harness recordsCOMMENT
MEDIUMtests/release/packages/nestjs-hello/fixture.sh41 # the release harness records the gap without blocking. RemoveCOMMENT
MEDIUMtests/release/packages/fastify-replay/fixture.sh30# Run the existing harness; capture its summary.COMMENT
MEDIUMtest-parity/known_failures.json33 "reason": "Tracked in #1634 (parity CI environment fixtures). Ramda npm-package fixture failure on Linux CI; observeCODE
MEDIUMexamples/container/multi-service/main.ts69 // spec robust.COMMENT
MEDIUMbenchmarks/benchmark_gate.py426 # use three robust sigma estimates (MAD × 1.4826) from this benchmark's ownCOMMENT
MEDIUMbenchmarks/honest_bench/run.sh236 # environment so the harness can sha256 it against the cached Bun reference.COMMENT
MEDIUMbenchmarks/honest_bench/run.sh276 # <workload> <language> <route> then the run-cmd — the harness splits theCOMMENT
MEDIUMbenchmarks/honest_bench/run.sh281 # Tolerate a harness exit (e.g. a kernel that SIGSEGVs under load, or neverCOMMENT
MEDIUMbenchmarks/honest_bench/harness/run_bench.sh25# HONEST_BENCH_CHECK_OUTPUT — path to harness/check_output.pyCOMMENT
MEDIUMscripts/run_thread_tests.sh5# 1. Runtime: the docs/examples harness already compiles and stdout-diffsCOMMENT
MEDIUMscripts/run_doc_tests.sh2# Run the Perry doc-example test harness.COMMENT
MEDIUMscripts/run_doc_tests.sh19# Build perry + the harness in release mode (skipped if already built).COMMENT
MEDIUMscripts/run_doc_tests.sh49# Forward any extra args through to the harness (e.g. --filter, --verbose).COMMENT
MEDIUMscripts/run_doc_tests.sh51# emit a flat summary for release_sweep.sh after the harness exits. TheCOMMENT
328 more matches not shown…
Hyper-Verbose Identifiers289 hits · 249 pts
SeverityFileLineSnippetContext
LOWtypes/perry/ui/index.d.ts827export function buttonSetContentTintColor(widget: Widget, r: number, g: number, b: number, a: number): void;CODE
LOWtypes/perry/ui/index.d.ts845export function widgetSetBackgroundGradient(CODE
LOWtypes/perry/ui/index.d.ts934export function datePickerGetSelectedDate(widget: Widget): string;CODE
LOWtypes/perry/ui/index.d.ts1145export function textfieldSetBackgroundColor(widget: Widget, r: number, g: number, b: number, a: number): void;CODE
LOWtypes/perry/ui/index.d.ts1184export function scrollviewSetRefreshControl(scrollView: Widget, onPull: () => void): void;CODE
LOWtypes/perry/ui/index.d.ts1185export function scrollViewSetRefreshControl(scrollView: Widget, onPull: () => void): void;CODE
LOWtypes/perry/ui/index.d.ts1201export function scrollviewSetScrollEndCallback(scrollView: Widget, onScrollEnd: () => void, thresholdPx: number): void;CODE
LOWtypes/perry/ui/index.d.ts1202export function scrollViewSetScrollEndCallback(scrollView: Widget, onScrollEnd: () => void, thresholdPx: number): void;CODE
LOWtypes/perry/ui/index.d.ts1211export function lazyvstackSetRefreshControl(view: Widget, onPull: () => void): void;CODE
LOWtypes/perry/ui/index.d.ts1222export function lazyvstackSetScrollEndCallback(view: Widget, onScrollEnd: () => void, thresholdItems: number): void;CODE
LOWtypes/perry/ui/index.d.ts1269export function bottomNavSetUnselectedTintColor(CODE
LOWtypes/perry/ui/index.d.ts1471export function tableSetAllowsMultipleSelection(table: Widget, allow: number): void;CODE
LOWtypes/perry/ui/index.d.ts1474export function tableGetSelectedRowsCount(table: Widget): number;CODE
LOWtypes/perry/ui/index.d.ts1556export function cameraRegisterFrameCallback(camera: Widget, callback: (frameData: Uint8Array, width: number, height: numCODE
LOWtypes/perry/ui/index.d.ts1559export function cameraUnregisterFrameCallback(camera: Widget): void;CODE
LOWtypes/perry/system/index.d.ts214export function notificationRegisterRemote(onToken: (token: string) => void): void;CODE
LOWtypes/perry/system/index.d.ts245export function notificationOnBackgroundReceive(CODE
LOWtypes/perry/system/index.d.ts401export function geolocationRequestPermission(CODE
LOWtests/test_copied_minor_fallback_report.py217 def test_strict_mode_fails_copy_only_roots(self):CODE
LOWtests/test_copied_minor_fallback_report.py227 def test_strict_mode_fails_conservative_stack(self):CODE
LOWtests/test_copied_minor_fallback_report.py237 def test_strict_mode_fails_conservative_pinned_bytes(self):CODE
LOWtests/test_copied_minor_fallback_report.py130def native_stack_root_sources():CODE
LOWtests/test_copied_minor_fallback_report.py250 def test_strict_mode_fails_compiled_frame_pinned_bytes(self):CODE
LOWtests/test_copied_minor_fallback_report.py266 def test_strict_mode_fails_truncated_or_unbounded_conservative_stack(self):CODE
LOWtests/test_copied_minor_fallback_report.py281 def test_strict_mode_fails_unattributed_root_emissions(self):CODE
LOWtests/test_copied_minor_fallback_report.py300 def test_strict_mode_fails_copy_only_young_and_malloc_emissions(self):CODE
LOWtests/test_copied_minor_fallback_report.py323 def test_strict_mode_fails_ineligible_cycles(self):CODE
LOWtests/test_copied_minor_fallback_report.py336 def test_strict_mode_fails_legacy_copy_only_pinned_bytes(self):CODE
LOWtests/test_copied_minor_fallback_report.py349 def test_strict_mode_fails_malloc_registry_rebuilds(self):CODE
LOWtests/test_copied_minor_fallback_report.py362 def test_strict_mode_fails_forbidden_promise_malloc_kind(self):CODE
LOWtests/test_copied_minor_fallback_report.py380 def test_strict_mode_requires_a_default_safe_workload(self):CODE
LOWtests/test_copied_minor_fallback_report.py389 def test_strict_mode_passes_default_safe_workloads_with_no_fallback(self):CODE
LOWtests/test_copied_minor_fallback_report.py403 def test_strict_mode_requires_mutable_or_shadow_root_source_evidence(self):CODE
LOWtests/test_copied_minor_fallback_report.py414 def test_strict_mode_fails_missing_root_sources(self):CODE
LOWtests/test_copied_minor_fallback_report.py423 def test_strict_mode_requires_native_attribution_for_conservative_stack(self):CODE
LOWtests/test_copied_minor_fallback_report.py440 def test_non_strict_mode_permits_known_fallback_reasons_for_reporting(self):CODE
LOWtests/test_copied_minor_fallback_report.py480 def test_target_gates_fail_forbidden_string_and_closure_malloc_kinds(self):CODE
LOWtests/test_copied_minor_fallback_report.py514 def test_target_gates_ignore_non_forbidden_malloc_kinds(self):CODE
LOWtests/test_copied_minor_fallback_report.py536 def test_target_gates_honor_documented_malloc_kind_allowances(self):CODE
LOWtests/test_copied_minor_fallback_report.py564 def test_target_gates_allow_async_forced_evacuation_fallback_trace(self):CODE
LOWtests/test_copied_minor_fallback_report.py601 def test_target_gates_require_old_page_reuse_or_return(self):CODE
LOWtests/test_copied_minor_fallback_report.py616 def test_target_gates_accept_old_page_reuse_or_return(self):CODE
LOWtests/test_gc_1090_evidence_report.py609 def test_fails_benchmark_correctness(self):CODE
LOWtests/test_gc_1090_evidence_report.py614 def test_fails_memory_stability(self):CODE
LOWtests/test_gc_1090_evidence_report.py619 def test_gate_includes_perf_frontier_fields(self):CODE
LOWtests/test_gc_1090_evidence_report.py350def gc_store_inventory_packet(**summary_overrides):CODE
LOWtests/test_gc_1090_evidence_report.py531 def test_main_writes_packet_files(self):CODE
LOWtests/test_gc_1090_evidence_report.py542 def test_fails_conservative_stack(self):CODE
LOWtests/test_gc_1090_evidence_report.py553 def test_fails_conservative_pinned_bytes(self):CODE
LOWtests/test_gc_1090_evidence_report.py564 def test_fails_compiled_frame_pinned_bytes(self):CODE
LOWtests/test_gc_1090_evidence_report.py580 def test_fails_truncated_unbounded_or_unattributed_roots(self):CODE
LOWtests/test_gc_1090_evidence_report.py637 def test_old_page_policy_retained_rss_improvement_can_pass_when_peak_does_not(self):CODE
LOWtests/test_gc_1090_evidence_report.py659 def test_old_page_policy_fails_without_peak_or_retained_threshold(self):CODE
LOWtests/test_gc_1090_evidence_report.py679 def test_old_page_policy_small_baseline_uses_non_regression_with_structural_proof(self):CODE
LOWtests/test_gc_1090_evidence_report.py700 def test_old_page_policy_accepts_reclaimable_returned_pages(self):CODE
LOWtests/test_gc_1090_evidence_report.py729 def test_old_page_policy_missing_evidence_fails_gate(self):CODE
LOWtests/test_gc_1090_evidence_report.py741 def test_old_page_policy_fails_old_gen_churn_plateau(self):CODE
LOWtests/test_gc_1090_evidence_report.py758 def test_gate_requires_exact_sha_and_perf_frontier(self):CODE
LOWtests/test_gc_1090_evidence_report.py770 def test_gate_fails_unaudited_store_sites(self):CODE
LOWtests/test_gc_1090_evidence_report.py789 def test_fails_remembered_set_stale_entries(self):CODE
229 more matches not shown…
Structural Annotation Overuse53 hits · 95 pts
SeverityFileLineSnippetContext
LOWcrates/perry-codegen/src/linker.rs837 // Step 1: llvm-as each .ll → .bcCOMMENT
LOWcrates/perry-codegen/src/linker.rs860 // Step 2: llvm-link all bitcode into one module.COMMENT
LOWcrates/perry-codegen/src/linker.rs890 // Step 3: opt -O3COMMENT
LOWcrates/perry-codegen/src/linker.rs908 // Step 4: llc -filetype=obj → .oCOMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs149 // Step 1: set of ids declared in this scope (Let).COMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs153 // Step 2: set of ids referenced inside ANY closure body found inCOMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs160 // Step 3: set of ids MUTATED in the enclosing scope (outside anyCOMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs167 // Step 4: ids declared in a `for` loop init (the `for (let i = ...;COMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs182 // Step 5: detect self-recursive closures. When a Stmt::Let has aCOMMENT
LOWcrates/perry-codegen/src/stmt/let_stmt.rs1061 // Step 1: allocate box with undefined sentinel bits.COMMENT
LOWcrates/perry-codegen/src/stmt/let_stmt.rs1088 // Step 2: register BEFORE lowering init.COMMENT
LOWcrates/perry-codegen/src/stmt/let_stmt.rs1092 // Step 3: lower init and store into the box.COMMENT
LOW…odegen/src/lower_call/property_get/dynamic_dispatch.rs546 // Step 1: walk parent chain for the static method name.COMMENT
LOW…odegen/src/lower_call/property_get/dynamic_dispatch.rs559 // Step 2: collect overriding subclasses. For eachCOMMENT
LOW…odegen/src/lower_call/property_get/dynamic_dispatch.rs925 // Step 4: virtual dispatch via class_id switch.COMMENT
LOWcrates/perry-runtime/src/closure/dispatch/value_call.rs15/// NOTE: This function is named js_native_call_value to avoid symbol collisionCOMMENT
LOWcrates/perry-runtime/src/array/from_concat.rs644 // Step 5: iterable. Construct the result BEFORE creating the iteratorCOMMENT
LOWcrates/perry-runtime/src/regex/exec.rs60 // Step 8: a non-global/non-sticky search always starts at 0; the valueCOMMENT
LOWcrates/perry-runtime/src/object/native_call_method.rs159/// NOTE: This function is named js_native_call_method to avoid symbol collisionCOMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs132 // Step 3: if the primitive is a Number and is not finite, return null.COMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs146 // Step 4: Invoke(this, "toISOString"). For a real Date, dispatch straightCOMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs217 // Step 1: brand-check `Type(O) is Object` (throws for undefined/null/86/''/true).COMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs241 // Step 5: OrdinaryToPrimitive(O, tryFirst).COMMENT
LOW…ry-runtime/src/object/object_ops/descriptor_helpers.rs381 // Step 4: a non-configurable property cannot be made configurable, and itsCOMMENT
LOWcrates/perry-runtime/src/promise/then.rs1030 // Step 1: Get(receiver, "constructor") — getter throws → propagate via longjmp.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1039 // Step 2: undefined → use intrinsic %Promise%.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1044 // Step 3: Type(C) not Object → TypeError.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1049 // Step 4: S = Get(C, @@species) — getter throws → propagate.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1058 // Step 5: undefined or null → use intrinsic %Promise%.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1063 // Step 6: IsConstructor(S) → return S.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1068 // Step 7: throw TypeError.COMMENT
LOWcrates/perry-runtime/src/string/slice_ops.rs134 // Step 4: ToIntegerOrInfinity(start), observed FIRST. ±Infinity clamps toCOMMENT
LOWcrates/perry-runtime/src/string/slice_ops.rs145 // Step 8: an `undefined` length means the rest of the string (`size`);COMMENT
LOWcrates/perry-runtime/src/string/slice_ops.rs152 // Step 9: clamp the length into [0, size]. Step 10: end = min(start+len, size).COMMENT
LOWcrates/perry-runtime/src/string/split.rs574 // Step 2: a separator with a `[Symbol.split]` method (a RegExp) takes over.COMMENT
LOWcrates/perry-runtime/src/string/split.rs597 // Step 6: lim = limit===undefined ? 2^32-1 : ToUint32(limit) (may throw).COMMENT
LOWcrates/perry-runtime/src/string/split.rs604 // Step 7: R = ToString(separator) (may throw). For `undefined` the resultCOMMENT
LOWcrates/perry-runtime/src/string/split.rs614 // Step 8: limit 0 → empty array.COMMENT
LOWcrates/perry-runtime/src/string/split.rs618 // Step 9: undefined separator → [S].COMMENT
LOWcrates/perry-runtime/src/buffer/from.rs862 // Step 2: Type(buffer) must be Object holding [[ArrayBufferData]].COMMENT
LOWcrates/perry-runtime/src/buffer/from.rs883 // Step 9: offset must not exceed the backing buffer's byteLength.COMMENT
LOWcrates/perry/src/commands/run/resign.rs42 // Step 1: Find or create a development provisioning profileCOMMENT
LOWcrates/perry/src/commands/run/resign.rs75 // Step 2: Embed the profile and code-sign for development.COMMENT
LOWcrates/perry-ui-windows/src/widgets/webview.rs370 // Step 2: create controller bound to host_hwnd.COMMENT
LOWdocs/examples/runtime/thread_snippets.ts583 // Step 1: Filter to relevant items (parallel)COMMENT
LOWdocs/examples/runtime/thread_snippets.ts586 // Step 2: Transform the filtered results (parallel)COMMENT
LOWdocs/history/PERRY_UI_IMPLEMENTATION.md45## Step 1: Create Crate StructureCOMMENT
LOWdocs/history/PERRY_UI_IMPLEMENTATION.md324## Step 2: Compiler IntegrationCOMMENT
LOWdocs/history/PERRY_UI_IMPLEMENTATION.md421## Step 3: Tree-ShakingCOMMENT
LOWdocs/history/PERRY_UI_IMPLEMENTATION.md464## Step 4: Implementation OrderCOMMENT
LOWdocs/src/plugins/creating-plugins.md7## Step 1: Write the PluginCOMMENT
LOWdocs/src/plugins/creating-plugins.md13## Step 2: Compile as Shared LibraryCOMMENT
LOWdocs/src/plugins/creating-plugins.md27## Step 3: Load from HostCOMMENT
Modern AI Meta-Vocabulary30 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml172# WinUI scaffold (#4680): re-exports perry-ui-windows; the staticlib bundlesCOMMENT
MEDIUMcrates/perry-ui-windows-winui/src/winui.rs4//! `Microsoft.UI.Xaml` controls. It is empty of real XAML today (scaffold);COMMENT
MEDIUMcrates/perry-ui-windows-winui/src/winui.rs22/// the scaffold can fall back to the Win32 backend and run fine. So instead ofCOMMENT
MEDIUM…/src/lower_call/native_table/node_core/inspector_vm.rs249 // ========== Node vm scaffold ==========COMMENT
MEDIUM…/src/lower_call/native_table/node_core/inspector_vm.rs253 // shape-only scaffold (#4079) plus measureMemory validation (#4087).COMMENT
MEDIUMcrates/perry-runtime/src/timer.rs1757 // #6185: test scaffolding runs on the primary agent.COMMENT
MEDIUMcrates/perry-runtime/src/timer.rs1765 // #6185: test scaffolding runs on the primary agent.COMMENT
MEDIUMcrates/perry-runtime/src/timer.rs1779 // #6185: test scaffolding runs on the primary agent.COMMENT
MEDIUMcrates/perry-runtime/src/timer.rs1798 // #6185: test scaffolding runs on the primary agent.COMMENT
MEDIUMcrates/perry-runtime/src/timer.rs1926 // #6185: test scaffolding runs on the primary agent.COMMENT
MEDIUMcrates/perry-runtime/src/node_vm.rs1694/// remaining entries live in this VM scaffold/lifecycle module.COMMENT
MEDIUMcrates/perry-api-manifest/src/entries.rs151 // MVP scaffold: bundled wrapper at `crates/perry-ext-ads`COMMENT
MEDIUMcrates/perry-api-manifest/src/entries/part_4.rs70 // --- node:vm scaffold (#3127/#3128/#3130/#3284/#3321/#3323) ---COMMENT
MEDIUMcrates/perry/well_known_bindings.toml282# (iOS via SwiftPM, Android via play-services-ads). MVP scaffold:COMMENT
MEDIUMcrates/perry/tests/issue_5835_zero_arg_function_ctor.rs10//! uses `new Function()` as a settable-prototype scaffold forCOMMENT
MEDIUMcrates/perry/src/main.rs170 /// `perry native init <name>` — scaffold a new wrapper package.COMMENT
MEDIUMcrates/perry/src/main.rs179 /// `perry widget init <name>` — scaffold a SwiftUI WidgetKit sourceCOMMENT
MEDIUMcrates/perry/src/commands/widget.rs1//! `perry widget init <name>` — scaffold a WidgetKit (SwiftUI) source tree.COMMENT
MEDIUMcrates/perry/src/commands/widget.rs192/// content (text body, sample data, timeline cadence) — the scaffold justCOMMENT
MEDIUMcrates/perry/src/commands/init.rs46// scaffold as a publishable package, and `main` mirrors perry.toml's `entry`.COMMENT
MEDIUMcrates/perry/src/commands/native/init.rs1//! `perry native init <name>` — scaffold a new native-bindings package.COMMENT
MEDIUMcrates/perry/src/commands/compile/library_search.rs1051 // perry-ui-windows Win32 symbols today (scaffold), so the FFI surfaceCOMMENT
MEDIUMcrates/perry-hir/src/dynamic_import/tests.rs944/// #6304 test scaffolding: a module that DEFINES `name` as an exportedCOMMENT
MEDIUMcrates/perry-hir/src/lower/const_fold_fn.rs329 // scaffold for `Reflect.construct` began throwing). Gate the refusal onCOMMENT
MEDIUMcrates/perry-hir/src/lower/lowering_context.rs204 /// `FuncRef`-targeted generic calls (issue #321 scaffolding) but doesCOMMENT
MEDIUMcrates/perry-stdlib/Cargo.toml326# delegates orchestration to `ComposeEngine` / `ContainerBackend`.COMMENT
MEDIUMscripts/release_sweep.sh2# release_sweep.sh — orchestrate a full pre-release test sweep.COMMENT
MEDIUMscripts/node_core_subset.py620 # Stage shared scaffolding: common/ (shim) + fixtures symlink.COMMENT
MEDIUMscripts/test262_subset.py131# NB: Atomics/SharedArrayBuffer are now in scope (#4794). The agent-based casesCOMMENT
MEDIUMscripts/release_sweep_tiers/tier11_windows_smoke.sh6# a clean exit. The actual orchestration (Start-Process / WaitForExit /COMMENT
Verbosity Indicators46 hits · 85 pts
SeverityFileLineSnippetContext
LOWcrates/perry-codegen/src/linker.rs837 // Step 1: llvm-as each .ll → .bcCOMMENT
LOWcrates/perry-codegen/src/linker.rs860 // Step 2: llvm-link all bitcode into one module.COMMENT
LOWcrates/perry-codegen/src/linker.rs890 // Step 3: opt -O3COMMENT
LOWcrates/perry-codegen/src/linker.rs908 // Step 4: llc -filetype=obj → .oCOMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs149 // Step 1: set of ids declared in this scope (Let).COMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs153 // Step 2: set of ids referenced inside ANY closure body found inCOMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs160 // Step 3: set of ids MUTATED in the enclosing scope (outside anyCOMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs167 // Step 4: ids declared in a `for` loop init (the `for (let i = ...;COMMENT
LOWcrates/perry-codegen/src/boxed_vars.rs182 // Step 5: detect self-recursive closures. When a Stmt::Let has aCOMMENT
LOWcrates/perry-codegen/src/stmt/let_stmt.rs1061 // Step 1: allocate box with undefined sentinel bits.COMMENT
LOWcrates/perry-codegen/src/stmt/let_stmt.rs1088 // Step 2: register BEFORE lowering init.COMMENT
LOWcrates/perry-codegen/src/stmt/let_stmt.rs1092 // Step 3: lower init and store into the box.COMMENT
LOW…odegen/src/lower_call/property_get/dynamic_dispatch.rs546 // Step 1: walk parent chain for the static method name.COMMENT
LOW…odegen/src/lower_call/property_get/dynamic_dispatch.rs559 // Step 2: collect overriding subclasses. For eachCOMMENT
LOW…odegen/src/lower_call/property_get/dynamic_dispatch.rs925 // Step 4: virtual dispatch via class_id switch.COMMENT
LOWcrates/perry-runtime/src/array/from_concat.rs644 // Step 5: iterable. Construct the result BEFORE creating the iteratorCOMMENT
LOWcrates/perry-runtime/src/regex/exec.rs60 // Step 8: a non-global/non-sticky search always starts at 0; the valueCOMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs132 // Step 3: if the primitive is a Number and is not finite, return null.COMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs146 // Step 4: Invoke(this, "toISOString"). For a real Date, dispatch straightCOMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs217 // Step 1: brand-check `Type(O) is Object` (throws for undefined/null/86/''/true).COMMENT
LOWcrates/perry-runtime/src/object/date_proto_thunks.rs241 // Step 5: OrdinaryToPrimitive(O, tryFirst).COMMENT
LOW…ry-runtime/src/object/object_ops/descriptor_helpers.rs381 // Step 4: a non-configurable property cannot be made configurable, and itsCOMMENT
LOW…perry-runtime/src/object/global_this/bigint_promise.rs299 // Step 1: `bits = ? ToIndex(bits)`. ToIndex = ToIntegerOrInfinity(ToNumber)COMMENT
LOW…perry-runtime/src/object/global_this/bigint_promise.rs315 // Step 2: `bigint = ? ToBigInt(bigint)`. ToBigInt coerces BigInt / Boolean /COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1030 // Step 1: Get(receiver, "constructor") — getter throws → propagate via longjmp.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1039 // Step 2: undefined → use intrinsic %Promise%.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1044 // Step 3: Type(C) not Object → TypeError.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1049 // Step 4: S = Get(C, @@species) — getter throws → propagate.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1058 // Step 5: undefined or null → use intrinsic %Promise%.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1063 // Step 6: IsConstructor(S) → return S.COMMENT
LOWcrates/perry-runtime/src/promise/then.rs1068 // Step 7: throw TypeError.COMMENT
LOWcrates/perry-runtime/src/string/slice_ops.rs134 // Step 4: ToIntegerOrInfinity(start), observed FIRST. ±Infinity clamps toCOMMENT
LOWcrates/perry-runtime/src/string/slice_ops.rs145 // Step 8: an `undefined` length means the rest of the string (`size`);COMMENT
LOWcrates/perry-runtime/src/string/slice_ops.rs152 // Step 9: clamp the length into [0, size]. Step 10: end = min(start+len, size).COMMENT
LOWcrates/perry-runtime/src/string/split.rs574 // Step 2: a separator with a `[Symbol.split]` method (a RegExp) takes over.COMMENT
LOWcrates/perry-runtime/src/string/split.rs597 // Step 6: lim = limit===undefined ? 2^32-1 : ToUint32(limit) (may throw).COMMENT
LOWcrates/perry-runtime/src/string/split.rs604 // Step 7: R = ToString(separator) (may throw). For `undefined` the resultCOMMENT
LOWcrates/perry-runtime/src/string/split.rs614 // Step 8: limit 0 → empty array.COMMENT
LOWcrates/perry-runtime/src/string/split.rs618 // Step 9: undefined separator → [S].COMMENT
LOWcrates/perry-runtime/src/buffer/from.rs862 // Step 2: Type(buffer) must be Object holding [[ArrayBufferData]].COMMENT
LOWcrates/perry-runtime/src/buffer/from.rs883 // Step 9: offset must not exceed the backing buffer's byteLength.COMMENT
LOWcrates/perry/src/commands/run/resign.rs42 // Step 1: Find or create a development provisioning profileCOMMENT
LOWcrates/perry/src/commands/run/resign.rs75 // Step 2: Embed the profile and code-sign for development.COMMENT
LOWcrates/perry-ui-windows/src/widgets/webview.rs370 // Step 2: create controller bound to host_hwnd.COMMENT
LOWdocs/examples/runtime/thread_snippets.ts583 // Step 1: Filter to relevant items (parallel)COMMENT
LOWdocs/examples/runtime/thread_snippets.ts586 // Step 2: Transform the filtered results (parallel)COMMENT
Hallucination Indicators6 hits · 75 pts
SeverityFileLineSnippetContext
CRITICAL…emplate/app/src/main/java/com/perry/app/PerryBridge.kt1605 val mapView = com.google.android.gms.maps.MapView(activity)CODE
CRITICAL…emplate/app/src/main/java/com/perry/app/PerryBridge.kt1648 val pos = com.google.android.gms.maps.model.CameraPosition.Builder()CODE
CRITICAL…emplate/app/src/main/java/com/perry/app/PerryBridge.kt1649 .target(com.google.android.gms.maps.model.LatLng(latitude, longitude))CODE
CRITICAL…emplate/app/src/main/java/com/perry/app/PerryBridge.kt1653 com.google.android.gms.maps.CameraUpdateFactory.newCameraPosition(pos)CODE
CRITICAL…emplate/app/src/main/java/com/perry/app/PerryBridge.kt1666 val opts = com.google.android.gms.maps.model.MarkerOptions()CODE
CRITICAL…emplate/app/src/main/java/com/perry/app/PerryBridge.kt1667 .position(com.google.android.gms.maps.model.LatLng(latitude, longitude))CODE
Unused Imports90 hits · 74 pts
SeverityFileLineSnippetContext
LOWdocs/scripts/i18n_extract_todo.py11CODE
LOWbenchmarks/benchmark_gate.py4CODE
LOWbenchmarks/public_baseline.py4CODE
LOWbenchmarks/verify_benchmark_output.py9CODE
LOWbenchmarks/honest_bench/harness/check_output.py16CODE
LOWbenchmarks/honest_bench/scripts/plot.py8CODE
LOWbenchmarks/honest_bench/scripts/gen_image.py7CODE
LOWbenchmarks/honest_bench/scripts/gen_image.py8CODE
LOWbenchmarks/honest_bench/scripts/gen_json.py11CODE
LOWbenchmarks/honest_bench/scripts/report.py14CODE
LOWbenchmarks/honest_bench/scripts/report.py16CODE
LOWscripts/parity_matrix_trend.py11CODE
LOWscripts/node_builtin_manifest_radar.py10CODE
LOWscripts/addr_class_inventory.py31CODE
LOWscripts/gen_parity_gaps.py26CODE
LOWscripts/gen_parity_gaps.py30CODE
LOWscripts/gc_1090_evidence_report.py4CODE
LOWscripts/perf_frontier_report.py4CODE
LOWscripts/compiler_output_regression.py4CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py11CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py34CODE
LOWscripts/compiler_output_regression.py43CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
LOWscripts/compiler_output_regression.py44CODE
30 more matches not shown…
Example Usage Blocks26 hits · 40 pts
SeverityFileLineSnippetContext
LOWparity_status.sh10# Usage:COMMENT
LOWrun_module_parity.sh8# Usage:COMMENT
LOWrun_llvm_sweep.sh6# Usage:COMMENT
LOWtests/release/packages/_harness.sh15# Usage:COMMENT
LOWdocs/i18n.sh4# Usage:COMMENT
LOWbenchmarks/compare.sh7# Usage:COMMENT
LOWbenchmarks/honest_bench/harness/run_http_bench.sh7# Usage:COMMENT
LOWbenchmarks/honest_bench/harness/run_bench.sh7# Usage:COMMENT
LOWbenchmarks/app-patterns/run.sh14# Usage:COMMENT
LOWscripts/pre-tag-check.sh23# Usage:COMMENT
LOWscripts/run_thread_tests.sh14# Usage:COMMENT
LOWscripts/smoke_updater.sh15# Usage:COMMENT
LOWscripts/release_sweep.sh14# Usage:COMMENT
LOWscripts/bisect_1114.sh7# Usage:COMMENT
LOWscripts/run_ui_styling_matrix.sh14# Usage:COMMENT
LOWscripts/run_visual_test_check.sh22# Usage:COMMENT
LOWscripts/run_simctl_tests.sh14# Usage:COMMENT
LOWscripts/run_fastify_tests.sh11# Usage:COMMENT
LOWscripts/stage-npm.sh9# Usage:COMMENT
LOWtest-files/run_test_issue_1293.sh7# Usage:COMMENT
LOWtest-files/run_test_issue_1240.sh6# Usage:COMMENT
LOWtest-files/run_test_issue_1088.sh6# Usage:COMMENT
LOWtest-files/run_test_issue_1193.sh5# Usage:COMMENT
LOWtest-files/run_test_issue_1120.sh6# Usage:COMMENT
LOWtest-files/run_test_issue_1124.sh5# Usage:COMMENT
LOWtest-coverage/audit.sh8# Usage:COMMENT
Excessive Try-Catch Wrapping31 hits · 40 pts
SeverityFileLineSnippetContext
LOWdocs/scripts/i18n_merge_translations.py35 except Exception as e: # noqa: BLE001CODE
LOWbenchmarks/honest_bench/run.sh56 except Exception:CODE
LOWbenchmarks/honest_bench/run.sh313 except Exception: passCODE
MEDIUMbenchmarks/honest_bench/run.sh52def run(cmd):CODE
LOWbenchmarks/honest_bench/harness/run_bench.sh129 except Exception as e:CODE
LOWscripts/native_abi_evidence_report.py374 except Exception:CODE
LOWscripts/node_suite_run.py93 except Exception:CODE
LOWscripts/node_suite_run.py105 except Exception:CODE
LOWscripts/node_suite_run.py123 except Exception:CODE
LOWscripts/perf_frontier_gate.sh223 except Exception as exc:CODE
MEDIUMscripts/perf_frontier_gate.sh220def run(cmd):CODE
LOWscripts/gc_1090_evidence_packet.sh162 except Exception as exc:CODE
LOWscripts/gc_1090_evidence_packet.sh582 except Exception:CODE
LOWscripts/gc_1090_evidence_packet.sh589 except Exception:CODE
LOWscripts/gc_1090_evidence_packet.sh603 except Exception:CODE
LOWscripts/gc_1090_evidence_packet.sh641 except Exception:CODE
LOWscripts/gc_1090_evidence_packet.sh655 except Exception:CODE
LOWscripts/gc_1090_evidence_packet.sh682 except Exception:CODE
LOWscripts/gc_1090_evidence_packet.sh728 except Exception:CODE
MEDIUMscripts/gc_1090_evidence_packet.sh159def run(cmd):CODE
MEDIUMscripts/gc_1090_evidence_packet.sh579def read_json(path, default):CODE
MEDIUMscripts/gc_1090_evidence_packet.sh586def read_exit(path):CODE
MEDIUMscripts/gc_1090_evidence_packet.sh638def parse_peak_rss_kb(path):CODE
MEDIUMscripts/gc_1090_evidence_packet.sh652def parse_peak_footprint_kb(path):CODE
LOWscripts/native_abi_evidence_packet.sh200 except Exception as exc:CODE
MEDIUMscripts/native_abi_evidence_packet.sh197def run(cmd):CODE
LOWscripts/compiler_output_harness/capture.py103 except Exception as exc: # pragma: no cover - defensive metadata only.CODE
LOWtest-files/test_net_upgrade_tls_server.py80 except Exception:CODE
LOWtest-files/test_net_upgrade_tls_server.py82 except Exception as exc:CODE
LOWtest-files/test_net_upgrade_tls_server.py87 except Exception:CODE
LOWtest-compat/npm-sweep/run.py212 except Exception:CODE
Cross-Language Confusion5 hits · 26 pts
SeverityFileLineSnippetContext
HIGHbenchmarks/honest_bench/harness/check_output.py6 {"output_match": true|false|null, "output_match_reason": "..."}STRING
HIGHscripts/addr_class_inventory.py289 "} else if top16 == 0 && bits >= 0x1000 {\n",CODE
HIGHscripts/node_suite_run.py5`perry <t> -o out && out`, then compare stdout (trailing whitespace ignored).STRING
HIGHscripts/node_core_subset.py542 f"test/fixtures && git checkout)", file=sys.stderr)CODE
HIGHtest-files/multi/test_harness_init_scale/generate.py38 // must be a string (not 0, undefined, or a NaN-box leak).COMMENT
Deep Nesting27 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/test_copied_minor_fallback_report.py180CODE
LOWtests/test_compiler_output_regression.py1885CODE
LOWtests/test_benchmark_gate.py469CODE
LOWbenchmarks/benchmark_gate.py107CODE
LOWbenchmarks/benchmark_gate.py268CODE
LOWbenchmarks/benchmark_gate.py573CODE
LOWscripts/gen_parity_gaps.py70CODE
LOWscripts/gc_1090_evidence_report.py177CODE
LOWscripts/gc_1090_evidence_report.py710CODE
LOWscripts/gc_1090_evidence_report.py752CODE
LOWscripts/gc_1090_evidence_report.py777CODE
LOWscripts/gc_1090_evidence_report.py1274CODE
LOWscripts/perf_frontier_report.py166CODE
LOWscripts/perf_frontier_report.py633CODE
LOWscripts/perf_frontier_report.py828CODE
LOWscripts/native_abi_evidence_report.py903CODE
LOWscripts/node_core_subset.py457CODE
LOWscripts/test262_subset.py200CODE
LOWscripts/test262_subset.py278CODE
LOWscripts/test262_subset.py382CODE
LOWscripts/gen_parity_tests.py67CODE
LOWscripts/ci_test_scope.py164CODE
LOWscripts/ci_test_scope.py204CODE
LOWscripts/compiler_output_harness/analyzers.py154CODE
LOWscripts/compiler_output_harness/analyzers.py374CODE
LOWscripts/compiler_output_harness/spec.py30CODE
LOWtest-files/test_net_upgrade_tls_server.py46CODE
Fake / Example Data13 hits · 13 pts
SeverityFileLineSnippetContext
LOWcrates/perry-ui-geisterhand/src/inspector_ui/index.html261 <div class="placeholder">click <strong>capture</strong> to fetch a live screenshot of the running app</div>CODE
LOWcrates/perry-ext-validator/src/lib.rs329 assert_eq!(js_validator_is_email(p("foo@bar.com")), 1.0);CODE
LOWcrates/perry/tests/string_append_heap_alias.rs155const a = ["placeholder"];CODE
LOWcrates/perry/tests/string_append_heap_alias.rs335const a = ["placeholder"].with(0, s); // replace -> must demote s to sharedCODE
LOWcrates/perry-hir/src/lower/widget_decl.rs432 "placeholder" => {CODE
LOWdocs/native-libraries.md695validator.isEmail('user@example.com'); // trueCODE
LOWtest-parity/node-suite/zlib/brotli/roundtrip-large.ts3const chunk = "lorem ipsum dolor sit amet consectetur adipiscing elit ";CODE
LOWtest-parity/node-suite/zlib/brotli/roundtrip-large.ts3const chunk = "lorem ipsum dolor sit amet consectetur adipiscing elit ";CODE
LOWtest-files/test_parity_validator.ts39console.log("isEmail:", validator.isEmail("user@example.com"));CODE
LOWtest-files/test_issue_2656_weakref_finalization_gc.ts18let weak = new WeakRef({ marker: "placeholder" });CODE
LOWtest-files/test_issue_2656_weakref_finalization_gc.ts19let removedWeak = new WeakRef({ marker: "placeholder" });CODE
LOWtest-files/test_issue_748_multi_step_await_return.ts110 email: "foo@bar.com",CODE
LOWtest-files/test_edge_json_regex.ts147console.log(emailRe.test("user@example.com")); // trueCODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_native_library_no_stubs.sh31# Create a minimal package with native library functionsCOMMENT
MEDIUMtests/test_native_library_no_stubs.sh51# Create the TypeScript source that declares and uses these functionsCOMMENT
MEDIUMtests/test_native_library_no_stubs.sh68# Create the main appCOMMENT
MEDIUMtemplates/github-actions/ci.yml57 # Create a simple test fileCOMMENT
TODO Padding6 hits · 9 pts
SeverityFileLineSnippetContext
LOWcrates/perry-ui-visionos/src/ffi_focus_menu.rs169 // TODO: implement iOS textfield focus observerCOMMENT
LOWcrates/perry-ui-visionos/src/ffi_focus_menu.rs175 // TODO: implement iOS blurCOMMENT
LOWcrates/perry-ui-ios/src/ffi/widgets_basic.rs800 // TODO: implement iOS textfield focus observerCOMMENT
LOWcrates/perry-ui-ios/src/ffi/widgets_basic.rs806 // TODO: implement iOS blurCOMMENT
LOWcrates/perry-ui-tvos/src/ffi/menus_dialog.rs135 // TODO: implement iOS textfield focus observerCOMMENT
LOWcrates/perry-ui-tvos/src/ffi/menus_dialog.rs141 // TODO: implement iOS blurCOMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWrun_parity_tests.sh652 # Check if test should be skippedCOMMENT
LOWrun_tests.sh63 # Check if test should be skippedCOMMENT
LOWbenchmarks/run_benchmarks.sh157# Print results summaryCOMMENT
LOWbenchmarks/suite/run_benchmarks.sh20# Check if compilers existCOMMENT
LOWbenchmarks/suite/run_benchmarks.sh224 # Print results with colors based on comparison to NodeCOMMENT
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_copied_minor_fallback_report.py32CODE
LOWtests/test_gc_1090_evidence_report.py31CODE
LOWscripts/compiler_output_harness/verification.py1112CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest-files/test_async5.ts3async function doSomething(): Promise<void> {CODE