MCPcopy Create free account

hub / github.com/MINT-SJTU/Evo-RL / functions

Functions5,633 in github.com/MINT-SJTU/Evo-RL

Functiontest_modify_tasks_keeps_original_when_not_overridden
Test that original tasks are kept when using episode_tasks without new_task.
tests/datasets/test_dataset_tools.py:1242
Functiontest_modify_tasks_no_task_specified
Test error when no task is specified.
tests/datasets/test_dataset_tools.py:1166
Functiontest_modify_tasks_preserves_other_metadata
Test that modifying tasks preserves other metadata.
tests/datasets/test_dataset_tools.py:1188
Functiontest_modify_tasks_single_task_for_all
Test setting a single task for all episodes.
tests/datasets/test_dataset_tools.py:1101
Functiontest_modify_tasks_task_index_correct
Test that task_index values are correct in data files.
tests/datasets/test_dataset_tools.py:1202
Functiontest_modify_tasks_updates_info_json
Test that total_tasks is updated in info.json.
tests/datasets/test_dataset_tools.py:1178
Methodtest_monotonic_within_subtask
Test that progress is monotonically increasing within a subtask.
tests/policies/test_sarm_utils.py:347
Functiontest_mps_float64_compatibility
Test MPS device compatibility with float64 tensors (automatic conversion to float32).
tests/processor/test_device_processor.py:1018
Functiontest_mps_float64_with_complementary_data
Test MPS float64 conversion with complementary_data tensors.
tests/processor/test_device_processor.py:1067
Functiontest_mps_serialization
Test that MPS device processor can be serialized and loaded correctly.
tests/processor/test_device_processor.py:1144
Functiontest_mps_with_explicit_float_dtype
Test MPS device with explicit float_dtype setting.
tests/processor/test_device_processor.py:1111
Functiontest_multi_adam_configuration
(base_params_dict, config_params, expected_values)
tests/optim/test_optimizers.py:133
Functiontest_multi_episode_metadata_consistency
Test episode metadata consistency across multiple episodes.
tests/datasets/test_datasets.py:904
Functiontest_multi_gpu_preservation
Test that DeviceProcessorStep preserves placement on different GPUs in multi-GPU setup.
tests/processor/test_device_processor.py:834
Functiontest_multi_gpu_with_cpu_tensors
Test that CPU tensors are moved to configured device even in multi-GPU context.
tests/processor/test_device_processor.py:869
Functiontest_multi_gpu_with_float_dtype
Test float dtype conversion works correctly with multi-GPU preservation.
tests/processor/test_device_processor.py:897
Methodtest_multi_stage_within_subtask
Test finding stage when frame is within a subtask.
tests/policies/test_sarm_utils.py:245
Functiontest_multiclass_classifier
()
tests/policies/hilserl/test_modeling_classifier.py:81
Functiontest_multidataset_frames
Check that all dataset frames are incorporated.
tests/datasets/test_datasets.py:503
Functiontest_multikey_construction
Asserts that multiple keys with type State/Action are correctly processed by the policy constructor, preventing erroneous creation of the pol
tests/policies/test_policies.py:277
Functiontest_multiple_hooks_and_selective_unregister
Test registering multiple hooks and selectively unregistering them.
tests/processor/test_pipeline.py:425
Functiontest_multiple_images_3d_to_4d
Test that 3D image tensors in observation.images.* get unsqueezed to 4D.
tests/processor/test_batch_processor.py:82
Functiontest_multiple_processors_same_directory
Test saving multiple processors to the same directory with different config files.
tests/processor/test_pipeline.py:1338
Functiontest_multiple_steps_pipeline
Test pipeline with multiple steps.
tests/processor/test_pipeline.py:202
Functiontest_multiple_stops
()
tests/datasets/test_image_writer.py:277
Functiontest_multiple_stops_multiprocessing
()
tests/datasets/test_image_writer.py:284
Functiontest_nested_observation_rename
Test renaming with nested observation structures.
tests/processor/test_rename_processor.py:357
Functiontest_nested_structure
(tmp_json_file)
tests/utils/test_io_utils.py:46
Methodtest_no_clamping_when_in_middle
When frame is in middle of episode, no clamping should occur.
tests/policies/test_sarm_utils.py:96
Functiontest_no_observation_keys
Test behavior when there are no observation.* keys.
tests/processor/test_batch_conversion.py:140
Functiontest_no_part_declared
()
tests/robots/test_reachy2.py:319
Functiontest_no_part_declared
()
tests/teleoperators/test_reachy2_teleoperator.py:141
Functiontest_no_pixels_in_observation
Test processor when no pixels are in observation.
tests/processor/test_observation_processor.py:120
Methodtest_no_rewind_when_obs_window_at_episode_start
No rewind when observation window reaches episode start.
tests/policies/test_sarm_utils.py:588
Functiontest_no_states_in_observation
Test processor when no states are in observation.
tests/processor/test_observation_processor.py:249
Methodtest_no_subtask_in_features
Test that subtask_index is not in features when not provided.
tests/datasets/test_subtask_dataset.py:121
Functiontest_no_tokenizer_error
Test that ValueError is raised when neither tokenizer nor tokenizer_name is provided.
tests/processor/test_tokenizer_processor.py:286
Functiontest_non_blocking_flag
Test that non_blocking flag is set correctly.
tests/processor/test_device_processor.py:233
Functiontest_non_dict_passthrough_last_wins
()
tests/datasets/test_dataset_utils.py:127
Functiontest_non_mutate
Checks that the data provided to the add_data method is copied rather than passed by reference. This means that mutating the data in the buffer d
tests/datasets/test_online_buffer.py:58
Functiontest_non_tensor_values
Test that non-tensor values are preserved.
tests/processor/test_device_processor.py:97
Functiontest_non_tensor_values_unchanged
Test that non-tensor values in observations remain unchanged.
tests/processor/test_batch_processor.py:156
Functiontest_non_vector_last_wins_for_images
()
tests/datasets/test_dataset_utils.py:97
Functiontest_none_action
(action_stats_mean_std)
tests/processor/test_normalize_processor.py:572
Functiontest_none_complementary_data
Test handling of None complementary_data.
tests/processor/test_tokenizer_processor.py:219
Methodtest_none_input
Test that None input returns None.
tests/policies/test_sarm_utils.py:430
Functiontest_none_observation
Test processor handles None observation gracefully.
tests/processor/test_batch_processor.py:179
Functiontest_none_observation
Test processor with None observation.
tests/processor/test_observation_processor.py:135
Functiontest_none_observation
Test processor with None observation.
tests/processor/test_rename_processor.py:86
Functiontest_none_task_value
Test handling when task value is None.
tests/processor/test_tokenizer_processor.py:250
Functiontest_none_values
Test handling of None values.
tests/processor/test_device_processor.py:123
Methodtest_normalization
Test that non-normalized proportions are normalized.
tests/policies/test_sarm_utils.py:435
Functiontest_normalize_episode_success_label
()
tests/utils/test_recording_annotations.py:32
Functiontest_normalize_hub_result
Test normalization of different return types from hub make_env.
tests/envs/test_envs.py:154
Functiontest_not_silent_mode
()
tests/transport/test_transport_utils.py:86
Functiontest_numpy_conversion
()
tests/processor/test_normalize_processor.py:36
Functiontest_obs_sanity_checks
Unit-test the private `_obs_sanity_checks` helper.
tests/async_inference/test_policy_server.py:173
Functiontest_observation_grouping_roundtrip
Test that observation.* keys are properly grouped and ungrouped.
tests/processor/test_batch_conversion.py:38
Functiontest_observations_similar_true
Distance below atol → observations considered similar.
tests/async_inference/test_helpers.py:187
Methodtest_operation_type_resolves_correct_class
(self, type_name, expected_cls)
tests/scripts/test_edit_dataset_parsing.py:51
Functiontest_optimizer_build
(config_cls, expected_class, model_params)
tests/optim/test_optimizers.py:40
Functiontest_overlapping_rename
Test renaming when new names might conflict.
tests/processor/test_rename_processor.py:97
Functiontest_override_multiple_same_class_warning
Test behavior when multiple steps of same class exist.
tests/processor/test_pipeline.py:1647
Functiontest_override_preserves_defaults
Test that overrides only affect specified parameters.
tests/processor/test_pipeline.py:1541
Functiontest_override_type_validation
Test that type errors in overrides are caught properly.
tests/processor/test_pipeline.py:1566
Functiontest_override_with_callables
Test overriding with callable objects.
tests/processor/test_pipeline.py:1587
Functiontest_override_with_device_strings
Test overriding device parameters with string values.
tests/processor/test_pipeline.py:1725
Functiontest_override_with_nested_config
Test overrides with nested configuration dictionaries.
tests/processor/test_pipeline.py:1485
Functiontest_p95_equals_percentile_95
Test p95() equals percentile(0.95).
tests/policies/rtc/test_latency_tracker.py:205
Functiontest_p95_returns_95th_percentile
Test p95() returns the 95th percentile.
tests/policies/rtc/test_latency_tracker.py:195
Functiontest_p95_returns_zero_when_empty
Test p95() returns 0.0 when tracker is empty.
tests/policies/rtc/test_latency_tracker.py:190
Methodtest_paper_example_different_from_avg_durations
Test that compute_temporal_proportions differs from naive average duration approach. This is the key test showing the difference between:
tests/policies/test_sarm_subtask_annotations.py:75
Functiontest_parse_episode_indices_rejects_out_of_range_indices
()
tests/scripts/test_export_boundary_frames.py:33
Functiontest_parse_episode_indices_supports_all_keyword
()
tests/scripts/test_export_boundary_frames.py:29
Functiontest_parse_episode_indices_supports_ranges_and_deduplicates
()
tests/scripts/test_export_boundary_frames.py:25
Functiontest_parse_plugin_args
()
tests/configs/test_plugin_loading.py:57
Functiontest_partial_rename
Test renaming only some keys.
tests/processor/test_rename_processor.py:122
Functiontest_partial_stats
If statistics are incomplete, we should raise.
tests/processor/test_normalize_processor.py:769
Functiontest_patch_hil_dataset_schema_restores_legacy_dataset_mergeability
(tmp_path)
tests/test_control_robot.py:184
Functiontest_peft_record_loads_policy
Train a policy with PEFT and attempt to load it with `lerobot-record`.
tests/test_cli_peft.py:180
Functiontest_peft_training_params_are_fewer
Check whether the standard case of fine-tuning a (partially) pre-trained policy with PEFT works.
tests/test_cli_peft.py:129
Functiontest_peft_training_push_to_hub_works
Ensure that push to hub stores PEFT only the adapter, not the full model weights.
tests/test_cli_peft.py:41
Functiontest_peft_training_works
Check whether the standard case of fine-tuning a (partially) pre-trained policy with PEFT works.
tests/test_cli_peft.py:80
Functiontest_percentile_converts_q_to_float
Test percentile converts q parameter to float.
tests/policies/rtc/test_latency_tracker.py:315
Functiontest_performance_with_large_tensors
Test performance with large tensors and non_blocking flag.
tests/processor/test_device_processor.py:350
Functiontest_pi05_original_vs_lerobot
Test PI05 original implementation vs LeRobot implementation.
tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:372
Functiontest_pi05_rtc_inference_with_prev_chunk
Test PI0.5 policy inference with RTC and previous chunk.
tests/policies/pi0_pi05/test_pi05_rtc.py:92
Functiontest_pi05_rtc_inference_without_prev_chunk
Test PI0.5 policy inference with RTC but no previous chunk (RTC should have no effect).
tests/policies/pi0_pi05/test_pi05_rtc.py:179
Functiontest_pi05_rtc_initialization
Test PI0.5 policy can initialize RTC processor.
tests/policies/pi0_pi05/test_pi05_rtc.py:38
Functiontest_pi05_rtc_initialization_without_rtc_config
Test PI0.5 policy can initialize without RTC config.
tests/policies/pi0_pi05/test_pi05_rtc.py:73
Functiontest_pi05_rtc_validation_rules
Test PI0.5 policy with RTC follows all three validation rules.
tests/policies/pi0_pi05/test_pi05_rtc.py:257
Functiontest_pi0_fast_action_generation
Test PI0Fast LeRobot implementation generates expected actions.
tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:232
Functiontest_pi0_fast_action_token_sampling
Test PI0Fast action token sampling (autoregressive decoding).
tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:400
Functiontest_pi0_fast_detokenization
Test PI0Fast action detokenization (FAST decoding).
tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:456
Functiontest_pi0_fast_forward_pass_logits
Test PI0Fast forward pass and compare logits against expected values.
tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:351
Functiontest_pi0_fast_inference_reproducibility
Test that PI0Fast inference is reproducible with the same seed.
tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:310
Functiontest_pi0_fast_preprocessor_alignment
Test that LeRobot PI0Fast preprocessor produces expected outputs.
tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:185
Functiontest_pi0_original_vs_lerobot
Test PI0 original implementation vs LeRobot implementation.
tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:363
Functiontest_pi0_rtc_inference_with_prev_chunk
Test PI0 policy inference with RTC and previous chunk.
tests/policies/pi0_pi05/test_pi0_rtc.py:93
Functiontest_pi0_rtc_inference_without_prev_chunk
Test PI0 policy inference with RTC but no previous chunk (RTC should have no effect).
tests/policies/pi0_pi05/test_pi0_rtc.py:170
← previousnext →4,801–4,900 of 5,633, ranked by callers