MCPcopy Create free account

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

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

Functiontest_docker_environment_forward_nonexistent_env_variables
Test forwarding non-existent environment variables (should be empty).
swe-rl/mini-swe-agent/tests/environments/test_docker.py:117
Functiontest_docker_environment_set_env_variables
Test setting environment variables in the container.
swe-rl/mini-swe-agent/tests/environments/test_docker.py:72
Functiontest_double_fork_cuda_rng_states_tracker
(use_cudagraphable_rng)
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:40
Methodtest_dsa_backward
Test sparse attention backward pass with indexer loss.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:529
Methodtest_dsa_constructor
Test sparse attention initialization.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:472
Methodtest_dsa_forward
Test sparse attention forward pass.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:479
Methodtest_dsa_forward_consistency
Test that sparse attention gives consistent results across different TP, SP, and sparse loss settings.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:970
Methodtest_dsa_gradient_sync
Test that indexer gradients are properly synchronized within TP group.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:1169
Methodtest_dsa_indexer_constructor
Test indexer initialization.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:323
Methodtest_dsa_indexer_forward
Test indexer forward pass.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:332
Methodtest_dsa_indexer_forward_consistency
Test that indexer gives consistent results across different TP sizes and SP settings.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:719
Methodtest_dsa_indexer_forward_with_scores
Test indexer forward pass with scores.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:356
Methodtest_dsa_indexer_gradient_sync
Test that gradients are properly synchronized within TP group.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:814
Methodtest_dsa_indexer_loss_shape
Test that indexer loss returns a scalar.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:101
Methodtest_dsa_indexer_loss_sparse
Test sparse indexer loss computation.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:146
Methodtest_dsa_indexer_weight_consistency
Test that indexer weights are identical across ALL GPUs.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:688
Methodtest_dsa_indexer_with_mask
Test indexer with attention mask.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:382
Methodtest_dsa_topk_selection
Test that sparse attention correctly selects top-k indices.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:590
Methodtest_dsa_weight_consistency
Test that sparse attention indexer weights are identical across ALL GPUs.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:937
Methodtest_dynamic_top_n_logprobs_calculation
Test the _dynamic_step_calculate_top_n_logprobs function directly. Verifies: 1. top_n_logprobs are computed for all requests
Megatron-LM/tests/unit_tests/inference/text_generation_controllers/test_simple_text_generation_controller.py:737
Functiontest_eager_attention_function_correctness
Test the correctness of the context parallel eager attention function
Megatron-LM/tests/unit_tests/transformer/test_attention.py:797
Methodtest_edge_case_single_rank_dims
Test edge case with dimensions of size 1.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:279
Methodtest_edge_cases
Test edge cases for is_layer_window_attention.
Megatron-LM/tests/unit_tests/transformer/test_utils.py:254
Methodtest_edit_with_custom_editor
Test edit function with custom editor.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:385
Methodtest_edit_with_default_editor
Test edit function with default editor (nano).
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:371
Methodtest_embedding_init
(self)
Megatron-LM/tests/unit_tests/tensor_parallel/test_initialization.py:28
Methodtest_embedding_init
Test that we can initialize the embedding weights to something else. This test could be added to any model.
Megatron-LM/tests/unit_tests/models/test_gpt_model.py:75
Functiontest_empty_agent_content
Test app behavior with no messages.
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:236
Methodtest_empty_data_batch
Test forward pass with empty data batch.
Megatron-LM/tests/unit_tests/models/test_mimo_submodules.py:298
Methodtest_empty_load
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:601
Methodtest_encode_with_random_data
Test encoding with random image data.
Megatron-LM/tests/unit_tests/models/test_mimo_submodules.py:236
Methodtest_end_to_end_workflow
Test complete workflow: init -> create -> get.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:254
Methodtest_engine_logging_step_interval_zero
Test that no logging occurs when inference_logging_step_interval is 0.
Megatron-LM/tests/unit_tests/inference/test_wandb_logging.py:201
Functiontest_entropy_calculation
()
Megatron-LM/tests/unit_tests/test_rl_utils.py:241
Methodtest_enum_handling
Test that enum types are handled correctly.
Megatron-LM/tests/unit_tests/test_argument_utils.py:187
Methodtest_env_var_fallback
Test that environment variable is used when no config provided.
swe-rl/mini-swe-agent/tests/models/test_init.py:24
Methodtest_env_var_overrides_config_api_key
Test that MSWEA_MODEL_API_KEY overrides config api_key.
swe-rl/mini-swe-agent/tests/models/test_init.py:103
Methodtest_env_var_sets_api_key_when_no_config_key
Test that MSWEA_MODEL_API_KEY is used when config has no api_key.
swe-rl/mini-swe-agent/tests/models/test_init.py:121
Methodtest_error
(error_msg)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:879
Methodtest_error_check
(self, nheads_tp, ngroups_tp, cp_size, expected_error_message)
Megatron-LM/tests/unit_tests/ssm/test_mamba_context_parallel.py:136
Methodtest_error_check
(self, hidden_size, ngroups, tp_size, expected_error_message)
Megatron-LM/tests/unit_tests/ssm/test_mamba_mixer.py:113
Functiontest_error_from_malformed
()
Megatron-LM/tests/unit_tests/transformer/test_quantization_config.py:66
Methodtest_errors_are_reported
(self, tmp_path_dist_ckpt, async_save, worker_fn)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_async_save.py:79
Methodtest_events
Test events.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:932
Functiontest_everything_integration_test
()
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:55
Methodtest_everything_ok
(self, caplog, algo, validate_integrity, strict)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_strict.py:202
Methodtest_exact_load_handling
(self, caplog, tmp_path_dist_ckpt, validate_integrity, save_format)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:998
Functiontest_exception_handling_in_agent_run
Test that exceptions during agent.run() are properly handled and recorded
swe-rl/mini-swe-agent/tests/run/test_swebench.py:398
Functiontest_exception_handling_with_progress_manager
Test that progress manager receives exception notifications in multithreaded mode
swe-rl/mini-swe-agent/tests/run/test_swebench.py:470
Methodtest_exceptions
(self, mocker)
Megatron-LM/tests/unit_tests/export/trtllm/test_trtllm_helper.py:10
Methodtest_exclude_multiple_fields
Test excluding multiple fields.
Megatron-LM/tests/unit_tests/test_argument_utils.py:222
Methodtest_exclude_single_field
Test excluding a single field.
Megatron-LM/tests/unit_tests/test_argument_utils.py:209
Functiontest_exit_immediately_flag_sets_confirm_exit_false
Test that --exit-immediately flag sets confirm_exit to False in agent config.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:535
Functiontest_exit_immediately_flag_with_typer_runner
Test --exit-immediately flag using typer's test runner.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:618
Functiontest_experimental_cls_exception_init
()
Megatron-LM/tests/unit_tests/test_utils.py:65
Functiontest_experimental_cls_exception_static
()
Megatron-LM/tests/unit_tests/test_utils.py:75
Functiontest_experimental_cls_init
()
Megatron-LM/tests/unit_tests/test_utils.py:48
Functiontest_experimental_cls_logs_once
Ensure the experimental_cls decorator writes the enable message only once for classes.
Megatron-LM/tests/unit_tests/utils/test_experimental_log_once.py:58
Functiontest_experimental_cls_static
()
Megatron-LM/tests/unit_tests/test_utils.py:57
Functiontest_experimental_fn_logs_once
Ensure the experimental_fn decorator writes the enable message only once.
Megatron-LM/tests/unit_tests/utils/test_experimental_log_once.py:17
Functiontest_expert_model_parallel_rank
()
Megatron-LM/tests/unit_tests/test_parallel_state.py:135
Functiontest_expert_tensor_parellel_world_size
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:85
Methodtest_extract_type_list
Test type extraction for list types.
Megatron-LM/tests/unit_tests/test_argument_utils.py:354
Methodtest_extract_type_literal
Test type extraction for Literal types.
Megatron-LM/tests/unit_tests/test_argument_utils.py:364
Methodtest_extract_type_optional
Test type extraction for Optional types.
Megatron-LM/tests/unit_tests/test_argument_utils.py:344
Methodtest_extract_type_primitive
Test type extraction for primitive types.
Megatron-LM/tests/unit_tests/test_argument_utils.py:336
Methodtest_failed_save
(self, caplog, tmp_path_dist_ckpt, tp, pp, use_ramdisk, async_save, algo)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_local.py:266
Methodtest_field_docstrings_as_help
Test that field docstrings are extracted and used as help text.
Megatron-LM/tests/unit_tests/test_argument_utils.py:176
Methodtest_filename_to_id
(self)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_local.py:51
Functiontest_filter_instances_empty_list
Test filter_instances with empty input list
swe-rl/mini-swe-agent/tests/run/test_swebench.py:161
Functiontest_filter_instances_filter_and_slice
Test filter_instances with both filtering and slicing
swe-rl/mini-swe-agent/tests/run/test_swebench.py:135
Functiontest_filter_instances_no_filters
Test filter_instances with no filtering applied
swe-rl/mini-swe-agent/tests/run/test_swebench.py:91
Functiontest_filter_instances_no_matches
Test filter_instances when regex matches nothing
swe-rl/mini-swe-agent/tests/run/test_swebench.py:167
Functiontest_filter_instances_regex_filter
Test filter_instances with regex filtering
swe-rl/mini-swe-agent/tests/run/test_swebench.py:98
Functiontest_filter_instances_shuffle
Test filter_instances with shuffle enabled produces deterministic results
swe-rl/mini-swe-agent/tests/run/test_swebench.py:149
Functiontest_filter_instances_slice_end_only
Test filter_instances with slice end only
swe-rl/mini-swe-agent/tests/run/test_swebench.py:127
Functiontest_filter_instances_slice_only
Test filter_instances with slice specification
swe-rl/mini-swe-agent/tests/run/test_swebench.py:111
Functiontest_filter_instances_slice_start_only
Test filter_instances with slice start only
swe-rl/mini-swe-agent/tests/run/test_swebench.py:119
Functiontest_fine_grained_activation_offload_memory_reduction
()
Megatron-LM/tests/unit_tests/pipeline_parallel/test_fine_grained_activation_offloading.py:84
Functiontest_fine_grained_activation_offload_output_and_grad_consistency
()
Megatron-LM/tests/unit_tests/pipeline_parallel/test_fine_grained_activation_offloading.py:145
Methodtest_finetune_doesnt_load_optimizer
Test finetuning doesn't try to load the optimizer.
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:459
Methodtest_finished_requests_with_multiple_blocks
Test that all memory blocks are correctly released for finished requests that use multiple blocks.
Megatron-LM/tests/unit_tests/inference/contexts/test_dynamic_context.py:844
Methodtest_fixed_offset
(self)
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:68
Methodtest_fixed_output_lengths
Test generating a fixed number of output tokens.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:666
Methodtest_flash_decode_with_no_rope_freq
Test that flash_decode cannot be used with no_rope.
Megatron-LM/tests/unit_tests/transformer/test_attention_no_rope.py:211
Methodtest_flat_narrow
(self)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_mapping.py:103
Methodtest_flattened_tensors_are_properly_validated
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_flattened_resharding.py:213
Methodtest_force_balanced_aux_loss
Test if aux loss is 1.0 when using uniform routing
Megatron-LM/tests/unit_tests/transformer/moe/test_aux_loss.py:529
Methodtest_force_load_balancing
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:166
Methodtest_format_arg_name_basic
Test basic argument name formatting.
Megatron-LM/tests/unit_tests/test_argument_utils.py:320
Methodtest_format_arg_name_with_prefix
Test argument name formatting with prefix.
Megatron-LM/tests/unit_tests/test_argument_utils.py:328
Functiontest_format_error_handling
Test agent handles malformed action formats properly.
swe-rl/mini-swe-agent/tests/agents/test_default.py:56
Functiontest_forward
(*input)
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:190
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/models/test_multimodal_projector.py:52
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/models/test_mamba_model.py:64
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:278
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/models/test_clip_vit_model.py:44
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/models/test_radio_model.py:49
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/models/test_gpt_model.py:175
Methodtest_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_relative_attention.py:32
← previousnext →9,501–9,600 of 10,561, ranked by callers