Skip to content

Commit 9df69ad

Browse files
Merge remote-tracking branch 'origin/add-interlinking'
2 parents 800d561 + 9355fbb commit 9df69ad

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

docs/submit-to-leaderboard.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ Before submitting, ensure you have:
1111

1212
## Submission Steps
1313

14-
1. **Submit Predictions to API**
14+
1. **Check your API Quotas**
1515

16-
First, submit your predictions to the SWE-bench API:
16+
You can check your quotas using `sb-cli get-quotas`.
17+
18+
If you don't have enough quota for the `swe-bench-m` / `test` split, email the SWE-bench team at `[email protected]` and we can increase it for you.
19+
20+
We're currently limiting submissions to `swe-bench-m` / `test` to prevent abuse.
21+
22+
2. **Submit Predictions to API**
23+
24+
Then, submit your predictions to the SWE-bench API:
1725

1826
```bash
1927
sb-cli submit swe-bench-m test \

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sb-cli"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Submit predictions to the SWE-bench API and manage your runs"
55
authors = [
66
{ name = "SWE-bench team", email = "[email protected]" }

sb_cli/gen_api_key.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ def gen_api_key(
2828
api_key = result['api_key']
2929
typer.echo(message)
3030
typer.echo(api_key)
31+
typer.echo(f"To save your API key, place the following line in your ~/.bashrc or ~/.zshrc file:")
32+
typer.echo(f"export SWEBENCH_API_KEY={api_key}")
33+
typer.echo(typer.style("Before using this API key you must verify the code sent to your email, using the 'verify-api-key' command.", fg="red"))

sb_cli/submit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def submit(
325325
if should_wait_for_evaluation:
326326
wait_for_evaluation(
327327
all_ids=all_ids,
328-
timeout=60 * 10,
328+
timeout=60 * 30,
329329
**run_metadata
330330
)
331331
if gen_report:

0 commit comments

Comments
 (0)