AI Slop Code Risk Monitor

MystenLabs/sui

SlopCodeMonitor badge for MystenLabs/sui Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for MystenLabs/sui, a Rust project with 7,784 GitHub stars. SynthScan examined 1,970,237 lines of code across 5204 source files, recording 2384 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.8K
Stars
Rust
Language
2.0M
Lines of Code
5.2K
Files
2.4K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 1.2/100 · LOW

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

PR Review Velocity Impact 7.1/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 17HIGH 9MEDIUM 155LOW 2203

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block1824 hits · 1782 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21# A list of advisory IDs to ignore. Note that ignored advisories will stillCOMMENT
LOWdeny.toml41 # AES functions in `ring` may panic when overflow checking is enabledCOMMENT
LOWdeny.toml61 # but quick-xml is transitive via object_store, whose latest release (0.14.0)COMMENT
LOWdeny.toml81 # elliptic-curve 0.14 / crypto-bigint 0.7 upgrade. Validator signing usesCOMMENT
LOWdeny.toml101# * None - CVSS Score 0.0COMMENT
LOWdeny.toml141exceptions = [COMMENT
LOWdeny.toml181# published to private registriesCOMMENT
LOWdeny.toml201# * simplest-path - The path to the version with the fewest edges is highlightedCOMMENT
LOWdeny.toml221]COMMENT
LOW.config/hakari.toml1# This file contains settings for `cargo hakari`.COMMENT
LOWexternal-crates/move/deny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWexternal-crates/move/deny.toml21COMMENT
LOWexternal-crates/move/deny.toml41yanked = "warn"COMMENT
LOWexternal-crates/move/deny.toml61 # `imbl`, which is the RUSTSEC-recommended replacement for the unmaintainedCOMMENT
LOWexternal-crates/move/deny.toml101confidence-threshold = 0.8COMMENT
LOWexternal-crates/move/deny.toml121# the license expression. If the contents match, the clarification will be usedCOMMENT
LOWexternal-crates/move/deny.toml141]COMMENT
LOWexternal-crates/move/deny.toml161 # { name = "ansi_term", version = "=0.11.0" },COMMENT
LOW…ternal-crates/move/documentation/book/src/variables.md401// ^^^^^^^^^^^^ type-annotationCOMMENT
LOW…ates/move/tooling/tree-sitter/src/tree_sitter/parser.h1#ifndef TREE_SITTER_PARSER_H_COMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/array.h1#ifndef TREE_SITTER_ARRAY_H_COMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/array.h41COMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/array.h101/// Remove one element from the array at the given `index`.COMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/array.h121///COMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/array.h281#pragma warning(default : 4101)COMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/alloc.h21#define ts_malloc ts_current_mallocCOMMENT
LOW…rates/move/tooling/tree-sitter/src/tree_sitter/alloc.h41#ifndef ts_reallocCOMMENT
LOW…e/tooling/prettier-move/scripts/treesitter-wasm-gen.sh1#!/bin/bashCOMMENT
LOW…al-crates/move/crates/invalid-mutations/src/helpers.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…/crates/move-bytecode-verifier/src/script_signature.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…move/crates/move-bytecode-verifier/src/control_flow.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…move/crates/move-bytecode-verifier/src/control_flow.rs61 Some(last) if !last.is_unconditional_branch() => {COMMENT
LOW…move/crates/move-bytecode-verifier/src/control_flow.rs81/// 3. G has a unique maximal (in terms of number of edges) acyclic sub-graph.COMMENT
LOW…move/crates/move-bytecode-verifier/src/loop_summary.rs21/// - Distinguish edges in the CFG as:COMMENT
LOW…s/move-bytecode-verifier/src/acquires_list_verifier.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…ates/move-bytecode-verifier/src/instantiation_loops.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…ates/move-bytecode-verifier/src/instantiation_loops.rs41 ///COMMENT
LOW…al-crates/move/crates/module-generation/src/options.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOWexternal-crates/move/crates/move-docgen/src/docgen.rs41COMMENT
LOWexternal-crates/move/crates/move-docgen/src/docgen.rs61 #[clap(long = "toc-depth", value_name = "DEPTH", default_value = "3")]COMMENT
LOWexternal-crates/move/crates/move-docgen/src/docgen.rs81 pub doc_path: Vec<String>,COMMENT
LOW…tes/move/crates/move-binary-format/src/deserializer.rs1021pub fn load_signature_token_test_entry(COMMENT
LOW…tes/move/crates/move-binary-format/src/deserializer.rs1201 // - copyable kind structs become store+copy+drop structsCOMMENT
LOW…es/move/crates/move-binary-format/src/compatibility.rs21// for either structs or enums.COMMENT
LOW…es/move/crates/move-binary-format/src/compatibility.rs201 continue;COMMENT
LOW…ve/crates/move-binary-format/src/file_format_common.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…ve/crates/move-binary-format/src/file_format_common.rs521 bail!("invalid ULEB128 repr for usize");COMMENT
LOW…s/move/crates/move-binary-format/src/proptest_types.rs41impl CompiledModule {COMMENT
LOW…s/move/crates/move-binary-format/src/proptest_types.rs61/// This doesn't need to be handled when viewing modules in isolation, but some verification passesCOMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs61 #[derive(Clone, Copy, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs221/// Index of a local variable in a function.COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs241/// The pool of `TypeSignature` instances. Those are system and user types used andCOMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs261/// A `ModuleHandle` is a reference to a MOVE module. It is composed by an `address` and a `name`.COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs281 pub name: IdentifierIndex,COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs321/// A type parameter used in the declaration of a struct.COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs341#[cfg_attr(any(test, feature = "fuzzing"), derive(proptest_derive::Arbitrary))]COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs361#[cfg_attr(any(test, feature = "fuzzing"), proptest(no_params))]COMMENT
LOW…ates/move/crates/move-binary-format/src/file_format.rs381}COMMENT
1764 more matches not shown…
Decorative Section Separators96 hits · 343 pts
SeverityFileLineSnippetContext
MEDIUMcrates/sui-indexer-alt-schema/src/blooms/blocked.rs28//! ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐COMMENT
MEDIUMcrates/sui-indexer-alt-schema/src/blooms/blocked.rs30//! └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘COMMENT
MEDIUM…i-indexer-alt-framework/src/pipeline/concurrent/mod.rs708 // ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐COMMENT
MEDIUM…i-indexer-alt-framework/src/pipeline/concurrent/mod.rs711 // └────────────┘ └────────────┘ └[BOTTLENECK]┘ └────────────┘COMMENT
MEDIUM…i-indexer-alt-framework/src/pipeline/concurrent/mod.rs780 // ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐COMMENT
MEDIUM…i-indexer-alt-framework/src/pipeline/concurrent/mod.rs783 // └────────────┘ └────────────┘ └────────────┘ └[BOTTLENECK]┘COMMENT
MEDIUMcrates/sui-node/src/db_shell.rs83// ─── unified error type ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-node/src/db_shell.rs115// ─── path parsing ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-node/src/db_shell.rs269// ─── ls handler ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-node/src/db_shell.rs595// ─── read handler ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-node/src/db_shell.rs833// ─── delete handler ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs17// ─── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs156// ─── test ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs198 // ── / (root) ──────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs220 // ── /epochs ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs229 // ── /epochs/<e> ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs238 // ── /epochs/<e>/first-checkpoint ─────────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs248 // ── /epochs/<e>/last-checkpoint ──────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs262 // ── /epochs/<e>/committee ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs277 // ── /checkpoints/seq ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs290 // ── /checkpoints/seq/<seq>/summary ───────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs323 // ── /checkpoints/seq/<seq>/contents ──────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs333 // ── /checkpoints/seq/<seq>/contents-short ────────────────────────────────COMMENT
MEDIUM⚡crates/sui-e2e-tests/tests/db_shell_tests.rs341 // ── /checkpoints/digest/<digest>/summary ─────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs366 // ── /transactions/<digest> ────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs385 // ── /consensus ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs399 // ── /consensus/latest ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs411 // ── /consensus/commits/<index>/summary ────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs451 // ── ls cursor semantics ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/sui-e2e-tests/tests/db_shell_tests.rs481 // ── ls with --limit ───────────────────────────────────────────────────────COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs77///┌──────────────────────────────┐COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs79///├──────────────────────────────┤COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs80///│ ┌──────────────────────────┐ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs82///│ ├──────────────────────────┤ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs84///│ ├──────────────────────────┤ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs86///│ └──────────────────────────┘ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs87///└──────────────────────────────┘COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs89///┌───────────────┬───────────────────┬──────────────┐COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs91///└───────────────┴───────────────────┴──────────────┘COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs94///┌──────────────────────────────┐COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs96///├──────────────────────────────┤COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs97///│ ┌──────────────────────────┐ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs99///│ ├──────────────────────────┤ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs101///│ ├──────────────────────────┤ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs103///│ └──────────────────────────┘ │COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs104///└──────────────────────────────┘COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs106///┌───────────────┬───────────────────┬──────────────┐COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs108///└───────────────┴───────────────────┴──────────────┘COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs111///┌──────────────────────────────┐COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs113///├──────────────────────────────┤COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs115///├──────────────────────────────┤COMMENT
MEDIUM⚡crates/sui-snapshot/src/lib.rs117///└──────────────────────────────┘COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs33//! ┌────────────────┐COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs35//! └──┬──────────┬──┘COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs37//! │ └─ shard::Merge x NUM_SHARDS ──▶ ┌────────────────────────────┐COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs39//! │ └──┬──────────────▲────┬─────┘COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs43//! │ │ │ ┌───────────┐COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs45//! │ │ │ └──────┬────┘ (retry/backoff)COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs50//! ┌──────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/sui-kvstore/src/store/bitmap_committer/mod.rs52//! └────────────────────────────────────┬─────────────────────────────────────┘COMMENT
36 more matches not shown…
Hallucination Indicators17 hits · 170 pts
SeverityFileLineSnippetContext
CRITICAL…move/crates/move-compiler/src/hlir/detect_dead_code.rs990 arm.value.rhs.ty.value.inner(),CODE
CRITICAL…rates/move/crates/move-compiler/src/sui_mode/typing.rs89 current_module.value.module.0.value.as_str().to_uppercase(),CODE
CRITICALconsensus/core/src/core_thread.rs118 self.context.metrics.node_metrics.core_lock_dequeued.inc();CODE
CRITICALconsensus/core/src/core_thread.rs229 self.context.metrics.node_metrics.core_lock_enqueued.inc();CODE
CRITICALconsensus/core/src/network/observer.rs217 self.context.metrics.network_metrics.outbound.clone(),CODE
CRITICALconsensus/core/src/network/tonic_network.rs549 self.context.metrics.network_metrics.outbound.clone(),CODE
CRITICALconsensus/core/src/network/tonic_network.rs996 self.context.metrics.network_metrics.inbound.clone(),CODE
CRITICALconsensus/core/src/network/tonic_network.rs1125 self.context.metrics.network_metrics.inbound.clone(),CODE
CRITICALcrates/test-cluster/src/addr_balance_test_env.rs122 let addresses = self.cluster.wallet.config.keystore.addresses();CODE
CRITICALcrates/sui-bridge/src/sui_client.rs626 Ok(bridge_wrapper.version.id.id.bytes.into())CODE
CRITICALcrates/sui-bridge/src/e2e_tests/test_utils.rs276 self.test_cluster.inner.fullnode_handle.grpc_client.clone()CODE
CRITICALcrates/sui-bridge/src/e2e_tests/test_utils.rs316 self.test_cluster.inner.fullnode_handle.rpc_url.clone()CODE
CRITICALcrates/sui-consistent-store/src/store.rs294 let stored = self.store.inner.framework.chain_ids.get(&key)?;CODE
CRITICAL…xer-alt-graphql/src/extensions/query_limits/visitor.rs239 fragment_def.node.type_condition.node.on.node.as_str(),CODE
CRITICAL…sui-indexer-alt-graphql/src/api/types/coin_metadata.rs637 let scope = self.super_.super_.super_.scope.without_root_bound();CODE
CRITICAL…sui-indexer-alt-graphql/src/api/types/dynamic_field.rs737 scope: self.super_.super_.super_.scope.clone(),CODE
CRITICALcrates/sui-proxy/src/peers.rs256 let bridge_version_id: Address = bridge_wrapper.version.id.id.bytes.into();CODE
Verbosity Indicators83 hits · 160 pts
SeverityFileLineSnippetContext
LOWcrates/sui-rosetta/tests/address_balance_tests.rs1509 // Step 1: Deploy custom coin package and mint coins (needs SUI coin objects for gas)COMMENT
LOWcrates/sui-rosetta/tests/address_balance_tests.rs1534 // Step 2: Deposit SUI to address balanceCOMMENT
LOWcrates/sui-rosetta/tests/address_balance_tests.rs1547 // Step 3: PayCoin — custom coins transferred, SUI address balance available for gasCOMMENT
LOW…es/sui-rosetta/src/types/internal_operation/pay_sui.rs201 // Step 1: Merge all coin objects into oneCOMMENT
LOW…es/sui-rosetta/src/types/internal_operation/pay_sui.rs251 // Step 2: Withdraw deficit from address balance and merge into coinCOMMENT
LOW…es/sui-rosetta/src/types/internal_operation/pay_sui.rs274 // Step 3: Split payment amounts and transfer to recipientsCOMMENT
LOW…ates/sui-rosetta/src/types/internal_operation/stake.rs224 // Step 1: Merge all coin objects into oneCOMMENT
LOW…ates/sui-rosetta/src/types/internal_operation/stake.rs274 // Step 2: Withdraw deficit from address balance and merge into coinCOMMENT
LOWcrates/sui-rpc-store/src/indexer/pruner.rs2857 // Step 1: Supersession in cp1 retracts cp0 and sets cursor to 1.COMMENT
LOWcrates/sui-rpc-store/src/indexer/pruner.rs2871 // Step 2: Removal at cp1 where cursor is already 1 (cursor >= cp).COMMENT
LOWcrates/sui-rpc-store/src/indexer/pruner.rs2891 // Step 3: Idempotent re-run with cursor >= cp is a clean no-op without error.COMMENT
LOWcrates/sui/src/client_ptb/parser.rs755 // Step 1: parse before `/` in the MVR nameCOMMENT
LOWcrates/sui/src/client_ptb/parser.rs804 // Step 2: post slash -- package nameCOMMENT
LOWcrates/sui/src/client_ptb/parser.rs815 // Step 3: post package name -- possible versionCOMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1053 // Step 1: Create the SuiSystemState UIDCOMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1062 // Step 2: Create and share the Clock.COMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1071 // Step 3: Create ProtocolConfig-controlled system objects, unless disabled (which onlyCOMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1168 // Step 4: Mint the supply of SUI.COMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1177 // Step 5: Run genesis.COMMENT
LOWcrates/sui-transaction-checks/src/lib.rs111 // Since the purpose of this function is to audit certified transactions,COMMENT
LOWcrates/sui-bridge/src/e2e_tests/test_utils.rs443 // Step 1: Deploy SuiBridgeV2 implementation using forge createCOMMENT
LOW⚡crates/sui-bridge/src/e2e_tests/test_utils.rs473 // Step 2: Get the current upgrade nonce from the committeeCOMMENT
LOW⚡crates/sui-bridge/src/e2e_tests/test_utils.rs479 // Step 3: Create the upgrade actionCOMMENT
LOW⚡crates/sui-bridge/src/e2e_tests/test_utils.rs489 // Step 4: Sign with all bridge authority keysCOMMENT
LOWcrates/sui-bridge/src/e2e_tests/test_utils.rs503 // Step 5: Execute the upgradeCOMMENT
LOW…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs60 // Step 1: Add DENY_ADDRESS to the coin deny list.COMMENT
LOW⚡…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs99 // Step 2: Advance epoch so the deny list change takes effect.COMMENT
LOW⚡…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs102 // Step 3: Build a PTB that splits a regulated coin and does public_party_transferCOMMENT
LOW…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs158 // Step 4: Execute and verify it fails with AddressDeniedForCoin.COMMENT
LOW…-e2e-tests/tests/graphql_simulate_transaction_tests.rs1213 // Step 1: Simulate the transaction with gas selectionCOMMENT
LOW…-e2e-tests/tests/graphql_simulate_transaction_tests.rs1238 // Step 2: Extract the transaction BCS, sign it, and executeCOMMENT
LOW…-e2e-tests/tests/graphql_simulate_transaction_tests.rs1250 // Step 3: Execute and verify the transaction succeedsCOMMENT
LOWcrates/sui-core/src/consensus_manager/mod.rs369 // own doesn't tell us much whether it participated on an active epoch or an old one. We need to check if it hasCOMMENT
LOW⚡crates/sui-core/src/unit_tests/coin_deny_list_tests.rs87 // Step 1: Check basic regulated coin v2 types.COMMENT
LOW⚡crates/sui-core/src/unit_tests/coin_deny_list_tests.rs90 // Step 2: Deny an address and check the denylist types.COMMENT
LOWcrates/sui-core/src/unit_tests/coin_deny_list_tests.rs167 // Step 3: Enable global pause and check the global pause types.COMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs226 // Step 1: Extract original package from file system storeCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs229 // Step 2: Get metadata from original packageCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs241 // Step 3: Compile the new source code with the original package IDCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs244 // Step 4: Reconstruct the package with new modules but original metadataCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs247 // Step 5: Create the object wrapperCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs250 // Step 6: Serialize and save (either to file or cache)COMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs256 // Step 7: Verify if source unchanged (for testing)COMMENT
LOWcrates/sui-replay-2/src/package_tools.rs270 // Step 7: Verify if source unchanged (for testing)COMMENT
LOWcrates/typed-store/src/rocks/tests.rs791 // Step 1: Create a database and insert values with OriginalValue typeCOMMENT
LOW⚡crates/typed-store/src/rocks/tests.rs839 // Step 2: Reopen the same column family with a different, incompatible value typeCOMMENT
LOW⚡crates/typed-store/src/rocks/tests.rs844 // Step 3: Iterate using safe_iter with the incompatible typeCOMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs61 // Step 1: transfer `num_transfers` objects.COMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs98 // Step 2: Read all dynamic fields from the root object.COMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs113 // Step 3: Run some computation.COMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs124 // Step 4: Mint some NFTsCOMMENT
LOW⚡crates/sui-tls/src/verifier.rs125 // Step 1: Check this matches the key we expectCOMMENT
LOW⚡crates/sui-tls/src/verifier.rs134 // Step 2: verify the certificate signature and server name with webpki.COMMENT
LOW⚡crates/sui-tls/src/verifier.rs270 // Step 1: prepare argumentsCOMMENT
LOW⚡crates/sui-tls/src/verifier.rs273 // Step 2: call verification from webpkiCOMMENT
LOW⚡examples/ptb-cookbook/src/result-chaining.ts15// Step 1: Create a new game character.COMMENT
LOW⚡examples/ptb-cookbook/src/result-chaining.ts21// Step 2: Mint a sword and equip it to the character.COMMENT
LOWexamples/ptb-cookbook/src/result-chaining.ts32// Step 3: Transfer the character to the player.COMMENT
LOW⚡…orical-versions/v1/sui-adapter/src/execution_engine.rs709 // Step 1: Create storage and computation rewards.COMMENT
LOW⚡…orical-versions/v1/sui-adapter/src/execution_engine.rs712 // Step 2: Advance the epoch.COMMENT
23 more matches not shown…
Structural Annotation Overuse83 hits · 159 pts
SeverityFileLineSnippetContext
LOW…r/trace-adapter/tests/ref_after_lifetime/trace.spec.js4 runtime.step(false); // Step 2 - inside return_ref_param nowCODE
LOWcrates/sui-rosetta/tests/address_balance_tests.rs1509 // Step 1: Deploy custom coin package and mint coins (needs SUI coin objects for gas)COMMENT
LOWcrates/sui-rosetta/tests/address_balance_tests.rs1534 // Step 2: Deposit SUI to address balanceCOMMENT
LOWcrates/sui-rosetta/tests/address_balance_tests.rs1547 // Step 3: PayCoin — custom coins transferred, SUI address balance available for gasCOMMENT
LOW…es/sui-rosetta/src/types/internal_operation/pay_sui.rs201 // Step 1: Merge all coin objects into oneCOMMENT
LOW…es/sui-rosetta/src/types/internal_operation/pay_sui.rs251 // Step 2: Withdraw deficit from address balance and merge into coinCOMMENT
LOW…es/sui-rosetta/src/types/internal_operation/pay_sui.rs274 // Step 3: Split payment amounts and transfer to recipientsCOMMENT
LOW…ates/sui-rosetta/src/types/internal_operation/stake.rs224 // Step 1: Merge all coin objects into oneCOMMENT
LOW…ates/sui-rosetta/src/types/internal_operation/stake.rs274 // Step 2: Withdraw deficit from address balance and merge into coinCOMMENT
LOWcrates/sui-rpc-store/src/indexer/pruner.rs2857 // Step 1: Supersession in cp1 retracts cp0 and sets cursor to 1.COMMENT
LOWcrates/sui-rpc-store/src/indexer/pruner.rs2871 // Step 2: Removal at cp1 where cursor is already 1 (cursor >= cp).COMMENT
LOWcrates/sui-rpc-store/src/indexer/pruner.rs2891 // Step 3: Idempotent re-run with cursor >= cp is a clean no-op without error.COMMENT
LOWcrates/sui/src/client_ptb/parser.rs755 // Step 1: parse before `/` in the MVR nameCOMMENT
LOWcrates/sui/src/client_ptb/parser.rs804 // Step 2: post slash -- package nameCOMMENT
LOWcrates/sui/src/client_ptb/parser.rs815 // Step 3: post package name -- possible versionCOMMENT
LOWcrates/simulacrum/src/lib.rs431 /// NOTE: This function does not currently support updating the protocol versionCOMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1053 // Step 1: Create the SuiSystemState UIDCOMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1062 // Step 2: Create and share the Clock.COMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1071 // Step 3: Create ProtocolConfig-controlled system objects, unless disabled (which onlyCOMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1168 // Step 4: Mint the supply of SUI.COMMENT
LOW⚡crates/sui-genesis-builder/src/lib.rs1177 // Step 5: Run genesis.COMMENT
LOWcrates/sui-bridge/src/e2e_tests/test_utils.rs443 // Step 1: Deploy SuiBridgeV2 implementation using forge createCOMMENT
LOW⚡crates/sui-bridge/src/e2e_tests/test_utils.rs473 // Step 2: Get the current upgrade nonce from the committeeCOMMENT
LOW⚡crates/sui-bridge/src/e2e_tests/test_utils.rs479 // Step 3: Create the upgrade actionCOMMENT
LOW⚡crates/sui-bridge/src/e2e_tests/test_utils.rs489 // Step 4: Sign with all bridge authority keysCOMMENT
LOWcrates/sui-bridge/src/e2e_tests/test_utils.rs503 // Step 5: Execute the upgradeCOMMENT
LOW…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs60 // Step 1: Add DENY_ADDRESS to the coin deny list.COMMENT
LOW⚡…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs99 // Step 2: Advance epoch so the deny list change takes effect.COMMENT
LOW⚡…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs102 // Step 3: Build a PTB that splits a regulated coin and does public_party_transferCOMMENT
LOW…s/sui-e2e-tests/tests/per_epoch_config_stress_tests.rs158 // Step 4: Execute and verify it fails with AddressDeniedForCoin.COMMENT
LOW…-e2e-tests/tests/graphql_simulate_transaction_tests.rs1213 // Step 1: Simulate the transaction with gas selectionCOMMENT
LOW…-e2e-tests/tests/graphql_simulate_transaction_tests.rs1238 // Step 2: Extract the transaction BCS, sign it, and executeCOMMENT
LOW…-e2e-tests/tests/graphql_simulate_transaction_tests.rs1250 // Step 3: Execute and verify the transaction succeedsCOMMENT
LOW⚡crates/sui-core/src/unit_tests/coin_deny_list_tests.rs87 // Step 1: Check basic regulated coin v2 types.COMMENT
LOW⚡crates/sui-core/src/unit_tests/coin_deny_list_tests.rs90 // Step 2: Deny an address and check the denylist types.COMMENT
LOWcrates/sui-core/src/unit_tests/coin_deny_list_tests.rs167 // Step 3: Enable global pause and check the global pause types.COMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs226 // Step 1: Extract original package from file system storeCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs229 // Step 2: Get metadata from original packageCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs241 // Step 3: Compile the new source code with the original package IDCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs244 // Step 4: Reconstruct the package with new modules but original metadataCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs247 // Step 5: Create the object wrapperCOMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs250 // Step 6: Serialize and save (either to file or cache)COMMENT
LOW⚡crates/sui-replay-2/src/package_tools.rs256 // Step 7: Verify if source unchanged (for testing)COMMENT
LOWcrates/sui-replay-2/src/package_tools.rs270 // Step 7: Verify if source unchanged (for testing)COMMENT
LOWcrates/typed-store/src/rocks/tests.rs791 // Step 1: Create a database and insert values with OriginalValue typeCOMMENT
LOW⚡crates/typed-store/src/rocks/tests.rs839 // Step 2: Reopen the same column family with a different, incompatible value typeCOMMENT
LOW⚡crates/typed-store/src/rocks/tests.rs844 // Step 3: Iterate using safe_iter with the incompatible typeCOMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs61 // Step 1: transfer `num_transfers` objects.COMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs98 // Step 2: Read all dynamic fields from the root object.COMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs113 // Step 3: Run some computation.COMMENT
LOW…e-node-benchmark/src/tx_generator/move_tx_generator.rs124 // Step 4: Mint some NFTsCOMMENT
LOW⚡crates/sui-tls/src/verifier.rs125 // Step 1: Check this matches the key we expectCOMMENT
LOW⚡crates/sui-tls/src/verifier.rs134 // Step 2: verify the certificate signature and server name with webpki.COMMENT
LOW⚡crates/sui-tls/src/verifier.rs270 // Step 1: prepare argumentsCOMMENT
LOW⚡crates/sui-tls/src/verifier.rs273 // Step 2: call verification from webpkiCOMMENT
LOW⚡examples/ptb-cookbook/src/result-chaining.ts15// Step 1: Create a new game character.COMMENT
LOW⚡examples/ptb-cookbook/src/result-chaining.ts21// Step 2: Mint a sword and equip it to the character.COMMENT
LOWexamples/ptb-cookbook/src/result-chaining.ts32// Step 3: Transfer the character to the player.COMMENT
LOW⚡…orical-versions/v1/sui-adapter/src/execution_engine.rs709 // Step 1: Create storage and computation rewards.COMMENT
LOW⚡…orical-versions/v1/sui-adapter/src/execution_engine.rs712 // Step 2: Advance the epoch.COMMENT
23 more matches not shown…
AI Slop Vocabulary33 hits · 95 pts
SeverityFileLineSnippetContext
MEDIUM…/move/crates/move-bytecode-verifier/src/type_safety.rs6//! It does not utilize control flow, but does check each block independentlyCOMMENT
MEDIUM…es/move/crates/move-core-types/src/language_storage.rs280 // TODO: make this more robust as struct size changesCOMMENT
MEDIUM…ns/v1/crates/move-bytecode-verifier/src/type_safety.rs6//! It does not utilize control flow, but does check each block independentlyCOMMENT
MEDIUM…ns/v0/crates/move-bytecode-verifier/src/type_safety.rs6//! It does not utilize control flow, but does check each block independentlyCOMMENT
MEDIUM…ns/v2/crates/move-bytecode-verifier/src/type_safety.rs6//! It does not utilize control flow, but does check each block independentlyCOMMENT
MEDIUM…ns/v3/crates/move-bytecode-verifier/src/type_safety.rs6//! It does not utilize control flow, but does check each block independentlyCOMMENT
MEDIUM…rical-versions/v3/crates/move-vm-runtime/src/loader.rs720// Essentially when we first push the value we need to check for cycles (visited = false)COMMENT
MEDIUMconsensus/core/src/commit_syncer.rs1199 // Start fetches - observer should utilize multiple peers in parallelCOMMENT
MEDIUM…_npm_present_no_tty/missing_tool_npm_present_no_tty.sh5# harness pipes stdin from cargo nextest). `sui move format` must skip theCOMMENT
MEDIUM…/sui/tests/shell_tests/sui_move_lint/example/Move.toml4# Depend on the framework locally (copied into the sandbox by the test harness) so theCOMMENT
MEDIUMcrates/sui/src/clever_error_rendering.rs9//! side in a much more robust and efficient way.COMMENT
MEDIUMcrates/sui/src/keytool.rs211 /// Creates a signature by leveraging AWS KMS. Pass in a key-id to leverage AmazonCOMMENT
MEDIUMcrates/sui-protocol-config/src/lib.rs2693 /// is incorrect for some feature flags. Definitely safe for testing and forCOMMENT
MEDIUMcrates/simulacrum/src/lib.rs942 /// TODO: This is here today to make it easier to write tests. But we should utilize all theCOMMENT
MEDIUMcrates/sui-fork-e2e-tests/tests/shell_lib/lib.sh5# Shared helpers for the sui-fork shell tests. The harness copies this file into the sandbox root,COMMENT
MEDIUMcrates/sui-fork-e2e-tests/tests/shell_lib/lib.sh169 # process holding the harness's pipe would keep the harness waiting after the script exits.COMMENT
MEDIUM…-indexer-alt-framework-store-traits/src/testing/mod.rs11//! The generated tests are thin `#[tokio::test]` wrappers that create a fresh harness and delegateCOMMENT
MEDIUM…-indexer-alt-framework-store-traits/src/testing/mod.rs411// Trait test macros — generate `#[tokio::test]` wrappers that delegate to harness trait methods.COMMENT
MEDIUM…ts/tests/graphql_subscription/throttle_subscription.rs8//! Timing is made robust by measuring a backlog: the validator produces several checkpoints, then aCOMMENT
MEDIUMcrates/sui-core/src/rpc_store_embed.rs139/// Retrying is robust where a wait is not (the only operation that canCOMMENT
MEDIUMcrates/sui-proxy/src/lib.rs89 /// robust and expand the scope of coverage, probabaly moving this test elsewhere and renaming it.COMMENT
MEDIUMcrates/sui-types/src/move_package.rs36// TODO: robust MovePackage testsCOMMENT
MEDIUMexamples/oracle-adapter/move/Move.toml9# for why this example is excluded from the strict lint harness.COMMENT
MEDIUMexamples/deepbook-margin/src/borrow.ts15// of collateral is what sets your maximum leverage, so size the borrow from theCOMMENT
MEDIUMexamples/deepbook-margin/src/place-order.ts16// funded, which is the leverage.COMMENT
MEDIUMexamples/deepbook-margin/src/place-order.ts43// add leverage: here it sells SUI back for DBUSDC so you can repay the borrow.COMMENT
MEDIUM…al-versions/v1/sui-adapter/src/type_layout_resolver.rs16/// Invocation into the `Session` to leverage the `LinkageView` implementationCOMMENT
MEDIUM…al-versions/v0/sui-adapter/src/type_layout_resolver.rs19/// Invocation into the `Session` to leverage the `LinkageView` implementationCOMMENT
MEDIUM…al-versions/v2/sui-adapter/src/type_layout_resolver.rs16/// Invocation into the `Session` to leverage the `LinkageView` implementationCOMMENT
MEDIUM…al-versions/v3/sui-adapter/src/type_layout_resolver.rs17/// Invocation into the `Session` to leverage the `LinkageView` implementationCOMMENT
LOWscripts/dependency.py69 # go here as special cases. By default, we just use language/[name].STRING
LOWscripts/simtest/check-determinism.sh28# just add minutes of CI for no signal.COMMENT
MEDIUM.github/workflows/rust.yml177 # The test harness runs this same build from inside the first test, where a cold buildCOMMENT
Hyper-Verbose Identifiers96 hits · 78 pts
SeverityFileLineSnippetContext
LOW…ove/tooling/prettier-move/src/cst/struct_definition.ts80export function printNativeStructDefinition(CODE
LOW…ove/tooling/prettier-move/src/cst/struct_definition.ts161export function printPostfixAbilityDeclarations(CODE
LOW…e/tooling/prettier-move/src/cst/function_definition.ts107export function printNativeFunctionDefinition(CODE
LOW…e/tooling/prettier-move/src/cst/function_definition.ts130export function printMacroFunctionDefinition(CODE
LOW…e/tooling/prettier-move/src/cst/function_definition.ts193export function printMutFunctionParameter(CODE
LOW…al-crates/move/tooling/prettier-move/src/cst/module.ts50export function printModuleExtensionDefinition(CODE
LOW…al-crates/move/tooling/prettier-move/src/cst/common.ts310function printBindPositionalFields(path: AstPath<Node>, options: MoveOptions, print: printFn): Doc {CODE
LOW…al-crates/move/tooling/prettier-move/src/cst/common.ts420function printFunctionTypeParameters(CODE
LOW…tier-move/src/cst/expression/dereference_expression.ts27function printDereferenceExpression(CODE
LOW…ttier-move/src/cst/expression/annotation_expression.ts23function printAnnotationExpression(path: AstPath<Node>, _opt: MoveOptions, print: printFn): Doc {CODE
LOW…ttier-move/src/cst/expression/identified_expression.ts24function printIdentifiedExpression(path: AstPath<Node>, options: MoveOptions, print: printFn): Doc {CODE
LOW…ier-move/src/cst/expression/move_or_copy_expression.ts23function printMoveOrCopyExpression(path: AstPath<Node>, options: MoveOptions, print: printFn): Doc {CODE
LOW…es/move-analyzer/trace-adapter/src/debug_info_utils.ts419function prePopulateDebugInfoLines(CODE
LOW…move/crates/move-analyzer/trace-adapter/src/runtime.ts383export function moveStackFrameDisplayLine(frame: IMoveCallStackFrame): number {CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1092function openFrameDiagnosticMessage(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1193function hasSourceFunctionDebugInfo(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1204function markFrameForceDisassembly(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1249function markVirtualOpenFramesForceDisassembly(events: TraceEvent[], realFrameID: number): void {CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1265function isVirtualOpenFrameForFrame(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1285function processInstructionIfMacro(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1323function processSingleInstructionIfMacro(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1579function JSONTraceAddressToHexString(address: string): string {CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1633function extendLifetimeIfReference(CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1678function derefTraceRefValueFromJSON(value: JSONTraceRefValue): RuntimeValueType {CODE
LOW…/crates/move-analyzer/trace-adapter/src/trace_utils.ts1692function traceRuntimeValueFromJSON(moveValue: JSONTraceMoveValue): RuntimeValueType {CODE
LOW…move-analyzer/editors/code/src/commands/lsp_command.ts15export async function textDocumentDocumentSymbol(CODE
LOW…move/crates/move-analyzer/trace-debug/src/extension.ts588function findTracedFunctionsFromPath(pkgRoot: string, pkgModules: string[]): string[] {CODE
LOW…move/crates/move-analyzer/trace-debug/src/extension.ts940async function decompressTraceFileForPreview(traceFilePath: string): Promise<string> {CODE
LOW…/crates/move-analyzer/trace-debug/src/verify_source.ts225function verificationFailureMessage(CODE
LOWbridge/SUI_NATIVE_BRIDGE_PRIMER.md48function transferBridgedTokensWithSignatures(CODE
LOWbridge/SUI_NATIVE_BRIDGE_PRIMER.md140function executeEmergencyOpWithSignatures(CODE
LOWexamples/oracle-adapter/ts/src/switchboard.ts19export async function buildSwitchboardUpdateAndRead(CODE
LOWscripts/release_notes.py323def fetch_release_notes_for_commits(commits):CODE
LOWscripts/release_notes.py494def pr_bumps_protocol_version(pr):CODE
LOWscripts/run-antithesis-tests.py44def validate_commit_on_remote(sha, repo, label):CODE
LOWscripts/dual_replay.py583def _replace_executor_overlay(src: str, cut_pkg: str) -> str:CODE
LOWscripts/dual_replay.py779def _ensure_sui_execution_serde_json_dep(repo: Path) -> None:CODE
LOWscripts/sparse-checkout.py74def update_git_sparse_checkout(crates_to_checkout):CODE
LOWscripts/sparse-checkout.py232def create_sparse_checkout_worktree():CODE
LOWscripts/update_indexer_alt_e2e_test_protocol_version.py11def replace_protocol_version_in_file(CODE
LOWscripts/update_indexer_alt_e2e_test_protocol_version.py58def replace_protocol_version_in_repo(CODE
LOW⚡scripts/release_notes_test.py18 def test_parse_notes_empty_body(self):CODE
LOW⚡scripts/release_notes_test.py23 def test_parse_notes_none_body(self):CODE
LOW⚡scripts/release_notes_test.py28 def test_parse_notes_no_release_notes_section(self):CODE
LOW⚡scripts/release_notes_test.py34 def test_parse_notes_with_checked_items(self):CODE
LOWscripts/release_notes_test.py181 def test_pr_has_release_notes_true(self, mock_gql):CODE
LOWscripts/release_notes_test.py201 def test_pr_has_release_notes_false_unchecked(self, mock_gql):CODE
LOWscripts/release_notes_test.py221 def test_pr_has_release_notes_false_no_body(self, mock_gql):CODE
LOWscripts/release_notes_test.py235 def test_pr_has_release_notes_api_failure(self, mock_gql):CODE
LOWscripts/release_notes_test.py270 def test_outputs_only_checked_notes_with_content(self, mock_extract):CODE
LOWscripts/release_notes_test.py292 def test_outputs_empty_when_no_checked_notes(self, mock_extract):CODE
LOWscripts/release_notes_test.py311 def test_extract_notes_for_pr_success(self, mock_gql):CODE
LOWscripts/release_notes_test.py333 def test_extract_notes_for_pr_api_failure(self, mock_gql):CODE
LOWscripts/release_notes_test.py345 def test_extract_notes_for_pr_multiple_notes(self, mock_gql):CODE
LOWscripts/release_notes_test.py389 def test_detects_protocol_version_bump(self, mock_check_output):CODE
LOWscripts/release_notes_test.py444 def test_returns_false_when_no_gh_cli(self):CODE
LOWscripts/release_notes_test.py456 def test_fails_when_protocol_bump_without_note(self, mock_extract, mock_bumps):CODE
LOWscripts/release_notes_test.py471 def test_fails_when_protocol_bump_with_unchecked_note(self, mock_extract, mock_bumps):CODE
LOWscripts/release_notes_test.py486 def test_fails_when_protocol_bump_with_empty_note(self, mock_extract, mock_bumps):CODE
LOWscripts/release_notes_test.py501 def test_passes_when_protocol_bump_with_valid_note(self, mock_extract, mock_bumps):CODE
36 more matches not shown…
Fake / Example Data46 hits · 54 pts
SeverityFileLineSnippetContext
LOW…-crates/move/crates/move-package/src/test_utils/git.rs203 &["config", "user.email", "foo@bar.com"],CODE
LOWcrates/sui-storage/src/object_store/util.rs579 fs::write(file1, b"Lorem ipsum")?;CODE
LOWcrates/sui-storage/src/object_store/util.rs583 fs::write(file2, b"Lorem ipsum")?;CODE
LOWcrates/sui-storage/src/object_store/util.rs621 assert_eq!(content, "Lorem ipsum");CODE
LOWcrates/sui-storage/src/object_store/util.rs624 assert_eq!(content, "Lorem ipsum");CODE
LOW⚡crates/sui-storage/src/object_store/util.rs635 fs::write(file1, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-storage/src/object_store/util.rs637 fs::write(file2, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-storage/src/object_store/util.rs641 fs::write(file3, b"Lorem ipsum")?;CODE
LOWcrates/sui-storage/src/object_store/util.rs672 fs::write(file1, b"Lorem ipsum")?;CODE
LOWcrates/sui-storage/src/object_store/util.rs676 fs::write(file2, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-storage/src/object_store/http/mod.rs141 fs::write(file1, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-storage/src/object_store/http/mod.rs145 fs::write(file2, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-storage/src/object_store/http/mod.rs155 assert_eq!(downloaded.to_vec(), b"Lorem ipsum");CODE
LOWcrates/sui-rpc-store/src/schema/transactions.rs79 fn dummy_data() -> TransactionData {CODE
LOWcrates/sui-rpc-store/src/schema/transactions.rs99 let data = dummy_data();CODE
LOWcrates/sui-rpc-store/src/schema/transactions.rs121 let first = dummy_data();CODE
LOWcrates/sui-rpc-store/src/schema/transactions.rs122 let later = dummy_data();CODE
LOWcrates/sui-e2e-tests/tests/passkey_e2e_tests.rs111 name: "jpasskey@example.org".into(),CODE
LOWcrates/sui-e2e-tests/tests/multisig_tests.rs86 name: "jpasskey@example.org".into(),CODE
LOW…-alt-e2e-tests/tests/graphql_verify_signature_tests.rs549 name: "test@example.org".into(),CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs816 fn fake_name(byte: u8) -> AuthorityName {CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs887 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs930 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs966 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1009 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1048 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1084 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1131 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1161 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1212 let names: Vec<_> = (1..=4).map(fake_name).collect();CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1293 let outsider = fake_name(200);CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1407 for authority in [names[0], names[1], fake_name(200)] {CODE
LOWcrates/sui-core/src/transaction_deny_config_manager.rs1438 !snapshot.contains_key(&fake_name(200)),CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs400 fs::write(file1, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs402 fs::write(file2, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs406 fs::write(file3, b"Lorem ipsum")?;CODE
LOWcrates/sui-core/src/db_checkpoint_handler.rs463 fs::write(test_marker, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs505 fs::write(file1, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs507 fs::write(file2, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs511 fs::write(file3, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs535 fs::write(file1, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs537 fs::write(file2, b"Lorem ipsum")?;CODE
LOW⚡crates/sui-core/src/db_checkpoint_handler.rs541 fs::write(file3, b"Lorem ipsum")?;CODE
LOWcrates/sui-core/src/db_checkpoint_handler.rs580 fs::write(test_marker, b"Lorem ipsum")?;CODE
LOWcrates/sui-core/src/db_checkpoint_handler.rs582 fs::write(test_marker, b"Lorem ipsum")?;CODE
LOW…sui-types/src/unit_tests/passkey_authenticator_test.rs179 name: "jpasskey@example.org".into(),CODE
Excessive Try-Catch Wrapping25 hits · 44 pts
SeverityFileLineSnippetContext
LOW…-analyzer/trace-adapter/tests/remove_from_file_path.py29 except Exception as e:CODE
MEDIUM…-analyzer/trace-adapter/tests/remove_from_file_path.py30 print(f"Error processing {json_file}: {e}", file=sys.stderr)CODE
MEDIUMscripts/release_notes.py116 print("Error: GH_TOKEN not set and `gh` CLI not found.", file=sys.stderr)STRING
MEDIUMscripts/release_notes.py408 print("Error: PR number is required.", file=sys.stderr)CODE
MEDIUMscripts/release_notes.py716 print("Error: No command provided.\n", file=sys.stderr)CODE
MEDIUMscripts/run-antithesis-tests.py52 print(f"Error: {label} commit {sha[:8]} not found on {repo}", file=sys.stderr)CODE
MEDIUMscripts/run-antithesis-tests.py66 print(f"Error: ref '{ref}' not found on origin in {cwd}", file=sys.stderr)CODE
MEDIUMscripts/run-antithesis-tests.py184 print("Error: LOG_LEVEL cannot contain spaces", file=sys.stderr)CODE
LOW⚡scripts/dual_replay.py910 except Exception as e:CODE
LOW⚡scripts/dual_replay.py920 except Exception as e:CODE
LOW⚡scripts/dual_replay.py929 except Exception as e:CODE
LOW⚡scripts/dual_replay.py938 except Exception as e:CODE
LOWscripts/execution_layer.py519 except Exception as e:CODE
MEDIUMscripts/execution_layer.py520 print(f"An error occurred: {e}")CODE
LOWscripts/execution_layer.py612 except Exception as e:CODE
LOWscripts/simtest/seed-search.py199 except Exception as e:CODE
MEDIUMscripts/simtest/seed-search.py322 safe_print(f"Error: build failed with exit code {process.returncode}; "CODE
MEDIUMscripts/simtest/seed-search.py333 safe_print(f"Error: could not find binary for --test {name} in target/simulator/deps/")CODE
MEDIUMscripts/simtest/seed-search.py340 safe_print(f"Error: --test {path} is not an executable file")CODE
MEDIUM⚡scripts/simtest/seed-search.py400 print("Error: --no-build is mutually exclusive with --package", file=sys.stderr)CODE
MEDIUM⚡scripts/simtest/seed-search.py403 print("Error: must supply at least one --test or --package", file=sys.stderr)CODE
LOWscripts/simtest/seed-search.py519 except Exception as e:CODE
MEDIUMscripts/simtest/seed-search.py528 safe_print(f"Error running {job['binary_name']}::{job['test']} seed={seed}: {e!r}")CODE
MEDIUMscripts/simtest/seed-search.py551 safe_print("Error: no test binaries discovered")CODE
MEDIUMscripts/simtest/seed-search.py582 safe_print("Error: no tests to run after filtering")CODE
Self-Referential Comments12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM.config/hakari.toml1# This file contains settings for `cargo hakari`.COMMENT
MEDIUM…ates/move-package/src/compatibility/legacy_lockfile.rs197 # This file contains metadata about published versions of this package in different environmentsCOMMENT
MEDIUM…-crates/move/crates/move-package/src/test_utils/git.rs11//! ## Creating a git dependencyCOMMENT
MEDIUM…-crates/move/crates/move-package/src/schema/pubfile.rs55 # This file contains metadata about published versions of this package in different environmentsCOMMENT
MEDIUM…-crates/move/crates/move-package/src/schema/pubfile.rs81 # This file contains metadata about published versions of this package in different environmentsCOMMENT
MEDIUMcrates/sui-indexer-alt-schema/generate_schema.sh31# Create a temporary directory to store the ephemeral DB.COMMENT
MEDIUMcrates/sui-indexer-alt-schema/generate_schema.sh47# Create a new database in the temporary directoryCOMMENT
MEDIUMcrates/typed-store-workspace-hack/Cargo.toml1# This file is generated is used by the typed-store crate in order to forceCOMMENT
MEDIUMcrates/sui/tests/cli_tests.rs129# This file contains metadata about published versions of this package in different environmentsCOMMENT
MEDIUMcrates/sui-pg-db/generate_schema.sh31# Create a temporary directory to store the ephemeral DB.COMMENT
MEDIUMcrates/sui-pg-db/generate_schema.sh47# Create a new database in the temporary directoryCOMMENT
MEDIUMexamples/oracle-adapter/move/Published.toml2# This file contains metadata about published versions of this package in different environmentsCOMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHconsensus/core/src/authority_service.rs401 // Return a stream of blocks that first yields missed blocks as requested, then new blocks.COMMENT
HIGHconsensus/core/src/commit_syncer.rs628 // 5. Verify the same number of blocks are returned as requested.COMMENT
HIGH.claude/skills/send-pr/SKILL.md112Check ALL commits on this branch (vs `$BASE`) for `Co-Authored-By` lines mentioning `claude` or `anthropic` (case-insensCODE
Deep Nesting20 hits · 20 pts
SeverityFileLineSnippetContext
LOW…-analyzer/trace-adapter/tests/remove_from_file_path.py34CODE
LOWscripts/release_notes.py323CODE
LOWscripts/release_notes.py396CODE
LOWscripts/release_notes.py494CODE
LOWscripts/release_notes.py610CODE
LOWscripts/dual_replay.py672CODE
LOWscripts/sparse-checkout.py45CODE
LOWscripts/sparse-checkout.py353CODE
LOWscripts/update_indexer_alt_e2e_test_protocol_version.py11CODE
LOWscripts/update_indexer_alt_e2e_test_protocol_version.py58CODE
LOWscripts/threadstall_analyzer.py29CODE
LOWscripts/threadstall_analyzer.py70CODE
LOWscripts/execution_layer.py445CODE
LOWscripts/execution_layer.py469CODE
LOWscripts/compatibility/monitor_synced.py102CODE
LOWscripts/simtest/reachpoints.py70CODE
LOWscripts/simtest/seed-search.py122CODE
LOWscripts/simtest/seed-search.py149CODE
LOWscripts/simtest/seed-search.py250CODE
LOWscripts/simtest/seed-search.py432CODE
TODO Padding12 hits · 18 pts
SeverityFileLineSnippetContext
LOW…move/crates/move-analyzer/trace-debug/src/extension.ts99 // TODO: implement a more sophisticated provider that actually provides correct on-hover information,COMMENT
LOW…al-crates/move/crates/test-generation/src/summaries.rs485 // TODO: implement summaries for vector-related instructionsCOMMENT
LOWconsensus/core/src/network/tonic_network.rs1352 // TODO: implement this.COMMENT
LOWconsensus/core/src/network/tonic_network.rs1367 // TODO: implement this.COMMENT
LOWconsensus/core/src/tests/base_committer_tests.rs726// TODO: Add test for indirect commit with a certified link through a byzantine validator.COMMENT
LOWcrates/sui-framework/docs/sui_system/staking_pool.md721 // TODO: implement withdraw bonding period here.COMMENT
LOWcrates/telemetry-subscribers/src/lib.rs640 // TODO: implement a sampling filterCOMMENT
LOWcrates/sui-tool/src/lib.rs505 // TODO: implement `ServiceInfo` generation in anemo-build and use here.COMMENT
LOWcrates/sui-tool/src/db_tool/mod.rs210// TODO: implement for consensus.COMMENT
LOWcrates/sui-core/src/transaction_input_loader.rs40 /// TODO: implement this cachingCOMMENT
LOWcrates/typed-store/src/rocks/mod.rs525 // TODO: implement for other storage typesCOMMENT
LOWcrates/typed-store/src/rocks/mod.rs1537 // TODO: implement size_in_bytes methodCOMMENT
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippetContext
LOW.config/nextest.toml27# Print output for failing tests only when they fail.COMMENT
LOWexamples/regulated-coin/publish.sh32# Check if the command succeeded (exit status 0)COMMENT
LOWscripts/release_notes.py458 # Check if the PR bumps MAX_PROTOCOL_VERSION and requires a Protocol release noteCOMMENT
LOWscripts/release_notes.py578 # Check if PR has checked release notes using parse_notes for consistencyCOMMENT
LOWscripts/run-antithesis-tests.py178 # Check if git repo is dirtyCOMMENT
LOWscripts/config-traffic-control.sh46 # Check if the line matches the pattern for x-forwarded-forCOMMENT
LOWscripts/lint.sh26 # Check if prettier-move is built, build if notCOMMENT
LOWscripts/threadstall_analyzer.py26 # Check if line starts with any of the interesting prefixesCOMMENT
LOWscripts/update_all_snapshots.sh38# Check if INSTA_UPDATE is set; if not, set it to "always"COMMENT
LOW.github/workflows/release-branch-monitor.yml37 # Check if current branch is in the latest twoCOMMENT
LOW.github/workflows/tag.yml82 # Check if we're overwriting an existing tagCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/simtest/reachpoints.py261except OSError:CODE
HIGHscripts/simtest/seed-search.py164except OSError:CODE
HIGHscripts/simtest/seed-search.py464except ProcessLookupError:CODE
Unused Imports15 hits · 14 pts
SeverityFileLineSnippetContext
LOWscripts/bench_sweep.py6CODE
LOWscripts/rotate_snapshots.py13CODE
LOWscripts/rotate_snapshots.py19CODE
LOWscripts/rotate_snapshots.py20CODE
LOWscripts/rotate_snapshots.py21CODE
LOWscripts/update_indexer_alt_e2e_test_protocol_version.py6CODE
LOWscripts/threadstall_analyzer.py11CODE
LOWscripts/threadstall_analyzer.py13CODE
LOWscripts/execution_layer.py6CODE
LOWscripts/execution_layer.py12CODE
LOWscripts/release_notes_test.py9CODE
LOWscripts/lldb_frame_sizes.py4CODE
LOWscripts/compatibility/monitor_synced.py6CODE
LOWscripts/simtest/reachpoints.py5CODE
LOWscripts/simtest/collect-failures.py22CODE
Cross-Language Confusion2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH⚡scripts/dual_replay.py375 status_differs || gas_differsCODE
HIGHscripts/dual_replay.py354 status_differs || gas_differs || shape_differsCODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…nal-crates/move/tooling/prettier-move/src/utilities.ts400 print(path),CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcrates/sui-axelar-cgp/move/presets/index.js171 // don't forget to add '00' to the end of the signatureCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/compatibility/split-cluster-check.sh8# Usage:COMMENT