Miles is an enterprise-facing reinforcement learning framework for LLM and VLM post-training, forked from and co-evolving with slime.
This report summarizes scanner evidence for radixark/miles, a Python project with 3,245 GitHub stars. SynthScan examined 579,957 lines of code across 3702 source files, recording 17675 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 36.1 (High 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 15410 finding(s).
Are imports declared and package/API names verified? 786 finding(s).
Are wrappers, guards, and repeated structures necessary? 16174 finding(s).
Which changes need focused human review? 17675 finding(s).
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.
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.
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.
The scanner identified 17675 distinct pattern matches across 23 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_nvfp4.py | 75 | def _is_routed_expert_weight_name(name: str) -> bool: | CODE |
| LOW | tools/convert_hf_to_nvfp4.py | 185 | def _update_quantization_config(cfg: dict, ignore_list: list[str]) -> None: | CODE |
| LOW | tools/convert_hf_to_nvfp4.py | 264 | def _collect_gated_pair_locations( | CODE |
| LOW | tools/convert_hf_to_torch_dist.py | 84 | def _compute_conversion_config(args: Namespace) -> _ConversionConfig: | CODE |
| LOW | tools/convert_hf_to_torch_dist.py | 97 | def _configure_pipeline_parallel(args: Namespace, *, world_size: int) -> None: | CODE |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 380 | def compute_dcp_load_accounting(storage_data: dict[Any, Any], plan: LoadPlan) -> tuple[int, int, int]: | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 390 | def prepare_cached_metadata_for_reader( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 480 | def is_supported_moe_read_item(read_item: Any, source_key: str, tensor_size: torch.Size) -> bool: | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 506 | def create_full_tensor_read_items(source_key: str, metadata: dist_cp.metadata.Metadata) -> list[Any]: | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 513 | def create_direct_moe_read_items(block: MoeBlockSpec, md: dist_cp.metadata.TensorStorageMetadata) -> list[ReadItem]: | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 578 | def converted_moe_tensors_from_chunk( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 698 | def tensor_metadata_from_checkpoint_metadata( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 777 | def collect_moe_blocks_by_file( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 963 | def prepare_moe_block_task_tensors( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 981 | def prepare_whole_source_task_tensors( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 1006 | def write_prepared_tensor_groups( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 1057 | def initialize_worker_cuda_device(actor_id: int, quantization_config: dict[str, Any] | None) -> int | None: | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 1308 | def convert_torch_dist_to_hf_ray(args: Args) -> str: | STRING |
| LOW | tools/convert_hf_to_int4_direct.py | 76 | def round_to_quantized_type_dtype( | CODE |
| LOW | miles_plugins/mbridge/qwen3_8_next.py | 137 | def _weight_name_mapping_vision(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/qwen3_8_next.py | 167 | def _weight_name_mapping_other(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/qwen3_8_next.py | 186 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/deepseek_v4.py | 87 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 74 | def _hf_config_with_rope_fields(self): | CODE |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 81 | def _using_hf_config_with_rope_fields(self): | CODE |
| LOW | miles_plugins/mbridge/mimo.py | 49 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/inkling.py | 82 | def _adjust_mapping_for_shared_weights(self): | CODE |
| LOW | miles_plugins/mbridge/inkling.py | 85 | def _get_hf_shared_weight_keys(self): | CODE |
| LOW⚡ | miles_plugins/mbridge/qwen3_5.py | 174 | def _adjust_mapping_for_shared_weights(self): | CODE |
| LOW⚡ | miles_plugins/mbridge/qwen3_5.py | 180 | def _get_hf_shared_weight_keys(self) -> list[str]: | CODE |
| LOW⚡ | miles_plugins/mbridge/qwen3_5.py | 185 | def _supports_transformer_config_kwarg(self, kwarg_name: str) -> bool: | CODE |
| LOW | miles_plugins/mbridge/qwen3_5.py | 205 | def _get_transformer_layer_spec(self, vp_stage=None): | CODE |
| LOW | miles_plugins/mbridge/qwen3_5.py | 307 | def _weight_name_mapping_mtp_mlp(self, name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/qwen3_5.py | 326 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/glm5_next.py | 102 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/glm4.py | 64 | def _get_transformer_layer_spec(self): | CODE |
| LOW | miles_plugins/mbridge/glm4.py | 83 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/deepseek_v4_1.py | 73 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/glm4moe.py | 64 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/kimi_k3.py | 202 | def _get_transformer_layer_spec(self, vp_stage=None): | CODE |
| LOW | miles_plugins/mbridge/kimi_k3.py | 214 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/qwen3_next.py | 132 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/linear_attn.py | 4 | def _weight_name_mapping_mcore_local_to_global(self, model): | CODE |
| LOW | miles_plugins/mbridge/patch/dequant_fp8_device.py | 9 | def _safe_open_on_current_device(filename, framework, device="cpu"): | CODE |
| LOW | miles_plugins/megatron_bridge/mimo_v2.py | 101 | def get_query_key_value_tensors( | CODE |
| LOW | miles_plugins/megatron_bridge/mimo_v2.py | 296 | def _split_qkv_linear_out_weight(self, megatron_model, linear_out_weight: torch.Tensor) -> dict[str, torch.Tensor]: | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 177 | def _install_nemotronh_hybrid_layer_shims() -> None: | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 212 | def _install_mamba_model_loss_mask_shim() -> None: | CODE |
| LOW | miles_plugins/megatron_bridge/__init__.py | 23 | def _install_bridge_pp_group_unwrap() -> None: | CODE |
| LOW | miles_plugins/megatron_bridge/__init__.py | 46 | def broadcast_obj_from_pp_rank(self, obj, *args, **kwargs): | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 30 | def _patch_allgather_vision_embeddings_kwarg() -> None: | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 82 | def _patch_model_forward_and_rope_index() -> None: | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 148 | def _patch_preprocess_packed_seqs_identity(model_mod) -> None: | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 206 | def _prepare_cp_local_context(parsed): | CODE |
| LOW | miles_plugins/models/hf_attention.py | 184 | def detect_and_setup_hybrid_cp(model: nn.Module, cp_group: dist.ProcessGroup, cp_rank: int, cp_world_size: int) -> int: | CODE |
| LOW | miles_plugins/models/glm5/glm5.py | 511 | def get_absorb_query_key_value_tensors( | CODE |
| LOW | miles_plugins/models/glm5/glm5.py | 698 | def get_query_key_value_tensors(self): | CODE |
| LOW | miles_plugins/models/glm5/glm5.py | 721 | def set_for_recompute_input_layernorm(self): | CODE |
| LOW | miles_plugins/models/inkling/mm_processor.py | 117 | def _reasoning_effort_from_env() -> float | None: | CODE |
| LOW | miles_plugins/models/inkling/mm_processor.py | 126 | def render_inkling_messages_to_ids( | CODE |
| 14592 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | miles_plugins/models/glm5/glm5.py | 220 | # ===================== | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 222 | # ===================== | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 316 | # ================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 318 | # ================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 529 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 531 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 541 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 543 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 557 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 559 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 624 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 626 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/deepseek_v4/ops/thd_utils.py | 215 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | miles_plugins/models/deepseek_v4/ops/thd_utils.py | 219 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | miles_plugins/models/deepseek_v4/ops/thd_utils.py | 336 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | miles_plugins/models/deepseek_v4/ops/thd_utils.py | 340 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | miles_plugins/models/deepseek_v4/ops/v4_indexer.py | 105 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/deepseek_v4/ops/v4_indexer.py | 107 | # ========================================= | COMMENT |
| MEDIUM | tests/test_attention_output_gate_tp.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_attention_output_gate_tp.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_attention_output_gate_tp.py | 84 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_attention_output_gate_tp.py | 86 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_attention_output_gate_tp.py | 121 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_attention_output_gate_tp.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_attention_output_gate_tp.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_attention_output_gate_tp.py | 172 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 107 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 109 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 146 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 174 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 176 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 212 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 335 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 337 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 382 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 384 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/ci/test/test_log_groups.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/ci/test/test_log_groups.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 451 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 453 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 27 | # ============================================================================ | COMMENT |
| MEDIUM | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 29 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 274 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 276 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 281 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 283 | # ============================================================================ | COMMENT |
| MEDIUM | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 328 | # ============================================================================ | COMMENT |
| MEDIUM | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 330 | # ============================================================================ | COMMENT |
| MEDIUM | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 546 | # ============================================================================ | COMMENT |
| MEDIUM | …ts/fast-gpu/kernels/moe/test_fused_experts_backward.py | 548 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 112 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 114 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fast/backends/megatron_utils/test_lora_utils.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fast/backends/megatron_utils/test_lora_utils.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| 558 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_torch_dist.py | 140 | CODE | |
| LOW | tools/param_name_remap.py | 1 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 75 | CODE | |
| LOW | tools/kubernetes/generate_chart_schema.py | 1 | CODE | |
| LOW | tools/kubernetes/lint_charts.py | 1 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 1 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 2 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 3 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 4 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 5 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 6 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 7 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 8 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 9 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 10 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 11 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 12 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 13 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 14 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 15 | CODE | |
| LOW | miles_plugins/mbridge/__init__.py | 16 | CODE | |
| LOW | miles_plugins/mbridge/patch/__init__.py | 1 | CODE | |
| LOW | miles_plugins/megatron_bridge/mimo_v2.py | 24 | CODE | |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 22 | CODE | |
| LOW | miles_plugins/megatron_bridge/__init__.py | 16 | CODE | |
| LOW | miles_plugins/megatron_bridge/__init__.py | 78 | CODE | |
| LOW | miles_plugins/megatron_bridge/__init__.py | 83 | CODE | |
| LOW | miles_plugins/models/qwen3_vl.py | 9 | CODE | |
| LOW | miles_plugins/models/linear_attn.py | 14 | CODE | |
| LOW | miles_plugins/models/linear_attn.py | 146 | CODE | |
| LOW | miles_plugins/models/inkling/mm_towers.py | 1 | CODE | |
| LOW | miles_plugins/models/inkling/mm_processor.py | 1 | CODE | |
| LOW | miles_plugins/models/inkling/audio_processing.py | 1 | CODE | |
| LOW | miles_plugins/models/inkling/vision_encoder.py | 1 | CODE | |
| LOW | miles_plugins/models/inkling/model.py | 4 | CODE | |
| LOW | miles_plugins/models/inkling/layers.py | 4 | CODE | |
| LOW | miles_plugins/models/inkling/image_processing.py | 1 | CODE | |
| LOW | miles_plugins/models/qwen3_8_next/model_provider.py | 18 | CODE | |
| LOW | tests/session_parity_utils.py | 3 | CODE | |
| LOW | tests/ci/test/test_neon_store.py | 15 | CODE | |
| LOW | tests/ci/test/test_metric_history_store.py | 9 | CODE | |
| LOW | tests/ci/test/test_gate_integration.py | 22 | CODE | |
| LOW | tests/ci/test/test_history_gate.py | 8 | CODE | |
| LOW | tests/ci/test/test_metric_selection.py | 4 | CODE | |
| LOW | tests/ci/test/test_log_groups.py | 18 | CODE | |
| LOW | tests/ci/metric_history/register.py | 34 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 15 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 15 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 16 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 16 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 17 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 18 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 18 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 18 | CODE | |
| LOW | tests/ci/metric_history/__init__.py | 18 | CODE | |
| LOW | tests/ci/metric_history/replay.py | 7 | CODE | |
| LOW | tests/ci/metric_history/gate.py | 32 | CODE | |
| LOW | tests/ci/metric_history/constraints.py | 23 | CODE | |
| LOW | tests/ci/metric_history/selection.py | 27 | CODE | |
| LOW | tests/ci/metric_history/storage/store.py | 23 | CODE | |
| 639 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | serve_tinker.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | train_async.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | train_multi_policy.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | train.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/cpu_memory_profiler.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/convert_hf_to_nvfp4.py | 185 | def _update_quantization_config(cfg: dict, ignore_list: list[str]) -> None: | CODE |
| LOW | tools/param_name_remap.py | 3 | __all__ = ["get_param_name_remap"] | CODE |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 279 | def _set_postfix(self) -> None: | STRING |
| LOW | tools/visualize/cpu_memory_profiler_visualize.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/mbridge/__init__.py | 18 | __all__ = [ | CODE |
| LOW | miles_plugins/megatron_bridge/mimo_v2.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/megatron_bridge/__init__.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/hf_attention.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/linear_attn.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/kimi_k3/__init__.py | 7 | __all__ = ["get_kimi_k3_spec"] | CODE |
| LOW | miles_plugins/models/inkling/__init__.py | 19 | __all__ = ["get_inkling_spec", "inkling_mm_model_provider", "inkling_model_provider"] | CODE |
| LOW | miles_plugins/models/inkling/model.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/qwen3_8_next/model_provider.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/qwen3_8_next/ops/ple.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/deepseek_v4_1/engram.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/optimizers/nvme_stream.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/ci/ci_utils.py | 86 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/ci/hardware.py | 16 | __all__ = [ | CODE |
| LOW | tests/ci/ci_register.py | 10 | __all__ = [ | CODE |
| LOW | tests/ci/metric_history/__init__.py | 20 | __all__ = [ | CODE |
| LOW | tests/ci/metric_history/storage/__init__.py | 13 | __all__ = [ | CODE |
| LOW | tests/fast/tools/conversion_main_fixtures.py | 23 | def set_args(self, backend: MegatronArgsNamespace) -> None: | CODE |
| LOW | tests/fast/tools/test_conversion_main.py | 12 | __all__ = ["conversion_runtime"] | CODE |
| LOW | tests/fast/miles_plugins/models/test_backend_specs.py | 11 | __all__ = ["gdn"] | CODE |
| LOW | …les_plugins/models/qwen3_8_next/test_model_provider.py | 8 | __all__ = ["qwen_provider_sdk"] | CODE |
| LOW | …ckends/megatron_utils/test_empty_checkpoint_backend.py | 9 | __all__ = ["model_sdk"] | CODE |
| LOW | …ckends/megatron_utils/test_actor_backend_workspaces.py | 10 | __all__ = ["actor_module"] | CODE |
| LOW | …ackends/megatron_utils/test_lora_constructor_config.py | 8 | __all__ = ["bridge_constructors"] | CODE |
| LOW | tests/fast/backends/megatron_utils/test_actor.py | 287 | def update_weights(self, *, weight_version: int) -> None: | CODE |
| LOW | …/backends/megatron_utils/test_actor_mutation_scopes.py | 19 | __all__ = ["actor_module"] | CODE |
| LOW | …s/megatron_utils/test_actor_checkpoint_input_guards.py | 9 | __all__ = ["actor_module"] | CODE |
| LOW | …fast/backends/megatron_utils/test_typed_model_hooks.py | 22 | __all__ = ["actor_module", "train_one_step_env"] | CODE |
| LOW | …st/backends/megatron_utils/test_training_sdk_config.py | 9 | __all__ = ["model_sdk"] | CODE |
| LOW | …/backends/megatron_utils/test_explicit_train_config.py | 7 | __all__ = ["train_one_step_env"] | CODE |
| LOW | …nds/megatron_utils/test_actor_init_checkpoint_scope.py | 12 | __all__ = ["actor_module"] | CODE |
| LOW | …fast/backends/megatron_utils/test_training_snapshot.py | 18 | __all__ = ["actor_module"] | CODE |
| LOW | …kends/megatron_utils/test_initialization_sdk_config.py | 11 | __all__ = ["initialization_sdk"] | CODE |
| LOW | …nds/megatron_utils/test_actor_explicit_train_config.py | 17 | __all__ = ["actor_module", "train_one_step_env"] | CODE |
| LOW | …t/backends/megatron_utils/test_shared_ppo_lifecycle.py | 890 | def update_weights(self, weight_version: int) -> None: | CODE |
| LOW | …/megatron_utils/test_config_normalization_consumers.py | 6 | __all__ = ["megatron_defaults"] | CODE |
| LOW | …backends/megatron_utils/test_old_actor_weight_queue.py | 14 | __all__ = ["actor_module"] | CODE |
| LOW | …ckends/megatron_utils/test_iteration_backend_config.py | 16 | __all__ = ["model_sdk"] | CODE |
| LOW | …t/backends/megatron_utils/test_explicit_peer_config.py | 19 | __all__ = ["actor_module", "state_dict", "peer_checkpoint_boundary"] | CODE |
| LOW | …ackends/megatron_utils/test_training_snapshot_calls.py | 25 | __all__ = ["actor_module"] | CODE |
| LOW | …_utils/update_weight/test_backend_partition_options.py | 14 | __all__ = ["duplicate_param_model"] | CODE |
| LOW | tests/fast/backends/megatron_utils/lora/conftest.py | 3 | __all__ = ["bridge_args", "bridge_provider"] | CODE |
| LOW | …ron_utils/lora/test_bridge_optional_pipeline_config.py | 8 | __all__ = ["bridge_args", "bridge_provider"] | CODE |
| LOW | …t/backends/fsdp_utils/test_checkpoint_config_fields.py | 11 | __all__ = ["fsdp_checkpoint_sdk"] | CODE |
| LOW | …ckends/fsdp_utils/test_checkpoint_backend_ownership.py | 12 | __all__ = ["cpu_checkpoint_actor"] | CODE |
| LOW | …ast/backends/fsdp_utils/test_init_backend_ownership.py | 14 | __all__ = ["init_backend_capture"] | CODE |
| LOW | tests/fast/backends/fsdp_utils/init_backend_fixtures.py | 50 | def set_model_state_dict(model: torch.nn.Module, state: dict, **kwargs: Any) -> None: | CODE |
| LOW | …/backends/training_utils/test_backend_rollout_sizes.py | 9 | __all__ = ["cpu_rollout_store", "native_backend_owner_state"] | CODE |
| LOW | …s/training_utils/metrics/test_backend_flops_logging.py | 9 | __all__ = ["native_backend_owner_state"] | CODE |
| 374 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/ci/test/test_gpu_job_plan.py | 178 | assert "inputs.plan_already_resolved && inputs.ref" in checkout["with"]["ref"] | CODE |
| HIGH | tests/ci/test/test_gpu_job_plan.py | 212 | assert "'stage-c-4-gpu-b200' && 540 || 360" in rerun["with"]["timeout_minutes"] | CODE |
| HIGH⚡ | tests/ci/test/test_run_suite.py | 626 | assert "github.event.schedule || inputs.ref || github.run_id" in workflow | CODE |
| HIGH⚡ | tests/ci/test/test_run_suite.py | 632 | "group: pr-test-${{ github.event.number || github.event.schedule || inputs.ref || github.run_id }}" | CODE |
| HIGH | tests/ci/test/test_run_suite.py | 653 | "group: pr-test-rocm-${{ github.event.number || github.event.schedule || inputs.ref || github.run_id }}" | CODE |
| HIGH | tests/ci/test/test_run_suite.py | 689 | assert "github.event.schedule || inputs.ref || github.run_id" in workflow | CODE |
| HIGH | tests/ci/test/test_file_run.py | 262 | "GITHUB_COMMIT_NAME: ${{ inputs.ref || github.sha }}_" | CODE |
| HIGH | tests/ci/test/test_file_run.py | 263 | "${{ github.event.pull_request.number || github.event.inputs.pull_number || 'non-pr' }}" | CODE |
| HIGH | tests/fast/launch_scripts/test_sh_harness.py | 30 | AVAILABLE_GPUS=$(python3 -c "import ray; print(int(ray.cluster_resources().get('GPU', 0)))" 2>/dev/null || echo 0) | CODE |
| HIGH | …st/backends/megatron_utils/test_checkpoint_transfer.py | 550 | # Empty view shares its base's storage (data_ptr is non-null). | COMMENT |
| HIGH⚡ | tests/fast/charts/miles_run/test_auto_uninstall.py | 56 | f"sleep 120 && helm uninstall {RUN_RELEASE_NAME} --namespace myns --ignore-not-found", | CODE |
| HIGH⚡ | tests/fast/utils/test_command_utils.py | 283 | assert command_utils.rsync_cmd("/src", "/dst") == "mkdir -p /dst && rsync -a --info=progress2 /src/ /dst" | CODE |
| HIGH | …/utils/chat_template_utils/test_message_matcher_hub.py | 116 | pytest.param('{"value":null}', '{"value":"null"}', id="null-string"), | CODE |
| HIGH⚡ | …sts/fast/utils/external_utils/test_model_args_utils.py | 200 | f'MODEL_ARGS_LINE="$({sys.executable} {_MODEL_ARGS_CLI} no-such-model 2>/dev/null)" || exit 1; ' | CODE |
| HIGH⚡ | …ommand_utils/helm_backend/test_cluster_backend_flag.py | 386 | - '{"args": {"run_uuid": "aaaabbbbccccdddd", "wandb_run_id": null}, "static_connections": {}}' | CODE |
| HIGH | …_utils/helm_backend/launcher/values/test_pool_entry.py | 56 | PREPARE_CMD = "mkdir -p /scratch/dataset && rsync -a /cluster-storage/dataset/ /scratch/dataset" | CODE |
| HIGH | …mmand_utils/helm_backend/orchestrator/test_observer.py | 137 | path.write_text('{"status": "exited", "exit_code": null, "timestamp": 0.0}') | CODE |
| HIGH | …ternal_utils/command_utils/ray_backend/test_command.py | 104 | expected_cleanup = "pkill -f '^mooncake_master --rpc_port 50061 ' >/dev/null 2>&1 || true" | CODE |
| HIGH | …tils/audit_utils/config_snapshot/test_serialization.py | 109 | assert "short: {enabled: false, rank: 0, value: null}" in actual | CODE |
| HIGH | tests/fast/dashboard/test_dump_reader_views.py | 569 | assert rebuilt.equals(expected) | CODE |
| HIGH | tests/fast/dashboard/test_dump_reader_views.py | 585 | assert rebuilt.equals(expected) | CODE |
| HIGH | tests/fast/dashboard/test_dump_reader_views.py | 131 | as null, never as numbers a chart would mistake for data.""" | STRING |
| HIGH | …infra_features/train_infer_mismatch_helper/test_mis.py | 12 | config = MisConfig.model_validate_json('{"rs_veto_threshold": null}') | CODE |
| HIGH⚡ | tests/fast/router/test_session_samples_op_v2.py | 1200 | response = app_client.post(f"/sessions/{uuid.uuid4().hex}/samples", content=b'{"max_seq_len":null}') | CODE |
| HIGH⚡ | tests/fast/router/test_session_samples_op_v2.py | 1210 | response = app_client.post(f"/sessions/{sid}/samples", content=b'{"max_seq_len":null}') | CODE |
| HIGH⚡ | tests/fast/router/test_session_samples_op.py | 511 | response = app_client.post(f"/sessions/{uuid.uuid4().hex}/samples", content=b'{"max_seq_len":null}') | CODE |
| HIGH⚡ | tests/fast/router/test_session_samples_op.py | 521 | response = app_client.post(f"/sessions/{sid}/samples", content=b'{"max_seq_len":null}') | CODE |
| HIGH | tests/fast/router/test_session_evaluation.py | 141 | b'{"evaluation": null}', | CODE |
| HIGH | tests/manual/dashboard_simulator/browser.py | 31 | new PerformanceObserver(list => list.getEntries().forEach(e => window.__longTasks.push(e.duration))) | CODE |
| HIGH | tests/manual/dashboard_simulator/browser.py | 42 | if (n !== count || window.__inflight > 0) { count = n; stableSince = performance.now(); } | CODE |
| HIGH | tests/e2e/short/test_qwen2.5_0.5B_external_rollout.py | 223 | f"ok=0; for _ in $(seq 1 120); do {probes} && ok=1 && break; sleep 5; done; " | CODE |
| HIGH | tests/e2e/megatron/test_qwen3_5_35b_a3b_lora_ci.py | 69 | "ray stop --force || true; pkill -9 sglang || true; sleep 10" | CODE |
| HIGH | …/model_scripts/test_glm5_2_744b_a40b_5layer_lora_ci.py | 72 | "ray stop --force || true; pkill -9 sglang || true; sleep 10" | CODE |
| HIGH | …/model_scripts/test_glm5_1_744b_a40b_6layer_lora_ci.py | 75 | "ray stop --force || true; pkill -9 sglang || true; sleep 10" | CODE |
| HIGH | …megatron/model_scripts/test_gpt_oss_20b_moe_lora_ci.py | 139 | "ray stop --force || true; pkill -9 sglang || true; sleep 10" | CODE |
| HIGH | …rify/scripts/mechanical_refactor_reproduction_utils.py | 48 | exec_command(f"git add -A && git commit -m {shlex.quote(message)}", cwd=cwd) | CODE |
| HIGH | …scripts/tests/reproduction_utils/test_infra_helpers.py | 66 | "shell $HOME && rm -rf / ; metacharacters", | CODE |
| HIGH | miles/utils/external_utils/ray_job.py | 28 | "export no_proxy=127.0.0.1 && export PYTHONUNBUFFERED=1 && " | CODE |
| HIGH | …ls/external_utils/command_utils/ray_backend/command.py | 83 | kill_master_cmd = f"pkill -f {shlex.quote(f'^mooncake_master --rpc_port {rpc_port} ')} >/dev/null 2>&1 || true" | CODE |
| HIGH | miles/rollout/agentic/credentials.py | 36 | "provision_hint": "mkdir -p ~/.config/daytona && echo dtn_... > ~/.config/daytona/api_key", | CODE |
| HIGH | miles/rollout/agentic/credentials.py | 48 | "provision_hint": "mkdir -p ~/.config/e2b && echo <key> > ~/.config/e2b/api_key" | CODE |
| HIGH | miles/rollout/generate_utils/rollout_topk_logprobs.py | 43 | # base64 [tokens, k] arrays: no per-candidate detokenization, and -inf survives (JSON would send null) | COMMENT |
| HIGH | miles/rollout/session/samples/codec.py | 255 | setattr(sample, field, copy(spec.null)) | CODE |
| HIGH | miles/dashboard/store.py | 1433 | # with null, which would otherwise split one logical series | COMMENT |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 733 | pkill_python = f"pgrep -x 'python|python3' | grep -v -w {my_pid} | grep -v -w {my_ppid} | xargs -r kill -9 || true" | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 734 | run_cmd("pkill -9 sglang || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 736 | run_cmd("ray stop --force || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 737 | run_cmd("pkill -9 ray || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 740 | run_cmd("pkill -9 ray || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 742 | run_cmd("pkill -9 redis || true", check=False) | CODE |
| HIGH | …/infra_features/random_async/run_random_async_3node.py | 32 | f'test "$(cat {args.model_dir}/{args.model_name}_torch_dist/latest_checkpointed_iteration.txt 2>/dev/null)" = re | CODE |
| HIGH | examples/experimental/nemo-gym/run.py | 68 | f"pgrep -f '{t}' | {exclude} | xargs -r kill 2>/dev/null || true", | CODE |
| HIGH | examples/experimental/harbor/run.py | 80 | subprocess.run(f"pgrep -f '{t}' | {exclude} | xargs -r kill 2>/dev/null || true", shell=True) | CODE |
| HIGH | examples/experimental/openenv/openenv_launch_common.py | 62 | f"pgrep -f '{t}' | {exclude} | xargs -r kill 2>/dev/null || true", | CODE |
| HIGH | examples/experimental/openenv/tb2_sandbox_recipe.py | 284 | f"mkdir -p /opt/tb2-tasks && curl -fsSL {url} | " | CODE |
| HIGH | examples/experimental/openenv/tb2_sandbox_recipe.py | 349 | "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y " | CODE |
| HIGH | examples/experimental/openenv/tb2_sandbox_recipe.py | 363 | f"mkdir -p /opt/src && echo {_env_src_tar_b64()} | base64 -d | tar xz -C /opt/src", | CODE |
| HIGH | examples/experimental/openenv/openenv_agent_function.py | 220 | "! -name repo_cache -exec rm -rf {} + 2>/dev/null || true" | CODE |
| HIGH | examples/experimental/openenv/scan_golden.py | 63 | cmds.append("mkdir -p /solution && base64 -d /tmp/solution.b64 | tar xz -C /solution && rm -f /tmp/solution.b64") | CODE |
| HIGH | …xperimental/formal_math/single_round/kimina_wrapper.py | 105 | '[ -n "$ids" ] && docker stop $ids && docker rm $ids; ' | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | miles_plugins/models/linear_attn.py | 45 | except ImportError: | CODE |
| HIGH | miles_plugins/models/qwen3_8_next/gdn.py | 12 | except ImportError: | CODE |
| HIGH | miles_plugins/models/qwen3_8_next/hyper_connection.py | 165 | except AssertionError: | CODE |
| HIGH | tests/ci/ci_utils.py | 155 | except ProcessLookupError: | CODE |
| HIGH | tests/ci/test/test_lark_notify.py | 360 | except ValueError: | CODE |
| HIGH | tests/fast-gpu/test_dsv4_indexer_cp_balance.py | 126 | except ImportError: | CODE |
| HIGH | …nds/training_utils/weight_update/protocols/conftest.py | 522 | except ImportError: | CODE |
| HIGH | …s/fast/backends/training_utils/loss/loss_test_utils.py | 353 | except OSError: # another test process finished the same fetch first | CODE |
| HIGH | tests/fast/utils/test_heartbeat_utils.py | 50 | except dataclasses.FrozenInstanceError: | CODE |
| HIGH | tests/fast/utils/test_file_utils.py | 45 | except RuntimeError: | CODE |
| HIGH | tests/fast/utils/test_distributed_lock.py | 95 | except RuntimeError: | CODE |
| HIGH | tests/fast/utils/test_clock.py | 255 | except asyncio.CancelledError: | CODE |
| HIGH | tests/fast/utils/ft_utils/test_mini_ft_controller.py | 97 | except asyncio.CancelledError: | CODE |
| HIGH | tests/fast/utils/workers/test_process_supervisor.py | 867 | except (ProcessLookupError, PermissionError): | CODE |
| HIGH | tests/fast/utils/workers/test_process_supervisor.py | 874 | except (ProcessLookupError, PermissionError): | CODE |
| HIGH | tests/fast/utils/workers/test_process_utils.py | 92 | except ProcessLookupError: | CODE |
| HIGH | tests/fast/utils/workers/test_process_utils.py | 122 | except ProcessLookupError: | CODE |
| HIGH | tests/fast/utils/workers/test_process_utils.py | 280 | except ProcessLookupError: | CODE |
| HIGH | tests/fast/utils/workers/test_process_utils.py | 377 | except ProcessLookupError: | CODE |
| HIGH | tests/fast/utils/workers/real_ray/conftest.py | 139 | except Exception: | CODE |
| HIGH | tests/fast/utils/workers/real_ray/conftest.py | 245 | except Exception: | CODE |
| HIGH | …fast/utils/workers/real_ray/test_ray_worker_manager.py | 451 | except WorkerUnreachableError: | CODE |
| HIGH | tests/fast/utils/workers/e2e/harness.py | 248 | except (ConnectionResetError, BrokenPipeError, asyncio.IncompleteReadError): | CODE |
| HIGH | …/fast/rollout/session/test_session_server_benchmark.py | 160 | except psutil.NoSuchProcess: | CODE |
| HIGH | tests/fast/ray/rollout/conftest.py | 411 | except Exception: | CODE |
| HIGH | tests/fast/ray/rollout/real_ray/conftest.py | 32 | except Exception: | CODE |
| HIGH | tests/fast/ray/rollout/real_ray/conftest.py | 99 | except Exception: | CODE |
| HIGH | tests/fast/ray/train/test_group.py | 175 | except ray.exceptions.RayActorError: | CODE |
| HIGH | tests/utils/soak/k8s_utils/pod_processes.py | 152 | except ProcessLookupError: | CODE |
| HIGH | tests/manual/session/_benchmark_process.py | 115 | except ChildProcessError: | CODE |
| HIGH | tests/manual/session/_benchmark_process.py | 72 | except psutil.NoSuchProcess: | CODE |
| HIGH | tests/manual/session/_benchmark_process.py | 105 | except ProcessLookupError: | CODE |
| HIGH | tests/manual/session/bench_session_server_overhead.py | 819 | except (ValueError, ProcessLookupError, AttributeError): | CODE |
| HIGH | tests/manual/session/bench_session_server_overhead.py | 494 | except (psutil.NoSuchProcess, psutil.AccessDenied): | CODE |
| HIGH | tests/manual/session/_bench_load_generator.py | 153 | except transport_errors: | CODE |
| HIGH | tests/manual/session/_bench_load_generator.py | 222 | except Exception: | CODE |
| HIGH | tests/e2e/short/test_qwen2.5_0.5B_opd_sglang.py | 87 | except Exception: | CODE |
| HIGH | tests/e2e/agentic/test_harbor_rollout.py | 118 | except urllib.error.HTTPError: | CODE |
| HIGH | miles/backends/megatron_utils/checkpoint.py | 111 | except ImportError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_engine.py | 31 | except ValueError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 56 | except httpx.HTTPError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 68 | except httpx.HTTPError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 383 | except httpx.HTTPError: | CODE |
| HIGH | miles/utils/http_utils.py | 101 | except ValueError: | CODE |
| HIGH | …utils/chat_template_utils/message_matcher_hub/funcs.py | 92 | except RecursionError: | CODE |
| HIGH | miles/utils/test_utils/session_verify_runner.py | 305 | except OSError: | CODE |
| HIGH | miles/utils/test_utils/agent_function_stubs.py | 67 | except asyncio.CancelledError: | CODE |
| HIGH | miles/utils/test_utils/uvicorn_thread_server.py | 47 | except Exception: | CODE |
| HIGH | miles/utils/workers/ray_worker_handle.py | 62 | except (TimeoutError, asyncio.TimeoutError): | CODE |
| HIGH | miles/utils/workers/process_utils.py | 46 | except ProcessLookupError: | CODE |
| HIGH | miles/utils/workers/process_utils.py | 53 | except ProcessLookupError: | CODE |
| HIGH | miles/utils/hf_utils/config.py | 113 | except ImportError: | CODE |
| HIGH | miles/rollout/fully_async_data_buffer.py | 237 | except asyncio.TimeoutError: | CODE |
| HIGH | miles/rollout/agentic/agent_function.py | 135 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | miles/rollout/rm_hub/math_utils.py | 364 | except Exception: | CODE |
| HIGH | miles/rollout/rm_hub/math_utils.py | 302 | except Exception: | CODE |
| HIGH | examples/experimental/openenv/tb2_sandbox_daytona.py | 148 | except Exception: | CODE |
| HIGH | examples/experimental/openenv/tb2_sandbox_modal.py | 266 | except Exception: | CODE |
| HIGH | …s/experimental/openenv/openenv_modal_agent_function.py | 81 | except ImportError: # pragma: no cover - only without the modal SDK | CODE |
| HIGH | …les/experimental/openenv/openenv_e2b_agent_function.py | 79 | except ImportError: # pragma: no cover - only without the e2b SDK | CODE |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_hf_int4.py | 39 | except Exception as e: | CODE |
| LOW | tools/convert_hf_to_int4.py | 39 | except Exception as e: | CODE |
| LOW | miles_plugins/mbridge/qwen3_8_next.py | 163 | except Exception: | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 245 | except Exception as e: # best-effort; avoid breaking unrelated models | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 62 | except Exception as _e: # best-effort | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 70 | except Exception as _e: # best-effort; Qwen3-VL may be unavailable in some envs | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 79 | except Exception as _e: # pragma: no cover - defensive | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 84 | except Exception as _e: # pragma: no cover - defensive | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 224 | except Exception: | CODE |
| MEDIUM | miles_plugins/models/qwen3_vl.py | 82 | def _patch_model_forward_and_rope_index() -> None: | CODE |
| LOW | miles_plugins/models/inkling/ops.py | 22 | except Exception: # pragma: no cover | CODE |
| LOW | miles_plugins/models/inkling/ops.py | 185 | except Exception as _import_error: | CODE |
| LOW | tests/ci/ci_utils.py | 157 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 196 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 325 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 391 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 623 | except Exception as e: # noqa: BLE001 -- the hook applies enforcement below | CODE |
| LOW | tests/ci/ci_utils.py | 688 | except Exception: | CODE |
| MEDIUM | tests/ci/ci_utils.py | 193 | def _target_func(): | CODE |
| LOW | tests/ci/github_runner/b200_job_lock.py | 111 | except Exception as error: | CODE |
| LOW | tests/ci/metric_history/storage/neon_store.py | 136 | except Exception: | STRING |
| LOW | tests/ci/metric_history/storage/neon_store.py | 188 | except Exception: | STRING |
| LOW⚡ | tests/fast/utils/workers/real_ray/conftest.py | 139 | except Exception: | STRING |
| LOW | tests/fast/utils/workers/real_ray/conftest.py | 245 | except Exception: | CODE |
| LOW | tests/fast/dashboard/test_engine_derived.py | 84 | except Exception as e: # noqa: BLE001 | CODE |
| MEDIUM | tests/fast/dashboard/test_engine_derived.py | 81 | def _collect(store, results, errors): | CODE |
| LOW⚡ | tests/fast/dashboard/test_gpu_sampler.py | 398 | except Exception: | CODE |
| LOW⚡ | tests/fast/ray/rollout/conftest.py | 368 | except Exception: | CODE |
| LOW | tests/fast/ray/rollout/conftest.py | 411 | except Exception: | CODE |
| MEDIUM | tests/fast/ray/rollout/conftest.py | 365 | def _count(): | CODE |
| LOW | tests/fast/ray/rollout/real_ray/conftest.py | 32 | except Exception: | CODE |
| LOW | tests/fast/ray/rollout/real_ray/conftest.py | 99 | except Exception: | CODE |
| LOW | tests/fast/ray/train/fake_worker_manager.py | 112 | except Exception: | CODE |
| LOW | tests/utils/deploy/hot_restart/cluster_observer.py | 220 | except Exception: | CODE |
| LOW | tests/utils/deploy/hot_restart/cluster_observer.py | 278 | except Exception: | CODE |
| LOW | tests/utils/soak/core/runner.py | 130 | except Exception as error: | CODE |
| LOW | tests/utils/soak/core/utils.py | 33 | except Exception as error: | CODE |
| LOW | tests/utils/soak/core/sut_events.py | 42 | except Exception as error: | CODE |
| LOW | tests/utils/soak/recipes/gsm8k.py | 172 | except Exception: | CODE |
| LOW | tests/manual/session/_bench_load_generator.py | 222 | except Exception: | CODE |
| LOW | tests/manual/session/bench_samples_ingest.py | 171 | except Exception as e: | CODE |
| LOW⚡ | …s/e2e/deploy/conftest_deploy/split/split_deployment.py | 137 | except Exception: | CODE |
| LOW | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 237 | except Exception: | CODE |
| LOW | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 283 | except Exception: | CODE |
| MEDIUM | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 234 | def _read_progress_and_observe_cluster(self) -> RunProgress | None: | CODE |
| MEDIUM | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 278 | def _reread_saved_iteration(self) -> int | None: | CODE |
| LOW | tests/e2e/ckpt/test_fully_async_ckpt.py | 167 | except Exception: | CODE |
| LOW | tests/e2e/short/test_qwen2.5_0.5B_opd_sglang.py | 87 | except Exception: | CODE |
| LOW⚡ | tests/e2e/k8s_apiserver/apiserver.py | 104 | except Exception: | CODE |
| LOW | tests/e2e/k8s_apiserver/test_k8s_reflector.py | 505 | except Exception as exception: | CODE |
| LOW | tests/e2e/k8s_apiserver/utils.py | 64 | except Exception: | CODE |
| LOW | tests/e2e/k8s_apiserver/test_environment.py | 136 | except Exception as exception: | CODE |
| LOW | …-verify/scripts/mechanical_refactor_proof_generator.py | 925 | except Exception: | CODE |
| LOW | …-verify/scripts/mechanical_refactor_proof_generator.py | 978 | except Exception: | CODE |
| LOW | …-verify/scripts/mechanical_refactor_proof_generator.py | 1247 | except Exception as exc: | CODE |
| LOW | miles/backends/megatron_utils/model_provider.py | 305 | except Exception as e: | CODE |
| LOW | miles/backends/megatron_utils/hf_export.py | 77 | except Exception as e: | CODE |
| LOW | miles/backends/megatron_utils/lora/utils.py | 233 | except Exception: | CODE |
| LOW | miles/backends/megatron_utils/megatron_to_hf/inkling.py | 56 | except Exception: | CODE |
| MEDIUM | miles/backends/megatron_utils/megatron_to_hf/inkling.py | 51 | def _qkv_tp_size(args): | CODE |
| 241 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | train_async.py | 29 | CODE | |
| LOW | train.py | 30 | CODE | |
| LOW | tools/convert_hf_to_nvfp4.py | 185 | CODE | |
| LOW | tools/convert_hf_to_nvfp4.py | 241 | CODE | |
| LOW | tools/convert_hf_to_nvfp4.py | 264 | CODE | |
| LOW | tools/convert_hf_to_nvfp4.py | 313 | CODE | |
| LOW | tools/convert_hf_to_mxfp8.py | 123 | CODE | |
| LOW | tools/convert_mxfp4_to_fp8.py | 52 | CODE | |
| LOW | tools/convert_mimo_v2_to_bf16.py | 204 | CODE | |
| LOW | tools/convert_kimi_int4_to_bf16.py | 101 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 578 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 330 | CODE | |
| LOW | tools/fp8_cast_bf16.py | 43 | CODE | |
| LOW | tools/convert_to_hf.py | 29 | CODE | |
| LOW | docker/build.py | 109 | CODE | |
| LOW | docker/image_inputs.py | 75 | CODE | |
| LOW | docker/image_inputs.py | 82 | CODE | |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 97 | CODE | |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 133 | CODE | |
| LOW | miles_plugins/mbridge/glm4.py | 83 | CODE | |
| LOW | miles_plugins/mbridge/glm4moe.py | 35 | CODE | |
| LOW | miles_plugins/models/inkling/mm_processor.py | 51 | CODE | |
| LOW | miles_plugins/models/inkling/mm_processor.py | 79 | CODE | |
| LOW | miles_plugins/models/inkling/mm_processor.py | 211 | CODE | |
| LOW | miles_plugins/models/inkling/image_processing.py | 101 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/deepseek_v4.py | 60 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/deepseek_v4.py | 245 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/engram.py | 118 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/deepseek_v4_1.py | 216 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/deepseek_v4_1.py | 477 | CODE | |
| LOW | tests/ci/stage_selection.py | 142 | CODE | |
| LOW | tests/ci/ci_utils.py | 54 | CODE | |
| LOW | tests/ci/ci_utils.py | 305 | CODE | |
| LOW | tests/ci/ci_utils.py | 434 | CODE | |
| LOW | tests/ci/ci_policy.py | 92 | CODE | |
| LOW | tests/ci/ci_policy.py | 184 | CODE | |
| LOW | tests/ci/hardware.py | 76 | CODE | |
| LOW | tests/ci/file_run.py | 31 | CODE | |
| LOW | tests/ci/ci_register.py | 395 | CODE | |
| LOW | tests/ci/test/test_gate_integration.py | 807 | CODE | |
| LOW | tests/ci/test/test_history_replay.py | 422 | CODE | |
| LOW | tests/ci/test/test_snapshot_record_artifacts.py | 19 | CODE | |
| LOW | tests/ci/test/test_ci_register.py | 739 | CODE | |
| LOW | tests/ci/github_runner/b200_job_lock.py | 39 | CODE | |
| LOW | tests/ci/github_runner/b200_job_lock.py | 81 | CODE | |
| LOW | tests/ci/metric_history/register.py | 299 | CODE | |
| LOW | tests/ci/metric_history/replay.py | 84 | CODE | |
| LOW | tests/fast-gpu/test_nvme_optimizer_main_init.py | 69 | CODE | |
| LOW | tests/fast-gpu/test_dsv4_thd_cp_correctness.py | 128 | CODE | |
| LOW | tests/fast-gpu/test_dsv4_indexer_cp_balance.py | 131 | CODE | |
| LOW | tests/fast-gpu/_p2p_weight_update_equivalence_worker.py | 244 | CODE | |
| LOW | tests/fast-gpu/_p2p_weight_update_equivalence_worker.py | 384 | CODE | |
| LOW | tests/fast/test_platform_contract.py | 98 | CODE | |
| LOW | tests/fast/train_args.py | 40 | CODE | |
| LOW | tests/fast/test_ray_cluster_bootstrap.py | 85 | CODE | |
| LOW | tests/fast/source_scan.py | 49 | CODE | |
| LOW | tests/fast/tinker/core/test_service.py | 759 | CODE | |
| LOW | …sts/fast/backends/test_fsdp_hub_kernels_distributed.py | 27 | CODE | |
| LOW | …sts/fast/backends/test_fsdp_hub_kernels_distributed.py | 56 | CODE | |
| LOW | …st/backends/training_utils/test_local_response_rows.py | 26 | CODE | |
| 229 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/fast/utils/test_misc.py | 0 | teardown paths overlap, so a second dispose must not raise. | STRING |
| HIGH | …sts/fast/ray/rollout/test_server_cell_state_machine.py | 0 | teardown paths overlap, so a second dispose must not raise. | STRING |
| HIGH | tests/fast/ray/train/test_group_create.py | 0 | teardown paths overlap, so a second dispose must not raise. | STRING |
| HIGH | …t_utils/comparisons/test_inference_engine_checksums.py | 0 | the happy path has to stay reachable, or the refusals below prove nothing. | STRING |
| HIGH | tests/fast/utils/test_utils/comparisons/test_metrics.py | 0 | the happy path has to stay reachable, or the refusals below prove nothing. | STRING |
| HIGH | …t/e2e/deploy/split/test_scenario_split_multi_policy.py | 0 | the happy path has to stay reachable, or the refusals below prove nothing. | STRING |
| HIGH | tests/fast/e2e/deploy/common/test_example_args.py | 0 | the happy path has to stay reachable, or the refusals below prove nothing. | STRING |
| HIGH | …imental/openenv/test_openenv_daytona_agent_function.py | 0 | the typed check is best-effort: the backend still classifies by text when the sdk (or that class) is absent, rather than | STRING |
| HIGH | …xperimental/openenv/test_openenv_e2b_agent_function.py | 0 | the typed check is best-effort: the backend still classifies by text when the sdk (or that class) is absent, rather than | STRING |
| HIGH | …erimental/openenv/test_openenv_modal_agent_function.py | 0 | the typed check is best-effort: the backend still classifies by text when the sdk (or that class) is absent, rather than | STRING |
| HIGH | …st/e2e/deploy/hot_restart/test_scenario_hot_restart.py | 0 | such a take-over resumes exactly where the script it replaced stood, so it redoes nothing. | STRING |
| HIGH | …hot_restart/test_scenario_hot_restart_no_checkpoint.py | 0 | such a take-over resumes exactly where the script it replaced stood, so it redoes nothing. | STRING |
| HIGH | tests/fast/e2e/deploy/hot_restart/test_driver.py | 0 | such a take-over resumes exactly where the script it replaced stood, so it redoes nothing. | STRING |
| HIGH | tests/fast/ray/specs/test_inference.py | 0 | the release has to contain the executor pod, or the address book would point at nothing. | STRING |
| HIGH | tests/fast/ray/specs/test_train.py | 0 | the release has to contain the executor pod, or the address book would point at nothing. | STRING |
| HIGH | tests/fast/ray/specs/test_rollout.py | 0 | the release has to contain the executor pod, or the address book would point at nothing. | STRING |
| HIGH | tests/e2e/fsdp/test_qwen3_0.6B_megatron_fsdp_align.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | scripts/run_qwen3_4b.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | scripts/run_mcore_fsdp.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | scripts/run_qwen3_30b_a3b_fsdp.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | scripts/run_qwen3_0_6b_fsdp.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | scripts/run_qwen3_0_6b_torchtitan.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | scripts/run_nemotron_3_nano_4b_fsdp.py | 0 | --train-env-vars '{"pytorch_cuda_alloc_conf":"expandable_segments:true"}' | STRING |
| HIGH | tests/e2e/fsdp/_true_on_policy_rollout_topk.py | 0 | --apply-chat-template-kwargs '{"enable_thinking":false}' | STRING |
| HIGH | scripts/run_qwen3_4b_npu.py | 0 | --apply-chat-template-kwargs '{"enable_thinking":false}' | STRING |
| HIGH | scripts/run_qwen3_4b.py | 0 | --apply-chat-template-kwargs '{"enable_thinking":false}' | STRING |
| HIGH | examples/experimental/nemo-gym/run.py | 0 | kill old ray jobs and stale processes to free gpu resources. | STRING |
| HIGH | examples/experimental/harbor/run.py | 0 | kill old ray jobs and stale processes to free gpu resources. | STRING |
| HIGH | examples/experimental/openenv/openenv_launch_common.py | 0 | kill old ray jobs and stale processes to free gpu resources. | STRING |
| HIGH | …e-agent-harbor-docker/run-glm47-flash-agentic-async.py | 0 | kill old ray jobs and stale processes to free gpu resources. | STRING |
| HIGH | examples/swe-agent-harbor-docker/run.py | 0 | kill old ray jobs and stale processes to free gpu resources. | STRING |
| HIGH | …/swe-agent-harbor-docker/run_glm52_lora_tb2_daytona.py | 0 | kill old ray jobs and stale processes to free gpu resources. | STRING |
| HIGH | examples/experimental/nemo-gym/run.py | 0 | convert hf checkpoint to torch_dist format if not already done. | STRING |
| HIGH | examples/experimental/openenv/run-openenv-tbench2.py | 0 | convert hf checkpoint to torch_dist format if not already done. | STRING |
| HIGH | examples/swe-agent-harbor-docker/run.py | 0 | convert hf checkpoint to torch_dist format if not already done. | STRING |
| HIGH | examples/lora/run_lora_native.py | 0 | run grpo lora training through the native path (assumes prepare already ran). | STRING |
| HIGH | examples/lora/run_qwen3_lora_native.py | 0 | run grpo lora training through the native path (assumes prepare already ran). | STRING |
| HIGH | examples/lora/run_glm5_2_744b_a40b_lora_native.py | 0 | run grpo lora training through the native path (assumes prepare already ran). | STRING |
| HIGH | scripts/run_glm5_744b_a40b.py | 0 | convert hf checkpoint to fp8 (block quantization). megatron still uses bf16. | STRING |
| HIGH | scripts/run_glm5_2_744b_a40b.py | 0 | convert hf checkpoint to fp8 (block quantization). megatron still uses bf16. | STRING |
| HIGH | scripts/amd/run_glm5_2_744b_a40b.py | 0 | convert hf checkpoint to fp8 (block quantization). megatron still uses bf16. | STRING |
| HIGH | scripts/run_glm5_1_744b_a40b_lora.py | 0 | run grpo lora training (assumes the dataset is already prepared). | STRING |
| HIGH | scripts/run_glm5_2_744b_a40b_lora.py | 0 | run grpo lora training (assumes the dataset is already prepared). | STRING |
| HIGH | scripts/run_qwen3_5_35b_a3b_lora.py | 0 | run grpo lora training (assumes the dataset is already prepared). | STRING |
| HIGH | scripts/run_glm5_1_744b_a40b_lora.py | 0 | download the model checkpoint + dataset, then run grpo lora training. | STRING |
| HIGH | scripts/run_glm5_2_744b_a40b_lora.py | 0 | download the model checkpoint + dataset, then run grpo lora training. | STRING |
| HIGH | scripts/run_qwen3_5_35b_a3b_lora.py | 0 | download the model checkpoint + dataset, then run grpo lora training. | STRING |
| HIGH | scripts/run_deepseek_v4_1.py | 0 | --apply-chat-template-kwargs '{"thinking_mode":"thinking"}' | STRING |
| HIGH | scripts/run_deepseek_v4.py | 0 | --apply-chat-template-kwargs '{"thinking_mode":"thinking"}' | STRING |
| HIGH | scripts/amd/run_deepseek_v4.py | 0 | --apply-chat-template-kwargs '{"thinking_mode":"thinking"}' | STRING |
| HIGH | scripts/run_inkling.py | 0 | return parallel config args for tested gpu configurations. only includes configurations that have been verified to work. | STRING |
| HIGH | scripts/run_deepseek_v4.py | 0 | return parallel config args for tested gpu configurations. only includes configurations that have been verified to work. | STRING |
| HIGH | scripts/amd/run_inkling.py | 0 | return parallel config args for tested gpu configurations. only includes configurations that have been verified to work. | STRING |
| HIGH | scripts/amd/run_deepseek_v4.py | 0 | return parallel config args for tested gpu configurations. only includes configurations that have been verified to work. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ci/README.md | 11 | ### Step 0: Prepare `/data/miles_ci` | COMMENT |
| LOW⚡ | tests/ci/README.md | 38 | ### Step 1: Env | COMMENT |
| LOW⚡ | tests/ci/README.md | 48 | ### Step 2: Prepare `/home/runner/externals` | COMMENT |
| LOW⚡ | tests/ci/README.md | 58 | ### Step 3: Run | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 186 | # Step 1: sender — wrap state_dict for transport | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 189 | # Step 2: sender — flatten via pytree (what PGTransport does internally) | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 192 | # Step 3: sender — pickle treespec + non-tensor leaves; "send" tensor leaves over the wire | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 199 | # Step 4: receiver — unpickle metadata + interleave received tensors back into leaf order | COMMENT |
| LOW | …st/backends/megatron_utils/test_checkpoint_transfer.py | 213 | # Step 5: receiver — unwrap into iteration + state_dict | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 267 | # Step 1: single group | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 273 | # Step 2: two groups = global sum | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 278 | # Step 3: bitwise equality across all ranks | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 286 | # Step 4: empty groups = no-op | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 291 | # Step 5: MAX op | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 310 | # Step 1: single group gather | COMMENT |
| LOW | tests/fast/utils/test_process_group_utils.py | 324 | # Step 2: two group gather — global rank 0 gets everything | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 125 | # Step 1: first_wait=0, so first check runs immediately after task starts | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 129 | # Step 2: Elapse less than interval — no second check | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 133 | # Step 3: Elapse to interval — second check | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 150 | # Step 1: Elapse 100s — still in first_wait | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 154 | # Step 2: Elapse to 300s — first_wait completes, first check runs | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 158 | # Step 3: Elapse interval — second check | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 322 | # Step 1: Initial first_wait (100s) | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 328 | # Step 2: Normal interval (5s) | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 332 | # Step 3: a full off/on cycle observed by the loop resets first_wait | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 337 | # Step 4: the new first_wait (100s) must elapse before the next check | COMMENT |
| LOW⚡ | tests/fast/utils/test_clock.py | 239 | # Step 1: first_wait=10 | COMMENT |
| LOW⚡ | tests/fast/utils/test_clock.py | 244 | # Step 2: interval=5 | COMMENT |
| LOW⚡ | tests/fast/utils/test_clock.py | 248 | # Step 3: interval=5 | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 396 | # Step 1: First poll → heal attempt fails, sets next_attempt_at | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 401 | # Step 2: Poll again without advancing clock → should skip heal | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 406 | # Step 3: Advance clock past backoff → should attempt heal again | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 435 | # Step 1: First attempt fails | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 442 | # Step 2: Advance clock past backoff, second attempt succeeds | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 512 | # Step 1: Unhealthy → heal fails → backoff entry created | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 517 | # Step 2: Cell becomes NOT_APPLICABLE → backoff entry cleaned | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 538 | # Step 1: Unhealthy → heal fails → backoff entry created | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 543 | # Step 2: Cell becomes HEALTHY → backoff entry cleaned | COMMENT |
| LOW⚡ | tests/fast/utils/test_witness/test_module.py | 71 | # Step 1: Compute loss without witness | COMMENT |
| LOW⚡ | tests/fast/utils/test_witness/test_module.py | 81 | # Step 2: Compute loss with witness | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 108 | # Step 1: Run the full collection (no mocks) | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 111 | # Step 2: Verify the package appears in editable_packages | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 118 | # Step 3: Verify git info — clean repo | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 128 | # Step 4: Verify package also in full_pip_list | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 138 | # Step 1: Stage an uncommitted file | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 142 | # Step 2: Run collection | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 145 | # Step 3: Verify dirty + diff_stat mentions the file | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 160 | # Step 1: Modify a tracked file without staging | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 164 | # Step 2: Run collection | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 167 | # Step 3: Verify dirty | COMMENT |
| LOW⚡ | …t_analyzer/rules/test_cross_replica_weight_checksum.py | 80 | # Step 0: match | COMMENT |
| LOW⚡ | …t_analyzer/rules/test_cross_replica_weight_checksum.py | 83 | # Step 1: mismatch | COMMENT |
| LOW⚡ | …t_analyzer/rules/test_cross_replica_weight_checksum.py | 86 | # Step 2: match | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 423 | # Step 1: Stop cell 1 | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 426 | # Step 2: Refresh | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 429 | # Step 3: Quorum bumped (init was quorum 0, this is first reconfigure) | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 432 | # Step 4: Remaining alive cells have updated indep_dp_info | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 441 | # Step 5: Stopped cell untouched | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 444 | # Step 6: Actors received reconfigure_indep_dp | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 463 | # Step 1: Stop cell 2, then start it (pending) | COMMENT |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 186 | # Step 1: sender — wrap state_dict for transport | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 189 | # Step 2: sender — flatten via pytree (what PGTransport does internally) | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 192 | # Step 3: sender — pickle treespec + non-tensor leaves; "send" tensor leaves over the wire | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 199 | # Step 4: receiver — unpickle metadata + interleave received tensors back into leaf order | COMMENT |
| LOW | …st/backends/megatron_utils/test_checkpoint_transfer.py | 213 | # Step 5: receiver — unwrap into iteration + state_dict | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 267 | # Step 1: single group | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 273 | # Step 2: two groups = global sum | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 278 | # Step 3: bitwise equality across all ranks | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 286 | # Step 4: empty groups = no-op | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 291 | # Step 5: MAX op | COMMENT |
| LOW⚡ | tests/fast/utils/test_process_group_utils.py | 310 | # Step 1: single group gather | COMMENT |
| LOW | tests/fast/utils/test_process_group_utils.py | 324 | # Step 2: two group gather — global rank 0 gets everything | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 125 | # Step 1: first_wait=0, so first check runs immediately after task starts | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 129 | # Step 2: Elapse less than interval — no second check | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 133 | # Step 3: Elapse to interval — second check | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 150 | # Step 1: Elapse 100s — still in first_wait | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 154 | # Step 2: Elapse to 300s — first_wait completes, first check runs | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 158 | # Step 3: Elapse interval — second check | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 322 | # Step 1: Initial first_wait (100s) | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 328 | # Step 2: Normal interval (5s) | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 332 | # Step 3: a full off/on cycle observed by the loop resets first_wait | COMMENT |
| LOW⚡ | tests/fast/utils/test_health_checker.py | 337 | # Step 4: the new first_wait (100s) must elapse before the next check | COMMENT |
| LOW⚡ | tests/fast/utils/test_clock.py | 239 | # Step 1: first_wait=10 | COMMENT |
| LOW⚡ | tests/fast/utils/test_clock.py | 244 | # Step 2: interval=5 | COMMENT |
| LOW⚡ | tests/fast/utils/test_clock.py | 248 | # Step 3: interval=5 | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 396 | # Step 1: First poll → heal attempt fails, sets next_attempt_at | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 401 | # Step 2: Poll again without advancing clock → should skip heal | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 406 | # Step 3: Advance clock past backoff → should attempt heal again | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 435 | # Step 1: First attempt fails | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 442 | # Step 2: Advance clock past backoff, second attempt succeeds | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 512 | # Step 1: Unhealthy → heal fails → backoff entry created | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 517 | # Step 2: Cell becomes NOT_APPLICABLE → backoff entry cleaned | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 538 | # Step 1: Unhealthy → heal fails → backoff entry created | COMMENT |
| LOW⚡ | tests/fast/utils/test_mini_ft_controller.py | 543 | # Step 2: Cell becomes HEALTHY → backoff entry cleaned | COMMENT |
| LOW⚡ | tests/fast/utils/test_witness/test_module.py | 71 | # Step 1: Compute loss without witness | COMMENT |
| LOW⚡ | tests/fast/utils/test_witness/test_module.py | 81 | # Step 2: Compute loss with witness | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 108 | # Step 1: Run the full collection (no mocks) | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 111 | # Step 2: Verify the package appears in editable_packages | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 118 | # Step 3: Verify git info — clean repo | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 128 | # Step 4: Verify package also in full_pip_list | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 138 | # Step 1: Stage an uncommitted file | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 142 | # Step 2: Run collection | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 145 | # Step 3: Verify dirty + diff_stat mentions the file | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 160 | # Step 1: Modify a tracked file without staging | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 164 | # Step 2: Run collection | COMMENT |
| LOW⚡ | tests/fast/utils/env_report/test_git_state.py | 167 | # Step 3: Verify dirty | COMMENT |
| LOW⚡ | …t_analyzer/rules/test_cross_replica_weight_checksum.py | 80 | # Step 0: match | COMMENT |
| LOW⚡ | …t_analyzer/rules/test_cross_replica_weight_checksum.py | 83 | # Step 1: mismatch | COMMENT |
| LOW⚡ | …t_analyzer/rules/test_cross_replica_weight_checksum.py | 86 | # Step 2: match | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 423 | # Step 1: Stop cell 1 | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 426 | # Step 2: Refresh | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 429 | # Step 3: Quorum bumped (init was quorum 0, this is first reconfigure) | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 432 | # Step 4: Remaining alive cells have updated indep_dp_info | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 441 | # Step 5: Stopped cell untouched | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 444 | # Step 6: Actors received reconfigure_indep_dp | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 463 | # Step 1: Stop cell 2, then start it (pending) | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 467 | # Step 2: Refresh heals the pending cell | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 470 | # Step 3: All 3 cells are now alive | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 473 | # Step 4: All cells have consistent indep_dp_info | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 478 | # Step 5: Healed cell's actors received init | COMMENT |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/ci/test/test_history_gate.py | 706 | # --- dual-register files + harness-supplied registry ------------------------ | COMMENT |
| MEDIUM | tests/ci/test/test_history_gate.py | 731 | # single-registry reparse raise (ambiguous). With the harness passing the | COMMENT |
| MEDIUM | tests/ci/test/test_ci_history.py | 204 | # This covers the backend's current file naming detail, not a CI harness | COMMENT |
| MEDIUM | tests/ci/metric_history/gate.py | 315 | # never raise on a dual-register / no-register file. Use the harness's | COMMENT |
| MEDIUM | tests/ci/metric_history/gate.py | 331 | # The harness already selected one register_*_ci() call; use it directly and | COMMENT |
| MEDIUM⚡ | …fast/utils/chat_template_utils/test_fixed_templates.py | 63 | # stay append-only regardless of which roles the harness appends. | COMMENT |
| MEDIUM | tests/e2e/short/test_run_megatron.py | 163 | # The CI harness invokes this file as bare `python3 <file>` with no args. | COMMENT |
| MEDIUM | …s/e2e/sglang/test_session_server_multi_role/_common.py | 92 | # This harness produces one rollout batch, so its train-side batch divisor | COMMENT |
| LOW | …ron_utils/megatron_to_hf/processors/quantizer_nvfp4.py | 102 | # for other parameters, we just return the original converted_named_params | COMMENT |
| LOW | …atron_utils/megatron_to_hf/processors/quantizer_fp8.py | 123 | # for other parameters, we just return the original converted_named_params | COMMENT |
| LOW | …ron_utils/megatron_to_hf/processors/quantizer_mxfp8.py | 114 | # for other parameters, we just return the original converted_named_params | COMMENT |
| LOW | miles/backends/fsdp_utils/lr_scheduler.py | 98 | # If the learning rate is constant, just return the initial value. | COMMENT |
| MEDIUM | miles/utils/arguments.py | 316 | # On iff the CI harness injected MILES_CI_GATE_RECORD_DIR (the same env var | COMMENT |
| MEDIUM | miles/utils/tracking_utils/ci_history.py | 62 | # Env var naming the directory the harness assigns for this run's records. | COMMENT |
| MEDIUM | miles/utils/tracking_utils/ci_history.py | 103 | # No harness-assigned directory: nothing to collect into. Leaving | COMMENT |
| MEDIUM | miles/rollout/rm_hub/math_dapo_utils.py | 14 | # Adapted from https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/tasks/hendrycks_math/utils.py | COMMENT |
| MEDIUM⚡ | examples/experimental/harbor/harbor_agent_function.py | 107 | # --- harness bindings ------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | examples/experimental/harbor/harbor_agent_function.py | 109 | # What Miles must know per harness to hand it the session URL: which env vars / | COMMENT |
| MEDIUM⚡ | examples/experimental/harbor/harbor_agent_function.py | 111 | # Everything else about running the harness is Harbor's. | COMMENT |
| MEDIUM⚡ | examples/experimental/harbor/harbor_agent_function.py | 119 | # constraint and which just follow the harness. | COMMENT |
| MEDIUM⚡ | examples/experimental/harbor/harbor_agent_function.py | 128 | # the model name Harbor passes to the harness | COMMENT |
| MEDIUM | examples/experimental/openenv/openenv_launch_common.py | 223 | # WITH the harness marker, which the per-episode guard cannot tell from | COMMENT |
| MEDIUM | …s/experimental/openenv/openenv_modal_agent_function.py | 60 | # older install outright, and the shared agent loop's harness-marker guard | COMMENT |
| MEDIUM | …les/experimental/openenv/openenv_e2b_agent_function.py | 57 | # older install outright, and the shared agent loop's harness-marker guard | COMMENT |
| MEDIUM | …experimental/openenv/openenv_daytona_agent_function.py | 65 | # older install outright, and the shared agent loop's harness-marker guard | COMMENT |
| MEDIUM | examples/experimental/openenv/openenv_agent_function.py | 341 | # - harness marker absent: the server scored, but not through the | COMMENT |
| MEDIUM⚡ | examples/experimental/openenv/openenv_agent_function.py | 458 | # No canonical verdict (infra/harness failure or a non-canonical server, | COMMENT |
| MEDIUM⚡ | examples/experimental/openenv/openenv_agent_function.py | 467 | # the scalar reward (plus the harness marker). The detailed pytest CTRF | COMMENT |
| MEDIUM | examples/experimental/openenv/scan_golden.py | 110 | # server-side scoring failure or a non-canonical harness is | COMMENT |
| MEDIUM | examples/experimental/hud/rollout.py | 455 | # from a turn the harness could not even parse a tool call out of. | COMMENT |
| MEDIUM | examples/experimental/hud/run_hud2048.py | 140 | # cut mid-JSON, which the harness answers by rewriting that turn's recorded | COMMENT |
| MEDIUM | examples/experimental/hud/computer_tool.py | 177 | # typing, say), and the harness's own log says only "-> computer". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | tests/fast/utils/test_witness/test_module.py | 218 | model.local_head_witness.witness.weight.data.fill_(42.0) | CODE |
| CRITICAL⚡ | tests/fast/utils/test_witness/test_module.py | 246 | assert 5 in model.local_head_witness.witness.weight.grad.squeeze(-1).nonzero(as_tuple=True)[0].tolist() | CODE |
| CRITICAL⚡ | tests/fast/utils/test_witness/test_module.py | 402 | chunk.module.local_head_witness.witness.weight.data.fill_(1.0) | CODE |
| CRITICAL⚡ | tests/fast/utils/test_witness/test_module.py | 403 | chunk.module.local_tail_witness.witness.weight.data.fill_(1.0) | CODE |
| CRITICAL⚡ | tests/fast/utils/test_witness/test_module.py | 425 | chunk.module.local_head_witness.witness.weight.data.fill_(1.0) | CODE |
| CRITICAL⚡ | tests/fast/utils/test_witness/test_module.py | 426 | chunk.module.local_tail_witness.witness.weight.data.fill_(1.0) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 72 | [every model and every black-box harness](https://miles.radixark.com/docs/user-guide/agentic-rollout), | CODE |
| MEDIUM | tests/fast/dashboard/dummy_dump.py | 180 | # every third sample is agentic-shaped: multi-turn (mixed weight versions | COMMENT |
| MEDIUM | tests/manual/dashboard_simulator/calibration.py | 203 | if "lifecycle" in fields["metadata"]: # only agentic sessions record it | CODE |
| MEDIUM | …-verify/scripts/mechanical_refactor_proof_generator.py | 716 | # are exactly the relocated symbols (the prep commit inlined them, scaffolding included, as | COMMENT |
| MEDIUM | …-verify/scripts/mechanical_refactor_proof_generator.py | 1033 | # A move source the commit deletes (its defs all relocated, leaving only scaffolding) is | COMMENT |
| MEDIUM | miles/utils/test_utils/session_verify_agent.py | 162 | # English-only on purpose: matches the production agentic flows tokenization | COMMENT |
| MEDIUM | miles/rollout/fully_async_data_buffer.py | 36 | # returns multiple samples per trajectory (e.g. multi-agent). | COMMENT |
| MEDIUM | miles/rollout/base_types.py | 127 | # One generate may lead to multiple samples, such as multi-agent, tree-like exploration, or | COMMENT |
| MEDIUM | miles/dashboard/store.py | 1024 | # per-turn spans (multi_turn / agentic) supersede the coarse | COMMENT |
| MEDIUM | miles/dashboard/static/views_tokens.js | 305 | // open on the first generated token: an agentic prompt runs to thousands of | COMMENT |
| MEDIUM | docs/models/gpt-oss/gpt-oss.md | 8 | [GPT-OSS](https://huggingface.co/openai/gpt-oss-20b) is OpenAI's open-weight language model, designed for reasoning, age | CODE |
| MEDIUM | docs/models/glm/glm5.md | 7 | [GLM-5](https://huggingface.co/zai-org/GLM-5) is the most powerful language model in Zhipu AI's GLM series, scaling to 7 | CODE |
| MEDIUM | docs/models/glm/glm5-2.md | 75 | Beyond the math recipe above, [`examples/experimental/openenv/glm52_tbench2/`](https://github.com/radixark/miles/tree/ma | CODE |
| MEDIUM | docs/models/kimi/kimi-k2.5.md | 9 | [Kimi-K2.5](https://huggingface.co/moonshotai/Kimi-K2.5) is an open-source, natively multimodal agentic model from Moons | CODE |
| MEDIUM | docs/examples/multi-lora.md | 10 | - `tinker_agent/`: client package for agentic training; see [Agentic training](#agentic-training). | CODE |
| MEDIUM | docs/examples/index.md | 57 | - **[tau-bench](https://github.com/radixark/miles/tree/main/examples/experimental/tau-bench)**: Training in an agentic m | CODE |
| MEDIUM | …erimental/multi_agent/run-qwen3-30B-A3B-multi-agent.sh | 57 | # multi-agent do not support eval for now | COMMENT |
| MEDIUM | examples/experimental/tau-bench/generate_with_tau.py | 45 | "agent": "tool-calling", # Select between ["tool-calling", "act", "react", "few-shot"] | CODE |
| MEDIUM | examples/experimental/openenv/openenv_agent_function.py | 107 | # total episode time: a long agentic trajectory can loop for turns * (long | COMMENT |
| MEDIUM | examples/experimental/openenv/openenv_agent_function.py | 326 | # text protocol the Harbor mini-swe-agent scaffold uses. | COMMENT |
| MEDIUM | …/openenv/glm52_tbench2/run_glm5_2_744b_a40b_daytona.py | 142 | # with long-horizon agentic trials, waiting for each group's slowest | COMMENT |
| MEDIUM | examples/experimental/openenv/glm52_tbench2/README.md | 1 | # GLM-5.2 744B-A40B — agentic RL on terminal-bench-2 (Daytona sandboxes) | COMMENT |
| MEDIUM | examples/experimental/strands_sglang/README.md | 3 | This example connects `miles` with [`strands-sglang`](https://github.com/horizon-rl/strands-sglang) (SGLang extension fo | CODE |
| MEDIUM | …e-agent-harbor-docker/run-glm47-flash-agentic-async.py | 65 | # model's own context window, so a runaway trajectory can hold a 100k+ token KV footprint and | COMMENT |
| MEDIUM | examples/swe-agent-harbor-docker/run.py | 47 | # model's own context window, so a runaway trajectory can hold a 100k+ token KV footprint and | COMMENT |
| MEDIUM | …/swe-agent-harbor-docker/run_glm52_lora_tb2_daytona.py | 102 | # GLM-5.2 specifics. megatron is dense O(S**2) and caps near S=4096, so agentic | COMMENT |
| MEDIUM | …/swe-agent-harbor-docker/run_glm52_lora_tb2_daytona.py | 359 | # earliest warning of policy collapse on a long agentic run. | COMMENT |
| MEDIUM | …/swe-agent-harbor-docker/run_glm52_lora_tb2_daytona.py | 417 | # Variable-length agentic batches fragment the allocator pool until NCCL's own | COMMENT |
| MEDIUM | examples/multi_lora/README.md | 7 | - `tinker_agent/`: client package for agentic training; see [Agentic training](#agentic-training). | CODE |
| MEDIUM | scripts/sandbox_smoke/run.py | 69 | sys.path.insert(0, str(REPO)) # for miles.rollout.agentic; no PYTHONPATH needed | CODE |
| MEDIUM | .github/workflows/run-ci-file.yml | 4 | # Fixed default-branch orchestration for /rerun-test <test-file>. The reviewed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cpu_memory_profiler.py | 1 | # CPU Memory Profiler - standalone tool for profiling system memory during training. | COMMENT |
| LOW | tests/ci/ci_utils.py | 761 | COMMENT | |
| LOW | tests/ci/github_runner/docker-compose.yml | 1 | # Please refer to `README.md` for how to setup this GitHub action runner. | COMMENT |
| LOW | tests/ci/metric_history/register.py | 81 | _FIELDS: dict[str, tuple[bool, object]] = { | COMMENT |
| LOW | tests/fast/utils/test_http_utils.py | 281 | # Simulated-delay tests (mock time + socket so tests run instantly) | COMMENT |
| LOW | …/fast/utils/chat_template_utils/test_tito_tokenizer.py | 161 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | …utils/chat_template_utils/test_token_seq_comparator.py | 141 | COMMENT | |
| LOW | …utils/chat_template_utils/test_token_seq_comparator.py | 241 | sp_b = env.token_id(env.config.known_special_tokens[1]) | COMMENT |
| LOW | …utils/chat_template_utils/test_token_seq_comparator.py | 261 | # GLM47 template: <|assistant|>{content}<|user|> | COMMENT |
| LOW | …utils/chat_template_utils/test_token_seq_comparator.py | 341 | ) | COMMENT |
| LOW | …utils/chat_template_utils/test_token_seq_comparator.py | 401 | text = env.encode("same") | COMMENT |
| LOW | tests/fast/utils/chat_template_utils/test_template.py | 181 | COMMENT | |
| LOW | tests/e2e/conftest_dumper.py | 21 | # attn_k disabled: megatron dumps k pre-RoPE (after adjust_key_value) while | COMMENT |
| LOW | …ang/test_session_server_multi_role/test_minimax_m27.py | 21 | ) | COMMENT |
| LOW | tests/e2e/torchtitan/test_qwen3_8B_tp_pp.py | 1 | from tests.ci.ci_register import register_cuda_ci | COMMENT |
| LOW | tests/e2e/torchtitan/test_qwen3_30B_A3B_tp_pp_ep_cp.py | 1 | from tests.ci.ci_register import register_cuda_ci | COMMENT |
| LOW | tests/e2e/megatron/test_qwen3_5_35B_A3B/_common.py | 41 | enable_mtp_training: bool | COMMENT |
| LOW | .claude/skills/setup-ci-host/setup-host.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/manage-gh-runners/manage-runners.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | miles/utils/seqlen_balancing.py | 1 | # Copied from https://github.com/volcengine/verl/blob/468adf22c43b744348051fccd7a5d830c6c3c36a/verl/utils/seqlen_balanci | COMMENT |
| LOW | miles/utils/test_utils/chat_template_verify.py | 141 | # * ``APPEND_ROLES: frozenset[str]`` — non-assistant roles that appear after | COMMENT |
| LOW | miles/utils/test_utils/chat_template_verify.py | 401 | ) | COMMENT |
| LOW | miles/rollout/inference_rollout/__init__.py | 1 | # This is a refactor of the portions above generate-function in sglang_rollout.py, | COMMENT |
| LOW | miles/rollout/rm_hub/math_dapo_utils.py | 1 | # Copyright 2024 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | miles/dashboard/static/carpet.js | 21 | COMMENT | |
| LOW | docs/advanced/p2p-weight-transfer.md | 141 | # | COMMENT |
| LOW | …atures/train_infer_mismatch_helper/run-qwen3-4b-mis.sh | 121 | --attention-backend flash | COMMENT |
| LOW | …s/train_infer_mismatch_helper/run-qwen3-4b-fsdp-mis.sh | 121 | # geometric: geometric mean | COMMENT |
| LOW | …tures/low_precision/run-qwen3-30b-a3b-fp8-two-nodes.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …_features/p2p_weight_transfer/prepare-qwen3-30B-A3B.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …p2p_weight_transfer/run-qwen3-30B-A3B-4node-profile.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …a_features/p2p_weight_transfer/prepare-glm4.7-flash.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …fra_features/p2p_weight_transfer/prepare-glm4.5-air.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …les/infra_features/p2p_weight_transfer/prepare-glm5.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …/p2p_weight_transfer/run-glm4.7-flash-2node-profile.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …es/p2p_weight_transfer/run-glm4.5-air-8node-profile.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …eatures/p2p_weight_transfer/run-glm5-disagg-profile.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …_weight_transfer/run-qwen3-235B-A22B-16node-profile.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ures/p2p_weight_transfer/run-kimi-k2-64node-profile.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …/infra_features/p2p_weight_transfer/prepare-kimi-k2.sh | 1 | COMMENT | |
| LOW | examples/experimental/harbor/harbor_agent_function.py | 101 | COMMENT | |
| LOW | examples/experimental/openenv/tb2_sandbox_modal.py | 81 | # Lifetime (see the orphan-reclamation note above). The TTL is a HARD ceiling on | COMMENT |
| LOW | examples/experimental/openenv/tb2_sandbox_recipe.py | 341 | # debian-ish (all 89 current TB2 images are debian/ubuntu based). Do | COMMENT |
| LOW | examples/experimental/openenv/tb2_sandbox_recipe.py | 361 | # package: local fixes (canonical evaluate, TB2_COMMAND_TIMEOUT_S) | COMMENT |
| LOW | examples/experimental/openenv/run-openenv-tbench2.py | 81 | openenv_env_url: str = os.environ.get("OPENENV_ENV_URL", "http://localhost:8003") | COMMENT |
| LOW | examples/experimental/openenv/run-openenv-tbench2.py | 101 | openenv_sandbox_backend: str = os.environ.get("OPENENV_SANDBOX_BACKEND", "") | COMMENT |
| LOW | examples/experimental/openenv/openenv_agent_function.py | 61 | COMMENT | |
| LOW | examples/experimental/openenv/openenv_agent_function.py | 181 | # post_episode(env, action_cls) optional hygiene hook (a long-lived | COMMENT |
| LOW | examples/experimental/openenv/openenv_agent_function.py | 201 | # under that path after every episode, which fills the sandbox overlay | COMMENT |
| LOW | examples/experimental/openenv/openenv_agent_function.py | 321 | # Feed the command output back as a user turn, not a tool turn. GLM | COMMENT |
| LOW | …/openenv/glm52_tbench2/run_glm5_2_744b_a40b_daytona.py | 81 | openenv_run_id: str = os.environ.get("OPENENV_RUN_ID", "") | COMMENT |
| LOW | …erimental/openenv/glm52_tbench2/launch_16node_slurm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | examples/experimental/search-r1/run_qwen2.5_3B.sh | 121 | # --use-tis | COMMENT |
| LOW | examples/experimental/search-r1/qa_em_format.py | 1 | # Adapt from https://github.com/PeterGriffinJin/Search-R1/blob/ceee7b89655ed52f205b9beb98e1190c3eedcfb0/verl/utils/rewar | COMMENT |
| LOW | …al/search-r1/local_dense_retriever/retrieval_server.py | 1 | # Copyright 2024 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | …perimental/search-r1/local_dense_retriever/download.py | 1 | # Copyright 2024 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | examples/experimental/hud/run_hud2048.py | 101 | ) | COMMENT |
| LOW | examples/experimental/hud/run_hud2048.py | 121 | # the directory content is byte-identical (mind stray __pycache__). | COMMENT |
| LOW | …/swe-agent-harbor-docker/run_glm52_lora_tb2_daytona.py | 101 | COMMENT | |
| LOW | …n-qwen2.5-3B-megatron-lora-disaggregated-multi-node.sh | 1 | #!/bin/bash | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_int4_direct.py | 118 | CODE | |
| LOW | docker/build.py | 205 | CODE | |
| LOW | miles_plugins/models/hf_attention.py | 71 | CODE | |
| LOW | miles_plugins/models/linear_attn.py | 524 | CODE | |
| LOW | miles_plugins/models/glm5/glm5.py | 195 | CODE | |
| LOW | miles_plugins/models/kimi_k3/layers.py | 209 | CODE | |
| LOW | miles_plugins/models/kimi_k3/layers.py | 320 | CODE | |
| LOW | miles_plugins/models/inkling/model.py | 69 | CODE | |
| LOW | miles_plugins/models/glm5_next/dsa.py | 168 | CODE | |
| LOW | miles_plugins/models/qwen3_8_next/gdn.py | 174 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/deepseek_v4.py | 245 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/ops/cp_utils.py | 44 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/ops/cp_utils.py | 65 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/deepseek_v4_1.py | 477 | CODE | |
| LOW | tests/ci/ci_utils.py | 434 | CODE | |
| LOW | tests/ci/test/test_comment_ci_command.py | 234 | CODE | |
| LOW | tests/fast/backends/megatron_utils/test_initialize.py | 13 | CODE | |
| LOW | …nds/training_utils/weight_update/protocols/conftest.py | 259 | CODE | |
| LOW | …ast/backends/training_utils/loss/test_loss_snapshot.py | 241 | CODE | |
| LOW | …s/fast/backends/sglang_utils/test_server_args_utils.py | 80 | CODE | |
| LOW | tests/fast/utils/test_health_checker.py | 26 | CODE | |
| LOW | tests/fast/utils/test_arguments.py | 687 | CODE | |
| LOW | …d_utils/helm_backend/launcher/test_launch_lifecycle.py | 629 | CODE | |
| LOW | tests/fast/utils/workers/test_ray_worker_manager.py | 44 | CODE | |
| LOW | …ts/fast/utils/workers/test_ray_worker_manager_serve.py | 99 | CODE | |
| LOW | tests/fast/utils/workers/reconcile/test_loop.py | 52 | CODE | |
| LOW | tests/fast/rollout/generate_hub/test_single_turn.py | 74 | CODE | |
| LOW | tests/fast/rollout/generate_utils/test_sample_utils.py | 20 | CODE | |
| LOW | tests/fast/rollout/session/test_samples.py | 48 | CODE | |
| LOW | tests/fast/dashboard/dummy_dump.py | 60 | CODE | |
| LOW | tests/fast/ray/rollout/real_ray/conftest.py | 36 | CODE | |
| LOW | tests/fast/ray/train/test_group.py | 49 | CODE | |
| LOW | …atron_to_hf/processors/quantizer_compressed_tensors.py | 225 | CODE | |
| LOW | miles/backends/training_utils/loss/hub/math_utils.py | 1024 | CODE | |
| LOW | miles/utils/http_utils.py | 455 | CODE | |
| LOW | miles/utils/distributed_utils.py | 49 | CODE | |
| LOW | miles/utils/data.py | 196 | CODE | |
| LOW | …les/utils/external_utils/command_utils/base_backend.py | 155 | CODE | |
| LOW | miles/utils/external_utils/miles_workbench/__main__.py | 41 | CODE | |
| LOW | miles/ray/train/group.py | 520 | CODE | |
| LOW | examples/experimental/tau-bench/openai_tool_adapter.py | 109 | CODE | |
| LOW | …al/search-r1/local_dense_retriever/retrieval_server.py | 290 | CODE | |
| LOW | examples/retool_v2/tool_sandbox.py | 352 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | miles_plugins/mbridge/mimo.py | 81 | # Create a proxy name to use with parent class methods | COMMENT |
| MEDIUM | miles_plugins/models/qwen3_5.py | 84 | # Define the decoder block spec | COMMENT |
| MEDIUM | miles_plugins/models/qwen3_next.py | 42 | # Define the decoder block spec | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 767 | # Define the decoder block spec | COMMENT |
| MEDIUM | tests/test_attention_output_gate_tp.py | 138 | # Create a full gate where each head has a distinct value | COMMENT |
| MEDIUM | miles/backends/megatron_utils/model_provider.py | 265 | # Define the decoder block spec | COMMENT |
| MEDIUM | miles/backends/megatron_utils/model_provider.py | 273 | # Define the decoder layer spec | COMMENT |
| MEDIUM | miles/backends/fsdp_utils/lr_scheduler.py | 77 | # Initialize parent class | COMMENT |
| MEDIUM | miles/utils/async_utils.py | 33 | # Create a background event loop thread | COMMENT |
| MEDIUM | miles/utils/http_utils.py | 385 | # Define the async actor | COMMENT |
| MEDIUM | miles/rollout/rm_hub/__init__.py | 68 | # This function is intended for remote or time-consuming reward model evaluation. | COMMENT |
| MEDIUM | examples/experimental/tau-bench/trainable_agents.py | 213 | # Initialize tracking variables | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …_features/p2p_weight_transfer/prepare-qwen3-30B-A3B.sh | 7 | # Usage: | COMMENT |
| LOW | …p2p_weight_transfer/run-qwen3-30B-A3B-4node-profile.sh | 8 | # Usage: | COMMENT |
| LOW⚡ | …a_features/p2p_weight_transfer/prepare-glm4.7-flash.sh | 8 | # Usage: | COMMENT |
| LOW⚡ | …fra_features/p2p_weight_transfer/prepare-glm4.5-air.sh | 10 | # Usage: | COMMENT |
| LOW | …les/infra_features/p2p_weight_transfer/prepare-glm5.sh | 11 | # Usage: | COMMENT |
| LOW⚡ | …eatures/p2p_weight_transfer/prepare-qwen3-235b-A22B.sh | 8 | # Usage: | COMMENT |
| LOW | …/p2p_weight_transfer/run-glm4.7-flash-2node-profile.sh | 5 | # Usage: | COMMENT |
| LOW | …es/p2p_weight_transfer/run-glm4.5-air-8node-profile.sh | 11 | # Usage: | COMMENT |
| LOW | …eatures/p2p_weight_transfer/run-glm5-disagg-profile.sh | 11 | # Usage: | COMMENT |
| LOW | …_weight_transfer/run-qwen3-235B-A22B-16node-profile.sh | 5 | # Usage: | COMMENT |
| LOW | …ures/p2p_weight_transfer/run-kimi-k2-64node-profile.sh | 9 | # Usage: | COMMENT |
| LOW⚡ | …/infra_features/p2p_weight_transfer/prepare-kimi-k2.sh | 11 | # Usage: | COMMENT |
| LOW | …n-qwen2.5-3B-megatron-lora-disaggregated-multi-node.sh | 15 | # Usage: | COMMENT |
| LOW | examples/geo3k_vlm/run_geo3k_vlm.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/fast/utils/test_platforms.py | 16 | def helper(x): | CODE |
| LOW | …/scripts/tests/proof_generator/test_script_and_diff.py | 113 | "model.py": ("def keep():\n return 0\n\n\ndef helper(x):\n return x + 1\n"), | CODE |
| LOW | …/scripts/tests/proof_generator/test_script_and_diff.py | 135 | "def helper(x):\n" | CODE |
| LOW | …rify/scripts/tests/proof_generator/test_infer_moves.py | 37 | "model.py": ("def keep():\n return 0\n\n\ndef helper(x):\n return x + 1\n"), | CODE |
| LOW | …rify/scripts/tests/proof_generator/test_infer_moves.py | 59 | "def helper(x):\n" | CODE |
| LOW⚡ | …ipts/tests/reproduction_utils/test_extract_function.py | 159 | signature=" def helper(self):", | CODE |
| LOW⚡ | …ipts/tests/reproduction_utils/test_extract_function.py | 169 | assert " def helper(self):\n val = compute_thing()\n" in out | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 63 | (tmp_path / "src.py").write_text("class Old:\n @staticmethod\n def helper(x):\n return x * 2\n") | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 67 | assert "def helper(x):\n return x * 2\n" in (tmp_path / "dst.py").read_text() | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 222 | " def helper(y):\n" | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 230 | assert " @staticmethod\n def helper(y):\n" in dst_out | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 265 | (tmp_path / "src.py").write_text("def helper(x):\n return x + 1\n") | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 320 | (tmp_path / "src.py").write_text("def helper(x):\n return x\n") | CODE |
| LOW⚡ | …y/scripts/tests/reproduction_utils/test_move_symbol.py | 324 | assert " def helper(x):\n return x\n" in (tmp_path / "dst.py").read_text() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | miles_plugins/mbridge/mimo.py | 51 | # Check if this is an MTP layer weight | COMMENT |
| LOW | tests/ci/ci_utils.py | 648 | # Check if we should retry | COMMENT |
| LOW | miles/backends/megatron_utils/model_provider.py | 170 | # Check if the custom provider supports vp_stage parameter | COMMENT |
| LOW | miles/backends/megatron_utils/model_provider.py | 302 | # Check if fp8_model_init supports preserve_high_precision_init_val | COMMENT |
| LOW | miles/backends/fsdp_utils/arguments.py | 108 | ): # Check if it's a Union type # config-access-exempt: inspect union type arguments when deriving dataclass C | CODE |
| LOW | miles/backends/training_utils/metrics/log_utils.py | 392 | if val: # Check if val is not empty | CODE |
| LOW | …s/utils/chat_template_utils/templates/encoding_dsv4.py | 413 | # Check if previous message has a task - if so, this is a task output (no thinking) | COMMENT |
| LOW | …/utils/chat_template_utils/templates/encoding_dsv41.py | 352 | # Check if previous message has a task - if so, this is a task output (no thinking) | COMMENT |
| LOW | miles/utils/hf_utils/config.py | 29 | # Set True to override transformers' native config. | COMMENT |
| LOW | examples/experimental/tau-bench/trainable_agents.py | 322 | # Check if done | COMMENT |
| LOW | examples/experimental/search-r1/qa_em_format.py | 86 | # Check if this is a tag | COMMENT |
| LOW | examples/retool_v2/tool_sandbox.py | 236 | # Return result | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 111 | Run /health_generate on the underlying SGLang HTTP server. Args: timeout: Timeout for the health re | STRING |
| HIGH | examples/experimental/tau-bench/openai_tool_adapter.py | 52 | Parse sglang response to OpenAI compatible format Args: response: Raw response text from s | STRING |
| HIGH | examples/experimental/tau-bench/generate_with_tau.py | 120 | Generate a complete agent-environment interaction trajectory for tau-bench. This is the main entry point for m | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/fast/backends/sglang_utils/test_sglang_config.py | 795 | worker_type="placeholder", num_gpus_per_engine=1, needs_offload=False, overrides={"x": 99} | CODE |
| LOW | tests/fast/rollout/generate_hub/test_single_turn.py | 291 | "process_fn_kwargs": {"routed_experts": "placeholder"}, | CODE |
| LOW⚡ | tests/fast/ray/specs/test_inference.py | 1275 | {"worker_type": "placeholder", "num_gpus": gpu_offset, "num_gpus_per_engine": num_gpus_per_engine} | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 638 | {"worker_type": "placeholder", "num_gpus": 4, "num_gpus_per_engine": 4}, | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 783 | {"worker_type": "placeholder", "num_gpus": 4, "num_gpus_per_engine": 4}, | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 1260 | {"worker_type": "placeholder", "num_gpus": 12, "num_gpus_per_engine": 12}, | CODE |
| LOW | tests/fast/ray/specs/test_entrypoint.py | 73 | {"worker_type": "placeholder", "num_gpus": 4, "num_gpus_per_engine": 4}, | CODE |
| LOW | …/ray/rollout/test_rollout_server_expected_num_cells.py | 28 | dict(worker_type="placeholder", num_gpus=8, num_gpus_per_engine=4), | CODE |
| LOW | …/ray/rollout/test_rollout_server_expected_num_cells.py | 48 | dict(worker_type="placeholder", num_gpus=2, num_gpus_per_engine=2), | CODE |
| LOW | tests/fast/ray/rollout/test_config_matrix.py | 97 | @pytest.mark.parametrize("wt", ["regular", "prefill", "decode", "placeholder"]) | CODE |
| LOW⚡ | tests/fast/ray/rollout/test_debug_data.py | 33 | with pytest.raises(AssertionError, match="placeholder"): | CODE |
| LOW | miles/backends/sglang_utils/sglang_api_client.py | 18 | PLACEHOLDER = "placeholder" | CODE |
| LOW | miles/backends/sglang_utils/sglang_config.py | 37 | "placeholder" reserves GPU slots without creating engines. | STRING |
| LOW | miles/utils/debug_utils/send_to_sglang.py | 53 | client = AsyncOpenAI(api_key="dummy_key", base_url=url) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | miles/rollout/on_policy_distillation.py | 441 | # If you have task rewards, you can add them here. | COMMENT |
| MEDIUM | examples/on_policy_distillation/run-qwen3-8B-opd.sh | 9 | TEACHER_IP="127.0.0.1" # Use localhost here, you can change it to your IP | CODE |