Skip to content

chore: remove dead run.py and its anthropic dependency#25

Merged
isPANN merged 1 commit into
CodingThrust:mainfrom
isPANN:chore/remove-dead-code
Jul 4, 2026
Merged

chore: remove dead run.py and its anthropic dependency#25
isPANN merged 1 commit into
CodingThrust:mainfrom
isPANN:chore/remove-dead-code

Conversation

@isPANN

@isPANN isPANN commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Removes benchmark/run.py (the original SWE-like runner — an orphan, nothing imports it) and the anthropic==0.52.0 pin it was the sole user of.

The live pipeline (run_submissionrun_mini → mini-swe-agent's LitellmModel) reaches every provider through LiteLLM, which talks to Anthropic's REST API via ANTHROPIC_API_KEY and does not need the anthropic SDK. Verified: no module or test imports benchmark.run; pytest -m 'not integration' → 130 passed.

🤖 Generated with Claude Code

benchmark/run.py was the original "SWE-like benchmark runner" and the only
place importing the anthropic SDK directly. Nothing references it — the live
pipeline is run_submission → run_mini → mini-swe-agent's LitellmModel, which
reaches every provider (Anthropic included, via ANTHROPIC_API_KEY) through
LiteLLM and does not need the anthropic package. Drop both.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@isPANN isPANN merged commit 7c6b117 into CodingThrust:main Jul 4, 2026
4 checks passed
@isPANN isPANN deleted the chore/remove-dead-code branch July 4, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant