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
Function
test_assign_non_tensor_stack_with_complex_nested
Test assign_non_tensor_stack with lists of lists of dicts.
verl/tests/test_protocol_v2_on_cpu.py:735
Function
test_assign_non_tensor_stack_with_nested_dicts
Test assign_non_tensor_stack with lists of dicts.
verl/tests/test_protocol_v2_on_cpu.py:720
Function
test_assign_non_tensor_stack_with_nested_lists
Test assign_non_tensor_stack with lists of lists.
verl/tests/test_protocol_v2_on_cpu.py:705
Function
test_assign_non_tensor_with_auto_detection
Test assign_non_tensor automatically detects and handles nested structures.
verl/tests/test_protocol_v2_on_cpu.py:777
Method
test_async_generate
Test async generate method.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:802
Method
test_async_memory_management
Test async memory management methods.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:819
Method
test_attn_implementation_passed_to_autoconfig
Test that attn_implementation is correctly passed to AutoConfig.from_pretrained.
verl/tests/workers/test_fsdp_attn_implementation.py:71
Method
test_attn_implementation_passed_to_model
Test that attn_implementation is correctly passed to model.from_pretrained.
verl/tests/workers/test_fsdp_attn_implementation.py:109
Method
test_auto_name_generation_edge_cases
Test automatic name generation for various class name patterns.
verl/tests/interactions/test_interaction_registry.py:185
Method
test_aws_expiration_not_reached
Test AWS expiration timestamp with sufficient remaining time
verl/tests/utils/ckpt/test_esi_save_ckpt_on_cpu.py:52
Method
test_backward_compatibility_no_interaction_config
Test backward compatibility when no interaction config is provided.
verl/tests/workers/rollout/test_sglang_multi_interaction.py:366
Method
test_basic_acquire
Test basic token acquisition.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:27
Method
test_basic_multi_process_init
(self)
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:534
Method
test_basic_reward_computation
Test basic reward computation without rate limiting.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:164
Method
test_batch_size_fields_modifiable
Test that batch size fields can be modified after creation.
verl/tests/workers/config/test_critic_config_on_cpu.py:161
Method
test_bootstrap_metric_basic
Test bootstrap_metric with simple data and functions.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:216
Method
test_bootstrap_metric_empty
Test bootstrap_metric with empty data.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:240
Method
test_both_bounding_modes
Test both truncate and mask modes.
verl/tests/trainer/ppo/test_rollout_corr_integration.py:147
Method
test_calc_maj_val_basic
Test calc_maj_val with simple data.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:249
Method
test_calc_maj_val_tie
Test calc_maj_val with tied votes.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:262
Method
test_calculate_debug_metrics
(self)
verl/tests/utils/debug/test_metrics.py:23
Method
test_calculate_score_direct_call
Test calculate_score method directly.
verl/tests/interactions/test_gsm8k_interaction.py:183
Method
test_calculate_score_with_kwargs
Test calculate_score method with additional kwargs.
verl/tests/interactions/test_gsm8k_interaction.py:201
Function
test_case_sensitivity
Test that manager names are case-sensitive.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:42
Function
test_check_correctness
()
verl/tests/utils/reward_score/test_sandbox_on_cpu.py:176
Function
test_chunk_concat
()
verl/tests/test_protocol_v2_on_cpu.py:293
Function
test_chunk_concat
()
verl/tests/test_protocol_on_cpu.py:195
Method
test_class_initialization_once
Test that class initialization only happens once.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:478
Function
test_colocated_workers
()
verl/tests/single_controller/test_colocated_workers.py:51
Function
test_colocated_workers_fused
()
verl/tests/single_controller/test_colocated_workers_fused.py:51
Method
test_combined_rate_limits
Test all three rate limiting layers together.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:375
Method
test_command_with_override
Test that the command runs without error when overriding config values.
verl/tests/utils/test_config_on_cpu.py:77
Method
test_complex_data_structures
Test handling of complex data structures.
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:922
Method
test_compute_data_metrics_with_critic
Test compute_data_metrics with critic enabled.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:98
Method
test_compute_data_metrics_without_critic
Test compute_data_metrics with critic disabled.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:116
Method
test_compute_log_prob
Test compute_log_prob method
verl/tests/workers/actor/test_special_dp_actor.py:164
Method
test_compute_log_prob_without_entropy
Test compute_log_prob method without entropy calculation
verl/tests/workers/actor/test_special_dp_actor.py:182
Method
test_compute_throughout_metrics
Test compute_throughout_metrics with various timing data.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:192
Method
test_compute_timing_metrics
Test compute_timing_metrics with various timing data.
verl/tests/trainer/ppo/test_metric_utils_on_cpu.py:155
Method
test_compute_values
Test CriticWorker.compute_values() method
verl/tests/workers/critic/test_special_dp_critic.py:159
Function
test_concat_conflicting_non_metric_keys
Test that concat() raises an assertion error when non-metric keys have conflicting values. This ensures data integrity by catching cases where wo
verl/tests/test_protocol_on_cpu.py:339
Function
test_concat_first_worker_missing_metrics
Test that metrics from other workers are preserved even when first worker has no metrics. This is a critical edge case - the old buggy implementa
verl/tests/test_protocol_on_cpu.py:272
Function
test_concat_merge_different_non_metric_keys
Test that concat() merges non-metric meta_info keys from all workers. When different workers have different non-metric keys, all keys should be p
verl/tests/test_protocol_on_cpu.py:315
Function
test_concat_metrics_from_multiple_workers
Test that concat() properly merges metrics from all workers in distributed training.
verl/tests/test_protocol_on_cpu.py:219
Function
test_concat_nested_tensor
()
verl/tests/test_protocol_v2_on_cpu.py:656
Function
test_concat_non_list_metrics
Test that concat() handles non-list metrics (single dict) correctly. In some cases, metrics might be a single dict instead of a list. The imp
verl/tests/test_protocol_on_cpu.py:295
Function
test_concat_tensordict
()
verl/tests/test_protocol_v2_on_cpu.py:674
Function
test_concat_with_empty_and_non_list_meta_info
Test concat() handles edge cases: empty meta_info, non-list values, and None.
verl/tests/test_protocol_on_cpu.py:249
Method
test_concurrency_limiting
Test concurrent request limiting.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:259
Method
test_concurrent_acquires
Test multiple concurrent acquire operations.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:102
Method
test_config_dict_interface
Test that configs provide dict-like interface from BaseConfig.
verl/tests/workers/config/test_critic_config_on_cpu.py:121
Method
test_config_dict_like_access
Test dictionary-like access to config fields.
verl/tests/workers/config/test_actor_config_on_cpu.py:123
Method
test_config_get_method
Test the get method for backward compatibility.
verl/tests/workers/config/test_actor_config_on_cpu.py:102
Method
test_config_inheritance
Test that the inheritance hierarchy works correctly.
verl/tests/workers/config/test_actor_config_on_cpu.py:30
Method
test_config_inheritance_hierarchy
Test that the inheritance hierarchy is correct.
verl/tests/workers/config/test_critic_config_on_cpu.py:106
Method
test_config_init
(self)
verl/tests/utils/test_nvtx_profile.py:25
Method
test_config_init_from_yaml
(self)
verl/tests/trainer/config/test_algo_config_on_cpu.py:127
Function
test_configs
()
verl/tests/models/test_transformers_ulysses.py:50
Function
test_context_manager_returns_none
Test that context manager yields None.
verl/tests/utils/test_temp_env_on_cpu.py:139
Function
test_continuous_score_consistency
Verify that continuous score calculation is consistent between prime_code and sandbox_fusion. Uses a test case where the first 9 out of 11 su
verl/tests/utils/reward_score/test_sandbox_on_cpu.py:147
Function
test_copy_from_hdfs_with_mocks
(tmp_path, monkeypatch)
verl/tests/utils/test_fs_on_cpu.py:43
Method
test_correct_vs_incorrect_answers
Test scoring of correct vs incorrect answers.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:413
Function
test_create_custom_curriculum_samper
()
verl/tests/utils/dataset/test_create_rl_sampler_on_cpu.py:77
Function
test_create_custom_curriculum_samper_wrong_class
()
verl/tests/utils/dataset/test_create_rl_sampler_on_cpu.py:94
Method
test_critic_and_actor_independent_configuration
Test that critic and actor can have independent attention implementation configurations
verl/tests/workers/critic/test_special_dp_critic.py:333
Method
test_critic_attn_implementation_override_functionality
Test that CriticWorker correctly uses attn_implementation from override_config
verl/tests/workers/critic/test_special_dp_critic.py:202
Method
test_critic_attn_implementation_passed_to_autoconfig
Test that attn_implementation is correctly passed to AutoConfig.from_pretrained in CriticWorker.
verl/tests/workers/test_fsdp_attn_implementation.py:238
Method
test_critic_backward_compatibility
Test that CriticWorker maintains backward compatibility with existing configurations
verl/tests/workers/critic/test_special_dp_critic.py:310
Method
test_critic_config_validation_logic
Test the __post_init__ validation logic for CriticConfig.
verl/tests/workers/config/test_critic_config_on_cpu.py:210
Function
test_critic_engine
(strategy)
verl/tests/models/test_engine.py:175
Method
test_critic_hydra_config_compatibility
Test that Hydra +prefix configurations work correctly for CriticWorker
verl/tests/workers/critic/test_special_dp_critic.py:290
Method
test_critic_model_config_structure
Test that critic model config properly incorporates override settings
verl/tests/workers/critic/test_special_dp_critic.py:260
Function
test_data_transfer
()
verl/tests/single_controller/test_data_transfer.py:46
Method
test_dataclass_creation_from_dict
Test creating AlgoConfig from dictionary.
verl/tests/trainer/config/test_algo_config_on_cpu.py:56
Method
test_dataclass_creation_from_omega_config
Test creating AlgoConfig from OmegaConf DictConfig.
verl/tests/trainer/config/test_algo_config_on_cpu.py:69
Method
test_dataparallelppoactor_initialization
Test DataParallelPPOActor initialization
verl/tests/workers/actor/test_special_dp_actor.py:221
Method
test_dataparallelppoactor_with_qwen3_model
Test DataParallelPPOActor with real Qwen3ForCausalLM model
verl/tests/workers/actor/test_special_dp_actor.py:231
Function
test_dataproto_chunk_after_index
()
verl/tests/test_protocol_v2_on_cpu.py:613
Function
test_dataproto_chunk_after_index
()
verl/tests/test_protocol_on_cpu.py:708
Function
test_dataproto_fold_unfold
()
verl/tests/test_protocol_on_cpu.py:447
Function
test_dataproto_index
()
verl/tests/test_protocol_v2_on_cpu.py:503
Function
test_dataproto_index
()
verl/tests/test_protocol_on_cpu.py:506
Function
test_dataproto_no_batch
()
verl/tests/test_protocol_v2_on_cpu.py:576
Function
test_dataproto_no_batch
()
verl/tests/test_protocol_on_cpu.py:607
Function
test_dataproto_pad_unpad
()
verl/tests/test_protocol_v2_on_cpu.py:417
Function
test_dataproto_pad_unpad
()
verl/tests/test_protocol_on_cpu.py:395
Function
test_dataproto_split_uneven
Test DataProto.split with uneven splits
verl/tests/utils/test_seqlen_balancing.py:127
Function
test_dataproto_unfold_column_chunks
()
verl/tests/test_protocol_on_cpu.py:642
Function
test_decorator_async_function
Tests the decorator with an `async def` method using DP_COMPUTE_PROTO. Verifies that the call returns a future and the result is correct afte
verl/tests/single_controller/test_decorator_on_cpu.py:101
Function
test_decorator_dp_compute
Tests the default behavior of a synchronous decorated method with DP_COMPUTE_PROTO. Verifies the result correctness.
verl/tests/single_controller/test_decorator_on_cpu.py:65
Method
test_decorator_preserves_function
Test that the decorator returns the original function
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:96
Function
test_decorator_returns_original_class
Test that the decorator returns the original class unchanged.
verl/tests/workers/reward_manager/test_registry_on_cpu.py:85
Method
test_default_configuration
(self)
verl/tests/workers/config/test_optim_config_on_cpu.py:21
Method
test_default_max_tokens
Test that max_tokens defaults to rate_limit.
verl/tests/experimental/reward/test_async_token_bucket_on_cpu.py:187
Method
test_default_values
Test that default values are properly set.
verl/tests/trainer/config/test_algo_config_on_cpu.py:92
Method
test_default_values
(self)
verl/tests/workers/config/test_engine_config_on_cpu.py:21
Method
test_default_values
(self)
verl/tests/workers/config/test_engine_config_on_cpu.py:49
Method
test_dict_result_format
Test handling of dict return format from reward function.
verl/tests/experimental/reward/test_rate_limited_reward_manager_on_cpu.py:339
Function
test_distributed_masked_mean
(world_size, tmp_path)
verl/tests/utils/test_torch_functional.py:108
Function
test_distributed_mean_max_min_std
(world_size, tmp_path)
verl/tests/utils/test_torch_functional.py:70
← previous
next →
4,201–4,300 of 4,735, ranked by callers