Skip to content
swe-bench-lite logo

Swe Bench Lite

swe-bench-lite

Quick-start command to run SWE-bench Lite evaluation with sensible defaults.

SKILL.md

Full skill instructions

Instructions

This skill provides a streamlined way to run the SWE-bench Lite benchmark with pre-configured defaults.

What This Skill Does

This skill runs a quick SWE-bench Lite evaluation with:

  • 5 sample tasks (configurable)
  • Verbose output for visibility
  • Results saved to results.json
  • Report saved to report.md

Prerequisites Check

Before running, verify:

  1. Docker is running:

    docker ps
    
  2. API key is set:

    echo $ANTHROPIC_API_KEY
    
  3. Config file exists:

    • Check for mcpbr.yaml in the current directory
    • If missing, run mcpbr init to generate it

Default Command

The default command for SWE-bench Lite:

mcpbr run -c mcpbr.yaml --dataset SWE-bench/​SWE-bench_Lite -n 5 -v -o results.json -r report.md

Customization Options

Users can customize the run by modifying:

  • Sample size: Change -n 5 to any number (or remove for full dataset)
  • Config file: Change -c mcpbr.yaml to point to a different config
  • Verbosity: Use -vv for very verbose output
  • Output files: Change results.json and report.md to different paths

Example Variations

Minimal quick test (1 task)

mcpbr run -c mcpbr.yaml -n 1 -v

Full evaluation (all ~300 tasks)

mcpbr run -c mcpbr.yaml --dataset SWE-bench/​SWE-bench_Lite -v -o results.json

MCP-only (skip baseline)

mcpbr run -c mcpbr.yaml -n 5 -M -v -o results.json

Specific tasks

mcpbr run -c mcpbr.yaml -t astropy__astropy-12907 -t django__django-11099 -v

Expected Runtime & Cost

For 5 tasks with default settings:

  • Runtime: 15-30 minutes (depends on task complexity)
  • Cost: $2-5 (depends on task complexity and model used)

What to Do If It Fails

  1. Docker not running: Start Docker Desktop
  2. API key missing: Set with export ANTHROPIC_API_KEY="sk-ant-..."
  3. Config missing: Run mcpbr init to generate default config
  4. Config invalid: Check that {workdir} placeholder is in the args array
  5. MCP server fails: Test the server command independently

After the Run

Once complete, you'll have:

  • results.json: Full evaluation data with metrics, token usage, and per-task results
  • report.md: Human-readable summary with resolution rates and comparisons
  • Console output: Real-time progress and summary table

Review the results to see how your MCP server performed compared to the baseline!

Pro Tips

  • Start with -n 1 to verify everything works before running larger evaluations
  • Use --log-dir logs/ to save detailed per-task logs for debugging
  • Compare multiple runs by changing the MCP server config between runs
  • Use --baseline-results baseline.json to detect regressions between versions

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View