Skip to content

Commit

Permalink
Try on real instance
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Jun 28, 2024
1 parent aaafab1 commit 64cfc9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ def test_smoke_test():
result = subprocess.run(cmd, capture_output=True)
assert result.returncode == 0


def test_one_instance():
cmd = ["python", "-m", "swebench.harness.run_evaluation", "--predictions_path", "gold", "--max_workers", "1", "--instance_ids", "sympy__sympy-20590", "--run_id", "validate-gold"]
result = subprocess.run(cmd, capture_output=True)
assert result.returncode == 0

0 comments on commit 64cfc9b

Please sign in to comment.