MCPcopy Create free account

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

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

Functiontest_stats_explicit_provided_flag_detection
Test that the _stats_explicitly_provided flag is set correctly in different scenarios.
tests/processor/test_normalize_processor.py:1860
Functiontest_stats_override_preservation_in_load_state_dict
Test that explicitly provided stats are preserved during load_state_dict. This tests the fix for the bug where stats provided via overrides
tests/processor/test_normalize_processor.py:1743
Functiontest_stats_reconstruction_after_load_state_dict
Test that stats dict is properly reconstructed from _tensor_stats after loading. This test ensures the bug where stats became empty after lo
tests/processor/test_normalize_processor.py:2020
Functiontest_stats_without_override_loads_normally
Test that when stats are not explicitly provided (normal case), load_state_dict works as before.
tests/processor/test_normalize_processor.py:1817
Functiontest_step_through
Test step_through method with dict input.
tests/processor/test_pipeline.py:231
Functiontest_step_through_no_hooks
Test that step_through doesn't execute hooks.
tests/processor/test_pipeline.py:292
Functiontest_step_through_with_dict
Test step_through method with dict input.
tests/processor/test_pipeline.py:252
Functiontest_step_without_optional_methods
Test pipeline with steps that don't implement optional methods.
tests/processor/test_pipeline.py:557
Functiontest_stop
()
tests/datasets/test_image_writer.py:265
Functiontest_stop_multiprocessing
()
tests/datasets/test_image_writer.py:271
Functiontest_stream_parameters
()
tests/rl/test_learner_service.py:214
Functiontest_stream_parameters_waits_and_retries_on_empty_queue
()
tests/rl/test_learner_service.py:324
Functiontest_stream_parameters_with_shutdown
()
tests/rl/test_learner_service.py:272
Functiontest_subtask_attention_mask_dtype
Test that subtask attention mask has correct dtype (bool).
tests/processor/test_tokenizer_processor.py:1402
Methodtest_subtask_dataset_loads
Test that the subtask dataset loads successfully.
tests/datasets/test_subtask_dataset.py:45
Methodtest_subtask_index_consistency
Test that same subtask_index returns same subtask string.
tests/datasets/test_subtask_dataset.py:164
Methodtest_subtask_index_in_features
Test that subtask_index is a feature when dataset has subtasks.
tests/datasets/test_subtask_dataset.py:56
Methodtest_subtask_index_maps_to_valid_subtask
Test that subtask_index correctly maps to a subtask in metadata.
tests/datasets/test_subtask_dataset.py:76
Methodtest_subtask_metadata_loaded
Test that subtask metadata is loaded when present in dataset.
tests/datasets/test_subtask_dataset.py:50
Functiontest_subtask_not_added_for_unsupported_types
Test that subtask tokens are not added when subtask has unsupported type.
tests/processor/test_tokenizer_processor.py:1483
Functiontest_subtask_tokenization_deterministic
Test that subtask tokenization is deterministic for the same input.
tests/processor/test_tokenizer_processor.py:1421
Functiontest_subtask_tokenization_device_cpu
Test that subtask tokens are on CPU when other tensors are on CPU.
tests/processor/test_tokenizer_processor.py:1325
Functiontest_subtask_tokenization_device_cuda
Test that subtask tokens are moved to CUDA when other tensors are on CUDA.
tests/processor/test_tokenizer_processor.py:1351
Functiontest_subtask_tokenization_integration_with_pipeline
Test subtask tokenization works correctly with DataProcessorPipeline.
tests/processor/test_tokenizer_processor.py:1447
Functiontest_subtask_tokenization_list_of_strings
Test subtask tokenization with list of strings.
tests/processor/test_tokenizer_processor.py:1299
Functiontest_subtask_tokenization_not_added_when_none
Test that subtask tokens are NOT added to observation when subtask is None.
tests/processor/test_tokenizer_processor.py:1255
Functiontest_subtask_tokenization_not_added_when_subtask_value_is_none
Test that subtask tokens are NOT added when subtask value is explicitly None.
tests/processor/test_tokenizer_processor.py:1279
Functiontest_subtask_tokenization_preserves_other_observation_data
Test that subtask tokenization preserves other observation data.
tests/processor/test_tokenizer_processor.py:1376
Functiontest_subtask_tokenization_when_present
Test that subtask is tokenized and added to observation when present.
tests/processor/test_tokenizer_processor.py:1226
Methodtest_subtask_with_multiple_episodes
Test subtask handling with multiple episodes if available.
tests/datasets/test_subtask_dataset.py:145
Methodtest_subtasks_metadata_is_none
Test that subtasks metadata is None when not present.
tests/datasets/test_subtask_dataset.py:137
Methodtest_sum_to_one
Test that proportions always sum to 1.
tests/policies/test_sarm_subtask_annotations.py:110
Functiontest_sync_read_by_list
(data_name, ids_values, dummy_motors)
tests/motors/test_motors_bus.py:227
Functiontest_sync_read_by_none
(data_name, ids_values, dummy_motors)
tests/motors/test_motors_bus.py:264
Functiontest_sync_read_by_str
(data_name, id_, value, dummy_motors)
tests/motors/test_motors_bus.py:190
Functiontest_sync_write_by_single_value
(data_name, value, dummy_motors)
tests/motors/test_motors_bus.py:300
Functiontest_sync_write_by_value_dict
(data_name, ids_values, dummy_motors)
tests/motors/test_motors_bus.py:335
Methodtest_targets_increase_with_progress
Test that both sparse and dense targets increase as frame index progresses.
tests/policies/test_sarm_processor.py:333
Methodtest_task_and_subtask_coexist
Test that both task and subtask are present in returned items.
tests/datasets/test_subtask_dataset.py:92
Functiontest_task_comprehensive_string_cases
Test task processing with comprehensive string cases and edge cases.
tests/processor/test_batch_processor.py:800
Functiontest_task_index_already_batched
Test that already batched task_index tensors remain unchanged.
tests/processor/test_batch_processor.py:987
Functiontest_task_index_scalar_to_1d
Test that 0D task_index tensor gets unsqueezed to 1D.
tests/processor/test_batch_processor.py:911
Functiontest_task_indexing_and_validation
Test that tasks are properly indexed and retrievable.
tests/datasets/test_datasets.py:1090
Functiontest_task_list_of_strings
Test that lists of strings remain unchanged (already batched).
tests/processor/test_batch_processor.py:676
Functiontest_task_preserves_other_keys
Test that task processing preserves other keys in complementary_data.
tests/processor/test_batch_processor.py:862
Functiontest_task_processing_creates_new_transition
Test that the processor creates a new transition object with correctly processed task.
tests/processor/test_batch_processor.py:1163
Functiontest_task_string_to_list
Test that string tasks get wrapped in lists to add batch dimension.
tests/processor/test_batch_processor.py:634
Functiontest_task_string_validation
Test that only string and list of strings are valid task values.
tests/processor/test_batch_processor.py:653
Functiontest_task_with_observation_and_action
Test task processing together with observation and action processing.
tests/processor/test_batch_processor.py:775
Functiontest_tdmpc_processor_accelerate_scenario
Test TDMPC processor in simulated Accelerate scenario.
tests/processor/test_tdmpc_processor.py:169
Functiontest_tdmpc_processor_batch_data
Test TDMPC processor with batched data.
tests/processor/test_tdmpc_processor.py:344
Functiontest_tdmpc_processor_bfloat16_device_float32_normalizer
Test: DeviceProcessor(bfloat16) + NormalizerProcessor(float32) → output bfloat16 via automatic adaptation
tests/processor/test_tdmpc_processor.py:408
Functiontest_tdmpc_processor_cuda
Test TDMPC processor with CUDA device.
tests/processor/test_tdmpc_processor.py:131
Functiontest_tdmpc_processor_edge_cases
Test TDMPC processor with edge cases.
tests/processor/test_tdmpc_processor.py:375
Functiontest_tdmpc_processor_mixed_precision
Test TDMPC processor with mixed precision.
tests/processor/test_tdmpc_processor.py:292
Functiontest_tdmpc_processor_multi_gpu
Test TDMPC processor with multi-GPU setup.
tests/processor/test_tdmpc_processor.py:202
Functiontest_tdmpc_processor_normalization
Test that TDMPC processor correctly normalizes and unnormalizes data.
tests/processor/test_tdmpc_processor.py:94
Functiontest_tdmpc_processor_save_and_load
Test saving and loading TDMPC processor.
tests/processor/test_tdmpc_processor.py:257
Functiontest_tdmpc_processor_without_stats
Test TDMPC processor creation without dataset statistics.
tests/processor/test_tdmpc_processor.py:234
Functiontest_teleoperate
()
tests/test_control_robot.py:60
Functiontest_teleoperate_parses_bi_piperx_types
()
tests/scripts/test_bi_piper_config_parsing.py:9
Functiontest_tensor_action_input
(action_stats_mean_std)
tests/processor/test_normalize_processor.py:554
Functiontest_tensor_conversion
()
tests/processor/test_normalize_processor.py:51
Methodtest_tensor_input
Test with tensor input.
tests/policies/test_sarm_utils.py:495
Functiontest_time_action_chunk
Verify that `_time_action_chunk` assigns correct timestamps and timesteps.
tests/async_inference/test_policy_server.py:121
Functiontest_timed_action_getters
TimedAction stores & returns timestamp, action tensor and timestep.
tests/async_inference/test_helpers.py:105
Functiontest_timed_data_deserialization_data_getters
TimedAction / TimedObservation survive a round-trip through ``pickle``. The async-inference stack uses ``pickle.dumps`` to move these objects acr
tests/async_inference/test_helpers.py:127
Functiontest_timed_observation_getters
TimedObservation stores & returns timestamp, dict and timestep.
tests/async_inference/test_helpers.py:116
Functiontest_tmp_image_deletion
Verify temporary image directories are removed for image features after saving episode.
tests/datasets/test_datasets.py:355
Functiontest_tmp_mixed_deletion
Verify temporary image directories are removed appropriately when both image and video features are present.
tests/datasets/test_datasets.py:387
Functiontest_tmp_video_deletion
Verify temporary image directories are removed for video encoding when `batch_encoding_size == 1`.
tests/datasets/test_datasets.py:369
Functiontest_to_lerobot_dataset
(tmp_path)
tests/utils/test_replay_buffer.py:362
Functiontest_to_lerobot_dataset_with_empty_buffer
(replay_buffer)
tests/utils/test_replay_buffer.py:357
Functiontest_to_tensor_device_parameter
Test to_tensor with device parameter.
tests/processor/test_converters.py:183
Functiontest_to_tensor_dictionaries
Test to_tensor with nested dictionaries.
tests/processor/test_converters.py:122
Functiontest_to_tensor_dtype_parameter
Test to_tensor with different dtype parameters.
tests/processor/test_converters.py:161
Functiontest_to_tensor_empty_dict
Test to_tensor with empty dictionary.
tests/processor/test_converters.py:197
Functiontest_to_tensor_existing_tensors
Test to_tensor with existing PyTorch tensors.
tests/processor/test_converters.py:105
Functiontest_to_tensor_none_filtering
Test that None values are filtered out from dictionaries.
tests/processor/test_converters.py:150
Functiontest_to_tensor_numpy_arrays
Test to_tensor with various numpy arrays.
tests/processor/test_converters.py:32
Functiontest_to_tensor_numpy_scalars
Test to_tensor with numpy scalars (0-dimensional arrays).
tests/processor/test_converters.py:56
Functiontest_to_tensor_python_scalars
Test to_tensor with Python scalars.
tests/processor/test_converters.py:75
Functiontest_to_tensor_sequences
Test to_tensor with lists and tuples.
tests/processor/test_converters.py:90
Functiontest_to_tensor_unsupported_type
Test to_tensor with unsupported types raises TypeError.
tests/processor/test_converters.py:204
Functiontest_tokenization_parameters
Test that tokenization parameters are correctly passed to tokenizer.
tests/processor/test_tokenizer_processor.py:598
Functiontest_track_clones_tensors
Test that track clones tensors instead of storing references.
tests/policies/rtc/test_debug_tracker.py:291
Functiontest_track_creates_new_step
Test that track creates a new step when time doesn't exist.
tests/policies/rtc/test_debug_tracker.py:204
Functiontest_track_does_nothing_when_disabled
Test that track does nothing when tracker is disabled.
tests/policies/rtc/test_debug_tracker.py:266
Functiontest_track_time_rounding
Test that track rounds time to avoid floating point precision issues.
tests/policies/rtc/test_debug_tracker.py:253
Functiontest_track_updates_existing_step
Test that track updates an existing step at the same time.
tests/policies/rtc/test_debug_tracker.py:227
Functiontest_track_updates_metadata
Test that track updates metadata for existing steps.
tests/policies/rtc/test_debug_tracker.py:281
Functiontest_track_updates_only_non_none_fields
Test that update preserves existing values when None is passed.
tests/policies/rtc/test_debug_tracker.py:323
Functiontest_track_when_tracker_disabled
Test track() does nothing when tracker disabled.
tests/policies/rtc/test_modeling_rtc.py:114
Functiontest_track_when_tracker_enabled
Test track() forwards to tracker when enabled.
tests/policies/rtc/test_modeling_rtc.py:99
Functiontest_track_with_metadata
Test track stores custom metadata.
tests/policies/rtc/test_debug_tracker.py:272
Functiontest_track_with_none_values
Test track handles None values correctly.
tests/policies/rtc/test_debug_tracker.py:305
Functiontest_track_with_tensor_time
Test track handles tensor time values correctly.
tests/policies/rtc/test_debug_tracker.py:243
Functiontest_tracker_enforces_maxlen
Test that tracker enforces maxlen limit.
tests/policies/rtc/test_debug_tracker.py:341
Functiontest_tracker_handles_gpu_tensors
Test tracker correctly handles GPU tensors.
tests/policies/rtc/test_debug_tracker.py:466
Functiontest_tracker_initialization_enabled
Test tracker initialization when enabled.
tests/policies/rtc/test_debug_tracker.py:171
← previousnext →5,301–5,400 of 5,633, ranked by callers