MCPcopy Create free account

hub / github.com/Gen-Verse/OpenClaw-RL / functions

Functions10,561 in github.com/Gen-Verse/OpenClaw-RL

Methodtest_sharded_tensors
(self, tp, pp)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_local.py:60
Methodtest_sharded_tensors
(self, tp, pp, use_torch_fsdp2)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_local.py:75
Functiontest_shorten_str
(text, max_len, shorten_left, expected)
swe-rl/mini-swe-agent/tests/run/test_batch_progress.py:30
Methodtest_simple
Simple test that runs without errors, and validates output.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:533
Methodtest_simple_broadcast
(self, dtype, src_rank)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fp8.py:47
Methodtest_single_process_save_load
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:51
Methodtest_singleton_dp_reads
DP group has 1 rank (TP=8).
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:494
Functiontest_singularity_environment_basic_execution
Test basic command execution in Singularity container.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:34
Functiontest_singularity_environment_combined_env_and_forward
Test both setting and forwarding environment variables together.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:94
Functiontest_singularity_environment_command_failure
Test that command failures are properly captured.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:145
Functiontest_singularity_environment_config_defaults
Test that SingularityEnvironmentConfig has correct default values.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:20
Functiontest_singularity_environment_custom_cwd
Test executing commands in a custom working directory.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:123
Functiontest_singularity_environment_cwd_parameter_override
Test that the cwd parameter in execute() overrides the config cwd.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:134
Functiontest_singularity_environment_env_override_forward
Test that explicitly set env variables take precedence over forwarded ones.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:108
Functiontest_singularity_environment_forward_env_variables
Test forwarding environment variables from host to container.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:65
Functiontest_singularity_environment_forward_nonexistent_env_variables
Test forwarding non-existent environment variables (should be empty).
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:83
Functiontest_singularity_environment_set_env_variables
Test setting environment variables in the container.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:46
Functiontest_singularity_environment_timeout
Test that the timeout configuration is respected.
swe-rl/mini-swe-agent/tests/environments/test_singularity.py:155
Methodtest_skip_configure_when_already_configured
Test that setup is not called when MSWEA_CONFIGURED is set.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:418
Functiontest_sleep_and_warning_commands
Test special /sleep and /warning command handling.
swe-rl/mini-swe-agent/tests/models/test_test_models.py:53
Methodtest_sliding_window_attention
(self)
Megatron-LM/tests/unit_tests/transformer/test_spec_customization.py:143
Functiontest_smart_input_container_complete_input
Test _complete_input method resets state correctly.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:603
Functiontest_smart_input_container_initialization
Test SmartInputContainer initialization and default state.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:553
Functiontest_smart_input_container_key_events
Test key event handling for various scenarios.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:726
Functiontest_smart_input_container_key_events_no_action
Test key events that should not trigger any action.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:775
Functiontest_smart_input_container_on_focus
Test focus behavior in different modes.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:809
Functiontest_smart_input_container_on_mount
Test widget initialization on mount.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:836
Functiontest_smart_input_container_request_input
Test request_input method behavior.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:568
Functiontest_smart_input_container_single_input_submission
Test single-line input submission.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:673
Functiontest_smart_input_container_single_input_submission_multiline_mode
Test that single-line submission is ignored in multiline mode.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:701
Functiontest_smart_input_container_toggle_mode
Test switching from single-line to multi-line mode.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:632
Functiontest_smart_input_container_toggle_mode_blocked
Test that toggle mode is blocked when no pending prompt or already in multiline.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:654
Functiontest_sp_tokenizer
()
Megatron-LM/tests/unit_tests/tokenizers/test_tokenizer.py:50
Functiontest_split_tensor_along_last_dim
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_tensor_parallel_utils.py:10
Functiontest_split_tensor_into_1d_equal_chunks
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_tensor_parallel_utils.py:16
Functiontest_state_dict
(mock_optimizer)
Megatron-LM/tests/unit_tests/test_optimizer_param_scheduler.py:185
Methodtest_state_dict
Test LayerWiseDistributedOptimizer state dict save and load.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:213
Methodtest_state_dict
Test state dict methods.
Megatron-LM/tests/unit_tests/models/test_mimo_model.py:427
Methodtest_state_dict_comparison
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_bert_model.py:137
Methodtest_state_dict_comparison
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_gpt_model.py:160
Methodtest_state_dict_for_save_checkpoint
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:123
Functiontest_step_function
(mock_optimizer)
Megatron-LM/tests/unit_tests/test_optimizer_param_scheduler.py:163
Functiontest_step_limit_enforcement
Test agent stops when step limit is reached.
swe-rl/mini-swe-agent/tests/agents/test_default.py:27
Methodtest_storage
(self, problem, dtype, reduction, ignore_index)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:477
Methodtest_storage
(self, problem, dtype, reduction)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:897
Methodtest_storage
(self, problem, dtype, reduction)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:1404
Functiontest_straggler_detector
()
Megatron-LM/tests/unit_tests/test_utils.py:291
Methodtest_streaming
(self)
Megatron-LM/tests/unit_tests/inference/engines/test_static_engine.py:215
Functiontest_successful_completion
Test agent completes successfully when COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT is encountered.
swe-rl/mini-swe-agent/tests/agents/test_default.py:8
Functiontest_successful_completion_with_confirmation
Test agent completes successfully when user confirms all actions.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:8
Functiontest_swebench_end_to_end
Test the complete SWEBench flow using the _test subset with deterministic model
swe-rl/mini-swe-agent/tests/run/test_swebench.py:21
Functiontest_swebench_single_end_to_end
Test the swebench_single script using the _test subset with deterministic model. This mostly tests that no exception occurs.
swe-rl/mini-swe-agent/tests/run/test_swebench_single.py:11
Functiontest_swebench_single_end_to_end_exit_immediately
Test the swebench_single script using the _test subset with deterministic model. This mostly tests that no exception occurs. This test uses th
swe-rl/mini-swe-agent/tests/run/test_swebench_single.py:39
Functiontest_swerex_docker_basic_execution
Test basic command execution in SwerexDockerEnvironment.
swe-rl/mini-swe-agent/tests/environments/extra/test_swerex_docker.py:7
Functiontest_swerex_docker_command_failure
Test that command failures are properly captured in SwerexDockerEnvironment.
swe-rl/mini-swe-agent/tests/environments/extra/test_swerex_docker.py:21
Methodtest_te_col_init
(self)
Megatron-LM/tests/unit_tests/tensor_parallel/test_initialization.py:126
Methodtest_te_grouped_linear_torch_native
Test saving and loading torch native checkpoints
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_moe_experts.py:432
Methodtest_te_moe_layer
(self, num_moe_experts, moe_token_dispatcher_type, grouped_gemm)
Megatron-LM/tests/unit_tests/transformer/moe/test_moe_layer.py:32
Methodtest_te_row_init
(self)
Megatron-LM/tests/unit_tests/tensor_parallel/test_initialization.py:164
Functiontest_tensor_model_parallel_rank
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:103
Functiontest_tensor_model_parellel_world_size
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:76
Methodtest_tensor_shape_mismatch
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:469
Methodtest_tensorwise_scaling
(self, tp_size, dp_overlap)
Megatron-LM/tests/unit_tests/test_fp8_param.py:356
Methodtest_tensorwise_scaling_inference
(self, tp_size)
Megatron-LM/tests/unit_tests/test_fp8_param.py:363
Methodtest_tensorwise_scaling_with_cuda_graph
(self, tp_size, dp_overlap)
Megatron-LM/tests/unit_tests/test_fp8_param.py:371
Methodtest_tensorwise_scaling_with_first_last_layers_bf16
(self, tp_size)
Megatron-LM/tests/unit_tests/test_fp8_param.py:378
Functiontest_tiktoken_tokenizer
()
Megatron-LM/tests/unit_tests/tokenizers/test_tokenizer.py:157
Functiontest_timeout_captures_partial_output
Test that timeout error captures partial output from commands that produce output before timing out.
swe-rl/mini-swe-agent/tests/agents/test_default.py:99
Functiontest_timeout_handling
Test agent handles command timeouts properly.
swe-rl/mini-swe-agent/tests/agents/test_default.py:80
Methodtest_token_dropping
(self, capacity_factor, drop_policy, pad_to_capacity)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:196
Methodtest_token_overflow
(self)
Megatron-LM/tests/unit_tests/inference/text_generation_controllers/test_simple_text_generation_controller.py:545
Methodtest_token_overflow_error
(self, is_hybrid_model: bool)
Megatron-LM/tests/unit_tests/inference/contexts/test_dynamic_context.py:197
Methodtest_token_overflow_nontransient
Test token overflow (non-transient).
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:621
Methodtest_token_overflow_transient
Test token overflow.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:597
Functiontest_tokenizer
(args)
Megatron-LM/tests/unit_tests/test_tokenizer.py:125
Methodtest_top_n_logprobs_dynamic
Test that top_n_logprobs are computed correctly in dynamic batching mode. Verifies: 1. top_n_logprobs are returned for genera
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:997
Methodtest_torch_sp_vs_single_gpu
(self, dtype, reduction, problem)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:1157
Methodtest_torch_tp_vs_single_gpu
(self, dtype, reduction, problem)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:684
Methodtest_track_mtp_metrics
Test tracking MTP metrics.
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:643
Functiontest_trajectory_inspector_basic_navigation
Test basic step navigation in trajectory inspector.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:88
Functiontest_trajectory_inspector_css_loading
Test that CSS is properly loaded from config.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:290
Functiontest_trajectory_inspector_current_trajectory_name
Test current_trajectory_name property.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:274
Functiontest_trajectory_inspector_empty_trajectory
Test inspector behavior with empty trajectory list.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:204
Functiontest_trajectory_inspector_invalid_file
Test inspector behavior with invalid JSON file.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:221
Functiontest_trajectory_inspector_load_trajectory_formats
Test loading different trajectory formats.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:236
Functiontest_trajectory_inspector_quit_binding
Test quit functionality.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:301
Functiontest_trajectory_inspector_scrolling
Test scrolling behavior in trajectory inspector.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:183
Functiontest_trajectory_inspector_swebench_format
Test that SWEBench format trajectories are handled correctly.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:163
Functiontest_trajectory_inspector_trajectory_navigation
Test navigation between different trajectory files.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:128
Functiontest_trajectory_inspector_unrecognized_format
Test inspector behavior with unrecognized trajectory format.
swe-rl/mini-swe-agent/tests/run/test_inspector.py:258
Methodtest_transformer_block_custom
This test checks that the two ways of passing `layer_spec` to a `TransformerBlock` result in an identical model: 1. ModuleSp
Megatron-LM/tests/unit_tests/transformer/test_spec_customization.py:195
Methodtest_transformer_engine_version_1_10
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:163
Methodtest_transformer_engine_version_1_10
(self, mocker)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:141
Methodtest_transformer_engine_version_1_7_to_1_10_flash_attn
(self, mocker)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:160
Methodtest_transformer_engine_version_1_7_to_1_10_flashfused_attn
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:181
Methodtest_transformer_engine_version_1_7_to_1_10_rng_error
(self, mocker)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:172
Methodtest_transformer_engine_version_1_7_to_1_10_unfused_attention
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:202
Methodtest_transformer_engine_version_1_7_to_1_10_unfused_attention
(self, mocker)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:192
Methodtest_transformer_engine_version_less_than_1_7
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:222
Methodtest_transformer_engine_version_less_than_1_7
(self, mocker)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:211
← previousnext →10,201–10,300 of 10,561, ranked by callers