Datasets:
Report every pass@k from 1 through 16
Browse files- crosscodeeval-csharp-v5/pass_counts.parquet +2 -2
- crosscodeeval-java-v4/pass_counts.parquet +2 -2
- crosscodeeval-python-v3/pass_counts.parquet +2 -2
- crosscodeeval-typescript-v3/pass_counts.parquet +2 -2
- runs/2026-10-07-crosscodeeval-pass16.json +43 -3
- runs/2026-10-07-crosscodeeval-pass16/add_all_k.py +56 -0
- runs/2026-10-07-crosscodeeval-pass16/pass-at-k.json +186 -0
- runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.png +3 -0
- runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.svg +2634 -0
- runs/2026-10-07-crosscodeeval-pass16/prepare.py +2 -2
- runs/2026-10-07-crosscodeeval-pass16/summary.json +24 -2
crosscodeeval-csharp-v5/pass_counts.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f0c566d17837c7a9628bbe7f9097a32ef46ef24330db4993bd84edaf3823ee7
|
| 3 |
+
size 213144
|
crosscodeeval-java-v4/pass_counts.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee9e0a1a183762facbd2604098c14c606e40afa16b538e6c58588b323e26a0a1
|
| 3 |
+
size 310701
|
crosscodeeval-python-v3/pass_counts.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e6d1a167d1c8e73957f34e2eb1ae22b803c5641fd8c02937721dbd8a914d297
|
| 3 |
+
size 75110
|
crosscodeeval-typescript-v3/pass_counts.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e33626110de802f7ed9a683805eeb0492ed3d6ce480675934ee37622d67a4a28
|
| 3 |
+
size 480717
|
runs/2026-10-07-crosscodeeval-pass16.json
CHANGED
|
@@ -288,7 +288,18 @@
|
|
| 288 |
}
|
| 289 |
},
|
| 290 |
"trajectory_files_found": 107359
|
| 291 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
},
|
| 293 |
"qwen3-30b-thinking": {
|
| 294 |
"tasks": 6710,
|
|
@@ -481,7 +492,18 @@
|
|
| 481 |
}
|
| 482 |
},
|
| 483 |
"trajectory_files_found": 107360
|
| 484 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 485 |
}
|
| 486 |
},
|
| 487 |
"stage7": "runs/2026-10-07-crosscodeeval-pass16/stage-7-combined.json.gz",
|
|
@@ -490,5 +512,23 @@
|
|
| 490 |
"Includes original collection and accepted recovery attempts.",
|
| 491 |
"One context-limit failure counts as reward 0 under the agreed evaluation policy; its absent verifier score and original error remain recorded."
|
| 492 |
],
|
| 493 |
-
"pass_at_k": "1 - comb(16 - solved, k) / comb(16, k)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 494 |
}
|
|
|
|
| 288 |
}
|
| 289 |
},
|
| 290 |
"trajectory_files_found": 107359
|
| 291 |
+
},
|
| 292 |
+
"pass@3": 0.05105306578667235,
|
| 293 |
+
"pass@5": 0.06333516210565392,
|
| 294 |
+
"pass@6": 0.0679098658420566,
|
| 295 |
+
"pass@7": 0.07186940481277292,
|
| 296 |
+
"pass@9": 0.07855124383812909,
|
| 297 |
+
"pass@10": 0.08145727223596076,
|
| 298 |
+
"pass@11": 0.08415129952015198,
|
| 299 |
+
"pass@12": 0.08667226216406544,
|
| 300 |
+
"pass@13": 0.0890496593570364,
|
| 301 |
+
"pass@14": 0.09130650769995032,
|
| 302 |
+
"pass@15": 0.09346125186289121
|
| 303 |
},
|
| 304 |
"qwen3-30b-thinking": {
|
| 305 |
"tasks": 6710,
|
|
|
|
| 492 |
}
|
| 493 |
},
|
| 494 |
"trajectory_files_found": 107360
|
| 495 |
+
},
|
| 496 |
+
"pass@3": 0.049585373642750695,
|
| 497 |
+
"pass@5": 0.06213431377365804,
|
| 498 |
+
"pass@6": 0.06684295585189773,
|
| 499 |
+
"pass@7": 0.07090064927620815,
|
| 500 |
+
"pass@9": 0.07763596500369974,
|
| 501 |
+
"pass@10": 0.08049430078118602,
|
| 502 |
+
"pass@11": 0.08309433053285512,
|
| 503 |
+
"pass@12": 0.08547911105288154,
|
| 504 |
+
"pass@13": 0.08768229721098575,
|
| 505 |
+
"pass@14": 0.08973050173869847,
|
| 506 |
+
"pass@15": 0.09164493293591654
|
| 507 |
}
|
| 508 |
},
|
| 509 |
"stage7": "runs/2026-10-07-crosscodeeval-pass16/stage-7-combined.json.gz",
|
|
|
|
| 512 |
"Includes original collection and accepted recovery attempts.",
|
| 513 |
"One context-limit failure counts as reward 0 under the agreed evaluation policy; its absent verifier score and original error remain recorded."
|
| 514 |
],
|
| 515 |
+
"pass_at_k": "1 - comb(16 - solved, k) / comb(16, k)",
|
| 516 |
+
"reported_k": [
|
| 517 |
+
1,
|
| 518 |
+
2,
|
| 519 |
+
3,
|
| 520 |
+
4,
|
| 521 |
+
5,
|
| 522 |
+
6,
|
| 523 |
+
7,
|
| 524 |
+
8,
|
| 525 |
+
9,
|
| 526 |
+
10,
|
| 527 |
+
11,
|
| 528 |
+
12,
|
| 529 |
+
13,
|
| 530 |
+
14,
|
| 531 |
+
15,
|
| 532 |
+
16
|
| 533 |
+
]
|
| 534 |
}
|
runs/2026-10-07-crosscodeeval-pass16/add_all_k.py
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Add every pass@k from 1 through 16 to the existing teacher-results PR."""
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
import sys,json,math,hashlib,shutil
|
| 4 |
+
import pyarrow as pa
|
| 5 |
+
import pyarrow.parquet as pq
|
| 6 |
+
from huggingface_hub import HfApi,CommitOperationAdd,hf_hub_download
|
| 7 |
+
root=Path(__file__).resolve().parent;release=root/'release';run='2026-10-07-crosscodeeval-pass16';out=release/'runs'/run
|
| 8 |
+
sys.path.insert(0,'/home/hpc/y500bb/y500bb12/OT_next_data')
|
| 9 |
+
from validation.checks.reward_metrics import pass_at_k
|
| 10 |
+
from validation.reporting.plot_results import rates
|
| 11 |
+
state=json.loads((root/'hf-publication.json').read_text());changed=[];groups={}
|
| 12 |
+
for p in sorted(release.glob('crosscodeeval-*/pass_counts.parquet')):
|
| 13 |
+
rows=pq.read_table(p).to_pylist()
|
| 14 |
+
for row in rows:
|
| 15 |
+
if row['run']!=f'runs/{run}.json':continue
|
| 16 |
+
n,c=row['attempts'],row['solved'];assert n==16
|
| 17 |
+
for k in range(1,17):
|
| 18 |
+
value=pass_at_k(n,c,k);expected=1-(math.comb(n-c,k)/math.comb(n,k) if n-c>=k else 0)
|
| 19 |
+
assert abs(value-expected)<1e-12
|
| 20 |
+
row[f'pass@{k}']=value
|
| 21 |
+
assert all(row[f'pass@{k}']<=row[f'pass@{k+1}'] for k in range(1,16))
|
| 22 |
+
pq.write_table(pa.Table.from_pylist(rows),p);changed.append(p)
|
| 23 |
+
summary=json.loads((out/'summary.json').read_text())
|
| 24 |
+
for model in summary:
|
| 25 |
+
grouped=rates(out/f'{model}-stage-6.json',list(range(1,17)));groups[model]=grouped
|
| 26 |
+
summary[model].update({f'pass@{k}':v for k,v in grouped['All tasks'].items()})
|
| 27 |
+
(out/'summary.json').write_text(json.dumps(summary,indent=2)+'\n');changed.append(out/'summary.json')
|
| 28 |
+
p=release/'runs'/f'{run}.json';record=json.loads(p.read_text());record['summary']=summary;record['reported_k']=list(range(1,17));p.write_text(json.dumps(record,indent=2)+'\n');changed.append(p)
|
| 29 |
+
p=out/'pass-at-k.json';p.write_text(json.dumps(groups,indent=2)+'\n');changed.append(p)
|
| 30 |
+
import matplotlib
|
| 31 |
+
matplotlib.use('Agg')
|
| 32 |
+
import matplotlib.pyplot as plt
|
| 33 |
+
labels=['csharp','java','python','typescript','All tasks'];fig,axes=plt.subplots(1,2,figsize=(13,4.8),sharey=True,layout='constrained')
|
| 34 |
+
for ax,(model,grouped) in zip(axes,groups.items()):
|
| 35 |
+
for label in labels:
|
| 36 |
+
values=grouped[label];ax.plot(list(values),[100*v for v in values.values()],marker='o',markersize=3,label=label,linewidth=2 if label=='All tasks' else 1.3)
|
| 37 |
+
ax.set(title='Qwen Instruct' if 'instruct' in model else 'Qwen Thinking',xlabel='k (attempts)',xticks=range(1,17),xlim=(1,16),ylim=(0,20));ax.grid(alpha=.2);ax.spines[['top','right']].set_visible(False);ax.legend(frameon=False)
|
| 38 |
+
axes[0].set_ylabel('Pass@k (%)')
|
| 39 |
+
for ext in ['png','svg']:
|
| 40 |
+
p=out/f'pass-rates-all-k.{ext}';fig.savefig(p,dpi=180);changed.append(p)
|
| 41 |
+
plt.close(fig)
|
| 42 |
+
# Keep the original preparation script consistent for per-task and summary exports.
|
| 43 |
+
p=root/'prepare.py';s=p.read_text().replace('for k in [1,2,4,8,16]','for k in range(1,17)');p.write_text(s);shutil.copyfile(p,out/p.name);changed.append(out/p.name)
|
| 44 |
+
shutil.copyfile(Path(__file__),out/Path(__file__).name);changed.append(out/Path(__file__).name)
|
| 45 |
+
p=root/'pull-request.md';body=p.read_text().replace('pass@1/2/4/8/16','pass@k for every k from 1 through 16').replace('Plots show pass rates by language,','Plots show pass rates for every k from 1 through 16, by language,');p.write_text(body)
|
| 46 |
+
api=HfApi();commit=api.create_commit(repo_id=state['repo'],repo_type='dataset',revision=state['revision'],parent_commit=state['commit'],operations=[CommitOperationAdd(path_in_repo=str(p.relative_to(release)),path_or_fileobj=str(p)) for p in changed],commit_message='Report every pass@k from 1 through 16')
|
| 47 |
+
state['commit']=commit.oid;state['status']='all-k-uploaded';(root/'hf-publication.json').write_text(json.dumps(state,indent=2)+'\n')
|
| 48 |
+
for p in changed:
|
| 49 |
+
remote=hf_hub_download(state['repo'],str(p.relative_to(release)),repo_type='dataset',revision=commit.oid,cache_dir=str(root/'verify-cache'))
|
| 50 |
+
assert hashlib.sha256(Path(remote).read_bytes()).digest()==hashlib.sha256(p.read_bytes()).digest()
|
| 51 |
+
# The opening discussion comment contains the PR description.
|
| 52 |
+
d=api.get_discussion_details(state['repo'],6,repo_type='dataset')
|
| 53 |
+
comments=[e for e in d.events if e.type=='comment']
|
| 54 |
+
original=next(e for e in comments if 'Adds per-task teacher results' in e.content)
|
| 55 |
+
api.edit_discussion_comment(repo_id=state['repo'],discussion_num=6,comment_id=original.id,content=body,repo_type='dataset')
|
| 56 |
+
state.update(status='verified',reported_k=list(range(1,17)),files=sum(p.is_file() for p in release.rglob('*')));(root/'hf-publication.json').write_text(json.dumps(state,indent=2)+'\n');print(state['pr_url'],flush=True)
|
runs/2026-10-07-crosscodeeval-pass16/pass-at-k.json
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"qwen3-30b-instruct-2507": {
|
| 3 |
+
"csharp": {
|
| 4 |
+
"1": 0.011917960088691795,
|
| 5 |
+
"2": 0.019419807834441978,
|
| 6 |
+
"3": 0.02475847323408299,
|
| 7 |
+
"4": 0.0289060532962972,
|
| 8 |
+
"5": 0.03232556738654299,
|
| 9 |
+
"6": 0.03526397844579663,
|
| 10 |
+
"7": 0.037865349727877445,
|
| 11 |
+
"8": 0.04021940939901029,
|
| 12 |
+
"9": 0.04238534931439588,
|
| 13 |
+
"10": 0.044404320734697675,
|
| 14 |
+
"11": 0.046306166732996,
|
| 15 |
+
"12": 0.048113268844976166,
|
| 16 |
+
"13": 0.049842941611234294,
|
| 17 |
+
"14": 0.0515089923626509,
|
| 18 |
+
"15": 0.05312269031781227,
|
| 19 |
+
"16": 0.05469327420546933
|
| 20 |
+
},
|
| 21 |
+
"java": {
|
| 22 |
+
"1": 0.05448548812664908,
|
| 23 |
+
"2": 0.07895338610378189,
|
| 24 |
+
"3": 0.09449962306822465,
|
| 25 |
+
"4": 0.10587984574791963,
|
| 26 |
+
"5": 0.11489097973266839,
|
| 27 |
+
"6": 0.12238421209397463,
|
| 28 |
+
"7": 0.12882714910419396,
|
| 29 |
+
"8": 0.13450297576946652,
|
| 30 |
+
"9": 0.13959522667306307,
|
| 31 |
+
"10": 0.14422931949317175,
|
| 32 |
+
"11": 0.14849517237380033,
|
| 33 |
+
"12": 0.15246020470294874,
|
| 34 |
+
"13": 0.15617696946852622,
|
| 35 |
+
"14": 0.1596877748460862,
|
| 36 |
+
"15": 0.16302770448548812,
|
| 37 |
+
"16": 0.1662269129287599
|
| 38 |
+
},
|
| 39 |
+
"python": {
|
| 40 |
+
"1": 0.03125,
|
| 41 |
+
"2": 0.0484375,
|
| 42 |
+
"3": 0.05991236772486772,
|
| 43 |
+
"4": 0.06853632478632478,
|
| 44 |
+
"5": 0.07545723951973952,
|
| 45 |
+
"6": 0.08125844063344063,
|
| 46 |
+
"7": 0.08629261363636365,
|
| 47 |
+
"8": 0.09078912342801232,
|
| 48 |
+
"9": 0.09489971833721834,
|
| 49 |
+
"10": 0.09872419247419248,
|
| 50 |
+
"11": 0.10232721560846561,
|
| 51 |
+
"12": 0.10575015262515262,
|
| 52 |
+
"13": 0.10901951058201058,
|
| 53 |
+
"14": 0.11215277777777778,
|
| 54 |
+
"15": 0.11516203703703703,
|
| 55 |
+
"16": 0.11805555555555555
|
| 56 |
+
},
|
| 57 |
+
"typescript": {
|
| 58 |
+
"1": 0.01808993399339934,
|
| 59 |
+
"2": 0.027816281628162815,
|
| 60 |
+
"3": 0.03435938236680811,
|
| 61 |
+
"4": 0.03926921263554927,
|
| 62 |
+
"5": 0.043210069633336956,
|
| 63 |
+
"6": 0.04651528339647151,
|
| 64 |
+
"7": 0.04937492787740312,
|
| 65 |
+
"8": 0.05190762666010191,
|
| 66 |
+
"9": 0.054192024971727946,
|
| 67 |
+
"10": 0.05628245516859379,
|
| 68 |
+
"11": 0.05821757999975821,
|
| 69 |
+
"12": 0.060025568490915025,
|
| 70 |
+
"13": 0.061727369165487975,
|
| 71 |
+
"14": 0.06333883388338833,
|
| 72 |
+
"15": 0.06487211221122112,
|
| 73 |
+
"16": 0.06633663366336634
|
| 74 |
+
},
|
| 75 |
+
"All tasks": {
|
| 76 |
+
"1": 0.027971311475409835,
|
| 77 |
+
"2": 0.04189269746646796,
|
| 78 |
+
"3": 0.05105306578667235,
|
| 79 |
+
"4": 0.05787564894122272,
|
| 80 |
+
"5": 0.06333516210565392,
|
| 81 |
+
"6": 0.0679098658420566,
|
| 82 |
+
"7": 0.07186940481277292,
|
| 83 |
+
"8": 0.07538018034292251,
|
| 84 |
+
"9": 0.07855124383812909,
|
| 85 |
+
"10": 0.08145727223596076,
|
| 86 |
+
"11": 0.08415129952015198,
|
| 87 |
+
"12": 0.08667226216406544,
|
| 88 |
+
"13": 0.0890496593570364,
|
| 89 |
+
"14": 0.09130650769995032,
|
| 90 |
+
"15": 0.09346125186289121,
|
| 91 |
+
"16": 0.09552906110283159
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
"qwen3-30b-thinking": {
|
| 95 |
+
"csharp": {
|
| 96 |
+
"1": 0.009931633407243163,
|
| 97 |
+
"2": 0.01701157920670116,
|
| 98 |
+
"3": 0.02255437651779115,
|
| 99 |
+
"4": 0.027151303980572274,
|
| 100 |
+
"5": 0.031093229263960975,
|
| 101 |
+
"6": 0.03454140094938321,
|
| 102 |
+
"7": 0.037596909742142554,
|
| 103 |
+
"8": 0.040330417714009734,
|
| 104 |
+
"9": 0.04279572976912223,
|
| 105 |
+
"10": 0.04503626454845967,
|
| 106 |
+
"11": 0.0470882437345852,
|
| 107 |
+
"12": 0.04898231849451362,
|
| 108 |
+
"13": 0.05074437757364587,
|
| 109 |
+
"14": 0.05239591032273959,
|
| 110 |
+
"15": 0.05395417590539542,
|
| 111 |
+
"16": 0.05543237250554324
|
| 112 |
+
},
|
| 113 |
+
"java": {
|
| 114 |
+
"1": 0.053067282321899736,
|
| 115 |
+
"2": 0.0768117854001759,
|
| 116 |
+
"3": 0.09180738786279682,
|
| 117 |
+
"4": 0.10255617733190292,
|
| 118 |
+
"5": 0.11089852320063402,
|
| 119 |
+
"6": 0.11771994496268902,
|
| 120 |
+
"7": 0.1234975644408362,
|
| 121 |
+
"8": 0.12851186925065552,
|
| 122 |
+
"9": 0.13294079930623465,
|
| 123 |
+
"10": 0.1369052451506277,
|
| 124 |
+
"11": 0.1404922584012294,
|
| 125 |
+
"12": 0.1437672881208501,
|
| 126 |
+
"13": 0.14678100263852242,
|
| 127 |
+
"14": 0.14957343887423044,
|
| 128 |
+
"15": 0.1521767810026385,
|
| 129 |
+
"16": 0.1546174142480211
|
| 130 |
+
},
|
| 131 |
+
"python": {
|
| 132 |
+
"1": 0.025607638888888888,
|
| 133 |
+
"2": 0.04157021604938271,
|
| 134 |
+
"3": 0.053290343915343916,
|
| 135 |
+
"4": 0.06278998778998779,
|
| 136 |
+
"5": 0.07087265550807217,
|
| 137 |
+
"6": 0.07792525761275762,
|
| 138 |
+
"7": 0.08418540371665371,
|
| 139 |
+
"8": 0.08982290857290857,
|
| 140 |
+
"9": 0.09496527777777777,
|
| 141 |
+
"10": 0.09970845127095128,
|
| 142 |
+
"11": 0.10412374084249085,
|
| 143 |
+
"12": 0.10826338013838013,
|
| 144 |
+
"13": 0.11216517857142858,
|
| 145 |
+
"14": 0.11585648148148148,
|
| 146 |
+
"15": 0.1193576388888889,
|
| 147 |
+
"16": 0.12268518518518519
|
| 148 |
+
},
|
| 149 |
+
"typescript": {
|
| 150 |
+
"1": 0.018234323432343234,
|
| 151 |
+
"2": 0.027967546754675464,
|
| 152 |
+
"3": 0.03472123998114097,
|
| 153 |
+
"4": 0.03996391397381496,
|
| 154 |
+
"5": 0.04425162296449425,
|
| 155 |
+
"6": 0.04786756148142286,
|
| 156 |
+
"7": 0.05098308869348473,
|
| 157 |
+
"8": 0.053712037870453706,
|
| 158 |
+
"9": 0.05613428650557363,
|
| 159 |
+
"10": 0.05830798739214581,
|
| 160 |
+
"11": 0.06027665953408528,
|
| 161 |
+
"12": 0.06207358647952707,
|
| 162 |
+
"13": 0.06372465818010373,
|
| 163 |
+
"14": 0.06525027502750275,
|
| 164 |
+
"15": 0.06666666666666667,
|
| 165 |
+
"16": 0.06798679867986798
|
| 166 |
+
},
|
| 167 |
+
"All tasks": {
|
| 168 |
+
"1": 0.02687220566318927,
|
| 169 |
+
"2": 0.0404284649776453,
|
| 170 |
+
"3": 0.049585373642750695,
|
| 171 |
+
"4": 0.05652691570724358,
|
| 172 |
+
"5": 0.06213431377365804,
|
| 173 |
+
"6": 0.06684295585189773,
|
| 174 |
+
"7": 0.07090064927620815,
|
| 175 |
+
"8": 0.07446319204888505,
|
| 176 |
+
"9": 0.07763596500369974,
|
| 177 |
+
"10": 0.08049430078118602,
|
| 178 |
+
"11": 0.08309433053285512,
|
| 179 |
+
"12": 0.08547911105288154,
|
| 180 |
+
"13": 0.08768229721098575,
|
| 181 |
+
"14": 0.08973050173869847,
|
| 182 |
+
"15": 0.09164493293591654,
|
| 183 |
+
"16": 0.09344262295081968
|
| 184 |
+
}
|
| 185 |
+
}
|
| 186 |
+
}
|
runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.png
ADDED
|
Git LFS Details
|
runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.svg
ADDED
|
|
runs/2026-10-07-crosscodeeval-pass16/prepare.py
CHANGED
|
@@ -110,12 +110,12 @@ for model,rows in allrows.items():
|
|
| 110 |
mine=[r for r in final if r['model']==model];items=[]
|
| 111 |
for r in mine:
|
| 112 |
assert len(r['rewards'])==16 and r['complete'];n=int(r['solved']);language=r['task_id'].split('-')[1]
|
| 113 |
-
record={'path':r['task_id'],'content_sha256':r['sha256'],'model':model,'attempts':16,'graded':16,'solved':n,'group':reward_group(r['rewards']),'run':f'runs/{run}.json',**{f'pass@{k}':pass_at_k(16,n,k) for k in
|
| 114 |
tables[folders[language]].append(record)
|
| 115 |
items.append({'task':r['task_id'],'rewards':r['rewards'],'metrics':{'attempts':16,'solved':n,'graded':16}})
|
| 116 |
stage6=out/f'{model}-stage-6.json';write(stage6,{'stage':6,'complete':True,'dry_run':False,'model':model,'items':items})
|
| 117 |
panels.append((model,rates(stage6,[1,2,4,8,16])));plot_solved_counts(solved_counts(stage6),out/f'{model}-solved-counts.png')
|
| 118 |
-
summary[model]={'tasks':len(mine),'attempts':len(rows),**{f'pass@{k}':sum(pass_at_k(16,int(r['solved']),k) for r in mine)/len(mine) for k in
|
| 119 |
plot_rates(panels,[1,2,4,8,16],out/'pass-rates.png')
|
| 120 |
zipped(out/'stage-7-combined.json.gz',combined)
|
| 121 |
write(out/'summary.json',summary)
|
|
|
|
| 110 |
mine=[r for r in final if r['model']==model];items=[]
|
| 111 |
for r in mine:
|
| 112 |
assert len(r['rewards'])==16 and r['complete'];n=int(r['solved']);language=r['task_id'].split('-')[1]
|
| 113 |
+
record={'path':r['task_id'],'content_sha256':r['sha256'],'model':model,'attempts':16,'graded':16,'solved':n,'group':reward_group(r['rewards']),'run':f'runs/{run}.json',**{f'pass@{k}':pass_at_k(16,n,k) for k in range(1,17)}}
|
| 114 |
tables[folders[language]].append(record)
|
| 115 |
items.append({'task':r['task_id'],'rewards':r['rewards'],'metrics':{'attempts':16,'solved':n,'graded':16}})
|
| 116 |
stage6=out/f'{model}-stage-6.json';write(stage6,{'stage':6,'complete':True,'dry_run':False,'model':model,'items':items})
|
| 117 |
panels.append((model,rates(stage6,[1,2,4,8,16])));plot_solved_counts(solved_counts(stage6),out/f'{model}-solved-counts.png')
|
| 118 |
+
summary[model]={'tasks':len(mine),'attempts':len(rows),**{f'pass@{k}':sum(pass_at_k(16,int(r['solved']),k) for r in mine)/len(mine) for k in range(1,17)},'trace_metrics':a}
|
| 119 |
plot_rates(panels,[1,2,4,8,16],out/'pass-rates.png')
|
| 120 |
zipped(out/'stage-7-combined.json.gz',combined)
|
| 121 |
write(out/'summary.json',summary)
|
runs/2026-10-07-crosscodeeval-pass16/summary.json
CHANGED
|
@@ -285,7 +285,18 @@
|
|
| 285 |
}
|
| 286 |
},
|
| 287 |
"trajectory_files_found": 107359
|
| 288 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 289 |
},
|
| 290 |
"qwen3-30b-thinking": {
|
| 291 |
"tasks": 6710,
|
|
@@ -478,6 +489,17 @@
|
|
| 478 |
}
|
| 479 |
},
|
| 480 |
"trajectory_files_found": 107360
|
| 481 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 482 |
}
|
| 483 |
}
|
|
|
|
| 285 |
}
|
| 286 |
},
|
| 287 |
"trajectory_files_found": 107359
|
| 288 |
+
},
|
| 289 |
+
"pass@3": 0.05105306578667235,
|
| 290 |
+
"pass@5": 0.06333516210565392,
|
| 291 |
+
"pass@6": 0.0679098658420566,
|
| 292 |
+
"pass@7": 0.07186940481277292,
|
| 293 |
+
"pass@9": 0.07855124383812909,
|
| 294 |
+
"pass@10": 0.08145727223596076,
|
| 295 |
+
"pass@11": 0.08415129952015198,
|
| 296 |
+
"pass@12": 0.08667226216406544,
|
| 297 |
+
"pass@13": 0.0890496593570364,
|
| 298 |
+
"pass@14": 0.09130650769995032,
|
| 299 |
+
"pass@15": 0.09346125186289121
|
| 300 |
},
|
| 301 |
"qwen3-30b-thinking": {
|
| 302 |
"tasks": 6710,
|
|
|
|
| 489 |
}
|
| 490 |
},
|
| 491 |
"trajectory_files_found": 107360
|
| 492 |
+
},
|
| 493 |
+
"pass@3": 0.049585373642750695,
|
| 494 |
+
"pass@5": 0.06213431377365804,
|
| 495 |
+
"pass@6": 0.06684295585189773,
|
| 496 |
+
"pass@7": 0.07090064927620815,
|
| 497 |
+
"pass@9": 0.07763596500369974,
|
| 498 |
+
"pass@10": 0.08049430078118602,
|
| 499 |
+
"pass@11": 0.08309433053285512,
|
| 500 |
+
"pass@12": 0.08547911105288154,
|
| 501 |
+
"pass@13": 0.08768229721098575,
|
| 502 |
+
"pass@14": 0.08973050173869847,
|
| 503 |
+
"pass@15": 0.09164493293591654
|
| 504 |
}
|
| 505 |
}
|