🤗 LeRobot: Making AI for Robotics more accessible with end-to-end learning
This report summarizes scanner evidence for huggingface/lerobot, a Python project with 28,064 GitHub stars. SynthScan examined 297,659 lines of code across 1023 source files, recording 7440 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 32.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? 5219 finding(s).
Are imports declared and package/API names verified? 1112 finding(s).
Are wrappers, guards, and repeated structures necessary? 4849 finding(s).
Which changes need focused human review? 7440 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 7440 distinct pattern matches across 22 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 | tests/test_streaming_location.py | 47 | def test_parse_rejects_incomplete_bucket_roots(root: str) -> None: | CODE |
| LOW | tests/test_streaming_location.py | 52 | def test_storage_options_only_carry_the_token_to_hub_roots() -> None: | CODE |
| LOW | tests/test_streaming_location.py | 73 | def test_pinned_resolves_dataset_branches_only(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | tests/conftest.py | 63 | def _check_component_availability(component_type, available_components, make_component): | CODE |
| LOW | tests/test_available.py | 31 | def test_require_package_raises_when_missing(): | CODE |
| LOW | tests/test_available.py | 43 | def test_require_package_passes_when_available(): | CODE |
| LOW | tests/test_available.py | 54 | def test_require_package_error_message_includes_uv(): | CODE |
| LOW | tests/test_streaming_core_imports.py | 17 | def test_streaming_core_imports_without_dataset_extra() -> None: | CODE |
| LOW⚡ | tests/test_robomme_env.py | 71 | def test_robomme_env_config_defaults(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 101 | def test_robomme_rejects_duplicate_camera_names(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 108 | def test_robomme_camera_feature_names_are_configurable(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 117 | def test_robomme_preserves_explicit_feature_mapping(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 135 | def test_robomme_features_action_dim_joint_angle(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 143 | def test_robomme_features_action_dim_ee_pose(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 157 | def test_reset_exposes_episode_task_description(): | CODE |
| LOW⚡ | tests/test_robomme_env.py | 273 | def test_create_robomme_envs_returns_correct_structure(): | CODE |
| LOW | tests/test_robomme_env.py | 83 | def test_robomme_env_config_type(): | CODE |
| LOW | tests/test_robomme_env.py | 90 | def test_robomme_features_map(): | CODE |
| LOW | tests/test_robomme_env.py | 171 | def test_close_releases_underlying_simulator(): | CODE |
| LOW | tests/test_robomme_env.py | 188 | def test_reset_closes_previous_simulator(): | CODE |
| LOW | tests/test_robomme_env.py | 204 | def test_convert_obs_list_format(): | CODE |
| LOW | tests/test_robomme_env.py | 245 | def test_convert_obs_array_format(): | CODE |
| LOW | tests/test_robomme_env.py | 295 | def test_create_robomme_envs_multi_task(): | CODE |
| LOW | tests/test_robomme_env.py | 313 | def test_create_robomme_envs_raises_on_invalid_env_cls(): | CODE |
| LOW⚡ | tests/test_streaming_sidecar.py | 88 | def test_sidecar_cache_path_is_revision_keyed(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/test_streaming_sidecar.py | 97 | def test_mutable_or_local_source_still_requires_revision_match(root: str) -> None: | CODE |
| LOW⚡ | tests/test_streaming_sidecar.py | 102 | def test_existing_alias_cache_is_reused_without_rebuild(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/test_streaming_sidecar.py | 451 | def test_temporary_validation_does_not_prepare_index(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/test_streaming_sidecar.py | 458 | def test_wrong_revision_does_not_prepare_index(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/test_streaming_sidecar.py | 465 | def test_missing_array_is_rejected_without_publishing_index(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 119 | def test_source_generation_round_trip_and_replacement(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 141 | def test_ensure_reuses_valid_local_sidecar(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 157 | def test_ensure_rebuilds_sidecar_without_composition_timing(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 182 | def test_ensure_downloads_valid_published_sidecar(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 203 | def test_ensure_rebuilds_invalid_local_sidecar(tmp_path: Path, invalid_kind: str) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 224 | def test_concurrent_ensure_builds_once(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 247 | def test_failed_build_does_not_replace_existing_file(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 264 | def test_lock_timeout_is_actionable(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 277 | def test_sidecar_arrays_are_read_only_file_backed(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 289 | def test_warm_validation_does_not_decompress_arrays(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 303 | def test_sidecar_replacement_preserves_live_arrays(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 316 | def test_sidecar_generation_uses_open_file_not_stale_path_attributes( | CODE |
| LOW | tests/test_streaming_sidecar.py | 339 | def test_sidecar_payload_does_not_reuse_stale_path_generation( | CODE |
| LOW | tests/test_streaming_sidecar.py | 356 | def test_rewrite_with_repeated_stat_identity_is_not_served_stale( | CODE |
| LOW | tests/test_streaming_sidecar.py | 376 | def test_source_change_during_conversion_is_not_published( | CODE |
| LOW | tests/test_streaming_sidecar.py | 397 | def test_sidecar_load_projects_source_files(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 405 | def test_concurrent_index_conversion_runs_once(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 423 | def test_invalid_derived_index_is_recreated(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 433 | def test_invalid_derived_metadata_is_recreated(tmp_path: Path, corruption: str) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 476 | def test_read_only_source_uses_writable_local_index_cache(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 490 | def test_full_index_cache_does_not_rebuild_valid_source( | CODE |
| LOW | tests/test_streaming_sidecar.py | 509 | def test_sidecar_array_reads_do_not_scan_npz_member_lists( | CODE |
| LOW | tests/test_streaming_sidecar.py | 528 | def test_sidecar_rejects_object_arrays_without_publication(tmp_path: Path, prepare_cache: bool) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 540 | def test_resolved_sidecar_decompresses_each_array_once( | CODE |
| LOW | tests/test_streaming_sidecar.py | 563 | def test_invalid_build_preserves_previous_source_and_mapped_generation(tmp_path: Path) -> None: | CODE |
| LOW | tests/test_streaming_sidecar.py | 584 | def test_parallel_mapping_protects_legacy_zip_relative_seeks( | CODE |
| LOW | tests/test_streaming_sidecar.py | 614 | def test_parallel_mapping_decompresses_outside_source_lock( | CODE |
| LOW | tests/test_streaming_sidecar.py | 635 | def test_parallel_mapping_is_ordered_and_matches_serial_bytes( | CODE |
| LOW | tests/test_streaming_sidecar.py | 664 | def test_parallel_read_ahead_obeys_count_and_byte_bounds( | CODE |
| LOW | tests/test_streaming_sidecar.py | 691 | def test_parallel_failure_drains_workers_and_removes_partial_index( | CODE |
| 3565 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 99 | # ── Feature-scoped extras ────────────────────────────────── | COMMENT |
| MEDIUM | pyproject.toml | 141 | # ── User-facing composite extras (map to CLI scripts) ───── | COMMENT |
| MEDIUM⚡ | tests/test_robomme_env.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_robomme_env.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_robomme_env.py | 152 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_robomme_env.py | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_robomme_env.py | 268 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_robomme_env.py | 270 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 424 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 426 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 470 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 472 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 512 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 514 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 552 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 554 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 624 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 626 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 647 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 649 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 787 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 789 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 840 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 842 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 852 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 857 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 924 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 926 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 966 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 968 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 1278 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout.py | 1280 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout.py | 1387 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout.py | 1389 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout_action_ordering.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rollout_action_ordering.py | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 183 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 185 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 215 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 217 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 243 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 245 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 458 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rollout_action_ordering.py | 460 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 89 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 91 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 160 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 162 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 267 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 269 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 586 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/distributed/test_multigpu_training.py | 588 | # ------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/async_inference/test_policy_server.py | 29 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/async_inference/test_policy_server.py | 31 | # ----------------------------------------------------------------------------- | COMMENT |
| 431 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_streaming_core_imports.py | 11 | CODE | |
| LOW | tests/test_robomme_env.py | 21 | CODE | |
| LOW | tests/test_streaming_sidecar.py | 11 | CODE | |
| LOW | tests/test_rollout.py | 17 | CODE | |
| LOW | tests/test_rollout_action_ordering.py | 26 | CODE | |
| LOW | tests/test_interactive_rollout.py | 18 | CODE | |
| LOW | tests/distributed/test_accelerate_canaries.py | 121 | CODE | |
| LOW | tests/distributed/test_accelerate_canaries.py | 125 | CODE | |
| LOW | tests/distributed/test_accelerate_canaries.py | 125 | CODE | |
| LOW | tests/async_inference/test_policy_server.py | 18 | CODE | |
| LOW | tests/async_inference/test_e2e.py | 30 | CODE | |
| LOW | tests/async_inference/test_robot_client.py | 20 | CODE | |
| LOW | tests/async_inference/test_robot_client.py | 254 | CODE | |
| LOW | tests/processor/test_render_messages_runtime.py | 5 | CODE | |
| LOW | tests/rewards/test_topreward_processor.py | 17 | CODE | |
| LOW | tests/rewards/test_modeling_topreward.py | 17 | CODE | |
| LOW | tests/rewards/test_modeling_robometer.py | 17 | CODE | |
| LOW | tests/rewards/test_robometer_processor.py | 27 | CODE | |
| LOW | tests/datasets/test_episode_parquet_reader.py | 11 | CODE | |
| LOW | tests/datasets/test_streaming_production.py | 11 | CODE | |
| LOW | tests/datasets/test_streaming_mp4_timing.py | 11 | CODE | |
| LOW | tests/utils/test_stdin_input.py | 17 | CODE | |
| LOW | tests/policies/test_pretrained_interactive_contracts.py | 18 | CODE | |
| LOW | tests/policies/test_gaussian_actor_policy.py | 32 | CODE | |
| LOW | tests/policies/groot/test_groot_vs_original.py | 52 | CODE | |
| LOW | tests/policies/evo1/test_evo1.py | 17 | CODE | |
| LOW | tests/policies/vla_jepa/conftest.py | 19 | CODE | |
| LOW | tests/policies/vla_jepa/test_vla_jepa.py | 17 | CODE | |
| LOW | tests/policies/vla_jepa/test_world_model.py | 17 | CODE | |
| LOW | tests/policies/vla_jepa/test_action_head.py | 17 | CODE | |
| LOW | tests/policies/vla_jepa/test_configuration_vla_jepa.py | 17 | CODE | |
| LOW | tests/policies/vla_jepa/test_processor_vla_jepa.py | 27 | CODE | |
| LOW | tests/policies/lawam/test_lawam.py | 17 | CODE | |
| LOW | tests/policies/molmoact2/test_molmoact2.py | 19 | CODE | |
| LOW | tests/policies/pi0_pi05/utils/openpi_parity.py | 17 | CODE | |
| LOW | tests/policies/eo1/test_eo1.py | 19 | CODE | |
| LOW | …s/policies/lingbot_va/test_configuration_lingbot_va.py | 17 | CODE | |
| LOW | tests/policies/lingbot_va/test_factory.py | 17 | CODE | |
| LOW | tests/policies/lingbot_va/test_processor.py | 17 | CODE | |
| LOW | tests/policies/lingbot_va/test_modules.py | 19 | CODE | |
| LOW | tests/annotations/conftest.py | 23 | CODE | |
| LOW | tests/annotations/test_frames.py | 30 | CODE | |
| LOW | tests/annotations/test_writer.py | 18 | CODE | |
| LOW | tests/annotations/test_vlm_client.py | 18 | CODE | |
| LOW | tests/annotations/run_e2e_smoke.py | 25 | CODE | |
| LOW | tests/annotations/test_validator.py | 18 | CODE | |
| LOW | tests/annotations/test_modules.py | 18 | CODE | |
| LOW | tests/annotations/test_pipeline_recipe_render.py | 18 | CODE | |
| LOW | tests/annotations/_helpers.py | 18 | CODE | |
| LOW | tests/scripts/test_train_remote_dispatch.py | 25 | CODE | |
| LOW | tests/jobs/conftest.py | 17 | CODE | |
| LOW | tests/envs/test_dispatch.py | 3 | CODE | |
| LOW | tests/envs/test_robocasa.py | 1 | CODE | |
| LOW | tests/envs/test_robotwin.py | 23 | CODE | |
| LOW | tests/envs/test_freeze_after_episode_end.py | 21 | CODE | |
| LOW | examples/dataset/create_progress_videos.py | 38 | CODE | |
| LOW | examples/omx/record_grab.py | 30 | CODE | |
| LOW | examples/omx/record_grab.py | 31 | CODE | |
| LOW | examples/backward_compatibility/replay.py | 39 | CODE | |
| LOW | examples/backward_compatibility/replay.py | 39 | CODE | |
| 1038 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 1 | # Copyright 2026 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | .pre-commit-config.yaml | 1 | # Copyright 2024 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | .pre-commit-config.yaml | 101 | types_or: [python, pyi, toml] | COMMENT |
| LOW | pyproject.toml | 1 | # Copyright 2024 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | pyproject.toml | 141 | # ── User-facing composite extras (map to CLI scripts) ───── | COMMENT |
| LOW | pyproject.toml | 301 | pusht = ["lerobot[dataset]", "gym-pusht>=0.1.5,<0.2.0", "pymunk>=6.6.0,<7.0.0"] # TODO: Fix pymunk version in gym-pusht | COMMENT |
| LOW | pyproject.toml | 421 | target-version = "py312" | COMMENT |
| LOW | setup.py | 1 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/conftest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/test_available.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/test_robomme_env.py | 1 | # Copyright 2026 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/__init__.py | 1 | # Copyright 2024 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/test_control_robot.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/test_rollout.py | 1 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/test_rollout_action_ordering.py | 1 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/utils.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/test_interactive_rollout.py | 1 | # Copyright 2026 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | …age_transforms/save_image_transforms_to_safetensors.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/artifacts/datasets/save_dataset_to_safetensors.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/artifacts/policies/save_policy_to_safetensors.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/transport/test_transport_utils.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/distributed/test_checkpoint_wrappers.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/distributed/test_parallel_dims_and_factory.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/distributed/test_accelerate_canaries.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/distributed/test_policy_surface.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/distributed/test_multigpu_training.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/async_inference/test_policy_server.py | 1 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/async_inference/test_e2e.py | 1 | # Copyright 2025 The HuggingFace Inc. team. | COMMENT |
| LOW | tests/async_inference/test_helpers.py | 1 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/async_inference/test_robot_client.py | 1 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | tests/motors/test_feetech.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/motors/test_motors_bus.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/motors/test_dynamixel.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/training/test_ema.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/training/test_visual_validation.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/training/test_multi_gpu.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_observation_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_converters.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_diffusion_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_normalize_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_normalize_processor.py | 1161 | # """Test that unsupported normalization modes raise appropriate errors.""" | COMMENT |
| LOW | tests/processor/test_act_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_image_augmentation_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_pi05_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_tokenizer_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …sts/processor/test_pipeline_from_pretrained_helpers.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_smolvla_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_pi0_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_gaussian_actor_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_device_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_batch_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_pi_tokenizer_configuration.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_vqbet_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_libero_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_rename_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_tdmpc_processor.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_batch_conversion.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_pipeline.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_migration_detection.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/processor/test_policy_robot_bridge.py | 1 | #!/usr/bin/env python | COMMENT |
| 839 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/motors/test_feetech.py | 0 | instantiation should raise an error if the class doesn't implement abstract methods/properties. | STRING |
| HIGH | tests/motors/test_dynamixel.py | 0 | instantiation should raise an error if the class doesn't implement abstract methods/properties. | STRING |
| HIGH | tests/cameras/test_realsense.py | 0 | instantiation should raise an error if the class doesn't implement abstract methods/properties. | STRING |
| HIGH | tests/cameras/test_opencv.py | 0 | instantiation should raise an error if the class doesn't implement abstract methods/properties. | STRING |
| HIGH | tests/processor/test_diffusion_processor.py | 0 | test: deviceprocessor(bfloat16) + normalizerprocessor(float32) → output bfloat16 via automatic adaptation | STRING |
| HIGH | tests/processor/test_act_processor.py | 0 | test: deviceprocessor(bfloat16) + normalizerprocessor(float32) → output bfloat16 via automatic adaptation | STRING |
| HIGH | tests/processor/test_smolvla_processor.py | 0 | test: deviceprocessor(bfloat16) + normalizerprocessor(float32) → output bfloat16 via automatic adaptation | STRING |
| HIGH | tests/processor/test_gaussian_actor_processor.py | 0 | test: deviceprocessor(bfloat16) + normalizerprocessor(float32) → output bfloat16 via automatic adaptation | STRING |
| HIGH | tests/processor/test_vqbet_processor.py | 0 | test: deviceprocessor(bfloat16) + normalizerprocessor(float32) → output bfloat16 via automatic adaptation | STRING |
| HIGH | tests/processor/test_tdmpc_processor.py | 0 | test: deviceprocessor(bfloat16) + normalizerprocessor(float32) → output bfloat16 via automatic adaptation | STRING |
| HIGH | tests/policies/xvla/test_xvla_original_vs_lerobot.py | 0 | set random seed for all rng sources to ensure reproducibility. | STRING |
| HIGH | tests/policies/groot/test_groot_lerobot.py | 0 | set random seed for all rng sources to ensure reproducibility. | STRING |
| HIGH | …policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py | 0 | set random seed for all rng sources to ensure reproducibility. | STRING |
| HIGH | tests/policies/smolvla/test_smolvla_rtc.py | 0 | test pi0 policy inference with rtc but no previous chunk (rtc should have no effect). | STRING |
| HIGH | tests/policies/pi0_pi05/test_pi05_rtc.py | 0 | test pi0 policy inference with rtc but no previous chunk (rtc should have no effect). | STRING |
| HIGH | tests/policies/pi0_pi05/test_pi0_rtc.py | 0 | test pi0 policy inference with rtc but no previous chunk (rtc should have no effect). | STRING |
| HIGH | tests/policies/pi0_pi05/openpi_pytorch/pi0_pytorch.py | 0 | enable gradient checkpointing for memory optimization. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | enable gradient checkpointing for memory optimization. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | enable gradient checkpointing for memory optimization. | STRING |
| HIGH | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 0 | enable gradient checkpointing for memory optimization. | STRING |
| HIGH | tests/policies/pi0_pi05/openpi_pytorch/pi0_pytorch.py | 0 | helper method to apply gradient checkpointing if enabled. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | helper method to apply gradient checkpointing if enabled. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | helper method to apply gradient checkpointing if enabled. | STRING |
| HIGH | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 0 | helper method to apply gradient checkpointing if enabled. | STRING |
| HIGH | tests/policies/pi0_pi05/openpi_pytorch/pi0_pytorch.py | 0 | embed noisy_actions, timestep to prepare for expert gemma processing. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | embed noisy_actions, timestep to prepare for expert gemma processing. | STRING |
| HIGH | src/lerobot/policies/smolvla/modeling_smolvla.py | 0 | embed noisy_actions, timestep to prepare for expert gemma processing. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | embed noisy_actions, timestep to prepare for expert gemma processing. | STRING |
| HIGH | tests/policies/pi0_pi05/openpi_pytorch/pi0_pytorch.py | 0 | apply one denoising step of the noise `x_t` at a given timestep. | STRING |
| HIGH | …c/lerobot/policies/fineart_vla/modeling_fineart_vla.py | 0 | apply one denoising step of the noise `x_t` at a given timestep. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | apply one denoising step of the noise `x_t` at a given timestep. | STRING |
| HIGH | src/lerobot/policies/smolvla/modeling_smolvla.py | 0 | apply one denoising step of the noise `x_t` at a given timestep. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | apply one denoising step of the noise `x_t` at a given timestep. | STRING |
| HIGH | src/lerobot/teleoperators/teleoperator.py | 0 | context manager entry. automatically connects to the camera. | STRING |
| HIGH | src/lerobot/cameras/camera.py | 0 | context manager entry. automatically connects to the camera. | STRING |
| HIGH | src/lerobot/robots/robot.py | 0 | context manager entry. automatically connects to the camera. | STRING |
| HIGH | src/lerobot/teleoperators/teleoperator.py | 0 | context manager exit. automatically disconnects, ensuring resources are released even on error. | STRING |
| HIGH | src/lerobot/cameras/camera.py | 0 | context manager exit. automatically disconnects, ensuring resources are released even on error. | STRING |
| HIGH | src/lerobot/robots/robot.py | 0 | context manager exit. automatically disconnects, ensuring resources are released even on error. | STRING |
| HIGH | src/lerobot/teleoperators/teleoperator.py | 0 | destructor safety net. attempts to disconnect if the object is garbage collected without cleanup. | STRING |
| HIGH | src/lerobot/cameras/camera.py | 0 | destructor safety net. attempts to disconnect if the object is garbage collected without cleanup. | STRING |
| HIGH | src/lerobot/robots/robot.py | 0 | destructor safety net. attempts to disconnect if the object is garbage collected without cleanup. | STRING |
| HIGH | src/lerobot/cameras/opencv/camera_opencv.py | 0 | return the most recent (color) frame captured immediately (peeking). this method is non-blocking and returns whatever is | STRING |
| HIGH | src/lerobot/cameras/zmq/camera_zmq.py | 0 | return the most recent (color) frame captured immediately (peeking). this method is non-blocking and returns whatever is | STRING |
| HIGH | src/lerobot/cameras/reachy2_camera/reachy2_camera.py | 0 | return the most recent (color) frame captured immediately (peeking). this method is non-blocking and returns whatever is | STRING |
| HIGH | src/lerobot/cameras/realsense/camera_realsense.py | 0 | return the most recent (color) frame captured immediately (peeking). this method is non-blocking and returns whatever is | STRING |
| HIGH | …c/lerobot/policies/fineart_vla/modeling_fineart_vla.py | 0 | do a full training forward pass and compute the loss. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | do a full training forward pass and compute the loss. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | do a full training forward pass and compute the loss. | STRING |
| HIGH | src/lerobot/policies/pi0/processor_pi0.py | 0 | constructs pre-processor and post-processor pipelines for the pi0fast policy. the pre-processing pipeline prepares input | STRING |
| HIGH | src/lerobot/policies/pi05/processor_pi05.py | 0 | constructs pre-processor and post-processor pipelines for the pi0fast policy. the pre-processing pipeline prepares input | STRING |
| HIGH | src/lerobot/policies/pi0_fast/processor_pi0_fast.py | 0 | constructs pre-processor and post-processor pipelines for the pi0fast policy. the pre-processing pipeline prepares input | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | fix state dict keys to match current model architecture. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | fix state dict keys to match current model architecture. | STRING |
| HIGH | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 0 | fix state dict keys to match current model architecture. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | initialize rtc processor if rtc is enabled in config. | STRING |
| HIGH | src/lerobot/policies/smolvla/modeling_smolvla.py | 0 | initialize rtc processor if rtc is enabled in config. | STRING |
| HIGH | src/lerobot/policies/pi05/modeling_pi05.py | 0 | initialize rtc processor if rtc is enabled in config. | STRING |
| HIGH | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 0 | initialize rtc processor if rtc is enabled in config. | STRING |
| HIGH | src/lerobot/policies/pi0/modeling_pi0.py | 0 | preprocess images for the model. images from lerobot are typically in [b, c, h, w] format and normalized to [0, 1]. pali | STRING |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | utils/check_docstrings.py | 161 | Evaluate one node of a arithmetic-only AST. Args: node (`ast.AST`): The node to evaluate. | STRING |
| HIGH | src/lerobot/distributed/checkpoint.py | 83 | The accelerator's FSDP plugin, required by every DCP save/load helper below. Args: accelerator (Accelerator | STRING |
| HIGH | src/lerobot/distributed/factory.py | 70 | Resolve the topology against the launched world and build the `Accelerator`. Must run once per process, before any | STRING |
| HIGH | src/lerobot/distributed/parallel_dims.py | 45 | Bind a *resolved* config to the actual runtime world size (cross-checked here). Args: cfg (Parallel | STRING |
| HIGH | src/lerobot/processor/normalize_processor.py | 308 | Core logic to apply a normalization or unnormalization transformation to a tensor. This method selects | STRING |
| HIGH | src/lerobot/processor/env_processor.py | 111 | Convert batched quaternions to axis-angle format. Only accepts torch tensors of shape (B, 4). | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 79 | A class decorator to register a ProcessorStep. Args: name: The name to register the class under. If | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 110 | Retrieves a processor step class from the registry by its name. Args: name: The name of the step to | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 665 | Loads a pipeline from a local directory, single file, or Hugging Face Hub repository. This method implements a | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 841 | Load configuration from local file or Hugging Face Hub. This method implements a super-simplified 3-way loading | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 978 | Build all processor steps with overrides and state loading. This method orchestrates the complete step construc | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 1141 | Resolve step class from registry or import path. This method implements a two-tier resolution strategy: | STRING |
| HIGH | src/lerobot/processor/pipeline.py | 1212 | Instantiate a single processor step with config overrides. This method handles the configuration merging and in | STRING |
| HIGH | src/lerobot/processor/converters.py | 54 | Convert various data types to PyTorch tensors with configurable options. This is a unified tensor conversion f | STRING |
| HIGH | src/lerobot/processor/converters.py | 353 | Convert a batch dictionary from a dataset/dataloader into an `EnvTransition`. This function maps recognized ke | STRING |
| HIGH | src/lerobot/processor/observation_processor.py | 56 | Processes a single NumPy image array into a channel-first, normalized tensor. Args: img: A | STRING |
| HIGH | src/lerobot/rewards/factory.py | 35 | Retrieves a reward model class by its registered name. This function uses dynamic imports to avoid loading all | STRING |
| HIGH | src/lerobot/rewards/factory.py | 75 | Instantiates a reward model configuration object based on the reward type. This factory function simplifies th | STRING |
| HIGH | src/lerobot/rewards/factory.py | 157 | Create pre- and post-processor pipelines for a given reward model. Each reward model type has a dedicated fact | STRING |
| HIGH | src/lerobot/datasets/aggregate.py | 124 | Validates that all dataset metadata have consistent properties. Ensures all datasets have the same fps, robot_type, | STRING |
| HIGH | src/lerobot/datasets/aggregate.py | 729 | Appends data to an existing parquet file or creates a new one based on size constraints. Manages file rotation when | STRING |
| HIGH | src/lerobot/datasets/compute_stats.py | 714 | Compute normalization statistics for relative actions over the full dataset. Iterates *all* valid action chunks (wi | STRING |
| HIGH | src/lerobot/datasets/dataset_metadata.py | 313 | Return the relative parquet file path for the given episode index. Args: ep_index: Zero-based episo | STRING |
| HIGH | src/lerobot/datasets/dataset_metadata.py | 337 | Return the relative video file path for the given episode and video key. Args: ep_index: Zero-based | STRING |
| HIGH | src/lerobot/datasets/factory.py | 109 | Handles the logic of setting up delta timestamps and image transforms before creating a dataset. Args: cfg | STRING |
| HIGH | src/lerobot/datasets/utils.py | 339 | Serialize a dictionary containing tensors or numpy arrays to be JSON-compatible. Converts torch.Tensor, np.ndarray, | STRING |
| HIGH | src/lerobot/datasets/utils.py | 446 | Return the specified version if available on repo, or the latest compatible one. If the exact version is not found, | STRING |
| HIGH | src/lerobot/datasets/feature_utils.py | 42 | Convert a LeRobot features dictionary to a `datasets.Features` object. Args: features (dict): A LeRobot-sty | STRING |
| HIGH | src/lerobot/datasets/feature_utils.py | 177 | Check if delta timestamps are multiples of 1/fps +/- tolerance. This ensures that adding these delta timestamps to | STRING |
| HIGH | src/lerobot/datasets/feature_utils.py | 287 | Validate the dtype and shape of a single feature's value. Args: name (str): The name of the feature. | STRING |
| HIGH | src/lerobot/datasets/lerobot_dataset.py | 582 | Return one frame or a slice of frames, with all transforms applied. Loads the frame from the underlying HF data | STRING |
| HIGH | src/lerobot/datasets/depth_utils.py | 77 | Quantize depth to 12-bit codes (``uint16``, values ``0…DEPTH_QMAX``). Depth maps are packed into 12-bit integer fra | STRING |
| HIGH | src/lerobot/datasets/depth_utils.py | 165 | Inverse of :func:`quantize_depth`. Decoding inverts the same normalized code mapping as :func:`quantize_depth` | STRING |
| HIGH | src/lerobot/teleoperators/phone/phone_processor.py | 48 | Processes the phone action dictionary to create a robot action dictionary. Args: act: The | STRING |
| HIGH | src/lerobot/teleoperators/homunculus/homunculus_arm.py | 147 | Interactively record the min/max encoder values of each joint. Move the joints while the method streams live po | STRING |
| HIGH | …c/lerobot/teleoperators/homunculus/homunculus_glove.py | 178 | Interactively record the min/max encoder values of each joint. Move the joints while the method streams live po | STRING |
| HIGH | src/lerobot/optim/optimizers.py | 171 | Build AdamW optimizer with differential learning rates. Args: params: Must be a dict[str, | STRING |
| HIGH | src/lerobot/optim/optimizers.py | 258 | Build multiple Adam optimizers. Args: params: Must be a dict[str, Iterable[Parameter]] mapping para | STRING |
| HIGH | src/lerobot/utils/feature_utils.py | 141 | Convert dataset features to policy features. This function transforms the dataset's feature specification into a fo | STRING |
| HIGH | src/lerobot/utils/feature_utils.py | 187 | Merge LeRobot grouped feature dicts. - For 1D numeric specs (dtype not image/video/string) with "names": we merge t | STRING |
| HIGH | src/lerobot/utils/eval_stats.py | 46 | Wilson score interval for a binomial proportion. Preferred over the normal-approximation ("Wald") interval because | STRING |
| HIGH | src/lerobot/utils/eval_stats.py | 141 | Two-sided Fisher's exact test on two success counts. Answers "could these two success rates come from the same unde | STRING |
| HIGH | src/lerobot/cameras/camera.py | 123 | Return the most recent new frame. This method retrieves the latest frame captured by the background thread. | STRING |
| HIGH | src/lerobot/cameras/opencv/camera_opencv.py | 418 | Applies color conversion, dimension validation, and rotation to a raw frame. Args: image ( | STRING |
| HIGH | src/lerobot/cameras/opencv/camera_opencv.py | 544 | Reads the latest available frame asynchronously. This method retrieves the most recent frame captured | STRING |
| HIGH | src/lerobot/cameras/realsense/camera_realsense.py | 625 | Applies color conversion, dimension validation, and rotation to a raw color frame. Args: i | STRING |
| HIGH | src/lerobot/cameras/realsense/camera_realsense.py | 793 | Reads the latest available frame data (color) asynchronously. This method retrieves the most recent co | STRING |
| HIGH | src/lerobot/cameras/zmq/camera_zmq.py | 309 | Reads the latest available frame asynchronously. Args: timeout_ms (float): Maximum time in | STRING |
| HIGH | src/lerobot/policies/factory.py | 57 | Retrieves a policy class by its registered name. Resolution is convention-based: the draccus-registered config | STRING |
| HIGH | src/lerobot/policies/factory.py | 105 | Instantiates a policy configuration object based on the policy type. This factory function simplifies the crea | STRING |
| HIGH | src/lerobot/policies/factory.py | 161 | Create or load pre- and post-processor pipelines for a given policy. This function acts as a factory. It can e | STRING |
| HIGH | src/lerobot/policies/factory.py | 229 | Instantiate a policy model. This factory function handles the logic of creating a policy, which requires d | STRING |
| HIGH | src/lerobot/policies/xvla/processor_xvla.py | 161 | Convert batched rotation matrices (B, 3, 3) into 6D rotation representation (B, 6). Args: | STRING |
| HIGH | src/lerobot/policies/fineart_vla/fit_fast_tokenizer.py | 242 | Fit a FAST tokenizer on a LeRobot dataset's action distribution. Args: dataset_repo_id: HF Hub repo id of t | STRING |
| HIGH | src/lerobot/policies/rtc/modeling_rtc.py | 131 | RTC guidance wrapper around an existing denoiser. This method wraps an original denoising callable that only ta | STRING |
| HIGH | src/lerobot/streaming/episode_cache.py | 258 | Decode source-timeline timestamps from an episode-local MP4. Args: episode_index (`int`): | STRING |
| HIGH | src/lerobot/streaming/episode_parquet.py | 67 | Read and validate one complete episode with column projection. Args: relative_path (`str | Path`): | STRING |
| HIGH | src/lerobot/common/train_utils.py | 365 | Phase 1 — before `accelerator.prepare()`: restore RNG and return the step counter. Pure loaders only. The sampler r | STRING |
| HIGH | src/lerobot/common/train_utils.py | 582 | Download the latest checkpoint of a Hub training repo into a local run dir. The symmetric counterpart to `push_chec | STRING |
| HIGH | src/lerobot/transforms/transforms.py | 1523 | Build the batched transform for a configured type. Types with a batched implementation (`_BATCHED_TRANSFORMS`) get | STRING |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/datasets/test_lerobot_dataset.py | 52 | def _set_default_cache_root(monkeypatch: pytest.MonkeyPatch, cache_root: Path) -> None: | CODE |
| LOW⚡ | tests/policies/vla_jepa/conftest.py | 54 | def set_seed_all(seed: int) -> None: | CODE |
| LOW | tests/envs/test_dispatch.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/omx/record_grab.py | 133 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/omx/reset_environment.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/isaac_teleop_to_so101/isaac_teleop/__init__.py | 30 | __all__ = [ | CODE |
| LOW | examples/isaac_teleop_to_so101/isaac_teleop/base.py | 67 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/__init__.py | 51 | __all__ = ["__version__", "available_extras"] | CODE |
| LOW | src/lerobot/distributed/__init__.py | 35 | __all__ = [ | CODE |
| LOW | src/lerobot/distributed/factory.py | 104 | def set_fsdp_wrap_modules(accelerator: "Accelerator", policy: "PreTrainedPolicy") -> None: | CODE |
| LOW | src/lerobot/motors/__init__.py | 23 | __all__ = ["Motor", "MotorCalibration", "MotorNormMode"] | CODE |
| LOW | src/lerobot/motors/motors_bus.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/motors/motors_bus.py | 711 | def set_baudrate(self, baudrate: int) -> None: | CODE |
| LOW | src/lerobot/motors/motors_bus.py | 1199 | def _setup_sync_reader(self, motor_ids: list[int], addr: int, length: int) -> None: | CODE |
| LOW | src/lerobot/motors/motors_bus.py | 1286 | def _setup_sync_writer(self, ids_values: dict[int, int], addr: int, length: int) -> None: | CODE |
| LOW | src/lerobot/motors/robstride/__init__.py | 20 | __all__ = ["RobstrideMotorsBus"] | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 57 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 426 | def set_zero_position(self, motors: str | list[str] | None = None) -> None: | CODE |
| LOW | src/lerobot/motors/dynamixel/dynamixel.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/motors/dynamixel/__init__.py | 20 | __all__ = ["DriveMode", "DynamixelMotorsBus", "OperatingMode", "TorqueMode"] | CODE |
| LOW | src/lerobot/motors/damiao/__init__.py | 20 | __all__ = ["DamiaoMotorsBus"] | CODE |
| LOW | src/lerobot/motors/damiao/damiao.py | 58 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/motors/damiao/damiao.py | 334 | def set_zero_position(self, motors: str | list[str] | None = None) -> None: | CODE |
| LOW | src/lerobot/motors/feetech/feetech.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/motors/feetech/__init__.py | 20 | __all__ = ["DriveMode", "FeetechMotorsBus", "OperatingMode", "TorqueMode"] | CODE |
| LOW | src/lerobot/processor/hil_processor.py | 82 | def _set_event(info: dict[str, Any], event: TeleopEvents, value: Any) -> None: | CODE |
| LOW | src/lerobot/processor/relative_action_processor.py | 33 | __all__ = [ | CODE |
| LOW | src/lerobot/processor/__init__.py | 106 | __all__ = [ | CODE |
| LOW | src/lerobot/rewards/__init__.py | 27 | __all__ = [ | CODE |
| LOW | src/lerobot/rewards/classifier/__init__.py | 19 | __all__ = ["RewardClassifierConfig", "Classifier", "make_classifier_processor"] | CODE |
| LOW | src/lerobot/rewards/sarm/__init__.py | 19 | __all__ = ["SARMConfig", "SARMRewardModel", "make_sarm_pre_post_processors"] | CODE |
| LOW | src/lerobot/rewards/sarm/processor_sarm.py | 78 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/rewards/robometer/modeling_robometer.py | 69 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/rewards/robometer/__init__.py | 19 | __all__ = ["RobometerConfig", "RobometerRewardModel", "make_robometer_pre_post_processors"] | CODE |
| LOW | src/lerobot/rewards/topreward/modeling_topreward.py | 82 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/rewards/topreward/__init__.py | 19 | __all__ = ["TOPRewardConfig", "TOPRewardModel", "make_topreward_pre_post_processors"] | CODE |
| LOW | src/lerobot/datasets/pyav_utils.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/aggregate.py | 54 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/video_utils.py | 58 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/streaming_dataset.py | 533 | def update_frontier() -> None: | CODE |
| LOW | src/lerobot/datasets/streaming_dataset.py | 847 | def set_epoch(self, epoch: int) -> None: | CODE |
| LOW | src/lerobot/datasets/compute_stats.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/compute_stats.py | 172 | def _update_histograms(self, batch: np.ndarray) -> None: | CODE |
| LOW | src/lerobot/datasets/__init__.py | 57 | __all__ = [ | CODE |
| LOW | src/lerobot/datasets/dataset_metadata.py | 62 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/factory.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/image_writer.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/dataset_writer.py | 70 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/utils.py | 89 | logger = logging.getLogger(__name__) | STRING |
| LOW | src/lerobot/datasets/dataset_tools.py | 84 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/feature_utils.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/lerobot_dataset.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/lerobot_dataset.py | 634 | def set_image_transforms(self, image_transforms: Callable | None) -> None: | CODE |
| LOW | src/lerobot/datasets/dataset_reader.py | 100 | def set_image_transforms(self, image_transforms: Callable | None) -> None: | CODE |
| LOW | src/lerobot/datasets/sampler.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/sampler.py | 118 | def set_epoch(self, epoch: int) -> None: | CODE |
| LOW | src/lerobot/datasets/multi_dataset.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/lerobot/datasets/multi_dataset.py | 103 | def set_image_transforms(self, image_transforms: Callable | None) -> None: | CODE |
| LOW | src/lerobot/teleoperators/__init__.py | 21 | __all__ = ["Teleoperator", "TeleoperatorConfig", "TeleopEvents", "make_teleoperator_from_config"] | CODE |
| LOW | …t/teleoperators/bi_openarm_leader/bi_openarm_leader.py | 28 | logger = logging.getLogger(__name__) | CODE |
| 226 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/async_inference/test_policy_server.py | 155 | # Create a new, dissimilar observation. | COMMENT |
| MEDIUM⚡ | tests/async_inference/test_policy_server.py | 166 | # Create a new, very similar observation. | COMMENT |
| MEDIUM | tests/async_inference/test_e2e.py | 64 | # Create a stub policy similar to test_policy_server.py | COMMENT |
| MEDIUM | tests/async_inference/test_helpers.py | 421 | # Create an image with a specific pattern | COMMENT |
| MEDIUM | tests/processor/test_observation_processor.py | 33 | # Create a mock image (H, W, C) format, uint8 | COMMENT |
| MEDIUM | tests/processor/test_observation_processor.py | 82 | # Create a batched image (B, H, W, C) | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 809 | # Create a new processor from the config (deserialization) | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 1164 | # # Create an invalid norm_map (this would never happen in practice, but tests error handling) | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 1771 | # Create a normalizer with original stats and save its state | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 1775 | # Create a new normalizer with override stats (simulating from_pretrained with overrides) | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 1838 | # Create a normalizer with original stats and save its state | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 1842 | # Create a new normalizer without stats (simulating normal from_pretrained) | COMMENT |
| MEDIUM | tests/processor/test_normalize_processor.py | 1966 | # Create a reference pipeline with override stats for comparison | COMMENT |
| MEDIUM | tests/processor/test_tokenizer_processor.py | 675 | # Create a custom mock that tracks calls | COMMENT |
| MEDIUM | tests/processor/test_tokenizer_processor.py | 836 | # Create a mock tokenizer that tracks padding_side calls | COMMENT |
| MEDIUM | …sts/processor/test_pipeline_from_pretrained_helpers.py | 49 | # Create a config file | COMMENT |
| MEDIUM | …sts/processor/test_pipeline_from_pretrained_helpers.py | 66 | # Create a config file | COMMENT |
| MEDIUM | tests/processor/test_device_processor.py | 32 | # Create a transition with CPU tensors | COMMENT |
| MEDIUM | tests/processor/test_device_processor.py | 59 | # Create a transition with CPU tensors | COMMENT |
| MEDIUM | tests/processor/test_device_processor.py | 290 | # Create a pipeline with DeviceProcessorStep | COMMENT |
| MEDIUM⚡ | tests/processor/test_pipeline.py | 1099 | # Create a processor with steps that need overrides | COMMENT |
| MEDIUM⚡ | tests/processor/test_pipeline.py | 1109 | # Create a mock environment for override | COMMENT |
| MEDIUM | tests/processor/test_pipeline.py | 80 | # Create a new transition with updated complementary_data | COMMENT |
| MEDIUM | tests/processor/test_pipeline.py | 1850 | # Define a transform function | COMMENT |
| MEDIUM⚡ | tests/processor/test_migration_detection.py | 189 | # Create an invalid JSON file | COMMENT |
| MEDIUM⚡ | tests/processor/test_migration_detection.py | 193 | # Create a valid non-processor config | COMMENT |
| MEDIUM | tests/processor/test_migration_detection.py | 69 | # Create a valid processor config | COMMENT |
| MEDIUM | tests/processor/test_migration_detection.py | 93 | # Create an empty processor config | COMMENT |
| MEDIUM | tests/processor/test_migration_detection.py | 112 | # Create a model config (like old LeRobot format) | COMMENT |
| MEDIUM | tests/processor/test_migration_detection.py | 234 | # Create a model config but no processor | COMMENT |
| MEDIUM | tests/processor/test_migration_detection.py | 256 | # Create a valid processor config | COMMENT |
| MEDIUM | tests/processor/test_migration_detection.py | 335 | # Create a model config | COMMENT |
| MEDIUM | tests/datasets/test_datasets.py | 805 | # Create a dataset with 5 episodes (0-4) | COMMENT |
| MEDIUM | tests/datasets/test_datasets.py | 839 | # Create a dataset with only episodes 0, 1, 2 | COMMENT |
| MEDIUM | tests/datasets/test_datasets.py | 866 | # Create a filtered dataset | COMMENT |
| MEDIUM | tests/optim/test_optimizers.py | 181 | # Create a dummy loss and do backward | COMMENT |
| MEDIUM | tests/utils/test_replay_buffer.py | 590 | # Create a batch of 2 images with known patterns | COMMENT |
| MEDIUM | tests/policies/pi0_pi05/openpi_pytorch/gemma_pytorch.py | 170 | # Define the complete layer computation function for gradient checkpointing | COMMENT |
| MEDIUM | …icies/pi0_pi05/openpi_pytorch/preprocessing_pytorch.py | 165 | # Create a simple object with the required attributes instead of using the complex Observation class | COMMENT |
| MEDIUM⚡ | tests/rl/test_learner_service.py | 67 | # Create a gRPC server and add our servicer to it. | COMMENT |
| MEDIUM⚡ | tests/rl/test_learner_service.py | 73 | # Create a client channel and stub connected to the server's port. | COMMENT |
| MEDIUM | tests/rl/test_actor.py | 54 | # Create a gRPC server and add our servicer to it. | COMMENT |
| MEDIUM | tests/rl/test_actor.py | 60 | # Create a client channel and stub connected to the server's port. | COMMENT |
| MEDIUM | examples/tutorial/act/act_training_example.py | 58 | # Create the optimizer and dataloader for offline training | COMMENT |
| MEDIUM | …mples/tutorial/diffusion/diffusion_training_example.py | 59 | # Create the optimizer and dataloader for offline training | COMMENT |
| MEDIUM | examples/so100_to_so100_EE/record.py | 51 | # Create the robot and teleoperator configurations | COMMENT |
| MEDIUM | examples/so100_to_so100_EE/record.py | 117 | # Create the dataset, deriving features from the pipelines so the on-disk schema | COMMENT |
| MEDIUM | examples/so100_to_so100_EE/evaluate.py | 61 | # Create the robot configuration & robot | COMMENT |
| MEDIUM | examples/so100_to_so100_EE/evaluate.py | 106 | # Create the dataset | COMMENT |
| MEDIUM | examples/training/train_policy.py | 29 | # Create a directory to store the training checkpoint. | COMMENT |
| MEDIUM | examples/training/train_with_streaming.py | 35 | # Create a directory to store the training checkpoint. | COMMENT |
| MEDIUM | examples/lekiwi/record.py | 38 | # Create the robot and teleoperator configurations | COMMENT |
| MEDIUM | examples/lekiwi/record.py | 53 | # Create the dataset | COMMENT |
| MEDIUM | examples/lekiwi/evaluate.py | 46 | # Create the robot configuration & robot | COMMENT |
| MEDIUM | examples/lekiwi/evaluate.py | 59 | # Create the dataset | COMMENT |
| MEDIUM | examples/lekiwi/teleoperate.py | 29 | # Create the robot and teleoperator configurations | COMMENT |
| MEDIUM | examples/phone_to_so100/record.py | 54 | # Create the robot and teleoperator configurations | COMMENT |
| MEDIUM | examples/phone_to_so100/record.py | 122 | # Create the dataset, deriving features from the pipelines so the on-disk schema | COMMENT |
| MEDIUM | examples/phone_to_so100/evaluate.py | 61 | # Create the robot configuration & robot | COMMENT |
| MEDIUM | examples/phone_to_so100/evaluate.py | 106 | # Create the dataset | COMMENT |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 63 | CODE | |
| LOW | tests/distributed/test_multigpu_training.py | 118 | CODE | |
| LOW | tests/distributed/test_multigpu_training.py | 247 | CODE | |
| LOW | tests/processor/test_image_augmentation_processor.py | 269 | CODE | |
| LOW | tests/datasets/test_depth.py | 256 | CODE | |
| LOW | tests/datasets/test_datasets.py | 1172 | CODE | |
| LOW | tests/datasets/test_compute_stats.py | 272 | CODE | |
| LOW | tests/datasets/test_dataset_writer.py | 40 | CODE | |
| LOW | tests/datasets/test_streaming.py | 70 | CODE | |
| LOW | tests/datasets/test_streaming.py | 210 | CODE | |
| LOW | tests/datasets/test_streaming.py | 291 | CODE | |
| LOW | tests/datasets/test_lance_backend.py | 449 | CODE | |
| LOW | tests/datasets/test_aggregate.py | 454 | CODE | |
| LOW | tests/datasets/test_aggregate.py | 922 | CODE | |
| LOW | tests/utils/test_replay_buffer.py | 116 | CODE | |
| LOW | tests/utils/test_replay_buffer.py | 365 | CODE | |
| LOW | tests/policies/groot/test_groot_n1_7_oss_parity.py | 140 | CODE | |
| LOW | tests/policies/pi0_pi05/openpi_pytorch/gemma_pytorch.py | 104 | CODE | |
| LOW | …icies/pi0_pi05/openpi_pytorch/preprocessing_pytorch.py | 20 | CODE | |
| LOW | tests/annotations/run_e2e_smoke.py | 44 | CODE | |
| LOW | tests/annotations/_helpers.py | 26 | CODE | |
| LOW | tests/annotations/_helpers.py | 37 | CODE | |
| LOW | utils/check_docstrings.py | 131 | CODE | |
| LOW | utils/check_docstrings.py | 202 | CODE | |
| LOW | utils/check_docstrings.py | 298 | CODE | |
| LOW | utils/check_config_docstrings.py | 98 | CODE | |
| LOW | examples/tutorial/rl/hilserl_example.py | 27 | CODE | |
| LOW | examples/tutorial/rl/hilserl_example.py | 115 | CODE | |
| LOW | examples/so100_to_so100_EE/evaluate.py | 57 | CODE | |
| LOW | examples/dataset/slurm_compute_rabc.py | 62 | CODE | |
| LOW | examples/dataset/use_dataset_image_transforms.py | 46 | CODE | |
| LOW | examples/dataset/use_dataset_image_transforms.py | 86 | CODE | |
| LOW | examples/dataset/use_dataset_image_transforms.py | 135 | CODE | |
| LOW | examples/lekiwi/evaluate.py | 42 | CODE | |
| LOW | examples/port_datasets/slurm_upload.py | 108 | CODE | |
| LOW | examples/isaac_teleop_to_so101/common.py | 237 | CODE | |
| LOW | examples/isaac_teleop_to_so101/record.py | 172 | CODE | |
| LOW | examples/phone_to_so100/evaluate.py | 57 | CODE | |
| LOW | scripts/ci/extract_task_descriptions.py | 160 | CODE | |
| LOW | src/lerobot/transport/utils.py | 73 | CODE | |
| LOW | src/lerobot/async_inference/robot_client.py | 276 | CODE | |
| LOW | src/lerobot/motors/calibration_gui.py | 98 | CODE | |
| LOW | src/lerobot/motors/calibration_gui.py | 320 | CODE | |
| LOW | src/lerobot/motors/calibration_gui.py | 356 | CODE | |
| LOW | src/lerobot/motors/motors_bus.py | 431 | CODE | |
| LOW | src/lerobot/motors/motors_bus.py | 854 | CODE | |
| LOW | src/lerobot/motors/motors_bus.py | 883 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 280 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 381 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 395 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 438 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 481 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 840 | CODE | |
| LOW | src/lerobot/motors/robstride/robstride.py | 962 | CODE | |
| LOW | src/lerobot/motors/damiao/damiao.py | 295 | CODE | |
| LOW | src/lerobot/motors/damiao/damiao.py | 308 | CODE | |
| LOW | src/lerobot/motors/damiao/damiao.py | 354 | CODE | |
| LOW | src/lerobot/motors/damiao/damiao.py | 394 | CODE | |
| LOW | src/lerobot/motors/damiao/damiao.py | 704 | CODE | |
| LOW | src/lerobot/motors/damiao/damiao.py | 759 | CODE | |
| 220 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 76 | except Exception as e: | CODE |
| LOW | tests/distributed/test_multigpu_training.py | 113 | except Exception as error: # noqa: PERF203 | CODE |
| LOW | tests/datasets/test_aggregate.py | 285 | except Exception as e: | CODE |
| LOW | tests/policies/groot/test_groot_vs_original.py | 104 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tests/policies/groot/utils/dump_original_n1_7.py | 202 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py | 515 | except Exception as e: | CODE |
| MEDIUM | tests/policies/rtc/test_action_queue.py | 573 | def consumer(): | CODE |
| MEDIUM | tests/policies/rtc/test_action_queue.py | 607 | def producer(): | CODE |
| MEDIUM | tests/policies/rtc/test_action_queue.py | 637 | def consumer(): | CODE |
| MEDIUM | tests/policies/rtc/test_action_queue.py | 647 | def producer(): | CODE |
| MEDIUM | tests/policies/rtc/test_action_queue.py | 685 | def reader(): | CODE |
| MEDIUM | tests/policies/rtc/test_action_queue.py | 698 | def consumer(): | CODE |
| LOW | tests/policies/rtc/test_action_queue.py | 580 | except Exception as e: | CODE |
| LOW | tests/policies/rtc/test_action_queue.py | 614 | except Exception as e: | CODE |
| LOW | tests/policies/rtc/test_action_queue.py | 644 | except Exception as e: | CODE |
| LOW | tests/policies/rtc/test_action_queue.py | 654 | except Exception as e: | CODE |
| LOW | tests/policies/rtc/test_action_queue.py | 692 | except Exception as e: | CODE |
| LOW | tests/policies/rtc/test_action_queue.py | 703 | except Exception as e: | CODE |
| LOW | tests/policies/pi0_pi05/test_pi05.py | 110 | except Exception as e: | CODE |
| LOW | tests/policies/pi0_pi05/test_pi05.py | 119 | except Exception as e: | CODE |
| LOW | tests/policies/pi0_pi05/test_pi05.py | 161 | except Exception as e: | CODE |
| LOW | tests/policies/pi0_pi05/test_pi0.py | 96 | except Exception as e: | CODE |
| LOW | tests/policies/pi0_pi05/test_pi0.py | 106 | except Exception as e: | CODE |
| LOW | tests/policies/pi0_pi05/test_pi0.py | 125 | except Exception as e: | CODE |
| LOW | tests/policies/wall_x/test_wallx.py | 432 | except Exception as e: | CODE |
| LOW | tests/policies/wall_x/test_wallx.py | 451 | except Exception as e: | CODE |
| LOW | tests/policies/wall_x/test_wallx.py | 466 | except Exception as e: | CODE |
| LOW | utils/check_docstrings.py | 490 | except Exception as error: # An optional extra is missing; not this check's problem. | CODE |
| LOW | utils/check_docstrings.py | 522 | except Exception as error: | CODE |
| LOW | examples/dataset/create_progress_videos.py | 192 | except Exception as exc: | CODE |
| LOW | examples/dataset/slurm_compute_rabc.py | 169 | except Exception as e: | CODE |
| LOW | examples/dataset/use_dataset_image_transforms.py | 82 | except Exception as e: | CODE |
| LOW | examples/dataset/use_dataset_image_transforms.py | 131 | except Exception as e: | CODE |
| LOW | examples/dataset/use_dataset_image_transforms.py | 163 | except Exception as e: | CODE |
| LOW | examples/port_datasets/slurm_port_shards.py | 50 | except Exception: | CODE |
| LOW⚡ | examples/rtc/eval_dataset.py | 415 | except Exception as e: | CODE |
| LOW | examples/rtc/eval_dataset.py | 377 | except Exception as e: | CODE |
| LOW | examples/rtc/eval_dataset.py | 531 | except Exception as e: | CODE |
| LOW | examples/isaac_teleop_to_so101/common.py | 259 | except Exception: | CODE |
| LOW⚡ | examples/isaac_teleop_to_so101/record.py | 287 | except Exception: | CODE |
| LOW⚡ | examples/isaac_teleop_to_so101/record.py | 292 | except Exception: | CODE |
| LOW⚡ | examples/isaac_teleop_to_so101/record.py | 299 | except Exception: | CODE |
| LOW | examples/isaac_teleop_to_so101/isaac_teleop/base.py | 147 | except Exception: | CODE |
| LOW | examples/isaac_teleop_to_so101/isaac_teleop/base.py | 151 | except Exception: | CODE |
| LOW⚡ | …c_teleop_to_so101/isaac_teleop/teleop_xr_controller.py | 109 | except Exception: | CODE |
| LOW | scripts/ci/extract_task_descriptions.py | 196 | except Exception as exc: | CODE |
| LOW | src/lerobot/async_inference/robot_client.py | 462 | except Exception as e: | CODE |
| LOW | src/lerobot/async_inference/policy_server.py | 265 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 215 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 296 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 339 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 390 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 403 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 477 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 506 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/robstride/robstride.py | 800 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/damiao/damiao.py | 199 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/damiao/damiao.py | 261 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/damiao/damiao.py | 303 | except Exception as e: | CODE |
| LOW | src/lerobot/motors/damiao/damiao.py | 316 | except Exception as e: | CODE |
| 158 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/policies/molmoact2/test_molmoact2.py | 2465 | optimizer = torch.optim.AdamW(policy.model.model.action_expert.block.parameters()) | CODE |
| CRITICAL | tests/policies/molmoact2/test_molmoact2.py | 2745 | model.model.action_expert.action_embed.weight.copy_(action_sentinel) | CODE |
| CRITICAL | tests/policies/molmoact2/test_molmoact2.py | 2746 | model.model.transformer.rotary_emb.inv_freq.copy_(rope_sentinel) | CODE |
| CRITICAL⚡ | src/lerobot/policies/vqbet/modeling_vqbet.py | 71 | list(self.vqbet.action_head.vqvae_model.encoder.parameters()) | CODE |
| CRITICAL⚡ | src/lerobot/policies/vqbet/modeling_vqbet.py | 72 | + list(self.vqbet.action_head.vqvae_model.decoder.parameters()) | CODE |
| CRITICAL⚡ | src/lerobot/policies/vqbet/modeling_vqbet.py | 73 | + list(self.vqbet.action_head.vqvae_model.vq_layer.parameters()) | CODE |
| CRITICAL | src/lerobot/policies/vqbet/modeling_vqbet.py | 146 | if not self.vqbet.action_head.vqvae_model.discretized.item(): | CODE |
| CRITICAL | src/lerobot/policies/vqbet/modeling_vqbet.py | 165 | if not self.vqbet.action_head.vqvae_model.discretized.item(): | CODE |
| CRITICAL⚡ | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 260 | self.paligemma_with_expert.paligemma.model.language_model.gradient_checkpointing_enable( | CODE |
| CRITICAL⚡ | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 263 | self.paligemma_with_expert.paligemma.model.vision_tower.gradient_checkpointing_enable( | CODE |
| CRITICAL⚡ | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 272 | self.paligemma_with_expert.paligemma.model.language_model.gradient_checkpointing_disable() | CODE |
| CRITICAL⚡ | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 273 | self.paligemma_with_expert.paligemma.model.vision_tower.gradient_checkpointing_disable() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/tutorial/rl/hilserl_example.py | 68 | except Empty: | CODE |
| HIGH | examples/tutorial/rl/hilserl_example.py | 108 | except Full: | CODE |
| HIGH | examples/tutorial/rl/hilserl_example.py | 153 | except Empty: # No new updated parameters available from learner, waiting | CODE |
| HIGH | examples/port_datasets/slurm_port_shards.py | 50 | except Exception: | CODE |
| HIGH | examples/isaac_teleop_to_so101/teleoperate.py | 101 | except KeyboardInterrupt: | CODE |
| HIGH | src/lerobot/datasets/video_utils.py | 1048 | except queue.Empty: | CODE |
| HIGH | src/lerobot/teleoperators/teleoperator.py | 84 | except Exception: # nosec B110 | CODE |
| HIGH | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 162 | except AttributeError: | CODE |
| HIGH | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 183 | except AttributeError: | CODE |
| HIGH | src/lerobot/utils/stdin_input.py | 69 | except (OSError, ValueError, AttributeError): | CODE |
| HIGH | src/lerobot/utils/pedal.py | 76 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | src/lerobot/utils/utils.py | 331 | except ImportError: | CODE |
| HIGH | src/lerobot/cameras/camera.py | 75 | except Exception: # nosec B110 | CODE |
| HIGH | src/lerobot/cameras/zmq/image_server.py | 169 | except KeyboardInterrupt: | CODE |
| HIGH | …c/lerobot/policies/fineart_vla/modeling_fineart_vla.py | 1351 | except Exception: # noqa: BLE001 # nosec B110 | CODE |
| HIGH | src/lerobot/policies/molmoact2/processor_molmoact2.py | 547 | except (OSError, json.JSONDecodeError, AttributeError): | CODE |
| HIGH | src/lerobot/streaming/sidecar_utils.py | 117 | except (OSError, ValueError, KeyError, TypeError, BadZipFile): | CODE |
| HIGH | …c/lerobot/annotations/steerable_pipeline/vlm_client.py | 102 | except (ValueError, json.JSONDecodeError): | CODE |
| HIGH | …c/lerobot/annotations/steerable_pipeline/vlm_client.py | 166 | except (ValueError, json.JSONDecodeError): | CODE |
| HIGH | src/lerobot/scripts/lerobot_info.py | 88 | except ImportError: | CODE |
| HIGH | src/lerobot/scripts/lerobot_info.py | 106 | except PackageNotFoundError: | CODE |
| HIGH | src/lerobot/scripts/lerobot_teleoperate.py | 286 | except KeyboardInterrupt: | CODE |
| HIGH | src/lerobot/robots/robot.py | 84 | except Exception: # nosec B110 | CODE |
| HIGH | src/lerobot/rl/queue.py | 42 | except Empty: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/training/test_multi_gpu.py | 108 | CODE | |
| LOW | tests/rewards/test_sarm_processor.py | 50 | CODE | |
| LOW | tests/policies/multi_task_dit/test_multi_task_dit.py | 89 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 128 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 155 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 182 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 209 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 337 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 364 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 391 | CODE | |
| LOW | src/lerobot/transport/services_pb2_grpc.py | 418 | CODE | |
| LOW | src/lerobot/processor/pipeline.py | 648 | CODE | |
| LOW | src/lerobot/rewards/pretrained.py | 84 | CODE | |
| LOW | src/lerobot/rewards/sarm/modeling_sarm.py | 56 | CODE | |
| LOW | src/lerobot/rewards/sarm/modeling_sarm.py | 193 | CODE | |
| LOW | src/lerobot/rewards/topreward/modeling_topreward.py | 147 | CODE | |
| LOW | src/lerobot/datasets/lance_backend.py | 125 | CODE | |
| LOW | src/lerobot/datasets/streaming_dataset.py | 163 | CODE | |
| LOW | src/lerobot/datasets/dataset_tools.py | 1725 | CODE | |
| LOW | src/lerobot/datasets/lerobot_dataset.py | 53 | CODE | |
| LOW | src/lerobot/datasets/lerobot_dataset.py | 647 | CODE | |
| LOW | src/lerobot/datasets/lerobot_dataset.py | 771 | CODE | |
| LOW | src/lerobot/datasets/lerobot_dataset.py | 885 | CODE | |
| LOW | src/lerobot/datasets/depth_utils.py | 154 | CODE | |
| LOW | src/lerobot/datasets/multi_dataset.py | 41 | CODE | |
| LOW | src/lerobot/utils/hub.py | 167 | CODE | |
| LOW | src/lerobot/policies/pretrained.py | 156 | CODE | |
| LOW | src/lerobot/policies/pi_gemma.py | 228 | CODE | |
| LOW | src/lerobot/policies/xvla/modeling_xvla.py | 418 | CODE | |
| LOW | src/lerobot/policies/xvla/soft_transformer.py | 299 | CODE | |
| LOW | …c/lerobot/policies/fineart_vla/modeling_fineart_vla.py | 1317 | CODE | |
| LOW | src/lerobot/policies/fineart_vla/fit_fast_tokenizer.py | 66 | CODE | |
| LOW | src/lerobot/policies/fineart_vla/fit_fast_tokenizer.py | 222 | CODE | |
| LOW | src/lerobot/policies/pi0/modeling_pi0.py | 801 | CODE | |
| LOW | src/lerobot/policies/groot/modeling_groot.py | 158 | CODE | |
| LOW | src/lerobot/policies/groot/groot_n1_7.py | 262 | CODE | |
| LOW | …obot/policies/groot/action_head/cross_attention_dit.py | 91 | CODE | |
| LOW | …obot/policies/groot/action_head/cross_attention_dit.py | 212 | CODE | |
| LOW | …obot/policies/groot/action_head/cross_attention_dit.py | 394 | CODE | |
| LOW | src/lerobot/policies/smolvla/smolvlm_with_expert.py | 75 | CODE | |
| LOW | src/lerobot/policies/pi05/modeling_pi05.py | 512 | CODE | |
| LOW | src/lerobot/policies/pi05/modeling_pi05.py | 1102 | CODE | |
| LOW | src/lerobot/policies/evo1/modeling_evo1.py | 75 | CODE | |
| LOW | src/lerobot/policies/evo1/internvl3_embedder.py | 109 | CODE | |
| LOW | src/lerobot/policies/evo1/evo1_model.py | 160 | CODE | |
| LOW | src/lerobot/policies/evo1/flow_matching.py | 115 | CODE | |
| LOW | src/lerobot/policies/evo1/flow_matching.py | 182 | CODE | |
| LOW | src/lerobot/policies/evo1/flow_matching.py | 402 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/video_dit.py | 412 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/model.py | 179 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/modular.py | 831 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/modular.py | 918 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/modular.py | 1679 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/modular.py | 1789 | CODE | |
| LOW | src/lerobot/policies/fastwam/wan/modular.py | 1907 | CODE | |
| LOW | …bot/policies/gaussian_actor/modeling_gaussian_actor.py | 626 | CODE | |
| LOW | src/lerobot/policies/flux3/f3/video_vae.py | 617 | CODE | |
| LOW | src/lerobot/policies/diffusion/modeling_diffusion.py | 850 | CODE | |
| LOW | src/lerobot/policies/vla_jepa/world_model.py | 102 | CODE | |
| LOW | src/lerobot/policies/vla_jepa/world_model.py | 258 | CODE | |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/datasets/test_image_transforms.py | 444 | # Check if the combined transforms directory exists and contains the right files | COMMENT |
| LOW | tests/datasets/test_image_transforms.py | 463 | # Check if the transformed images exist for each transform type | COMMENT |
| LOW | tests/policies/pi0_pi05/openpi_pytorch/gemma_pytorch.py | 143 | # Check if gradient checkpointing is enabled for any of the models | COMMENT |
| LOW | tests/policies/pi0_pi05/openpi_pytorch/image_tools.py | 23 | # Check if input is in channels-last format [*b, h, w, c] or channels-first [*b, c, h, w] | COMMENT |
| LOW | …icies/pi0_pi05/openpi_pytorch/preprocessing_pytorch.py | 42 | is_channels_first = image.shape[1] == 3 # Check if channels are in dimension 1 | CODE |
| LOW | tests/rl/test_learner_service.py | 266 | # Check if the time difference is close to the expected push frequency | COMMENT |
| LOW | examples/rtc/eval_dataset.py | 346 | # Check if torch.compile is available (PyTorch 2.0+) | COMMENT |
| LOW | src/lerobot/processor/pipeline.py | 1442 | # Check if any JSON file is a processor config | COMMENT |
| LOW | src/lerobot/rewards/sarm/compute_rabc_weights.py | 258 | # Set preprocessor to eval mode to disable augmentations | COMMENT |
| LOW | src/lerobot/rewards/sarm/compute_rabc_weights.py | 491 | # Set preprocessor to eval mode to disable augmentations | COMMENT |
| LOW | src/lerobot/rewards/sarm/rabc.py | 107 | # Check if the requested head mode column exists | COMMENT |
| LOW | src/lerobot/datasets/streaming_dataset.py | 154 | # Iterate over the dataset | STRING |
| LOW | src/lerobot/datasets/dataset_tools.py | 669 | # Check if video stream exists. | COMMENT |
| LOW | src/lerobot/datasets/dataset_tools.py | 691 | # Set time_base to match the frame rate for proper timestamp handling. | COMMENT |
| LOW | src/lerobot/datasets/dataset_tools.py | 711 | # Check if frame is in any of our desired frame ranges. | COMMENT |
| LOW | src/lerobot/datasets/dataset_tools.py | 720 | # Check if frame is in current range. | COMMENT |
| LOW⚡ | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 442 | # Check if RB is pressed then the intervention flag should be set | COMMENT |
| LOW⚡ | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 445 | # Check if RT is pressed | COMMENT |
| LOW⚡ | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 448 | # Check if LT is pressed | COMMENT |
| LOW⚡ | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 451 | # Check if Y/Triangle button (bit 7) is pressed for saving | COMMENT |
| LOW⚡ | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 452 | # Check if X/Square button (bit 5) is pressed for failure | COMMENT |
| LOW⚡ | src/lerobot/teleoperators/gamepad/gamepad_utils.py | 453 | # Check if A/Cross button (bit 4) is pressed for rerecording | COMMENT |
| LOW | src/lerobot/teleoperators/gamepad/teleop_gamepad.py | 155 | # Check if intervention is active | COMMENT |
| LOW | src/lerobot/teleoperators/keyboard/teleop_keyboard.py | 250 | # Check if any movement keys are currently pressed (indicates intervention) | COMMENT |
| LOW | …data_processing/sarm_annotations/subtask_annotation.py | 316 | # Check if ffmpeg is available | COMMENT |
| LOW | src/lerobot/utils/import_utils.py | 58 | # Check if the module spec exists using the import name | COMMENT |
| LOW | src/lerobot/utils/import_utils.py | 72 | # Check if the version contains "dev" | COMMENT |
| LOW | src/lerobot/policies/pi0/modeling_pi0.py | 353 | # Check if gradient checkpointing is enabled for any of the models | COMMENT |
| LOW | src/lerobot/policies/pi0/modeling_pi0.py | 840 | # Check if dataset_stats were provided in kwargs | COMMENT |
| LOW | src/lerobot/policies/pi0/modeling_pi0.py | 935 | # Check if the model actually has adaRMS enabled for the expert | COMMENT |
| LOW | src/lerobot/policies/pi0/modeling_pi0.py | 944 | # Check if the model actually has adaRMS enabled for the expert | COMMENT |
| LOW | src/lerobot/policies/pi0/modeling_pi0.py | 1035 | is_channels_first = img.shape[1] == 3 # Check if channels are in dimension 1 | CODE |
| LOW | src/lerobot/policies/groot/modeling_groot.py | 205 | # Check if this is a fine-tuned LeRobot checkpoint (has model.safetensors) | COMMENT |
| LOW | src/lerobot/policies/pi05/modeling_pi05.py | 563 | # Check if gradient checkpointing is enabled for any of the models | COMMENT |
| LOW | src/lerobot/policies/pi05/modeling_pi05.py | 1156 | # Check if dataset_stats were provided in kwargs | COMMENT |
| LOW | src/lerobot/policies/pi05/modeling_pi05.py | 1270 | # Check if the model actually has adaRMS enabled for the expert | COMMENT |
| LOW | src/lerobot/policies/pi05/modeling_pi05.py | 1279 | # Check if the model actually has adaRMS enabled for the expert | COMMENT |
| LOW | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 841 | # Check if dataset_stats were provided in kwargs | COMMENT |
| LOW | src/lerobot/policies/pi0_fast/modeling_pi0_fast.py | 1006 | is_channels_first = img.shape[1] == 3 # Check if channels are in dimension 1 | CODE |
| LOW | src/lerobot/policies/common/vla_utils.py | 162 | # Check if input is in channels-last format [*b, h, w, c] or channels-first [*b, c, h, w] | COMMENT |
| LOW | src/lerobot/policies/rtc/debug_tracker.py | 168 | # Check if step with this time already exists | COMMENT |
| LOW | src/lerobot/policies/wall_x/utils.py | 275 | # Set labels to None if all are invalid to skip cross entropy loss | COMMENT |
| LOW⚡ | src/lerobot/common/control_utils.py | 113 | # Check if dataset_name starts with "eval_" but policy is missing | COMMENT |
| LOW⚡ | src/lerobot/common/control_utils.py | 119 | # Check if dataset_name does not start with "eval_" but policy is provided | COMMENT |
| LOW | src/lerobot/common/wandb_utils.py | 139 | # Check if this is a PEFT model (has adapter files instead of model.safetensors) | COMMENT |
| LOW | src/lerobot/transforms/transforms.py | 1476 | # Set this to True to apply them in a random order. | COMMENT |
| LOW | src/lerobot/scripts/convert_dataset_v21_to_v30.py | 231 | # Check if we need to start a new file BEFORE creating metadata | COMMENT |
| LOW | src/lerobot/scripts/convert_dataset_v21_to_v30.py | 332 | # Check if adding this episode would exceed the limit | COMMENT |
| LOW | src/lerobot/robots/hope_jr/config_hope_jr.py | 47 | # Set this to a positive scalar to have the same value for all motors, or a dictionary that maps motor | COMMENT |
| LOW | src/lerobot/robots/reachy2/configuration_reachy2.py | 27 | # Set this to a positive scalar to have the same value for all motors. | COMMENT |
| LOW | src/lerobot/robots/lekiwi/config_lekiwi.py | 53 | # Set this to a positive scalar to have the same value for all motors, or a dictionary that maps motor | COMMENT |
| LOW | src/lerobot/robots/lekiwi/lekiwi.py | 196 | # Set P_Coefficient to lower value to avoid shakiness (Default is 32) | COMMENT |
| LOW | …c/lerobot/robots/koch_follower/config_koch_follower.py | 31 | # Set this to a positive scalar to have the same value for all motors, or a dictionary that maps motor | COMMENT |
| LOW | src/lerobot/robots/omx_follower/config_omx_follower.py | 31 | # Set this to a positive scalar to have the same value for all motors, or a dictionary that maps motor | COMMENT |
| LOW | src/lerobot/robots/so_follower/config_so_follower.py | 34 | # Set this to a positive scalar to have the same value for all motors, or a dictionary that maps motor | COMMENT |
| LOW | src/lerobot/envs/vlabench.py | 566 | # Check if it's a suite name, otherwise treat as individual task | COMMENT |
| LOW | src/lerobot/rl/buffer.py | 646 | # Check if the dataset has "next.done" key | COMMENT |
| LOW | src/lerobot/rl/gym_manipulator.py | 313 | # Check if this is a GymHIL simulation environment | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/processor/test_normalize_processor.py | 2005 | # Step 1: DeviceProcessor converts to bfloat16 + moves to CUDA | COMMENT |
| LOW⚡ | tests/processor/test_normalize_processor.py | 2011 | # Step 2: NormalizerProcessor receives bfloat16 input and adapts | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 879 | # Step 3: Create dataset C | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 887 | # Step 4: Merge AB+C into final - THIS IS WHERE THE BUG OCCURRED | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 903 | # Step 5: Verify all data files referenced in metadata actually exist | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 911 | # Step 6: Verify we can iterate through the entire dataset without FileNotFoundError | COMMENT |
| LOW | tests/datasets/test_aggregate.py | 844 | # Step 1: Create datasets A and B | COMMENT |
| LOW | tests/datasets/test_aggregate.py | 858 | # Step 2: Merge A+B into AB with small file size to force multiple files | COMMENT |
| LOW⚡ | tests/rl/test_sac_algorithm.py | 245 | # Step 0: should update actor | COMMENT |
| LOW⚡ | tests/rl/test_sac_algorithm.py | 249 | # Step 1: should NOT update actor | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 396 | # Step 1: Move policy to CPU to free GPU/MPS memory | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 399 | # Step 2: Delete the policy object | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 402 | # Step 3: Force garbage collection to reclaim memory immediately | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 405 | # Step 4: Clear device-specific caches | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 445 | # Step 1: Generate previous chunk using policy_prev_chunk | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 468 | # Step 2: Generate actions WITHOUT RTC using policy_no_rtc | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 501 | # Step 3: Generate actions WITH RTC using policy_rtc | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 511 | # Step 1: Send all MIT control commands | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 523 | # Step 2: Collect responses and update state cache | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 715 | # Step 1: Send all MIT control commands | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 736 | # Step 2: Collect responses and update state cache | COMMENT |
| LOW | …lerobot/teleoperators/openarm_leader/openarm_leader.py | 144 | # Step 1: Set zero position | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1496 | # Step 1: prefix forward fills the KV cache. | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1522 | # Step 2: suffix forward for flow matching. | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1722 | # Step 1: get KV cache. | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1738 | # Step 2: Euler sampling. | COMMENT |
| LOW | src/lerobot/robots/openarm_follower/openarm_follower.py | 187 | # Step 1: Set zero position | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/processor/test_normalize_processor.py | 2005 | # Step 1: DeviceProcessor converts to bfloat16 + moves to CUDA | COMMENT |
| LOW⚡ | tests/processor/test_normalize_processor.py | 2011 | # Step 2: NormalizerProcessor receives bfloat16 input and adapts | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 879 | # Step 3: Create dataset C | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 887 | # Step 4: Merge AB+C into final - THIS IS WHERE THE BUG OCCURRED | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 903 | # Step 5: Verify all data files referenced in metadata actually exist | COMMENT |
| LOW⚡ | tests/datasets/test_aggregate.py | 911 | # Step 6: Verify we can iterate through the entire dataset without FileNotFoundError | COMMENT |
| LOW | tests/datasets/test_aggregate.py | 844 | # Step 1: Create datasets A and B | COMMENT |
| LOW | tests/datasets/test_aggregate.py | 858 | # Step 2: Merge A+B into AB with small file size to force multiple files | COMMENT |
| LOW⚡ | tests/rl/test_sac_algorithm.py | 245 | # Step 0: should update actor | COMMENT |
| LOW⚡ | tests/rl/test_sac_algorithm.py | 249 | # Step 1: should NOT update actor | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 396 | # Step 1: Move policy to CPU to free GPU/MPS memory | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 399 | # Step 2: Delete the policy object | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 402 | # Step 3: Force garbage collection to reclaim memory immediately | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 405 | # Step 4: Clear device-specific caches | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 445 | # Step 1: Generate previous chunk using policy_prev_chunk | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 468 | # Step 2: Generate actions WITHOUT RTC using policy_no_rtc | COMMENT |
| LOW⚡ | examples/rtc/eval_dataset.py | 501 | # Step 3: Generate actions WITH RTC using policy_rtc | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 511 | # Step 1: Send all MIT control commands | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 523 | # Step 2: Collect responses and update state cache | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 715 | # Step 1: Send all MIT control commands | COMMENT |
| LOW | src/lerobot/motors/damiao/damiao.py | 736 | # Step 2: Collect responses and update state cache | COMMENT |
| LOW | …lerobot/teleoperators/openarm_leader/openarm_leader.py | 144 | # Step 1: Set zero position | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1496 | # Step 1: prefix forward fills the KV cache. | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1522 | # Step 2: suffix forward for flow matching. | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1722 | # Step 1: get KV cache. | COMMENT |
| LOW | src/lerobot/policies/dm05/core/modeling.py | 1738 | # Step 2: Euler sampling. | COMMENT |
| LOW | src/lerobot/robots/openarm_follower/openarm_follower.py | 187 | # Step 1: Set zero position | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/processor/test_batch_processor.py | 801 | """Test task processing with comprehensive string cases and edge cases.""" | STRING |
| MEDIUM | tests/processor/test_pipeline.py | 1710 | # More comprehensive override tests | COMMENT |
| LOW | examples/training/train_policy.py | 51 | # we'll just use the defaults and so no arguments other than input/output features need to be passed. | COMMENT |
| MEDIUM | src/lerobot/async_inference/robot_client.py | 447 | # Calculate comprehensive FPS metrics | COMMENT |
| MEDIUM | src/lerobot/rewards/sarm/compute_rabc_weights.py | 451 | """Linearly interpolate values to fill in gaps (robust to NaNs / edge cases).""" | STRING |
| MEDIUM | src/lerobot/datasets/compute_stats.py | 458 | """Compute comprehensive statistics for array features along specified axes. | STRING |
| MEDIUM | src/lerobot/datasets/compute_stats.py | 509 | """Compute comprehensive statistics for all features in an episode. | STRING |
| MEDIUM | src/lerobot/cameras/opencv/camera_opencv.py | 258 | # Use math.isclose for robust float comparison | COMMENT |
| MEDIUM | src/lerobot/policies/tdmpc/modeling_tdmpc.py | 371 | # learned state-action value function in conjunction with the learned policy: Q(z, π(z)), FOWM | COMMENT |
| MEDIUM | src/lerobot/scripts/lerobot_eval.py | 1044 | # To be robust, accept scalars or lists. | COMMENT |
| MEDIUM | src/lerobot/scripts/lerobot_eval.py | 1126 | # compute aggregated metrics helper (robust to lists/scalars) | COMMENT |
| MEDIUM | src/lerobot/scripts/lerobot_dataset_viz.py | 239 | # Use the dataset's q01/q99 depth statistics for robust depth range bounds | COMMENT |
| LOW | src/lerobot/envs/utils.py | 153 | # TODO(jadechoghari, imstevenpmwork): remove this hardcoding of keys and just use the nested keys as is | COMMENT |
| LOW | src/lerobot/rl/crop_dataset_roi.py | 201 | # (Here we simply set the shape to be the final resize_size.) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/rewards/test_reward_model_base.py | 131 | # Trainable vs zero-shot (general-purpose) reward models. | COMMENT |
| MEDIUM⚡ | tests/jobs/test_annotate.py | 88 | # --job.* is client-side orchestration; the pod must not re-dispatch itself. | COMMENT |
| MEDIUM⚡ | tests/jobs/test_hf.py | 289 | # `job` is client-only orchestration and must be stripped for the pod. | COMMENT |
| MEDIUM | …c/lerobot/rewards/topreward/configuration_topreward.py | 23 | # Default prompt scaffolding from the upstream TOPReward paper / reference | COMMENT |
| MEDIUM | src/lerobot/policies/molmoact2/README.md | 486 | ### Joint frame transform (SO-100/101 zero-shot) | COMMENT |
| MEDIUM | src/lerobot/jobs/hf.py | 271 | # (e.g. an orchestration framework) skip the Ctrl-C-detaches-instead-of-cancels | COMMENT |
| MEDIUM | src/lerobot/rl/learner.py | 596 | # Save policy artifacts (pretrained_model/) + Trainer scaffolding (training_state/). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/lerobot/jobs/annotate.py | 82 | "apt-get update -qq && apt-get install -y -qq git ffmpeg && " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …olicies/gaussian_actor/configuration_gaussian_actor.py | 166 | # Configuration for concurrency settings (you can use threads or processes for the actor and learner) | COMMENT |
| LOW | src/lerobot/scripts/lerobot_eval.py | 576 | # (batch-element-wise). Note the `done_indices + 1` to make sure to keep the data from the done step. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/lerobot/robots/hope_jr/hope_jr_arm.py | 129 | # TODO: add docstring | COMMENT |
| LOW | src/lerobot/robots/hope_jr/hope_jr_hand.py | 159 | # TODO: add docstring | COMMENT |
| LOW | src/lerobot/robots/unitree_g1/unitree_g1.py | 357 | # TODO: implement g1_29 calibration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ons/steerable_pipeline/modules/plan_subtasks_memory.py | 190 | "placeholder", | CODE |