MCPcopy Create free account

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

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

Functiontest_lerobot_dataset_vcodec_validation
Test that LeRobotDataset validates the vcodec parameter.
tests/datasets/test_datasets.py:1434
Functiontest_lerobot_groot_forward_pass
Test the forward pass of LeRobot's Groot policy.
tests/policies/groot/test_groot_lerobot.py:182
Functiontest_lerobot_groot_inference
Test the inference pass (select_action) of LeRobot's Groot policy.
tests/policies/groot/test_groot_lerobot.py:149
Methodtest_linear_fallback
Test linear normalization when only num_stages is provided.
tests/policies/test_sarm_utils.py:452
Functiontest_linweights_with_end_equals_start
Test _linweights when end equals start.
tests/policies/rtc/test_modeling_rtc.py:268
Functiontest_linweights_with_end_less_than_start
Test _linweights when end < start.
tests/policies/rtc/test_modeling_rtc.py:279
Functiontest_list_conversion
()
tests/processor/test_normalize_processor.py:77
Functiontest_list_length_mismatch_raises
(tmp_json_file)
tests/utils/test_io_utils.py:85
Functiontest_list_of_strings_tokenization
Test tokenization of a list of strings.
tests/processor/test_tokenizer_processor.py:165
Functiontest_load_config_directory
Test loading config from directory.
tests/processor/test_pipeline_from_pretrained_helpers.py:35
Functiontest_load_config_directory_file_not_found
Test directory loading when config file doesn't exist.
tests/processor/test_pipeline_from_pretrained_helpers.py:71
Functiontest_load_config_directory_with_migration_detection
Test that missing config triggers migration detection.
tests/processor/test_pipeline_from_pretrained_helpers.py:81
Functiontest_load_config_nonexistent_path_tries_hub
Test that nonexistent paths try Hub (simplified logic).
tests/processor/test_pipeline_from_pretrained_helpers.py:94
Functiontest_load_config_single_file
Test loading config from a single file path.
tests/processor/test_pipeline_from_pretrained_helpers.py:52
Functiontest_load_failure_reset_pose_from_json
(tmp_path)
tests/test_control_robot.py:305
Functiontest_load_plugin_failure
()
tests/configs/test_plugin_loading.py:80
Functiontest_load_plugin_success
(plugin_dir: Path)
tests/configs/test_plugin_loading.py:70
Functiontest_load_training_step
(tmp_path)
tests/utils/test_train_utils.py:59
Functiontest_log_rerun_data_envtransition_scalars_and_image
(mock_rerun)
tests/utils/test_visualization_utils.py:90
Functiontest_log_rerun_data_kwargs_only
(mock_rerun)
tests/utils/test_visualization_utils.py:205
Functiontest_log_rerun_data_plain_list_ordering_and_prefixes
(mock_rerun)
tests/utils/test_visualization_utils.py:151
Functiontest_main_process_time
(tmp_path, img_tensor_factory)
tests/datasets/test_image_writer.py:372
Functiontest_make_act_processor_basic
Test basic creation of ACT processor.
tests/processor/test_act_processor.py:64
Functiontest_make_classifier_processor_basic
Test basic creation of Classifier processor.
tests/processor/test_classifier_processor.py:65
Functiontest_make_diffusion_processor_basic
Test basic creation of Diffusion processor.
tests/processor/test_diffusion_processor.py:67
Functiontest_make_env_from_hub_async
Test loading hub environment with async vector environments.
tests/envs/test_envs.py:244
Functiontest_make_env_from_hub_requires_trust_remote_code
Test that loading from hub requires explicit trust_remote_code=True.
tests/envs/test_envs.py:189
Functiontest_make_env_from_hub_with_trust
Test loading environment from Hugging Face Hub with trust_remote_code=True.
tests/envs/test_envs.py:210
Functiontest_make_env_hub_url_parsing
Test URL parsing for hub environment references.
tests/envs/test_envs.py:121
Functiontest_make_sac_processor_basic
Test basic creation of SAC processor.
tests/processor/test_sac_processor.py:64
Functiontest_make_smolvla_processor_basic
Test basic creation of SmolVLA processor.
tests/processor/test_smolvla_processor.py:90
Functiontest_make_tdmpc_processor_basic
Test basic creation of TDMPC processor.
tests/processor/test_tdmpc_processor.py:67
Functiontest_make_transform_from_config_invalid_type
()
tests/datasets/test_image_transforms.py:411
Functiontest_make_transform_from_config_with_v2_identity
(img_tensor_factory)
tests/datasets/test_image_transforms.py:402
Functiontest_make_transform_from_config_with_v2_resize
(img_tensor_factory)
tests/datasets/test_image_transforms.py:393
Functiontest_make_vqbet_processor_basic
Test basic creation of VQBeT processor.
tests/processor/test_vqbet_processor.py:67
Functiontest_max_after_reset
Test max() returns 0.0 after reset.
tests/policies/rtc/test_latency_tracker.py:180
Functiontest_max_persists_after_sliding_window
Test max() persists even after values slide out of window.
tests/policies/rtc/test_latency_tracker.py:166
Functiontest_max_returns_maximum_value
Test max() returns the maximum latency.
tests/policies/rtc/test_latency_tracker.py:157
Functiontest_max_returns_zero_when_empty
Test max() returns 0.0 when tracker is empty.
tests/policies/rtc/test_latency_tracker.py:152
Functiontest_maybe_enqueue_observation_dissimilar
A dissimilar observation (not `must_go`) is enqueued.
tests/async_inference/test_policy_server.py:151
Functiontest_maybe_enqueue_observation_is_skipped
A similar observation (not `must_go`) is skipped.
tests/async_inference/test_policy_server.py:162
Functiontest_maybe_enqueue_observation_must_go
An observation with `must_go=True` is always enqueued.
tests/async_inference/test_policy_server.py:143
Functiontest_mean_std_normalization
(observation_normalizer)
tests/processor/test_normalize_processor.py:138
Functiontest_mean_std_unnormalization
(action_stats_mean_std)
tests/processor/test_normalize_processor.py:510
Functiontest_memory_optimization
()
tests/utils/test_replay_buffer.py:526
Functiontest_merge_appends_when_rtc_disabled
Test merge() appends actions when RTC is disabled.
tests/policies/rtc/test_action_queue.py:342
Functiontest_merge_empty_list
Test error when merging empty list.
tests/datasets/test_dataset_tools.py:292
Functiontest_merge_first_call_with_rtc_disabled
Test merge() on first call with RTC disabled.
tests/policies/rtc/test_action_queue.py:397
Functiontest_merge_ignores_delay_when_rtc_disabled
Test merge() ignores real_delay parameter when RTC is disabled.
tests/policies/rtc/test_action_queue.py:389
Functiontest_merge_is_thread_safe
Test merge() is thread-safe with multiple producers.
tests/policies/rtc/test_action_queue.py:552
Functiontest_merge_multiple_groups_order_and_dedup
()
tests/datasets/test_dataset_utils.py:86
Functiontest_merge_no_warning_when_delays_match
Test merge() doesn't warn when delays are consistent.
tests/policies/rtc/test_action_queue.py:464
Functiontest_merge_preserves_stats
Test that statistics are computed for merged datasets.
tests/datasets/test_dataset_tools.py:856
Functiontest_merge_removes_consumed_actions_when_appending
Test merge() removes consumed actions before appending when RTC is disabled.
tests/policies/rtc/test_action_queue.py:356
Functiontest_merge_replaces_queue_when_rtc_enabled
Test merge() replaces queue when RTC is enabled.
tests/policies/rtc/test_action_queue.py:275
Functiontest_merge_resets_last_index_after_append
Test merge() resets last_index after appending when RTC is disabled.
tests/policies/rtc/test_action_queue.py:375
Functiontest_merge_resets_last_index_when_rtc_enabled
Test merge() resets last_index to 0 when RTC is enabled.
tests/policies/rtc/test_action_queue.py:309
Functiontest_merge_respects_real_delay
Test merge() correctly applies real_delay when RTC is enabled.
tests/policies/rtc/test_action_queue.py:295
Functiontest_merge_simple_vectors
()
tests/datasets/test_dataset_utils.py:60
Functiontest_merge_skips_validation_when_action_index_none
Test merge() skips delay validation when action_index_before_inference is None.
tests/policies/rtc/test_action_queue.py:489
Functiontest_merge_three_datasets
Test merging three datasets.
tests/datasets/test_dataset_tools.py:809
Functiontest_merge_two_datasets
Test merging two datasets.
tests/datasets/test_dataset_tools.py:247
Functiontest_merge_validates_delay_consistency
Test merge() validates that real_delay matches action index difference.
tests/policies/rtc/test_action_queue.py:437
Functiontest_merge_with_different_action_dims
Test merge() handles actions with different dimensions.
tests/policies/rtc/test_action_queue.py:408
Functiontest_merge_with_different_lengths
Test merge() handles action sequences of varying lengths.
tests/policies/rtc/test_action_queue.py:421
Functiontest_merge_with_large_delay
Test merge() with delay larger than action sequence.
tests/policies/rtc/test_action_queue.py:329
Functiontest_merge_with_zero_delay
Test merge() with zero delay keeps all actions.
tests/policies/rtc/test_action_queue.py:322
Functiontest_metrics_tracker_getattr
(mock_metrics)
tests/utils/test_logging_utils.py:85
Functiontest_metrics_tracker_initialization
(mock_metrics)
tests/utils/test_logging_utils.py:62
Functiontest_metrics_tracker_reset_averages
(mock_metrics)
tests/utils/test_logging_utils.py:117
Functiontest_metrics_tracker_setattr
(mock_metrics)
tests/utils/test_logging_utils.py:93
Functiontest_metrics_tracker_step
(mock_metrics)
tests/utils/test_logging_utils.py:74
Functiontest_metrics_tracker_str
(mock_metrics)
tests/utils/test_logging_utils.py:99
Functiontest_metrics_tracker_to_dict
(mock_metrics)
tests/utils/test_logging_utils.py:108
Functiontest_migration_error_always_raised_for_invalid_configs
Test that ProcessorMigrationError is always raised for invalid configs.
tests/processor/test_migration_detection.py:330
Functiontest_migration_suggestion_raises_error
Test that migration suggestion always raises ProcessorMigrationError.
tests/processor/test_migration_detection.py:319
Functiontest_min_equals_max_maps_to_minus_one
When min == max, MIN_MAX path maps to -1 after [-1,1] scaling for x==min.
tests/processor/test_normalize_processor.py:1573
Functiontest_min_max_normalization
(observation_normalizer)
tests/processor/test_normalize_processor.py:153
Functiontest_min_max_unnormalization
(action_stats_min_max)
tests/processor/test_normalize_processor.py:528
Functiontest_minimal_batch
Test with minimal batch containing only observation.* and action.
tests/processor/test_batch_conversion.py:171
Functiontest_missing_action_stats_no_error
()
tests/processor/test_normalize_processor.py:782
Functiontest_missing_key_raises
(tmp_json_file)
tests/utils/test_io_utils.py:69
Functiontest_missing_task_key
Test handling when task key is missing.
tests/processor/test_tokenizer_processor.py:235
Functiontest_mixed_devices
Test handling of tensors already on different devices.
tests/processor/test_device_processor.py:213
Functiontest_mixed_json_and_tensor_state
Test step with both JSON attributes and tensor state.
tests/processor/test_pipeline.py:581
Functiontest_mixed_observation
Test processor with mixed observation containing various types and dimensions.
tests/processor/test_batch_processor.py:201
Functiontest_mlp_with_batch_dim
()
tests/policies/test_sac_policy.py:51
Functiontest_mlp_with_custom_final_activation
()
tests/policies/test_sac_policy.py:74
Functiontest_mlp_with_default_args
()
tests/policies/test_sac_policy.py:43
Functiontest_mlp_with_dropout
()
tests/policies/test_sac_policy.py:64
Functiontest_modify_features_add_and_remove
Test modifying features by adding and removing simultaneously.
tests/datasets/test_dataset_tools.py:399
Functiontest_modify_features_no_changes
Test error when modify_features is called with no changes.
tests/datasets/test_dataset_tools.py:481
Functiontest_modify_features_only_add
Test that modify_features works with only add_features.
tests/datasets/test_dataset_tools.py:432
Functiontest_modify_features_only_remove
Test that modify_features works with only remove_features.
tests/datasets/test_dataset_tools.py:455
Functiontest_modify_features_preserves_file_structure
Test that modifying features preserves chunk_idx and file_idx from source dataset.
tests/datasets/test_dataset_tools.py:1044
Functiontest_modify_tasks_default_with_overrides
Test setting a default task with specific overrides.
tests/datasets/test_dataset_tools.py:1140
Functiontest_modify_tasks_episode_specific
Test setting different tasks for specific episodes.
tests/datasets/test_dataset_tools.py:1118
Functiontest_modify_tasks_in_place
Test that modify_tasks modifies the dataset in-place.
tests/datasets/test_dataset_tools.py:1231
Functiontest_modify_tasks_invalid_episode_indices
Test error with invalid episode indices.
tests/datasets/test_dataset_tools.py:1172
← previousnext →4,701–4,800 of 5,633, ranked by callers