Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMAP-ML/Thinking-with-Map
/ functions
Functions
4,735 in github.com/AMAP-ML/Thinking-with-Map
⨍
Functions
4,735
◇
Types & classes
687
↳
Endpoints
185
Method
test_process_validation_metrics_with_pred
Test process_validation_metrics with prediction data.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:305
Method
test_profiler_config_type_validation
Test that profiler field has correct type and validation.
verl/tests/workers/config/test_critic_config_on_cpu.py:182
Function
test_quick_task
Tests timeout handles a quick task correctly.
verl/tests/utils/test_timeout_decorator_cpu.py:97
Method
test_rapid_small_acquires
Test many rapid small acquisitions.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:253
Method
test_rate_limit_accuracy
Test rate limit accuracy over time.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:149
Method
test_rate_limiter
(self)
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:559
Method
test_rate_limiter
(self)
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:625
Function
test_record_and_check_directory_structure
(tmp_path)
verl/tests/utils/test_fs_on_cpu.py:21
Method
test_reduce_metrics_basic
Test that reduce_metrics correctly computes means.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:40
Method
test_reduce_metrics_empty
Test that reduce_metrics handles empty lists.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:51
Method
test_reduce_metrics_single_value
Test that reduce_metrics works with single values.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:60
Method
test_redundant_time
Test redundant_time parameter effect
verl/tests/utils/ckpt/test_esi_save_ckpt_on_cpu.py:59
Method
test_refill_mechanism
Test that tokens refill over time.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:40
Function
test_register_different_classes_same_name
Test that registering different classes with same name raises ValueError.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:69
Function
test_register_new_class
Test registering a new class with the decorator.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:58
Function
test_register_new_dispatch_mode
(reset_dispatch_registry)
verl/tests/single_controller/base/test_decorator.py:38
Method
test_register_new_function
Test registering a new function with a string name
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:52
Method
test_register_with_enum
Test registering with an enum value (assuming AdvantageEstimator exists)
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:62
Method
test_register_with_router_failure
Test router registration failure handling.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:342
Function
test_reorder
()
verl/tests/test_protocol_v2_on_cpu.py:280
Function
test_reorder
()
verl/tests/test_protocol_on_cpu.py:184
Function
test_repeat
()
verl/tests/test_protocol_v2_on_cpu.py:392
Function
test_repeat
()
verl/tests/test_protocol_on_cpu.py:370
Method
test_resource_cleanup_on_exception
Test resource cleanup when exceptions occur.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:892
Function
test_restore_existing_env_var
Test restoring an environment variable that already existed.
verl/tests/utils/test_temp_env_on_cpu.py:56
Function
test_reward_model_manager
()
verl/tests/experimental/reward/test_reward_model.py:70
Function
test_rl_collate_fn
()
verl/tests/utils/dataset/test_rl_collate_fn_on_cpu.py:17
Function
test_rl_dataset
()
verl/tests/utils/dataset/test_rl_dataset_on_cpu.py:29
Function
test_rl_dataset_with_max_samples
()
verl/tests/utils/dataset/test_rl_dataset_on_cpu.py:69
Function
test_rloo_and_vectorized_equivalence
(batch_size: int, seq_len: int, num_groups: int, seed: int)
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:230
Method
test_rollout_is_weights_computation
Test rollout correction weights and metrics computation.
verl/tests/trainer/ppo/test_rollout_corr_integration.py:96
Method
test_rollout_req_creation
(self, mock_rollout, search_data_proto)
verl/tests/workers/rollout/test_sglang_async_rollout_mcp_tools.py:300
Method
test_rollout_req_creation
Test request creation functionality
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:254
Method
test_rollout_req_creation
( self, mock_env, mock_engine, mock_sampling, search_rollout_config,
verl/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:218
Function
test_rollout_trace_on_untraced_class
Tests that the decorator works correctly when no backend is configured.
verl/tests/utils/test_rollout_trace_on_cpu.py:77
Function
test_rollout_trace_with_dummy_backend
Tests that the tracer is not called when the backend is 'dummy'.
verl/tests/utils/test_rollout_trace_on_cpu.py:121
Function
test_rollout_trace_with_exception
Tests that `finish` is called with the exception when one is raised.
verl/tests/utils/test_rollout_trace_on_cpu.py:102
Function
test_rollout_trace_with_real_mlflow_backend
Integration test with a real mlflow backend.
verl/tests/utils/test_rollout_trace_on_cpu.py:232
Function
test_rollout_trace_with_real_weave_backend
Integration test with a real weave backend.
verl/tests/utils/test_rollout_trace_on_cpu.py:211
Function
test_rollout_trace_with_tracer
Tests that the decorator calls the tracer's methods correctly.
verl/tests/utils/test_rollout_trace_on_cpu.py:83
Method
test_rotten_execution
(self)
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:592
Method
test_rpm_rate_limiting
Test request per minute (RPM) rate limiting.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:184
Function
test_rvdz
()
verl/tests/single_controller/test_rvdz.py:37
Function
test_sample_level_repeat
()
verl/tests/test_protocol_v2_on_cpu.py:587
Function
test_sample_level_repeat
()
verl/tests/test_protocol_on_cpu.py:617
Method
test_sampling_params_functionality
Test sampling_params functionality
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:447
Method
test_sanitize_key_and_warning
(self)
verl/tests/utils/test_mlflow_key_sanitization.py:22
Function
test_select
()
verl/tests/test_protocol_v2_on_cpu.py:563
Function
test_seqlen_balancing
()
verl/tests/utils/test_seqlen_balancing.py:30
Function
test_seqlen_balancing_distributed_params
(tmp_path)
verl/tests/utils/test_seqlen_balancing.py:181
Method
test_sequential_acquires
Test sequential acquire operations.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:166
Function
test_serialize_deserialize_single_tensor
Test serialization and deserialization of a single tensor
verl/tests/test_protocol_on_cpu.py:993
Function
test_serialize_deserialize_tensordict_mixed_types
Test serialization and deserialization of TensorDict with mixed tensor types
verl/tests/test_protocol_on_cpu.py:1092
Function
test_serialize_deserialize_tensordict_nested_tensors
Test serialization and deserialization of TensorDict with nested tensors
verl/tests/test_protocol_on_cpu.py:1039
Function
test_serialize_deserialize_tensordict_regular_tensors
Test serialization and deserialization of TensorDict with regular tensors
verl/tests/test_protocol_on_cpu.py:1010
Function
test_serialize_deserialize_tensordict_with_device
Test serialization and deserialization of TensorDict with device information
verl/tests/test_protocol_on_cpu.py:1177
Function
test_set_new_env_var
Test setting a new environment variable that didn't exist before.
verl/tests/utils/test_temp_env_on_cpu.py:42
Function
test_sft_cot_dataset
()
verl/tests/utils/dataset/test_sft_dataset_on_cpu.py:27
Function
test_sft_dataset
()
verl/tests/utils/dataset/test_sft_dataset_on_cpu.py:52
Function
test_sft_dataset_with_max_samples
()
verl/tests/utils/dataset/test_sft_dataset_on_cpu.py:77
Function
test_sglang_spmd
()
verl/tests/workers/rollout/test_sglang_spmd.py:44
Method
test_shutdown
Test shutdown method.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:606
Method
test_shutdown_with_errors
Test shutdown method with errors.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:622
Function
test_signal_in_thread_does_not_timeout
Tests that signal-based timeout does NOT work reliably in a child thread. The TimeoutError from the signal handler is not expected to be rais
verl/tests/utils/test_timeout_decorator_cpu.py:155
Function
test_signal_quick_task_main_process
Tests signal timeout handles a quick task correctly in the main process.
verl/tests/utils/test_timeout_decorator_cpu.py:127
Function
test_signal_slow_task_main_process_timeout
Tests signal timeout correctly raises TimeoutError for a slow task in the main process.
verl/tests/utils/test_timeout_decorator_cpu.py:139
Function
test_sim_env_creation_and_step
(simulator_type)
verl/tests/experimental/vla/test_sim_envs.py:25
Function
test_single_controller_import
()
verl/tests/special_sanity/test_import.py:22
Method
test_single_token_acquire
Test default acquire of 1 token.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:195
Function
test_single_turn
(init_config)
verl/tests/experimental/agent_loop/test_basic_agent_loop.py:67
Function
test_slow_task_timeout
Tests timeout correctly raises TimeoutError for a slow task.
verl/tests/utils/test_timeout_decorator_cpu.py:104
Function
test_split_resource_pool_with_split_size
()
verl/tests/single_controller/test_split_resource_pool.py:49
Function
test_split_resource_pool_with_split_size_list
()
verl/tests/single_controller/test_split_resource_pool.py:79
Function
test_split_resource_pool_with_split_size_list_cross_nodes
()
verl/tests/single_controller/test_split_resource_pool.py:115
Function
test_split_resource_pool_with_split_twice
()
verl/tests/single_controller/test_split_resource_pool.py:152
Function
test_standalone_rollout
Test standalone rollout single node and multi nodes.
verl/tests/experimental/agent_loop/test_standalone_rollout.py:46
Method
test_start_discrete_mode_does_not_increase_count
(self, mock_get_profiler)
verl/tests/utils/test_special_mstx_profile.py:81
Method
test_start_interaction_with_instance_id
Test start_interaction with provided instance_id.
verl/tests/interactions/test_gsm8k_interaction.py:39
Method
test_start_interaction_without_ground_truth
Test start_interaction without ground_truth parameter.
verl/tests/interactions/test_gsm8k_interaction.py:65
Method
test_start_interaction_without_instance_id
Test start_interaction without provided instance_id (auto-generated).
verl/tests/interactions/test_gsm8k_interaction.py:53
Method
test_start_stop_cycle
(self, mock_get_profiler)
verl/tests/utils/test_special_mstx_profile.py:104
Method
test_start_stop_profiling
(self)
verl/tests/utils/test_nvtx_profile.py:94
Method
test_start_when_enabled_and_this_rank
(self, mock_get_profiler)
verl/tests/utils/test_special_mstx_profile.py:65
Method
test_start_when_not_this_rank
(self, mock_get_profiler)
verl/tests/utils/test_special_mstx_profile.py:73
Method
test_sync_reward_function
Test that synchronous reward functions work correctly.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:358
Function
test_tensor_dict_constructor
()
verl/tests/test_protocol_v2_on_cpu.py:67
Function
test_tensor_dict_constructor
()
verl/tests/test_protocol_on_cpu.py:141
Function
test_tensor_dict_make_iterator
()
verl/tests/test_protocol_v2_on_cpu.py:248
Function
test_tensor_dict_make_iterator
()
verl/tests/test_protocol_on_cpu.py:155
Function
test_tensordict_eq
()
verl/tests/test_protocol_v2_on_cpu.py:185
Function
test_tensordict_with_images
()
verl/tests/test_protocol_v2_on_cpu.py:131
Function
test_tensordict_with_packing
()
verl/tests/test_protocol_v2_on_cpu.py:159
Method
test_thread_safety_with_lock
Test that lock prevents race conditions.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:217
Method
test_timeout_edge_cases
Test various timeout scenarios.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:690
Method
test_timeout_handling
Test timeout handling for slow API.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:294
Function
test_to_tensordict
()
verl/tests/test_protocol_on_cpu.py:754
Function
test_to_tensordict_agent_loop_scenario
Test the exact scenario from agent loop: DataProto with tool rewards, acc, etc. This test reproduces the exact error from the agent loop where ne
verl/tests/test_protocol_on_cpu.py:926
Function
test_to_tensordict_and_back_with_nested_data
Test round-trip conversion: DataProto → TensorDict → DataProto with nested structures.
verl/tests/test_protocol_on_cpu.py:862
Function
test_to_tensordict_with_complex_nested_structures
Test converting DataProto with complex nested structures (lists of lists of dicts).
verl/tests/test_protocol_on_cpu.py:834
Function
test_to_tensordict_with_nested_dicts
Test converting DataProto with lists of dicts to TensorDict.
verl/tests/test_protocol_on_cpu.py:810
← previous
next →
4,501–4,600 of 4,735, ranked by callers