Drop pandas__49324-49704 (ungradable PR-1 install), 14 tasks
Browse files- README.md +26 -24
- build.py +6 -2
- data/leaderboard.csv +11 -11
- data/metrics.json +83 -83
- data/tasks.jsonl +0 -1
README.md
CHANGED
|
@@ -13,53 +13,55 @@ configs:
|
|
| 13 |
|
| 14 |
# foresight-swe-mini
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
Foresight-SWE asks whether a coding agent avoids a bug nobody told it about. Each task pairs a real pull request that introduced a defect (PR-1) with the later one that fixed it (PR-2). The agent gets only PR-1's task. Resolve rate counts PR-1's tests passing. Foresight resolve rate (FRR) also requires PR-2's held-out tests to pass. See the [paper](https://arxiv.org/abs/2611.01181) and [code](https://github.com/shaswatpatel123/Foresight-SWE).
|
| 19 |
|
| 20 |
-
**Read this first.** Unlike the other mini benchmarks in this collection, this subset has not been checked against real per-task results, because upstream publishes only totals and per-model breakdowns. The accuracy figures below are simulated.
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## What it can tell you
|
| 23 |
|
| 24 |
-
One task is worth
|
| 25 |
|
| 26 |
Simulated against the 11 models on the leaderboard:
|
| 27 |
|
| 28 |
| tasks | typical FRR error (points) | pairs 5+ points apart in the right order | pairs 10+ points apart in the right order |
|
| 29 |
|---:|---:|---:|---:|
|
| 30 |
-
| **foresight-swe-mini (
|
| 31 |
-
| random 10 | 8.
|
| 32 |
-
| random
|
| 33 |
-
| random 20 |
|
| 34 |
-
| random 30 | 4.7 |
|
| 35 |
-
| random 60 | 3.
|
| 36 |
| random 100 | 2.0 | 98% | 100% |
|
| 37 |
|
| 38 |
-
The
|
| 39 |
|
| 40 |
The simulation fits each model to Tables D.1 and D.2 of the paper, then adds a difficulty shared across models and noise per model. Those two additions are assumptions. Numbers are the middle of three runs with different shared-difficulty settings, which changed little.
|
| 41 |
|
| 42 |
## The mix
|
| 43 |
|
| 44 |
-
| | foresight-swe-mini | exact share of
|
| 45 |
|---|---:|---:|
|
| 46 |
-
| Python / JavaScript / TypeScript / Go |
|
| 47 |
-
| PR-1 easy / medium / hard |
|
| 48 |
-
| PR-2 easy / medium / hard | 9 /
|
| 49 |
-
| Major / minor | 9 /
|
| 50 |
-
| Silent / loud | 9 /
|
| 51 |
-
| Bug / feature / mixed |
|
| 52 |
-
| Security | 1 | 1.
|
| 53 |
|
| 54 |
-
The
|
| 55 |
|
| 56 |
-
## How the
|
| 57 |
|
| 58 |
-
Simulated annealing over the 158 tasks with at most 2,000 regression tests, 100 task tests, 20 held-out tests, a 60 KB patch and 3.5 GB of images. It minimises the difference from the full benchmark in the mix above, in each model's predicted scores and in task size, with a cap per repository. `python build.py verified.jsonl` reproduces the selection and every number here. Exact task IDs are in `data/tasks.jsonl`.
|
| 59 |
|
| 60 |
## Running it
|
| 61 |
|
| 62 |
-
The tasks live upstream; this dataset only tells you which
|
| 63 |
|
| 64 |
```python
|
| 65 |
from datasets import load_dataset
|
|
@@ -68,9 +70,9 @@ tasks = load_dataset("shaswat123/Foresight-SWE", split="test")
|
|
| 68 |
tasks.filter(lambda r: r["instance_id"] in ids).to_json("foresight_mini.jsonl")
|
| 69 |
```
|
| 70 |
|
| 71 |
-
Then set `DATASET` to that file in one of the [upstream eval scripts](https://github.com/shaswatpatel123/Foresight-SWE/tree/main/eval). Each task needs one amd64 Docker image, about
|
| 72 |
|
| 73 |
-
Report resolve rate and FRR, and label results "foresight-swe-mini". Scores on the
|
| 74 |
|
| 75 |
## Credit
|
| 76 |
|
|
|
|
| 13 |
|
| 14 |
# foresight-swe-mini
|
| 15 |
|
| 16 |
+
14 of the 212 tasks in [Foresight-SWE](https://huggingface.co/datasets/shaswat123/Foresight-SWE), chosen to match the full benchmark's mix of languages, difficulty and defect types while keeping runs short.
|
| 17 |
|
| 18 |
Foresight-SWE asks whether a coding agent avoids a bug nobody told it about. Each task pairs a real pull request that introduced a defect (PR-1) with the later one that fixed it (PR-2). The agent gets only PR-1's task. Resolve rate counts PR-1's tests passing. Foresight resolve rate (FRR) also requires PR-2's held-out tests to pass. See the [paper](https://arxiv.org/abs/2611.01181) and [code](https://github.com/shaswatpatel123/Foresight-SWE).
|
| 19 |
|
| 20 |
+
**Read this first.** Unlike the other mini benchmarks in this collection, this subset has not been checked against real per-task results, because upstream publishes only totals and per-model breakdowns. The accuracy figures below are simulated.
|
| 21 |
+
|
| 22 |
+
**Changes.** The subset started with 15 tasks. Running upstream's gold patches through the upstream harness passed PR-1's tests on 14. The 15th, `pandas__49324-49704`, cannot be graded: its PR-1 install recipe installs numpy 2 before building pandas, the build fails, and no PR-1 test runs even for the gold patch. It was removed, and every number on this card is for the remaining 14. The gold patches also pass PR-2's held-out tests on 1 of the 14, so a patch identical to upstream's PR-1 would score 1 of 14 on FRR.
|
| 23 |
|
| 24 |
## What it can tell you
|
| 25 |
|
| 26 |
+
One task is worth 7.1 points, and at leaderboard rates most models would pass 1 to 4 of the 14. Use it to spot large differences, or to compare two setups on the same tasks. Do not use it to rank close models or to estimate a full-benchmark score.
|
| 27 |
|
| 28 |
Simulated against the 11 models on the leaderboard:
|
| 29 |
|
| 30 |
| tasks | typical FRR error (points) | pairs 5+ points apart in the right order | pairs 10+ points apart in the right order |
|
| 31 |
|---:|---:|---:|---:|
|
| 32 |
+
| **foresight-swe-mini (14)** | **6.9** | **73%** | **82%** |
|
| 33 |
+
| random 10 | 8.6 | 64% | 73% |
|
| 34 |
+
| random 14 | 7.0 | 72% | 82% |
|
| 35 |
+
| random 20 | 5.9 | 79% | 88% |
|
| 36 |
+
| random 30 | 4.7 | 85% | 94% |
|
| 37 |
+
| random 60 | 3.1 | 95% | 99% |
|
| 38 |
| random 100 | 2.0 | 98% | 100% |
|
| 39 |
|
| 40 |
+
The 14 do no better than a random 14 on these numbers. The published task labels explain only 4 to 13% of each model's pass or fail outcomes, so matching on them cannot do much for accuracy. What matching adds is a guaranteed mix and no very slow tasks. A subset chosen from real per-task results might do better; that needs data upstream has not released.
|
| 41 |
|
| 42 |
The simulation fits each model to Tables D.1 and D.2 of the paper, then adds a difficulty shared across models and noise per model. Those two additions are assumptions. Numbers are the middle of three runs with different shared-difficulty settings, which changed little.
|
| 43 |
|
| 44 |
## The mix
|
| 45 |
|
| 46 |
+
| | foresight-swe-mini | exact share of 14 |
|
| 47 |
|---|---:|---:|
|
| 48 |
+
| Python / JavaScript / TypeScript / Go | 7 / 3 / 2 / 2 | 7.6 / 3.2 / 1.8 / 1.4 |
|
| 49 |
+
| PR-1 easy / medium / hard | 2 / 6 / 6 | 3.1 / 5.1 / 5.8 |
|
| 50 |
+
| PR-2 easy / medium / hard | 9 / 3 / 2 | 8.3 / 3.4 / 2.3 |
|
| 51 |
+
| Major / minor | 9 / 5 | 8.5 / 5.5 |
|
| 52 |
+
| Silent / loud | 9 / 5 | 8.5 / 5.5 |
|
| 53 |
+
| Bug / feature / mixed | 7 / 6 / 1 | 7.4 / 5.8 / 0.8 |
|
| 54 |
+
| Security | 1 | 1.2 |
|
| 55 |
|
| 56 |
+
The 14 cover 10 of the 35 repositories, with at most 3 tasks from any one. Predicted FRR on the subset is within 1.6 points of the published score for all 11 models (`data/leaderboard.csv`). That only checks the mix, not real results.
|
| 57 |
|
| 58 |
+
## How the tasks were chosen
|
| 59 |
|
| 60 |
+
Simulated annealing over the 158 tasks with at most 2,000 regression tests, 100 task tests, 20 held-out tests, a 60 KB patch and 3.5 GB of images. It minimises the difference from the full benchmark in the mix above, in each model's predicted scores and in task size, with a cap per repository. The search picked 15; the broken task was then dropped. `python build.py verified.jsonl` reproduces the selection, the removal and every number here. Exact task IDs are in `data/tasks.jsonl`.
|
| 61 |
|
| 62 |
## Running it
|
| 63 |
|
| 64 |
+
The tasks live upstream; this dataset only tells you which 14 to run. Build a task file:
|
| 65 |
|
| 66 |
```python
|
| 67 |
from datasets import load_dataset
|
|
|
|
| 70 |
tasks.filter(lambda r: r["instance_id"] in ids).to_json("foresight_mini.jsonl")
|
| 71 |
```
|
| 72 |
|
| 73 |
+
Then set `DATASET` to that file in one of the [upstream eval scripts](https://github.com/shaswatpatel123/Foresight-SWE/tree/main/eval). Each task needs one amd64 Docker image, about 10 GB in total. To compare with the leaderboard, keep the paper's budgets: 250 to 350 steps and $3 per task in mini-swe-agent.
|
| 74 |
|
| 75 |
+
Report resolve rate and FRR, and label results "foresight-swe-mini". Scores on the 14 are not Foresight-SWE scores.
|
| 76 |
|
| 77 |
## Credit
|
| 78 |
|
build.py
CHANGED
|
@@ -101,6 +101,10 @@ def search(pool, seed, iters=25000):
|
|
| 101 |
# Keep runs short: leave out the tasks that are slow to grade.
|
| 102 |
pool = np.where((p2p <= 2000) & (ant <= 20) & (f2p <= 100) & (patch_kb <= 60) & (both_images_gb <= 3.5))[0]
|
| 103 |
S = min((search(pool, s) for s in range(8)), key=lambda x: x[1])[0]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
|
| 105 |
|
| 106 |
def calibrate(lin, target):
|
|
@@ -120,7 +124,7 @@ def simulate(sd, reps=500, seed=7):
|
|
| 120 |
lin[:, m] += calibrate(lin[:, m], FULL_FRR[m] / 100)
|
| 121 |
Y = (rng.random((N, 11)) < sig(lin)) * 1.
|
| 122 |
full = Y.mean(0)
|
| 123 |
-
designs = {f"random {k}": rng.choice(N, k, replace=False) for k in (10,
|
| 124 |
designs["foresight-swe-mini"] = np.array(S)
|
| 125 |
for name, D in designs.items():
|
| 126 |
e = Y[D].mean(0)
|
|
@@ -157,7 +161,7 @@ metrics = dict(
|
|
| 157 |
variance_explained_frr=[round(float(x), 3) for x in pF.var(0) / (pF.mean(0) * (1 - pF.mean(0)))],
|
| 158 |
spearman_resolve_frr_all=round(float(spearmanr(FULL_RESOLVE, FULL_FRR)[0]), 2),
|
| 159 |
mix={k: dict(mini=dict(C.Counter(str(x) for x in v[S])),
|
| 160 |
-
proportional={str(a): round(b / N *
|
| 161 |
for k, v in mix.items()},
|
| 162 |
simulation={str(sd): simulate(sd) for sd in (.5, 1, 1.5)})
|
| 163 |
json.dump(metrics, open("data/metrics.json", "w"), indent=1)
|
|
|
|
| 101 |
# Keep runs short: leave out the tasks that are slow to grade.
|
| 102 |
pool = np.where((p2p <= 2000) & (ant <= 20) & (f2p <= 100) & (patch_kb <= 60) & (both_images_gb <= 3.5))[0]
|
| 103 |
S = min((search(pool, s) for s in range(8)), key=lambda x: x[1])[0]
|
| 104 |
+
# Removed after selection: upstream's PR-1 install recipe resolves numpy 2 before
|
| 105 |
+
# building pandas, so the build fails and no PR-1 test can run, even for the gold patch.
|
| 106 |
+
BROKEN = {"pandas__49324-49704"}
|
| 107 |
+
S = [i for i in S if ids[i] not in BROKEN]
|
| 108 |
|
| 109 |
|
| 110 |
def calibrate(lin, target):
|
|
|
|
| 124 |
lin[:, m] += calibrate(lin[:, m], FULL_FRR[m] / 100)
|
| 125 |
Y = (rng.random((N, 11)) < sig(lin)) * 1.
|
| 126 |
full = Y.mean(0)
|
| 127 |
+
designs = {f"random {k}": rng.choice(N, k, replace=False) for k in (10, len(S), 20, 30, 60, 100)}
|
| 128 |
designs["foresight-swe-mini"] = np.array(S)
|
| 129 |
for name, D in designs.items():
|
| 130 |
e = Y[D].mean(0)
|
|
|
|
| 161 |
variance_explained_frr=[round(float(x), 3) for x in pF.var(0) / (pF.mean(0) * (1 - pF.mean(0)))],
|
| 162 |
spearman_resolve_frr_all=round(float(spearmanr(FULL_RESOLVE, FULL_FRR)[0]), 2),
|
| 163 |
mix={k: dict(mini=dict(C.Counter(str(x) for x in v[S])),
|
| 164 |
+
proportional={str(a): round(b / N * len(S), 1) for a, b in C.Counter(v.tolist()).items()})
|
| 165 |
for k, v in mix.items()},
|
| 166 |
simulation={str(sd): simulate(sd) for sd in (.5, 1, 1.5)})
|
| 167 |
json.dump(metrics, open("data/metrics.json", "w"), indent=1)
|
data/leaderboard.csv
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
model,resolve_all_212,frr_all_212,predicted_frr_on_mini
|
| 2 |
-
Qwen3.8 Flash Next,91.98,20.75,21.
|
| 3 |
-
GLM-5.3 Flash,80.66,11.32,
|
| 4 |
-
DeepSeek-V4 Flash,58.49,18.87,
|
| 5 |
-
GPT-5.6 Sol,84.43,18.4,19.
|
| 6 |
-
GPT-5.6 Terra,74.53,15.09,15.
|
| 7 |
-
GPT-5.6 Luna,74.06,16.51,16.
|
| 8 |
-
Claude Opus 5,77.83,24.53,
|
| 9 |
-
Claude Sonnet 5,59.91,16.98,
|
| 10 |
-
Qwen3.5-397B-A17B,21.7,7.08,6.
|
| 11 |
-
Qwen3.8-27B,25.47,7.55,
|
| 12 |
-
Qwen3.5-27B,18.4,6.13,
|
|
|
|
| 1 |
model,resolve_all_212,frr_all_212,predicted_frr_on_mini
|
| 2 |
+
Qwen3.8 Flash Next,91.98,20.75,21.4
|
| 3 |
+
GLM-5.3 Flash,80.66,11.32,10.2
|
| 4 |
+
DeepSeek-V4 Flash,58.49,18.87,18.8
|
| 5 |
+
GPT-5.6 Sol,84.43,18.4,19.3
|
| 6 |
+
GPT-5.6 Terra,74.53,15.09,15.1
|
| 7 |
+
GPT-5.6 Luna,74.06,16.51,16.5
|
| 8 |
+
Claude Opus 5,77.83,24.53,22.9
|
| 9 |
+
Claude Sonnet 5,59.91,16.98,16.5
|
| 10 |
+
Qwen3.5-397B-A17B,21.7,7.08,6.4
|
| 11 |
+
Qwen3.8-27B,25.47,7.55,6.8
|
| 12 |
+
Qwen3.5-27B,18.4,6.13,5.8
|
data/metrics.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"n_pool": 158,
|
| 3 |
-
"image_gb":
|
| 4 |
-
"max_pass_to_pass":
|
| 5 |
"repos": 10,
|
| 6 |
-
"predicted_frr_max_error":
|
| 7 |
-
"predicted_resolve_max_error":
|
| 8 |
"variance_explained_frr": [
|
| 9 |
0.132,
|
| 10 |
0.046,
|
|
@@ -22,82 +22,82 @@
|
|
| 22 |
"mix": {
|
| 23 |
"language": {
|
| 24 |
"mini": {
|
| 25 |
-
"python":
|
| 26 |
"go": 2,
|
| 27 |
"javascript": 3,
|
| 28 |
"typescript": 2
|
| 29 |
},
|
| 30 |
"proportional": {
|
| 31 |
-
"python":
|
| 32 |
-
"typescript":
|
| 33 |
-
"javascript": 3.
|
| 34 |
-
"go": 1.
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"pr1_difficulty": {
|
| 38 |
"mini": {
|
| 39 |
"medium": 6,
|
| 40 |
"hard": 6,
|
| 41 |
-
"easy":
|
| 42 |
},
|
| 43 |
"proportional": {
|
| 44 |
-
"hard":
|
| 45 |
-
"easy": 3.
|
| 46 |
-
"medium": 5.
|
| 47 |
}
|
| 48 |
},
|
| 49 |
"pr2_difficulty": {
|
| 50 |
"mini": {
|
| 51 |
-
"medium":
|
| 52 |
"easy": 9,
|
| 53 |
"hard": 2
|
| 54 |
},
|
| 55 |
"proportional": {
|
| 56 |
-
"medium": 3.
|
| 57 |
-
"easy": 8.
|
| 58 |
-
"hard": 2.
|
| 59 |
}
|
| 60 |
},
|
| 61 |
"severity": {
|
| 62 |
"mini": {
|
| 63 |
"major": 9,
|
| 64 |
-
"minor":
|
| 65 |
},
|
| 66 |
"proportional": {
|
| 67 |
-
"major":
|
| 68 |
-
"minor": 5.
|
| 69 |
}
|
| 70 |
},
|
| 71 |
"detectability": {
|
| 72 |
"mini": {
|
| 73 |
"silent": 9,
|
| 74 |
-
"loud":
|
| 75 |
},
|
| 76 |
"proportional": {
|
| 77 |
-
"silent":
|
| 78 |
-
"loud": 5.
|
| 79 |
}
|
| 80 |
},
|
| 81 |
"task_type": {
|
| 82 |
"mini": {
|
| 83 |
"feature": 6,
|
| 84 |
-
"bug":
|
| 85 |
"mixed": 1
|
| 86 |
},
|
| 87 |
"proportional": {
|
| 88 |
-
"feature":
|
| 89 |
-
"bug": 7.
|
| 90 |
"mixed": 0.8
|
| 91 |
}
|
| 92 |
},
|
| 93 |
"security": {
|
| 94 |
"mini": {
|
| 95 |
"True": 1,
|
| 96 |
-
"False":
|
| 97 |
},
|
| 98 |
"proportional": {
|
| 99 |
-
"False":
|
| 100 |
-
"True": 1.
|
| 101 |
}
|
| 102 |
}
|
| 103 |
},
|
|
@@ -105,112 +105,112 @@
|
|
| 105 |
"0.5": {
|
| 106 |
"random 10": {
|
| 107 |
"error_points": 8.7,
|
| 108 |
-
"pairs_5pt":
|
| 109 |
-
"pairs_10pt":
|
| 110 |
},
|
| 111 |
-
"random
|
| 112 |
-
"error_points":
|
| 113 |
-
"pairs_5pt": 72.
|
| 114 |
-
"pairs_10pt": 81.
|
| 115 |
},
|
| 116 |
"random 20": {
|
| 117 |
"error_points": 5.9,
|
| 118 |
-
"pairs_5pt":
|
| 119 |
-
"pairs_10pt":
|
| 120 |
},
|
| 121 |
"random 30": {
|
| 122 |
"error_points": 4.7,
|
| 123 |
-
"pairs_5pt":
|
| 124 |
"pairs_10pt": 92.8
|
| 125 |
},
|
| 126 |
"random 60": {
|
| 127 |
-
"error_points": 3.
|
| 128 |
"pairs_5pt": 93.8,
|
| 129 |
-
"pairs_10pt": 98.
|
| 130 |
},
|
| 131 |
"random 100": {
|
| 132 |
"error_points": 2.0,
|
| 133 |
-
"pairs_5pt": 98.
|
| 134 |
"pairs_10pt": 99.9
|
| 135 |
},
|
| 136 |
"foresight-swe-mini": {
|
| 137 |
-
"error_points": 6.
|
| 138 |
-
"pairs_5pt":
|
| 139 |
-
"pairs_10pt":
|
| 140 |
}
|
| 141 |
},
|
| 142 |
"1": {
|
| 143 |
"random 10": {
|
| 144 |
-
"error_points": 8.
|
| 145 |
-
"pairs_5pt": 63.
|
| 146 |
-
"pairs_10pt": 72.
|
| 147 |
},
|
| 148 |
-
"random
|
| 149 |
-
"error_points":
|
| 150 |
-
"pairs_5pt":
|
| 151 |
-
"pairs_10pt":
|
| 152 |
},
|
| 153 |
"random 20": {
|
| 154 |
-
"error_points":
|
| 155 |
-
"pairs_5pt": 78.
|
| 156 |
-
"pairs_10pt":
|
| 157 |
},
|
| 158 |
"random 30": {
|
| 159 |
"error_points": 4.7,
|
| 160 |
-
"pairs_5pt":
|
| 161 |
-
"pairs_10pt":
|
| 162 |
},
|
| 163 |
"random 60": {
|
| 164 |
-
"error_points": 3.
|
| 165 |
-
"pairs_5pt": 94.
|
| 166 |
-
"pairs_10pt": 99.
|
| 167 |
},
|
| 168 |
"random 100": {
|
| 169 |
"error_points": 2.0,
|
| 170 |
-
"pairs_5pt": 98.
|
| 171 |
-
"pairs_10pt":
|
| 172 |
},
|
| 173 |
"foresight-swe-mini": {
|
| 174 |
-
"error_points": 6.
|
| 175 |
-
"pairs_5pt":
|
| 176 |
-
"pairs_10pt":
|
| 177 |
}
|
| 178 |
},
|
| 179 |
"1.5": {
|
| 180 |
"random 10": {
|
| 181 |
-
"error_points": 8.
|
| 182 |
-
"pairs_5pt":
|
| 183 |
-
"pairs_10pt":
|
| 184 |
},
|
| 185 |
-
"random
|
| 186 |
-
"error_points":
|
| 187 |
-
"pairs_5pt":
|
| 188 |
-
"pairs_10pt":
|
| 189 |
},
|
| 190 |
"random 20": {
|
| 191 |
-
"error_points":
|
| 192 |
-
"pairs_5pt": 79.
|
| 193 |
-
"pairs_10pt":
|
| 194 |
},
|
| 195 |
"random 30": {
|
| 196 |
"error_points": 4.7,
|
| 197 |
-
"pairs_5pt": 85.
|
| 198 |
-
"pairs_10pt":
|
| 199 |
},
|
| 200 |
"random 60": {
|
| 201 |
"error_points": 3.0,
|
| 202 |
-
"pairs_5pt": 94.
|
| 203 |
-
"pairs_10pt": 99.
|
| 204 |
},
|
| 205 |
"random 100": {
|
| 206 |
"error_points": 2.0,
|
| 207 |
-
"pairs_5pt": 98.
|
| 208 |
-
"pairs_10pt":
|
| 209 |
},
|
| 210 |
"foresight-swe-mini": {
|
| 211 |
-
"error_points":
|
| 212 |
-
"pairs_5pt":
|
| 213 |
-
"pairs_10pt":
|
| 214 |
}
|
| 215 |
}
|
| 216 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"n_pool": 158,
|
| 3 |
+
"image_gb": 10.1,
|
| 4 |
+
"max_pass_to_pass": 752,
|
| 5 |
"repos": 10,
|
| 6 |
+
"predicted_frr_max_error": 1.6,
|
| 7 |
+
"predicted_resolve_max_error": 2.9,
|
| 8 |
"variance_explained_frr": [
|
| 9 |
0.132,
|
| 10 |
0.046,
|
|
|
|
| 22 |
"mix": {
|
| 23 |
"language": {
|
| 24 |
"mini": {
|
| 25 |
+
"python": 7,
|
| 26 |
"go": 2,
|
| 27 |
"javascript": 3,
|
| 28 |
"typescript": 2
|
| 29 |
},
|
| 30 |
"proportional": {
|
| 31 |
+
"python": 7.6,
|
| 32 |
+
"typescript": 1.8,
|
| 33 |
+
"javascript": 3.2,
|
| 34 |
+
"go": 1.4
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"pr1_difficulty": {
|
| 38 |
"mini": {
|
| 39 |
"medium": 6,
|
| 40 |
"hard": 6,
|
| 41 |
+
"easy": 2
|
| 42 |
},
|
| 43 |
"proportional": {
|
| 44 |
+
"hard": 5.8,
|
| 45 |
+
"easy": 3.1,
|
| 46 |
+
"medium": 5.1
|
| 47 |
}
|
| 48 |
},
|
| 49 |
"pr2_difficulty": {
|
| 50 |
"mini": {
|
| 51 |
+
"medium": 3,
|
| 52 |
"easy": 9,
|
| 53 |
"hard": 2
|
| 54 |
},
|
| 55 |
"proportional": {
|
| 56 |
+
"medium": 3.4,
|
| 57 |
+
"easy": 8.3,
|
| 58 |
+
"hard": 2.3
|
| 59 |
}
|
| 60 |
},
|
| 61 |
"severity": {
|
| 62 |
"mini": {
|
| 63 |
"major": 9,
|
| 64 |
+
"minor": 5
|
| 65 |
},
|
| 66 |
"proportional": {
|
| 67 |
+
"major": 8.5,
|
| 68 |
+
"minor": 5.5
|
| 69 |
}
|
| 70 |
},
|
| 71 |
"detectability": {
|
| 72 |
"mini": {
|
| 73 |
"silent": 9,
|
| 74 |
+
"loud": 5
|
| 75 |
},
|
| 76 |
"proportional": {
|
| 77 |
+
"silent": 8.5,
|
| 78 |
+
"loud": 5.5
|
| 79 |
}
|
| 80 |
},
|
| 81 |
"task_type": {
|
| 82 |
"mini": {
|
| 83 |
"feature": 6,
|
| 84 |
+
"bug": 7,
|
| 85 |
"mixed": 1
|
| 86 |
},
|
| 87 |
"proportional": {
|
| 88 |
+
"feature": 5.8,
|
| 89 |
+
"bug": 7.4,
|
| 90 |
"mixed": 0.8
|
| 91 |
}
|
| 92 |
},
|
| 93 |
"security": {
|
| 94 |
"mini": {
|
| 95 |
"True": 1,
|
| 96 |
+
"False": 13
|
| 97 |
},
|
| 98 |
"proportional": {
|
| 99 |
+
"False": 12.8,
|
| 100 |
+
"True": 1.2
|
| 101 |
}
|
| 102 |
}
|
| 103 |
},
|
|
|
|
| 105 |
"0.5": {
|
| 106 |
"random 10": {
|
| 107 |
"error_points": 8.7,
|
| 108 |
+
"pairs_5pt": 62.6,
|
| 109 |
+
"pairs_10pt": 70.2
|
| 110 |
},
|
| 111 |
+
"random 14": {
|
| 112 |
+
"error_points": 7.0,
|
| 113 |
+
"pairs_5pt": 72.1,
|
| 114 |
+
"pairs_10pt": 81.8
|
| 115 |
},
|
| 116 |
"random 20": {
|
| 117 |
"error_points": 5.9,
|
| 118 |
+
"pairs_5pt": 78.2,
|
| 119 |
+
"pairs_10pt": 87.5
|
| 120 |
},
|
| 121 |
"random 30": {
|
| 122 |
"error_points": 4.7,
|
| 123 |
+
"pairs_5pt": 84.5,
|
| 124 |
"pairs_10pt": 92.8
|
| 125 |
},
|
| 126 |
"random 60": {
|
| 127 |
+
"error_points": 3.1,
|
| 128 |
"pairs_5pt": 93.8,
|
| 129 |
+
"pairs_10pt": 98.8
|
| 130 |
},
|
| 131 |
"random 100": {
|
| 132 |
"error_points": 2.0,
|
| 133 |
+
"pairs_5pt": 98.2,
|
| 134 |
"pairs_10pt": 99.9
|
| 135 |
},
|
| 136 |
"foresight-swe-mini": {
|
| 137 |
+
"error_points": 6.9,
|
| 138 |
+
"pairs_5pt": 72.5,
|
| 139 |
+
"pairs_10pt": 81.2
|
| 140 |
}
|
| 141 |
},
|
| 142 |
"1": {
|
| 143 |
"random 10": {
|
| 144 |
+
"error_points": 8.6,
|
| 145 |
+
"pairs_5pt": 63.7,
|
| 146 |
+
"pairs_10pt": 72.7
|
| 147 |
},
|
| 148 |
+
"random 14": {
|
| 149 |
+
"error_points": 7.0,
|
| 150 |
+
"pairs_5pt": 71.8,
|
| 151 |
+
"pairs_10pt": 81.6
|
| 152 |
},
|
| 153 |
"random 20": {
|
| 154 |
+
"error_points": 5.9,
|
| 155 |
+
"pairs_5pt": 78.7,
|
| 156 |
+
"pairs_10pt": 88.4
|
| 157 |
},
|
| 158 |
"random 30": {
|
| 159 |
"error_points": 4.7,
|
| 160 |
+
"pairs_5pt": 85.0,
|
| 161 |
+
"pairs_10pt": 93.7
|
| 162 |
},
|
| 163 |
"random 60": {
|
| 164 |
+
"error_points": 3.1,
|
| 165 |
+
"pairs_5pt": 94.5,
|
| 166 |
+
"pairs_10pt": 99.3
|
| 167 |
},
|
| 168 |
"random 100": {
|
| 169 |
"error_points": 2.0,
|
| 170 |
+
"pairs_5pt": 98.4,
|
| 171 |
+
"pairs_10pt": 99.9
|
| 172 |
},
|
| 173 |
"foresight-swe-mini": {
|
| 174 |
+
"error_points": 6.9,
|
| 175 |
+
"pairs_5pt": 72.9,
|
| 176 |
+
"pairs_10pt": 82.1
|
| 177 |
}
|
| 178 |
},
|
| 179 |
"1.5": {
|
| 180 |
"random 10": {
|
| 181 |
+
"error_points": 8.6,
|
| 182 |
+
"pairs_5pt": 64.3,
|
| 183 |
+
"pairs_10pt": 74.2
|
| 184 |
},
|
| 185 |
+
"random 14": {
|
| 186 |
+
"error_points": 7.1,
|
| 187 |
+
"pairs_5pt": 72.2,
|
| 188 |
+
"pairs_10pt": 82.7
|
| 189 |
},
|
| 190 |
"random 20": {
|
| 191 |
+
"error_points": 5.9,
|
| 192 |
+
"pairs_5pt": 79.7,
|
| 193 |
+
"pairs_10pt": 89.3
|
| 194 |
},
|
| 195 |
"random 30": {
|
| 196 |
"error_points": 4.7,
|
| 197 |
+
"pairs_5pt": 85.7,
|
| 198 |
+
"pairs_10pt": 94.4
|
| 199 |
},
|
| 200 |
"random 60": {
|
| 201 |
"error_points": 3.0,
|
| 202 |
+
"pairs_5pt": 94.9,
|
| 203 |
+
"pairs_10pt": 99.4
|
| 204 |
},
|
| 205 |
"random 100": {
|
| 206 |
"error_points": 2.0,
|
| 207 |
+
"pairs_5pt": 98.7,
|
| 208 |
+
"pairs_10pt": 99.9
|
| 209 |
},
|
| 210 |
"foresight-swe-mini": {
|
| 211 |
+
"error_points": 7.0,
|
| 212 |
+
"pairs_5pt": 72.9,
|
| 213 |
+
"pairs_10pt": 82.8
|
| 214 |
}
|
| 215 |
}
|
| 216 |
}
|
data/tasks.jsonl
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
{"instance_id": "aiohttp__7665-8078", "repo": "aio-libs/aiohttp", "language": "python", "earlier_pr": 7665, "later_pr": 8078, "pr1_difficulty": "medium", "difficulty": "medium", "severity": "major", "failure_mode": "silent", "pr1_task_type": "feature", "security": true, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-aiohttp__7665-8078-pr1", "n_fail_to_pass": 2, "n_anticipation": 6, "n_pass_to_pass": 218, "image_gb": 0.53}
|
| 2 |
{"instance_id": "django__21204-34570", "repo": "django/django", "language": "python", "earlier_pr": 21204, "later_pr": 34570, "pr1_difficulty": "hard", "difficulty": "easy", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-django__21204-34570-pr1", "n_fail_to_pass": 3, "n_anticipation": 1, "n_pass_to_pass": 312, "image_gb": 0.61}
|
| 3 |
{"instance_id": "django__34429-35477", "repo": "django/django", "language": "python", "earlier_pr": 34429, "later_pr": 35477, "pr1_difficulty": "medium", "difficulty": "easy", "severity": "major", "failure_mode": "silent", "pr1_task_type": "feature", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-django__34429-35477-pr1", "n_fail_to_pass": 7, "n_anticipation": 3, "n_pass_to_pass": 164, "image_gb": 0.57}
|
| 4 |
-
{"instance_id": "pandas__49324-49704", "repo": "pandas-dev/pandas", "language": "python", "earlier_pr": 49324, "later_pr": 49704, "pr1_difficulty": "easy", "difficulty": "medium", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-pandas__49324-49704-pr1", "n_fail_to_pass": 39, "n_anticipation": 1, "n_pass_to_pass": 1872, "image_gb": 0.9}
|
| 5 |
{"instance_id": "pandas__62843-65342", "repo": "pandas-dev/pandas", "language": "python", "earlier_pr": 62843, "later_pr": 65342, "pr1_difficulty": "medium", "difficulty": "easy", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "mixed", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-pandas__62843-65342-pr1", "n_fail_to_pass": 6, "n_anticipation": 2, "n_pass_to_pass": 752, "image_gb": 0.79}
|
| 6 |
{"instance_id": "prometheus__14513-14598", "repo": "prometheus/prometheus", "language": "go", "earlier_pr": 14513, "later_pr": 14598, "pr1_difficulty": "hard", "difficulty": "hard", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-prometheus__14513-14598-pr1", "n_fail_to_pass": 2, "n_anticipation": 1, "n_pass_to_pass": 269, "image_gb": 1.34}
|
| 7 |
{"instance_id": "pydantic__10347-10358", "repo": "pydantic/pydantic", "language": "python", "earlier_pr": 10347, "later_pr": 10358, "pr1_difficulty": "easy", "difficulty": "easy", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-pydantic__10347-10358-pr1", "n_fail_to_pass": 1, "n_anticipation": 1, "n_pass_to_pass": 44, "image_gb": 0.68}
|
|
|
|
| 1 |
{"instance_id": "aiohttp__7665-8078", "repo": "aio-libs/aiohttp", "language": "python", "earlier_pr": 7665, "later_pr": 8078, "pr1_difficulty": "medium", "difficulty": "medium", "severity": "major", "failure_mode": "silent", "pr1_task_type": "feature", "security": true, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-aiohttp__7665-8078-pr1", "n_fail_to_pass": 2, "n_anticipation": 6, "n_pass_to_pass": 218, "image_gb": 0.53}
|
| 2 |
{"instance_id": "django__21204-34570", "repo": "django/django", "language": "python", "earlier_pr": 21204, "later_pr": 34570, "pr1_difficulty": "hard", "difficulty": "easy", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-django__21204-34570-pr1", "n_fail_to_pass": 3, "n_anticipation": 1, "n_pass_to_pass": 312, "image_gb": 0.61}
|
| 3 |
{"instance_id": "django__34429-35477", "repo": "django/django", "language": "python", "earlier_pr": 34429, "later_pr": 35477, "pr1_difficulty": "medium", "difficulty": "easy", "severity": "major", "failure_mode": "silent", "pr1_task_type": "feature", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-django__34429-35477-pr1", "n_fail_to_pass": 7, "n_anticipation": 3, "n_pass_to_pass": 164, "image_gb": 0.57}
|
|
|
|
| 4 |
{"instance_id": "pandas__62843-65342", "repo": "pandas-dev/pandas", "language": "python", "earlier_pr": 62843, "later_pr": 65342, "pr1_difficulty": "medium", "difficulty": "easy", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "mixed", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-pandas__62843-65342-pr1", "n_fail_to_pass": 6, "n_anticipation": 2, "n_pass_to_pass": 752, "image_gb": 0.79}
|
| 5 |
{"instance_id": "prometheus__14513-14598", "repo": "prometheus/prometheus", "language": "go", "earlier_pr": 14513, "later_pr": 14598, "pr1_difficulty": "hard", "difficulty": "hard", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-prometheus__14513-14598-pr1", "n_fail_to_pass": 2, "n_anticipation": 1, "n_pass_to_pass": 269, "image_gb": 1.34}
|
| 6 |
{"instance_id": "pydantic__10347-10358", "repo": "pydantic/pydantic", "language": "python", "earlier_pr": 10347, "later_pr": 10358, "pr1_difficulty": "easy", "difficulty": "easy", "severity": "minor", "failure_mode": "loud", "pr1_task_type": "bug", "security": false, "docker_image": "docker.io/shaswatpatel123/foresight-swe:inst-pydantic__10347-10358-pr1", "n_fail_to_pass": 1, "n_anticipation": 1, "n_pass_to_pass": 44, "image_gb": 0.68}
|