Repository Analysis

diem/diem

Diem’s mission is to build a trusted and innovative financial network that empowers people and businesses around the world.

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of diem/diem, a Rust project with 16,670 GitHub stars. SynthScan v2.0 examined 664,480 lines of code across 2852 source files, recording 1966 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 2.4 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.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
16.7K
Stars
Rust
Language
664.5K
Lines of Code
2.9K
Files
2.0K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 6HIGH 16MEDIUM 15LOW 1929

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 1966 distinct pattern matches across 17 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 Block1861 hits · 1293 pts
SeverityFileLineSnippetContext
LOWx.toml201allow = ["clap"]COMMENT
LOWx.toml321]COMMENT
LOWconsensus/consensus-types/src/block_data.rs21 Proposal {COMMENT
LOWconsensus/consensus-types/src/block_data.rs41 /// Epoch number corresponds to the set of validators that are active for this block.COMMENT
LOWconsensus/safety-rules/src/tests/suite.rs361 let etimeout = Timeout::new(timeout.epoch() + 1, round + 1);COMMENT
LOWconsensus/src/network_interface.rs41 BlockRetrievalResponse(Box<BlockRetrievalResponse>),COMMENT
LOWconsensus/src/network_interface.rs61 CommitDecisionMsg(Box<CommitDecision>),COMMENT
LOWconsensus/src/pending_votes.rs41 /// The vote completes a new TwoChainTimeoutCertificateCOMMENT
LOWconsensus/src/counters.rs181pub static NUM_BLOCKS_IN_TREE: Lazy<IntGauge> = Lazy::new(|| {COMMENT
LOWconsensus/src/network_tests.rs41/// `TwinId` is used by the NetworkPlayground to uniquely identifyCOMMENT
LOWconsensus/src/network_tests.rs61 /// These events will usually be handled by the event loop spawned inCOMMENT
LOWconsensus/src/experimental/buffer_manager.rs301 // if new from execution_phase_rx,COMMENT
LOW…ensus/src/experimental/tests/persisting_phase_tests.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOWconsensus/src/experimental/tests/signing_phase_tests.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOWconsensus/src/experimental/tests/integration_tests.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOWconsensus/src/liveness/proposal_generator.rs21COMMENT
LOWconsensus/src/liveness/round_state.rs61 /// 3-chain rule for commits, so round 1 has round index 0. For example, if one wantsCOMMENT
LOWconsensus/src/liveness/round_state.rs121/// * there is a TimeoutCertificate for round `r-1`.COMMENT
LOWconsensus/src/twins/basic_twins_test.rs61/// than required for quorum do not commit anything.COMMENT
LOWconsensus/src/twins/basic_twins_test.rs121/// Create 2 partitions, p1=[n1, n3], p2=[n0, twin0, n2]COMMENT
LOWconsensus/src/twins/basic_twins_test.rs181/// Create 2 partitions, p1=[n0, n1, n2], p2=[n3, twin0, twin1]COMMENT
LOWconsensus/src/twins/basic_twins_test.rs261///COMMENT
LOWconsensus/src/block_storage/sync_manager.rs281 pub fn new(network: NetworkSender, preferred_peer: Author) -> Self {COMMENT
LOWconsensus/src/block_storage/block_tree.rs301COMMENT
LOWconsensus/src/block_storage/block_store.rs81}COMMENT
LOWconsensus/src/block_storage/block_store.rs481 }COMMENT
LOWshuffle/transaction-builder/src/framework.rs1// Copyright (c) The Diem Core ContributorsCOMMENT
LOWshuffle/transaction-builder/src/framework.rs21 language_storage::{ModuleId, TypeTag},COMMENT
LOWshuffle/transaction-builder/src/framework.rs41/// impl ScriptFunctionCall {COMMENT
LOWshuffle/transaction-builder/src/framework.rs61 ///COMMENT
LOWshuffle/transaction-builder/src/framework.rs81 },COMMENT
LOWshuffle/transaction-builder/src/framework.rs101 /// `Diem::CurrencyInfo<Token>` resource published under `0xA550C18` will beCOMMENT
LOWshuffle/transaction-builder/src/framework.rs121 /// | Error Category | Error Reason | Description COMMENT
LOWshuffle/transaction-builder/src/framework.rs141 },COMMENT
LOWshuffle/transaction-builder/src/framework.rs161 /// The successful execution of this transaction will emit:COMMENT
LOWshuffle/transaction-builder/src/framework.rs181 /// | `Errors::NOT_PUBLISHED` | `Diem::EPREBURN_QUEUE` | The account at `preburn_addCOMMENT
LOWshuffle/transaction-builder/src/framework.rs201 /// # Technical DescriptionCOMMENT
LOWshuffle/transaction-builder/src/framework.rs221 /// | ------ | ------ | ------------- COMMENT
LOWshuffle/transaction-builder/src/framework.rs261 },COMMENT
LOWshuffle/transaction-builder/src/framework.rs281 /// and the `rold_id` field being `Roles::VALIDATOR_ROLE_ID`. This is emitted on theCOMMENT
LOWshuffle/transaction-builder/src/framework.rs301 /// | `Errors::REQUIRES_ROLE` | `Roles::EDIEM_ROOT` | The sending account is not the Diem RooCOMMENT
LOWshuffle/transaction-builder/src/framework.rs321 /// Root account.COMMENT
LOWshuffle/transaction-builder/src/framework.rs341 /// | `sliding_nonce` | `u64` | The `sliding_nonce` (see: `SlidingNonce`) to be used for this transactiCOMMENT
LOWshuffle/transaction-builder/src/framework.rs361 /// * `ValidatorAdministrationScripts::remove_validator_and_reconfigure`COMMENT
LOWshuffle/transaction-builder/src/framework.rs381 /// `AccountFreezing::FreezeAccountEvent`. The transaction sender must be theCOMMENT
LOWshuffle/transaction-builder/src/framework.rs401 /// # Common Abort ConditionsCOMMENT
LOWshuffle/transaction-builder/src/framework.rs421 amount: u64,COMMENT
LOWshuffle/transaction-builder/src/framework.rs441 /// `Diem::CurrencyInfo<Token`'s `preburn_events` handle for `Token` and withCOMMENT
LOWshuffle/transaction-builder/src/framework.rs461 /// | `Errors::REQUIRES_ROLE` | `Roles::EDESIGNATED_DEALER` | The `account` did not haCOMMENT
LOWshuffle/transaction-builder/src/framework.rs481 /// # ParametersCOMMENT
LOWshuffle/transaction-builder/src/framework.rs501 /// # SummaryCOMMENT
LOWshuffle/transaction-builder/src/framework.rs521 /// | ---------------- | -------------- | ------------- COMMENT
LOWshuffle/transaction-builder/src/framework.rs541 ///COMMENT
LOWshuffle/transaction-builder/src/framework.rs561 /// | `Errors::INVALID_ARGUMENT` | `SlidingNonce::ENONCE_TOO_NEW` | The `sliding_nonce` iCOMMENT
LOWshuffle/transaction-builder/src/framework.rs581 /// # Technical DescriptionCOMMENT
LOWshuffle/transaction-builder/src/framework.rs601 /// # Common Abort ConditionsCOMMENT
LOWshuffle/transaction-builder/src/framework.rs621 /// # Technical DescriptionCOMMENT
LOWshuffle/transaction-builder/src/framework.rs641 /// | ------ | ------ | ------------- COMMENT
LOWshuffle/transaction-builder/src/framework.rs661 /// | `Errors::INVALID_STATE` | `Diem::EMINTING_NOT_ALLOWED` | Minting is not currently allowedCOMMENT
LOWshuffle/transaction-builder/src/framework.rs681 /// # Technical DescriptionCOMMENT
1801 more matches not shown…
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALlanguage/tools/move-cli/src/sandbox/commands/publish.rs103 .map(|((ident, _), m)| (ident.value.module.0.value.to_string(), m))CODE
CRITICALlanguage/move-model/src/builder/module_builder.rs194 self.symbol_pool().make(m.value.module.0.value.as_str()),CODE
CRITICALlanguage/move-model/src/builder/exp_translator.rs557 self.symbol_pool().make(m.value.module.0.value.as_str()),CODE
CRITICALjson-rpc/src/stream_rpc/subscription_types.rs108 self.client.connection_context.sdk_info.language.as_str(),CODE
CRITICALjson-rpc/src/stream_rpc/subscription_types.rs109 &self.client.connection_context.sdk_info.version.to_string(),CODE
CRITICALjson-rpc/src/stream_rpc/subscription_types.rs181 helper.client.connection_context.sdk_info.language.as_str(),CODE
Structural Annotation Overuse33 hits · 55 pts
SeverityFileLineSnippetContext
LOWDIEM_SETUP.md124## Step 1: Check if the CLI client Is running on your systemCOMMENT
LOWDIEM_SETUP.md149## Step 2: Create Alice’s accountCOMMENT
LOWDIEM_SETUP.md168## Step 3: Create Bob’s accountCOMMENT
LOWDIEM_SETUP.md203## Step 1: Add 110 Diem Coins to Alice’s accountCOMMENT
LOWDIEM_SETUP.md227## Step 2: Add 52 Diem Coins to Bob’s accountCOMMENT
LOWDIEM_SETUP.md250## Step 3: Check the balanceCOMMENT
LOWshuffle/README.md20## Step 0: Install DependenciesCOMMENT
LOWshuffle/README.md31## Step 1: Write Move CodeCOMMENT
LOWshuffle/README.md47## Step 2: Start a Validator NodeCOMMENT
LOWshuffle/README.md81## Step 3: Send Transactions to the ValidatorCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs161 // Step 1: Drive Fut1 to completionCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs167 // Step 4: Drive Fut2 to completionCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs172 // Step 2: Ensure that Fut1 is droppedCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs174 // Step 3: Run F on the output of Fut1 to create Fut2COMMENT
LOW…uage/move-prover/bytecode/src/verification_analysis.rs594 // Step 1: remove suspended invariants from the the relevance set. These suspendedCOMMENT
LOW…uage/move-prover/bytecode/src/verification_analysis.rs607 // Step 2: defer the suspended invariants back to the caller and the caller will acceptCOMMENT
LOW…rover/bytecode/src/global_invariant_instrumentation.rs392 // Step 1: emit entrypoint assumptionsCOMMENT
LOW…rover/bytecode/src/global_invariant_instrumentation.rs395 // Step 2: emit entrypoint snapshots. This can happen if this function defers invariantCOMMENT
LOW…rover/bytecode/src/global_invariant_instrumentation.rs402 // Step 3: go over the bytecode and instrument assertions.COMMENT
LOWlanguage/benchmarks/README.md4## Step 1: Get latest Xcode and open InstrumentCOMMENT
LOWlanguage/benchmarks/README.md11## Step 2: Choose a benchmark suite.COMMENT
LOWlanguage/benchmarks/README.md23## Step 3: Select the running process in Instrument.COMMENT
LOWlanguage/benchmarks/README.md33## Step 4: Get analysis!COMMENT
LOWlanguage/move-model/src/lib.rs106 // Step 1: parse the program to get comments and a separation of targets and dependencies.COMMENT
LOWlanguage/move-model/src/lib.rs147 // Step 2: run the compiler up to expansionCOMMENT
LOWlanguage/move-model/src/lib.rs208 // Step 3: selective compilation.COMMENT
LOW…em.com/docs/tutorials/tutorial-my-first-transaction.md119#### Step 1: Check if the CLI client Is running on your systemCOMMENT
LOW…em.com/docs/tutorials/tutorial-my-first-transaction.md146#### Step 2: Create Alice’s accountCOMMENT
LOW…em.com/docs/tutorials/tutorial-my-first-transaction.md169#### Step 3: Create Bob’s accountCOMMENT
LOW…em.com/docs/tutorials/tutorial-my-first-transaction.md206#### Step 1: Add 110 Diem Coins to Alice’s accountCOMMENT
LOW…em.com/docs/tutorials/tutorial-my-first-transaction.md233#### Step 2: Add 52 Diem Coins to Bob’s accountCOMMENT
LOW…em.com/docs/tutorials/tutorial-my-first-transaction.md258#### Step 3: Check the balanceCOMMENT
LOWdevtools/x/src/nextest.rs64 // Step 1: build all the test binaries with --no-run.COMMENT
Synthetic Comment Markers7 hits · 52 pts
SeverityFileLineSnippetContext
HIGHshuffle/transaction-builder/src/framework.rs11//! This code was generated by compiling known Script interfaces ("ABIs") with the tool `transaction-builder-generator`.COMMENT
HIGHtestsuite/smoke-test/src/transaction.rs71 // query the transaction and check it contains the same values as requestedCOMMENT
HIGH…leases/artifacts/current/transaction_script_builder.rs11//! This code was generated by compiling known Script interfaces ("ABIs") with the tool `transaction-builder-generator`.COMMENT
HIGH…ifacts/release-1.2.0-rc0/transaction_script_builder.rs11//! This code was generated by compiling known Script interfaces ("ABIs") with the tool `transaction-builder-generator`.COMMENT
HIGH…ifacts/release-1.4.0-rc0/transaction_script_builder.rs11//! This code was generated by compiling known Script interfaces ("ABIs") with the tool `transaction-builder-generator`.COMMENT
HIGHlanguage/transaction-builder/generator/src/rust.rs127//! This code was generated by compiling known Script interfaces ("ABIs") with the tool `transaction-builder-generator`.COMMENT
HIGHsdk/transaction-builder/src/stdlib.rs11//! This code was generated by compiling known Script interfaces ("ABIs") with the tool `transaction-builder-generator`.COMMENT
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHdocker/compose/data-restore/s3-public.toml0file_handle="$backup_handle/$file_name" echo "$file_handle" exec 1>&- gzip -c | aws --endpoint-url="$endpoint_url" s3 cpSTRING
HIGHhelm/fullnode/files/backup/s3.toml0file_handle="$backup_handle/$file_name" echo "$file_handle" exec 1>&- gzip -c | aws --endpoint-url="$endpoint_url" s3 cpSTRING
HIGHhelm/fullnode/files/backup/s3-public.toml0file_handle="$backup_handle/$file_name" echo "$file_handle" exec 1>&- gzip -c | aws --endpoint-url="$endpoint_url" s3 cpSTRING
HIGHhelm/fullnode/files/backup/scw_s3.toml0file_handle="$backup_handle/$file_name" echo "$file_handle" exec 1>&- gzip -c | aws --endpoint-url="$endpoint_url" s3 cpSTRING
HIGH…backup-cli/src/storage/command_adapter/gcp.sample.toml0# backup handle is the same with input backup name, output to stdout echo "$backup_name"STRING
HIGH…ckup-cli/src/storage/command_adapter/azure.sample.toml0# backup handle is the same with input backup name, output to stdout echo "$backup_name"STRING
HIGH…/backup-cli/src/storage/command_adapter/s3.sample.toml0# backup handle is the same with input backup name, output to stdout echo "$backup_name"STRING
HIGH.github/workflows/transaction-replay.toml0# backup handle is the same with input backup name, output to stdout echo "$backup_name"STRING
Verbosity Indicators13 hits · 25 pts
SeverityFileLineSnippetContext
LOWnetwork/netcore/src/transport/and_then.rs161 // Step 1: Drive Fut1 to completionCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs167 // Step 4: Drive Fut2 to completionCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs172 // Step 2: Ensure that Fut1 is droppedCOMMENT
LOWnetwork/netcore/src/transport/and_then.rs174 // Step 3: Run F on the output of Fut1 to create Fut2COMMENT
LOW…uage/move-prover/bytecode/src/verification_analysis.rs594 // Step 1: remove suspended invariants from the the relevance set. These suspendedCOMMENT
LOW…uage/move-prover/bytecode/src/verification_analysis.rs607 // Step 2: defer the suspended invariants back to the caller and the caller will acceptCOMMENT
LOW…rover/bytecode/src/global_invariant_instrumentation.rs392 // Step 1: emit entrypoint assumptionsCOMMENT
LOW…rover/bytecode/src/global_invariant_instrumentation.rs395 // Step 2: emit entrypoint snapshots. This can happen if this function defers invariantCOMMENT
LOW…rover/bytecode/src/global_invariant_instrumentation.rs402 // Step 3: go over the bytecode and instrument assertions.COMMENT
LOWlanguage/move-model/src/lib.rs106 // Step 1: parse the program to get comments and a separation of targets and dependencies.COMMENT
LOWlanguage/move-model/src/lib.rs147 // Step 2: run the compiler up to expansionCOMMENT
LOWlanguage/move-model/src/lib.rs208 // Step 3: selective compilation.COMMENT
LOWdevtools/x/src/nextest.rs64 // Step 1: build all the test binaries with --no-run.COMMENT
AI Slop Vocabulary8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMtypes/src/network_address/mod.rs35/// future-proof network address represented as a stack of protocols. EssentiallyCOMMENT
MEDIUMtestsuite/cli/diem-wallet/src/wallet_library.rs6//! we will be releasing more robust Wallet implementations. It is our intention to present aCOMMENT
MEDIUMtestsuite/cli/diem-wallet/src/wallet_library.rs8//! implementation and it's security guarantees throughout testnet. For a more robust walletCOMMENT
MEDIUMlanguage/move-prover/tests/testsuite.rs251/// in the source. We still use datatest to finally run the tests to utilize itsCOMMENT
MEDIUM…uage/move-prover/bytecode/src/reaching_def_analysis.rs54 // For being robust, we protect this function against cycles in alias definitions. IfCOMMENT
MEDIUMlanguage/bytecode-verifier/src/type_safety.rs5//! It does not utilize control flow, but does check each block independentlyCOMMENT
MEDIUMstorage/diemdb/src/diemdb_test.rs377 // TODO(philiphayes): more robust fuzzing?COMMENT
MEDIUMsecure/net/src/lib.rs15//! Internally both the client and server leverage a NetworkStream that communications in blocksCOMMENT
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippetContext
LOWcrates/diem-crypto/benches/noise.rs4//! Don't forget to run this benchmark with AES-NI enable.COMMENT
MEDIUMdocker/compose/data-restore/docker-compose.yaml19 # Diem Association provides public data backup you can use, check the offical website.COMMENT
LOWdocker/compose/data-restore/docker-compose.yaml35# so make sure you start this docker compose using same project name as the db you want to restore.COMMENT
LOWlanguage/move-model/src/builder/module_builder.rs2192 // Don't forget to put schema back.COMMENT
MEDIUMsdk/src/lib.rs17//! Here is a simple example to show how to create two accounts and do a p2p transfer on testnet:COMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMstorage/jellyfish-merkle/src/lib.rs22//! .──────────────────────.COMMENT
MEDIUMstorage/jellyfish-merkle/src/lib.rs23//! _.─────' `──────.COMMENT
MEDIUMstorage/jellyfish-merkle/src/lib.rs39//!+──────────────────────────────────────────────────────────────────────────────────────────────+COMMENT
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
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWlanguage/move-model/src/model.rs147 let dummy_id = files.add(String::new(), String::new());CODE
LOWlanguage/move-model/src/model.rs148 Loc::new(dummy_id, Span::default())CODE
LOW…iem-scratchpad/src/sparse_merkle/sparse_merkle_test.rs256 // A new key at the "placeholder" position.COMMENT
LOWdevelopers.diem.com/docs/v2-docs-guide.md26 overlay="Send a test transaction to orem ipsum dolor sit amet, ctetur adipiscing elit, sed do"CODE
LOWdevelopers.diem.com/docs/v2-docs-guide.md218 overlay="Send a test transaction to orem ipsum dolor sit amet, ctetur adipiscing elit, sed do"CODE
LOWdevelopers.diem.com/static/js/docsearch.min.js4},q.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===ot&&(this._remaining--,t===at?O(r,n):this._resultCODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMlanguage/tools/move-cli/src/lib.rs203 /// Create a new test directory scaffold with the specified <path>COMMENT
MEDIUMlanguage/tools/move-cli/src/sandbox/commands/test.rs322/// Create a directory scaffold for writing a Move CLI test.COMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWlanguage/transaction-builder/generator/src/python3.rs131def decode_script_function_payload(payload: TransactionPayload) -> ScriptFunctionCall:CODE
LOWdevelopers.diem.com/static/js/mobile_nav.js9 function addClickHandlersToMainNavTriggers() {CODE
LOWdevelopers.diem.com/static/js/mobile_nav.js24 function addClickHandlersToSubNavTriggers() {CODE
LOWdevelopers.diem.com/static/js/mobile_nav.js39 function addClickHandlersToNavToggles(navToggles, nav, _isMainNavClick, _isSubNavClick) {CODE
LOWdevelopers.diem.com/static/js/forms.js86 function handleEnterpriseTypeChange(val) {CODE
LOWscripts/fgi/kube.py86def get_cluster_name_from_context(context):CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocker/build-common.sh22# TODO: consider using ${CARGO} once upstream issues are fixed.COMMENT
LOW…ve-prover/bytecode/src/stackless_bytecode_generator.rs1057 // TODO: implement the translation when the the vector-related bytecode is readyCOMMENT
LOWlanguage/testing-infra/test-generation/src/summaries.rs571 // TODO: implement summaries for vector-related instructionsCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/diem-assets-proof/src/lib.rs9//! ### Example usage:COMMENT
LOWscripts/cargo_update_outdated.sh11# Example usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhelm/fullnode/values.yaml38 # Set this to a StorageClass available on your Kubernetes clusterCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/fgi/kube.py90CODE