MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:507
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/search.py:207
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:619
↓ 1 callersFunctionmain
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/execute_bash.py:31
↓ 1 callersFunctionmatch_dockerimage_to_repo
(docker_image: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/utils/utils.py:316
↓ 1 callersMethodmodel_query
Query the LLM with the messages and measure execution time.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:654
↓ 1 callersMethodmodified_entities
( self, allow_test_file=True, ignore_statements=True )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:581
↓ 1 callersFunctionmodified_entity_test_modification
(commit: ParsedCommit)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/commit_data_heuristics.py:98
↓ 1 callersMethodnum_added_entities
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:112
↓ 1 callersMethodnum_class_entities
(self, allow_test_file=True)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:614
↓ 1 callersMethodnum_deleted_entities
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:116
↓ 1 callersMethodnum_function_entities
(self, allow_test_file=True)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:608
↓ 1 callersMethodnum_statement_entities
(self, allow_test_file=True)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/diff_classes.py:620
↓ 1 callersMethodparse_bash_functions
Simple logic for parsing a bash file and segmenting it into functions. Assumes that all functions have their name and opening curly
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/commands.py:111
↓ 1 callersMethodparse_command_file
Define how to parse a file into a list of commands.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/commands.py:63
↓ 1 callersMethodparse_file_diff_content
(self, file_diff: FileDiff, line: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/parse_diff.py:143
↓ 1 callersMethodparse_file_diff_header
( self, header: str, old_commit_hash: str, new_commit_hash: str, repo_
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/parse_diff.py:93
↓ 1 callersMethodparse_git_diff
( self, old_commit_hash: str, new_commit_hash: str, diff_text: str, co
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/parse_diff.py:22
↓ 1 callersMethodparse_hunk_header
(self, header: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/parse_diff.py:158
↓ 1 callersMethodparse_hunk_line
Parses a single line within a hunk and updates the LineGroup accordingly. Returns the updated state.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/parse_diff.py:177
↓ 1 callersFunctionparse_log_pytest
Parser for test logs generated with Sympy framework Args: log (str): log content Returns: dict: test case to test status
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/execution_log_parser.py:4
↓ 1 callersMethodparse_log_smith
Parser for test logs generated with Sympy framework Args: log_output (str): log content Returns: dic
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1924
↓ 1 callersMethodparse_logs
(self, log_output: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1959
↓ 1 callersFunctionparse_pytest_output
Parse pytest output and map test names to their complete error messages. :param output: Full pytest output as a string :return: Dictiona
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/parse_pytest.py:5
↓ 1 callersFunctionparse_response_v2
Extracts: - thought: everything before the first <function=...> block - action: the entire first <function=...></function> block Retu
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/extract_action.py:9
↓ 1 callersMethodparse_response_v2
Extracts: - thought: everything before the first <function=...> block - action: the entire first <function=...></function> bl
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:778
↓ 1 callersMethodparse_script_markdown
Look for triple-quoted docstring blocks. If found, extract them as a docstring. We store it in a minimal dict structure, or p
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/commands.py:201
↓ 1 callersMethodparse_script_yaml
(self, path, contents)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/commands.py:162
↓ 1 callersFunctionpprint_entity
Pretty-prints the given entity.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/entity_utils.py:166
↓ 1 callersFunctionpre_pull_docker_images
Pre-pull Docker images using multithreading with retries and progress monitoring. Args: image_list (List[str]): List of Docker image
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:488
↓ 1 callersFunctionprepull_docker_images
Prepulls all Docker images in parallel before starting the main execution. Args: ds_selected: List of dataset entries containing
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/run/edit.py:93
↓ 1 callersFunctionprocess_directory
(directory: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/process_aiohttp_updateasyncio.py:17
↓ 1 callersFunctionrandom_issue_combination
()
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/issues/combined_issue.py:178
↓ 1 callersMethodread_file
(self, rel_file_path: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1743
↓ 1 callersMethodrelease_client
Release client (decrease usage count)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:128
↓ 1 callersFunctionrepo_heuristics
(repo_name: str, repo_path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/repo_testheuristics.py:60
↓ 1 callersMethodreset
Resets the environment and returns an initial observation.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:63
↓ 1 callersMethodreset
Reset the agent's trajectory.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:144
↓ 1 callersMethodreset_swesmith_tests
Reorganize SWE-smith test flow: 1. First stash save current AI fix code 2. Switch to parent commit (bug state) 3. App
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:887
↓ 1 callersFunctionrevalidate_docker
( repo_name: str, docker_image: str, old_exec_result: ExecutionResult, ds: dict, issue_log
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:162
↓ 1 callersMethodrun
(self, test)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/tornado_unittest_runner.py:134
↓ 1 callersMethodrun_action
(self, action: Action, timeout: int)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:145
↓ 1 callersFunctionrun_agent_with_restarts
Iterative eval protocol: - normally run the agent - run for maximum num_iterations = 3 times - stop if trajectory.exit_reason == "age
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/run/edit.py:201
↓ 1 callersFunctionrun_command
(cmd)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/bash.py:16
↓ 1 callersFunctionrun_command
(cmd)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/execute_bash.py:16
↓ 1 callersFunctionrun_command
(cmd)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/execute_bash.py:16
↓ 1 callersMethodrun_swebv_regression
( self, run_tests_regression: str | None = None, timeout: int = 300 )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:2255
↓ 1 callersFunctionrun_test_patch
Applies a patch in the given environment, runs a test command, and computes the predicted reward. If the output contains the word 'resolved'
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/verifiers/run_reproduction_tests.py:35
↓ 1 callersFunctionsafe_read_jsonl
Safely read JSONL file, skipping lines with parsing errors
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/run/edit.py:24
↓ 1 callersFunctionsave_history
Save the file edit history to STATE_FILE as JSON.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:119
↓ 1 callersFunctionsave_history
Save the file edit history to STATE_FILE as JSON.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:122
↓ 1 callersFunctionsave_history
Save the file edit history to STATE_FILE as JSON.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:119
↓ 1 callersFunctionsearch_in_directory
Searches for `search_term` in all non-hidden files under `directory` (or only in .py files if `python_only=True`), excluding hidden directori
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/search.py:21
↓ 1 callersFunctionsearch_in_file
Uses grep -n to search for `search_term` in a single file. Prints lines (with line numbers) where matches occur.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/search.py:147
↓ 1 callersMethodsetup_env
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1137
↓ 1 callersMethodsetup_env_swebench
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1057
↓ 1 callersMethodsetup_env_swebench_live
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1099
↓ 1 callersMethodsetup_env_swesmith
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:1014
↓ 1 callersFunctionsetup_venv
(temp_repo_dir: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/repo_testextract.py:53
↓ 1 callersFunctionsmart_sparse_search
Iterate over Python x NumPy x Cython x setuptools x versioneer, looking for the first successful build. Return a dict with the successful
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/get_pandas_install_commands.py:231
↓ 1 callersMethodstartTestRun
Called once before all tests.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/unittest_custom_runner.py:19
↓ 1 callersMethodstartTestRun
Called once before all tests.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/tornado_unittest_runner.py:19
↓ 1 callersMethodstep
Executes an action (command) in the Docker container. Runs an action proposed by the agent in the environment and returns the corresp
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:173
↓ 1 callersMethodstopTestRun
Called once after all tests are done.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/unittest_custom_runner.py:30
↓ 1 callersMethodstopTestRun
Called once after all tests are done.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/tornado_unittest_runner.py:30
↓ 1 callersMethodstr_replace
(self, path: Path, old_str: str, new_str: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:468
↓ 1 callersMethodstr_replace
(self, path: Path, old_str: str, new_str: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:353
↓ 1 callersMethodstr_replace
(self, path: Path, old_str: str, new_str: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:468
↓ 1 callersFunctionsubmit
Submits completion signal.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/submit.py:13
↓ 1 callersFunctionsubmit
Submits a final result, printing a message that includes the result.
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/finish.py:19
↓ 1 callersFunctionswebench_report
(ds, test_output)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/trajectory/swebench_utils.py:70
↓ 1 callersFunctiontransform_file
(filepath: str)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/process_aiohttp_updateasyncio.py:4
↓ 1 callersMethodundo_edit
(self, path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:561
↓ 1 callersMethodundo_edit
(self, path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:446
↓ 1 callersMethodundo_edit
(self, path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:558
↓ 1 callersFunctionvalidate_docker
( repo_name: str, docker_image: str, ds: dict, gt_patch: str, issue_logger: Logger )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/repo_analysis/validate_docker_and_hf.py:104
↓ 1 callersMethodvalidate_path
(self, command: str, path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:183
↓ 1 callersMethodvalidate_path
(self, command: str, path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:181
↓ 1 callersMethodvalidate_path
(self, command: str, path: Path)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:183
↓ 1 callersMethodview
If path is a directory, list contents (2 levels deep, excluding hidden). If path is a file, optionally use the 'concise' approach for
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:205
↓ 1 callersMethodview
If path is a directory, list contents (2 levels deep, excluding hidden). If path is a file, display the file contents with line numbe
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:203
↓ 1 callersMethodview
If path is a directory, list contents (2 levels deep, excluding hidden). If path is a file, optionally use the 'concise' approach for
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:205
MethodPrecacheSandboxImages
(self,image_url_list: list[str])
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:646
Method__eq__
(self, other: "Entity")
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/entity_utils.py:37
Method__hash__
(self)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/entity_utils.py:28
Method__init__
(self, parsed_commit: ParsedCommit)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/commit_models/commit_to_ast.py:24
Method__init__
(self, *args, **kwargs)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/unittest_custom_runner.py:11
Method__init__
(self, *args, **kwargs)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/install_utils/tornado_unittest_runner.py:11
Method__init__
(self, output: str, error: str = "")
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:94
Method__init__
( self, file_history: Dict[str, List[str]], enable_linting: bool = False )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/file_editor.py:146
Method__init__
(self, output: str, error: str = "")
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:97
Method__init__
( self, file_history: Dict[str, List[str]], enable_linting: bool = False )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/str_replace_editor.py:145
Method__init__
(self, output: str, error: str = "")
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:94
Method__init__
( self, file_history: Dict[str, List[str]], enable_linting: bool = False )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/tools/r2egym/file_editor.py:146
Method__init__
(self, args: EnvArgs, logger=None, backend: str = "docker",
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/environment/env.py:29
Method__init__
( self, function_name: str, parameters: Dict[str, str], function_id: str = None )
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/action/action.py:19
Method__init__
(self, bash_output, error_code, action: Action, num_lines: int=40)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/observation/observation.py:8
Method__init__
(self, max_clients_per_host=10)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:85
Method__init__
( self, ds, # dataset entry: defaulting to this (required for all dockers moving forward)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/runtime/docker.py:207
Method__init__
(self, name: str, args: AgentArgs, logger=None)
IQuest-Coder-Eval/SWE-Verified/R2E-Gym/src/r2egym/agenthub/agent/agent.py:60
← previousnext →201–300 of 543, ranked by callers