Repository Analysis

aptos-labs/aptos-core

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

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of aptos-labs/aptos-core, a Rust project with 6,437 GitHub stars. SynthScan v2.0 examined 1,560,510 lines of code across 6379 source files, recording 2937 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written band.

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

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.4K
Stars
Rust
Language
1.6M
Lines of Code
6.4K
Files
2.9K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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

CRITICAL 18HIGH 20MEDIUM 382LOW 2517

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block1830 hits · 1803 pts
SeverityFileLineSnippetContext
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/consensus-types/src/pipelined_block.rs81 Disabled,COMMENT
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/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
LOWconsensus/src/block_storage/block_store.rs841 self.insert_single_quorum_cert(block.quorum_cert().clone())?;COMMENT
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
1770 more matches not shown…
Decorative Section Separators226 hits · 706 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
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh143# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh145# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh171# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh173# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh229# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh231# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh296# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh298# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh349# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh351# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh393# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh395# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh421# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh423# ============================================================================COMMENT
MEDIUMcrates/aptos-telemetry-service/e2e-test/setup.sh517# ============================================================================COMMENT
MEDIUMcrates/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
166 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
LOWcrates/aptos-crypto/src/blstrs/polynomials.rs68 // Step 1: compute denominators x_i - xCOMMENT
LOWcrates/aptos-crypto/src/blstrs/polynomials.rs71 // Step 2: batch inversion in placeCOMMENT
LOWcrates/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.rs134 // Step 1: Collect denominators for all iCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs147 // Step 2: Invert all denominators at onceCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs151 // Step 3: Compute numerators (product of -x_j for j != i)COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs257 // Step 0: check that subset is large enoughCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs267 // Step 1: compute poly w/ roots at all x in xs, compute eval at 0COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs287 // 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
LOWcrates/aptos-crypto/src/arkworks/scrape.rs168 // Step 1: build MSM inputCOMMENT
LOWcrates/aptos-crypto/src/arkworks/scrape.rs176 // Step 2: perform MSMCOMMENT
LOWcrates/aptos-crypto/src/arkworks/scrape.rs179 // Step 3: enforce expected zeroCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh144# Step 1: Check prerequisitesCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh172# Step 2: Start Docker servicesCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh230# Step 3: Start Aptos test nodeCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh297# Step 4: Create test accountsCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh350# Step 5: Deploy Move contractCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh394# Step 6: Add test member to registryCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh422# Step 7: Set up environment variablesCOMMENT
LOWcrates/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
LOWcrates/aptos-dkg/src/pcs/zeromorph.rs455 // Step 2: verifier challenge to aggregate degree bound proofsCOMMENT
LOWcrates/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
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs353 // Step 1: Do the SCRAPE LDT (G_2)COMMENT
LOWcrates/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
LOWcrates/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
LOWcrates/aptos-dkg/src/sigma_protocol/traits.rs57 // Step 2: Compute commitment A = Ψ(r)COMMENT
LOWcrates/aptos-dkg/src/sigma_protocol/traits.rs62 // Step 3: Obtain Fiat-Shamir challengeCOMMENT
95 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
LOWcrates/aptos-crypto/src/blstrs/polynomials.rs68 // Step 1: compute denominators x_i - xCOMMENT
LOWcrates/aptos-crypto/src/blstrs/polynomials.rs71 // Step 2: batch inversion in placeCOMMENT
LOWcrates/aptos-crypto/src/blstrs/polynomials.rs74 // Step 3: multiply numerators by inversesCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs134 // Step 1: Collect denominators for all iCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs147 // Step 2: Invert all denominators at onceCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs151 // Step 3: Compute numerators (product of -x_j for j != i)COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs257 // Step 0: check that subset is large enoughCOMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs267 // Step 1: compute poly w/ roots at all x in xs, compute eval at 0COMMENT
LOWcrates/aptos-crypto/src/arkworks/shamir.rs287 // Step 4: compute Lagrange coefficientsCOMMENT
LOWcrates/aptos-crypto/src/arkworks/scrape.rs168 // Step 1: build MSM inputCOMMENT
LOWcrates/aptos-crypto/src/arkworks/scrape.rs176 // Step 2: perform MSMCOMMENT
LOWcrates/aptos-crypto/src/arkworks/scrape.rs179 // Step 3: enforce expected zeroCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh144# Step 1: Check prerequisitesCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh172# Step 2: Start Docker servicesCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh230# Step 3: Start Aptos test nodeCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh297# Step 4: Create test accountsCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh350# Step 5: Deploy Move contractCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh394# Step 6: Add test member to registryCOMMENT
LOWcrates/aptos-telemetry-service/e2e-test/setup.sh422# Step 7: Set up environment variablesCOMMENT
LOWcrates/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
LOWcrates/aptos-dkg/src/pcs/zeromorph.rs455 // Step 2: verifier challenge to aggregate degree bound proofsCOMMENT
LOWcrates/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
LOWcrates/aptos-dkg/src/pvss/chunky/weighted_transcript.rs353 // Step 1: Do the SCRAPE LDT (G_2)COMMENT
LOWcrates/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
LOWcrates/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
LOWcrates/aptos-dkg/src/sigma_protocol/traits.rs57 // Step 2: Compute commitment A = Ψ(r)COMMENT
LOWcrates/aptos-dkg/src/sigma_protocol/traits.rs62 // Step 3: Obtain Fiat-Shamir challengeCOMMENT
LOWcrates/aptos-dkg/src/sigma_protocol/traits.rs65 // Step 4: Compute prover responseCOMMENT
LOWcrates/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
LOWaptos-move/aptos-gas-schedule/bump_ver.py75 # Step 1: Read the file contentCOMMENT
LOWaptos-move/aptos-gas-schedule/bump_ver.py80 # Step 2: Get the current latest version and the gas_feature_versions blockCOMMENT
LOWaptos-move/aptos-gas-schedule/bump_ver.py84 # Step 3: Get all existing versions from the gas_feature_versions blockCOMMENT
LOWaptos-move/aptos-gas-schedule/bump_ver.py87 # Step 4: Increment the version or create a new one if neededCOMMENT
LOWaptos-move/aptos-gas-schedule/bump_ver.py91 # Step 5: Replace the old gas_feature_versions block with the new oneCOMMENT
LOWaptos-move/aptos-gas-schedule/bump_ver.py94 # Step 6: Update the LATEST_GAS_FEATURE_VERSION to the new versionCOMMENT
69 more matches not shown…
AI Slop Vocabulary85 hits · 228 pts
SeverityFileLineSnippetContext
MEDIUMcrates/aptos-telemetry/src/service.rs42/// 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.rs580 /// 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.rs3572/// 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
25 more matches not shown…
Self-Referential Comments68 hits · 214 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
MEDIUMcrates/aptos-telemetry-service/e2e-test/helpers.sh50# Create a new accountCOMMENT
MEDIUMcrates/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/replay-verify/archive_disk_utils.py666 # 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.py251 # Create a new disk from the snapshotCOMMENT
MEDIUMtestsuite/replay-verify/archive_disk_utils.py542 # Define the PVC manifestCOMMENT
MEDIUMtestsuite/replay-verify/archive_disk_utils.py602 # Define the VolumeSnapshot manifestCOMMENT
MEDIUMtestsuite/replay-verify/main.py402 # Create the Kubernetes API client to start a podCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py1043 # Define the name of the PVCCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py1047 # Define the metadata for the PVCCOMMENT
MEDIUMtestsuite/pangu_lib/testnet_commands/create_testnet.py1054 # Define the size of the PVCCOMMENT
MEDIUMtestsuite/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
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py341 # Define the expected reads for the filesystemCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py347 # Create an instance of the SpyFilesystemCOMMENT
MEDIUMtestsuite/pangu_lib/tests/create_testnet_test.py591 # Define the expected reads for the filesystemCOMMENT
MEDIUMtestsuite/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
MEDIUMtestsuite/pangu_lib/node_commands/add_pfn.py41 # Create the kubernetes objectsCOMMENT
8 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.rs878 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs900 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs929 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs952 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs982 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs1053 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…ler-v2/src/file_format_generator/function_generator.rs1080 let fun_mid = ctx.fun_ctx.fun.func_env.module_env.get_id();CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs260 pool.make(m.value.module.0.value.as_str()),CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs301 .make(mident.value.module.0.value.as_str());CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs446 .make(mident.value.module.0.value.as_str()),CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs470 .make(mident.value.module.0.value.as_str()),CODE
CRITICAL…rd_party/move/move-model/src/builder/module_builder.rs732 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.rs769 .make(friend_mod_id.value.module.0.value.as_str());CODE
Hyper-Verbose Identifiers177 hits · 167 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.js188export 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
117 more matches not shown…
Excessive Try-Catch Wrapping61 hits · 64 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
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
LOWtestsuite/replay-verify/archive_disk_utils.py654 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py156 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py197 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py224 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py314 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py513 except Exception as e:CODE
LOWtestsuite/replay-verify/archive_disk_utils.py728 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py302 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py476 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py756 except Exception as e:CODE
LOWtestsuite/replay-verify/main.py808 except Exception as e:CODE
MEDIUMtestsuite/replay-verify/main.py487def _delete_pod_api_call(self):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
LOWtestsuite/pangu_lib/testnet_commands/restart_nodes.py40 except Exception as e:CODE
LOWtestsuite/pangu_lib/node_commands/wipe_node.py38 except Exception as e:CODE
LOWtestsuite/test_framework/git.py62 except Exception as e:CODE
LOWtestsuite/test_framework/git.py150 except Exception as e:CODE
LOWtestsuite/test_framework/cluster.py213 except Exception as e:CODE
LOWtestsuite/test_framework/cluster.py229 except Exception as e:CODE
LOWtestsuite/test_framework/cluster.py247 except Exception as e:CODE
LOWtestsuite/test_framework/kubernetes.py146 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py156 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py166 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py176 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py186 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py196 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py208 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py282 except Exception as exception:CODE
LOWtestsuite/test_framework/kubernetes.py337 except Exception as e:CODE
LOW.github/actions/rust-unit-tests/nextest_summary.py25 except Exception as e:CODE
1 more matches not shown…
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
LOWcrates/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.py213 # Check if the disk already existsCOMMENT
LOWtestsuite/replay-verify/archive_disk_utils.py335 # Check if job has timed out (active for too long)COMMENT
LOWtestsuite/replay-verify/main.py182 # 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.toml61 "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.py170 # Check if we've synced to the public versionCOMMENT
LOW.github/actions/fullnode-sync/fullnode_sync.py179 # Check if we've synced to the target versionCOMMENT
LOW.github/actions/fullnode-sync/fullnode_sync.py223 # 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.rs972 // 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
Unused Imports53 hits · 52 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
LOWtestsuite/forge.py1CODE
LOWtestsuite/forge.py105CODE
LOWtestsuite/forge.py108CODE
LOWtestsuite/indexer_grpc_local_test.py5CODE
LOW…ine_target_branch_to_fetch_last_released_image_test.py2CODE
LOW…ine_target_branch_to_fetch_last_released_image_test.py4CODE
LOW…etermine_target_branch_to_fetch_last_released_image.py4CODE
LOWtestsuite/module_verify.py10CODE
LOWtestsuite/single_node_performance.py14CODE
LOWtestsuite/determinator.py1CODE
LOWtestsuite/pangu_lib/testnet_commands/commands.py1CODE
LOWtestsuite/pangu_lib/testnet_commands/commands.py19CODE
LOWtestsuite/pangu_lib/tests/start_stop_node_test.py4CODE
LOWtestsuite/pangu_lib/tests/start_stop_node_test.py5CODE
LOWtestsuite/pangu_lib/tests/start_stop_node_test.py6CODE
LOWtestsuite/pangu_lib/tests/wipe_node_test.py4CODE
LOWtestsuite/pangu_lib/tests/wipe_node_test.py5CODE
LOWtestsuite/pangu_lib/tests/add_pfn_test.py4CODE
LOWtestsuite/pangu_lib/tests/add_pfn_test.py6CODE
LOWtestsuite/pangu_lib/tests/update_nodes_test.py6CODE
LOWtestsuite/pangu_lib/tests/update_nodes_test.py7CODE
LOWtestsuite/pangu_lib/tests/update_nodes_test.py8CODE
LOWtestsuite/pangu_lib/tests/update_nodes_test.py9CODE
LOWtestsuite/pangu_lib/tests/update_nodes_test.py10CODE
LOWtestsuite/pangu_lib/tests/get_testnet_test.py5CODE
LOWtestsuite/pangu_lib/tests/delete_testnet_test.py3CODE
LOWtestsuite/pangu_lib/tests/restart_node_test.py4CODE
LOWtestsuite/pangu_lib/tests/restart_node_test.py5CODE
LOWtestsuite/pangu_lib/tests/restart_node_test.py6CODE
LOWtestsuite/pangu_lib/tests/restart_node_test.py7CODE
LOWtestsuite/pangu_lib/tests/create_testnet_test.py4CODE
LOWtestsuite/test_framework/filesystem.py3CODE
LOWtestsuite/test_framework/shell.py3CODE
LOWtestsuite/test_framework/shell.py9CODE
LOWtestsuite/test_framework/reqwest.py5CODE
LOWtestsuite/test_framework/cluster.py3CODE
LOWtestsuite/test_framework/process.py3CODE
LOWscripts/update_docker_images.py4CODE
LOW…ipts/algebra-gas/update_bls12381_algebra_gas_params.py14CODE
LOWscripts/algebra-gas/update_bn254_algebra_gas_params.py14CODE
LOWscripts/algebra-gas/split_dataset.py6CODE
LOWscripts/algebra-gas/split_dataset.py7CODE
LOWscripts/algebra-gas/update_bulletproofs_gas_params.py11CODE
LOWscripts/algebra-gas/score_model.py5CODE
Deep Nesting25 hits · 22 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
LOWtestsuite/forge.py325CODE
LOWtestsuite/forge.py649CODE
LOWtestsuite/forge.py1042CODE
LOWtestsuite/forge.py1855CODE
LOWtestsuite/forge.py843CODE
LOWtestsuite/indexer_grpc_local.py187CODE
LOWtestsuite/single_node_performance_calibration.py237CODE
LOWtestsuite/single_node_performance.py358CODE
LOWtestsuite/single_node_performance.py543CODE
LOWtestsuite/lint.py25CODE
LOWtestsuite/replay-verify/archive_disk_utils.py72CODE
LOWtestsuite/replay-verify/main.py666CODE
LOWtestsuite/replay-verify/main.py842CODE
LOWtestsuite/pangu_lib/testnet_commands/get_testnet.py123CODE
LOWtestsuite/pangu_lib/testnet_commands/update_nodes.py10CODE
LOWtestsuite/test_framework/kubernetes.py84CODE
LOWtestsuite/test_framework/kubernetes.py127CODE
LOW.github/actions/rust-unit-tests/nextest_summary.py10CODE
LOW.github/actions/fullnode-sync/fullnode_sync.py152CODE
Example Usage Blocks12 hits · 16 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.rs1202 /// Example usage:COMMENT
LOW…ork/cached-packages/src/aptos_framework_sdk_builder.rs5361/// 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/mono-move/runtime/src/interpreter.rs671// 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/binary_release/install_binary.sh9# Usage:COMMENT
Fake / Example Data13 hits · 14 pts
SeverityFileLineSnippetContext
LOWtypes/src/transaction/mod.rs800 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.yaml415 - dummy_value: U64CODE
LOWtestsuite/generate-format/tests/staged/consensus.yaml712 - dummy_value: U64CODE
LOWtestsuite/generate-format/tests/staged/aptos.yaml392 - 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.rs221 let dummy_id = files.add(String::new(), String::new());CODE
LOWthird_party/move/move-model/src/model.rs222 Loc::new(dummy_id, Span::default())CODE
LOWthird_party/move/move-model/src/builder/macros.rs478 "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.rs4220 // 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
LOWtestsuite/forge.py217 def set_state(self, state: ForgeState) -> None:CODE
LOWtestsuite/forge.py221 def set_output(self, output: str) -> None:CODE
LOWtestsuite/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.py157logger = logging.getLogger(__name__)CODE
LOWtestsuite/replay-verify/main.py178def set_env_var(container: dict, name: str, value: str) -> None:CODE
LOWtestsuite/replay-verify/main.py260 def update_status(self) -> None:CODE
LOWtestsuite/replay-verify/main.py528 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 Patterns3 hits · 3 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
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMthird_party/move/move-prover/CLAUDE.md12│ ├── 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