AI Slop Code Risk Monitor

aptos-labs/aptos-core

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

Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience.

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for aptos-labs/aptos-core, a Rust project with 6,442 GitHub stars. SynthScan examined 1,900,981 lines of code across 7383 source files, recording 4104 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low pattern signal); it is not an authorship estimate.

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

2.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.4K
Stars
Rust
Language
1.9M
Lines of Code
7.4K
Files
4.1K
Pattern Hits
2026-10-31
Scan Date
0.01
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 10.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 4.5/100 · LOW

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

PR Review Velocity Impact 13.1/100 · LOW

Which changes need focused human review? 4104 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 18HIGH 42MEDIUM 438LOW 3606

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 4104 distinct pattern matches across 25 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 Block2129 hits · 2091 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml61 # NOTE: the value must not be a bare `--`: argparse in Python 3.10COMMENT
LOW…ystem/indexer-grpc/indexer-grpc-utils/src/constants.rs21pub const DEFAULT_MAX_TRANSACTION_FILTER_SIZE_BYTES: usize = 10_000;COMMENT
LOW…rpc/indexer-transaction-generator/template_config.yaml1# Config to import transactions onchain.COMMENT
LOW…indexer-transaction-generator/src/config_template.yaml1import_config:COMMENT
LOW…indexer-transaction-generator/src/config_template.yaml21 # api_key: YOUR_KEY_HERECOMMENT
LOW…em/indexer-grpc/indexer-grpc-fullnode/src/tests/mod.rs1// Copyright (c) Aptos FoundationCOMMENT
LOW…/indexer-grpc/indexer-grpc-server-framework/src/lib.rs161 let info = CrashInfo { details, backtrace };COMMENT
LOW…c/transaction-filter/src/boolean_transaction_filter.rs141 ///COMMENT
LOW…c/transaction-filter/src/boolean_transaction_filter.rs161 }COMMENT
LOW…c/transaction-filter/src/boolean_transaction_filter.rs181 /// .address("0x0fff").build()?COMMENT
LOW…c/transaction-filter/src/boolean_transaction_filter.rs201 ///COMMENT
LOW…rpc/transaction-filter/src/filters/user_transaction.rs21/// let filter = UserTransactionFilterBuilder::default().sender(address).build().unwrap();COMMENT
LOW…rpc/transaction-filter/src/filters/user_transaction.rs121///COMMENT
LOW…rpc/transaction-filter/src/filters/user_transaction.rs221/// .function("transfer")COMMENT
LOW…m/indexer-grpc/transaction-filter/src/filters/event.rs1// Copyright (c) Aptos FoundationCOMMENT
LOW…m/indexer-grpc/transaction-filter/src/filters/event.rs21/// .unwrap();COMMENT
LOW…rpc/transaction-filter/src/filters/transaction_root.rs1// Copyright (c) Aptos FoundationCOMMENT
LOW…xer-grpc/transaction-filter/src/filters/move_module.rs1// Copyright (c) Aptos FoundationCOMMENT
LOW…m/indexer-grpc/indexer-grpc-data-service/src/config.rs41#[derive(Clone, Debug, Deserialize, Serialize)]COMMENT
LOW…m/indexer-grpc/indexer-grpc-data-service/src/config.rs61 /// Deprecated: if set, don't check for auth tokens.COMMENT
LOW…etadata-crawler/src/asset_uploader/throttler/config.rs1// Copyright (c) Aptos FoundationCOMMENT
LOWterraform/helm/vector-log-agent/values.yaml21# encoding:COMMENT
LOWterraform/helm/genesis/files/genesis.sh1#!/bin/bashCOMMENT
LOWconsensus/consensus-types/src/block_retrieval.rs41 BlockRetrievalRequest::V1(req) => req.num_blocks,COMMENT
LOWconsensus/consensus-types/src/block_data.rs41 /// Failed authors from the parent's block to this block (including this block)COMMENT
LOWconsensus/consensus-types/src/block_data.rs81 /// The approximate physical time a block is proposed by a proposer. This timestamp is usedCOMMENT
LOWconsensus/src/txn_hash_and_authenticator_deduper.rs21/// 1. Mark possible duplicates (sequential): Using a helper HashMap, mark transactions with 2+COMMENT
LOWconsensus/src/network_interface.rs41 /// DEPRECATED: Once this is introduced in the next release, please useCOMMENT
LOWconsensus/src/network_interface.rs61 /// CommitProposal is the struct that is sent by the validator after execution to proposeCOMMENT
LOWconsensus/src/network_interface.rs81 /// Commit messageCOMMENT
LOWconsensus/src/state_replication.rs21/// While Consensus is managing proposed blocks, `StateComputer` is managing the results of theCOMMENT
LOWconsensus/src/counters.rs901pub static NUM_BLOCKS_IN_PIPELINE: Lazy<IntGaugeVec> = Lazy::new(|| {COMMENT
LOWconsensus/src/network_tests.rs41use tokio::runtime::Handle;COMMENT
LOWconsensus/src/network_tests.rs61pub struct NetworkPlayground {COMMENT
LOWconsensus/src/round_manager.rs521 self.block_store.pending_blocks(),COMMENT
LOWconsensus/src/epoch_manager.rs581 /// any commit the certificate triggers.COMMENT
LOWconsensus/src/pipeline/pipeline_builder.rs121/// The pipeline builder is responsible for constructing the pipeline structure for a block.COMMENT
LOWconsensus/src/pipeline/tests/integration_tests.rs1// Copyright (c) Aptos FoundationCOMMENT
LOWconsensus/src/util/time_service.rs21#[async_trait]COMMENT
LOW…ensus/src/quorum_store/tests/batch_proof_queue_test.rs341 // txns: [txn_0, txn_1, txn_2] + txns(proof_6)COMMENT
LOW…c/transaction_shuffler/use_case_aware/delayed_queue.rs221#[derive(Debug, Default)]COMMENT
LOWconsensus/src/liveness/proposal_generator.rs361 }COMMENT
LOWconsensus/src/liveness/leader_reputation.rs481 },COMMENT
LOWconsensus/src/liveness/round_state.rs61COMMENT
LOWconsensus/src/liveness/round_state.rs121 let duration_ms = ((self.base_ms as f64) * base_multiplier).ceil() as u64;COMMENT
LOWconsensus/src/liveness/round_state.rs141 // Determines the time interval for a round given the number of non-ordered rounds sinceCOMMENT
LOWconsensus/src/dag/adapter.rs201 observe_block(block.block().timestamp_usecs(), BlockStage::ORDERED);COMMENT
LOWconsensus/src/round_manager_tests/consensus_test.rs2001 false,COMMENT
LOWconsensus/src/twins/basic_twins_test.rs61#[test]COMMENT
LOWconsensus/src/twins/basic_twins_test.rs121/// Setup:COMMENT
LOWconsensus/src/twins/basic_twins_test.rs181///COMMENT
LOWconsensus/src/twins/basic_twins_test.rs261#[ignore] // TODO: https://github.com/aptos-labs/aptos-core/issues/6615COMMENT
LOWconsensus/src/block_storage/block_tree.rs241 /// Retrieves a Window of Recent BlocksCOMMENT
LOWconsensus/src/block_storage/block_store.rs81/// ╰--> C1--> C2COMMENT
LOW…sensus/src/block_storage/execution_pool/common_test.rs121 window_size: Option<u64>,COMMENT
LOW…/src/block_storage/execution_pool/block_window_test.rs221COMMENT
LOW…/src/block_storage/execution_pool/block_window_test.rs341 let block_window =COMMENT
LOW…/src/block_storage/execution_pool/block_window_test.rs361 let block_window =COMMENT
LOWconsensus/src/rand/dkg/mod.rs1// Copyright (c) Aptos FoundationCOMMENT
LOWconsensus/src/rand/rand_gen/lazy_types.rs1// Copyright (c) Aptos FoundationCOMMENT
2069 more matches not shown…
Decorative Section Separators264 hits · 791 pts
SeverityFileLineSnippetContext
MEDIUMconsensus/src/pipeline/decryption_pipeline_builder.rs480 // secret_shared_key_rx ─────────┴──→ decryptCOMMENT
MEDIUMconsensus/src/block_storage/block_tree.rs461 /// ┌──────────────────┐COMMENT
MEDIUMconsensus/src/block_storage/block_tree.rs463 /// └──────────────────┘COMMENT
MEDIUM…_storage/execution_pool/target_block_retrieval_test.rs39 // ┌───────────────┘ ┌─────────────────────────────┘COMMENT
MEDIUM…_storage/execution_pool/target_block_retrieval_test.rs43 // └────────────┐COMMENT
MEDIUM…_storage/execution_pool/target_block_retrieval_test.rs114 // └────────────┐ ┌─────────────────────────────┘COMMENT
MEDIUM…_storage/execution_pool/target_block_retrieval_test.rs118 // ┌──────┘COMMENT
MEDIUM⚡…/src/block_storage/execution_pool/block_window_test.rs416 // └──────┐ ↓COMMENT
MEDIUM⚡…/src/block_storage/execution_pool/block_window_test.rs417 // ┌───────────────────── ↓ ───────┐COMMENT
MEDIUM⚡…/src/block_storage/execution_pool/block_window_test.rs419 // └───────────────────────────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs36 // ┌──────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs38 // └──────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs65 // ┌──────────────────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs67 // └──────────────────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs94 // ┌───────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs96 // └───────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs160 // ┌───────────────────────────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs162 // └───────────────────────────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs180 // ┌──────────────────── ↓ ───────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs182 // └──────────────────────────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs250 // ┌───────────────────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs252 // └───────────────────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs272 // ┌──────────── ↓ ────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs274 // └───────────────────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs366 // ┌───────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs368 // └───────────┘COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs389 // ┌──────────── ↓ ────────────────┐COMMENT
MEDIUM…/src/block_storage/execution_pool/block_window_test.rs391 // └───────────────────────────────┘COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh143# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh145# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh171# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh173# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh229# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh231# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh296# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh298# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh349# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh351# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh393# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh395# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh421# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh423# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh517# ============================================================================COMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/setup.sh519# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh593# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh595# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh653# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh655# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh61# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh63# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh100# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh102# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh122# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh124# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh145# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh147# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh171# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh173# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh196 # ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/run-test.sh198 # ============================================================================COMMENT
204 more matches not shown…
Hyper-Verbose Identifiers749 hits · 743 pts
SeverityFileLineSnippetContext
LOW…tos-crypto/benches/print-range-proof-markdown-table.py61def parse_proof_size_from_folder(folder_path):CODE
LOW…ates/aptos-crypto/benches/print-pvss-markdown-table.py117def parse_transcript_bytes_from_folder(folder_path):CODE
LOWcrates/aptos/e2e/test_results.py22def build_test_case_decorator(test_results: TestResults):CODE
LOWcrates/aptos/e2e/cases/config.py12def test_config_show_profiles(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py24def test_publish_struct_enum_module(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py45def run_move_function_with_json(run_helper: RunHelper, test_name: str, json_content: dict, error_msg: str):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py136def test_struct_argument_simple(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py160def test_struct_argument_nested(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py189def test_option_variant_format(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py231def test_option_legacy_format(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py299def test_enum_variant_with_fields(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py323def test_enum_with_nested_struct(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py420def test_mixed_framework_struct(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py454def test_struct_unknown_field_rejected(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py511def test_enum_unknown_field_rejected(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py697def test_struct_with_enum_field(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py748def test_option_invalid_field_name_rejected(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py805def test_run_script_public_struct_arg(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/stake.py18def test_stake_initialize_stake_owner(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/stake.py94def test_stake_withdraw_stake_before_unlock(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/stake.py209async def test_stake_create_staking_contract(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/stake.py240def test_stake_increase_lockup(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/stake.py271async def test_stake_withdraw_stake_after_unlock(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/stake.py347def test_stake_request_commission(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/move.py88def test_move_compile_dev_mode(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/move.py110def test_move_compile_fetch_deps_only(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/node.py12def test_node_show_validator_set(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/node.py45def test_node_update_consensus_key(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/node.py126def test_node_update_validator_network_address(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/init.py57def test_aptos_header_included(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/account.py14async def test_account_fund_with_faucet(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/account.py49async def test_account_create_and_transfer(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/account.py127def test_account_lookup_address(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos/e2e/cases/account.py214def test_account_resource_account(run_helper: RunHelper, test_name=None):CODE
LOWcrates/aptos-faucet/integration-tests/tests.py10def run_faucet_integration_tests():CODE
LOWdocker/image-helpers.js54export async function assertExecutingInRepoRoot() {CODE
LOWdocker/image-helpers.js63export async function waitForImageToBecomeAvailable(imageToWaitFor, waitForImageSeconds) {CODE
LOWdocker/image-helpers.js235export function assertTagMatchesSourceVersion(imageTag) {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts1732function createBaseBlockMetadataTransaction(): BlockMetadataTransaction {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts1930function createBaseGenesisTransaction(): GenesisTransaction {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts2042function createBaseStateCheckpointTransaction(): StateCheckpointTransaction {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts2119function createBaseValidatorTransaction(): ValidatorTransaction {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts3450function createBaseBlockEpilogueTransaction(): BlockEpilogueTransaction {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts3698function createBaseUserTransaction(): UserTransaction {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts3962function createBaseTransactionInfo(): TransactionInfo {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts4301function createBaseUserTransactionRequest(): UserTransactionRequest {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts5317function createBaseDeleteTableItem(): DeleteTableItem {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts5455function createBaseDeleteTableData(): DeleteTableData {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts6111function createBaseTransactionPayload(): TransactionPayload {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts6407function createBaseEntryFunctionPayload(): EntryFunctionPayload {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts6555function createBaseMoveScriptBytecode(): MoveScriptBytecode {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts6794function createBaseMultisigPayload(): MultisigPayload {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts6904function createBaseMultisigTransactionPayload(): MultisigTransactionPayload {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts7016function createBaseMoveModuleBytecode(): MoveModuleBytecode {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts7692function createBaseMoveStructGenericTypeParam(): MoveStructGenericTypeParam {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts7816function createBaseMoveStructField(): MoveStructField {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts7922function createBaseMoveStructVariant(): MoveStructVariant {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts8032function createBaseMoveFunctionGenericTypeParam(): MoveFunctionGenericTypeParam {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts8430function createBaseWriteSetPayload(): WriteSetPayload {CODE
LOW…tos/typescript/src/aptos/transaction/v1/transaction.ts8521function createBaseEntryFunctionId(): EntryFunctionId {CODE
689 more matches not shown…
Structural Annotation Overuse155 hits · 280 pts
SeverityFileLineSnippetContext
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md90## Step 1: Start JaegerCOMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md102## Step 2: Start a Local FullnodeCOMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md127## Step 3: Start the gRPC ManagerCOMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md172## Step 4: Start the gRPC Data Service v2COMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md219## Step 5: Start the gRPC GatewayCOMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md245## Step 6: Start the API GatewayCOMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md292## Step 7: Test the Live Data PathCOMMENT
LOWecosystem/indexer-grpc/LOCAL_TRACING_GUIDE.md392## Step 9: View Traces in JaegerCOMMENT
LOWconsensus/src/rand/rand_gen/rand_store.rs57 /// NOTE: This method is called while holding the `Mutex<RandStore>` lock.COMMENT
LOW…tion-generator-lib/src/publishing/prebuild_packages.rs99 // Step 1: save serialized pre-built data.COMMENT
LOW…tion-generator-lib/src/publishing/prebuild_packages.rs126 // Step 2: generate implementation to access prebuilt packages.COMMENT
LOW⚡crates/aptos-crypto/src/blstrs/polynomials.rs68 // Step 1: compute denominators x_i - xCOMMENT
LOW⚡crates/aptos-crypto/src/blstrs/polynomials.rs71 // Step 2: batch inversion in placeCOMMENT
LOW⚡crates/aptos-crypto/src/blstrs/polynomials.rs74 // Step 3: multiply numerators by inversesCOMMENT
LOWcrates/aptos-crypto/src/blstrs/random.rs94/// NOTE: This function is "insecure" in the sense that the caller learns the discrete log of theCOMMENT
LOWcrates/aptos-crypto/src/blstrs/mod.rs97/// NOTE: This function will check for prime-order subgroup membership in $\mathbb{G}_1$.COMMENT
LOWcrates/aptos-crypto/src/blstrs/mod.rs114/// NOTE: This function will check for prime-order subgroup membership in $\mathbb{G}_2$.COMMENT
LOWcrates/aptos-crypto/src/bls12381/bls12381_keys.rs236 /// NOTE: This function will only check that the PK is a point on the curve:COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs133 // Step 1: Collect denominators for all iCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs146 // Step 2: Invert all denominators at onceCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs150 // Step 3: Compute numerators (product of -x_j for j != i)COMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs256 // Step 0: check that subset is large enoughCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs266 // Step 1: compute poly w/ roots at all x in xs, compute eval at 0COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs286 // Step 4: compute Lagrange coefficientsCOMMENT
LOWcrates/aptos-crypto/src/arkworks/random.rs21/// NOTE: This function is "unsafe" in the sense that the caller learns the discrete log of theCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/scrape.rs168 // Step 1: build MSM inputCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/scrape.rs176 // Step 2: perform MSMCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/scrape.rs179 // Step 3: enforce expected zeroCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh144# Step 1: Check prerequisitesCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh172# Step 2: Start Docker servicesCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh230# Step 3: Start Aptos test nodeCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh297# Step 4: Create test accountsCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh350# Step 5: Deploy Move contractCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh394# Step 6: Add test member to registryCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh422# Step 7: Set up environment variablesCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh518# Step 8: Start the telemetry service (background)COMMENT
LOW…tos-telemetry-service/e2e-test/test-client/src/main.rs218 // Step 1: Request challenge from serverCOMMENT
LOW⚡…tos-telemetry-service/e2e-test/test-client/src/main.rs252 // Step 2: Sign the server-issued challenge using aptos-cryptoCOMMENT
LOW⚡…tos-telemetry-service/e2e-test/test-client/src/main.rs257 // Step 3: Send auth request with signed challengeCOMMENT
LOW…lemetry-service/src/tests/custom_contract_auth_test.rs87 // Step 1: Request challengeCOMMENT
LOW⚡…lemetry-service/src/tests/custom_contract_auth_test.rs101 // Step 2: Sign challengeCOMMENT
LOW⚡…lemetry-service/src/tests/custom_contract_auth_test.rs104 // Step 3: AuthenticateCOMMENT
LOWcrates/aptos/e2e/main.py346 # WARNING: This has to stay at the end, else key will get rotatedCOMMENT
LOWcrates/aptos/e2e/cases/struct_enum_args.py818 # Step 1: compile the script (requires struct_enum_tests module to already be published).COMMENT
LOWcrates/aptos/e2e/cases/struct_enum_args.py832 # Step 2: run the compiled script with a Point struct arg via --json-file.COMMENT
LOWcrates/aptos-dkg/src/pcs/shplonked.rs543 // Step 3: Derive a challenge x from the Fiat-Shamir transcript.COMMENT
LOWcrates/aptos-dkg/src/pcs/zeromorph.rs435 // Step 1: commit to all of the q_kCOMMENT
LOW⚡crates/aptos-dkg/src/pcs/zeromorph.rs455 // Step 2: verifier challenge to aggregate degree bound proofsCOMMENT
LOW⚡crates/aptos-dkg/src/pcs/zeromorph.rs461 // Step 3: Aggregate shifted q_k into \hat{q} and compute commitmentCOMMENT
LOWcrates/aptos-dkg/src/utils/random.rs89/// NOTE: This function is "insecure" in the sense that the caller learns the discrete log of theCOMMENT
LOW…ates/aptos-dkg/src/pvss/chunky/hkzg_chunked_elgamal.rs81 // Step 3: convert the Shamir shares into chunked valuesCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs160 // Step 1: sample the polynomial and compute the Shamir sharesCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs252 // Step 6: produce the SoK; this is done before step 5b because it naturally normalises the statementCOMMENT
LOW⚡crates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs353 // Step 1: Do the SCRAPE LDT (G_2)COMMENT
LOW⚡crates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs363 // Step 2: Verify the range proofCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs374 // Step 3: Check that ciphertexts encrypt the committed sharesCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs399 // Step 4: Verify the SoK (G_1)COMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs54 // Step 1: Sample randomness. Here the `witness` is only used to make sure that `r` has the right dimensionsCOMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs57 // Step 2: Compute commitment A = Ψ(r)COMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs62 // Step 3: Obtain Fiat-Shamir challengeCOMMENT
95 more matches not shown…
AI Slop Vocabulary101 hits · 273 pts
SeverityFileLineSnippetContext
MEDIUMcrates/aptos-telemetry/src/service.rs41/// TODO(joshlind): leverage real authentication!COMMENT
MEDIUMtypes/src/network_address/mod.rs31/// future-proof network address represented as a stack of protocols. EssentiallyCOMMENT
MEDIUMaptos-move/framework/cached-packages/src/lib.rs12#[cfg(not(feature = "move-harness-with-test-only"))]COMMENT
MEDIUMaptos-move/framework/cached-packages/src/lib.rs14#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…ork/cached-packages/src/aptos_framework_sdk_builder.rs582 /// See https://datatracker.ietf.org/doc/html/rfc7517#section-4 for more details about the JWK attributes aforementiCOMMENT
MEDIUM…ork/cached-packages/src/aptos_framework_sdk_builder.rs3590/// See https://datatracker.ietf.org/doc/html/rfc7517#section-4 for more details about the JWK attributes aforementionedCOMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs154#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs156#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs165#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs399#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs406#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs412#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs418#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs427#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs433#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs702#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs709#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs714#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs780#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs786#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs793#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs798#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1057#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1063#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1069#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1076#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1082#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1306#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1312#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1318#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1324#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1330#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1336#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1342#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1348#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1354#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1360#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1366#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1372#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1379#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM⚡…os-move/e2e-move-tests/src/tests/confidential_asset.rs1386#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs40#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs88#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs130#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs186#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs200#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs237#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs269#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs316#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs324#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs346#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs372#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs444#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs450#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs461#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs472#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs486#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs498#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs504#[cfg(feature = "move-harness-with-test-only")]COMMENT
MEDIUM…os-move/e2e-move-tests/src/tests/confidential_asset.rs576#[cfg(feature = "move-harness-with-test-only")]COMMENT
41 more matches not shown…
Verbosity Indicators129 hits · 241 pts
SeverityFileLineSnippetContext
LOW…tion-generator-lib/src/publishing/prebuild_packages.rs99 // Step 1: save serialized pre-built data.COMMENT
LOW…tion-generator-lib/src/publishing/prebuild_packages.rs126 // Step 2: generate implementation to access prebuilt packages.COMMENT
LOW⚡crates/aptos-crypto/src/blstrs/polynomials.rs68 // Step 1: compute denominators x_i - xCOMMENT
LOW⚡crates/aptos-crypto/src/blstrs/polynomials.rs71 // Step 2: batch inversion in placeCOMMENT
LOW⚡crates/aptos-crypto/src/blstrs/polynomials.rs74 // Step 3: multiply numerators by inversesCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs133 // Step 1: Collect denominators for all iCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs146 // Step 2: Invert all denominators at onceCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs150 // Step 3: Compute numerators (product of -x_j for j != i)COMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs256 // Step 0: check that subset is large enoughCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/shamir.rs266 // Step 1: compute poly w/ roots at all x in xs, compute eval at 0COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs286 // Step 4: compute Lagrange coefficientsCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/scrape.rs168 // Step 1: build MSM inputCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/scrape.rs176 // Step 2: perform MSMCOMMENT
LOW⚡crates/aptos-crypto/src/arkworks/scrape.rs179 // Step 3: enforce expected zeroCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh144# Step 1: Check prerequisitesCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh172# Step 2: Start Docker servicesCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh230# Step 3: Start Aptos test nodeCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh297# Step 4: Create test accountsCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh350# Step 5: Deploy Move contractCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh394# Step 6: Add test member to registryCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh422# Step 7: Set up environment variablesCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/setup.sh518# Step 8: Start the telemetry service (background)COMMENT
LOW…tos-telemetry-service/e2e-test/test-client/src/main.rs218 // Step 1: Request challenge from serverCOMMENT
LOW⚡…tos-telemetry-service/e2e-test/test-client/src/main.rs252 // Step 2: Sign the server-issued challenge using aptos-cryptoCOMMENT
LOW⚡…tos-telemetry-service/e2e-test/test-client/src/main.rs257 // Step 3: Send auth request with signed challengeCOMMENT
LOW…lemetry-service/src/tests/custom_contract_auth_test.rs87 // Step 1: Request challengeCOMMENT
LOW⚡…lemetry-service/src/tests/custom_contract_auth_test.rs101 // Step 2: Sign challengeCOMMENT
LOW⚡…lemetry-service/src/tests/custom_contract_auth_test.rs104 // Step 3: AuthenticateCOMMENT
LOWcrates/aptos/e2e/cases/struct_enum_args.py818 # Step 1: compile the script (requires struct_enum_tests module to already be published).COMMENT
LOWcrates/aptos/e2e/cases/struct_enum_args.py832 # Step 2: run the compiled script with a Point struct arg via --json-file.COMMENT
LOWcrates/aptos-dkg/src/pcs/shplonked.rs543 // Step 3: Derive a challenge x from the Fiat-Shamir transcript.COMMENT
LOWcrates/aptos-dkg/src/pcs/zeromorph.rs435 // Step 1: commit to all of the q_kCOMMENT
LOW⚡crates/aptos-dkg/src/pcs/zeromorph.rs455 // Step 2: verifier challenge to aggregate degree bound proofsCOMMENT
LOW⚡crates/aptos-dkg/src/pcs/zeromorph.rs461 // Step 3: Aggregate shifted q_k into \hat{q} and compute commitmentCOMMENT
LOW…tes/aptos-dkg/src/range_proofs/dekart_univariate_v2.rs1009 // Step 8:COMMENT
LOW…tes/aptos-dkg/src/range_proofs/dekart_univariate_v2.rs1012 // Step 9:COMMENT
LOW…ates/aptos-dkg/src/pvss/chunky/hkzg_chunked_elgamal.rs81 // Step 3: convert the Shamir shares into chunked valuesCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs160 // Step 1: sample the polynomial and compute the Shamir sharesCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs252 // Step 6: produce the SoK; this is done before step 5b because it naturally normalises the statementCOMMENT
LOW⚡crates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs353 // Step 1: Do the SCRAPE LDT (G_2)COMMENT
LOW⚡crates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs363 // Step 2: Verify the range proofCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs374 // Step 3: Check that ciphertexts encrypt the committed sharesCOMMENT
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs399 // Step 4: Verify the SoK (G_1)COMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs54 // Step 1: Sample randomness. Here the `witness` is only used to make sure that `r` has the right dimensionsCOMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs57 // Step 2: Compute commitment A = Ψ(r)COMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs62 // Step 3: Obtain Fiat-Shamir challengeCOMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs65 // Step 4: Compute prover responseCOMMENT
LOW⚡crates/aptos-dkg/src/sigma_protocol/traits.rs68 // Step 5: Pick first **recorded** itemCOMMENT
LOW⚡…ove/e2e-move-tests/src/tests/keyless_feature_gating.rs267 // Step 0: Make sure the default VK is installedCOMMENT
LOW⚡…ove/e2e-move-tests/src/tests/keyless_feature_gating.rs275 // Step 1: Make sure TXN validation fails if JWKs are not installed at jwk_addr.COMMENT
LOW…ove/e2e-move-tests/src/tests/keyless_feature_gating.rs296 // Step 1: Make sure TXN validation succeeds once JWKs are installed at jwk_addr.COMMENT
LOW⚡…ove/e2e-move-tests/src/tests/keyless_feature_gating.rs329 // Step 0: Make sure the default VK is installedCOMMENT
LOW⚡…ove/e2e-move-tests/src/tests/keyless_feature_gating.rs336 // Step 1: Make sure the TXN does not validate, since the wrong JWK is installed at JWK addrCOMMENT
LOW…ove/e2e-move-tests/src/tests/keyless_feature_gating.rs357 // Step 2: Install the correct JWK at 0x1 and resubmit the TXN; it should now validateCOMMENT
LOW⚡aptos-move/aptos-gas-schedule/bump_ver.py75 # Step 1: Read the file contentCOMMENT
LOW⚡aptos-move/aptos-gas-schedule/bump_ver.py80 # Step 2: Get the current latest version and the gas_feature_versions blockCOMMENT
LOW⚡aptos-move/aptos-gas-schedule/bump_ver.py84 # Step 3: Get all existing versions from the gas_feature_versions blockCOMMENT
LOW⚡aptos-move/aptos-gas-schedule/bump_ver.py87 # Step 4: Increment the version or create a new one if neededCOMMENT
LOW⚡aptos-move/aptos-gas-schedule/bump_ver.py91 # Step 5: Replace the old gas_feature_versions block with the new oneCOMMENT
LOW⚡aptos-move/aptos-gas-schedule/bump_ver.py94 # Step 6: Update the LATEST_GAS_FEATURE_VERSION to the new versionCOMMENT
69 more matches not shown…
Self-Referential Comments69 hits · 218 pts
SeverityFileLineSnippetContext
MEDIUMterraform/aptos-node-testnet/gcp/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/aptos-node-testnet/aws/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/fullnode/gcp/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/fullnode/digital_ocean/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/fullnode/vultr/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/fullnode/aws/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh367 # Create a temporary Move.toml with the correct addressCOMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/helpers.sh50# Create a new accountCOMMENT
MEDIUM⚡crates/aptos-telemetry-service/e2e-test/helpers.sh331# Create an unknown/untrusted account (NOT added to registry)COMMENT
MEDIUMcrates/aptos/e2e/local_testnet.py4# This file contains functions for running the localnet.COMMENT
MEDIUMcrates/aptos/e2e/test_helpers.py108 # Create the output directory if necessary.COMMENT
MEDIUMcrates/aptos/e2e/main.py359 # Create the dir the test CLI will run from.COMMENT
MEDIUMcrates/aptos/e2e/cases/account.py50 # Create the new account.COMMENT
MEDIUMcrates/aptos/e2e/cases/account.py128 # Create the new account.COMMENT
MEDIUMcrates/aptos/e2e/cases/account.py218 # Create the new resource account.COMMENT
MEDIUMcrates/aptos-faucet/integration-tests/local_testnet.py4# This file contains functions for running the localnet.COMMENT
MEDIUMprotos/python/generate.sh25# Create the output directory.COMMENT
MEDIUM…s/aptos/internal/fullnode/v1/fullnode_data_pb2_grpc.py65# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…hon/aptos_protos/aptos/indexer/v1/raw_data_pb2_grpc.py47# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMtestsuite/forge_env.sh1# This file is source-d when running ForgeCOMMENT
MEDIUM⚡testsuite/replay-verify/archive_disk_utils.py667 # Define the PVC manifestCOMMENT
MEDIUMtestsuite/replay-verify/archive_disk_utils.py161 # Create the snapshot asynchronously, then poll until completeCOMMENT
MEDIUMtestsuite/replay-verify/archive_disk_utils.py252 # Create a new disk from the snapshotCOMMENT
MEDIUMtestsuite/replay-verify/archive_disk_utils.py543 # Define the PVC manifestCOMMENT
MEDIUMtestsuite/replay-verify/archive_disk_utils.py603 # Define the VolumeSnapshot manifestCOMMENT
MEDIUMtestsuite/replay-verify/main.py463 # Create the Kubernetes API client to start a podCOMMENT
MEDIUM⚡testsuite/pangu_lib/testnet_commands/create_testnet.py1043 # Define the name of the PVCCOMMENT
MEDIUM⚡testsuite/pangu_lib/testnet_commands/create_testnet.py1047 # Define the metadata for the PVCCOMMENT
MEDIUM⚡testsuite/pangu_lib/testnet_commands/create_testnet.py1054 # Define the size of the PVCCOMMENT
MEDIUM⚡testsuite/pangu_lib/testnet_commands/create_testnet.py1059 # Define the spec for the PVCCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py229 # Create a temp layout file, copy the layout providedCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py494 # Create the genesis artifacts configmapCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py537# Creating the keys & configs async significantly reduces the time this process takesCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py610 # Create a list to store the coroutinesCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py614 # Create the validator stateful setsCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py630 # Create the vfn stateful sets if the user wants to create vfnsCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py668 # Create the validator configmapCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py703 # Create the vfn configmap if the user wants to create vfnsCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py706 # Create a temp vfn config file, copy the vfn config providedCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py877 # Create the service objectCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py892 # Create the volumes for the statefulsetCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py943 # Create the container/spec for the statefulsetCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py975 # Create the StatefulSet objectCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py1077 # Create the PVC objectCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/get_testnet.py155 # Create the PanguTestnet objectCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/update_nodes.py123 # Define the patch data for the statefulsetCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/update_nodes.py140 # Create a temp vfn config file, copy the vfn config providedCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/update_nodes.py148 # Define the patch data for the configmapCOMMENT
MEDIUM⚡testsuite/pangu_lib/tests/create_testnet_test.py341 # Define the expected reads for the filesystemCOMMENT
MEDIUM⚡testsuite/pangu_lib/tests/create_testnet_test.py347 # Create an instance of the SpyFilesystemCOMMENT
MEDIUM⚡testsuite/pangu_lib/tests/create_testnet_test.py591 # Define the expected reads for the filesystemCOMMENT
MEDIUM⚡testsuite/pangu_lib/tests/create_testnet_test.py598 # Create an instance of the SpyFilesystemCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py370 # Create the expected PanguNodeBlueprint objectCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py387 # Create the expected PanguNodeLayout objectCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py416 # Create the expected commandsCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py454 # Create a dictionary of blueprintsCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py507 # Create the expected fake commandsCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py237 # Create the expected readsSTRING
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py243 # Create an instance of the SpyFilesystemSTRING
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py287 # Create a dictionary of blueprintsSTRING
9 more matches not shown…
Hallucination Indicators18 hits · 180 pts
SeverityFileLineSnippetContext
CRITICALcrates/aptos/src/node/analyze/fetch_metadata.rs106 if resource.data.typ.name.0.as_str() == "ValidatorSet" {CODE
CRITICALcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs320 if self.sharing_proof.SoK.z.chunked_plaintexts.len() != sc.get_total_num_players() {CODE
CRITICALcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs342 if self.sharing_proof.SoK.z.elgamal_randomness.len() != sc.get_max_weight() {CODE
CRITICAL…acy-move-compiler/src/expansion/dependency_ordering.rs196 && m.value.module.0.value.as_str() == module_nameCODE
CRITICAL…line/reference_safety/reference_safety_processor_v3.rs698 if self.parent.target.func_env.module_env.get_id() != fun_id.module_idCODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs883 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs905 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs934 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs957 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs987 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs1058 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs1085 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs262 pool.make(m.value.module.0.value.as_str()),CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs303 .make(mident.value.module.0.value.as_str());CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs448 .make(mident.value.module.0.value.as_str()),CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs472 .make(mident.value.module.0.value.as_str()),CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs751 let module_sym = self.symbol_pool().make(mid.value.module.0.value.as_str());CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs788 .make(friend_mod_id.value.module.0.value.as_str());CODE
Unused Imports172 hits · 168 pts
SeverityFileLineSnippetContext
LOWcrates/aptos/e2e/common.py4CODE
LOWcrates/aptos-faucet/integration-tests/main.py27CODE
LOW…os_protos/aptos/transaction/v1/transaction_pb2_grpc.py3CODE
LOW…n/aptos_protos/aptos/transaction/v1/transaction_pb2.py15CODE
LOW…ptos_protos/aptos/util/timestamp/timestamp_pb2_grpc.py3CODE
LOW…protos/aptos/internal/fullnode/v1/fullnode_data_pb2.py15CODE
LOW…protos/aptos/internal/fullnode/v1/fullnode_data_pb2.py16CODE
LOW…s/python/aptos_protos/aptos/indexer/v1/raw_data_pb2.py15CODE
LOW…s/python/aptos_protos/aptos/indexer/v1/raw_data_pb2.py16CODE
LOW…tion/spec-inference/analysis/codex_model_comparison.py15CODE
LOW…flow/evaluation/spec-inference/analysis/opus_report.py2CODE
LOW…aluation/spec-inference/analysis/codex_round_report.py16CODE
LOW…ow/evaluation/spec-inference/analysis/round_summary.py9CODE
LOW…ow/evaluation/spec-inference/analysis/agent_reports.py9CODE
LOW…move/flow/evaluation/spec-inference/corpus-v4/build.py18CODE
LOW…/evaluation/spec-inference/corpus-v4/author_mutants.py21CODE
LOW…ve/flow/evaluation/spec-inference/corpus-v4/compose.py30CODE
LOW…w/evaluation/spec-inference/corpus-v4/prepare_tasks.py28CODE
LOW…ow/evaluation/spec-inference/corpus-v4/select_round.py28CODE
LOW…ove/flow/evaluation/spec-inference/corpus-v4/verify.py18CODE
LOW…valuation/spec-inference/corpus-v4/build_references.py16CODE
LOW…ec-inference/tests/test_restore_reference_contracts.py1CODE
LOW…w/evaluation/spec-inference/tests/test_review_stage.py1CODE
LOW…/flow/evaluation/spec-inference/tests/test_dispatch.py1CODE
LOW…ow/evaluation/spec-inference/tests/test_identifiers.py1CODE
LOW…tion/spec-inference/tests/test_dependency_contracts.py1CODE
LOW…/evaluation/spec-inference/tests/test_pilot_sandbox.py1CODE
LOW…/evaluation/spec-inference/tests/test_pilot_sandbox.py8CODE
LOW…/evaluation/spec-inference/tests/test_agent_session.py1CODE
LOW…e/flow/evaluation/spec-inference/tests/test_catalog.py1CODE
LOW…evaluation/spec-inference/tests/test_controller_run.py9CODE
LOW…evaluation/spec-inference/tests/test_controller_run.py15CODE
LOW…luation/spec-inference/tests/test_controller_errors.py1CODE
LOW…aluation/spec-inference/tests/test_validate_mutants.py1CODE
LOW…aluation/spec-inference/tests/test_validate_mutants.py3CODE
LOW…low/evaluation/spec-inference/tests/test_refutation.py1CODE
LOW…low/evaluation/spec-inference/tests/test_refutation.py4CODE
LOW…move/flow/evaluation/spec-inference/tests/test_mine.py1CODE
LOW…move/flow/evaluation/spec-inference/tests/test_mine.py3CODE
LOW…tion/spec-inference/tests/test_clean_unused_aliases.py1CODE
LOW…ow/evaluation/spec-inference/tests/test_pilot_audit.py1CODE
LOW…/evaluation/spec-inference/tests/test_state_machine.py1CODE
LOW…e/flow/evaluation/spec-inference/tests/test_mutants.py1CODE
LOW…flow/evaluation/spec-inference/tests/test_artifacts.py1CODE
LOW…valuation/spec-inference/tests/test_pilot_preflight.py1CODE
LOW…low/evaluation/spec-inference/tests/test_codex_otel.py1CODE
LOW…ation/spec-inference/tests/test_opaque_dependencies.py1CODE
LOW…ove/flow/evaluation/spec-inference/tests/test_pilot.py1CODE
LOW…/flow/evaluation/spec-inference/tests/test_schedule.py1CODE
LOW…e/flow/evaluation/spec-inference/tests/test_refresh.py1CODE
LOW…flow/evaluation/spec-inference/tests/test_pilot_run.py1CODE
LOW…w/evaluation/spec-inference/tests/test_select_round.py1CODE
LOW…w/evaluation/spec-inference/tests/test_boogie_proxy.py1CODE
LOW…ow/evaluation/spec-inference/tests/test_sdk_metrics.py1CODE
LOW…ow/evaluation/spec-inference/tests/test_score_round.py1CODE
LOW…ec-inference/tests/test_verify_dependency_contracts.py1CODE
LOW…e/flow/evaluation/spec-inference/tests/test_prepare.py1CODE
LOW…ow/evaluation/spec-inference/tests/test_stdio_proxy.py1CODE
LOW…/flow/evaluation/spec-inference/tests/test_taxonomy.py1CODE
LOW…/evaluation/spec-inference/tests/test_round_summary.py1CODE
112 more matches not shown…
Deep Nesting103 hits · 96 pts
SeverityFileLineSnippetContext
LOW…tos-crypto/benches/print-range-proof-markdown-table.py61CODE
LOW…tos-crypto/benches/print-range-proof-markdown-table.py179CODE
LOW…ates/aptos-crypto/benches/print-pvss-markdown-table.py117CODE
LOW…ates/aptos-crypto/benches/print-pvss-markdown-table.py180CODE
LOWcrates/aptos/e2e/main.py350CODE
LOWcrates/aptos/e2e/cases/account.py214CODE
LOW…aluation/spec-inference/analysis/codex_round_report.py145CODE
LOW…aluation/spec-inference/analysis/codex_round_report.py169CODE
LOW…evaluation/spec-inference/analysis/model_comparison.py10CODE
LOW…ow/evaluation/spec-inference/analysis/round_summary.py22CODE
LOW…move/flow/evaluation/spec-inference/corpus-v4/build.py82CODE
LOW…move/flow/evaluation/spec-inference/corpus-v4/build.py841CODE
LOW…/evaluation/spec-inference/corpus-v4/author_mutants.py108CODE
LOW…w/evaluation/spec-inference/corpus-v4/prepare_tasks.py81CODE
LOW…w/evaluation/spec-inference/corpus-v4/prepare_tasks.py298CODE
LOW…ow/evaluation/spec-inference/corpus-v4/select_round.py56CODE
LOW…valuation/spec-inference/corpus-v4/build_references.py128CODE
LOW…ow/evaluation/spec-inference/tests/test_identifiers.py97CODE
LOW…ow/evaluation/spec-inference/tests/test_identifiers.py114CODE
LOW…ow/evaluation/spec-inference/tests/test_identifiers.py136CODE
LOW…ow/evaluation/spec-inference/tests/test_identifiers.py153CODE
LOW…luation/spec-inference/tests/test_controller_errors.py137CODE
LOW…/evaluation/spec-inference/tests/test_state_machine.py86CODE
LOW…luation/spec-inference/tests/test_preparation_patch.py22CODE
LOW…evaluation/spec-inference/tests/test_author_mutants.py178CODE
LOW…move/flow/evaluation/spec-inference/harness/catalog.py22CODE
LOW…os-move/flow/evaluation/spec-inference/harness/mine.py302CODE
LOW…os-move/flow/evaluation/spec-inference/harness/mine.py337CODE
LOW…-move/flow/evaluation/spec-inference/harness/screen.py30CODE
LOW…/flow/evaluation/spec-inference/harness/pilot_audit.py42CODE
LOW…low/evaluation/spec-inference/harness/compatibility.py28CODE
LOW…low/evaluation/spec-inference/harness/compatibility.py530CODE
LOW…e/flow/evaluation/spec-inference/harness/controller.py106CODE
LOW…low/evaluation/spec-inference/harness/pilot_sandbox.py727CODE
LOW…low/evaluation/spec-inference/harness/pilot_sandbox.py770CODE
LOW…ow/evaluation/spec-inference/harness/shared_package.py164CODE
LOW…/spec-inference/harness/restore_reference_contracts.py31CODE
LOW…move/flow/evaluation/spec-inference/harness/mutants.py206CODE
LOW…move/flow/evaluation/spec-inference/harness/mutants.py440CODE
LOW…e/flow/evaluation/spec-inference/harness/codex_otel.py144CODE
LOW…ve/flow/evaluation/spec-inference/harness/screen_v3.py56CODE
LOW…ation/spec-inference/harness/infer_dependency_specs.py47CODE
LOW…ation/spec-inference/harness/infer_dependency_specs.py217CODE
LOW…luation/spec-inference/harness/clean_unused_aliases.py148CODE
LOW…ove/flow/evaluation/spec-inference/harness/taxonomy.py56CODE
LOW…ove/flow/evaluation/spec-inference/harness/taxonomy.py136CODE
LOW…low/evaluation/spec-inference/harness/warning_audit.py66CODE
LOW…/flow/evaluation/spec-inference/harness/publication.py68CODE
LOW…/flow/evaluation/spec-inference/harness/publication.py113CODE
LOW…/flow/evaluation/spec-inference/harness/move_source.py9CODE
LOW…/flow/evaluation/spec-inference/harness/move_source.py70CODE
LOW…luation/spec-inference/harness/dependency_contracts.py14CODE
LOW…luation/spec-inference/harness/dependency_contracts.py322CODE
LOW…low/evaluation/spec-inference/harness/codex_metrics.py13CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py26CODE
LOW…aluation/spec-inference/harness/opaque_dependencies.py16CODE
LOW…/flow/evaluation/spec-inference/harness/sdk_metrics.py108CODE
LOW…move/flow/evaluation/spec-inference/harness/prepare.py534CODE
LOW…move/flow/evaluation/spec-inference/harness/prepare.py671CODE
LOW…move/flow/evaluation/spec-inference/harness/prepare.py693CODE
43 more matches not shown…
Excessive Try-Catch Wrapping79 hits · 82 pts
SeverityFileLineSnippetContext
MEDIUM…ates/aptos-crypto/benches/print-pvss-markdown-table.py388 print("Error: No pvss_chunky_v1 or pvss_chunky_v2 directories found in current directory.", file=sys.stderr)CODE
LOWcrates/aptos/e2e/test_results.py31 except Exception as e:CODE
LOWcrates/aptos/e2e/local_testnet.py110 except Exception:CODE
LOWcrates/aptos/e2e/main.py454 except Exception as e:CODE
LOWcrates/aptos/e2e/main.py461 except Exception as e:CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py76 except Exception as e:CODE
LOWcrates/aptos/e2e/cases/struct_enum_args.py127 except Exception as e:CODE
LOWcrates/aptos/e2e/cases/init.py41 except Exception as e:CODE
LOWcrates/aptos-faucet/integration-tests/local_testnet.py91 except Exception:CODE
LOWcrates/aptos-faucet/integration-tests/prechecks.py16 except Exception as e:CODE
LOW…/flow/evaluation/spec-inference/harness/pilot_audit.py57 except Exception as error:CODE
LOW…/flow/evaluation/spec-inference/harness/pilot_audit.py86 except Exception as error:CODE
LOW…/flow/evaluation/spec-inference/harness/pilot_audit.py112 except Exception as error:CODE
LOW…e/flow/evaluation/spec-inference/harness/controller.py282 except Exception as error:CODE
LOW…e/flow/evaluation/spec-inference/harness/controller.py1067 except Exception as error:CODE
LOW…ove/flow/evaluation/spec-inference/harness/dispatch.py213 except Exception as error:CODE
LOW…e/flow/evaluation/spec-inference/harness/codex_otel.py130 except Exception as error:CODE
LOW…flow/evaluation/spec-inference/harness/boogie_proxy.py129 except Exception as error:CODE
LOW…/flow/evaluation/spec-inference/harness/publication.py108 except Exception:CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py105 except Exception as error:CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py151 except Exception:CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py191 except Exception as error:CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py249 except Exception as error:CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py283 except Exception as error:CODE
LOW…w/evaluation/spec-inference/harness/pilot_preflight.py342 except Exception as error:CODE
LOW…/flow/evaluation/spec-inference/harness/score_round.py425 except Exception as error:CODE
LOWtestsuite/forge.py194 except Exception as e:CODE
LOWtestsuite/forge.py349 except Exception as e:CODE
LOWtestsuite/forge.py1567 except Exception as e:CODE
LOWtestsuite/forge.py1804 except Exception as e:CODE
LOWtestsuite/forge.py1833 except Exception as e:CODE
LOWtestsuite/forge.py1970 except Exception as e:CODE
LOWtestsuite/forge.py2159 except Exception as e:CODE
LOWtestsuite/forge.py2299 except Exception:CODE
LOWtestsuite/forge.py764 except Exception as e:STRING
LOWtestsuite/indexer_grpc_local.py141 except Exception as e:STRING
LOWtestsuite/indexer_grpc_local.py202 except Exception as e:CODE
LOWtestsuite/indexer_grpc_local.py223 except Exception as e:CODE
LOW…etermine_target_branch_to_fetch_last_released_image.py98 except Exception as e:CODE
LOWtestsuite/forge_test.py100 except Exception as e:CODE
LOWtestsuite/find_latest_image.py90 except Exception as e:CODE
LOWtestsuite/pangu.py18 except Exception as exc:CODE
LOW⚡testsuite/replay-verify/archive_disk_utils.py655 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py156 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py198 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py225 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py315 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py514 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py729 except Exception as e:CODE
MEDIUMtestsuite/replay-verify/main.py607def _delete_pod_api_call(self):CODE
LOWtestsuite/replay-verify/main.py330 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py596 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py880 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py932 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py1152 except Exception as error:CODE
LOWtestsuite/pangu_lib/util.py181 except Exception as e:CODE
LOWtestsuite/pangu_lib/testnet_commands/healthcheck.py218 except Exception:CODE
LOWtestsuite/pangu_lib/testnet_commands/get_testnet.py103 except Exception as e:CODE
LOWtestsuite/pangu_lib/testnet_commands/commands.py96 except Exception as e:CODE
LOWtestsuite/pangu_lib/testnet_commands/commands.py114 except Exception as e:CODE
19 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGH…ates/aptos-crypto/benches/print-pvss-markdown-table.py137except (json.JSONDecodeError, IOError, ValueError):CODE
HIGHcrates/aptos/e2e/main.py180except (requests.RequestException, requests.Timeout):CODE
HIGH…ow/evaluation/spec-inference/tests/test_stdio_proxy.py150except ProcessLookupError:CODE
HIGH…low/evaluation/spec-inference/harness/pilot_sandbox.py766except OSError:CODE
HIGH…s-move/flow/evaluation/spec-inference/harness/judge.py187except ProcessLookupError:CODE
HIGH…s-move/flow/evaluation/spec-inference/harness/judge.py196except ProcessLookupError:CODE
HIGHtestsuite/node_info.py40except:CODE
HIGHtestsuite/pangu_lib/testnet_commands/update_nodes.py173except FileNotFoundError:CODE
HIGHtestsuite/pangu_lib/testnet_commands/commands.py96except Exception as e:CODE
HIGHtestsuite/pangu_lib/testnet_commands/commands.py121except:CODE
HIGHtestsuite/pangu_lib/node_commands/add_pfn.py75except FileExistsError:CODE
HIGHthird_party/move/lean/scripts/verex-bench.py295except OSError:CODE
HIGHthird_party/move/lean/scripts/verify-modules.py96except OSError:CODE
HIGHthird_party/move/lean/scripts/verify-modules.py285except OSError:CODE
HIGHthird_party/move/lean/scripts/verify-modules.py192except ProcessLookupError:CODE
Redundant / Tautological Comments46 hits · 63 pts
SeverityFileLineSnippetContext
LOW…ates/aptos-crypto/benches/print-pvss-markdown-table.py268 # Check if we have all operations for both versionsCOMMENT
LOW⚡crates/aptos-telemetry-service/e2e-test/helpers.sh308 # Check if the endpoint responds (even 400 means it's enabled)COMMENT
LOWcrates/aptos-telemetry-service/e2e-test/helpers.sh69 # Check if key already exists - reuse it for consecutive runsCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/helpers.sh73 # Check if profile already existsCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/helpers.sh346 # Check if key already exists - reuse it for consecutive runsCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/helpers.sh351 # Check if profile already existsCOMMENT
LOWcrates/aptos/e2e/cases/account.py115 # Check if the resource account is in the listCOMMENT
LOWcrates/aptos/e2e/cases/account.py272 # Check if the resource account is in the listCOMMENT
LOWaptos-move/aptos-gas-schedule/bump_ver.py46 # Check if there's already a RELEASE_V1_(latest_num + 1) entryCOMMENT
LOWtestsuite/forge.py791 # Set rlimit to unlimited for txn emitter locallySTRING
LOWtestsuite/indexer_grpc_local.py79 # Check if the certificates are already presentSTRING
LOWtestsuite/fuzzer/fuzz.sh148 # Check if both arguments are providedCOMMENT
LOWtestsuite/fuzzer/fuzz.sh483 # Check if current_mtime is greater than last_mtimeCOMMENT
LOWtestsuite/replay-verify/archive_disk_utils.py214 # Check if the disk already existsCOMMENT
LOWtestsuite/replay-verify/archive_disk_utils.py336 # Check if job has timed out (active for too long)COMMENT
LOWtestsuite/replay-verify/main.py206 # Check if the environment variable already existsCOMMENT
LOWtestsuite/pangu_lib/testnet_commands/update_nodes.py119 # Check if validator or vfnCOMMENT
LOW…uite/pangu_lib/testnet_commands/transaction_emitter.py72 # Check if we timed outCOMMENT
LOW…uite/pangu_lib/testnet_commands/transaction_emitter.py100 requests={"cpu": "15", "memory": "26Gi"}, # Check if too much/not enoughCODE
LOW…uite/pangu_lib/testnet_commands/transaction_emitter.py101 limits={"cpu": "15", "memory": "26Gi"}, # Check if too much/not enoughCODE
LOWkeyless/pepper/scripts/start-pepper-service.sh6# Check if the correct arguments are providedCOMMENT
LOWkeyless/pepper/scripts/start-pepper-client.sh6# Check if the correct arguments are providedCOMMENT
LOWkeyless/pepper/scripts/stop-firestore-emulator.sh6# Check if the required arguments are providedCOMMENT
LOW…s/pepper/scripts/start-pepper-client-with-firestore.sh6# Check if the correct arguments are providedCOMMENT
LOWkeyless/pepper/scripts/start-firestore-emulator.sh6# Check if the required arguments are providedCOMMENT
LOW…/pepper/scripts/start-pepper-service-with-firestore.sh6# Check if the correct arguments are providedCOMMENT
LOW.cargo/config.toml63 "link-arg=/STACK:8000000" # Set stack to 8 MBCODE
LOW…/move-prover/lab/data/new-boogie-diem-framework/run.sh7# Check if the first argument is either "new" or "current"COMMENT
LOW…move-prover/lab/data/new-boogie-aptos-framework/run.sh5# Check if the first argument is either "new" or "current"COMMENT
LOW…ve/move-prover/lab/data/new-boogie-aptos-stdlib/run.sh5# Check if the first argument is either "new" or "current"COMMENT
LOWthird_party/move/scripts/compare_num_instructions.py29 # Check if the directories exist.COMMENT
LOWthird_party/move/scripts/compare_num_instructions.py56 # Print the results per file, in order of higher increase earlier.COMMENT
LOWscripts/indexer_processor_tests_status_poll.sh26 # Check if the workflow_runs array existsCOMMENT
LOWscripts/indexer_processor_tests_status_poll.sh71 # Check if the jobs array existsCOMMENT
LOWscripts/indexer_processor_tests_status_poll.sh94 # Check if the job has completedCOMMENT
LOWscripts/indexer_test_txns_compare_and_diff.sh62 # Check if the folder is for imported transactionsCOMMENT
LOWscripts/indexer_proto_update_status_poll.sh17 # Check if there is an in-progress runCOMMENT
LOWscripts/binary_release/install_binary.sh174 # Check if there are more pagesCOMMENT
LOWscripts/binary_release/install_binary.sh187# Check if already installedCOMMENT
LOWscripts/binary_release/install_binary.sh282 # Check if bin directory is in PATHCOMMENT
LOWscripts/cli/cargo_install_cli.sh2# Check if version is providedCOMMENT
LOWscripts/cli/cargo_install_cli.sh10# Check if version matches expected formatCOMMENT
LOWscripts/cli/minimal_cli_build.sh41 # Check if it's RockyCOMMENT
LOW.github/actions/fullnode-sync/fullnode_sync.py161 # Check if we've synced to the public versionCOMMENT
LOW.github/actions/fullnode-sync/fullnode_sync.py170 # Check if we've synced to the target versionCOMMENT
LOW⚡.github/actions/fullnode-sync/fullnode_sync.py214 # Check if the fullnode is still runningCOMMENT
Cross-File Repetition11 hits · 55 pts
SeverityFileLineSnippetContext
HIGH…os_protos/aptos/transaction/v1/transaction_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…ptos_protos/aptos/util/timestamp/timestamp_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…s/aptos/internal/fullnode/v1/fullnode_data_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…hon/aptos_protos/aptos/indexer/v1/raw_data_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHtestsuite/pangu_lib/node_commands/restart_node.py0start a node args: testnet_name (str): the namespace/testnet node_name (str): the statefulset/node name kubernetes (kubeSTRING
HIGHtestsuite/pangu_lib/node_commands/stop_node.py0start a node args: testnet_name (str): the namespace/testnet node_name (str): the statefulset/node name kubernetes (kubeSTRING
HIGHtestsuite/pangu_lib/node_commands/start_node.py0start a node args: testnet_name (str): the namespace/testnet node_name (str): the statefulset/node name kubernetes (kubeSTRING
HIGH…ipts/algebra-gas/update_bls12381_algebra_gas_params.py0this module automated the steps to calculate gas parameters for `bulletproofs.move` natives from benchmarking results, tSTRING
HIGHscripts/algebra-gas/update_bn254_algebra_gas_params.py0this module automated the steps to calculate gas parameters for `bulletproofs.move` natives from benchmarking results, tSTRING
HIGH…bra-gas/update_bulletproofs_batch_verify_gas_params.py0this module automated the steps to calculate gas parameters for `bulletproofs.move` natives from benchmarking results, tSTRING
HIGHscripts/algebra-gas/update_bulletproofs_gas_params.py0this module automated the steps to calculate gas parameters for `bulletproofs.move` natives from benchmarking results, tSTRING
Synthetic Comment Markers7 hits · 52 pts
SeverityFileLineSnippetContext
HIGH…rc/consensus_observer/observer/subscription_manager.rs242 // Log a warning if we failed to create as many subscriptions as requestedCOMMENT
HIGHcrates/aptos-faucet/core/src/server/run.rs1008 // Confirm that the account was given the full 1000 OCTA as requested.COMMENT
HIGH…amework/cached-packages/src/aptos_token_sdk_builder.rs11// This code was generated by compiling known Script interfaces ("ABIs") with the tool `aptos-sdk-builder`.COMMENT
HIGH…cached-packages/src/aptos_token_objects_sdk_builder.rs11// This code was generated by compiling known Script interfaces ("ABIs") with the tool `aptos-sdk-builder`.COMMENT
HIGH…ork/cached-packages/src/aptos_framework_sdk_builder.rs11// This code was generated by compiling known Script interfaces ("ABIs") with the tool `aptos-sdk-builder`.COMMENT
HIGHaptos-move/aptos-sdk-builder/src/rust.rs140// This code was generated by compiling known Script interfaces ("ABIs") with the tool `aptos-sdk-builder`.COMMENT
HIGHtestsuite/smoke-test/src/transaction.rs78 // query the transaction and check it contains the same values as requestedCOMMENT
Cross-Language Confusion7 hits · 34 pts
SeverityFileLineSnippetContext
HIGH…aluation/spec-inference/analysis/codex_round_report.py278 labels are exchangeable under the null, which flips the difference."""STRING
HIGH…move/flow/evaluation/spec-inference/corpus-v4/build.py733 let last = values.length() - 1;CODE
HIGH⚡…low/evaluation/spec-inference/tests/test_refutation.py649 screening comparison skips it, the run spec records null, and theSTRING
HIGH…s-move/flow/evaluation/spec-inference/harness/pilot.py107 # the screening comparison skips, the run spec records null, and theCOMMENT
HIGH…ve/flow/evaluation/spec-inference/corpus-v3.2/build.py760 let last = values.length() - 1;CODE
HIGHthird_party/move/lean/scripts/isolate-target.py18`(cd verex-ir && lake env lean ../one.lean)`.STRING
HIGH⚡…hub/actions/e2e-test-determinator/select_tests_test.py303 "${{ github.workflow }}-${{ github.event_name }}-${{ (github.event_name == 'push' || github.event_name == 'wCODE
Example Usage Blocks14 hits · 20 pts
SeverityFileLineSnippetContext
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh5# Usage:COMMENT
LOWcrates/aptos-telemetry-service/e2e-test/run-test.sh5# Usage:COMMENT
LOW…ork/cached-packages/src/aptos_framework_sdk_builder.rs1204 /// Example usage:COMMENT
LOW…ork/cached-packages/src/aptos_framework_sdk_builder.rs5379/// Example usage:COMMENT
LOWthird_party/move/documentation/framework-book/deploy.sh32# Usage:COMMENT
LOWthird_party/move/documentation/book/deploy.sh31# Usage:COMMENT
LOWthird_party/move/lean/scripts/bench-rust-pipeline.sh4# Usage:COMMENT
LOWthird_party/move/mono-move/runtime/src/interpreter.rs1300// Example usage:COMMENT
LOWthird_party/move/scripts/compare_num_instructions.py9# Usage:COMMENT
LOWscripts/cargo_update_outdated.sh12# Example usage:COMMENT
LOW…/find-packages-with-undeclared-feature-dependencies.sh10# Example usage:COMMENT
LOWscripts/pgo.sh6# Example usage:COMMENT
LOWscripts/test_framework_upgrade_compat.sh22# Usage:COMMENT
LOWscripts/binary_release/install_binary.sh9# Usage:COMMENT
Fake / Example Data13 hits · 14 pts
SeverityFileLineSnippetContext
LOWtypes/src/transaction/mod.rs807 dummy_value: u64,CODE
LOWtestsuite/indexer_grpc_local.py46 -H "x-aptos-data-authorization:dummy_token" \\CODE
LOWtestsuite/indexer_grpc_local.py50 -H "x-aptos-data-authorization:dummy_token" \\CODE
LOWtestsuite/indexer_grpc_local.py245 "x-aptos-data-authorization:dummy_token",CODE
LOWtestsuite/generate-format/tests/staged/api.yaml424 - dummy_value: U64CODE
LOWtestsuite/generate-format/tests/staged/consensus.yaml721 - dummy_value: U64CODE
LOWtestsuite/generate-format/tests/staged/aptos.yaml401 - dummy_value: U64CODE
LOWtestsuite/loadtest-k6/src/indexer-grpc-test.ts39 "x-aptos-data-authorization": "dummy_token",CODE
LOW…age/scratchpad/src/sparse_merkle/sparse_merkle_test.rs291 // A new key at the "placeholder" position.COMMENT
LOWthird_party/move/move-model/src/model.rs233 let dummy_id = files.add(String::new(), String::new());CODE
LOWthird_party/move/move-model/src/model.rs234 Loc::new(dummy_id, Span::default())CODE
LOWthird_party/move/move-model/src/builder/macros.rs473 "placeholder"CODE
LOWdashboards/quorum-store.json1250 "description": "placeholder",CODE
Slop Phrases6 hits · 10 pts
SeverityFileLineSnippetContext
LOWcrates/aptos-crypto/benches/noise.rs4//! Don't forget to run this benchmark with AES-NI enable.COMMENT
LOWdocker/compose/data-restore/docker-compose.yaml36# so make sure you start this docker compose using same project name as the db you want to restore.COMMENT
LOW…examples/diem-framework/crates/crypto/benches/noise.rs6//! Don't forget to run this benchmark with AES-NI enable.COMMENT
LOW…rd_party/move/move-model/src/builder/module_builder.rs5136 // Don't forget to put schema back.COMMENT
MEDIUMsdk/src/lib.rs18//! Here is a simple example to show how to create two accounts and do a P2p transfer on testnet:COMMENT
LOWexecution/block-partitioner/src/v2/state.rs40/// wrapped in a single struct, so we don't forget to async drop any large states.COMMENT
Modern Structural Boilerplate8 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡testsuite/forge.py217 def set_state(self, state: ForgeState) -> None:CODE
LOW⚡testsuite/forge.py221 def set_output(self, output: str) -> None:CODE
LOW⚡testsuite/forge.py224 def set_debugging_output(self, output: str) -> None:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py23logger = logging.getLogger(__name__)CODE
LOWtestsuite/replay-verify/main.py181logger = logging.getLogger(__name__)CODE
LOWtestsuite/replay-verify/main.py202def set_env_var(container: dict, name: str, value: str) -> None:CODE
LOWtestsuite/replay-verify/main.py288 def update_status(self) -> None:CODE
LOWtestsuite/replay-verify/main.py648 def set_end_time(self) -> None:CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtypes/src/proof/position/mod.rs7//! In this implementation, `Position` is represented by the in-order-traversal sequence numberCOMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtestsuite/pangu_lib/testnet_commands/create_testnet.py207Creates a temp layout file from the provided layout file. If no layout file is provided, the default layout file is usedSTRING
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…s/aptos/internal/fullnode/v1/fullnode_data_pb2_grpc.py70CODE
LOW…s/aptos/internal/fullnode/v1/fullnode_data_pb2_grpc.py99CODE
LOW…hon/aptos_protos/aptos/indexer/v1/raw_data_pb2_grpc.py52CODE
LOW…-move/flow/evaluation/spec-inference/harness/corpus.py175CODE
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMaptos-move/flow/cont/templates/spec_inf_tasks.md1{# Only treatment-specific orchestration belongs here; WP semantics live in wp_tool.md. #}CODE
MEDIUMthird_party/move/move-prover/CLAUDE.md13│ ├── lib.rs # Main entry points and orchestrationCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ird_party/move/tools/move-package-resolver/src/path.rs130 // TODO: Add tests for WindowsCOMMENT