Mooncake is the serving platform for Kimi, a leading LLM service provided by Moonshot AI.
This report presents the forensic synthetic code analysis of kvcache-ai/Mooncake, a C++ project with 6,426 GitHub stars. SynthScan v2.0 examined 572,675 lines of code across 1595 source files, recording 3248 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 6.3 places this repository in the Low AI signal 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).
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.
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.
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.
The scanner identified 3248 distinct pattern matches across 19 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dependencies.sh | 1 | #!/bin/bash | COMMENT |
| LOW | mooncake-common/include/rpc_client_io_context.h | 1 | #pragma once | COMMENT |
| LOW | mooncake-common/include/environment_value_parser.h | 1 | #pragma once | COMMENT |
| LOW | mooncake-common/include/default_config.h | 1 | #pragma once | COMMENT |
| LOW | mooncake-common/tests/environ_test.cpp | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-common/src/default_config.cpp | 1 | #include "default_config.h" | COMMENT |
| LOW | mooncake-common/src/asio_impl.cpp | 1 | // ASIO separate compilation implementation | COMMENT |
| LOW | python/tests/ep/test_ep_grid.py | 81 | topk_idx = torch.topk(scores, top_k, dim=-1)[1] | COMMENT |
| LOW | mooncake-wheel/pyproject.toml | 1 | # mooncake-wheel/pyproject.toml | COMMENT |
| LOW | mooncake-wheel/mooncake/mooncake_store_service.py | 301 | {"error": "Missing path or size for decode mode"} | COMMENT |
| LOW | mooncake-wheel/tests/test_promotion_on_hit.py | 261 | f"and the client's 'ProcessPromotionTasks pulled' log)" | COMMENT |
| LOW | mooncake-pg/include/mooncake_pg.h | 1 | #ifndef MOONCAKE_PG_H_ | COMMENT |
| LOW | mooncake-pg/include/mooncake_communicator.h | 1 | #ifndef MOONCAKE_PG_COMMUNICATOR_H | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 1 | #ifndef MOONCAKE_P2P_PROXY_H | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 21 | namespace mooncake { | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 41 | // | Ack Control Region | | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 61 | // - The RECEIVER drives the flow. It allocates chunks from its RecvPool and | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 81 | // function returns false immediately and retries on the next polling | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 101 | // Step 2 -- Rank 0 stages the user buffer into SendPool | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 121 | // +---------------------+ +---------------------+ | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 141 | // | RecvPool | | COMMENT |
| LOW | mooncake-pg/include/p2p_proxy.h | 181 | static_cast<ControlToken>(sequence & 0xFFFFFFFFu); | COMMENT |
| LOW | mooncake-pg/include/control_plane/agent_host.h | 1 | #ifndef MOONCAKE_PG_AGENT_HOST_H | COMMENT |
| LOW | mooncake-pg/include/control_plane/agent_host.h | 21 | COMMENT | |
| LOW | mooncake-pg/include/control_plane/agent_host.h | 41 | // | | COMMENT |
| LOW | mooncake-pg/include/control_plane/control_types.h | 1 | #ifndef MOONCAKE_PG_CONTROL_PLANE_CONTROL_TYPES_H | COMMENT |
| LOW | mooncake-pg/include/control_plane/control_types.h | 21 | // Bootstrap ID: Backend type ("cpu:" or "device:") + PyTorch-assigned group_id. | COMMENT |
| LOW | mooncake-pg/include/control_plane/control_types.h | 81 | // None ------------(initial group declaration)-----------> Active | COMMENT |
| LOW | mooncake-pg/include/control_plane/rpc_runtime.h | 1 | #ifndef MOONCAKE_PG_RPC_RUNTIME_H | COMMENT |
| LOW | mooncake-pg/include/control_plane/link_manager.h | 1 | #ifndef MOONCAKE_PG_LINK_MANAGER_H | COMMENT |
| LOW | mooncake-pg/include/control_plane/serialized_executor.h | 1 | #ifndef MOONCAKE_PG_SERIALIZED_EXECUTOR_H | COMMENT |
| LOW | mooncake-pg/include/control_plane/coordinator_host.h | 1 | #ifndef MOONCAKE_PG_COORDINATOR_HOST_H | COMMENT |
| LOW | mooncake-pg/include/control_plane/coordinator_host.h | 21 | COMMENT | |
| LOW | mooncake-pg/include/control_plane/coordinator_host.h | 41 | // +------------------------------------+ | COMMENT |
| LOW | mooncake-pg/include/control_plane/coordinator.h | 1 | #ifndef MOONCAKE_PG_COORDINATOR_H | COMMENT |
| LOW | mooncake-pg/tests/transfer_fault_preload.cpp | 1 | // Copyright 2026 KVCache.AI | COMMENT |
| LOW | mooncake-pg/torch/include/mooncake_backend.h | 1 | #ifndef MOONCAKE_BACKEND_H | COMMENT |
| LOW | mooncake-pg/torch/include/mooncake_backend.h | 61 | // per-operation failedRanks hints, so the caller can decide how to | COMMENT |
| LOW | mooncake-pg/torch/include/work_handles.h | 1 | #ifndef MOONCAKE_WORK_HANDLES_H | COMMENT |
| LOW | mooncake-pg/torch/src/mooncake_backend.cpp | 1 | #include <mooncake_backend.h> | COMMENT |
| LOW | mooncake-pg/torch/src/mooncake_backend.cpp | 161 | .view(outputs[index].sizes())); | COMMENT |
| LOW | mooncake-pg/torch/src/work_handles.cpp | 1 | #include <work_handles.h> | COMMENT |
| LOW | mooncake-pg/torch/src/pg_py.cpp | 1 | #include <mooncake_backend.h> | COMMENT |
| LOW | mooncake-pg/src/p2p_proxy.cpp | 1 | #include <memory> | COMMENT |
| LOW | mooncake-pg/src/p2p_proxy.cpp | 61 | // Consumer-side reliable read. | COMMENT |
| LOW | mooncake-pg/src/p2p_proxy.cpp | 981 | COMMENT | |
| LOW | mooncake-pg/src/mooncake_pg.cpp | 1 | #include <mooncake_pg.h> | COMMENT |
| LOW | mooncake-pg/src/mooncake_communicator.cpp | 1 | #include <mooncake_communicator.h> | COMMENT |
| LOW | mooncake-pg/src/control_plane/link_manager.cpp | 1 | #include "control_plane/link_manager.h" | COMMENT |
| LOW | mooncake-p2p-store/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | mooncake-p2p-store/src/example/p2p-store-example.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/metadata.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/metadata.go | 21 | "math/rand" | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/error.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/catalog.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/core.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/transfer_engine.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-p2p-store/src/p2pstore/registered_memory.go | 1 | // Copyright 2024 KVCache.AI | COMMENT |
| LOW | mooncake-ep/include/mooncake_ep_device.h | 1 | #pragma once | COMMENT |
| LOW | mooncake-ep/include/mooncake_ep_device.h | 21 | COMMENT | |
| 1286 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mooncake-rl/examples/rl_samples.py | 119 | def init_weight_update_connections(self, rollout_manager): | CODE |
| LOW | python/mooncake/mooncake_ep_buffer.py | 29 | def _native_current_stream_ptr() -> int: | CODE |
| LOW | python/mooncake/mooncake_ep_buffer.py | 33 | def _wait_native_event_on_current_stream(event: "ep.EventHandle") -> None: | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 344 | def _atomic_scratch_num_bytes() -> int: | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 398 | def get_engram_storage_size_hint( | CODE |
| LOW⚡ | python/mooncake/mooncake_elastic_buffer.py | 415 | def get_agrs_buffer_size_hint( | CODE |
| LOW⚡ | python/mooncake/mooncake_elastic_buffer.py | 421 | def _calculate_physical_domain_size(group: dist.ProcessGroup) -> Tuple[int, int]: | CODE |
| LOW⚡ | python/mooncake/mooncake_elastic_buffer.py | 433 | def _calculate_logical_domain_size( | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 455 | def _hybrid_num_max_tokens_per_channel( | CODE |
| LOW | python/tests/packaging/test_project.py | 19 | def test_scikit_build_core_is_the_only_build_backend() -> None: | CODE |
| LOW | python/tests/packaging/test_project.py | 38 | def test_dependency_boundaries_are_declared() -> None: | CODE |
| LOW | python/tests/packaging/test_project.py | 52 | def test_tracked_source_roots_contain_no_generated_native_artifacts() -> None: | CODE |
| LOW | python/tests/packaging/test_project.py | 60 | def test_ep_modules_have_one_authoritative_source() -> None: | CODE |
| LOW | python/tests/packaging/test_project.py | 92 | def test_pg_extension_build_stages_outside_the_source_tree( | CODE |
| LOW | python/tests/packaging/test_installed_wheel.py | 24 | def test_wheel_imports_outside_the_repository(tmp_path: Path) -> None: | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 29 | def test_cuda_memset_overhead(): | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 92 | def test_ctrl_buf_init_overhead(): | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 174 | def test_transfer_engine_reg_mr_overhead(): | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 268 | def test_buffer_init_overhead(): | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 352 | def test_transfer_engine_reg_mr(self): | CODE |
| LOW | python/tests/ep/test_ep_grid.py | 34 | def import_torchada_if_needed(): | CODE |
| LOW | python/tests/ep/test_elastic_buffer.py | 42 | def import_torchada_if_needed() -> None: | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/geometry.py | 77 | def _one_dimensional_boxes_overlap( | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/geometry.py | 150 | def _two_dimensional_boxes_overlap( | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/geometry.py | 183 | def _high_dimensional_boxes_overlap( | CODE |
| LOW | …oncake-reshard/python/mooncake/reshard/weight/serde.py | 67 | def weight_placement_from_json(value: str) -> WeightPlacementManifest: | CODE |
| LOW | …ard/python/mooncake/reshard/weight/storage_manifest.py | 380 | def validate_weight_manifest_snapshot(manifest: WeightManifest) -> WeightManifest: | CODE |
| LOW | …ard/python/mooncake/reshard/weight/storage_manifest.py | 432 | def _stored_fragment_from_wire( | CODE |
| LOW | …ard/python/mooncake/reshard/weight/storage_manifest.py | 470 | def _validate_stored_fragments( | CODE |
| LOW | …ard/python/mooncake/reshard/weight/storage_manifest.py | 497 | def _validate_stored_coverage( | CODE |
| LOW | …ard/python/mooncake/reshard/weight/storage_manifest.py | 525 | def _stored_alias_descriptor_key( | CODE |
| LOW | …ard/python/mooncake/reshard/weight/storage_manifest.py | 576 | def _validate_stored_object_ranges( | CODE |
| LOW | …oncake-reshard/python/mooncake/reshard/weight/types.py | 162 | def validate_fragment_geometry( | CODE |
| LOW | …oncake-reshard/python/mooncake/reshard/weight/types.py | 354 | def _canonical_placement_fragment_id( | CODE |
| LOW | …oncake-reshard/python/mooncake/reshard/weight/types.py | 379 | def _validate_parallel_axis_kind(kind: ParallelAxisKind) -> None: | CODE |
| LOW | …ke-reshard/python/mooncake/reshard/weight/placement.py | 348 | def _placement_fragment_identity(fragment: PlacementFragment) -> dict[str, object]: | CODE |
| LOW | …cake-reshard/python/mooncake/reshard/weight/binding.py | 93 | def _validate_runtime_binding_subset( | CODE |
| LOW | …cake-reshard/python/mooncake/reshard/weight/binding.py | 140 | def validate_runtime_bindings( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 63 | def _validate_complete_alias_groups( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 99 | def _validate_complete_weight_placement( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 151 | def _validate_tensor_axis_covers( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 205 | def _validate_undeclared_axis_dependencies( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 249 | def _validate_split_axis_geometry( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 323 | def _validate_split_axis_participation( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 352 | def _fragments_exactly_cover_tensor( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 364 | def _validate_logical_fragment_overlaps( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 386 | def _validate_fragment_geometry( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 399 | def _runtime_alias_descriptor_key(tensor: TensorDescriptor) -> tuple[object, ...]: | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 412 | def _is_exact_declared_runtime_alias( | CODE |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 433 | def _validate_runtime_binding_address_ranges( | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 14 | def _fragments_fully_cover_tensor( | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 48 | def complete_dp_owned_source_owners( | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 96 | def _validate_target_coverage( | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 148 | def complete_parallel_source_replicas( | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 195 | def _validate_local_target_inventory( | CODE |
| LOW | …n/mooncake/reshard/weight/_planner/bound_validation.py | 26 | def _validate_bound_target_coverage(plan: TransferPlan) -> None: | CODE |
| LOW | …n/mooncake/reshard/weight/_planner/bound_validation.py | 125 | def _is_safe_declared_alias_overlap( | CODE |
| LOW | …n/mooncake/reshard/weight/_planner/bound_validation.py | 198 | def _absolute_target_segments( | CODE |
| LOW | …n/mooncake/reshard/weight/_planner/bound_validation.py | 208 | def _budgeted_target_segments( | CODE |
| LOW | …n/mooncake/reshard/weight/_planner/bound_validation.py | 224 | def _target_fragment_scan_key( | CODE |
| 956 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/mooncake/mooncake_ep_buffer.py | 687 | # ----------------- | COMMENT |
| MEDIUM | python/mooncake/mooncake_ep_buffer.py | 689 | # ----------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 8 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 10 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 110 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/setup.py | 151 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/setup.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 168 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 180 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/setup.py | 182 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/mooncake/structured_object_store.py | 6424 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | mooncake-wheel/mooncake/structured_object_store.py | 6426 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 216 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 218 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 250 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 252 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 282 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 284 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 438 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 440 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 470 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 472 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 555 | # -------------------------- | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 557 | # -------------------------- | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 23 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 25 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 36 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 38 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 63 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 65 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 184 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 186 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 563 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 565 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 649 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/benchmark.py | 651 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/layout/mla.py | 12 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/layout/mla.py | 14 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/layout/mla.py | 121 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/layout/mla.py | 123 | # ============================================================================ | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/storage/disk.py | 133 | # ======================================================================== | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/storage/disk.py | 135 | # ======================================================================== | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/storage/disk.py | 248 | # ======================================================================== | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/storage/disk.py | 250 | # ======================================================================== | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/storage/disk.py | 307 | # ======================================================================== | COMMENT |
| MEDIUM | benchmarks/storage_benchmark_v1/storage/disk.py | 309 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | scripts/test_tensor_api.py | 141 | # ========================================== | COMMENT |
| MEDIUM⚡ | scripts/test_tensor_api.py | 143 | # ========================================== | COMMENT |
| MEDIUM⚡ | scripts/test_tensor_api.py | 409 | # ========================================== | COMMENT |
| MEDIUM⚡ | scripts/test_tensor_api.py | 411 | # ========================================== | COMMENT |
| MEDIUM⚡ | scripts/test_tensor_api.py | 2070 | # ========================================== | COMMENT |
| MEDIUM⚡ | scripts/test_tensor_api.py | 2072 | # ========================================== | COMMENT |
| MEDIUM | scripts/test_tensor_api.py | 26 | # ========================================== | COMMENT |
| MEDIUM | scripts/test_tensor_api.py | 28 | # ========================================== | COMMENT |
| MEDIUM | scripts/test_tensor_api.py | 391 | # ========================================== | COMMENT |
| MEDIUM | scripts/test_tensor_api.py | 393 | # ========================================== | COMMENT |
| 41 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mooncake/__init__.py | 3 | CODE | |
| LOW | python/mooncake/__init__.py | 3 | CODE | |
| LOW | python/tests/packaging/test_project.py | 1 | CODE | |
| LOW | python/tests/packaging/test_installed_wheel.py | 1 | CODE | |
| LOW | python/tests/ep/test_ep_grid.py | 38 | CODE | |
| LOW | python/tests/ep/test_elastic_buffer.py | 20 | CODE | |
| LOW | python/tests/ep/test_elastic_buffer.py | 45 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/_typing.py | 6 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/_typing.py | 8 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/__init__.py | 3 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/__init__.py | 3 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/__init__.py | 3 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/__init__.py | 3 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/geometry.py | 3 | CODE | |
| LOW | mooncake-reshard/python/mooncake/reshard/_compat.py | 3 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 3 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 3 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 3 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 8 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 8 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 8 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 13 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 13 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 13 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 18 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 31 | CODE | |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 31 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 4 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 5 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 6 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 7 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 7 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 8 | CODE | |
| LOW | …oncake-reshard/python/mooncake/reshard/weight/serde.py | 8 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 3 | CODE | |
| 190 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mooncake/mooncake_ep_buffer.py | 296 | except Exception as e: | CODE |
| LOW | python/mooncake/mooncake_ep_buffer.py | 310 | except Exception: | CODE |
| LOW | python/mooncake/mooncake_ep_buffer.py | 322 | except Exception: | CODE |
| LOW | python/mooncake/mooncake_ep_buffer.py | 334 | except Exception: | CODE |
| LOW | python/mooncake/mooncake_ep_buffer.py | 350 | except Exception: | CODE |
| MEDIUM | python/mooncake/mooncake_ep_buffer.py | 319 | def _is_mooncake_backend(self) -> bool: | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 299 | except Exception as exc: | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 373 | except Exception: | CODE |
| LOW⚡ | python/mooncake/mooncake_elastic_buffer.py | 427 | except Exception: | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 264 | except Exception as e: | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 299 | except Exception: | CODE |
| LOW | python/tests/ep/test_regmr_overhead.py | 334 | except Exception as e: | CODE |
| LOW⚡ | python/tests/ep/test_regmr_overhead.py | 407 | except Exception as e: | CODE |
| LOW⚡ | python/tests/ep/test_regmr_overhead.py | 416 | except Exception: | CODE |
| MEDIUM | python/tests/ep/test_regmr_overhead.py | 445 | print("Error: WORLD_SIZE must be at least 2 for distributed tests") | CODE |
| LOW | python/tests/ep/test_mooncake_ep.py | 346 | except Exception: | CODE |
| LOW | python/tests/ep/test_ep_grid.py | 245 | except Exception: | CODE |
| LOW | python/tests/ep/test_ep_grid.py | 402 | except Exception: | CODE |
| MEDIUM | .claude/skills/mooncake-api/SKILL.md | 446 | print("Error checking existence") | CODE |
| LOW⚡ | mooncake-wheel/setup.py | 101 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/http_metadata_server.py | 121 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_unregister.py | 55 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_unregister.py | 220 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_unregister.py | 289 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/vllm_v1_proxy_server.py | 247 | except Exception as e: | CODE |
| MEDIUM | mooncake-wheel/mooncake/vllm_v1_proxy_server.py | 252 | print(f"Error occurred in disagg prefill proxy server - {api} endpoint") | CODE |
| LOW | mooncake-wheel/mooncake/spdk_tgt_create.py | 152 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/spdk_tgt_create.py | 447 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/spdk_tgt_create.py | 535 | except Exception as e: | CODE |
| LOW⚡ | mooncake-wheel/mooncake/structured_object_store.py | 4697 | except Exception: | CODE |
| LOW⚡ | mooncake-wheel/mooncake/structured_object_store.py | 4704 | except Exception: | CODE |
| LOW⚡ | mooncake-wheel/mooncake/structured_object_store.py | 6294 | except Exception as error: | CODE |
| LOW⚡ | mooncake-wheel/mooncake/structured_object_store.py | 6303 | except Exception: | CODE |
| LOW⚡ | mooncake-wheel/mooncake/structured_object_store.py | 6311 | except Exception as error: | CODE |
| LOW⚡ | mooncake-wheel/mooncake/structured_object_store.py | 6436 | except Exception: # pragma: no cover | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 18 | except Exception: # pragma: no cover - depends on built extension | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 26 | except Exception: # pragma: no cover | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 1620 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 3686 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 3747 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 3774 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4142 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4314 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4634 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4666 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4885 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 5041 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 5077 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 6402 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 6412 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 475 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 535 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 589 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 607 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 615 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 646 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 688 | except Exception: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_connector_v1.py | 559 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_connector_v1.py | 576 | except Exception as e: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_connector_v1.py | 583 | except Exception as e: | CODE |
| 126 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 671 | # Step 1: All ranks participate in first collective | COMMENT |
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 676 | # Step 2: Broken rank exits after first collective | COMMENT |
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 681 | # Step 3: Survivors wait for broken rank to exit | COMMENT |
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 684 | # Step 4: Survivors run collective without broken rank | COMMENT |
| LOW | docs/source/design/tent/metrics.md | 317 | ### Step 1: Declare the Metric | COMMENT |
| LOW | docs/source/design/tent/metrics.md | 332 | ### Step 2: Register the Metric | COMMENT |
| LOW | docs/source/design/tent/metrics.md | 352 | ### Step 3: Add Recording Methods (Optional) | COMMENT |
| LOW⚡ | docs/source/api-reference/python/mooncake-store.md | 374 | # Step 1: Register the buffer | COMMENT |
| LOW⚡ | docs/source/api-reference/python/mooncake-store.md | 379 | # Step 2: Zero-copy store | COMMENT |
| LOW⚡ | docs/source/api-reference/python/mooncake-store.md | 386 | # Step 3: Pre-allocate buffer for retrieval | COMMENT |
| LOW⚡ | docs/source/api-reference/python/mooncake-store.md | 391 | # Step 4: Register receive buffer | COMMENT |
| LOW⚡ | docs/source/api-reference/python/mooncake-store.md | 396 | # Step 5: Zero-copy retrieval | COMMENT |
| LOW⚡ | docs/source/api-reference/python/mooncake-store.md | 405 | # Step 6: Clean up - unregister both buffers | COMMENT |
| LOW | docs/source/deployment/ssd/ssd-offload.md | 20 | ### Step 1: Create the SSD storage directory | COMMENT |
| LOW | docs/source/deployment/ssd/ssd-offload.md | 26 | ### Step 2: Start the master | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 235 | // Step 1: Submit on "RDMA" — should fail (proxy injects fault) | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 239 | // Step 2: Failover logic (mirrors resubmitTransferTask) | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 247 | // Step 3: Submit on "TCP" — should succeed | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 251 | // Step 4: Verify completion | COMMENT |
| LOW⚡ | mooncake-transfer-engine/tent/tests/failover_test.cpp | 153 | // Step 1: RDMA reports FAILED | COMMENT |
| LOW⚡ | mooncake-transfer-engine/tent/tests/failover_test.cpp | 157 | // Step 2: resubmitTransferTask logic (simulated) | COMMENT |
| LOW | mooncake-transfer-engine/tent/tests/failover_test.cpp | 172 | // Step 3: TCP succeeds | COMMENT |
| LOW | …e-transfer-engine/tent/src/runtime/admission_queue.cpp | 320 | // Step 3: an owner predicted to miss its deadline is dropped (not | COMMENT |
| LOW | …ude/cachelib_memory_allocator/include/fmt/format-inl.h | 2080 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | …ude/cachelib_memory_allocator/include/fmt/format-inl.h | 2123 | // Step 2: Try larger divisor; remove trailing zeros if necessary | COMMENT |
| LOW | …ude/cachelib_memory_allocator/include/fmt/format-inl.h | 2159 | // Step 3: Find the significand with the smaller divisor | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 53 | // Step 1: Create a store handle. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 65 | // Step 2: Connect to the metadata server and transport layer. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 93 | // Step 3: Put a key/value pair (copies data into the store). | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 106 | // Step 4: Check existence. | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 113 | // Step 5: Get size. | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 119 | // Step 6: Retrieve the value. | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 128 | // Step 7: Put with explicit replication config. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 142 | // Step 8: Remove the keys. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 153 | // Step 9: Demonstrate error handling for a missing key. | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1176 | // Step 1: Simulate cache miss — get a free block | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1180 | // Step 2: Write data directly into the block (simulating TransferRead | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1185 | // Step 3: Set metadata and insert into LRU | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1190 | // Step 4: Re-acquire ref via GetHotKey | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1196 | // Step 5: Create BufferHandle in view mode | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1063 | // Step 1: Mount segment and create a completed MEMORY replica. | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1082 | // Step 2: Mount local disk segment and add LOCAL_DISK replica via | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1110 | // Step 3: Remove the object (removes both MEMORY and LOCAL_DISK replicas). | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1125 | // Step 4: Test SSD hit path by creating an object with only a LOCAL_DISK | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 381 | // Step 2: Create copy task via master | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 389 | // Step 3: Wait for task to be fetched and executed by the assigned client | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 394 | // Step 4: Copy adds the target and preserves the source replica. | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 397 | // Step 5: Verify data integrity. | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 437 | // Step 2: Create move task via master | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 445 | // Step 3: Wait for task to be fetched and executed by the assigned client | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 450 | // Step 4: Move adds the target and removes the source replica. | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 453 | // Step 5: Verify data integrity. | COMMENT |
| LOW | mooncake-store/tests/task_integration_test.cpp | 357 | // Step 1: Put data on client1 | COMMENT |
| LOW | mooncake-store/tests/task_integration_test.cpp | 413 | // Step 1: Put data on client1 | COMMENT |
| LOW | mooncake-store/tests/task_integration_test.cpp | 796 | // Step 1: Put multiple keys on client1 | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 880 | // Step 1: Create a snapshot using a service | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 889 | // Step 2: Create a new service with restore + backup_dir set | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 918 | // Step 1: Create a snapshot using a service | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 927 | // Step 2: Create a new service with restore but NO backup_dir | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1123 | // Step 2: Persist state | COMMENT |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 671 | # Step 1: All ranks participate in first collective | COMMENT |
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 676 | # Step 2: Broken rank exits after first collective | COMMENT |
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 681 | # Step 3: Survivors wait for broken rank to exit | COMMENT |
| LOW⚡ | mooncake-pg/tests/test_pg_elastic.py | 684 | # Step 4: Survivors run collective without broken rank | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 235 | // Step 1: Submit on "RDMA" — should fail (proxy injects fault) | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 239 | // Step 2: Failover logic (mirrors resubmitTransferTask) | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 247 | // Step 3: Submit on "TCP" — should succeed | COMMENT |
| LOW⚡ | …oncake-transfer-engine/tent/tests/fault_proxy_test.cpp | 251 | // Step 4: Verify completion | COMMENT |
| LOW⚡ | mooncake-transfer-engine/tent/tests/failover_test.cpp | 153 | // Step 1: RDMA reports FAILED | COMMENT |
| LOW⚡ | mooncake-transfer-engine/tent/tests/failover_test.cpp | 157 | // Step 2: resubmitTransferTask logic (simulated) | COMMENT |
| LOW | mooncake-transfer-engine/tent/tests/failover_test.cpp | 172 | // Step 3: TCP succeeds | COMMENT |
| LOW | …e-transfer-engine/tent/src/runtime/admission_queue.cpp | 320 | // Step 3: an owner predicted to miss its deadline is dropped (not | COMMENT |
| LOW | mooncake-store/include/client_metric.h | 256 | // For dynamic metrics, we need to check if there are any labels with | COMMENT |
| LOW | …ude/cachelib_memory_allocator/include/fmt/format-inl.h | 2080 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | …ude/cachelib_memory_allocator/include/fmt/format-inl.h | 2123 | // Step 2: Try larger divisor; remove trailing zeros if necessary | COMMENT |
| LOW | …ude/cachelib_memory_allocator/include/fmt/format-inl.h | 2159 | // Step 3: Find the significand with the smaller divisor | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 53 | // Step 1: Create a store handle. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 65 | // Step 2: Connect to the metadata server and transport layer. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 93 | // Step 3: Put a key/value pair (copies data into the store). | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 106 | // Step 4: Check existence. | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 113 | // Step 5: Get size. | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 119 | // Step 6: Retrieve the value. | COMMENT |
| LOW⚡ | mooncake-store/rust/examples/basic_usage.rs | 128 | // Step 7: Put with explicit replication config. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 142 | // Step 8: Remove the keys. | COMMENT |
| LOW | mooncake-store/rust/examples/basic_usage.rs | 153 | // Step 9: Demonstrate error handling for a missing key. | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1176 | // Step 1: Simulate cache miss — get a free block | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1180 | // Step 2: Write data directly into the block (simulating TransferRead | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1185 | // Step 3: Set metadata and insert into LRU | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1190 | // Step 4: Re-acquire ref via GetHotKey | COMMENT |
| LOW⚡ | mooncake-store/tests/client_local_hot_cache_test.cpp | 1196 | // Step 5: Create BufferHandle in view mode | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1063 | // Step 1: Mount segment and create a completed MEMORY replica. | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1082 | // Step 2: Mount local disk segment and add LOCAL_DISK replica via | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1110 | // Step 3: Remove the object (removes both MEMORY and LOCAL_DISK replicas). | COMMENT |
| LOW | mooncake-store/tests/master_metrics_test.cpp | 1125 | // Step 4: Test SSD hit path by creating an object with only a LOCAL_DISK | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 381 | // Step 2: Create copy task via master | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 389 | // Step 3: Wait for task to be fetched and executed by the assigned client | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 394 | // Step 4: Copy adds the target and preserves the source replica. | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 397 | // Step 5: Verify data integrity. | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 437 | // Step 2: Create move task via master | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 445 | // Step 3: Wait for task to be fetched and executed by the assigned client | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 450 | // Step 4: Move adds the target and removes the source replica. | COMMENT |
| LOW⚡ | mooncake-store/tests/task_integration_test.cpp | 453 | // Step 5: Verify data integrity. | COMMENT |
| LOW | mooncake-store/tests/task_integration_test.cpp | 357 | // Step 1: Put data on client1 | COMMENT |
| LOW | mooncake-store/tests/task_integration_test.cpp | 413 | // Step 1: Put data on client1 | COMMENT |
| LOW | mooncake-store/tests/task_integration_test.cpp | 796 | // Step 1: Put multiple keys on client1 | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 880 | // Step 1: Create a snapshot using a service | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 889 | // Step 2: Create a new service with restore + backup_dir set | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 918 | // Step 1: Create a snapshot using a service | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 927 | // Step 2: Create a new service with restore but NO backup_dir | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1123 | // Step 2: Persist state | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1129 | // Step 3: Restore into a new service | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1223 | // Step 2: Persist state | COMMENT |
| LOW⚡ | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1229 | // Step 3: Restore into a new service | COMMENT |
| LOW | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 902 | // Step 3: Verify backup files were created in | COMMENT |
| LOW | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 939 | // Step 3: Verify NO backup directory was created | COMMENT |
| LOW | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1078 | // Step 1: Create service and add both clean and dirty data | COMMENT |
| LOW | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1141 | // Step 4: Verify non-COMPLETE replica was cleaned, complete one remains | COMMENT |
| LOW | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1152 | // Step 1: Create service with long lease TTL | COMMENT |
| LOW | …tore/tests/ha/snapshot/snapshot_child_process_test.cpp | 1241 | // Step 4: Verify normal data retained, expired-lease data cleaned | COMMENT |
| LOW | mooncake-store/src/storage_backend.cpp | 1903 | // Step 1: Build read plan by copying metadata under lock | COMMENT |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mooncake-wheel/mooncake/cli_bench.py | 0 | main entry point for the mooncake_master command. simply runs the mooncake_master binary with all arguments passed throu | STRING |
| HIGH | mooncake-wheel/mooncake/cli_client.py | 0 | main entry point for the mooncake_master command. simply runs the mooncake_master binary with all arguments passed throu | STRING |
| HIGH | mooncake-wheel/mooncake/cli.py | 0 | main entry point for the mooncake_master command. simply runs the mooncake_master binary with all arguments passed throu | STRING |
| HIGH | mooncake-wheel/tests/test_dummy_client.py | 0 | test class for single store operations (no replication). | STRING |
| HIGH | …ncake-wheel/tests/test_distributed_object_store_cxl.py | 0 | test class for single store operations (no replication). | STRING |
| HIGH | mooncake-wheel/tests/test_distributed_object_store.py | 0 | test class for single store operations (no replication). | STRING |
| HIGH | mooncake-wheel/tests/test_dummy_client.py | 0 | test basic put/get/exist operations through the python interface. | STRING |
| HIGH | …ncake-wheel/tests/test_distributed_object_store_cxl.py | 0 | test basic put/get/exist operations through the python interface. | STRING |
| HIGH | mooncake-wheel/tests/test_distributed_object_store.py | 0 | test basic put/get/exist operations through the python interface. | STRING |
| HIGH | mooncake-wheel/tests/test_dummy_client.py | 0 | test batch is_exist operations through the python interface. | STRING |
| HIGH | …ncake-wheel/tests/test_distributed_object_store_cxl.py | 0 | test batch is_exist operations through the python interface. | STRING |
| HIGH | mooncake-wheel/tests/test_distributed_object_store.py | 0 | test batch is_exist operations through the python interface. | STRING |
| HIGH | mooncake-wheel/tests/test_dummy_client.py | 0 | end-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.py | 0 | end-to-end fuzz test comparing distributed store behavior with dict. performs ~1000 random operations (put, get, remove) | STRING |
| HIGH | mooncake-wheel/tests/test_distributed_object_store.py | 0 | end-to-end fuzz test comparing distributed store behavior with dict. performs ~1000 random operations (put, get, remove) | STRING |
| HIGH | mooncake-wheel/tests/test_dummy_client.py | 0 | test replicateconfig class creation and property access. | STRING |
| HIGH | …ncake-wheel/tests/test_distributed_object_store_cxl.py | 0 | test replicateconfig class creation and property access. | STRING |
| HIGH | mooncake-wheel/tests/test_distributed_object_store.py | 0 | test replicateconfig class creation and property access. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mooncake/mooncake_ep_buffer.py | 709 | CODE | |
| LOW | python/mooncake/mooncake_ep_buffer.py | 927 | CODE | |
| LOW | python/tests/ep/ep_test_utils.py | 156 | CODE | |
| LOW | python/tests/ep/test_regmr_overhead.py | 174 | CODE | |
| LOW | python/tests/ep/test_mooncake_ep.py | 25 | CODE | |
| LOW | …e-reshard/python/mooncake/reshard/weight/validation.py | 433 | CODE | |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 96 | CODE | |
| LOW | …n/mooncake/reshard/weight/_planner/bound_validation.py | 256 | CODE | |
| LOW | …eshard/python/mooncake/reshard/weight/_planner/core.py | 146 | CODE | |
| LOW | …ard/python/mooncake/reshard/weight/_planner/binding.py | 125 | CODE | |
| LOW | …ard/python/mooncake/reshard/weight/_planner/binding.py | 314 | CODE | |
| LOW | mooncake-wheel/setup.py | 28 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_unregister.py | 20 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_unregister.py | 78 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_unregister.py | 120 | CODE | |
| LOW | mooncake-wheel/mooncake/spdk_tgt_create.py | 66 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_config.py | 127 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 1901 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 2384 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 2589 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 2707 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 2950 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 5691 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 6590 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 686 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 879 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 1188 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 1401 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 1630 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 3606 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4029 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 4671 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 706 | CODE | |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 435 | CODE | |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 483 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_store_service.py | 93 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_store_service.py | 129 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_store_service.py | 285 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_register.py | 21 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_register.py | 93 | CODE | |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_register.py | 135 | CODE | |
| LOW | mooncake-wheel/tests/test_dummy_client.py | 142 | CODE | |
| LOW | mooncake-wheel/tests/test_dummy_client.py | 854 | CODE | |
| LOW | mooncake-wheel/tests/test_structured_object_store.py | 199 | CODE | |
| LOW | …ncake-wheel/tests/test_distributed_object_store_cxl.py | 521 | CODE | |
| LOW | mooncake-wheel/tests/test_safetensor_functions.py | 115 | CODE | |
| LOW | mooncake-wheel/tests/test_offload_on_eviction.py | 69 | CODE | |
| LOW | mooncake-wheel/tests/test_distributed_object_store.py | 644 | CODE | |
| LOW | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 293 | CODE | |
| LOW | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 422 | CODE | |
| LOW | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 322 | CODE | |
| LOW | mooncake-wheel/tests/test_mooncake_config.py | 465 | CODE | |
| LOW | mooncake-wheel/tests/test_promotion_on_hit.py | 93 | CODE | |
| LOW | mooncake-pg/benchmark/pgbench.py | 187 | CODE | |
| LOW | mooncake-pg/tests/test_pg_collectives.py | 14 | CODE | |
| LOW | mooncake-pg/tests/test_pg_init_functional.py | 33 | CODE | |
| LOW | mooncake-pg/tests/test_pg_p2p.py | 89 | CODE | |
| LOW | benchmarks/xypd_benchmarks/proxy_demo.py | 110 | CODE | |
| LOW | benchmarks/xypd_benchmarks/proxy_demo.py | 388 | CODE | |
| LOW | benchmarks/storage_benchmark_v1/benchmark.py | 653 | CODE | |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | mooncake-wheel/mooncake/spdk_tgt_create.py | 195 | class=$(cat "$dev/class" 2>/dev/null || true) | CODE |
| HIGH⚡ | mooncake-wheel/mooncake/spdk_tgt_create.py | 201 | driver=$(basename "$(readlink "$dev/driver" 2>/dev/null)" 2>/dev/null || true) | CODE |
| HIGH⚡ | mooncake-wheel/mooncake/spdk_tgt_create.py | 201 | driver=$(basename "$(readlink "$dev/driver" 2>/dev/null)" 2>/dev/null || true) | CODE |
| HIGH | mooncake-wheel/mooncake/spdk_tgt_create.py | 212 | real_device=$(readlink -f "$block/device" 2>/dev/null || true) | CODE |
| HIGH | mooncake-wheel/mooncake/spdk_tgt_create.py | 265 | driver=$(basename "$(readlink "/sys/bus/pci/devices/$pci/driver" 2>/dev/null)" 2>/dev/null || true) | CODE |
| HIGH | mooncake-wheel/mooncake/spdk_tgt_create.py | 265 | driver=$(basename "$(readlink "/sys/bus/pci/devices/$pci/driver" 2>/dev/null)" 2>/dev/null || true) | CODE |
| HIGH | scripts/test_engram_store.py | 52 | "cd build && cmake .. -DWITH_STORE=ON && make -j 128" | CODE |
| HIGH | …nsfer-engine/example/efa_per_transfer_latency_bench.py | 69 | "| xargs -r kill 2>/dev/null; sleep 1; echo done" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mooncake/__init__.py | 5 | __all__ = ["BufferPool", "RegisteredBufferPool"] | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 313 | def update_ep_member(self) -> None: | CODE |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 894 | __all__ = ["ElasticBuffer", "EPHandle", "EventOverlap"] | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/_typing.py | 10 | __all__ = ["TypeAlias"] | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/__init__.py | 10 | __all__ = [ | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/geometry.py | 258 | __all__ = [ | CODE |
| LOW | …cake-reshard/python/mooncake/reshard/weight/planner.py | 34 | __all__ = [ | CODE |
| LOW | …ake-reshard/python/mooncake/reshard/weight/manifest.py | 19 | __all__ = [ | CODE |
| LOW | …ake-reshard/python/mooncake/reshard/weight/__init__.py | 46 | __all__ = [ | CODE |
| LOW | …cake-reshard/python/mooncake/reshard/weight/runtime.py | 80 | __all__ = ["WeightRuntimeBindingManifest"] | CODE |
| LOW | …ake-reshard/python/mooncake/reshard/weight/topology.py | 152 | __all__ = ["ParallelTopology", "TopologyParticipant"] | CODE |
| LOW | mooncake-reshard/python/mooncake/reshard/weight/part.py | 86 | __all__ = ["WeightPlacementPart"] | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/ownership.py | 213 | __all__ = [ | CODE |
| LOW | …rd/python/mooncake/reshard/weight/_planner/__init__.py | 31 | __all__ = [ | CODE |
| LOW | …reshard/python/mooncake/reshard/weight/_planner/api.py | 160 | __all__ = [ | CODE |
| LOW | …on/mooncake/reshard/weight/_planner/bound_contracts.py | 639 | __all__ = [ | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/contracts.py | 804 | __all__ = [ | CODE |
| LOW | …d/python/mooncake/reshard/weight/_planner/fragments.py | 179 | __all__ = [ | CODE |
| LOW | …ard/python/mooncake/reshard/weight/_planner/binding.py | 621 | __all__ = [ | CODE |
| LOW | …-reshard/python/mooncake/reshard/contracts/__init__.py | 27 | __all__ = [ | CODE |
| LOW | …ncake-reshard/python/mooncake/reshard/contracts/ids.py | 26 | __all__ = [ | CODE |
| LOW | mooncake-wheel/mooncake/buffer_pool.py | 12 | __all__ = ["BufferPool", "RegisteredBufferPool"] | CODE |
| LOW | mooncake-wheel/mooncake/vllm_v1_proxy_server.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | mooncake-wheel/mooncake/spdk_tgt_create.py | 325 | def _setup_spdk(self, ssh: paramiko.SSHClient, spdk_path: str, pci_devices: List[str]) -> None: | CODE |
| LOW | mooncake-wheel/mooncake/mooncake_config.py | 70 | logger = logging.getLogger(__name__) | CODE |
| LOW | mooncake-wheel/mooncake/__init__.py | 9 | __all__ = ["BufferPool", "RegisteredBufferPool"] | CODE |
| LOW | mooncake-wheel/mooncake/dataproto_catalog.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | docs/source/conf.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarks/storage_benchmark_v1/__init__.py | 20 | __all__ = [ | CODE |
| LOW | benchmarks/storage_benchmark_v1/layout/__init__.py | 10 | __all__ = [ | CODE |
| LOW | benchmarks/storage_benchmark_v1/storage/__init__.py | 10 | __all__ = [ | CODE |
| LOW | scripts/tone_tests/python/toy_proxy_server.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | mooncake-integration/allocator_ascend_npu.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | mooncake-integration/fabric_allocator_utils.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | mooncake-integration/allocator.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | mooncake-integration/shared_segment.py | 40 | __all__ = [ | CODE |
| LOW | …ransfer-engine/tests/fault-tolerant/transfer_engine.py | 4 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mooncake-wheel/pyproject.toml | 3 | # This file is built from this directory; scripts/build_wheel.sh `cd`s | COMMENT |
| MEDIUM | …ncake-wheel/tests/test_distributed_object_store_cxl.py | 77 | # Create a new store instance with zero local buffer size | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_safetensor_functions.py | 56 | # Create a test tensor | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_distributed_object_store.py | 110 | # Create a new store instance with zero local buffer size | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_put_get_tensor.py | 23 | # Define a test class for serialization | COMMENT |
| MEDIUM | scripts/test_copy_move_api.py | 162 | # Create a coordinator client to run tests | COMMENT |
| MEDIUM | scripts/test_tensor_api.py | 539 | # Create a small tensor (e.g., 16MB) | COMMENT |
| MEDIUM | scripts/test_tensor_api.py | 849 | # Create a small tensor (e.g., 16MB) | COMMENT |
| MEDIUM | scripts/tone_tests/python/toy_proxy_server.py | 1 | # This file is from the vllm community: ./tests/v1/kv_connector/nixl_integration/toy_proxy_server.py | COMMENT |
| MEDIUM | scripts/ascend/dependencies_ascend_installation.sh | 17 | # Define a function to handle the git clone operation | COMMENT |
| MEDIUM | scripts/ascend/dependencies_ascend.sh | 27 | # Define a function to handle the git clone operation | COMMENT |
| MEDIUM | mooncake-store/tests/e2e/run_oplog_batch_cluster.sh | 417 | # This file is generated by this script with shell-escaped values. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | mooncake-wheel/setup.py | 22 | # packaging ≥20 provides a robust glibc detector used by pip/build | COMMENT |
| MEDIUM | mooncake-wheel/mooncake/mooncake_connector_v1.py | 435 | # Tasks can await async events, so a surplus (2x is a robust heuristic) | COMMENT |
| MEDIUM | mooncake-wheel/tests/test_ssd_offload_in_evict.py | 162 | """Print comprehensive statistics for the test.""" | STRING |
| MEDIUM | …-transfer-engine/tent/tests/metrics_recording_test.cpp | 101 | // tests are robust to singleton state accumulated by prior tests. | COMMENT |
| MEDIUM | mooncake-store/tests/stress_cluster_benchmark.py | 124 | """Calculate and return comprehensive performance statistics.""" | STRING |
| MEDIUM | mooncake-store/tests/stress_cluster_benchmark.py | 331 | """Print comprehensive performance statistics in a structured format.""" | STRING |
| MEDIUM | mooncake-store/benchmarks/batch_remove_benchmark.py | 12 | # Run comprehensive tests | STRING |
| MEDIUM | mooncake-store/src/client_service.cpp | 2228 | // Helper methods for robust state management | COMMENT |
| MEDIUM | mooncake-store/src/client_service.cpp | 2381 | // Process individual responses with robust error handling | COMMENT |
| MEDIUM | mooncake-store/src/client_service.cpp | 2460 | // Process individual responses with robust error handling | COMMENT |
| MEDIUM | mooncake-store/src/transfer_task.cpp | 177 | // to fully utilize the available ssd bandwidth, we use a default of 10 worker | COMMENT |
| MEDIUM | mooncake-store/src/transfer_task.cpp | 293 | // to fully utilize the available ssd bandwidth, we use a default of 4 worker | COMMENT |
| MEDIUM | mooncake-store/src/utils/s3_helper.cpp | 330 | // the network For GB-sized files, 2 concurrent downloads can fully utilize | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dependencies.sh | 229 | # Check if .gitmodules exists | COMMENT |
| LOW | python/tests/ep/test_regmr_overhead.py | 367 | # Check if distributed environment is already initialized | COMMENT |
| LOW⚡ | python/tests/ep/test_regmr_overhead.py | 425 | # Check if we should run with multiprocessing (for distributed tests) | COMMENT |
| LOW | mooncake-wheel/mooncake/spdk_tgt_create.py | 305 | # Check if tgt is already running | COMMENT |
| LOW | mooncake-wheel/mooncake/mooncake_ssd_register.py | 257 | # Check if the error is due to the segment already existing on the server | COMMENT |
| LOW | mooncake-wheel/tests/test_cli.py | 14 | # Check if mooncake_master is in PATH | COMMENT |
| LOW | mooncake-wheel/tests/test_cli.py | 79 | # Check if process is running | COMMENT |
| LOW | benchmarks/storage_benchmark_v1/benchmark.py | 738 | # Print results | COMMENT |
| LOW⚡ | scripts/test_installation.sh | 55 | # Check if the mooncake_master entry point is installed and executable | COMMENT |
| LOW⚡ | scripts/test_installation.sh | 60 | # Check if the mooncake_client entry point is installed and executable | COMMENT |
| LOW⚡ | scripts/test_installation.sh | 65 | # Check if the transfer_engine_bench entry point is installed and executable | COMMENT |
| LOW | scripts/run_tests.sh | 160 | # Check if MOONCAKE_STORAGE_ROOT_DIR is set and not empty | COMMENT |
| LOW | scripts/code_format.sh | 367 | # Check if file actually changed | COMMENT |
| LOW | scripts/tone_tests/scripts/common.sh | 91 | # Check if sglang-router is needed and missing | COMMENT |
| LOW | scripts/tone_tests/scripts/run_test.sh | 104 | # Check if ARTIFACT_ID matches current environment | COMMENT |
| LOW | scripts/tone_tests/scripts/run_test.sh | 110 | # Check if whl package exists | COMMENT |
| LOW | .github/workflows/ci_ascend.yml | 223 | # Check if master is running | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mooncake-pg/benchmark/pgbench.py | 525 | # Aggregate times as requested | COMMENT |
| HIGH | mooncake-store/tests/offset_allocator_test.cpp | 1099 | // ========== EDGE CASE TESTS, Generated by AI ========== | COMMENT |
| HIGH | mooncake-store/tests/offset_allocator_test.cpp | 1242 | // ========== BIN SYSTEM TESTS, Generated by AI ========== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | benchmarks/storage_benchmark_v1/layout/mla.py | 126 | Get MLA model configuration by name Args: model_name: Model identifier (e.g., 'glm5', 'kimi-k2.6') Ret | STRING |
| HIGH | benchmarks/storage_benchmark_v1/layout/mla.py | 144 | Create an MLALayout instance from model configuration Args: model_config: Model configuration dictionary wi | STRING |
| HIGH | scripts/ascend/perf/hccl_tools.py | 26 | parse args . Args: Returns: args. Examples: >>> parse_args() | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 190 | - **Distributed KV cache pooling and sharing**: [Mooncake Store extends vLLM](https://vllm.ai/blog/2026-05-06-mooncake-s | CODE |
| MEDIUM | …s/source/deployment/mooncake-store-deployment-guide.md | 123 | The simplest deployment, as shown in [Quick Start](#quick-start). A single `mooncake_master` orchestrates clients over T | CODE |
| MEDIUM | docs/source/performance/vllm/vllm-v1-mooncake-store.md | 11 | ## Speeding up real agentic traces | COMMENT |
| MEDIUM | mooncake-transfer-engine/tent/tests/CMakeLists.txt | 368 | # ProgressWorker skeleton test: covers default-off behavior, event-driven | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mooncake/mooncake_elastic_buffer.py | 104 | CODE | |
| LOW | python/mooncake/mooncake_elastic_buffer.py | 484 | CODE | |
| LOW | …eshard/tests/model_weight_placement_binding/helpers.py | 96 | CODE | |
| LOW | mooncake-reshard/tests/model_weight_planner/helpers.py | 68 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 736 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 769 | CODE | |
| LOW | mooncake-wheel/mooncake/structured_object_store.py | 879 | CODE | |
| LOW | mooncake-pg/tests/pg_test_utils.py | 190 | CODE | |
| LOW | mooncake-ep/benchmarks/ep_benchmark/metrics.py | 62 | CODE | |
| LOW | benchmarks/storage_benchmark_v1/benchmark.py | 412 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/code_format.sh | 9 | # Usage: | COMMENT |