The 100 line AI agent that solves GitHub issues or helps you in your command line. Radically simple, no huge configs, no giant monorepo—but scores >74% on SWE-bench verified!
This report summarizes scanner evidence for SWE-agent/mini-swe-agent, a Python project with 8,395 GitHub stars. SynthScan examined 23,493 lines of code across 213 source files, recording 603 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 44.9 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 459 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 560 finding(s).
Which changes need focused human review? 603 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 603 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 43 | def _get_container_executable() -> str | None: | CODE |
| LOW | tests/conftest.py | 99 | def assert_observations_match(expected_observations: list[str], messages: list[dict]) -> None: | CODE |
| LOW⚡ | tests/test_fire.py | 90 | def test_litellm_toolcall_explicit(): | CODE |
| LOW⚡ | tests/test_fire.py | 97 | def test_litellm_response_toolcall(): | CODE |
| LOW⚡ | tests/test_fire.py | 109 | def test_openrouter_textbased(): | CODE |
| LOW⚡ | tests/test_fire.py | 125 | def test_openrouter_response_toolcall(): | CODE |
| LOW | tests/config/test_swebench_template.py | 19 | def test_observation_template_short_output(): | CODE |
| LOW | tests/config/test_swebench_template.py | 57 | def test_observation_template_long_output(): | CODE |
| LOW | tests/config/test_swebench_template.py | 174 | def test_agent_config_requires_templates(): | CODE |
| LOW | tests/config/test_init.py | 23 | def test_simple_string_with_quotes(self): | CODE |
| LOW | tests/config/test_init.py | 29 | def test_nested_multiple_levels(self): | CODE |
| LOW⚡ | tests/config/test_init.py | 91 | def test_empty_key_raises_value_error(self, config_spec): | CODE |
| LOW⚡ | tests/config/test_init.py | 99 | def test_uses_key_value_spec_for_equals_sign(self): | CODE |
| LOW⚡ | tests/config/test_init.py | 103 | def test_uses_key_value_spec_with_number(self): | CODE |
| LOW⚡ | tests/config/test_init.py | 107 | def test_loads_yaml_file_when_no_equals(self, tmp_path): | CODE |
| LOW | tests/config/test_init.py | 137 | def test_all_builtin_configs_findable_by_name(yaml_file): | CODE |
| LOW | tests/environments/test_singularity.py | 20 | def test_singularity_environment_config_defaults(): | CODE |
| LOW | tests/environments/test_singularity.py | 36 | def test_singularity_environment_basic_execution(): | CODE |
| LOW | tests/environments/test_singularity.py | 48 | def test_singularity_environment_set_env_variables(): | CODE |
| LOW | tests/environments/test_singularity.py | 67 | def test_singularity_environment_forward_env_variables(): | CODE |
| LOW | tests/environments/test_singularity.py | 85 | def test_singularity_environment_forward_nonexistent_env_variables(): | CODE |
| LOW | tests/environments/test_singularity.py | 96 | def test_singularity_environment_combined_env_and_forward(): | CODE |
| LOW | tests/environments/test_singularity.py | 110 | def test_singularity_environment_env_override_forward(): | CODE |
| LOW | tests/environments/test_singularity.py | 125 | def test_singularity_environment_custom_cwd(): | CODE |
| LOW | tests/environments/test_singularity.py | 136 | def test_singularity_environment_cwd_parameter_override(): | CODE |
| LOW | tests/environments/test_singularity.py | 147 | def test_singularity_environment_command_failure(): | CODE |
| LOW | tests/environments/test_singularity.py | 157 | def test_singularity_environment_timeout(): | CODE |
| LOW⚡ | tests/environments/test_singularity.py | 169 | def test_singularity_environment_writable_sandbox(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 15 | def test_local_environment_config_defaults(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 24 | def test_local_environment_basic_execution(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 33 | def test_local_environment_set_env_variables(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 59 | def test_local_environment_env_variable_override(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 69 | def test_local_environment_custom_cwd(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 79 | def test_local_environment_cwd_parameter_override(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 90 | def test_local_environment_default_cwd(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 100 | def test_local_environment_command_failure(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 109 | def test_local_environment_nonexistent_command(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 118 | def test_local_environment_stderr_capture(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 127 | def test_local_environment_timeout(): | CODE |
| LOW⚡ | tests/environments/test_local.py | 232 | def test_local_environment_file_operations(): | CODE |
| LOW | tests/environments/test_local.py | 48 | def test_local_environment_existing_env_variables(): | CODE |
| LOW | tests/environments/test_local.py | 138 | def test_local_environment_timeout_kills_child_process(): | CODE |
| LOW | tests/environments/test_local.py | 195 | def test_local_environment_custom_timeout(): | CODE |
| LOW | tests/environments/test_local.py | 211 | def test_local_environment_return_codes(command, expected_returncode): | CODE |
| LOW | tests/environments/test_local.py | 219 | def test_local_environment_multiline_output(): | CODE |
| LOW | tests/environments/test_local.py | 252 | def test_local_environment_shell_features(): | CODE |
| LOW⚡ | tests/environments/test_init.py | 8 | def test_get_environment_class_local_full_path(self): | CODE |
| LOW⚡ | tests/environments/test_init.py | 13 | def test_get_environment_class_local_shorthand(self): | CODE |
| LOW⚡ | tests/environments/test_init.py | 18 | def test_get_environment_class_invalid_spec(self): | CODE |
| LOW⚡ | tests/environments/test_init.py | 23 | def test_get_environment_class_invalid_module(self): | CODE |
| LOW | tests/environments/test_docker.py | 44 | def test_docker_environment_config_defaults(executable): | CODE |
| LOW | tests/environments/test_docker.py | 58 | def test_docker_environment_basic_execution(executable): | CODE |
| LOW | tests/environments/test_docker.py | 72 | def test_docker_environment_set_env_variables(executable): | CODE |
| LOW | tests/environments/test_docker.py | 94 | def test_docker_environment_forward_env_variables(executable): | CODE |
| LOW | tests/environments/test_docker.py | 117 | def test_docker_environment_forward_nonexistent_env_variables(executable): | CODE |
| LOW | tests/environments/test_docker.py | 131 | def test_docker_environment_combined_env_and_forward(executable): | CODE |
| LOW | tests/environments/test_docker.py | 148 | def test_docker_environment_env_override_forward(executable): | CODE |
| LOW | tests/environments/test_docker.py | 169 | def test_docker_environment_custom_cwd(executable): | CODE |
| LOW | tests/environments/test_docker.py | 183 | def test_docker_environment_cwd_parameter_override(executable): | CODE |
| LOW | tests/environments/test_docker.py | 197 | def test_docker_environment_command_failure(executable): | CODE |
| 365 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/environments/test_singularity.py | 0 | test executing commands in a custom working directory. | STRING |
| HIGH | tests/environments/test_local.py | 0 | test executing commands in a custom working directory. | STRING |
| HIGH | tests/environments/test_docker.py | 0 | test executing commands in a custom working directory. | STRING |
| HIGH | tests/environments/extra/test_bubblewrap.py | 0 | test executing commands in a custom working directory. | STRING |
| HIGH | tests/environments/test_singularity.py | 0 | test that the cwd parameter in execute() overrides the config cwd. | STRING |
| HIGH | tests/environments/test_local.py | 0 | test that the cwd parameter in execute() overrides the config cwd. | STRING |
| HIGH | tests/environments/test_docker.py | 0 | test that the cwd parameter in execute() overrides the config cwd. | STRING |
| HIGH | tests/environments/extra/test_contree.py | 0 | test that the cwd parameter in execute() overrides the config cwd. | STRING |
| HIGH | tests/environments/extra/test_bubblewrap.py | 0 | test that the cwd parameter in execute() overrides the config cwd. | STRING |
| HIGH | tests/environments/test_singularity.py | 0 | test timeout functionality returns structured output instead of raising. | STRING |
| HIGH | tests/environments/test_local.py | 0 | test timeout functionality returns structured output instead of raising. | STRING |
| HIGH | tests/environments/extra/test_bubblewrap.py | 0 | test timeout functionality returns structured output instead of raising. | STRING |
| HIGH | tests/run/test_swebench.py | 0 | create a deterministicmodel from trajectory fixture data (raw text outputs). | STRING |
| HIGH | tests/run/test_swebench_single.py | 0 | create a deterministicmodel from trajectory fixture data (raw text outputs). | STRING |
| HIGH | tests/run/test_local.py | 0 | create a deterministicmodel from trajectory fixture data (raw text outputs). | STRING |
| HIGH | tests/run/test_run_hello_world.py | 0 | create a deterministicmodel from trajectory fixture data (raw text outputs). | STRING |
| HIGH | src/minisweagent/environments/singularity.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/local.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/docker.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/extra/contree.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/extra/swerex_docker.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/extra/bubblewrap.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/extra/swerex_modal.py | 0 | raises submitted if the output indicates task completion. | STRING |
| HIGH | src/minisweagent/environments/extra/contree.py | 0 | execute a command in the environment and return the raw output. | STRING |
| HIGH | src/minisweagent/environments/extra/swerex_docker.py | 0 | execute a command in the environment and return the raw output. | STRING |
| HIGH | src/minisweagent/environments/extra/swerex_modal.py | 0 | execute a command in the environment and return the raw output. | STRING |
| HIGH | src/minisweagent/models/portkey_response_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/requesty_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/test_models.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/openrouter_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/litellm_response_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/openrouter_response_model.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/utils/actions_toolcall.py | 0 | format execution outputs into tool result messages. | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | set explicit cache control markers, for example for anthropic models | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | set explicit cache control markers, for example for anthropic models | STRING |
| HIGH | src/minisweagent/models/requesty_model.py | 0 | set explicit cache control markers, for example for anthropic models | STRING |
| HIGH | src/minisweagent/models/openrouter_model.py | 0 | set explicit cache control markers, for example for anthropic models | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | cost tracking mode for this model. can be "default" or "ignore_errors" (ignore errors/missing cost info) | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | cost tracking mode for this model. can be "default" or "ignore_errors" (ignore errors/missing cost info) | STRING |
| HIGH | src/minisweagent/models/openrouter_model.py | 0 | cost tracking mode for this model. can be "default" or "ignore_errors" (ignore errors/missing cost info) | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | template used when the lm's output is not in the expected format. | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | template used when the lm's output is not in the expected format. | STRING |
| HIGH | src/minisweagent/models/openrouter_textbased_model.py | 0 | template used when the lm's output is not in the expected format. | STRING |
| HIGH | src/minisweagent/models/litellm_textbased_model.py | 0 | template used when the lm's output is not in the expected format. | STRING |
| HIGH | src/minisweagent/models/requesty_model.py | 0 | template used when the lm's output is not in the expected format. | STRING |
| HIGH | src/minisweagent/models/openrouter_model.py | 0 | template used when the lm's output is not in the expected format. | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | template used to render the observation after executing an action. | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | template used to render the observation after executing an action. | STRING |
| HIGH | src/minisweagent/models/requesty_model.py | 0 | template used to render the observation after executing an action. | STRING |
| HIGH | src/minisweagent/models/test_models.py | 0 | template used to render the observation after executing an action. | STRING |
| HIGH | src/minisweagent/models/openrouter_model.py | 0 | template used to render the observation after executing an action. | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | regex to extract multimodal content. empty string disables multimodal processing. | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | regex to extract multimodal content. empty string disables multimodal processing. | STRING |
| HIGH | src/minisweagent/models/requesty_model.py | 0 | regex to extract multimodal content. empty string disables multimodal processing. | STRING |
| HIGH | src/minisweagent/models/test_models.py | 0 | regex to extract multimodal content. empty string disables multimodal processing. | STRING |
| HIGH | src/minisweagent/models/openrouter_model.py | 0 | regex to extract multimodal content. empty string disables multimodal processing. | STRING |
| HIGH | src/minisweagent/models/litellm_model.py | 0 | parse tool calls from the response. raises formaterror if unknown tool. | STRING |
| HIGH | src/minisweagent/models/portkey_model.py | 0 | parse tool calls from the response. raises formaterror if unknown tool. | STRING |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_fire.py | 68 | # ============================================================================= | COMMENT |
| MEDIUM | tests/test_fire.py | 70 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_fire.py | 103 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_fire.py | 105 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_fire.py | 131 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_fire.py | 133 | # ============================================================================= | COMMENT |
| MEDIUM | tests/test_fire.py | 150 | # ============================================================================= | COMMENT |
| MEDIUM | tests/test_fire.py | 152 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/run/test_programbench.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/run/test_programbench.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/run/test_programbench.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/run/test_programbench.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/run/test_programbench.py | 128 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/run/test_programbench.py | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/run/test_programbench.py | 150 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/run/test_programbench.py | 152 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/environments/test_singularity.py | 173 | result = env.execute({"command": "echo 'test content' > /tmp/test_file.txt && cat /tmp/test_file.txt"}) | CODE |
| HIGH⚡ | tests/environments/test_singularity.py | 177 | result = env.execute({"command": "touch /usr/testfile && ls /usr/testfile"}) | CODE |
| HIGH | tests/environments/extra/test_swerex_modal.py | 70 | env.execute({"command": "echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && git diff"}) | CODE |
| HIGH⚡ | tests/run/test_programbench.py | 64 | {"command": "mkdir -p /workspace && echo hello > /workspace/file.txt && echo world > /workspace/other.txt"} | CODE |
| HIGH⚡ | tests/run/test_programbench.py | 118 | "&& echo INTERNET_OK || echo INTERNET_BLOCKED" | CODE |
| HIGH | src/minisweagent/agents/interactive.py | 101 | sandbox with stdin redirected from /dev/null), where calling ``input()`` | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/models/test_litellm_textbased_model.py | 57 | except Exception as e: | CODE |
| MEDIUM | tests/run/test_cli_integration.py | 647 | print(f"Error output: {result.output}") | CODE |
| MEDIUM | .github/bump_version.py | 17 | print("Error: could not find __version__ in", INIT_FILE) | CODE |
| MEDIUM | .github/bump_version.py | 38 | print(f"Error committing changes: {e}", file=sys.stderr) | CODE |
| LOW | src/minisweagent/environments/singularity.py | 107 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/local.py | 31 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/docker.py | 126 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/extra/contree.py | 106 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/extra/swerex_docker.py | 46 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/extra/bubblewrap.py | 105 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/extra/swerex_modal.py | 81 | except Exception as e: | CODE |
| LOW | src/minisweagent/environments/extra/swerex_modal.py | 123 | except Exception: | CODE |
| LOW | src/minisweagent/agents/default.py | 117 | except Exception as e: | CODE |
| LOW | src/minisweagent/models/portkey_response_model.py | 112 | except Exception: | CODE |
| LOW | src/minisweagent/models/portkey_response_model.py | 138 | except Exception as e: | CODE |
| MEDIUM | src/minisweagent/models/portkey_response_model.py | 132 | def _calculate_cost(self, response) -> dict[str, float]: | CODE |
| LOW | src/minisweagent/models/litellm_model.py | 94 | except Exception: | CODE |
| LOW | src/minisweagent/models/litellm_model.py | 113 | except Exception as e: | CODE |
| MEDIUM | src/minisweagent/models/litellm_model.py | 108 | def _calculate_cost(self, response) -> dict[str, float]: | CODE |
| LOW | src/minisweagent/models/portkey_model.py | 116 | except Exception: | CODE |
| LOW | src/minisweagent/models/portkey_model.py | 200 | except Exception as e: | CODE |
| LOW | src/minisweagent/models/litellm_response_model.py | 69 | except Exception: | CODE |
| LOW | src/minisweagent/models/utils/actions_toolcall.py | 59 | except Exception as e: | CODE |
| LOW | …minisweagent/models/utils/actions_toolcall_response.py | 92 | except Exception as e: | CODE |
| LOW | src/minisweagent/models/utils/content_string.py | 12 | except Exception: | CODE |
| LOW | src/minisweagent/models/utils/content_string.py | 28 | except Exception: | CODE |
| LOW | src/minisweagent/run/benchmarks/programbench.py | 103 | except Exception as e: | CODE |
| LOW | src/minisweagent/run/benchmarks/programbench.py | 111 | except Exception as e: | CODE |
| LOW | src/minisweagent/run/benchmarks/programbench.py | 169 | except Exception as e: | CODE |
| LOW | src/minisweagent/run/benchmarks/swebench.py | 157 | except Exception as e: | CODE |
| LOW | src/minisweagent/run/benchmarks/swebench.py | 251 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/environments/test_local.py | 191 | except ProcessLookupError: | CODE |
| HIGH | src/minisweagent/config/__init__.py | 42 | except json.JSONDecodeError: | CODE |
| HIGH | src/minisweagent/environments/extra/swerex_modal.py | 123 | except Exception: | CODE |
| HIGH | src/minisweagent/models/utils/content_string.py | 12 | except Exception: | CODE |
| HIGH | src/minisweagent/run/benchmarks/programbench.py | 167 | except concurrent.futures.CancelledError: | CODE |
| HIGH | src/minisweagent/run/benchmarks/swebench.py | 249 | except concurrent.futures.CancelledError: | CODE |
| HIGH | src/minisweagent/run/benchmarks/utils/batch_progress.py | 150 | except KeyError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/environments/test_local.py | 237 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/environments/extra/test_bubblewrap.py | 179 | # Create a file | COMMENT |
| MEDIUM | tests/test_data/local.traj.json | 8 | "content": "Please solve this issue: Blah blah blah\n\nYou can execute bash commands and edit files to implement the | CODE |
| MEDIUM | tests/test_data/github_issue.traj.json | 8 | "content": "Please solve this issue: GitHub Issue: SyntaxError: invalid syntax\n\nI'm running `missing_colon.py` as | CODE |
| MEDIUM | tests/models/test_litellm_textbased_model.py | 17 | # Create a mock exception that behaves like AuthenticationError | COMMENT |
| MEDIUM | tests/run/test_cli_integration.py | 569 | # Create a temporary config file | COMMENT |
| MEDIUM | src/minisweagent/config/mini.yaml | 57 | ### Create a new file: | COMMENT |
| MEDIUM | src/minisweagent/config/default.yaml | 60 | ### Create a new file: | COMMENT |
| MEDIUM | src/minisweagent/config/mini_textbased.yaml | 60 | ### Create a new file: | COMMENT |
| MEDIUM | src/minisweagent/config/benchmarks/programbench.yaml | 143 | ### Create a new file: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/models/quickstart.md | 15 | * Use `mini-extra config set ANTHROPIC_API_KEY <your-api-key>` to put the key in the `mini` [config file](../advanced/gl | COMMENT |
| HIGH | docs/models/quickstart.md | 16 | * Export your key as an environment variable: `export ANTHROPIC_API_KEY=<your-api-key>` (this is not persistent if you r | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/agents/test_interactive.py | 811 | CODE | |
| LOW | tests/agents/test_interactive.py | 855 | CODE | |
| LOW | tests/models/test_portkey_model.py | 153 | CODE | |
| LOW | tests/run/test_inspector.py | 12 | CODE | |
| LOW | tests/run/test_inspector.py | 16 | CODE | |
| LOW | src/minisweagent/agents/interactive.py | 144 | CODE | |
| LOW | src/minisweagent/utils/serialize.py | 6 | CODE | |
| LOW | src/minisweagent/models/utils/content_string.py | 32 | CODE | |
| LOW | src/minisweagent/models/utils/anthropic_utils.py | 11 | CODE | |
| LOW | src/minisweagent/run/benchmarks/programbench.py | 122 | CODE | |
| LOW | src/minisweagent/run/benchmarks/swebench.py | 202 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/minisweagent/__init__.py | 83 | __all__ = [ | CODE |
| LOW | src/minisweagent/config/__init__.py | 64 | __all__ = ["builtin_config_dir", "get_config_path", "get_config_from_spec", "_key_value_spec_to_nested_dict"] | CODE |
| LOW | src/minisweagent/environments/extra/contree.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/minisweagent/utils/log.py | 7 | def _setup_root_logger() -> None: | CODE |
| LOW | src/minisweagent/utils/log.py | 36 | __all__ = ["logger"] | CODE |
| LOW | src/minisweagent/models/utils/cache_control.py | 27 | def _set_cache_control(entry: dict) -> None: | CODE |
| LOW | src/minisweagent/run/utilities/inspector.py | 195 | def update_content(self) -> None: | CODE |
| LOW | src/minisweagent/run/benchmarks/utils/batch_progress.py | 117 | def _update_total_costs(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_data/local.traj.json | 8 | "content": "Please solve this issue: Blah blah blah\n\nYou can execute bash commands and edit files to implement the | CODE |
| MEDIUM | tests/test_data/github_issue.traj.json | 8 | "content": "Please solve this issue: GitHub Issue: SyntaxError: invalid syntax\n\nI'm running `missing_colon.py` as | CODE |
| MEDIUM | tests/agents/test_interactive.py | 388 | # New comprehensive mode switching tests | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/environments/test_local.py | 241 | # Read the file | COMMENT |
| LOW⚡ | tests/environments/extra/test_bubblewrap.py | 184 | # Read the file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_data/update_outputs_local.py | 4 | CODE | |
| LOW | tests/test_data/update_outputs_github_issue.py | 4 | CODE | |
| LOW | tests/models/test_format_error_response_persistence.py | 11 | CODE | |
| LOW | src/minisweagent/__init__.py | 21 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/minisweagent/run/mini.py | 55 | CODE | |
| LOW | src/minisweagent/run/benchmarks/programbench.py | 122 | CODE | |
| LOW | src/minisweagent/run/benchmarks/swebench_single.py | 43 | CODE | |
| LOW | src/minisweagent/run/benchmarks/swebench.py | 202 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_fire.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | src/minisweagent/config/benchmarks/swebench_modal.yaml | 1 | # SWE-bench Modal environment configuration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/advanced/cookbook.md | 291 | [This blog post](https://www.anyscale.com/blog/massively-parallel-agentic-simulations-with-ray) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/minisweagent/config/benchmarks/swebench_modal.yaml | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/environments/extra/test_contree.py | 25 | contree_config={"base_url": "http://fake", "token": "fake-token"}, | CODE |