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
Function
compare_config
(actual: str, rules: Dict, **options)
gui-rl/desktop_env/evaluators/metrics/vscode.py:166
Function
compare_contains_image
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:681
Function
compare_csv
Compare CSV files. If expected is a list, returns 1.0 if result matches any of the expected files. Args: result: Path to result CSV
gui-rl/desktop_env/evaluators/metrics/table.py:182
Function
compare_docx_files_and_ignore_new_lines
(file1, file2, **options)
gui-rl/desktop_env/evaluators/metrics/docs.py:980
Function
compare_docx_images
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:340
Function
compare_docx_lines
(file1, file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:956
Function
compare_docx_tables
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:307
Function
compare_epub
(result: str, expected: str)
gui-rl/desktop_env/evaluators/metrics/others.py:72
Function
compare_font_names
(docx_file, rules: List[Dict[str, Any]])
gui-rl/desktop_env/evaluators/metrics/docs.py:555
Function
compare_highlighted_text
(file1, file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:1022
Function
compare_htmls
Compare two HTML files.
gui-rl/desktop_env/evaluators/metrics/chrome.py:371
Function
compare_image_list
Compare two image lists, only if all images are the same, return 1.0, otherwise return 0.0
gui-rl/desktop_env/evaluators/metrics/gimp.py:8
Function
compare_images
(image1_path, image2_path, **options)
gui-rl/desktop_env/evaluators/metrics/vlc.py:184
Function
compare_init_lines
(file1, file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:283
Function
compare_insert_equation
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:533
Function
compare_line_spacing
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:504
Function
compare_pdf_images
(pdf1_path: str, pdf2_path: str, **kwargs)
gui-rl/desktop_env/evaluators/metrics/chrome.py:235
Function
compare_pdfs
Compare two PDF files.
gui-rl/desktop_env/evaluators/metrics/chrome.py:198
Function
compare_pptx_files
(file1_path, file2_path, **options)
gui-rl/desktop_env/evaluators/metrics/slides.py:190
Function
compare_python_pure_text
(py_file_path, gold_file_path)
gui-rl/desktop_env/evaluators/metrics/general.py:601
Function
compare_references
(file1, file2, **options)
gui-rl/desktop_env/evaluators/metrics/docs.py:1062
Function
compare_result_files
Compare whether the content of two files are the same. multi-app:7f35355e-02a6-45b5-b140-f0be698bcf85
gui-rl/desktop_env/evaluators/metrics/vscode.py:381
Function
compare_subscript_contains
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:575
Function
compare_table
Args: result (str): path to result xlsx expected (str): path to golden xlsx rules (List[Dict[str, Any]]): list of dict li
gui-rl/desktop_env/evaluators/metrics/table.py:237
Function
compare_terminal_and_txt
(txt_file_path, terminal_output)
gui-rl/desktop_env/evaluators/metrics/general.py:590
Function
compare_text_file
Args: actual (str): path to result text file expected (str): path to gold text file Return: float: the score
gui-rl/desktop_env/evaluators/metrics/vscode.py:77
Function
compare_time_in_speedtest_results
(speedtest_result_path, time_diff)
gui-rl/desktop_env/evaluators/metrics/general.py:483
Function
compare_triangle_positions
(image1, image2)
gui-rl/desktop_env/evaluators/metrics/gimp.py:137
Function
compare_two_checkpoint
Compare two checkpoints.
Megatron-LM/tools/checkpoint/checkpoint_inspector.py:923
Function
compare_unique_train_records
Compares the processed file with a list of expected files containing the gold standard and the initial document. expected_files[0] should
gui-rl/desktop_env/evaluators/metrics/docs.py:1120
Function
compare_videos
(video_path1, video_path2, max_frames_to_check=100, threshold=5)
gui-rl/desktop_env/evaluators/metrics/vlc.py:296
Function
compare_zip_files
Args: actual (str): path to result zip file expected (str): path to gold zip file Return: float: the score
gui-rl/desktop_env/evaluators/metrics/vscode.py:133
Method
compatible_model
(**kwargs)
swe-rl/mini-swe-agent/tests/models/test_init.py:90
Method
compose
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:150
Method
compose
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:303
Method
compose
(self)
swe-rl/mini-swe-agent/src/minisweagent/run/inspector.py:126
Method
compose
(self)
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:541
Function
compute_lp
(logits_chunk, tokens_col)
openclaw-rl/oel/oel_distillation_loss.py:176
Method
compute_macs
(module, input, output)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:173
Function
compute_mis_weights_fsdp
Compute masked importance sampling weights for FSDP. No context parallelism. Args: args: Arguments containing MIS settings (use_tis, tis_
slime/examples/train_infer_mismatch_helper/mis.py:454
Function
compute_mis_weights_with_cp
Compute the importance sampling (IS) weights and metrics with context parallel. Args: train_log_probs: List of log probs from trainin
slime/examples/train_infer_mismatch_helper/mis.py:310
Method
compute_student_topk
Run an old_actor forward and return ONLY the student top-K indices. Used by ``--distill-subset-mode student``: the outer training loop
slime/slime/backends/megatron_utils/actor.py:802
Function
compute_topk
(scores, topk, num_groups=None, group_topk=None)
slime/slime/utils/routing_replay.py:58
Function
compute_ttl_seconds
(ttl_minutes: int)
gui-rl/desktop_env/providers/aws/config.py:15
Function
compute_ttl_seconds
(ttl_minutes: int)
gui-rl/desktop_env/providers/aliyun/config.py:25
Method
config
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:287
Function
config_from_args
(args, config_cls, add_custom_args=False)
Megatron-LM/tools/retro/config_utils.py:579
Method
configured
Can be called to check if the instance is already configured Returns: bool: returns True if configure was called and was a succes
Megatron-LM/megatron/core/utils.py:1857
Method
connect_actor_critic
(self, critic_group)
slime/slime/ray/train_actor.py:124
Method
connect_actor_critic
( self, actor_handle: ActorHandle | None = None, master_address: str | None = None,
slime/slime/backends/megatron_utils/actor.py:1517
Method
connect_rollout_engines
Create NCCL "slime-pp_{pp_rank}" if PP source (DP=TP=0). Lock prevents concurrent broadcasts.
slime/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py:45
Method
connect_rollout_engines
Attach rollout engines and create per-engine IPC (Gloo) groups. Sets the gather source rank, engine handle, and `tp_rank` within the
slime/slime/backends/fsdp_utils/update_weight_utils.py:96
Method
connect_rollout_engines
On rank 0, initialize a temporary NCCL group for parameter broadcast.
slime/slime/backends/fsdp_utils/update_weight_utils.py:185
Method
consume_completion
( self, chat_completion: Any )
terminal-rl/agent/camel_agent.py:406
Function
container_create
Create a detached container from a SWE-Bench image. Request JSON: image (str): full image name, e.g. docker.io/xingyaoww/sweb.eval.x86_
swe-rl/server/swe_exec_server.py:114
Function
container_destroy
Stop and remove a container. Request JSON: container_id (str): container ID or name
swe-rl/server/swe_exec_server.py:229
Function
container_diff
Get the git patch from the container's working directory. Request JSON: container_id (str): container ID or name cwd (str):
swe-rl/server/swe_exec_server.py:202
Function
container_evaluate
Apply a git patch and run the eval script inside the container. This replicates what swe_utils.evaluate_trajectory() does locally, but execut
swe-rl/server/swe_exec_server.py:250
Function
container_exec
Execute a bash command inside a running container. Request JSON: container_id (str): container ID or name command (str): bas
swe-rl/server/swe_exec_server.py:158
Function
contains_page_break
(docx_file, rules)
gui-rl/desktop_env/evaluators/metrics/docs.py:125
Method
continue_generation
(self)
slime/slime/backends/sglang_utils/sglang_engine.py:421
Method
contrastive_rollouts
( request: RemoteRolloutRequest, )
Megatron-LM/megatron/rl/server/agent/fastapi_env_server.py:66
Function
convert
(sample)
toolcall-rl/sft_data_processing.py:6
Function
convert_bbox_format
(bbox, image_ele: dict, *, src_format: str, tgt_format: str)
gui-rl/agents/utils/qwen_vl_utils.py:158
Function
convert_checkpoint
( model_name, megatron_model_type, num_gpus_per_node: int, multinode: bool = False, extra_
slime/slime/utils/external_utils/command_utils.py:21
Function
convert_ids_to_tokens
(inv_vocab, ids)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:148
Method
convert_ids_to_tokens
(self, ids)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:181
Function
convert_tokens_to_ids
(vocab, tokens)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:144
Method
convert_tokens_to_ids
(self, tokens)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:178
Method
convert_tokens_to_ids
Convert plaintext to token IDs.
Megatron-LM/tests/unit_tests/test_tokenizer.py:226
Function
convert_torch_dist_to_fsdp_dtensor
Convert a Megatron Core Distributed Checkpoint from torch_dist to fsdp_dtensor format.
Megatron-LM/tools/checkpoint/checkpoint_inspector.py:701
Method
copy
(self, *, src_tag: str, dst_tag: str)
slime/slime/utils/tensor_backper.py:64
Method
copy_group_grads
(model_groups, shard_main_groups)
Megatron-LM/megatron/core/optimizer/distrib_optimizer.py:2385
Method
copy_group_params
(shard_main_groups, model_groups)
Megatron-LM/megatron/core/optimizer/distrib_optimizer.py:2439
Method
copy_model_weights_to_main_weights
Copy the model weights to the main weights.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:2758
Method
copy_tensors_to_cpu
Stores CPU copies of tensors in the state_dict, replacing the originals, but without destroying them. The original devices ar
Megatron-LM/megatron/core/dist_checkpointing/tensor_aware_state_dict.py:245
Method
core_attention
Which module to use for attention
Megatron-LM/megatron/core/extensions/transformer_engine_spec_provider.py:62
Method
core_attention
Which module to use for attention
Megatron-LM/megatron/core/extensions/kitchen.py:1063
Method
core_attention
Which module to use for attention
Megatron-LM/megatron/core/models/backends.py:68
Function
core_model_provider
Build the model using Megatron-Core.
Megatron-LM/pretrain_retro.py:37
Function
correct_answers_forward_step
(batch, model)
Megatron-LM/tasks/eval_utils.py:111
Method
cost
(self)
swe-rl/mini-swe-agent/src/minisweagent/models/__init__.py:34
Method
cost
(self)
swe-rl/mini-swe-agent/src/minisweagent/models/extra/roulette.py:23
Function
count_parameters
(model)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:766
Function
count_stat
(dataset, tokenizer, k)
Megatron-LM/tools/retro/sft/dataset_conv.py:255
Method
count_tokens_from_messages
(self, messages: List[OpenAIMessage])
terminal-rl/agent/camel_agent.py:211
Method
count_zeros
Count number of zeros in model's gradients.
Megatron-LM/megatron/core/optimizer/optimizer.py:223
Method
count_zeros
(self)
Megatron-LM/megatron/core/optimizer/layer_wise_optimizer.py:211
Method
cpu_init_weights
()
slime/slime/backends/fsdp_utils/actor.py:249
Method
create_ar_cache
(module)
Megatron-LM/megatron/core/transformer/module.py:138
Function
create_args
Setup dummy args.
Megatron-LM/tests/unit_tests/test_checkpointing.py:97
Function
create_args
Setup dummy args.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_pipeline_layout.py:118
Function
create_args
Setup dummy args.
Megatron-LM/tests/unit_tests/dist_checkpointing/test_pipeline_parallel_layout.py:120
Method
create_attn_mask
(self, H, W)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:219
Function
create_ckpt_load_args
Setup dummy args allowing checkpoint load.
Megatron-LM/tests/unit_tests/test_checkpointing.py:127
Method
create_cudagraphs
Iterate through 'cudagraph_record' creating graphs in the order in which they were recorded.
Megatron-LM/megatron/core/transformer/cuda_graphs.py:204
Method
create_custom_backward_hook
Creates a custom backward hook via attaching a gradient-triggered hook to the output tensor(s) of a module during a post-forw
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/megatron_fsdp.py:815
Method
create_local_plan
Runs additional shapes validation.
Megatron-LM/megatron/core/dist_checkpointing/strategies/torch.py:647
Function
create_masked_lm_predictions
Creates the predictions for the masked LM objective. Note: Tokens here are vocab ids and not text tokens.
Megatron-LM/megatron/legacy/data/dataset_utils.py:176
Function
create_mock_caption
Create a simple mock caption. Returns: A simple caption string
Megatron-LM/examples/mimo/data/mock.py:28
← previous
next →
7,001–7,100 of 10,561, ranked by callers