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_dump
(self, mock_rollout_wg, capsys)
verl/tests/utils/test_rollout_skip_on_cpu.py:110
Method
test_duplicate_interaction_names
Test handling of duplicate interaction names.
verl/tests/interactions/test_interaction_registry.py:162
Method
test_duplicate_registration_different_function
Test that registering different functions with same name raises ValueError
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:83
Method
test_duplicate_registration_same_function
Test that registering the same function twice doesn't raise an error
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:76
Function
test_dynamic_batch
()
verl/tests/utils/test_seqlen_balancing.py:49
Method
test_edge_case_empty_messages
Test edge case with empty messages list.
verl/tests/interactions/test_gsm8k_interaction.py:349
Method
test_edge_case_message_without_content
Test edge case with message without content field.
verl/tests/interactions/test_gsm8k_interaction.py:369
Method
test_empty_and_none_parameters
Test handling of empty and None parameters.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:643
Function
test_empty_registry
Test behavior when registry is empty.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:50
Function
test_empty_string_value
Test setting environment variable to empty string.
verl/tests/utils/test_temp_env_on_cpu.py:118
Function
test_env_var_restored_on_exception
Test that environment variables are restored even when exceptions occur.
verl/tests/utils/test_temp_env_on_cpu.py:69
Method
test_error_handling
Test error handling for failing API.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:318
Method
test_error_on_missing_interaction
Test that error is raised when requested interaction is not found.
verl/tests/workers/rollout/test_sglang_multi_interaction.py:323
Method
test_error_scenarios
Test various error scenarios.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:959
Method
test_extra_info_handling
Test that extra_info is properly passed to reward function.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:493
Method
test_extreme_configuration_values
Test extreme configuration values.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:702
Method
test_fallback_to_default_interaction
Test fallback to default interaction when name is not specified.
verl/tests/workers/rollout/test_sglang_multi_interaction.py:244
Method
test_finalize_interaction
Test finalize_interaction method.
verl/tests/interactions/test_gsm8k_interaction.py:219
Method
test_finalize_interaction_with_kwargs
Test finalize_interaction method with additional kwargs.
verl/tests/interactions/test_gsm8k_interaction.py:234
Method
test_finalize_nonexistent_interaction
Test finalize_interaction with non-existent instance_id.
verl/tests/interactions/test_gsm8k_interaction.py:249
Function
test_flops_counter
(config_type: str)
verl/tests/utils/test_flops_counter.py:234
Method
test_flush_cache
Test flush_cache method.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:555
Method
test_flush_cache_max_attempts
Test flush cache max retries exceeded.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:860
Method
test_flush_cache_non_master
Test flush_cache for non-master node.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:574
Method
test_flush_cache_recovery
Test flush cache recovery from failures.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:843
Method
test_fn
()
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:56
Method
test_fn1
()
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:87
Method
test_fn2
()
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:93
Function
test_fn_name_success_single_case
Tests successful execution for a single test case with fn_name. from livecodebench/code_generation_lite test 510
verl/tests/utils/reward_score/reward_score/test_sandbox_fusion_on_cpu.py:633
Method
test_fractional_tokens
Test acquiring fractional tokens.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:90
Function
test_from_tensordict
()
verl/tests/test_protocol_on_cpu.py:768
Method
test_frozen_config
Test that modifying frozen keys in ProfilerConfig raises exceptions.
verl/tests/utils/test_nvtx_profile.py:52
Method
test_frozen_fields_immutability
Test that frozen fields raise exceptions when modified after creation.
verl/tests/workers/config/test_critic_config_on_cpu.py:138
Method
test_frozen_fields_modification_raises_exception
Test that modifying frozen fields raises an exception.
verl/tests/workers/config/test_actor_config_on_cpu.py:147
Method
test_fsdp_actor_config_from_yaml
Test creating FSDPActorConfig from YAML file.
verl/tests/workers/config/test_actor_config_on_cpu.py:78
Method
test_fsdp_actor_config_validation_exceptions
Test that FSDPActorConfig.validate() raises appropriate validation exceptions.
verl/tests/workers/config/test_actor_config_on_cpu.py:217
Method
test_fsdp_critic_config_instantiation_from_yaml
Test that FSDPCriticConfig can be instantiated from dp_critic.yaml.
verl/tests/workers/config/test_critic_config_on_cpu.py:73
Method
test_fsdp_sequence_parallelism_validation
Test FSDP sequence parallelism validation in FSDPCriticConfig.__post_init__.
verl/tests/workers/config/test_critic_config_on_cpu.py:278
Method
test_full_interaction_workflow_correct
Test complete interaction workflow with correct answer.
verl/tests/interactions/test_gsm8k_interaction.py:258
Method
test_full_interaction_workflow_incorrect
Test complete interaction workflow with incorrect answer.
verl/tests/interactions/test_gsm8k_interaction.py:281
Method
test_func
(self, *args, **kwargs)
verl/tests/utils/test_nvtx_profile.py:126
Method
test_func
(self, *args, **kwargs)
verl/tests/utils/test_special_mstx_profile.py:155
Method
test_generate
Test generate method.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:531
Method
test_generate_response_correct_answer_with_prefix
Test generate_response with correct answer already having #### prefix.
verl/tests/interactions/test_gsm8k_interaction.py:75
Method
test_generate_response_correct_answer_without_prefix
Test generate_response with correct answer missing #### prefix.
verl/tests/interactions/test_gsm8k_interaction.py:97
Method
test_generate_response_incorrect_answer
Test generate_response with incorrect answer.
verl/tests/interactions/test_gsm8k_interaction.py:118
Method
test_generate_response_multiple_messages
Test generate_response with multiple messages (should use last assistant message).
verl/tests/interactions/test_gsm8k_interaction.py:139
Method
test_generate_response_no_assistant_message
Test generate_response with no assistant messages.
verl/tests/interactions/test_gsm8k_interaction.py:164
Method
test_generate_with_wrap
Test that generate_sequences works without wrapping
verl/tests/utils/test_rollout_skip_on_cpu.py:125
Method
test_generate_without_wrap
Test that generate_sequences works without wrapping
verl/tests/utils/test_rollout_skip_on_cpu.py:95
Method
test_generation_control_methods
Test generation control methods.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:599
Function
test_get
()
verl/tests/test_protocol_v2_on_cpu.py:362
Method
test_get_adv_estimator_fn_case_sensitive
Test that name lookup is case-sensitive.
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:137
Method
test_get_adv_estimator_fn_invalid_name
Test that invalid names raise ValueError.
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:131
Method
test_get_adv_estimator_fn_valid_names
Test that valid names return the correct function from registry.
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:121
Function
test_get_dynamic_pipeline_shards
(layer_num, pp_size, gt)
verl/tests/utils/megatron/test_pipeline_parallel.py:63
Function
test_get_existing_manager
Test getting an existing reward manager class.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:29
Method
test_get_interaction_class
Test getting interaction class by name.
verl/tests/interactions/test_interaction_registry.py:31
Method
test_get_method_backward_compatibility
Test the get method for backward compatibility.
verl/tests/trainer/config/test_algo_config_on_cpu.py:105
Function
test_get_named_tensor_buckets
(named_tensors, bucket_size_mb, gt_groups: list[list[str]])
verl/tests/workers/rollout/test_sglang_rollout_sharding_manager.py:50
Function
test_get_nonexistent_manager
Test getting a non-existent reward manager raises ValueError.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:35
Function
test_get_set_dispatch_collect_cpu
()
verl/tests/single_controller/test_get_set_dispatch_collect_cpu.py:21
Function
test_get_tensordict_agent_loop_scenario
Test the complete agent loop scenario with all nested types. This simulates the exact use case from agent loops with: - turn_scores: lists of
verl/tests/test_protocol_v2_on_cpu.py:842
Function
test_get_tensordict_with_complex_nested_structures
Test get_tensordict with lists of lists of dicts.
verl/tests/test_protocol_v2_on_cpu.py:827
Function
test_get_tensordict_with_nested_dicts
Test get_tensordict automatically handles lists of dicts.
verl/tests/test_protocol_v2_on_cpu.py:815
Function
test_get_tensordict_with_nested_lists
Test get_tensordict automatically handles nested lists.
verl/tests/test_protocol_v2_on_cpu.py:800
Function
test_get_trajectory_info
Tests the get_trajectory_info method.
verl/tests/experimental/agent_loop/test_basic_agent_loop.py:432
Function
test_getitem_invalid_key_type
Test __getitem__ with invalid key type (exception path 2).
verl/tests/test_base_config_on_cpu.py:39
Function
test_getitem_nonexistent_attribute
Test __getitem__ with non-existent attribute (exception path 1).
verl/tests/test_base_config_on_cpu.py:33
Function
test_getitem_success
Test __getitem__ with existing attribute (happy path).
verl/tests/test_base_config_on_cpu.py:28
Function
test_gpt_oss_tool_parser
()
verl/tests/experimental/agent_loop/test_gpt_oss_tool_parser.py:22
Function
test_group_mean_std_empty
()
verl/tests/utils/test_groupwise.py:68
Function
test_group_mean_std_simple
()
verl/tests/utils/test_groupwise.py:51
Method
test_grpo_advantage_estimator_with_cfg
Test integration with GRPO advantage estimator.
verl/tests/trainer/config/test_algo_config_on_cpu.py:182
Function
test_grpo_and_vectorized_equivalence
(batch_size: int, seq_len: int, num_groups: int, seed: int)
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:270
Function
test_hf_casual_fwd_bwd
(test_config)
verl/tests/models/test_transformers_ulysses.py:94
Method
test_high_rate_limit
Test with high rate limit (simulating high-throughput scenarios).
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:123
Method
test_high_throughput
Test high throughput with many concurrent requests.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:434
Function
test_hybrid_rollout_with_ep
Test hybrid rollout with expert parallelism, DP=2, TP=4, EP=8.
verl/tests/experimental/agent_loop/test_standalone_rollout.py:98
Function
test_image_rl_data
()
verl/tests/utils/dataset/test_rl_dataset_on_cpu.py:88
Function
test_import
()
verl/tests/special_sanity/test_import.py:16
Function
test_in_thread_timeout
()
verl/tests/utils/test_timeout_decorator_cpu.py:200
Function
test_index_select_tensor_dict
()
verl/tests/test_protocol_v2_on_cpu.py:92
Method
test_inheritance_from_base_interaction
Test that Gsm8kInteraction properly inherits from BaseInteraction.
verl/tests/interactions/test_gsm8k_interaction.py:390
Method
test_init
Test Gsm8kInteraction initialization.
verl/tests/interactions/test_gsm8k_interaction.py:32
Method
test_init
Test async adapter initialization.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:724
Method
test_init_model
Test CriticWorker.init_model() method
verl/tests/workers/critic/test_special_dp_critic.py:149
Method
test_init_with_all_ranks_true
(self)
verl/tests/utils/test_special_mstx_profile.py:39
Method
test_init_with_default_config
(self)
verl/tests/utils/test_special_mstx_profile.py:26
Method
test_init_with_disabled_config
(self)
verl/tests/utils/test_special_mstx_profile.py:32
Method
test_init_with_rank_not_in_ranks
(self)
verl/tests/utils/test_special_mstx_profile.py:51
Method
test_init_with_ranks_list
(self)
verl/tests/utils/test_special_mstx_profile.py:45
Method
test_init_with_router_registration
Test initialization with router registration.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:325
Method
test_init_without_router
Test initialization without router registration.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:334
Method
test_initialization
(self)
verl/tests/utils/test_nvtx_profile.py:90
Method
test_initialization
Test that RolloutSkip initializes correctly
verl/tests/utils/test_rollout_skip_on_cpu.py:75
Method
test_initialize_empty_config
Test initializing from empty config.
verl/tests/interactions/test_interaction_registry.py:132
Method
test_initialize_interaction_without_explicit_name
Test that interaction name is derived from class name when not specified.
verl/tests/interactions/test_interaction_registry.py:111
Method
test_initialize_multiple_interactions
Test that SGLangRollout can initialize multiple interactions.
verl/tests/workers/rollout/test_sglang_multi_interaction.py:118
Method
test_initialize_multiple_interactions_from_config
Test initializing multiple interactions from config.
verl/tests/interactions/test_interaction_registry.py:69
← previous
next →
4,301–4,400 of 4,735, ranked by callers