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,089 GitHub stars. SynthScan examined 471,431 lines of code across 2856 source files, recording 14395 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 37.4 (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.
Can maintainers explain intent, assumptions, and trade-offs? 12297 finding(s).
Are imports declared and package/API names verified? 736 finding(s).
Are wrappers, guards, and repeated structures necessary? 12995 finding(s).
Which changes need focused human review? 14395 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 14395 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_torch_dist_to_hf_ray.py | 375 | 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 | 385 | def prepare_cached_metadata_for_reader( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 475 | 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 | 501 | 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 | 508 | 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 | 573 | def converted_moe_tensors_from_chunk( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 693 | def tensor_metadata_from_checkpoint_metadata( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 772 | def collect_moe_blocks_by_file( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 958 | def prepare_moe_block_task_tensors( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 976 | def prepare_whole_source_task_tensors( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 1001 | def write_prepared_tensor_groups( | STRING |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 1049 | 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 | 1296 | 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 | 168 | def _weight_name_mapping_other(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/qwen3_8_next.py | 187 | 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 | 68 | def _hf_config_with_rope_fields(self): | CODE |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 75 | 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 | 80 | def _adjust_mapping_for_shared_weights(self): | CODE |
| LOW | miles_plugins/mbridge/inkling.py | 83 | def _get_hf_shared_weight_keys(self): | CODE |
| LOW⚡ | miles_plugins/mbridge/qwen3_5.py | 166 | def _adjust_mapping_for_shared_weights(self): | CODE |
| LOW⚡ | miles_plugins/mbridge/qwen3_5.py | 172 | def _get_hf_shared_weight_keys(self) -> list[str]: | CODE |
| LOW⚡ | miles_plugins/mbridge/qwen3_5.py | 177 | def _supports_transformer_config_kwarg(self, kwarg_name: str) -> bool: | CODE |
| LOW | miles_plugins/mbridge/qwen3_5.py | 193 | def _get_transformer_layer_spec(self, vp_stage=None): | CODE |
| LOW | miles_plugins/mbridge/qwen3_5.py | 279 | def _weight_name_mapping_mtp_mlp(self, name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/qwen3_5.py | 298 | def _weight_name_mapping_mcore_to_hf(self, mcore_weights_name: str) -> list[str]: | CODE |
| LOW | miles_plugins/mbridge/glm5_next.py | 110 | 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 | 128 | 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/megatron_bridge/mimo_v2.py | 83 | def get_query_key_value_tensors( | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 159 | def _install_nemotronh_hybrid_layer_shims() -> None: | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 192 | 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 | 44 | 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 | 76 | def _patch_model_forward_and_rope_index() -> None: | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 134 | def _patch_preprocess_packed_seqs_identity(model_mod) -> None: | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 182 | 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 | 514 | def get_absorb_query_key_value_tensors( | CODE |
| LOW | miles_plugins/models/glm5/glm5.py | 701 | def get_query_key_value_tensors(self): | CODE |
| LOW | miles_plugins/models/glm5/glm5.py | 724 | def set_for_recompute_input_layernorm(self): | CODE |
| LOW | miles_plugins/models/kimi_k3/lora.py | 137 | def _enable_full_recompute_input_grads(model) -> None: | 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 |
| LOW | miles_plugins/models/inkling/__init__.py | 13 | def inkling_mm_model_provider(*args, **kwargs): | CODE |
| LOW | miles_plugins/models/inkling/model.py | 149 | def get_inkling_dense_layer_spec(config) -> ModuleSpec: | CODE |
| LOW | miles_plugins/models/inkling/model.py | 297 | def inkling_mm_model_provider(pre_process=True, post_process=True, vp_stage=None): | CODE |
| 11534 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | miles_plugins/models/glm5/glm5.py | 218 | # ===================== | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 220 | # ===================== | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 321 | # ================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 323 | # ================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 532 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 534 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 544 | # ========================================= | COMMENT |
| MEDIUM⚡ | miles_plugins/models/glm5/glm5.py | 546 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 560 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 562 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 627 | # ========================================= | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 629 | # ========================================= | 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 | 334 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 336 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 380 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 382 | # --------------------------------------------------------------------------- | 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 | 448 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/ci/test/test_log_groups.py | 450 | # --------------------------------------------------------------------------- | 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 | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 47 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fast/backends/megatron_utils/test_lora_utils.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| 530 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_torch_dist.py | 11 | 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/megatron_bridge/mimo_v2.py | 23 | 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 | 76 | CODE | |
| LOW | miles_plugins/megatron_bridge/__init__.py | 81 | 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 | 145 | CODE | |
| LOW | miles_plugins/models/kimi_k3/lora.py | 1 | 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/lora.py | 1 | CODE | |
| LOW | miles_plugins/models/inkling/layers.py | 4 | CODE | |
| LOW | miles_plugins/models/inkling/image_processing.py | 1 | 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 | 20 | 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 | 31 | 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/gate.py | 29 | CODE | |
| LOW | tests/ci/metric_history/constraints.py | 24 | CODE | |
| LOW | tests/ci/metric_history/selection.py | 27 | CODE | |
| LOW | tests/ci/metric_history/storage/store.py | 22 | CODE | |
| LOW | tests/ci/metric_history/storage/__init__.py | 9 | CODE | |
| LOW | tests/ci/metric_history/storage/__init__.py | 9 | CODE | |
| LOW | tests/ci/metric_history/storage/__init__.py | 10 | CODE | |
| 592 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | serve_tinker.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | train_async.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | train_multi_policy.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | train.py | 22 | 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 | 274 | 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 | 16 | __all__ = [ | CODE |
| LOW | miles_plugins/megatron_bridge/mimo_v2.py | 43 | 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/kimi_k3/lora.py | 11 | logger = logging.getLogger(__name__) | 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 | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/inkling/lora.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | miles_plugins/models/qwen3_8_next/model_provider.py | 16 | 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 | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/ci/ci_utils.py | 82 | 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/cluster_backends.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …t/backends/megatron_utils/test_shared_ppo_lifecycle.py | 736 | def update_weights(self) -> None: | CODE |
| LOW | …kends/training_utils/loss/test_loss_cp2_consistency.py | 41 | def _set_parallel_state(rank: int, world_size: int, tp_group) -> None: | CODE |
| LOW | …training_utils/loss/test_tinker_loss_cp_consistency.py | 39 | def _set_parallel_state(rank: int, world_size: int, tp_group) -> None: | CODE |
| LOW | tests/fast/utils/test_context_lock_failure_patterns.py | 125 | async def _update_weights_flow(controller: _Controller, label: str) -> None: | CODE |
| LOW | tests/fast/utils/test_health_checker.py | 19 | async def _settle(clock: FakeClock) -> None: | CODE |
| LOW | tests/fast/utils/test_context_lock.py | 505 | async def _set_after_yields(event: asyncio.Event, yields: int) -> None: | CODE |
| LOW | tests/fast/utils/test_arguments.py | 53 | def _set_megatron_parallel_sizes(args: argparse.Namespace) -> None: | CODE |
| LOW | tests/fast/utils/workers/cell_operations/test_ray.py | 82 | async def _settle() -> None: | CODE |
| LOW | tests/fast/ray/test_train_actor.py | 256 | def set_device(self, device: str) -> None: | CODE |
| LOW⚡ | tests/fast/ray/test_kubernetes_assembly.py | 98 | def set_train_parallel_config(self, config: dict[str, Any]) -> None: | CODE |
| LOW⚡ | tests/fast/ray/test_kubernetes_assembly.py | 101 | async def set_eval_fleet_info(self, eval_fleet_info: EvalFleetInfo | None) -> None: | CODE |
| LOW | tests/fast/ray/test_kubernetes_assembly.py | 157 | async def update_weights(self, rollout_id: int | None = None) -> None: | CODE |
| LOW | …ts/fast/ray/rollout/test_server_cell_health_checker.py | 365 | async def _settle(clock: FakeClock) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/test_group.py | 1026 | async def _set_all_train_return(group: TrainerController, value: TrainStepOutput) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/test_group.py | 1032 | async def _set_all_train_returns_per_attempt(group: TrainerController, values: list[TrainStepOutput]) -> None: | CODE |
| LOW | tests/fast/ray/train/test_group.py | 308 | def _set_configs(cell, configs: list[dict]) -> None: | CODE |
| LOW | tests/fast/ray/train/test_train_return_value.py | 32 | def _set_train_return_value(cell: Any, value: Any) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/dummy_actor.py | 29 | def set_fail_methods(self, methods: list[str]) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/dummy_actor.py | 32 | def set_train_return_value(self, value: Any) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/dummy_actor.py | 35 | def set_train_return_values_per_attempt(self, values: list[Any]) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/dummy_actor.py | 38 | def set_train_parallel_config(self, config: dict) -> None: | CODE |
| LOW | tests/fast/ray/train/dummy_actor.py | 93 | def set_update_weights_return_value(self, value: Any) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/dummy_actor.py | 104 | def set_heartbeat_fail(self, fail: bool) -> None: | CODE |
| LOW⚡ | tests/fast/ray/train/dummy_actor.py | 107 | def set_last_active_timestamp(self, ts: float) -> None: | CODE |
| LOW | tests/fast/ray/train/fake_worker_manager.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s/e2e/deploy/conftest_deploy/split/split_deployment.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s/e2e/deploy/conftest_deploy/hot_restart/fault_form.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …deploy/conftest_deploy/hot_restart/cluster_observer.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/e2e/deploy/conftest_deploy/hot_restart/freeze_plan.py | 15 | logger = logging.getLogger(__name__) | CODE |
| 297 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 | 546 | assert "github.event.schedule || inputs.ref || github.run_id" in workflow | CODE |
| HIGH⚡ | tests/ci/test/test_run_suite.py | 552 | "group: pr-test-${{ github.event.number || github.event.schedule || inputs.ref || github.run_id }}" | CODE |
| HIGH | tests/ci/test/test_run_suite.py | 573 | "group: pr-test-rocm-${{ github.event.number || github.event.schedule || inputs.ref || github.run_id }}" | CODE |
| HIGH | tests/ci/test/test_run_suite.py | 609 | assert "github.event.schedule || inputs.ref || github.run_id" in workflow | CODE |
| HIGH | tests/ci/test/test_file_run.py | 246 | "GITHUB_COMMIT_NAME: ${{ inputs.ref || github.sha }}_" | CODE |
| HIGH | tests/ci/test/test_file_run.py | 247 | "${{ 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 | 491 | # 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 | 256 | 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 | …_utils/helm_backend/launcher/values/test_pool_entry.py | 25 | PREPARE_CMD = "mkdir -p /scratch/dataset && rsync -a /cluster-storage/dataset/ /scratch/dataset" | CODE |
| HIGH | …mmand_utils/helm_backend/orchestrator/test_observer.py | 136 | 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 | tests/fast/dashboard/test_dump_reader_views.py | 473 | 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⚡ | tests/fast/router/test_session_samples_op_v2.py | 1076 | 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 | 1086 | response = app_client.post(f"/sessions/{sid}/samples", content=b'{"max_seq_len":null}') | CODE |
| HIGH⚡ | tests/fast/router/test_session_samples_op.py | 423 | 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 | 433 | 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/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 | 73 | "ray stop --force || true; pkill -9 sglang || true; sleep 10" | CODE |
| HIGH | …/model_scripts/test_glm5_1_744b_a40b_6layer_lora_ci.py | 73 | "ray stop --force || true; pkill -9 sglang || true; sleep 10" | CODE |
| HIGH | …megatron/model_scripts/test_gpt_oss_20b_moe_lora_ci.py | 137 | "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 | 23 | "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/session/samples/codec.py | 209 | setattr(sample, field, copy(spec.null)) | CODE |
| HIGH | miles/dashboard/store.py | 1091 | # with null, which would otherwise split one logical series | COMMENT |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 732 | 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 | 733 | run_cmd("pkill -9 sglang || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 735 | run_cmd("ray stop --force || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 736 | run_cmd("pkill -9 ray || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 739 | run_cmd("pkill -9 ray || true", check=False) | CODE |
| HIGH⚡ | examples/infra_features/p2p_weight_transfer/run.py | 741 | 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 | 212 | "! -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 |
| HIGH | examples/experimental/hud/run_hud2048.py | 78 | " mkdir -p ~/.config/daytona && echo dtn_... > ~/.config/daytona/api_key" | CODE |
| HIGH | …e-agent-harbor-docker/run-glm47-flash-agentic-async.py | 121 | f"pgrep -f '{pattern}' | {exclude} | xargs -r kill 2>/dev/null || true", | CODE |
| HIGH | examples/swe-agent-harbor-docker/run.py | 83 | f"pgrep -f '{t}' | {exclude} | xargs -r kill 2>/dev/null || true", | CODE |
| HIGH | …/swe-agent-harbor-docker/run_glm52_lora_tb2_daytona.py | 157 | f"pgrep -f '{pattern}' | {exclude} | xargs -r kill 2>/dev/null || true", | CODE |
| HIGH | scripts/run_nemotron_3_super_120b_a12b.py | 61 | if U.exec_command_cpu(f"nc -z {args.head_ip} 6379 2>/dev/null; echo $?", capture_output=True).strip() == "0": | CODE |
| HIGH | scripts/run_nemotron_3_super_120b_a12b.py | 71 | if f"{expected_gpus}.0 GPU" in U.exec_command_cpu("ray status 2>/dev/null || true", capture_output=True): | CODE |
| HIGH | scripts/ci/runner_utilization_report.py | 287 | equal to `created_at` (not null). The previous code required both a | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/convert_hf_to_torch_dist.py | 52 | except Exception: | CODE |
| HIGH | miles_plugins/models/linear_attn.py | 45 | except ImportError: | CODE |
| HIGH | miles_plugins/models/qwen3_8_next/gdn.py | 11 | except ImportError: | CODE |
| HIGH | miles_plugins/models/qwen3_8_next/hyper_connection.py | 165 | except AssertionError: | CODE |
| HIGH | tests/ci/ci_utils.py | 151 | 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 | 124 | except ImportError: | 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 | 145 | except Exception: | CODE |
| HIGH | tests/fast/utils/workers/real_ray/conftest.py | 251 | 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 | 220 | except (ConnectionResetError, BrokenPipeError, asyncio.IncompleteReadError): | CODE |
| HIGH | tests/fast/ray/rollout/conftest.py | 346 | 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 | 145 | except ray.exceptions.RayActorError: | CODE |
| HIGH | tests/manual/session/bench_session_server_overhead.py | 740 | except (ValueError, ProcessLookupError, AttributeError): | CODE |
| HIGH | tests/manual/session/bench_session_server_overhead.py | 443 | 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 | 99 | except ImportError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_engine.py | 28 | except ValueError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 40 | except httpx.HTTPError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 52 | except httpx.HTTPError: | CODE |
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 358 | except httpx.HTTPError: | CODE |
| HIGH | miles/utils/http_utils.py | 99 | 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 | 296 | 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 | 60 | except (TimeoutError, asyncio.TimeoutError): | CODE |
| HIGH | miles/utils/workers/process_utils.py | 42 | except ProcessLookupError: | CODE |
| HIGH | miles/utils/workers/process_utils.py | 49 | except ProcessLookupError: | CODE |
| HIGH | miles/utils/hf_utils/config.py | 132 | except ImportError: | CODE |
| HIGH | miles/rollout/agentic/agent_function.py | 88 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | miles/rollout/rm_hub/math_utils.py | 355 | except Exception: | CODE |
| HIGH | miles/rollout/rm_hub/math_utils.py | 301 | except Exception: | CODE |
| HIGH | miles/dashboard/store.py | 379 | except json.JSONDecodeError: | 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 |
| HIGH | …experimental/openenv/openenv_daytona_agent_function.py | 90 | except ImportError: # pragma: no cover - only without the daytona SDK | CODE |
| HIGH | examples/experimental/openenv/openenv_agent_function.py | 216 | except Exception: | CODE |
| HIGH | examples/experimental/openenv/scan_golden.py | 87 | except Exception: | CODE |
| HIGH | examples/experimental/openenv/tb2_sandbox_e2b.py | 250 | except Exception: | CODE |
| HIGH | …xperimental/formal_math/single_round/kimina_wrapper.py | 96 | except requests.RequestException: | CODE |
| HIGH | examples/retool_v2/tool_sandbox.py | 183 | except Exception: | CODE |
| 5 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_torch_dist.py | 52 | except Exception: | CODE |
| LOW | tools/convert_hf_to_int4.py | 39 | except Exception as e: | CODE |
| LOW | miles_plugins/mbridge/qwen3_8_next.py | 164 | except Exception: | CODE |
| LOW | miles_plugins/megatron_bridge/nemotron_h.py | 223 | except Exception as e: # best-effort; avoid breaking unrelated models | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 60 | except Exception as _e: # best-effort | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 68 | except Exception as _e: # best-effort; Qwen3-VL may be unavailable in some envs | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 77 | except Exception as _e: # pragma: no cover - defensive | CODE |
| LOW⚡ | miles_plugins/megatron_bridge/__init__.py | 82 | except Exception as _e: # pragma: no cover - defensive | CODE |
| LOW | miles_plugins/models/qwen3_vl.py | 200 | except Exception: | CODE |
| MEDIUM | miles_plugins/models/qwen3_vl.py | 76 | 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 | 181 | except Exception as _import_error: | CODE |
| LOW | miles_plugins/models/inkling/lora.py | 649 | except Exception: | CODE |
| LOW | tests/ci/ci_utils.py | 153 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 192 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 293 | except Exception as e: # noqa: BLE001 -- never let store setup fail CI | CODE |
| LOW | tests/ci/ci_utils.py | 373 | except Exception as e: | CODE |
| LOW | tests/ci/ci_utils.py | 573 | except Exception as e: # noqa: BLE001 -- gate infra must not affect pass/fail | CODE |
| LOW | tests/ci/ci_utils.py | 617 | except Exception: | CODE |
| MEDIUM | tests/ci/ci_utils.py | 189 | 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 | 138 | except Exception: | STRING |
| LOW | tests/ci/metric_history/storage/neon_store.py | 192 | except Exception: | STRING |
| LOW⚡ | tests/fast/utils/workers/real_ray/conftest.py | 145 | except Exception: | STRING |
| LOW | tests/fast/utils/workers/real_ray/conftest.py | 251 | except Exception: | CODE |
| LOW | tests/fast/dashboard/test_engine_derived.py | 82 | except Exception as e: # noqa: BLE001 | CODE |
| MEDIUM | tests/fast/dashboard/test_engine_derived.py | 79 | 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 | 303 | except Exception: | CODE |
| LOW | tests/fast/ray/rollout/conftest.py | 346 | except Exception: | CODE |
| MEDIUM | tests/fast/ray/rollout/conftest.py | 300 | 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 | 111 | except Exception: | CODE |
| LOW | tests/manual/session/_bench_load_generator.py | 222 | except Exception: | CODE |
| LOW⚡ | …s/e2e/deploy/conftest_deploy/split/split_deployment.py | 137 | except Exception: | CODE |
| LOW⚡ | …s/e2e/deploy/conftest_deploy/hot_restart/fault_form.py | 183 | except Exception: | CODE |
| MEDIUM | …s/e2e/deploy/conftest_deploy/hot_restart/fault_form.py | 180 | def _read_restart_stamps_or_none(self) -> dict[str, str | None] | None: | CODE |
| LOW | …deploy/conftest_deploy/hot_restart/cluster_observer.py | 228 | except Exception: | CODE |
| LOW | …deploy/conftest_deploy/hot_restart/cluster_observer.py | 264 | except Exception: | CODE |
| LOW | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 258 | except Exception: | CODE |
| LOW | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 304 | except Exception: | CODE |
| MEDIUM | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 255 | def _read_progress_and_observe_cluster(self) -> RunProgress | None: | CODE |
| MEDIUM | tests/e2e/deploy/conftest_deploy/hot_restart/driver.py | 299 | def _reread_saved_iteration(self) -> int | None: | 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 | tests/e2e/ft/conftest_ft/fault_injection/core.py | 109 | except Exception: | CODE |
| LOW | tests/e2e/ft/conftest_ft/fault_injection/core.py | 152 | except 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/__init__.py | 25 | except Exception as _e: # best-effort; not every environment uses megatron.bridge | CODE |
| LOW | miles/backends/megatron_utils/model_provider.py | 295 | except Exception as e: | CODE |
| LOW | miles/backends/megatron_utils/hf_export.py | 79 | except Exception as e: | CODE |
| LOW | miles/backends/megatron_utils/lora/utils.py | 210 | except Exception: | CODE |
| LOW | miles/backends/megatron_utils/megatron_to_hf/inkling.py | 56 | except Exception: | CODE |
| 227 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 | …features/split_deployment/test_run_qwen3_0_6b_split.py | 0 | every other deployment holds the controller itself and refuses to be pointed at one. | STRING |
| HIGH | …lit_deployment/test_run_solver_verifier_gsm8k_split.py | 0 | every other deployment holds the controller itself and refuses to be pointed at one. | STRING |
| HIGH | …/e2e/deploy/split/test_scenario_split_deterministic.py | 0 | every other deployment holds the controller itself and refuses to be pointed at one. | STRING |
| HIGH | …features/split_deployment/test_run_qwen3_0_6b_split.py | 0 | the deployment that carries the trainer reaches it in its own process and refuses the flag. | STRING |
| HIGH | …lit_deployment/test_run_solver_verifier_gsm8k_split.py | 0 | the deployment that carries the trainer reaches it in its own process and refuses the flag. | STRING |
| HIGH | …/e2e/deploy/split/test_scenario_split_deterministic.py | 0 | the deployment that carries the trainer reaches it in its own process and refuses the flag. | STRING |
| HIGH | …features/split_deployment/test_run_qwen3_0_6b_split.py | 0 | deployments that disagree on the master hand each other references nothing can read back. | STRING |
| HIGH | …lit_deployment/test_run_solver_verifier_gsm8k_split.py | 0 | deployments that disagree on the master hand each other references nothing can read back. | STRING |
| HIGH | …/e2e/deploy/split/test_scenario_split_deterministic.py | 0 | deployments that disagree on the master hand each other references nothing can read back. | 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 | 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 | scripts/run_deepseek_v32.py | 0 | use_tis: true use_rs: {"true" if args.tis_use_rs else "false"} tis_level: "token" rs_level: "token" tis_mode: "truncate" | STRING |
| HIGH | scripts/run_joy_ai_llm_flash.py | 0 | use_tis: true use_rs: {"true" if args.tis_use_rs else "false"} tis_level: "token" rs_level: "token" tis_mode: "truncate" | STRING |
| HIGH | scripts/run_qwen3_4b.py | 0 | use_tis: true use_rs: {"true" if args.tis_use_rs else "false"} tis_level: "token" rs_level: "token" tis_mode: "truncate" | STRING |
| HIGH | scripts/run_qwen3_30b_a3b.py | 0 | use_tis: true use_rs: {"true" if args.tis_use_rs else "false"} tis_level: "token" rs_level: "token" tis_mode: "truncate" | STRING |
| HIGH | scripts/run_glm45_355b_a32b.py | 0 | use_tis: true use_rs: {"true" if args.tis_use_rs else "false"} tis_level: "token" rs_level: "token" tis_mode: "truncate" | STRING |
| HIGH | scripts/amd/run_qwen3_30b_a3b.py | 0 | use_tis: true use_rs: {"true" if args.tis_use_rs else "false"} tis_level: "token" rs_level: "token" tis_mode: "truncate" | 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 |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | train_async.py | 23 | CODE | |
| LOW | train.py | 25 | 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 | 173 | CODE | |
| LOW | tools/convert_kimi_int4_to_bf16.py | 101 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 573 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_ray.py | 325 | CODE | |
| LOW | tools/fp8_cast_bf16.py | 43 | CODE | |
| LOW | tools/convert_to_hf.py | 29 | CODE | |
| LOW | docker/build.py | 102 | CODE | |
| LOW | docker/image_inputs.py | 75 | CODE | |
| LOW | docker/image_inputs.py | 82 | CODE | |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 91 | CODE | |
| LOW | miles_plugins/mbridge/deepseek_v32.py | 125 | CODE | |
| LOW | miles_plugins/mbridge/glm4.py | 83 | CODE | |
| LOW | miles_plugins/mbridge/glm4moe.py | 35 | CODE | |
| LOW | miles_plugins/models/kimi_k3/lora.py | 47 | CODE | |
| LOW | miles_plugins/models/kimi_k3/lora.py | 438 | CODE | |
| LOW | miles_plugins/models/kimi_k3/lora.py | 678 | 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 | 59 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/deepseek_v4.py | 240 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/engram.py | 118 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/deepseek_v4_1.py | 215 | CODE | |
| LOW | miles_plugins/models/deepseek_v4_1/deepseek_v4_1.py | 466 | CODE | |
| LOW | tests/ci/stage_selection.py | 142 | CODE | |
| LOW | tests/ci/ci_utils.py | 50 | CODE | |
| LOW | tests/ci/ci_utils.py | 308 | CODE | |
| LOW | tests/ci/ci_utils.py | 415 | 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 | 387 | CODE | |
| LOW | tests/ci/test/test_ci_register.py | 732 | 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 | 282 | CODE | |
| LOW | tests/fast-gpu/test_dsv4_thd_cp_correctness.py | 128 | CODE | |
| LOW | tests/fast-gpu/test_dsv4_indexer_cp_balance.py | 129 | CODE | |
| LOW | tests/fast/test_platform_contract.py | 93 | CODE | |
| LOW | tests/fast/train_args.py | 40 | CODE | |
| LOW | tests/fast/test_ray_cluster_bootstrap.py | 81 | CODE | |
| LOW | tests/fast/source_scan.py | 49 | CODE | |
| LOW | tests/fast/tinker/core/test_service.py | 678 | CODE | |
| LOW | …sts/fast/backends/test_fsdp_hub_kernels_distributed.py | 27 | CODE | |
| LOW | …sts/fast/backends/test_fsdp_hub_kernels_distributed.py | 50 | CODE | |
| LOW | …ckends/training_utils/test_score_centering_filtered.py | 191 | CODE | |
| LOW | …nds/training_utils/test_score_centering_distributed.py | 212 | CODE | |
| LOW | …ils/weight_update/test_dist_weight_update_lifecycle.py | 131 | CODE | |
| LOW | …ng_utils/weight_update/test_p2p_remote_weight_infos.py | 45 | CODE | |
| LOW | …ng_utils/weight_update/test_p2p_remote_weight_infos.py | 83 | CODE | |
| 190 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ci/README.md | 11 | ### Step 0: Prepare `/data/miles_ci` | COMMENT |
| LOW⚡ | tests/ci/README.md | 28 | ### Step 1: Env | COMMENT |
| LOW⚡ | tests/ci/README.md | 38 | ### Step 2: Prepare `/home/runner/externals` | COMMENT |
| LOW⚡ | tests/ci/README.md | 48 | ### Step 3: Run | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 128 | # Step 1: sender — wrap state_dict for transport | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 131 | # Step 2: sender — flatten via pytree (what PGTransport does internally) | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 134 | # Step 3: sender — pickle treespec + non-tensor leaves; "send" tensor leaves over the wire | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 141 | # Step 4: receiver — unpickle metadata + interleave received tensors back into leaf order | COMMENT |
| LOW | …st/backends/megatron_utils/test_checkpoint_transfer.py | 155 | # 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 | 374 | # Step 1: Stop cell 1 | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 377 | # Step 2: Refresh | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 380 | # Step 3: Quorum bumped (init was quorum 0, this is first reconfigure) | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 383 | # Step 4: Remaining alive cells have updated indep_dp_info | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 392 | # Step 5: Stopped cell untouched | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 395 | # Step 6: Actors received reconfigure_indep_dp | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 414 | # 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 | 128 | # Step 1: sender — wrap state_dict for transport | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 131 | # Step 2: sender — flatten via pytree (what PGTransport does internally) | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 134 | # Step 3: sender — pickle treespec + non-tensor leaves; "send" tensor leaves over the wire | COMMENT |
| LOW⚡ | …st/backends/megatron_utils/test_checkpoint_transfer.py | 141 | # Step 4: receiver — unpickle metadata + interleave received tensors back into leaf order | COMMENT |
| LOW | …st/backends/megatron_utils/test_checkpoint_transfer.py | 155 | # 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 | 374 | # Step 1: Stop cell 1 | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 377 | # Step 2: Refresh | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 380 | # Step 3: Quorum bumped (init was quorum 0, this is first reconfigure) | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 383 | # Step 4: Remaining alive cells have updated indep_dp_info | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 392 | # Step 5: Stopped cell untouched | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 395 | # Step 6: Actors received reconfigure_indep_dp | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 414 | # Step 1: Stop cell 2, then start it (pending) | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 418 | # Step 2: Refresh heals the pending cell | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 421 | # Step 3: All 3 cells are now alive | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 424 | # Step 4: All cells have consistent indep_dp_info | COMMENT |
| LOW⚡ | tests/fast/ray/train/test_group.py | 429 | # 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 | 631 | # --- dual-register files + harness-supplied registry ------------------------ | STRING |
| MEDIUM | tests/ci/test/test_history_gate.py | 656 | # single-registry reparse raise (ambiguous). With the harness passing the | STRING |
| MEDIUM | tests/ci/test/test_ci_history.py | 201 | # This covers the backend's current file naming detail, not a CI harness | COMMENT |
| MEDIUM | tests/ci/metric_history/gate.py | 276 | # never raise on a dual-register / no-register file. Use the harness's | COMMENT |
| MEDIUM | tests/ci/metric_history/gate.py | 292 | # 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 | 94 | # 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 | 106 | # 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 | 2843 | # On iff the CI harness injected MILES_CI_GATE_RECORD_DIR (the same env var | COMMENT |
| MEDIUM | miles/utils/tracking_utils/ci_history.py | 61 | # Env var naming the directory the harness assigns for this run's records. | COMMENT |
| MEDIUM | miles/utils/tracking_utils/ci_history.py | 102 | # 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 | 221 | # 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 | 333 | # - harness marker absent: the server scored, but not through the | COMMENT |
| MEDIUM⚡ | examples/experimental/openenv/openenv_agent_function.py | 448 | # No canonical verdict (infra/harness failure or a non-canonical server, | COMMENT |
| MEDIUM⚡ | examples/experimental/openenv/openenv_agent_function.py | 457 | # 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/hud2048_config.yaml | 29 | # cut mid-JSON, which the harness answers by rewriting that turn's recorded | COMMENT |
| MEDIUM | examples/experimental/hud/rollout.py | 436 | # from a turn the harness could not even parse a tool call out of. | 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 | 174 | # every third sample is agentic-shaped: multi-turn (mixed weight versions | COMMENT |
| 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 | 159 | # English-only on purpose: matches the production agentic flows tokenization | COMMENT |
| MEDIUM⚡ | miles/rollout/fully_async_data_buffer.py | 32 | # returns multiple samples per trajectory (e.g. multi-agent). | COMMENT |
| MEDIUM | miles/rollout/base_types.py | 105 | # One generate may lead to multiple samples, such as multi-agent, tree-like exploration, or | COMMENT |
| MEDIUM | miles/dashboard/store.py | 715 | # 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/index.md | 55 | - **[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 | 318 | # 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 | …/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 | 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/github_runner/docker-compose.yml | 1 | # Please refer to `README.md` for how to setup this GitHub action runner. | COMMENT |
| LOW | tests/fast/utils/test_http_utils.py | 241 | process.kill() | 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 | # | COMMENT |
| LOW | …utils/chat_template_utils/test_token_seq_comparator.py | 401 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | tests/fast/utils/chat_template_utils/test_template.py | 201 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | tests/manual/session/bench_session_server_overhead.py | 301 | payload = dict(result) | 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/backends/training_utils/loss/hub/math_utils.py | 881 | 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 | …es/infra_features/train_infer_mismatch_helper/mis.yaml | 1 | # Enable importance sampling, details refer to the comments of compute_mis_weights in mis.py | 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 | 161 | _DEFAULT_ENV_URL = "http://localhost:8003" | COMMENT |
| LOW | examples/experimental/openenv/openenv_agent_function.py | 181 | COMMENT | |
| LOW | examples/experimental/openenv/openenv_agent_function.py | 321 | # rejects an empty message content with "content cannot be empty". | 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/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/hud2048_config.yaml | 1 | # HUD 2048 (v6 browser starter). Sizing comes from measurements on this task; | COMMENT |
| LOW | examples/experimental/hud/hud2048_config.yaml | 21 | # Turns are the expensive axis -- every turn re-prefills the whole screenshot | COMMENT |
| LOW | examples/experimental/hud/hud2048_config.yaml | 41 | # Reward = which task template to train on. Of the starter's three 2048 | 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 |
| LOW | …n-qwen2.5-3B-megatron-lora-disaggregated-multi-node.sh | 21 | # Run the script once per node, with NODE_RANK 0 on the head node and a distinct | COMMENT |
| LOW | …n-qwen2.5-3B-megatron-lora-disaggregated-multi-node.sh | 41 | # env ${ENV} bash ...-multi-node.sh broadcast 3 # worker 3 (rollout node 1) | COMMENT |
| LOW | …_policy_distillation/run-qwen3-8B-opd-multi-teacher.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …llation/qwen3_5_35b_selfdistill/phase1_rlvr_teacher.sh | 1 | #!/bin/bash | COMMENT |
| 10 more matches not shown… | ||||
| 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 | 64 | # Define the decoder block spec | COMMENT |
| MEDIUM | miles_plugins/models/qwen3_next.py | 54 | # Define the decoder block spec | COMMENT |
| MEDIUM | miles_plugins/models/glm5/glm5.py | 758 | # 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 | 255 | # Define the decoder block spec | COMMENT |
| MEDIUM | miles/backends/megatron_utils/model_provider.py | 263 | # 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 | 31 | # Create a background event loop thread | COMMENT |
| MEDIUM | miles/utils/http_utils.py | 326 | # Define the async actor | COMMENT |
| MEDIUM | miles/rollout/rm_hub/__init__.py | 56 | # This function is intended for remote or time-consuming reward model evaluation. | COMMENT |
| MEDIUM | examples/experimental/tau-bench/trainable_agents.py | 212 | # Initialize tracking variables | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_int4_direct.py | 118 | CODE | |
| LOW | docker/build.py | 197 | CODE | |
| LOW | miles_plugins/models/hf_attention.py | 71 | CODE | |
| LOW | miles_plugins/models/linear_attn.py | 503 | CODE | |
| LOW | miles_plugins/models/glm5/glm5.py | 193 | CODE | |
| LOW | miles_plugins/models/kimi_k3/layers.py | 207 | CODE | |
| LOW | miles_plugins/models/kimi_k3/layers.py | 318 | CODE | |
| LOW | miles_plugins/models/inkling/model.py | 65 | CODE | |
| LOW | miles_plugins/models/glm5_next/dsa.py | 164 | CODE | |
| LOW | miles_plugins/models/qwen3_8_next/gdn.py | 173 | CODE | |
| LOW | miles_plugins/models/deepseek_v4/deepseek_v4.py | 240 | 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 | 466 | CODE | |
| LOW | tests/ci/ci_utils.py | 415 | CODE | |
| LOW | tests/ci/test/test_comment_ci_command.py | 234 | CODE | |
| LOW | …ast/backends/training_utils/loss/test_loss_snapshot.py | 241 | CODE | |
| LOW | …s/fast/backends/sglang_utils/test_server_args_utils.py | 59 | CODE | |
| LOW | tests/fast/utils/test_health_checker.py | 26 | CODE | |
| LOW | tests/fast/utils/test_arguments.py | 361 | CODE | |
| LOW | …d_utils/helm_backend/launcher/test_launch_lifecycle.py | 482 | CODE | |
| LOW | tests/fast/utils/workers/test_ray_worker_manager.py | 39 | CODE | |
| LOW | …ts/fast/utils/workers/test_ray_worker_manager_serve.py | 92 | CODE | |
| LOW | tests/fast/utils/workers/reconcile/test_loop.py | 52 | CODE | |
| LOW | tests/fast/rollout/generate_hub/test_single_turn.py | 71 | CODE | |
| LOW | tests/fast/rollout/generate_utils/test_sample_utils.py | 17 | CODE | |
| LOW | tests/fast/rollout/session/test_samples.py | 33 | CODE | |
| LOW | tests/fast/dashboard/dummy_dump.py | 60 | CODE | |
| LOW | tests/fast/ray/rollout/real_ray/conftest.py | 36 | CODE | |
| LOW | …atron_to_hf/processors/quantizer_compressed_tensors.py | 225 | CODE | |
| LOW | miles/backends/training_utils/loss/hub/math_utils.py | 970 | CODE | |
| LOW | miles/utils/http_utils.py | 386 | CODE | |
| LOW | miles/utils/distributed_utils.py | 49 | CODE | |
| LOW | miles/utils/data.py | 192 | CODE | |
| LOW | …les/utils/external_utils/command_utils/base_backend.py | 131 | CODE | |
| LOW | miles/utils/external_utils/miles_workbench/__main__.py | 41 | 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 | 351 | CODE |
| 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 | …/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 | tests/fast/rollout/generate_hub/test_single_turn.py | 252 | "process_fn_kwargs": {"routed_experts": "placeholder"}, | CODE |
| LOW⚡ | tests/fast/ray/specs/test_inference.py | 1159 | {"worker_type": "placeholder", "num_gpus": gpu_offset, "num_gpus_per_engine": num_gpus_per_engine} | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 546 | {"worker_type": "placeholder", "num_gpus": 4, "num_gpus_per_engine": 4}, | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 680 | {"worker_type": "placeholder", "num_gpus": 4, "num_gpus_per_engine": 4}, | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 904 | if group_cfg.worker_type != "placeholder": | CODE |
| LOW | tests/fast/ray/specs/test_inference.py | 1146 | {"worker_type": "placeholder", "num_gpus": 12, "num_gpus_per_engine": 12}, | CODE |
| LOW | tests/fast/ray/specs/test_entrypoint.py | 61 | {"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 | 90 | @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_config.py | 25 | worker_type: One of "regular", "prefill", "decode", or "placeholder". | STRING |
| LOW⚡ | miles/backends/sglang_utils/sglang_config.py | 26 | "placeholder" reserves GPU slots without creating engines. | STRING |
| LOW⚡ | miles/backends/sglang_utils/sglang_config.py | 35 | worker_type: Literal["regular", "prefill", "decode", "placeholder"] | CODE |
| LOW | miles/backends/sglang_utils/sglang_config.py | 145 | worker_type: Literal["regular", "prefill", "decode", "placeholder"] | CODE |
| LOW | miles/backends/sglang_utils/sglang_config.py | 261 | if group.worker_type != "placeholder" | CODE |
| LOW | miles/utils/debug_utils/send_to_sglang.py | 53 | client = AsyncOpenAI(api_key="dummy_key", base_url=url) | CODE |
| LOW | miles/ray/specs/inference.py | 284 | if server_group_config.worker_type != "placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | miles/backends/sglang_utils/sglang_api_client.py | 93 | 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 | 118 | 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 | miles_plugins/mbridge/mimo.py | 51 | # Check if this is an MTP layer weight | COMMENT |
| LOW | tests/ci/ci_utils.py | 585 | # Check if we should retry | COMMENT |
| LOW | miles/backends/megatron_utils/model_provider.py | 159 | # Check if the custom provider supports vp_stage parameter | COMMENT |
| LOW | miles/backends/megatron_utils/model_provider.py | 292 | # Check if fp8_model_init supports preserve_high_precision_init_val | COMMENT |
| LOW | miles/backends/fsdp_utils/arguments.py | 90 | if hasattr(f.type, "__args__"): # Check if it's a Union type | CODE |
| LOW | miles/backends/training_utils/metrics/log_utils.py | 379 | if val: # Check if val is not empty | CODE |
| LOW | miles/utils/hf_utils/config.py | 29 | # Set True to override transformers' native config. | COMMENT |
| LOW | examples/experimental/tau-bench/trainable_agents.py | 321 | # 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 | 235 | # Return result | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | miles/rollout/on_policy_distillation.py | 433 | # 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 |