MCPcopy Create free account

hub / github.com/AMAP-ML/Thinking-with-Map / functions

Functions4,735 in github.com/AMAP-ML/Thinking-with-Map

Methodtest_dump
(self, mock_rollout_wg, capsys)
verl/tests/utils/test_rollout_skip_on_cpu.py:110
Methodtest_duplicate_interaction_names
Test handling of duplicate interaction names.
verl/tests/interactions/test_interaction_registry.py:162
Methodtest_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
Methodtest_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
Functiontest_dynamic_batch
()
verl/tests/utils/test_seqlen_balancing.py:49
Methodtest_edge_case_empty_messages
Test edge case with empty messages list.
verl/tests/interactions/test_gsm8k_interaction.py:349
Methodtest_edge_case_message_without_content
Test edge case with message without content field.
verl/tests/interactions/test_gsm8k_interaction.py:369
Methodtest_empty_and_none_parameters
Test handling of empty and None parameters.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:643
Functiontest_empty_registry
Test behavior when registry is empty.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:50
Functiontest_empty_string_value
Test setting environment variable to empty string.
verl/tests/utils/test_temp_env_on_cpu.py:118
Functiontest_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
Methodtest_error_handling
Test error handling for failing API.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:318
Methodtest_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
Methodtest_error_scenarios
Test various error scenarios.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:959
Methodtest_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
Methodtest_extreme_configuration_values
Test extreme configuration values.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:702
Methodtest_fallback_to_default_interaction
Test fallback to default interaction when name is not specified.
verl/tests/workers/rollout/test_sglang_multi_interaction.py:244
Methodtest_finalize_interaction
Test finalize_interaction method.
verl/tests/interactions/test_gsm8k_interaction.py:219
Methodtest_finalize_interaction_with_kwargs
Test finalize_interaction method with additional kwargs.
verl/tests/interactions/test_gsm8k_interaction.py:234
Methodtest_finalize_nonexistent_interaction
Test finalize_interaction with non-existent instance_id.
verl/tests/interactions/test_gsm8k_interaction.py:249
Functiontest_flops_counter
(config_type: str)
verl/tests/utils/test_flops_counter.py:234
Methodtest_flush_cache
Test flush_cache method.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:555
Methodtest_flush_cache_max_attempts
Test flush cache max retries exceeded.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:860
Methodtest_flush_cache_non_master
Test flush_cache for non-master node.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:574
Methodtest_flush_cache_recovery
Test flush cache recovery from failures.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:843
Methodtest_fn
()
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:56
Methodtest_fn1
()
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:87
Methodtest_fn2
()
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:93
Functiontest_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
Methodtest_fractional_tokens
Test acquiring fractional tokens.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:90
Functiontest_from_tensordict
()
verl/tests/test_protocol_on_cpu.py:768
Methodtest_frozen_config
Test that modifying frozen keys in ProfilerConfig raises exceptions.
verl/tests/utils/test_nvtx_profile.py:52
Methodtest_frozen_fields_immutability
Test that frozen fields raise exceptions when modified after creation.
verl/tests/workers/config/test_critic_config_on_cpu.py:138
Methodtest_frozen_fields_modification_raises_exception
Test that modifying frozen fields raises an exception.
verl/tests/workers/config/test_actor_config_on_cpu.py:147
Methodtest_fsdp_actor_config_from_yaml
Test creating FSDPActorConfig from YAML file.
verl/tests/workers/config/test_actor_config_on_cpu.py:78
Methodtest_fsdp_actor_config_validation_exceptions
Test that FSDPActorConfig.validate() raises appropriate validation exceptions.
verl/tests/workers/config/test_actor_config_on_cpu.py:217
Methodtest_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
Methodtest_fsdp_sequence_parallelism_validation
Test FSDP sequence parallelism validation in FSDPCriticConfig.__post_init__.
verl/tests/workers/config/test_critic_config_on_cpu.py:278
Methodtest_full_interaction_workflow_correct
Test complete interaction workflow with correct answer.
verl/tests/interactions/test_gsm8k_interaction.py:258
Methodtest_full_interaction_workflow_incorrect
Test complete interaction workflow with incorrect answer.
verl/tests/interactions/test_gsm8k_interaction.py:281
Methodtest_func
(self, *args, **kwargs)
verl/tests/utils/test_nvtx_profile.py:126
Methodtest_func
(self, *args, **kwargs)
verl/tests/utils/test_special_mstx_profile.py:155
Methodtest_generate
Test generate method.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:531
Methodtest_generate_response_correct_answer_with_prefix
Test generate_response with correct answer already having #### prefix.
verl/tests/interactions/test_gsm8k_interaction.py:75
Methodtest_generate_response_correct_answer_without_prefix
Test generate_response with correct answer missing #### prefix.
verl/tests/interactions/test_gsm8k_interaction.py:97
Methodtest_generate_response_incorrect_answer
Test generate_response with incorrect answer.
verl/tests/interactions/test_gsm8k_interaction.py:118
Methodtest_generate_response_multiple_messages
Test generate_response with multiple messages (should use last assistant message).
verl/tests/interactions/test_gsm8k_interaction.py:139
Methodtest_generate_response_no_assistant_message
Test generate_response with no assistant messages.
verl/tests/interactions/test_gsm8k_interaction.py:164
Methodtest_generate_with_wrap
Test that generate_sequences works without wrapping
verl/tests/utils/test_rollout_skip_on_cpu.py:125
Methodtest_generate_without_wrap
Test that generate_sequences works without wrapping
verl/tests/utils/test_rollout_skip_on_cpu.py:95
Methodtest_generation_control_methods
Test generation control methods.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:599
Functiontest_get
()
verl/tests/test_protocol_v2_on_cpu.py:362
Methodtest_get_adv_estimator_fn_case_sensitive
Test that name lookup is case-sensitive.
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:137
Methodtest_get_adv_estimator_fn_invalid_name
Test that invalid names raise ValueError.
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:131
Methodtest_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
Functiontest_get_dynamic_pipeline_shards
(layer_num, pp_size, gt)
verl/tests/utils/megatron/test_pipeline_parallel.py:63
Functiontest_get_existing_manager
Test getting an existing reward manager class.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:29
Methodtest_get_interaction_class
Test getting interaction class by name.
verl/tests/interactions/test_interaction_registry.py:31
Methodtest_get_method_backward_compatibility
Test the get method for backward compatibility.
verl/tests/trainer/config/test_algo_config_on_cpu.py:105
Functiontest_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
Functiontest_get_nonexistent_manager
Test getting a non-existent reward manager raises ValueError.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:35
Functiontest_get_set_dispatch_collect_cpu
()
verl/tests/single_controller/test_get_set_dispatch_collect_cpu.py:21
Functiontest_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
Functiontest_get_tensordict_with_complex_nested_structures
Test get_tensordict with lists of lists of dicts.
verl/tests/test_protocol_v2_on_cpu.py:827
Functiontest_get_tensordict_with_nested_dicts
Test get_tensordict automatically handles lists of dicts.
verl/tests/test_protocol_v2_on_cpu.py:815
Functiontest_get_tensordict_with_nested_lists
Test get_tensordict automatically handles nested lists.
verl/tests/test_protocol_v2_on_cpu.py:800
Functiontest_get_trajectory_info
Tests the get_trajectory_info method.
verl/tests/experimental/agent_loop/test_basic_agent_loop.py:432
Functiontest_getitem_invalid_key_type
Test __getitem__ with invalid key type (exception path 2).
verl/tests/test_base_config_on_cpu.py:39
Functiontest_getitem_nonexistent_attribute
Test __getitem__ with non-existent attribute (exception path 1).
verl/tests/test_base_config_on_cpu.py:33
Functiontest_getitem_success
Test __getitem__ with existing attribute (happy path).
verl/tests/test_base_config_on_cpu.py:28
Functiontest_gpt_oss_tool_parser
()
verl/tests/experimental/agent_loop/test_gpt_oss_tool_parser.py:22
Functiontest_group_mean_std_empty
()
verl/tests/utils/test_groupwise.py:68
Functiontest_group_mean_std_simple
()
verl/tests/utils/test_groupwise.py:51
Methodtest_grpo_advantage_estimator_with_cfg
Test integration with GRPO advantage estimator.
verl/tests/trainer/config/test_algo_config_on_cpu.py:182
Functiontest_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
Functiontest_hf_casual_fwd_bwd
(test_config)
verl/tests/models/test_transformers_ulysses.py:94
Methodtest_high_rate_limit
Test with high rate limit (simulating high-throughput scenarios).
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:123
Methodtest_high_throughput
Test high throughput with many concurrent requests.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:434
Functiontest_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
Functiontest_image_rl_data
()
verl/tests/utils/dataset/test_rl_dataset_on_cpu.py:88
Functiontest_import
()
verl/tests/special_sanity/test_import.py:16
Functiontest_in_thread_timeout
()
verl/tests/utils/test_timeout_decorator_cpu.py:200
Functiontest_index_select_tensor_dict
()
verl/tests/test_protocol_v2_on_cpu.py:92
Methodtest_inheritance_from_base_interaction
Test that Gsm8kInteraction properly inherits from BaseInteraction.
verl/tests/interactions/test_gsm8k_interaction.py:390
Methodtest_init
Test Gsm8kInteraction initialization.
verl/tests/interactions/test_gsm8k_interaction.py:32
Methodtest_init
Test async adapter initialization.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:724
Methodtest_init_model
Test CriticWorker.init_model() method
verl/tests/workers/critic/test_special_dp_critic.py:149
Methodtest_init_with_all_ranks_true
(self)
verl/tests/utils/test_special_mstx_profile.py:39
Methodtest_init_with_default_config
(self)
verl/tests/utils/test_special_mstx_profile.py:26
Methodtest_init_with_disabled_config
(self)
verl/tests/utils/test_special_mstx_profile.py:32
Methodtest_init_with_rank_not_in_ranks
(self)
verl/tests/utils/test_special_mstx_profile.py:51
Methodtest_init_with_ranks_list
(self)
verl/tests/utils/test_special_mstx_profile.py:45
Methodtest_init_with_router_registration
Test initialization with router registration.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:325
Methodtest_init_without_router
Test initialization without router registration.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:334
Methodtest_initialization
(self)
verl/tests/utils/test_nvtx_profile.py:90
Methodtest_initialization
Test that RolloutSkip initializes correctly
verl/tests/utils/test_rollout_skip_on_cpu.py:75
Methodtest_initialize_empty_config
Test initializing from empty config.
verl/tests/interactions/test_interaction_registry.py:132
Methodtest_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
Methodtest_initialize_multiple_interactions
Test that SGLangRollout can initialize multiple interactions.
verl/tests/workers/rollout/test_sglang_multi_interaction.py:118
Methodtest_initialize_multiple_interactions_from_config
Test initializing multiple interactions from config.
verl/tests/interactions/test_interaction_registry.py:69
← previousnext →4,301–4,400 of 4,735, ranked by callers