MCPcopy Create free account

hub / github.com/IQuestLab/IQuest-Coder-V1 / functions

Functions543 in github.com/IQuestLab/IQuest-Coder-V1

↓ 1 callersMethod_calculate_reward_swesmith
(self, get_test_output=False, timeout: int = 300)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1972
↓ 1 callersMethod_copy_to_container_kubernetes
Copy a file or directory from host into Kubernetes pod using tar over exec.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1659
↓ 1 callersMethod_copy_to_container_sandbox
Copy a file or directory from host into Sandbox using tar over exec.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1611
↓ 1 callersMethod_get_container_name
Return name of container
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:409
↓ 1 callersMethod_get_elided_lines
Parse the Python file with the built-in 'ast' module to skip large function bodies (≥ 5 lines). Return a list of (zero_based_
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:352
↓ 1 callersMethod_get_elided_lines
Parse the Python file with the built-in 'ast' module to skip large function bodies (≥ 5 lines). Return a list of (zero_based_
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:352
↓ 1 callersMethod_is_shebang_script
Checks if the given file starts with a shebang (#!). Args: cmd_file: Path to the command file. Returns:
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:131
↓ 1 callersMethod_run_kubernetes
Kubernetes-specific method to execute code or commands in the pod, with a timeout. Mirrors the logic of the original Docker `run` met
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1223
↓ 1 callersMethod_run_sandbox
Sandbox-specific method to execute code or commands in the sandbox, with a timeout.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1312
↓ 1 callersMethod_start_kubernetes_pod
Starts or connects to a Kubernetes pod with the specified configuration. If a pod with the given name already exists, it attempts to
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:472
↓ 1 callersMethod_start_sandbox
Create Sandbox, specify instance TOS Bucket remote directory and image
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:696
↓ 1 callersMethod_stop_kubernetes_pod
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:809
↓ 1 callersMethod_stop_sandbox
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:798
↓ 1 callersFunctionadd_regression_output
(trajectories: list[Trajectory], max_workers: int = 42)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/verifiers/run_regression_tests.py:63
↓ 1 callersFunctionadd_reproduction_tests
(trajectories: list[Trajectory], max_workers: int = 32)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/verifiers/run_reproduction_tests.py:158
↓ 1 callersMethodadded_entities
( self, allow_test_file=True, ignore_statements=True )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:567
↓ 1 callersMethodanalyze_file
Analyze a single file in the commit. Loads the 'before' and 'after' versions of the file For each file, load the entities in
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/commit_to_ast.py:35
↓ 1 callersMethodanalyze_hunk
Analyze a single hunk in the commit. Determine the entities affected by the hunk. Uses the entities in the 'before' and 'afte
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/commit_to_ast.py:83
↓ 1 callersMethodapply_llm_summarizing_condensation
Apply LLMSummarizingCondenser compression logic Similar to LLMSummarizingCondenser: - Keep head messages (system + i
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:364
↓ 1 callersFunctionbugedit_type_commit
(commit: ParsedCommit, args: RepoAnalysisLoadArgs)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/commit_data_heuristics.py:34
↓ 1 callersFunctionbuild_bokeh_with_versions
Attempt to build the local checkout of bokeh using a new .venv with specified versions of Python and dependencies. Returns True if the bu
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_bokeh_install_commands.py:105
↓ 1 callersFunctionbuild_pandas_with_versions
Attempt to build the local checkout of pandas using a new .venv with specified versions of Python, NumPy, Cython, setuptools, and versioneer.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_pandas_install_commands.py:154
↓ 1 callersFunctionbuild_single_commit
Clones the bokeh repo at the specified commit hash into a temporary directory, runs the matrix search, and saves the result to a file. Re
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_bokeh_install_commands.py:373
↓ 1 callersFunctionbuild_single_version
Clones the bokeh repo at version_tag into a temporary directory, runs the matrix search, and saves the result to a file. Returns True if
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_bokeh_install_commands.py:316
↓ 1 callersFunctionbuild_syn_issue
( commit: ParsedCommit, execution_result: ExecutionResult, args: RepoAnalysisTestExtractArgs,
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/build_syn_issue.py:190
↓ 1 callersMethodcalculate_reward
Basic reward calculation based on command success.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:229
↓ 1 callersFunctioncheck_image_in_registry
Check if image exists in Docker Hub
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/docker_bash_utils/docker_list_tags_remove_local.py:23
↓ 1 callersMethodcheckout
(self, commit_hash: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1762
↓ 1 callersMethodcleanup
Clean up all client connections
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:141
↓ 1 callersFunctioncleanup_docker_client_pool
Clean up global Docker client pool
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:156
↓ 1 callersFunctioncollect_rows
( repo_name, docker_images, max_workers=100, debug=False, collect_timeout=400 )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:557
↓ 1 callersFunctioncompute_total_tokens
Compute the total number of tokens in the training data entry Args: training_data_entry: e.g., [{'role': 'system
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/verifiers/prepare_ef_verifier_input.py:70
↓ 1 callersFunctionconstruct_class_from_entity
(entity: Entity, file: File)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/r2e_utils.py:23
↓ 1 callersFunctionconstruct_file_from_path
(file_path: Path, repo: Repo)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/r2e_utils.py:18
↓ 1 callersFunctionconstruct_function_from_entity
(entity: Entity, file: File)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/r2e_utils.py:29
↓ 1 callersFunctionconstruct_repo_from_path
(repo_root: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/r2e_utils.py:8
↓ 1 callersMethodcreate
(self, path: Path, file_text: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:332
↓ 1 callersMethodcreate
(self, path: Path, file_text: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:447
↓ 1 callersFunctioncreate_swebench_submission_from_trajectory
(trajectory: Trajectory)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/trajectory/create_swebench_submission.py:8
↓ 1 callersFunctioncreate_tests
( temp_repo_dir: Path, test_codes: list[str], test_code_files: list[str] )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/repo_testextract.py:27
↓ 1 callersMethodcustom_parser
(self, response)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:806
↓ 1 callersFunctiondeepswe_condense_thoughts
If the token count of input_str exceeds max_tokens, then starting with the second [ASSISTANT]...[/ASSISTANT] block (the oldest after the firs
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/verifiers/prepare_ef_verifier_input.py:13
↓ 1 callersFunctiondelete_local_image
Delete local Docker image
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/docker_bash_utils/docker_list_tags_remove_local.py:34
↓ 1 callersMethoddeleted_entities
( self, allow_test_file=True, ignore_statements=True )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:574
↓ 1 callersMethoddemux_run
( self, code: str, timeout: int = CMD_TIMEOUT, args: str = "", workdir=None )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1575
↓ 1 callersFunctionextract_actions
Extract actions from assistant messages in a JSON file and save to a new JSON file Args: input_json: Input JSON file path
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/extract_action.py:34
↓ 1 callersFunctionextract_issue
(model_output: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/build_syn_issue.py:12
↓ 1 callersFunctionextract_test_fn
(execution_result: ExecutionResult)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/build_syn_issue.py:23
↓ 1 callersFunctionextract_test_fn_old_asserts
(execution_result: ExecutionResult)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/build_syn_issue.py:63
↓ 1 callersFunctionfetch_docker_tags_for_repo
(repo_name: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:69
↓ 1 callersFunctionfetch_repos_from_docker_images
Fetches the list of repositories from the provided Docker images. Args: ds_selected: dataset containing docker_image keys do
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/run/edit.py:134
↓ 1 callersFunctionfile_relevance_filter
( repo_name: str, docker_image: str, ds: dict, parsed_commit: ParsedCommit, issue_logger:
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:218
↓ 1 callersFunctionfilediff_has_any_non_docstring_comment_change
(file_diff: FileDiff)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/commit_data_heuristics.py:44
↓ 1 callersMethodfind_improved_tests_formatted
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/execution_result_analysis.py:93
↓ 1 callersFunctionformat_tags
Format tag information for display
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/docker_bash_utils/docker_list_tags.py:48
↓ 1 callersMethodgenerate_llm_summary
Generate structured summary using LLM (referencing LLMSummarizingCondenser) Args: messages: Complete message lis
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:227
↓ 1 callersMethodget_client
Get Docker client with connection reuse support
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:91
↓ 1 callersFunctionget_docker_pool_stats
Get Docker client pool statistics
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:160
↓ 1 callersFunctionget_full_commit
Get the full commit hash for a repository at a specific commit.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/swesmith/utils.py:46
↓ 1 callersFunctionget_issues_for_repo
(repo_name: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:76
↓ 1 callersFunctionget_linked_pr
(commit_message, commit_hash, repo_path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/add_github_issue_to_commit.py:44
↓ 1 callersFunctionget_local_images
Get local Docker images and their tags
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/docker_bash_utils/docker_list_tags_remove_local.py:10
↓ 1 callersMethodget_patch
( self, test_file: bool = True, non_test_file: bool = True, include_files: lis
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:307
↓ 1 callersFunctionget_recent_commits
Get the most recent n commits from the Bokeh repository.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_bokeh_install_commands.py:431
↓ 1 callersFunctionget_repo_name
Get the SWE-smith GitHub repository name for a repository at a specific commit.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/swesmith/utils.py:21
↓ 1 callersFunctionget_resolved_issues
Get the conversation for a pull request. Goal: capture any information that might be related to testing the PR's performance. Note: this is
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/add_github_issue_to_commit.py:83
↓ 1 callersMethodget_signature
(cmd)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/commands.py:281
↓ 1 callersMethodget_task_instruction
Returns the task instructions for the environment.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:199
↓ 1 callersFunctionget_test_paths
Get all testing file paths relative to the given directory.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/swesmith/utils.py:27
↓ 1 callersFunctionget_top_level_entities
Parses Python source code and returns a list of dictionaries containing information about each top-level entity: treats class methods as
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/entity_utils.py:70
↓ 1 callersFunctionhandle_aiohttp_makefile
(repo_path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/repo_testheuristics.py:43
↓ 1 callersFunctionhandle_pyramid_import
(repo_path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/repo_testheuristics.py:5
↓ 1 callersMethodinsert
(self, path: Path, insert_line: int, new_str: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:511
↓ 1 callersMethodinsert
(self, path: Path, insert_line: int, new_str: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:396
↓ 1 callersMethodinsert
(self, path: Path, insert_line: int, new_str: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:509
↓ 1 callersFunctionissue_test_added
(commit: ParsedCommit)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/commit_data_heuristics.py:87
↓ 1 callersFunctionload_commits_from_files
( commit_files: list[str], load_run_parallel: bool = False, n_cpus: int = 1 )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/load_repo_commits.py:61
↓ 1 callersFunctionload_history
Load the file edit history from STATE_FILE if it exists.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:104
↓ 1 callersFunctionload_history
Load the file edit history from STATE_FILE if it exists.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:107
↓ 1 callersFunctionload_history
Load the file edit history from STATE_FILE if it exists.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:104
↓ 1 callersFunctionload_reproduction_tests
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/verifiers/run_reproduction_tests.py:149
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/docker_bash_utils/docker_list_tags.py:60
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/docker_bash_utils/docker_list_tags_remove_local.py:45
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/unittest_custom_runner.py:143
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_numpy_install_commands.py:109
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/tornado_unittest_runner.py:151
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_pandas_install_commands.py:335
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_bokeh_install_commands.py:451
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/store_repo_commits.py:98
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/recollect_issues.py:33
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/add_github_issue_to_commit.py:143
↓ 1 callersFunctionmain
(args: RepoAnalysisTestExtractArgs)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/repo_testextract.py:435
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:606
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/collect_issue_content.py:59
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/bash.py:31
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/search_dir.py:20
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:622
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/submit.py:20
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/finish.py:31
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/execute_bash.py:31
← previousnext →101–200 of 543, ranked by callers