MCPcopy Create free account

hub / github.com/Xuekai-Zhu/FlowRL / functions

Functions4,141 in github.com/Xuekai-Zhu/FlowRL

Functiontail_recurse
Remove tail recursion from a function. :param spec: A function that, when given the arguments, returns a bool indicating whether or not to exi
verl_Test/rllm/rewards/code_utils/pyext2.py:323
Functiontail_recurse
Remove tail recursion from a function. :param spec: A function that, when given the arguments, returns a bool indicating whether or not to exi
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:323
Functiontask_raises_value_error
A task that intentionally raises a ValueError.
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:44
MethodtearDown
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:390
Methodtensor_pop
Tensor pop.
verl_Test/verl/utils/activation_offload.py:203
Methodtensor_pop
Tensor pop.
verl_Test/verl/utils/activation_offload.py:281
Methodtensor_pop
Tensor pop.
verl_FlowRL/verl/utils/activation_offload.py:203
Methodtensor_pop
Tensor pop.
verl_FlowRL/verl/utils/activation_offload.py:281
Methodtensor_push
Tensor push.
verl_Test/verl/utils/activation_offload.py:188
Methodtensor_push
(self, tensor: torch.Tensor, **kwargs)
verl_Test/verl/utils/activation_offload.py:256
Methodtensor_push
Tensor push.
verl_FlowRL/verl/utils/activation_offload.py:188
Methodtensor_push
(self, tensor: torch.Tensor, **kwargs)
verl_FlowRL/verl/utils/activation_offload.py:256
Functiontest
()
verl_FlowRL/tests/ray_gpu/test_high_level_scheduling_api.py:33
Functiontest
()
verl_FlowRL/tests/ray_gpu/test_driverfunc_to_worker.py:50
Methodtest
(self)
verl_FlowRL/tests/ray_gpu/test_rvdz.py:31
Functiontest_activation_offloading
(world_size, strategy, tmp_path)
verl_FlowRL/tests/utils/gpu_tests/test_activation_offload.py:134
Functiontest_all_gather_torch
In this test, we instantiate 4 GPUs in a group and test the all_gather
verl_FlowRL/tests/ray_gpu/test_worker_group_torch.py:63
Functiontest_all_gather_torch_v2
In this test, we instantiate 4 GPUs in a group and test the all_gather
verl_FlowRL/tests/ray_gpu/test_worker_group_torch.py:87
Functiontest_always_recopy_flag
(tmp_path, monkeypatch)
verl_FlowRL/tests/utils/cpu_tests/test_fs.py:66
Methodtest_basic_multi_process_init
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:453
Methodtest_bootstrap_metric_basic
Test bootstrap_metric with simple data and functions.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:207
Methodtest_bootstrap_metric_empty
Test bootstrap_metric with empty data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:231
Methodtest_calc_maj_val_basic
Test calc_maj_val with simple data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:240
Methodtest_calc_maj_val_tie
Test calc_maj_val with tied votes.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:253
Functiontest_check_correctness
()
verl_FlowRL/tests/sandbox/test_sandbox.py:167
Functiontest_chunk_concat
()
verl_FlowRL/tests/test_protocol.py:105
Functiontest_colocated_workers
()
verl_FlowRL/tests/ray_gpu/test_colocated_workers.py:51
Functiontest_colocated_workers_fused
()
verl_FlowRL/tests/ray_gpu/test_colocated_workers_fused.py:51
Methodtest_compute_data_metrics_with_critic
Test compute_data_metrics with critic enabled.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:91
Methodtest_compute_data_metrics_without_critic
Test compute_data_metrics with critic disabled.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:109
Methodtest_compute_throughout_metrics
Test compute_throughout_metrics with various timing data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:183
Methodtest_compute_timing_metrics
Test compute_timing_metrics with various timing data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:146
Functiontest_configs
()
verl_FlowRL/tests/models/test_transformers_ulysses.py:48
Functiontest_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_FlowRL/tests/sandbox/test_sandbox.py:143
Functiontest_copy_from_hdfs_with_mocks
(tmp_path, monkeypatch)
verl_FlowRL/tests/utils/cpu_tests/test_fs.py:43
Functiontest_data_transfer
()
verl_FlowRL/tests/ray_gpu/test_data_transfer.py:46
Functiontest_dataproto_fold_unfold
()
verl_FlowRL/tests/test_protocol.py:219
Functiontest_dataproto_index
()
verl_FlowRL/tests/test_protocol.py:278
Functiontest_dataproto_no_batch
()
verl_FlowRL/tests/test_protocol.py:379
Functiontest_dataproto_pad_unpad
()
verl_FlowRL/tests/test_protocol.py:167
Functiontest_dataproto_unfold_column_chunks
()
verl_FlowRL/tests/test_protocol.py:414
Functiontest_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_FlowRL/tests/ray_cpu/test_decorator.py:99
Functiontest_decorator_dp_compute
Tests the default behavior of a synchronous decorated method with DP_COMPUTE_PROTO. Verifies the result correctness.
verl_FlowRL/tests/ray_cpu/test_decorator.py:65
Functiontest_distributed_masked_mean
(world_size, tmp_path)
verl_FlowRL/tests/utils/gpu_tests/test_torch_functional.py:94
Functiontest_distributed_mean_max_min_std
(world_size, tmp_path)
verl_FlowRL/tests/utils/gpu_tests/test_torch_functional.py:56
Functiontest_flash_attn_cross_entropy
()
verl_FlowRL/tests/gpu_utility/test_ops.py:16
Functiontest_flops_counter
(config_type: str)
verl_FlowRL/tests/utils/gpu_tests/test_flops_counter.py:131
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_FlowRL/tests/reward_score/test_sandbox_fusion.py:547
Functiontest_hf_casual_fwd_bwd
(test_config)
verl_FlowRL/tests/models/test_transformers_ulysses.py:73
Functiontest_image_rl_data
()
verl_FlowRL/tests/utils/gpu_tests/dataset/test_rl_dataset.py:69
Functiontest_import
()
verl_FlowRL/tests/sanity/test_import.py:16
Functiontest_in_thread_timeout
()
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:200
Methodtest_init_engine
(self, mock_start_fastapi_server, mock_list_actors, server_config, mock_ray_actor)
verl_FlowRL/tests/workers/rollout/test_async_sglang_server.py:44
Functiontest_integration_compile_error
Integration test: Code causes compile error
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:99
Functiontest_integration_concurrency_all_timeout
Integration test: High concurrency (100 cases) against real API, all causing timeout
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:495
Functiontest_integration_concurrency_high_load
Integration test: High concurrency (100 cases) against real API with mixed results (success, wrong answer, timeout)
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:127
Functiontest_integration_runtime_error
Integration test: Code causes runtime error
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:108
Functiontest_integration_runtime_timeout
Integration test: Code causes runtime timeout
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:117
Functiontest_integration_success_correct
Integration test: Code is correct, output is correct
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:78
Functiontest_integration_success_wrong_output
Integration test: Code runs successfully, but output is wrong
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:89
Functiontest_internal_exception
Tests timeout correctly propagates internal exceptions.
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:113
Functiontest_len
()
verl_FlowRL/tests/test_protocol.py:258
Functiontest_load_extern_type_class
Test loading a class from an external file
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:25
Functiontest_load_extern_type_constant
Test loading a constant from an external file
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:55
Functiontest_load_extern_type_function
Test loading a function from an external file
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:42
Functiontest_load_extern_type_invalid_module
Test behavior when module has syntax errors
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:82
Functiontest_load_extern_type_none_path
Test behavior when file path is None
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:76
Functiontest_load_extern_type_nonexistent_file
Test behavior when file doesn't exist
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:64
Functiontest_load_extern_type_nonexistent_type
Test behavior when type doesn't exist in the file
verl_FlowRL/tests/utils/cpu_tests/test_import_utils.py:70
Functiontest_log_probs_from_logits_response_rmpad
()
verl_FlowRL/tests/gpu_utility/test_torch_functional.py:22
Functiontest_logprobs_from_logits_v2
(dtype)
verl_FlowRL/tests/gpu_utility/test_torch_functional.py:48
Functiontest_lr_scheduler
()
verl_FlowRL/tests/gpu_utility/test_torch_functional.py:67
Functiontest_make_batch_generator_empty
()
verl_FlowRL/tests/utils/gpu_tests/megatron/test_pipeline_parallel.py:37
Functiontest_make_batch_generator_no_vpp
()
verl_FlowRL/tests/utils/gpu_tests/megatron/test_pipeline_parallel.py:18
Functiontest_make_batch_generator_with_vpp
()
verl_FlowRL/tests/utils/gpu_tests/megatron/test_pipeline_parallel.py:25
Functiontest_multiprocess_global_concurrency_limit_with_semaphore
Tests that the global concurrent_semaphore (multiprocessing.Semaphore) correctly limits the number of concurrent calls to call_sandbox_api
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:388
Functiontest_multiturn_sft_dataset
()
verl_FlowRL/tests/utils/gpu_tests/dataset/test_multiturn_sft_dataset.py:27
Functiontest_old_vs_new_from_single_dict
()
verl_FlowRL/tests/test_protocol.py:342
Methodtest_over_size_case
(self, mock_env, mock_engine, mock_sampling, sandbox_fusion_rollout_config, qwen_tokenizer, qwen_model_config,
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:248
Methodtest_over_size_case
(self, mock_env, mock_engine, mock_sampling, search_rollout_config, qwen_tokenizer, qwen_model_config, search_
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:192
Functiontest_parallel_put_basic
(init_ray)
verl_FlowRL/tests/ray_cpu/test_ray_utils.py:29
Functiontest_parallel_put_empty
(init_ray)
verl_FlowRL/tests/ray_cpu/test_ray_utils.py:37
Functiontest_parallel_put_workers
(init_ray)
verl_FlowRL/tests/ray_cpu/test_ray_utils.py:43
Functiontest_parallelism
Test if process pool works properly
verl_FlowRL/tests/sandbox/test_sandbox.py:96
Functiontest_pop
()
verl_FlowRL/tests/test_protocol.py:129
Functiontest_prime_code
Test PRIME code sandbox.
verl_FlowRL/tests/sandbox/test_sandbox.py:116
Functiontest_prime_code_sandbox_fusion
Test PRIME code on sandbox fusion. Skips if SANDBOX_FUSION_URL is not set.
verl_FlowRL/tests/sandbox/test_sandbox.py:128
Functiontest_prime_math
()
verl_FlowRL/tests/sandbox/test_sandbox.py:175
Methodtest_process_validation_metrics_basic
Test process_validation_metrics with simple data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:273
Methodtest_process_validation_metrics_with_pred
Test process_validation_metrics with prediction data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:298
Functiontest_quick_task
Tests timeout handles a quick task correctly.
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:97
Methodtest_rate_limiter
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:478
Methodtest_rate_limiter
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:538
Functiontest_record_and_check_directory_structure
(tmp_path)
verl_FlowRL/tests/utils/cpu_tests/test_fs.py:21
Methodtest_reduce_metrics_basic
Test that reduce_metrics correctly computes means.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:41
Methodtest_reduce_metrics_empty
Test that reduce_metrics handles empty lists.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:52
Methodtest_reduce_metrics_single_value
Test that reduce_metrics works with single values.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:61
Functiontest_register_new_dispatch_mode
(reset_dispatch_registry)
verl_FlowRL/tests/single_controller/base/test_decorator.py:31
Functiontest_reorder
()
verl_FlowRL/tests/test_protocol.py:94
Functiontest_repeat
()
verl_FlowRL/tests/test_protocol.py:142
← previousnext →3,901–4,000 of 4,141, ranked by callers