SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
322 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | sweagent/agent/problem_statement.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/agent/problem_statement.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/agent/problem_statement.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/agent/problem_statement.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/agent/problem_statement.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/environment/repo.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/environment/repo.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/environment/repo.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/environment/repo.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/run/batch_instances.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/run/batch_instances.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/run/batch_instances.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/run/batch_instances.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/run/batch_instances.py | 0 | discriminator for (de)serialization/cli. do not change. |
| HIGH | sweagent/agent/problem_statement.py | 0 | any additional data to be added to the instance. this data will be available when formatting prompt templates. |
| HIGH | sweagent/agent/problem_statement.py | 0 | any additional data to be added to the instance. this data will be available when formatting prompt templates. |
| HIGH | sweagent/agent/problem_statement.py | 0 | any additional data to be added to the instance. this data will be available when formatting prompt templates. |
| HIGH | sweagent/agent/problem_statement.py | 0 | any additional data to be added to the instance. this data will be available when formatting prompt templates. |
| HIGH | sweagent/run/batch_instances.py | 0 | any additional data to be added to the instance. this data will be available when formatting prompt templates. |
| HIGH | sweagent/environment/repo.py | 0 | the commit to reset the repository to. the default is head, i.e., the latest commit. you can also set this to a branch n |
| HIGH | sweagent/environment/repo.py | 0 | the commit to reset the repository to. the default is head, i.e., the latest commit. you can also set this to a branch n |
| HIGH | sweagent/environment/repo.py | 0 | the commit to reset the repository to. the default is head, i.e., the latest commit. you can also set this to a branch n |
| HIGH | sweagent/environment/repo.py | 0 | issued after the copy operation or when the environment is reset. |
| HIGH | sweagent/environment/repo.py | 0 | issued after the copy operation or when the environment is reset. |
| HIGH | sweagent/environment/repo.py | 0 | issued after the copy operation or when the environment is reset. |
| HIGH | sweagent/run/batch_instances.py | 0 | regular expression to filter the instances by instance id. |
| HIGH | sweagent/run/batch_instances.py | 0 | regular expression to filter the instances by instance id. |
| HIGH | sweagent/run/batch_instances.py | 0 | regular expression to filter the instances by instance id. |
| HIGH | sweagent/run/batch_instances.py | 0 | regular expression to filter the instances by instance id. |
| HIGH | sweagent/run/batch_instances.py | 0 | regular expression to filter the instances by instance id. |
| HIGH | sweagent/run/batch_instances.py | 0 | shuffle the instances (before filtering and slicing). |
| HIGH | sweagent/run/batch_instances.py | 0 | shuffle the instances (before filtering and slicing). |
| HIGH | sweagent/run/batch_instances.py | 0 | shuffle the instances (before filtering and slicing). |
| HIGH | sweagent/run/batch_instances.py | 0 | shuffle the instances (before filtering and slicing). |
| HIGH | sweagent/run/batch_instances.py | 0 | shuffle the instances (before filtering and slicing). |
| HIGH | sweagent/run/batch_instances.py | 0 | select only a slice of the instances (after filtering by `filter`). possible values are stop or start:stop or start:stop |
| HIGH | sweagent/run/batch_instances.py | 0 | select only a slice of the instances (after filtering by `filter`). possible values are stop or start:stop or start:stop |
| HIGH | sweagent/run/batch_instances.py | 0 | select only a slice of the instances (after filtering by `filter`). possible values are stop or start:stop or start:stop |
| HIGH | sweagent/run/batch_instances.py | 0 | select only a slice of the instances (after filtering by `filter`). possible values are stop or start:stop or start:stop |
| HIGH | sweagent/run/run_replay.py | 0 | path to a .env file to load environment variables from. |
| HIGH | sweagent/run/run_single.py | 0 | path to a .env file to load environment variables from. |
| HIGH | sweagent/run/run_batch.py | 0 | path to a .env file to load environment variables from. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/web_browser/lib/web_browser_utils.py | 98 | def _print_response_with_metadata(response): |
| LOW | tools/web_browser/lib/web_browser_utils.py | 120 | def _autosave_screenshot_from_response(response, mode): |
| LOW | tests/test_run_batch.py | 49 | def test_empty_instances_simple(test_data_sources_path: Path, tmp_path: Path): |
| LOW | tests/test_run_batch.py | 69 | def test_empty_instances_expert(test_data_sources_path: Path, tmp_path: Path): |
| LOW | tests/test_run_batch.py | 93 | # def test_run_batch_swe_bench_instances(tmp_path: Path): |
| LOW | tests/test_parsing.py | 29 | def test_thought_action_parser(): |
| LOW | tests/test_parsing.py | 39 | def test_xml_thought_action_parser(): |
| LOW | tests/test_parsing.py | 83 | def test_function_calling_parser(): |
| LOW | tests/test_parsing.py | 128 | def test_function_calling_parser_error_message(): |
| LOW | tests/test_utils.py | 9 | def test_convert_path_to_abspath(): |
| LOW | tests/test_utils.py | 14 | def test_convert_paths_to_abspath(): |
| LOW | tests/conftest.py | 40 | def test_ctf_trajectories_path(test_data_path) -> Path: |
| LOW | tests/conftest.py | 123 | def swe_agent_test_repo_clone(tmp_path): |
| LOW | tests/test_batch_instance.py | 11 | def test_simple_batch_from_swe_bench_to_full_batch_instance(test_data_sources_path): |
| LOW | tests/test_batch_instance.py | 34 | def test_get_swe_bench_instances(): |
| LOW | tests/test_agent.py | 31 | def thought_action_agent_config(): |
| LOW | tests/test_agent.py | 41 | def function_calling_agent_config(): |
| LOW | tests/test_agent.py | 149 | def test_run_step_by_step_checking_history(dummy_env: SWEEnv, default_agent: DefaultAgent, tmp_path): |
| LOW | tests/test_agent.py | 211 | def test_show_no_output_template(dummy_env: SWEEnv, default_agent: DefaultAgent, tmp_path): |
| LOW | tests/test_agent.py | 224 | def test_successful_submission(dummy_env: SWEEnv, default_agent: DefaultAgent, tmp_path): |
| LOW | tests/test_swesmith.py | 25 | def test_with_mirror_and_token(self): |
| LOW | tests/test_swesmith.py | 38 | def test_with_mirror_no_token(self): |
| LOW | tests/test_swesmith.py | 116 | def test_other_http_error_raises(self, mock_urlopen): |
| LOW | tests/test_swesmith.py | 191 | def test_private_repo_no_token_raises(self, mock_private, tmp_path): |
| LOW | tests/test_run_hooks.py | 15 | def open_pr_hook_init_for_sop(): |
| LOW | tests/test_run_hooks.py | 33 | def test_should_open_pr_fail_submission(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 39 | def test_should_open_pr_fail_exit(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 45 | def test_should_open_pr_fail_invalid_url(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 51 | def test_should_open_pr_fail_closed(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 57 | def test_should_open_pr_fail_assigned(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 63 | def test_should_open_pr_fail_locked(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 69 | def test_should_open_pr_fail_has_pr(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 75 | def test_should_open_pr_success_has_pr_override(open_pr_hook_init_for_sop, agent_run_result): |
| LOW | tests/test_run_hooks.py | 82 | def test_save_apply_patch_hook_concurrent_workers_save_to_correct_dirs(tmp_path): |
| LOW | tests/test_run.py | 6 | def test_run_cli_no_arg_error(): |
| LOW | tests/test_run.py | 30 | def test_run_cli_subcommand_help(): |
| LOW | tests/test_env.py | 21 | def test_init_swe_env_conservative_clone(test_env_args): |
| LOW | tests/test_env.py | 51 | def test_env_communicate_with_handling(test_env_args): |
| LOW | tests/test_env.py | 57 | def test_env_communicate_with_handling_timeout(test_env_args): |
| LOW | tests/test_env.py | 64 | def test_env_interrupt_session(test_env_args): |
| LOW | tests/test_run_single.py | 24 | def test_run_single_raises_exception(): |
| LOW | tests/test_run_single.py | 33 | def agent_config_with_commands(): |
| LOW | tests/test_run_single.py | 84 | def test_run_ies_repo_ps_matrix( |
| LOW | tests/utils.py | 7 | def make_python_tool_importable(file_path: str | Path, module_name: str | None = None) -> None: |
| LOW | tests/test_tools_command_parsing.py | 6 | def test_command_parsing_formats(): |
| LOW | tests/test_tools_command_parsing.py | 82 | def test_argument_name_patterns(): |
| LOW | tests/test_tools_command_parsing.py | 107 | def test_signature_argument_consistency(): |
| LOW | tests/test_tools_command_parsing.py | 131 | def test_function_calling_tool_generation(): |
| LOW | tests/test_tools_command_parsing.py | 176 | def test_custom_argument_format(): |
| LOW | tests/test_models.py | 41 | def test_user_agent_header_default(): |
| LOW | tests/test_models.py | 63 | def test_user_agent_header_preserves_existing(): |
| LOW | tests/test_models.py | 86 | def test_user_agent_header_with_other_extra_headers(): |
| LOW | tests/test_env_utils.py | 19 | def test_format_trajectory_markdown(test_trajectory): |
| LOW | tests/test_env_utils.py | 25 | def test_remove_triple_backticks(): |
| LOW | tests/test_env_utils.py | 44 | def test_parse_gh_repo_url_fails(): |
| LOW | tests/test_env_utils.py | 61 | def test_parse_gh_issue_url_fails(): |
| LOW | tests/test_env_utils.py | 73 | def test_get_associated_commit_urls(): |
| LOW | tests/test_quick_stats.py | 10 | def test_quick_stats_empty_directory(): |
| LOW | tests/test_quick_stats.py | 17 | def test_quick_stats_test_data(test_trajectories_path: Path): |
| LOW | tests/test_problem_statement_multimodal.py | 23 | def test_get_problem_statement_no_images(self): |
| 56 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/windowed/lib/windowed_file.py | 210 | print(f"Error: Text not found: {search}") |
| MEDIUM | tools/windowed/lib/windowed_file.py | 244 | print(f"Error: Text not found: {search}") |
| LOW | tools/web_browser/lib/web_browser_utils.py | 61 | except Exception as e: |
| MEDIUM | tools/web_browser/lib/web_browser_utils.py | 58 | def wrapper(*args, **kwargs): |
| LOW | tools/web_browser/lib/browser_manager.py | 230 | except Exception: |
| LOW | tools/web_browser/lib/browser_manager.py | 240 | except Exception: |
| LOW | tools/web_browser/lib/browser_manager.py | 247 | except Exception: |
| LOW | docs/usage/memory_sentinel.py | 134 | except Exception as e: |
| LOW | docs/usage/hello_world_output.txt | 187 | except Exception as e: |
| MEDIUM | docs/usage/hello_world_output.txt | 188 | print(f"Error: {type(e).__name__}: {e}")' |
| LOW | docs/usage/hello_world_output.txt | 333 | except Exception as e: |
| MEDIUM | docs/usage/hello_world_output.txt | 334 | print(f"Error: {type(e).__name__}: {e}")' --new_str 'if __name__ == "__main__": |
| LOW | docs/usage/hello_world_output.txt | 339 | except Exception as e: |
| MEDIUM | docs/usage/hello_world_output.txt | 340 | print(f"Error: {type(e).__name__}: {e}") |
| LOW | docs/usage/hello_world_output.txt | 346 | except Exception as e: |
| MEDIUM | docs/usage/hello_world_output.txt | 347 | print(f"Error: {type(e).__name__}: {e}") |
| LOW | docs/usage/hello_world_output.txt | 353 | except Exception as e: |
| MEDIUM | docs/usage/hello_world_output.txt | 354 | print(f"Error: {type(e).__name__}: {e}")' |
| MEDIUM | docs/usage/hello_world_output.txt | 370 | 13 print(f"Error: {type(e).__name__}: {e}") |
| MEDIUM | docs/usage/hello_world_output.txt | 377 | 20 print(f"Error: {type(e).__name__}: {e}") |
| MEDIUM | docs/usage/hello_world_output.txt | 384 | 27 print(f"Error: {type(e).__name__}: {e}") |
| MEDIUM | docs/usage/hello_world_output.txt | 516 | + print(f"Error: {type(e).__name__}: {e}") |
| MEDIUM | docs/usage/hello_world_output.txt | 523 | + print(f"Error: {type(e).__name__}: {e}") |
| MEDIUM | docs/usage/hello_world_output.txt | 530 | + print(f"Error: {type(e).__name__}: {e}") |
| LOW | sweagent/__init__.py | 57 | except Exception: |
| LOW | sweagent/__init__.py | 67 | except Exception: |
| LOW | sweagent/tools/tools.py | 283 | except Exception: |
| LOW | sweagent/inspector/static.py | 43 | except Exception as e: |
| LOW | sweagent/inspector/static.py | 82 | except Exception: |
| MEDIUM | sweagent/inspector/static.py | 49 | def _load_file(file_name, gold_patches, test_patches): |
| LOW | sweagent/utils/config.py | 26 | except Exception: |
| LOW | sweagent/agent/models.py | 745 | except Exception as e: |
| LOW | sweagent/agent/agents.py | 345 | except Exception as e: |
| LOW | sweagent/agent/agents.py | 371 | except Exception as e: |
| LOW | sweagent/agent/agents.py | 860 | except Exception as e: |
| LOW | sweagent/agent/agents.py | 891 | except Exception as e: |
| LOW | sweagent/agent/agents.py | 978 | except Exception as f: |
| LOW | sweagent/agent/agents.py | 1053 | except Exception as e: |
| LOW | sweagent/agent/agents.py | 1205 | except Exception as e: |
| LOW | sweagent/agent/problem_statement.py | 208 | except Exception as e: |
| LOW | sweagent/agent/problem_statement.py | 271 | except Exception as e: |
| LOW | sweagent/agent/reviewer.py | 256 | except Exception as e: |
| LOW | sweagent/agent/reviewer.py | 303 | except Exception as e: |
| LOW | sweagent/agent/reviewer.py | 342 | except Exception as e: |
| LOW | sweagent/agent/reviewer.py | 362 | except Exception as e: |
| LOW | sweagent/agent/reviewer.py | 430 | except Exception as e: |
| LOW | sweagent/run/quick_stats.py | 46 | except Exception as e: |
| LOW | sweagent/run/remove_unfinished.py | 30 | except Exception as e: |
| LOW | sweagent/run/run_batch.py | 319 | except Exception as e: |
| LOW | sweagent/run/run_batch.py | 365 | except Exception: |
| LOW | sweagent/run/run_batch.py | 402 | except Exception as e: |
| MEDIUM | sweagent/run/run_batch.py | 189 | def _model_id(self) -> str: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/windowed/lib/windowed_file.py | 1 | |
| LOW | tools/windowed/lib/windowed_file.py | 2 | |
| LOW | tools/windowed/lib/windowed_file.py | 4 | |
| LOW | tools/registry/lib/registry.py | 4 | |
| LOW | tools/registry/lib/registry.py | 4 | |
| LOW | tools/registry/lib/registry.py | 4 | |
| LOW | tools/web_browser/lib/web_browser_utils.py | 1 | |
| LOW | tools/web_browser/lib/browser_manager.py | 1 | |
| LOW | tools/web_browser/lib/web_browser_config.py | 1 | |
| LOW | tools/web_browser/lib/web_browser_config.py | 4 | |
| LOW | tests/test_parsing.py | 1 | |
| LOW | tests/test_utils.py | 1 | |
| LOW | tests/conftest.py | 1 | |
| LOW | tests/test_packaging.py | 1 | |
| LOW | tests/test_swesmith.py | 1 | |
| LOW | tests/test_run.py | 1 | |
| LOW | tests/test_env.py | 1 | |
| LOW | tests/test_run_single.py | 1 | |
| LOW | tests/test_run_replay.py | 1 | |
| LOW | tests/test_models.py | 1 | |
| LOW | tests/test_env_utils.py | 1 | |
| LOW | tests/test_quick_stats.py | 1 | |
| LOW | tests/tools/test_split_string.py | 1 | |
| LOW | tests/test_commands/_interactive_dummy.py | 2 | |
| LOW | tests/test_data/data_sources/ctf/crypto/Katy/solver.py | 1 | |
| LOW | sweagent/__init__.py | 1 | |
| LOW | sweagent/types.py | 7 | |
| LOW | sweagent/tools/bundle.py | 1 | |
| LOW | sweagent/tools/commands.py | 19 | |
| LOW | sweagent/inspector/server.py | 1 | |
| LOW | sweagent/inspector/static.py | 1 | |
| LOW | sweagent/utils/config.py | 1 | |
| LOW | sweagent/utils/log.py | 1 | |
| LOW | sweagent/agent/history_processors.py | 1 | |
| LOW | sweagent/agent/models.py | 1 | |
| LOW | sweagent/agent/agents.py | 1 | |
| LOW | sweagent/agent/reviewer.py | 5 | |
| LOW | sweagent/agent/hooks/abstract.py | 7 | |
| LOW | sweagent/run/run_traj_to_demo.py | 6 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 84 | \ return fi # Check if the file already exists if [ -e \"\ |
| LOW | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 94 | code: 'submit() { cd $ROOT # Check if the patch file exists and is non-empty if |
| LOW | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 144 | code: 'search_file() { # Check if the first argument is provided if [ |
| LOW | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 153 | file is open fi local file="$CURRENT_FILE" # Set file to the |
| LOW | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 156 | -nH -- "$search_term" "$file") # Check if no matches were found if [ |
| LOW | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 226 | "$CURRENT_FILE")_backup" # Read the file line by line into an array mapfile |
| LOW | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 85 | \ return fi # Check if the file already exists if [ -e \"\ |
| LOW | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 95 | code: 'submit() { cd $ROOT # Check if the patch file exists and is non-empty if |
| LOW | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 145 | code: 'search_file() { # Check if the first argument is provided if [ |
| LOW | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 154 | file is open fi local file="$CURRENT_FILE" # Set file to the |
| LOW | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 157 | -nH -- "$search_term" "$file") # Check if no matches were found if [ |
| LOW | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 227 | "$CURRENT_FILE")_backup" # Read the file line by line into an array mapfile |
| LOW | sweagent/tools/parsing.py | 155 | # Check if it's not nested within another block |
| LOW | sweagent/tools/parsing.py | 293 | # Check if all required arguments are there |
| LOW | sweagent/tools/parsing.py | 300 | # Check if all arguments are valid |
| LOW | sweagent/tools/parsing.py | 488 | # Check if required keys are present |
| LOW | sweagent/tools/parsing.py | 501 | # Check if required keys are present in 'command' object |
| LOW | sweagent/run/run_batch.py | 383 | # Check if there's an existing trajectory for this instance |
| LOW | sweagent/run/hooks/open_pr.py | 231 | # Check if adding this step would exceed the character limit |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | config/bash_only.yaml | 130 | ### Create a new file: |
| MEDIUM | tests/test_quick_stats.py | 19 | # Create a sample .traj file with required structure |
| MEDIUM | tests/test_quick_stats.py | 24 | # Create a minimal valid .traj file |
| MEDIUM | …_from_url__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 86 | \ return fi # Create the file an empty new line printf \"\\\ |
| MEDIUM | …__default__t-0.00__p-0.95__c-3.00__install-1/args.yaml | 87 | \ return fi # Create the file an empty new line printf \"\\\ |
| MEDIUM | sweagent/environment/swe_env.py | 62 | """This class represents the environment in which we solve the tasks. |
| MEDIUM | sweagent/run/rich_test.py | 39 | # Create a spinner for this task |
| MEDIUM | sweagent/run/common.py | 196 | """This class implements a basic CLI for SWE-agent. It is based on pydantic-settings, i.e., takes |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/web_browser/lib/browser_manager.py | 216 | |
| LOW | docs/usage/memory_sentinel.py | 95 | |
| LOW | sweagent/tools/parsing.py | 467 | |
| LOW | sweagent/tools/utils.py | 8 | |
| LOW | sweagent/tools/utils.py | 46 | |
| LOW | sweagent/inspector/server.py | 295 | |
| LOW | sweagent/inspector/server.py | 254 | |
| LOW | sweagent/inspector/static.py | 49 | |
| LOW | sweagent/inspector/static.py | 96 | |
| LOW | sweagent/utils/log.py | 57 | |
| LOW | sweagent/utils/log.py | 93 | |
| LOW | sweagent/utils/log.py | 160 | |
| LOW | sweagent/agent/history_processors.py | 320 | |
| LOW | sweagent/agent/models.py | 328 | |
| LOW | sweagent/agent/models.py | 875 | |
| LOW | sweagent/agent/models.py | 384 | |
| LOW | sweagent/agent/models.py | 840 | |
| LOW | sweagent/agent/problem_statement.py | 293 | |
| LOW | sweagent/agent/reviewer.py | 40 | |
| LOW | sweagent/run/run.py | 70 | |
| LOW | sweagent/run/compare_runs.py | 69 | |
| LOW | sweagent/run/run_batch.py | 268 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | sweagent/tools/tools.py | 250 | # -------------------- |
| MEDIUM | sweagent/tools/tools.py | 315 | # ------------- |
| MEDIUM | sweagent/tools/tools.py | 370 | # ----------------------------- |
| MEDIUM | sweagent/agent/history_processors.py | 20 | # ----------------- |
| MEDIUM | sweagent/agent/history_processors.py | 71 | # ------------------ |
| MEDIUM | sweagent/agent/agents.py | 522 | # ---------- |
| MEDIUM | sweagent/agent/reviewer.py | 579 | # ---------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | config/default_backticks.yaml | 2 | # This template is heavily inspired by anthropic's computer use demo, but you can use |
| MEDIUM | config/default.yaml | 2 | # This template is heavily inspired by anthropic's computer use demo, but you can use |
| MEDIUM | config/demo/no_instructions.yaml | 2 | # This template is heavily inspired by anthropic's computer use demo, but you can use |
| MEDIUM | config/demo/only_bash.yaml | 2 | # This template is heavily inspired by anthropic's computer use demo, but you can use |
| MEDIUM | config/demo/default.yaml | 2 | # This template is heavily inspired by anthropic's computer use demo, but you can use |
| MEDIUM | config/benchmarks/anthropic_filemap_multilingual.yaml | 1 | # This template is heavily inspired by anthropic, but you can use it with any LM. It is almost |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/test_data/data_sources/debug_20240322.json | 1 | [{"repo": "scikit-learn/scikit-learn", "instance_id": "scikit-learn__scikit-learn-11574", "base_commit": "dd69361a0d9c6c |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mkdocs.yml | 161 | - assets/mkdocstrings.css |
| LOW | mkdocs.yml | 181 | # note: >- |
| LOW | tests/test_run_batch.py | 101 | # "test", |
| LOW | tests/tools/test_default_utils.py | 101 | # cmd = f"{sys.executable} {DEFAULT_TOOLS_BIN}/goto 50" |
| LOW | …test_data/data_sources/ctf/misc/networking_1/README.md | 1 | # Networking 1 |
| LOW | .devcontainer/sample_keys.cfg | 1 | # All keys are commented out by default. Make sure to remove the leading '#' of the relevant lines |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/installation/keys.md | 29 | See the following links for tutorials on obtaining [Anthropic](https://docs.anthropic.com/en/api/getting-started), [Open |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | sweagent/agent/agents.py | 856 | submission_command = "git add -A && git diff --cached > /root/model.patch" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | sweagent/agent/problem_statement.py | 219 | Download an image from URL and convert it to base64 markdown format. Args: url: The URL of the imag |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/usage/memory_sentinel.py | 13 | Script was generated by Claude 3.7 with the following prompt: |