AI Slop Code RIsk Monitor

kvcache-ai/Mooncake

Mooncake is the serving platform for Kimi, a leading LLM service provided by Moonshot AI.

6.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kvcache-ai/Mooncake, a C++ project with 6,759 GitHub stars. SynthScan examined 748,956 lines of code across 2197 source files, recording 4419 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 6.5 (Moderate pattern signal); it is not an authorship estimate.

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

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.8K
Stars
C++
Language
749.0K
Lines of Code
2.2K
Files
4.4K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 20.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.4/100 · LOW

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

Agent Over-Engineering Ratio 14.1/100 · LOW

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

PR Review Velocity Impact 28.7/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 69MEDIUM 152LOW 4198

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block1685 hits · 1608 pts
SeverityFileLineSnippetContext
LOWdependencies.sh1#!/bin/bashCOMMENT
LOWmooncake-common/include/rpc_client_io_context.h1#pragma onceCOMMENT
LOWmooncake-common/include/rpc_client_io_context.h121namespace detail {COMMENT
LOWmooncake-common/include/environment_value_parser.h1#pragma onceCOMMENT
LOWmooncake-common/include/glog_compat.h1// Copyright 2026 KVCache.AICOMMENT
LOWmooncake-common/include/glog_compat.h21// detected glog version is >= 0.6.0, where google::IsGoogleLoggingInitialized()COMMENT
LOWmooncake-common/include/glog_compat.h41namespace glog_internal_namespace_ {COMMENT
LOWmooncake-common/include/ib_link_speed.h1// Copyright 2025 KVCache.AICOMMENT
LOWmooncake-common/include/default_config.h1#pragma onceCOMMENT
LOWmooncake-common/tests/environ_test.cpp1// Copyright 2024 KVCache.AICOMMENT
LOWmooncake-common/tests/ib_link_speed_test.cpp1// Copyright 2025 KVCache.AICOMMENT
LOWmooncake-common/src/default_config.cpp1#include "default_config.h"COMMENT
LOWmooncake-common/src/environ.h1#pragma onceCOMMENT
LOWmooncake-common/src/asio_impl.cpp1// ASIO separate compilation implementationCOMMENT
LOWpython/tests/ep/test_ep_grid.py81 topk_weights = torch.softmax(COMMENT
LOWmooncake-wheel/pyproject.toml1# mooncake-wheel/pyproject.tomlCOMMENT
LOWmooncake-wheel/mooncake/mooncake_store_service.py301 {"error": "Missing path or size for decode mode"}COMMENT
LOWmooncake-wheel/tests/test_promotion_on_hit.py261 f"and the client's 'ProcessPromotionTasks pulled' log)"COMMENT
LOWmooncake-pg/include/common_types.h1// Common types shared by host and device code.COMMENT
LOWmooncake-pg/include/mooncake_pg.h1#ifndef MOONCAKE_PG_H_COMMENT
LOWmooncake-pg/include/mooncake_communicator.h1#ifndef MOONCAKE_PG_COMMUNICATOR_HCOMMENT
LOWmooncake-pg/include/p2p_proxy.h1#ifndef MOONCAKE_P2P_PROXY_HCOMMENT
LOWmooncake-pg/include/p2p_proxy.h21COMMENT
LOWmooncake-pg/include/p2p_proxy.h41// +---------------------------------------------------------+COMMENT
LOWmooncake-pg/include/p2p_proxy.h61// Protocol overview:COMMENT
LOWmooncake-pg/include/p2p_proxy.h81// - All pool allocations are non-blocking. If a pool is exhausted the stepCOMMENT
LOWmooncake-pg/include/p2p_proxy.h101//COMMENT
LOWmooncake-pg/include/p2p_proxy.h121// Rank 0's SendPool RDMA Write Rank 1's RecvPoolCOMMENT
LOWmooncake-pg/include/p2p_proxy.h141// +-----------------------+COMMENT
LOWmooncake-pg/include/p2p_proxy.h161// | chunk 1 : free |COMMENT
LOWmooncake-pg/include/p2p_proxy.h181 return (static_cast<ControlToken>(epoch) << 32) |COMMENT
LOWmooncake-pg/include/p2p_proxy.h521 // Request a lane reset and report the link failure to the Agent.COMMENT
LOWmooncake-pg/include/gpu_runtime.h1#ifndef MOONCAKE_PG_GPU_RUNTIME_HCOMMENT
LOWmooncake-pg/include/control_plane/agent_host.h1#ifndef MOONCAKE_PG_AGENT_HOST_HCOMMENT
LOWmooncake-pg/include/control_plane/agent_host.h21COMMENT
LOWmooncake-pg/include/control_plane/agent_host.h41// |COMMENT
LOWmooncake-pg/include/control_plane/control_types.h1#ifndef MOONCAKE_PG_CONTROL_PLANE_CONTROL_TYPES_HCOMMENT
LOWmooncake-pg/include/control_plane/control_types.h21//COMMENT
LOWmooncake-pg/include/control_plane/control_types.h141COMMENT
LOWmooncake-pg/include/control_plane/rpc_runtime.h1#ifndef MOONCAKE_PG_RPC_RUNTIME_HCOMMENT
LOWmooncake-pg/include/control_plane/link_manager.h1#ifndef MOONCAKE_PG_LINK_MANAGER_HCOMMENT
LOWmooncake-pg/include/control_plane/serialized_executor.h1#ifndef MOONCAKE_PG_SERIALIZED_EXECUTOR_HCOMMENT
LOWmooncake-pg/include/control_plane/coordinator_host.h1#ifndef MOONCAKE_PG_COORDINATOR_HOST_HCOMMENT
LOWmooncake-pg/include/control_plane/coordinator_host.h21COMMENT
LOWmooncake-pg/include/control_plane/coordinator_host.h41// +------------------------------------+COMMENT
LOWmooncake-pg/include/control_plane/coordinator.h1#ifndef MOONCAKE_PG_COORDINATOR_HCOMMENT
LOWmooncake-pg/include/control_plane/rpc.h1#ifndef MOONCAKE_PG_CONTROL_PLANE_RPC_HCOMMENT
LOW…/device_comm/device_collective/device_control_update.h1#ifndef MOONCAKE_PG_DEVICE_COMM_DEVICE_COLLECTIVE_DEVICE_CONTROL_UPDATE_HCOMMENT
LOW…/device_comm/device_collective/device_control_update.h21//COMMENT
LOW…lude/device_comm/device_collective/device_collective.h1#ifndef MOONCAKE_PG_DEVICE_COMM_DEVICE_COLLECTIVE_DEVICE_COLLECTIVE_HCOMMENT
LOW…ice_comm/device_collective/device_collective_feature.h1#ifndef MOONCAKE_PG_DEVICE_COMM_DEVICE_COLLECTIVE_FEATURE_HCOMMENT
LOW…ce_comm/device_collective/device_collective_recovery.h1#ifndef MOONCAKE_PG_DEVICE_COMM_DEVICE_COLLECTIVE_DEVICE_COLLECTIVE_RECOVERY_HCOMMENT
LOW…/include/device_comm/device_collective/strong_stream.h1#ifndef MOONCAKE_PG_DEVICE_COMM_DEVICE_COLLECTIVE_STRONG_STREAM_HCOMMENT
LOW…/include/device_comm/device_collective/strong_stream.h21//COMMENT
LOW…/include/device_comm/device_collective/strong_stream.h41// eager order stream user stream A user stream BCOMMENT
LOW…/include/device_comm/device_collective/strong_stream.h61// to the same capture reuse it, even if their kernels use different userCOMMENT
LOW…/include/device_comm/device_collective/strong_stream.h81// | | |COMMENT
LOW…/include/device_comm/device_collective/strong_stream.h101// Eager A submitted before Graph G:COMMENT
LOW…/include/device_comm/device_collective/strong_stream.h121// external event nodes because its wait and record must execute on everyCOMMENT
LOW…/include/device_comm/device_collective/strong_stream.h141// submitted before it. Later records do not retarget an already submittedCOMMENT
1625 more matches not shown…
Hyper-Verbose Identifiers1493 hits · 1395 pts
SeverityFileLineSnippetContext
LOWmooncake-rl/examples/rl_samples.py119 def init_weight_update_connections(self, rollout_manager):CODE
LOWpython/mooncake/mooncake_ssd_unregister.py287 def start_ssd_unregister_service(self):CODE
LOWpython/mooncake/mooncake_ep_buffer.py29def _native_current_stream_ptr() -> int:CODE
LOWpython/mooncake/mooncake_ep_buffer.py33def _wait_native_event_on_current_stream(event: "ep.EventHandle") -> None:CODE
LOW⚡python/mooncake/spdk_tgt_create.py210 def _discover_nvme_pci_devices(self, ssh: paramiko.SSHClient) -> List[str]:CODE
LOWpython/mooncake/spdk_tgt_create.py283 def _filter_spdk_ready_pci_devices(CODE
LOWpython/mooncake/spdk_tgt_create.py373 def _format_transport_options(self) -> str:CODE
LOWpython/mooncake/transfer_engine_topology_dump.py86def sanitize_tent_conf_for_discover():CODE
LOWpython/mooncake/mooncake_elastic_buffer.py68def _resolve_transport_consensus(CODE
LOWpython/mooncake/mooncake_elastic_buffer.py134def _resolve_nccl_membership_masks(rank_masks: Sequence[Sequence[int]]) -> None:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py162def _bootstrap_collective_device(group: dist.ProcessGroup) -> str:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py168def _select_transport_for_group(CODE
LOWpython/mooncake/mooncake_elastic_buffer.py487 def _require_full_nccl_membership(self) -> None:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py515 def _refresh_topology_from_runtime(self) -> None:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py525 def _validate_handle_generation(self, handle: EPHandle) -> None:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py792 def _atomic_scratch_num_bytes() -> int:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py846 def get_engram_storage_size_hint(CODE
LOWpython/mooncake/mooncake_elastic_buffer.py863 def get_agrs_buffer_size_hint(CODE
LOWpython/mooncake/mooncake_elastic_buffer.py869 def _calculate_physical_domain_size(group: dist.ProcessGroup) -> Tuple[int, int]:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py886 def _calculate_logical_domain_size(CODE
LOWpython/mooncake/mooncake_elastic_buffer.py907 def _hybrid_num_max_tokens_per_channel(CODE
LOWpython/tests/packaging/test_project.py32def test_scikit_build_core_is_the_only_build_backend() -> None:CODE
LOWpython/tests/packaging/test_project.py51def test_dependency_boundaries_are_declared() -> None:CODE
LOWpython/tests/packaging/test_project.py66def test_legacy_wheel_administration_extra_matches_root_project() -> None:CODE
LOWpython/tests/packaging/test_project.py79def test_tracked_source_roots_contain_no_generated_native_artifacts() -> None:CODE
LOWpython/tests/packaging/test_project.py87def test_http_metadata_service_has_one_authoritative_source(CODE
LOWpython/tests/packaging/test_project.py149def test_async_store_has_one_authoritative_source() -> None:STRING
LOWpython/tests/packaging/test_project.py173def test_ep_modules_have_one_authoritative_source() -> None:STRING
LOWpython/tests/packaging/test_project.py205def test_cli_has_one_authoritative_source_and_test_location() -> None:STRING
LOWpython/tests/packaging/test_project.py222def test_scikit_build_consumes_unified_python_sources() -> None:STRING
LOWpython/tests/packaging/test_project.py264def test_python_package_init_keeps_namespace_extension() -> None:STRING
LOWpython/tests/packaging/test_project.py278def test_cli_entry_points_remain_stable_across_build_interfaces() -> None:CODE
LOWpython/tests/packaging/test_project.py288def test_cli_build_inputs_use_the_canonical_sources() -> None:CODE
LOWpython/tests/packaging/test_project.py309def test_lightweight_modules_have_one_authoritative_source() -> None:CODE
LOWpython/tests/packaging/test_project.py331def test_ssd_administration_modules_have_one_authoritative_source() -> None:CODE
LOWpython/tests/packaging/test_project.py360def test_pg_extension_build_stages_outside_the_source_tree(CODE
LOWpython/tests/packaging/test_installed_wheel.py33def test_wheel_imports_outside_the_repository(CODE
LOWpython/tests/ssd/test_spdk_tgt_create.py7def test_parse_arguments_accepts_ssh_port():CODE
LOWpython/tests/ssd/test_spdk_tgt_create.py24def test_ssh_connect_uses_requested_port():CODE
LOWpython/tests/ssd/test_administration.py10def test_missing_paramiko_reports_install_command():CODE
LOWpython/tests/ssd/test_administration.py24def test_paramiko_is_loaded_on_demand():CODE
LOWpython/tests/ssd/test_administration.py30def test_broken_transitive_dependency_is_not_hidden():CODE
LOWpython/tests/unit/test_cli_modules.py53def test_cli_wrappers_forward_arguments_via_launcher(CODE
LOWpython/tests/unit/test_cli_modules.py90def test_launcher_locates_binary_and_sets_exec_bit(CODE
LOWpython/tests/unit/test_cli_modules.py127def test_launcher_raises_when_binary_is_missing(CODE
LOWpython/tests/unit/test_cli_modules.py145def test_topology_cli_import_keeps_native_backends_lazy(CODE
LOWpython/tests/unit/test_cli_modules.py158def test_topology_cli_runs_from_the_canonical_source_tree() -> None:CODE
LOW⚡python/tests/unit/test_mooncake_config.py102 def test_tenant_id_null_defaults(self):CODE
LOW⚡python/tests/unit/test_mooncake_config.py109 def test_ssd_offload_path_null_defaults(self):CODE
LOW⚡python/tests/unit/test_mooncake_config.py116 def test_enable_ssd_offload_string_values(self):CODE
LOW⚡python/tests/unit/test_mooncake_config.py457 def test_negative_sizes_raise(self):CODE
LOW⚡python/tests/unit/test_mooncake_config.py465 def test_empty_required_field_raises(self):CODE
LOW⚡python/tests/unit/test_mooncake_config.py473 def test_from_file_warns_on_unknown_protocol(self):CODE
LOWpython/tests/unit/test_mooncake_config.py63 def test_load_with_default_values(self):CODE
LOWpython/tests/unit/test_mooncake_config.py83 def test_load_tenant_id_from_file(self):CODE
LOWpython/tests/unit/test_mooncake_config.py153 def test_client_http_config_from_file(self):CODE
LOWpython/tests/unit/test_mooncake_config.py167 def test_missing_required_field(self):CODE
LOWpython/tests/unit/test_mooncake_config.py181 def test_load_from_config_path_env(self):CODE
LOWpython/tests/unit/test_mooncake_config.py195 def test_load_from_config_env(self):CODE
LOWpython/tests/unit/test_mooncake_config.py287 def test_tenant_id_env_defaults(self):CODE
1433 more matches not shown…
Unused Imports518 hits · 469 pts
SeverityFileLineSnippetContext
LOWpython/mooncake/buffer_pool.py1CODE
LOWpython/mooncake/spdk_tgt_create.py5CODE
LOWpython/mooncake/__init__.py5CODE
LOWpython/mooncake/__init__.py5CODE
LOWpython/mooncake/_launcher.py12CODE
LOWpython/tests/packaging/test_project.py1CODE
LOWpython/tests/packaging/test_installed_wheel.py1CODE
LOWpython/tests/unit/test_cli_modules.py1CODE
LOW…hon/tests/ep/test_mooncake_elastic_buffer_transport.py3CODE
LOWpython/tests/ep/test_ep_grid.py38CODE
LOWpython/tests/ep/test_elastic_buffer.py20CODE
LOWpython/tests/ep/test_elastic_buffer.py45CODE
LOWpython/tests/store/test_buffer_pool_native.py1CODE
LOWpython/tests/store/test_async_store.py1CODE
LOWmooncake-reshard/python/mooncake/reshard/lifetime.py8CODE
LOWmooncake-reshard/python/mooncake/reshard/_typing.py6CODE
LOWmooncake-reshard/python/mooncake/reshard/_typing.py8CODE
LOWmooncake-reshard/python/mooncake/reshard/__init__.py3CODE
LOWmooncake-reshard/python/mooncake/reshard/__init__.py3CODE
LOWmooncake-reshard/python/mooncake/reshard/__init__.py3CODE
LOWmooncake-reshard/python/mooncake/reshard/__init__.py3CODE
LOWmooncake-reshard/python/mooncake/reshard/geometry.py3CODE
LOWmooncake-reshard/python/mooncake/reshard/_compat.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py3CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py3CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py3CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py3CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py3CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py3CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py3CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py3CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py3CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py3CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py8CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py8CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py8CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py13CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py13CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py13CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py18CODE
458 more matches not shown…
Decorative Section Separators87 hits · 285 pts
SeverityFileLineSnippetContext
MEDIUMpython/mooncake/mooncake_ep_buffer.py708 # -----------------COMMENT
MEDIUMpython/mooncake/mooncake_ep_buffer.py710 # -----------------COMMENT
MEDIUMpython/tests/store/async_store_integration.py20# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py22# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py116# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py118# ==========================================COMMENT
MEDIUM⚡python/tests/store/async_store_integration.py177# ==========================================COMMENT
MEDIUM⚡python/tests/store/async_store_integration.py179# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py198# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py200# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py322# ==========================================COMMENT
MEDIUMpython/tests/store/async_store_integration.py324# ==========================================COMMENT
MEDIUM⚡mooncake-wheel/setup.py8# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py10# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py18# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py20# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py108# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMmooncake-wheel/setup.py151# ---------------------------------------------------------------------------COMMENT
MEDIUMmooncake-wheel/setup.py153# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py168# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py180# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/setup.py182# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/mooncake/structured_object_store.py6771# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mooncake-wheel/mooncake/structured_object_store.py6773# ---------------------------------------------------------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py247 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py249 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py288 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py290 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py327 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py329 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py580 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py582 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py620 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py622 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py725 # --------------------------COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py727 # --------------------------COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py23# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py25# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py38# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py40# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py68# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py70# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py209# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py211# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py638# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py640# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py727# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/benchmark.py729# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/layout/mla.py12# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/layout/mla.py14# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/layout/mla.py121# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/layout/mla.py123# ============================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/storage/disk.py158 # ========================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/storage/disk.py160 # ========================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/storage/disk.py314 # ========================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/storage/disk.py316 # ========================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/storage/disk.py373 # ========================================================================COMMENT
MEDIUMbenchmarks/storage_benchmark_v1/storage/disk.py375 # ========================================================================COMMENT
27 more matches not shown…
Excessive Try-Catch Wrapping209 hits · 250 pts
SeverityFileLineSnippetContext
LOWpython/mooncake/http_metadata_server.py143 except Exception as e:CODE
LOWpython/mooncake/mooncake_ssd_unregister.py59 except Exception as e:CODE
LOWpython/mooncake/mooncake_ssd_unregister.py237 except Exception as e:CODE
LOWpython/mooncake/mooncake_ssd_unregister.py319 except Exception as e:CODE
LOWpython/mooncake/mooncake_ep_buffer.py293 except Exception as e:CODE
LOWpython/mooncake/mooncake_ep_buffer.py307 except Exception:CODE
LOWpython/mooncake/mooncake_ep_buffer.py319 except Exception:CODE
LOWpython/mooncake/mooncake_ep_buffer.py331 except Exception:CODE
LOWpython/mooncake/mooncake_ep_buffer.py347 except Exception:CODE
MEDIUMpython/mooncake/mooncake_ep_buffer.py316def _is_mooncake_backend(self) -> bool:CODE
LOWpython/mooncake/spdk_tgt_create.py165 except Exception as e:CODE
LOWpython/mooncake/spdk_tgt_create.py511 except Exception as e:CODE
LOWpython/mooncake/spdk_tgt_create.py644 except Exception as e:CODE
LOWpython/mooncake/mooncake_ssd_register.py58 except Exception as e:CODE
LOWpython/mooncake/mooncake_ssd_register.py218 except Exception as e:CODE
LOWpython/mooncake/mooncake_ssd_register.py267 except Exception as e:CODE
LOWpython/mooncake/transfer_engine_topology_dump.py191 except Exception as exc:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py491 except Exception:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py627 except Exception as exc:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py665 except Exception as exc:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py821 except Exception:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py880 except Exception:CODE
LOWpython/tests/ep/test_regmr_overhead.py264 except Exception as e:CODE
LOWpython/tests/ep/test_regmr_overhead.py299 except Exception:CODE
LOWpython/tests/ep/test_regmr_overhead.py334 except Exception as e:CODE
LOW⚡python/tests/ep/test_regmr_overhead.py407 except Exception as e:CODE
LOW⚡python/tests/ep/test_regmr_overhead.py416 except Exception:CODE
MEDIUMpython/tests/ep/test_regmr_overhead.py445 print("Error: WORLD_SIZE must be at least 2 for distributed tests")CODE
LOWpython/tests/ep/test_mooncake_ep.py334 except Exception:CODE
LOWpython/tests/ep/test_ep_grid.py238 except Exception:CODE
LOWpython/tests/ep/test_ep_grid.py394 except Exception:CODE
LOWpython/tests/integration/test_cli.py43 except Exception as e:CODE
LOWpython/tests/integration/test_cli.py114 except Exception as e:CODE
LOWpython/tests/store/async_store_integration.py54 except Exception as e:CODE
LOWpython/tests/store/async_store_integration.py160 except Exception as e:CODE
LOW⚡python/tests/store/async_store_integration.py171 except Exception as e:CODE
MEDIUM⚡python/tests/store/async_store_integration.py172 print(f"Error during close: {e}")CODE
MEDIUM.claude/skills/mooncake-api/SKILL.md446 print("Error checking existence")CODE
LOW…/python/mooncake/reshard/weight/_store/registration.py108 except Exception as error:CODE
LOW…/python/mooncake/reshard/weight/_store/registration.py294 except Exception as error:CODE
LOW…shard/python/mooncake/reshard/weight/_store/backend.py191 except Exception as error:CODE
LOW…shard/python/mooncake/reshard/weight/_store/backend.py210 except Exception as error:CODE
LOW…d/python/mooncake/reshard/weight/_store/transaction.py189 except Exception as error:CODE
LOW…d/python/mooncake/reshard/weight/_store/transaction.py239 except Exception as error:CODE
LOW…d/python/mooncake/reshard/weight/_store/transaction.py279 except Exception as error:CODE
LOW…shard/python/mooncake/reshard/weight/_store/payload.py97 except Exception as error:CODE
LOW…-reshard/python/mooncake/reshard/weight/_store/load.py51 except Exception as error:CODE
LOW…-reshard/python/mooncake/reshard/weight/_store/load.py55 except Exception as error:CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/executor.py175 except Exception as exc: # noqa: BLE001 - native exceptions become failed receiptsCODE
LOW⚡…/python/mooncake/reshard/transfer_engine/completion.py104 except Exception as error:CODE
LOW⚡…/python/mooncake/reshard/transfer_engine/completion.py112 except Exception as error:CODE
LOW…/python/mooncake/reshard/transfer_engine/completion.py177 except Exception as error:CODE
LOW…/python/mooncake/reshard/transfer_engine/completion.py194 except Exception as error:CODE
LOW…/python/mooncake/reshard/transfer_engine/completion.py208 except Exception as error:CODE
LOW…/python/mooncake/reshard/transfer_engine/completion.py219 except Exception:CODE
LOW…/python/mooncake/reshard/transfer_engine/completion.py464 except Exception:CODE
LOW…rd/python/mooncake/reshard/transfer_engine/executor.py265 except Exception as error:CODE
LOWmooncake-reshard/tests/model_weight_store/helpers.py844 except Exception:CODE
LOW…shard/tests/model_weight_te/test_quarantine_cleanup.py201 except Exception as error:CODE
MEDIUM…shard/tests/model_weight_te/test_quarantine_cleanup.py198def run_execute() -> None:CODE
149 more matches not shown…
Empty Error Handlers36 hits · 180 pts
SeverityFileLineSnippetContext
HIGHpython/mooncake/transfer_engine_topology_dump.py198except OSError:CODE
HIGHpython/mooncake/mooncake_elastic_buffer.py821except Exception:CODE
HIGHpython/tests/ep/test_regmr_overhead.py299except Exception:CODE
HIGHpython/tests/ep/test_regmr_overhead.py416except Exception:CODE
HIGHpython/tests/ep/test_mooncake_ep.py334except Exception:CODE
HIGH…reshard/tests/kv_cache/test_runtime_transfer_native.py208except (BrokenPipeError, EOFError):CODE
HIGHmooncake-wheel/setup.py53except (subprocess.CalledProcessError, FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGHmooncake-wheel/setup.py90except (subprocess.CalledProcessError, FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGHmooncake-wheel/mooncake/structured_object_store.py6637except TypeError:CODE
HIGHmooncake-wheel/mooncake/structured_object_store.py4161except RuntimeError:CODE
HIGHmooncake-wheel/mooncake/structured_object_store.py4986except Exception:CODE
HIGHmooncake-wheel/mooncake/mooncake_store_service.py47except AttributeError:CODE
HIGHmooncake-wheel/mooncake/mooncake_store_service.py235except asyncio.TimeoutError:CODE
HIGHmooncake-wheel/tests/test_offload_on_eviction.py138except Exception:CODE
HIGHmooncake-wheel/tests/test_promotion_on_hit.py307except Exception:CODE
HIGHmooncake-wheel/tests/test_promotion_on_hit.py375except Exception:CODE
HIGHmooncake-wheel/tests/test_promotion_on_hit.py579except Exception:CODE
HIGHmooncake-pg/tests/pg_test_utils.py240except Exception:CODE
HIGHmooncake-pg/tests/pg_test_utils.py245except Exception:CODE
HIGHmooncake-pg/tests/pg_test_utils.py424except Exception:CODE
HIGHmooncake-pg/tests/pg_test_utils.py439except Exception:CODE
HIGHmooncake-pg/tests/pg_test_topology.py73except Exception:CODE
HIGHmooncake-pg/tests/test_pg_init_functional.py81except Exception:CODE
HIGHbenchmarks/storage_benchmark_v1/storage/disk.py390except OSError:CODE
HIGHbenchmarks/storage_benchmark_v1/storage/disk.py239except OSError:CODE
HIGHbenchmarks/storage_benchmark_v1/storage/disk.py311except OSError:CODE
HIGHbenchmarks/storage_benchmark_v1/storage/disk.py384except OSError:CODE
HIGHscripts/test_drain_http_api.py436except Exception:CODE
HIGHscripts/ascend/perf/hccl_tools.py69except EOFError:CODE
HIGHscripts/ci/tests/test_rpc_smoke.py74except ProcessLookupError:CODE
HIGH…ts/e2e/python/test_hicache_storage_mooncake_backend.py139except (requests.RequestException, ConnectionError):CODE
HIGHmooncake-integration/fabric_allocator_utils.py17except (ImportError, FileNotFoundError, TypeError):CODE
HIGHmooncake-integration/fabric_allocator_utils.py27except (ImportError, FileNotFoundError, TypeError):CODE
HIGHmooncake-integration/allocator.py115except (ImportError, FileNotFoundError, TypeError):CODE
HIGHmooncake-integration/allocator.py126except (ImportError, FileNotFoundError, TypeError):CODE
HIGHmooncake-integration/shared_segment.py280except (RuntimeError, AttributeError):CODE
Structural Annotation Overuse73 hits · 135 pts
SeverityFileLineSnippetContext
LOW⚡mooncake-pg/tests/test_pg_elastic.py722 # Step 1: All ranks participate in first collectiveCOMMENT
LOW⚡mooncake-pg/tests/test_pg_elastic.py727 # Step 2: Broken rank exits after first collectiveCOMMENT
LOW⚡mooncake-pg/tests/test_pg_elastic.py732 # Step 3: Survivors wait for broken rank to exitCOMMENT
LOW⚡mooncake-pg/tests/test_pg_elastic.py735 # Step 4: Survivors run collective without broken rankCOMMENT
LOWdocs/source/design/tent/metrics.md317### Step 1: Declare the MetricCOMMENT
LOWdocs/source/design/tent/metrics.md332### Step 2: Register the MetricCOMMENT
LOWdocs/source/design/tent/metrics.md352### Step 3: Add Recording Methods (Optional)COMMENT
LOW⚡docs/source/api-reference/python/mooncake-store.md401# Step 1: Register the bufferCOMMENT
LOW⚡docs/source/api-reference/python/mooncake-store.md406# Step 2: Zero-copy storeCOMMENT
LOW⚡docs/source/api-reference/python/mooncake-store.md413# Step 3: Pre-allocate buffer for retrievalCOMMENT
LOW⚡docs/source/api-reference/python/mooncake-store.md418# Step 4: Register receive bufferCOMMENT
LOW⚡docs/source/api-reference/python/mooncake-store.md423# Step 5: Zero-copy retrievalCOMMENT
LOW⚡docs/source/api-reference/python/mooncake-store.md432# Step 6: Clean up - unregister both buffersCOMMENT
LOWdocs/source/deployment/ssd/ssd-offload.md20### Step 1: Create the SSD storage directoryCOMMENT
LOWdocs/source/deployment/ssd/ssd-offload.md26### Step 2: Start the masterCOMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp235 // Step 1: Submit on "RDMA" — should fail (proxy injects fault)COMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp239 // Step 2: Failover logic (mirrors resubmitTransferTask)COMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp247 // Step 3: Submit on "TCP" — should succeedCOMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp251 // Step 4: Verify completionCOMMENT
LOW…e-transfer-engine/tent/src/runtime/admission_queue.cpp323 // Step 3: an owner predicted to miss its deadline is dropped (notCOMMENT
LOW…ude/cachelib_memory_allocator/include/fmt/format-inl.h2080 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOW…ude/cachelib_memory_allocator/include/fmt/format-inl.h2123 // Step 2: Try larger divisor; remove trailing zeros if necessaryCOMMENT
LOW…ude/cachelib_memory_allocator/include/fmt/format-inl.h2159 // Step 3: Find the significand with the smaller divisorCOMMENT
LOWmooncake-store/rust/examples/basic_usage.rs53 // Step 1: Create a store handle.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs65 // Step 2: Connect to the metadata server and transport layer.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs93 // Step 3: Put a key/value pair (copies data into the store).COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs106 // Step 4: Check existence.COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs113 // Step 5: Get size.COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs119 // Step 6: Retrieve the value.COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs128 // Step 7: Put with explicit replication config.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs145 // Step 8: Remove the keys.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs156 // Step 9: Demonstrate error handling for a missing key.COMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1300 // Step 1: Simulate cache miss — get a free blockCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1304 // Step 2: Write data directly into the block (simulating TransferReadCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1309 // Step 3: Set metadata and insert into LRUCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1314 // Step 4: Re-acquire ref via GetHotKeyCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1320 // Step 5: Create BufferHandle in view modeCOMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1117 // Step 1: Mount segment and create a completed MEMORY replica.COMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1136 // Step 2: Mount local disk segment and add LOCAL_DISK replica viaCOMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1164 // Step 3: Remove the object (removes both MEMORY and LOCAL_DISK replicas).COMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1179 // Step 4: Test SSD hit path by creating an object with only a LOCAL_DISKCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp382 // Step 2: Create copy task via masterCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp390 // Step 3: Wait for task to be fetched and executed by the assigned clientCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp395 // Step 4: Copy adds the target and preserves the source replica.COMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp398 // Step 5: Verify data integrity.COMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp438 // Step 2: Create move task via masterCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp446 // Step 3: Wait for task to be fetched and executed by the assigned clientCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp451 // Step 4: Move adds the target and removes the source replica.COMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp454 // Step 5: Verify data integrity.COMMENT
LOWmooncake-store/tests/task_integration_test.cpp358 // Step 1: Put data on client1COMMENT
LOWmooncake-store/tests/task_integration_test.cpp414 // Step 1: Put data on client1COMMENT
LOWmooncake-store/tests/task_integration_test.cpp797 // Step 1: Put multiple keys on client1COMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1350 // Step 1: Create a snapshot using a serviceCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1359 // Step 2: Create a new service with restore + backup_dir setCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1388 // Step 1: Create a snapshot using a serviceCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1397 // Step 2: Create a new service with restore but NO backup_dirCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1593 // Step 2: Persist stateCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1599 // Step 3: Restore into a new serviceCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1693 // Step 2: Persist stateCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1699 // Step 3: Restore into a new serviceCOMMENT
13 more matches not shown…
Verbosity Indicators63 hits · 116 pts
SeverityFileLineSnippetContext
LOW⚡mooncake-pg/tests/test_pg_elastic.py722 # Step 1: All ranks participate in first collectiveCOMMENT
LOW⚡mooncake-pg/tests/test_pg_elastic.py727 # Step 2: Broken rank exits after first collectiveCOMMENT
LOW⚡mooncake-pg/tests/test_pg_elastic.py732 # Step 3: Survivors wait for broken rank to exitCOMMENT
LOW⚡mooncake-pg/tests/test_pg_elastic.py735 # Step 4: Survivors run collective without broken rankCOMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp235 // Step 1: Submit on "RDMA" — should fail (proxy injects fault)COMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp239 // Step 2: Failover logic (mirrors resubmitTransferTask)COMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp247 // Step 3: Submit on "TCP" — should succeedCOMMENT
LOW⚡…oncake-transfer-engine/tent/tests/fault_proxy_test.cpp251 // Step 4: Verify completionCOMMENT
LOW…e-transfer-engine/tent/src/runtime/admission_queue.cpp323 // Step 3: an owner predicted to miss its deadline is dropped (notCOMMENT
LOWmooncake-store/include/client_metric.h248 // For dynamic metrics, we need to check if there are any labels withCOMMENT
LOW…ude/cachelib_memory_allocator/include/fmt/format-inl.h2080 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOW…ude/cachelib_memory_allocator/include/fmt/format-inl.h2123 // Step 2: Try larger divisor; remove trailing zeros if necessaryCOMMENT
LOW…ude/cachelib_memory_allocator/include/fmt/format-inl.h2159 // Step 3: Find the significand with the smaller divisorCOMMENT
LOWmooncake-store/rust/examples/basic_usage.rs53 // Step 1: Create a store handle.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs65 // Step 2: Connect to the metadata server and transport layer.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs93 // Step 3: Put a key/value pair (copies data into the store).COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs106 // Step 4: Check existence.COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs113 // Step 5: Get size.COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs119 // Step 6: Retrieve the value.COMMENT
LOW⚡mooncake-store/rust/examples/basic_usage.rs128 // Step 7: Put with explicit replication config.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs145 // Step 8: Remove the keys.COMMENT
LOWmooncake-store/rust/examples/basic_usage.rs156 // Step 9: Demonstrate error handling for a missing key.COMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1300 // Step 1: Simulate cache miss — get a free blockCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1304 // Step 2: Write data directly into the block (simulating TransferReadCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1309 // Step 3: Set metadata and insert into LRUCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1314 // Step 4: Re-acquire ref via GetHotKeyCOMMENT
LOW⚡mooncake-store/tests/client_local_hot_cache_test.cpp1320 // Step 5: Create BufferHandle in view modeCOMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1117 // Step 1: Mount segment and create a completed MEMORY replica.COMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1136 // Step 2: Mount local disk segment and add LOCAL_DISK replica viaCOMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1164 // Step 3: Remove the object (removes both MEMORY and LOCAL_DISK replicas).COMMENT
LOWmooncake-store/tests/master_metrics_test.cpp1179 // Step 4: Test SSD hit path by creating an object with only a LOCAL_DISKCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp382 // Step 2: Create copy task via masterCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp390 // Step 3: Wait for task to be fetched and executed by the assigned clientCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp395 // Step 4: Copy adds the target and preserves the source replica.COMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp398 // Step 5: Verify data integrity.COMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp438 // Step 2: Create move task via masterCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp446 // Step 3: Wait for task to be fetched and executed by the assigned clientCOMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp451 // Step 4: Move adds the target and removes the source replica.COMMENT
LOW⚡mooncake-store/tests/task_integration_test.cpp454 // Step 5: Verify data integrity.COMMENT
LOWmooncake-store/tests/task_integration_test.cpp358 // Step 1: Put data on client1COMMENT
LOWmooncake-store/tests/task_integration_test.cpp414 // Step 1: Put data on client1COMMENT
LOWmooncake-store/tests/task_integration_test.cpp797 // Step 1: Put multiple keys on client1COMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1350 // Step 1: Create a snapshot using a serviceCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1359 // Step 2: Create a new service with restore + backup_dir setCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1388 // Step 1: Create a snapshot using a serviceCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1397 // Step 2: Create a new service with restore but NO backup_dirCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1593 // Step 2: Persist stateCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1599 // Step 3: Restore into a new serviceCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1693 // Step 2: Persist stateCOMMENT
LOW⚡…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1699 // Step 3: Restore into a new serviceCOMMENT
LOW…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1372 // Step 3: Verify backup files were created inCOMMENT
LOW…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1409 // Step 3: Verify NO backup directory was createdCOMMENT
LOW…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1548 // Step 1: Create service and add both clean and dirty dataCOMMENT
LOW…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1611 // Step 4: Verify non-COMPLETE replica was cleaned, complete one remainsCOMMENT
LOW…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1622 // Step 1: Create service with long lease TTLCOMMENT
LOW…tore/tests/ha/snapshot/snapshot_child_process_test.cpp1711 // Step 4: Verify normal data retained, expired-lease data cleanedCOMMENT
LOWmooncake-store/src/storage_backend.cpp1718 // Step 1: Build read plan by copying metadata under lockCOMMENT
LOWmooncake-store/src/storage_backend.cpp1789 // Step 2: Perform IO without holding any locksCOMMENT
LOWmooncake-store/src/storage_backend.cpp3226 // Step 1: Remove bucket from metadata maps under exclusive lockCOMMENT
LOWmooncake-store/src/storage_backend.cpp3261 // Step 2: Wait for in-flight reads to completeCOMMENT
3 more matches not shown…
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHpython/mooncake/cli_bench.py0main entry point for the mooncake_master command. simply runs the mooncake_master binary with all arguments passed throuSTRING
HIGHpython/mooncake/cli_client.py0main entry point for the mooncake_master command. simply runs the mooncake_master binary with all arguments passed throuSTRING
HIGHpython/mooncake/cli.py0main entry point for the mooncake_master command. simply runs the mooncake_master binary with all arguments passed throuSTRING
HIGHmooncake-wheel/tests/test_dummy_client.py0test class for single store operations (no replication).STRING
HIGH…ncake-wheel/tests/test_distributed_object_store_cxl.py0test class for single store operations (no replication).STRING
HIGHmooncake-wheel/tests/test_distributed_object_store.py0test class for single store operations (no replication).STRING
HIGHmooncake-wheel/tests/test_dummy_client.py0test basic put/get/exist operations through the python interface.STRING
HIGH…ncake-wheel/tests/test_distributed_object_store_cxl.py0test basic put/get/exist operations through the python interface.STRING
HIGHmooncake-wheel/tests/test_distributed_object_store.py0test basic put/get/exist operations through the python interface.STRING
HIGHmooncake-wheel/tests/test_dummy_client.py0test batch is_exist operations through the python interface.STRING
HIGH…ncake-wheel/tests/test_distributed_object_store_cxl.py0test batch is_exist operations through the python interface.STRING
HIGHmooncake-wheel/tests/test_distributed_object_store.py0test batch is_exist operations through the python interface.STRING
HIGHmooncake-wheel/tests/test_dummy_client.py0end-to-end fuzz test comparing distributed store behavior with dict. performs ~1000 random operations (put, get, remove)STRING
HIGH…ncake-wheel/tests/test_distributed_object_store_cxl.py0end-to-end fuzz test comparing distributed store behavior with dict. performs ~1000 random operations (put, get, remove)STRING
HIGHmooncake-wheel/tests/test_distributed_object_store.py0end-to-end fuzz test comparing distributed store behavior with dict. performs ~1000 random operations (put, get, remove)STRING
HIGHmooncake-wheel/tests/test_dummy_client.py0test replicateconfig class creation and property access.STRING
HIGH…ncake-wheel/tests/test_distributed_object_store_cxl.py0test replicateconfig class creation and property access.STRING
HIGHmooncake-wheel/tests/test_distributed_object_store.py0test replicateconfig class creation and property access.STRING
Deep Nesting96 hits · 82 pts
SeverityFileLineSnippetContext
LOWpython/mooncake/mooncake_ssd_unregister.py20CODE
LOWpython/mooncake/mooncake_ssd_unregister.py84CODE
LOWpython/mooncake/mooncake_ssd_unregister.py129CODE
LOWpython/mooncake/mooncake_ep_buffer.py730CODE
LOWpython/mooncake/mooncake_ep_buffer.py948CODE
LOWpython/mooncake/spdk_tgt_create.py72CODE
LOWpython/mooncake/mooncake_config.py127CODE
LOWpython/mooncake/mooncake_ssd_register.py21CODE
LOWpython/mooncake/mooncake_ssd_register.py93CODE
LOWpython/mooncake/mooncake_ssd_register.py138CODE
LOWpython/tests/unit/test_mooncake_config.py465CODE
LOWpython/tests/ep/ep_test_utils.py156CODE
LOWpython/tests/ep/test_regmr_overhead.py174CODE
LOWpython/tests/ep/test_mooncake_ep.py17CODE
LOW…e-reshard/python/mooncake/reshard/weight/validation.py433CODE
LOW…eshard/python/mooncake/reshard/weight/_store/upload.py308CODE
LOW…-reshard/python/mooncake/reshard/weight/_store/load.py98CODE
LOW…d/python/mooncake/reshard/weight/_planner/ownership.py96CODE
LOW…n/mooncake/reshard/weight/_planner/bound_validation.py256CODE
LOW…eshard/python/mooncake/reshard/weight/_planner/core.py146CODE
LOW…ard/python/mooncake/reshard/weight/_planner/binding.py125CODE
LOW…ard/python/mooncake/reshard/weight/_planner/binding.py314CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/transfer.py185CODE
LOW…-reshard/python/mooncake/reshard/kv_cache/placement.py209CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/executor.py113CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/resolved.py232CODE
LOW…ython/mooncake/reshard/transfer_engine/registration.py493CODE
LOW…ython/mooncake/reshard/transfer_engine/registration.py579CODE
LOW…/python/mooncake/reshard/transfer_engine/completion.py439CODE
LOW…reshard/tests/kv_cache/test_runtime_transfer_native.py132CODE
LOW…oncake-reshard/tests/kv_cache/test_runtime_transfer.py44CODE
LOW…oncake-reshard/tests/kv_cache/test_runtime_transfer.py124CODE
LOWmooncake-wheel/setup.py28CODE
LOWmooncake-wheel/mooncake/_partial_read.py15CODE
LOWmooncake-wheel/mooncake/structured_object_store.py2021CODE
LOWmooncake-wheel/mooncake/structured_object_store.py2517CODE
LOWmooncake-wheel/mooncake/structured_object_store.py2722CODE
LOWmooncake-wheel/mooncake/structured_object_store.py2840CODE
LOWmooncake-wheel/mooncake/structured_object_store.py3083CODE
LOWmooncake-wheel/mooncake/structured_object_store.py6038CODE
LOWmooncake-wheel/mooncake/structured_object_store.py6937CODE
LOWmooncake-wheel/mooncake/structured_object_store.py735CODE
LOWmooncake-wheel/mooncake/structured_object_store.py932CODE
LOWmooncake-wheel/mooncake/structured_object_store.py1308CODE
LOWmooncake-wheel/mooncake/structured_object_store.py1521CODE
LOWmooncake-wheel/mooncake/structured_object_store.py1750CODE
LOWmooncake-wheel/mooncake/structured_object_store.py3830CODE
LOWmooncake-wheel/mooncake/structured_object_store.py4253CODE
LOWmooncake-wheel/mooncake/structured_object_store.py4953CODE
LOWmooncake-wheel/mooncake/structured_object_store.py755CODE
LOWmooncake-wheel/mooncake/dataproto_catalog.py435CODE
LOWmooncake-wheel/mooncake/dataproto_catalog.py483CODE
LOWmooncake-wheel/mooncake/mooncake_store_service.py93CODE
LOWmooncake-wheel/mooncake/mooncake_store_service.py129CODE
LOWmooncake-wheel/mooncake/mooncake_store_service.py285CODE
LOWmooncake-wheel/tests/test_dummy_client.py145CODE
LOWmooncake-wheel/tests/test_dummy_client.py1225CODE
LOWmooncake-wheel/tests/test_structured_object_store.py201CODE
LOW…ncake-wheel/tests/test_distributed_object_store_cxl.py521CODE
LOWmooncake-wheel/tests/test_cuda_fabric_compat.py15CODE
36 more matches not shown…
Modern Structural Boilerplate68 hits · 68 pts
SeverityFileLineSnippetContext
LOWpython/mooncake/buffer_pool.py12__all__ = ["BufferPool", "RegisteredBufferPool"]CODE
LOWpython/mooncake/mooncake_config.py70logger = logging.getLogger(__name__)CODE
LOWpython/mooncake/__init__.py9__all__ = ["BufferPool", "RegisteredBufferPool"]CODE
LOWpython/mooncake/mooncake_elastic_buffer.py704 def update_ep_member(self) -> None:CODE
LOWpython/mooncake/mooncake_elastic_buffer.py1359__all__ = ["ElasticBuffer", "EPHandle", "EventOverlap"]CODE
LOWmooncake-reshard/python/mooncake/reshard/lifetime.py131__all__ = [CODE
LOWmooncake-reshard/python/mooncake/reshard/_typing.py10__all__ = ["TypeAlias"]CODE
LOWmooncake-reshard/python/mooncake/reshard/__init__.py10__all__ = [CODE
LOWmooncake-reshard/python/mooncake/reshard/geometry.py258__all__ = [CODE
LOW…oncake-reshard/python/mooncake/reshard/weight/store.py18__all__ = [CODE
LOW…ake-reshard/python/mooncake/reshard/weight/lifetime.py12__all__ = [CODE
LOW…cake-reshard/python/mooncake/reshard/weight/planner.py34__all__ = [CODE
LOW…ke-reshard/python/mooncake/reshard/weight/_lifetime.py276__all__ = [CODE
LOW…ake-reshard/python/mooncake/reshard/weight/manifest.py19__all__ = [CODE
LOW…ake-reshard/python/mooncake/reshard/weight/__init__.py71__all__ = [CODE
LOW…cake-reshard/python/mooncake/reshard/weight/runtime.py80__all__ = ["WeightRuntimeBindingManifest"]CODE
LOW…ake-reshard/python/mooncake/reshard/weight/topology.py152__all__ = ["ParallelTopology", "TopologyParticipant"]CODE
LOWmooncake-reshard/python/mooncake/reshard/weight/te.py18__all__ = [CODE
LOWmooncake-reshard/python/mooncake/reshard/weight/part.py86__all__ = ["WeightPlacementPart"]CODE
LOW…/python/mooncake/reshard/weight/_store/registration.py302__all__ = ["StoreBufferRegistration", "StoreRegistrationLease"]CODE
LOW…reshard/python/mooncake/reshard/weight/_store/store.py236__all__ = ["WeightStore", "WeightStoreError"]CODE
LOW…shard/python/mooncake/reshard/weight/_store/backend.py251__all__ = [CODE
LOW…hard/python/mooncake/reshard/weight/_store/__init__.py21__all__ = [CODE
LOW…rd/python/mooncake/reshard/weight/_store/entrypoint.py25__all__ = ["begin_weight_snapshot"]CODE
LOW…ard/python/mooncake/reshard/weight/_store/contracts.py193__all__ = [CODE
LOW…eshard/python/mooncake/reshard/weight/_store/writer.py227__all__ = [CODE
LOW…hard/python/mooncake/reshard/weight/_store/snapshot.py73__all__ = ["WeightSnapshotAdapter", "WeightSnapshotDescriptor"]CODE
LOW…ard/python/mooncake/reshard/weight/_te/registration.py14__all__ = [CODE
LOW…reshard/python/mooncake/reshard/weight/_te/lifetime.py12__all__ = [CODE
LOW…shard/python/mooncake/reshard/weight/_te/completion.py12__all__ = [CODE
LOW…reshard/python/mooncake/reshard/weight/_te/__init__.py13__all__ = [CODE
LOW…d/python/mooncake/reshard/weight/_planner/ownership.py213__all__ = [CODE
LOW…rd/python/mooncake/reshard/weight/_planner/__init__.py31__all__ = [CODE
LOW…reshard/python/mooncake/reshard/weight/_planner/api.py160__all__ = [CODE
LOW…on/mooncake/reshard/weight/_planner/bound_contracts.py646__all__ = [CODE
LOW…d/python/mooncake/reshard/weight/_planner/contracts.py804__all__ = [CODE
LOW…d/python/mooncake/reshard/weight/_planner/fragments.py179__all__ = [CODE
LOW…ard/python/mooncake/reshard/weight/_planner/binding.py627__all__ = [CODE
LOW…-reshard/python/mooncake/reshard/contracts/__init__.py27__all__ = [CODE
LOW…ncake-reshard/python/mooncake/reshard/contracts/ids.py26__all__ = [CODE
LOW…ke-reshard/python/mooncake/reshard/kv_cache/planner.py483__all__ = [CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/manifest.py25__all__ = [CODE
LOW…reshard/python/mooncake/reshard/kv_cache/plan_serde.py192__all__ = ["kv_cache_logical_plan_from_json", "kv_cache_logical_plan_to_json"]CODE
LOW…cake-reshard/python/mooncake/reshard/kv_cache/serde.py501__all__ = [CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/__init__.py69__all__ = [CODE
LOW…cake-reshard/python/mooncake/reshard/kv_cache/types.py183__all__ = [CODE
LOW…ke-reshard/python/mooncake/reshard/kv_cache/runtime.py114__all__ = [CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/topology.py124__all__ = ["KVCacheTopology", "KVCacheTopologyParticipant"]CODE
LOW…-reshard/python/mooncake/reshard/kv_cache/placement.py331__all__ = ["KVCachePlacementManifest", "assemble_kv_cache_placement"]CODE
LOW…ncake-reshard/python/mooncake/reshard/kv_cache/part.py71__all__ = ["KVCachePlacementPart"]CODE
LOW…ke-reshard/python/mooncake/reshard/kv_cache/binding.py170__all__ = ["validate_runtime_binding", "validate_runtime_bindings"]CODE
LOW…e-reshard/python/mooncake/reshard/kv_cache/snapshot.py138__all__ = ["KVCacheSnapshotDescriptor", "SnapshotId"]CODE
LOW…ard/python/mooncake/reshard/kv_cache/snapshot_serde.py117__all__ = ["kv_cache_snapshot_from_json", "kv_cache_snapshot_to_json"]CODE
LOW…rd/python/mooncake/reshard/transfer_engine/lifetime.py11__all__ = [CODE
LOW…rd/python/mooncake/reshard/transfer_engine/__init__.py25__all__ = [CODE
LOWmooncake-wheel/mooncake/vllm_v1_proxy_server.py16logger = logging.getLogger(__name__)CODE
LOWmooncake-wheel/mooncake/__init__.py9__all__ = ["BufferPool", "RegisteredBufferPool"]CODE
LOWmooncake-wheel/mooncake/dataproto_catalog.py11logger = logging.getLogger(__name__)CODE
LOWdocs/source/conf.py24logger = logging.getLogger(__name__)CODE
LOWbenchmarks/storage_benchmark_v1/__init__.py20__all__ = [CODE
8 more matches not shown…
Cross-Language Confusion9 hits · 55 pts
SeverityFileLineSnippetContext
HIGH⚡python/mooncake/spdk_tgt_create.py220 class=$(cat "$dev/class" 2>/dev/null || true)CODE
HIGH⚡python/mooncake/spdk_tgt_create.py226 driver=$(basename "$(readlink "$dev/driver" 2>/dev/null)" 2>/dev/null || true)CODE
HIGH⚡python/mooncake/spdk_tgt_create.py226 driver=$(basename "$(readlink "$dev/driver" 2>/dev/null)" 2>/dev/null || true)CODE
HIGHpython/mooncake/spdk_tgt_create.py237 real_device=$(readlink -f "$block/device" 2>/dev/null || true)CODE
HIGHpython/mooncake/spdk_tgt_create.py296 driver=$(basename "$(readlink "/sys/bus/pci/devices/$pci/driver" 2>/dev/null)" 2>/dev/null || true)CODE
HIGHpython/mooncake/spdk_tgt_create.py296 driver=$(basename "$(readlink "/sys/bus/pci/devices/$pci/driver" 2>/dev/null)" 2>/dev/null || true)CODE
HIGHscripts/test_engram_store.py53 "cd build && cmake .. -DWITH_STORE=ON && make -j 128"CODE
HIGH⚡scripts/tone_tests/tests/test_suite_layout.py25 "declare -f launch_sglang_server >/dev/null; "CODE
HIGH…nsfer-engine/example/efa_per_transfer_latency_bench.py69 "| xargs -r kill 2>/dev/null; sleep 1; echo done"CODE
AI Slop Vocabulary13 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/ep/test_elastic_buffer_recovery.py19# Reuse the source-tree PG harness without copying its process lifecycle logic.COMMENT
MEDIUM⚡mooncake-wheel/setup.py22 # packaging ≥20 provides a robust glibc detector used by pip/buildCOMMENT
MEDIUMmooncake-wheel/mooncake/mooncake_connector_v1.py435 # Tasks can await async events, so a surplus (2x is a robust heuristic)COMMENT
MEDIUMmooncake-wheel/tests/test_ssd_offload_in_evict.py173 """Print comprehensive statistics for the test."""STRING
MEDIUM…-transfer-engine/tent/tests/metrics_recording_test.cpp101// tests are robust to singleton state accumulated by prior tests.COMMENT
MEDIUMmooncake-store/tests/stress_cluster_benchmark.py124 """Calculate and return comprehensive performance statistics."""STRING
MEDIUMmooncake-store/tests/stress_cluster_benchmark.py331 """Print comprehensive performance statistics in a structured format."""STRING
MEDIUMmooncake-store/benchmarks/batch_remove_benchmark.py12 # Run comprehensive testsSTRING
MEDIUMmooncake-store/src/client_service.cpp2411 // Helper methods for robust state managementCOMMENT
MEDIUMmooncake-store/src/client_service.cpp2657 // Process individual responses with robust error handlingCOMMENT
MEDIUMmooncake-store/src/client_service.cpp2756 // Process individual responses with robust error handlingCOMMENT
MEDIUMmooncake-store/src/transfer_task.cpp329// to fully utilize the available ssd bandwidth, we use a default of 4 workerCOMMENT
MEDIUMmooncake-store/src/common/s3_helper.cpp336 // the network For GB-sized files, 2 concurrent downloads can fully utilizeCOMMENT
Self-Referential Comments10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMmooncake-wheel/pyproject.toml3# This file is built from this directory; scripts/build_wheel.sh `cd`sCOMMENT
MEDIUM…ncake-wheel/tests/test_distributed_object_store_cxl.py77 # Create a new store instance with zero local buffer sizeCOMMENT
MEDIUMmooncake-wheel/tests/test_safetensor_functions.py56 # Create a test tensorCOMMENT
MEDIUMmooncake-wheel/tests/test_distributed_object_store.py110 # Create a new store instance with zero local buffer sizeCOMMENT
MEDIUMmooncake-wheel/tests/test_put_get_tensor.py33# Define a test class for serializationCOMMENT
MEDIUMscripts/test_copy_move_api.py162 # Create a coordinator client to run testsCOMMENT
MEDIUMscripts/ascend/dependencies_ascend_installation.sh17# Define a function to handle the git clone operationCOMMENT
MEDIUMscripts/ascend/dependencies_ascend.sh27# Define a function to handle the git clone operationCOMMENT
MEDIUMscripts/e2e/python/toy_proxy_server.py1# This file is from the vllm community: ./tests/v1/kv_connector/nixl_integration/toy_proxy_server.pyCOMMENT
MEDIUMmooncake-store/tests/e2e/run_oplog_batch_cluster.sh458 # This file is generated by this script with shell-escaped values.COMMENT
Redundant / Tautological Comments16 hits · 27 pts
SeverityFileLineSnippetContext
LOWdependencies.sh319# Check if .gitmodules existsCOMMENT
LOWpython/mooncake/spdk_tgt_create.py340 # Check if tgt is already runningCOMMENT
LOWpython/mooncake/mooncake_ssd_register.py268 # Check if the error is due to the segment already existing on the serverCOMMENT
LOWpython/tests/ep/test_regmr_overhead.py367 # Check if distributed environment is already initializedCOMMENT
LOW⚡python/tests/ep/test_regmr_overhead.py425 # Check if we should run with multiprocessing (for distributed tests)COMMENT
LOWpython/tests/integration/test_cli.py14 # Check if mooncake_master is in PATHCOMMENT
LOWpython/tests/integration/test_cli.py77 # Check if process is runningCOMMENT
LOWbenchmarks/storage_benchmark_v1/benchmark.py879 # Print resultsCOMMENT
LOW⚡scripts/test_installation.sh76# Check if the mooncake_master entry point is installed and executableCOMMENT
LOW⚡scripts/test_installation.sh81# Check if the mooncake_client entry point is installed and executableCOMMENT
LOW⚡scripts/test_installation.sh86# Check if the transfer_engine_bench entry point is installed and executableCOMMENT
LOWscripts/run_tests.sh162# Check if MOONCAKE_STORAGE_ROOT_DIR is set and not emptyCOMMENT
LOWscripts/code_format.sh367 # Check if file actually changedCOMMENT
LOWscripts/tone_tests/scripts/common.sh57 # Check if sglang-router is needed and missingCOMMENT
LOWscripts/rocm_tests/scripts/common.sh224 # Check if sglang-router is needed and missingCOMMENT
LOW.github/workflows/ci_ascend.yml218 # Check if master is runningCOMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHmooncake-pg/benchmark/pgbench.py525 # Aggregate times as requestedCOMMENT
HIGHmooncake-store/tests/offset_allocator_test.cpp1266// ========== EDGE CASE TESTS, Generated by AI ==========COMMENT
HIGHmooncake-store/tests/offset_allocator_test.cpp1409// ========== BIN SYSTEM TESTS, Generated by AI ==========COMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHbenchmarks/storage_benchmark_v1/layout/mla.py126Get MLA model configuration by name Args: model_name: Model identifier (e.g., 'glm5', 'kimi-k2.6') RetSTRING
HIGHbenchmarks/storage_benchmark_v1/layout/mla.py144Create an MLALayout instance from model configuration Args: model_config: Model configuration dictionary wiSTRING
HIGHscripts/ascend/perf/hccl_tools.py26 parse args . Args: Returns: args. Examples: >>> parse_args() STRING
Modern AI Meta-Vocabulary5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md36- **Aug 24, 2026**: [AgentX / InferenceX v3](https://newsletter.semianalysis.com/p/agentx-inferencexv3-does-cuda-moat) hCODE
MEDIUMREADME.md190- **Distributed KV cache pooling and sharing**: [Mooncake Store extends vLLM](https://vllm.ai/blog/2026-05-06-mooncake-sCODE
MEDIUM…s/source/deployment/mooncake-store-deployment-guide.md123The simplest deployment, as shown in [Quick Start](#quick-start). A single `mooncake_master` orchestrates clients over TCODE
MEDIUMdocs/source/performance/vllm/vllm-v1-mooncake-store.md11## Speeding up real agentic tracesCOMMENT
MEDIUMmooncake-transfer-engine/tent/tests/CMakeLists.txt578# ProgressWorker skeleton test: covers default-off behavior, event-drivenCOMMENT
AI Structural Patterns12 hits · 9 pts
SeverityFileLineSnippetContext
LOWpython/mooncake/mooncake_elastic_buffer.py347CODE
LOWpython/mooncake/mooncake_elastic_buffer.py934CODE
LOW…e-reshard/python/mooncake/reshard/weight/_te/reader.py93CODE
LOW…eshard/tests/model_weight_placement_binding/helpers.py96CODE
LOWmooncake-reshard/tests/model_weight_planner/helpers.py68CODE
LOWmooncake-wheel/mooncake/structured_object_store.py785CODE
LOWmooncake-wheel/mooncake/structured_object_store.py818CODE
LOWmooncake-wheel/mooncake/structured_object_store.py906CODE
LOWmooncake-wheel/mooncake/structured_object_store.py932CODE
LOWmooncake-pg/tests/pg_test_utils.py190CODE
LOWmooncake-ep/benchmarks/ep_benchmark/metrics.py62CODE
LOWbenchmarks/storage_benchmark_v1/benchmark.py452CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/code_format.sh9# Usage:COMMENT
LOWscripts/run_standalone_store_e2e.sh4# Usage:COMMENT