Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gen-Verse/OpenClaw-RL
/ functions
Functions
10,561 in github.com/Gen-Verse/OpenClaw-RL
⨍
Functions
10,561
◇
Types & classes
1,405
↳
Endpoints
144
Method
test_configure_when_not_configured
Test that setup is called when MSWEA_CONFIGURED is not set.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:403
Function
test_confirm_exit_config_field_can_be_set
Test that confirm_exit field can be explicitly set.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:868
Function
test_confirm_exit_config_field_defaults
Test that confirm_exit field has correct default value.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:858
Function
test_confirm_exit_disabled_exits_immediately
Test that when confirm_exit=False, agent exits immediately without asking.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:807
Function
test_confirm_exit_enabled_asks_for_confirmation
Test that when confirm_exit=True, agent asks for confirmation before finishing.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:787
Function
test_confirm_exit_with_new_task_continues_execution
Test that when user provides new task at exit confirmation, agent continues.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:827
Function
test_confirm_mode_sets_correct_agent_config
Test that when yolo=False, no explicit mode is set (defaults to None).
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:335
Function
test_confirmation_mode_switch_to_human_with_rejection
Test switching from confirm mode to human mode with /u command.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:314
Function
test_confirmation_mode_switch_to_yolo_and_continue
Test switching from confirm mode to yolo mode with /y and continuing with action.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:344
Function
test_confirmation_rejection_with_message
Test rejecting an action with a custom message.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:307
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:100
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:119
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:75
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_multimodal_projector.py:42
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_mamba_model.py:42
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:76
Method
test_constructor
(self, setup_and_teardown_llava_model)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:515
Method
test_constructor
Test constructor initialization.
Megatron-LM/tests/unit_tests/models/test_mimo_model.py:204
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:52
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_clip_vit_model.py:29
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_base_embedding.py:28
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_radio_model.py:34
Method
test_constructor
(self, heterogeneous_gpt_model, expected_num_parameters)
Megatron-LM/tests/unit_tests/models/test_heterogeneous_gpt_model.py:123
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/models/test_gpt_model.py:52
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_relative_attention.py:29
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_layer.py:35
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:37
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:71
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:118
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:152
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_mlp.py:26
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_retro_attention.py:88
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention.py:94
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:41
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:56
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:280
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_grouped_mlp.py:97
Method
test_constructor
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_sequential_mlp.py:128
Method
test_constructor_local
Test basic construction of MTP module.
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:82
Method
test_constructor_ues_te
Test basic construction of MTP module.
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:108
Method
test_content_metadata_load_from_checkpoint
(self, tmp_path_dist_ckpt, content_metadata)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:637
Method
test_content_metadata_load_from_state_dict
(self, tmp_path_dist_ckpt, content_metadata)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:653
Function
test_context_parallel_rank
()
Megatron-LM/tests/unit_tests/test_parallel_state.py:129
Function
test_continue_after_completion_in_yolo_mode
Test continuation when starting in yolo mode (no confirmations needed).
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:757
Function
test_continue_after_completion_multiple_cycles
Test multiple continuation cycles with new tasks.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:722
Function
test_continue_after_completion_with_new_task
Test that user can provide a new task when agent wants to finish.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:663
Function
test_continue_after_completion_without_new_task
Test that agent finishes normally when user doesn't provide a new task.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:695
Function
test_convert_cuda_rng_state
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:89
Method
test_correctness
(self, dtype, problem, reduction, ignore_index)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:337
Method
test_correctness
(self, dtype, reduction, problem)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:756
Method
test_correctness
(self, dtype, reduction, problem)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:1242
Function
test_cost_limit_enforcement
Test agent stops when cost limit is reached.
swe-rl/mini-swe-agent/tests/agents/test_default.py:42
Method
test_counter
(self)
Megatron-LM/tests/unit_tests/inference/test_inference_utils.py:6
Method
test_cpu_forward
(self)
Megatron-LM/tests/unit_tests/models/test_base_embedding.py:40
Method
test_cpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:88
Method
test_cpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:159
Method
test_cpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention_packed_seq.py:73
Method
test_cpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_retro_attention.py:109
Method
test_cpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention.py:113
Method
test_cpu_tensors_dont_take_too_much_space
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_torch_dist.py:102
Method
test_create_pg_duplicate_error
Test create_pg raises error when trying to recreate existing process group.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:179
Method
test_create_pg_multiple_dims
Test create_pg for multiple dimensions.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:143
Method
test_create_pg_single_dim
Test create_pg for single dimension.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:123
Method
test_create_pg_with_options
Test create_pg with additional options.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:160
Method
test_creates_argument_group
Test that build_group creates an argument group.
Megatron-LM/tests/unit_tests/test_argument_utils.py:81
Function
test_cross_check_param_hashes_across_dp_replicas
()
Megatron-LM/tests/unit_tests/test_utils.py:215
Method
test_cross_dp_access_does_not_disturb_the_distribution
Each DP group has 4 ranks (TP=2).
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:524
Function
test_cuda_graph_determine_first_last_layer_logic
( total_num_layers, pp, vpp, account_for_embedding_in_pipeline_split, account_for_loss_in_
Megatron-LM/tests/unit_tests/transformer/test_cuda_graphs.py:193
Method
test_cuda_graph_token_counts
Test initialization of `cuda_graph_token_counts` in dynamic context.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:675
Function
test_cuda_rng_states_tracker
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:17
Function
test_custom_config
Test agent works with custom configuration.
swe-rl/mini-swe-agent/tests/agents/test_default.py:213
Function
test_custom_cost_and_multiple_models
Test custom cost configuration and global tracking across multiple models.
swe-rl/mini-swe-agent/tests/models/test_test_models.py:27
Method
test_custom_no_rope_pattern
Test custom no_rope pattern.
Megatron-LM/tests/unit_tests/transformer/test_attention_no_rope.py:52
Function
test_data_parallel_initializations
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:67
Method
test_dcp_checkpoint_save_and_load
Test that an Megatron-FSDP model checkpoint can be saved and loaded accurately.
Megatron-LM/tests/unit_tests/distributed/fsdp/test_mfsdp_fully_shard.py:361
Method
test_ddp_with_dp_process_groups
Test that DDP works correctly with dp pgs from parallel state and user defined pgs.
Megatron-LM/tests/unit_tests/distributed/test_distributed_data_parallel.py:44
Function
test_deallocate_output_tensor
()
Megatron-LM/tests/unit_tests/pipeline_parallel/test_schedules.py:69
Method
test_default_initialization
Test default initialization of ProcessGroupCollection.
Megatron-LM/tests/unit_tests/test_process_groups_config.py:102
Method
test_default_override
Test that argparse_meta can override default value.
Megatron-LM/tests/unit_tests/test_argument_utils.py:487
Method
test_default_values_preserved
Test that default values from dataclass are preserved.
Megatron-LM/tests/unit_tests/test_argument_utils.py:109
Method
test_delayed_scaling
(self, tp_size, dp_overlap)
Megatron-LM/tests/unit_tests/test_fp8_param.py:340
Method
test_delayed_scaling_with_cuda_graph
(self, tp_size, dp_overlap)
Megatron-LM/tests/unit_tests/test_fp8_param.py:348
Method
test_dest_override
Test that argparse_meta can override destination name.
Megatron-LM/tests/unit_tests/test_argument_utils.py:515
Method
test_deterministic_output_from_single_block
Test that a single transformer block produces identical outputs when run twice with the same input.
Megatron-LM/tests/unit_tests/transformer/test_transformer_block_custom_pgs.py:707
Function
test_different_exception_types
Test that different exception types are properly recorded
swe-rl/mini-swe-agent/tests/run/test_swebench.py:440
Function
test_different_initialize_order_consistency
(src_tp_pp, ep_size)
Megatron-LM/tests/unit_tests/test_parallel_state.py:188
Function
test_different_initialize_order_unconsistency
(src_tp_pp, ep_size)
Megatron-LM/tests/unit_tests/test_parallel_state.py:244
Method
test_different_mask_types
Test FusedScaleMaskSoftmax with different attention mask types.
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:182
Function
test_dist_checkpoint_versioning
Test distributed checkpoint versioning.
Megatron-LM/tests/unit_tests/test_checkpointing.py:303
Function
test_divide_improperly
()
Megatron-LM/tests/unit_tests/test_utils.py:43
Function
test_divide_properly
()
Megatron-LM/tests/unit_tests/test_utils.py:39
Function
test_docker_environment_basic_execution
Test basic command execution in Docker container.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:58
Function
test_docker_environment_combined_env_and_forward
Test both setting and forwarding environment variables together.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:131
Function
test_docker_environment_command_failure
Test that command failures are properly captured.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:197
Function
test_docker_environment_config_defaults
Test that DockerEnvironmentConfig has correct default values.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:44
Function
test_docker_environment_custom_container_timeout
Test that custom container_timeout is respected.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:210
Function
test_docker_environment_custom_cwd
Test executing commands in a custom working directory.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:169
Function
test_docker_environment_cwd_parameter_override
Test that the cwd parameter in execute() overrides the config cwd.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:183
Function
test_docker_environment_env_override_forward
Test that explicitly set env variables take precedence over forwarded ones.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:148
Function
test_docker_environment_forward_env_variables
Test forwarding environment variables from host to container.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:94
← previous
next →
9,401–9,500 of 10,561, ranked by callers