CrossCodeEval: complete pass@16 results and combined trace statistics

#6
by FWeindel - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50) hide show
  1. crosscodeeval-csharp-v5/pass_counts.parquet +3 -0
  2. crosscodeeval-java-v4/pass_counts.parquet +3 -0
  3. crosscodeeval-python-v3/pass_counts.parquet +3 -0
  4. crosscodeeval-typescript-v3/pass_counts.parquet +3 -0
  5. runs/2026-10-07-crosscodeeval-pass16.json +534 -0
  6. runs/2026-10-07-crosscodeeval-pass16/add_all_k.py +56 -0
  7. runs/2026-10-07-crosscodeeval-pass16/attempts.json.gz +3 -0
  8. runs/2026-10-07-crosscodeeval-pass16/check_hf.py +30 -0
  9. runs/2026-10-07-crosscodeeval-pass16/command_metrics.py +196 -0
  10. runs/2026-10-07-crosscodeeval-pass16/coverage.json +558 -0
  11. runs/2026-10-07-crosscodeeval-pass16/pass-at-k.json +186 -0
  12. runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.png +3 -0
  13. runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.svg +2634 -0
  14. runs/2026-10-07-crosscodeeval-pass16/pass-rates.png +3 -0
  15. runs/2026-10-07-crosscodeeval-pass16/prepare.py +125 -0
  16. runs/2026-10-07-crosscodeeval-pass16/provenance.json.gz +3 -0
  17. runs/2026-10-07-crosscodeeval-pass16/publish.py +66 -0
  18. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-solved-counts.png +3 -0
  19. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-stage-6.json +0 -0
  20. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-stage-7-trace-distributions.png +3 -0
  21. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-stage-7-trace-outcomes.png +3 -0
  22. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-trace-metrics.json.gz +3 -0
  23. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-solved-counts.png +3 -0
  24. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-stage-6.json +0 -0
  25. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-stage-7-trace-distributions.png +3 -0
  26. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-stage-7-trace-outcomes.png +3 -0
  27. runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-trace-metrics.json.gz +3 -0
  28. runs/2026-10-07-crosscodeeval-pass16/reward_metrics.py +80 -0
  29. runs/2026-10-07-crosscodeeval-pass16/sources/000-stage-7.json.gz +3 -0
  30. runs/2026-10-07-crosscodeeval-pass16/sources/001-stage-7.json.gz +3 -0
  31. runs/2026-10-07-crosscodeeval-pass16/sources/002-stage-7.json.gz +3 -0
  32. runs/2026-10-07-crosscodeeval-pass16/sources/003-reconstructed-stage-7.json.gz +3 -0
  33. runs/2026-10-07-crosscodeeval-pass16/sources/004-reconstructed-stage-7.json.gz +3 -0
  34. runs/2026-10-07-crosscodeeval-pass16/sources/005-stage-7.json.gz +3 -0
  35. runs/2026-10-07-crosscodeeval-pass16/sources/006-stage-7.json.gz +3 -0
  36. runs/2026-10-07-crosscodeeval-pass16/sources/007-stage-7.json.gz +3 -0
  37. runs/2026-10-07-crosscodeeval-pass16/sources/008-stage-7.json.gz +3 -0
  38. runs/2026-10-07-crosscodeeval-pass16/sources/009-stage-7.json.gz +3 -0
  39. runs/2026-10-07-crosscodeeval-pass16/sources/010-reconstructed-stage-7.json.gz +3 -0
  40. runs/2026-10-07-crosscodeeval-pass16/sources/011-stage-7.json.gz +3 -0
  41. runs/2026-10-07-crosscodeeval-pass16/sources/012-stage-7.json.gz +3 -0
  42. runs/2026-10-07-crosscodeeval-pass16/sources/013-stage-7.json.gz +3 -0
  43. runs/2026-10-07-crosscodeeval-pass16/sources/014-stage-7.json.gz +3 -0
  44. runs/2026-10-07-crosscodeeval-pass16/sources/015-stage-7.json.gz +3 -0
  45. runs/2026-10-07-crosscodeeval-pass16/sources/016-stage-7.json.gz +3 -0
  46. runs/2026-10-07-crosscodeeval-pass16/sources/017-stage-7.json.gz +3 -0
  47. runs/2026-10-07-crosscodeeval-pass16/sources/018-stage-7.json.gz +3 -0
  48. runs/2026-10-07-crosscodeeval-pass16/sources/019-stage-7.json.gz +3 -0
  49. runs/2026-10-07-crosscodeeval-pass16/sources/020-stage-7.json.gz +3 -0
  50. runs/2026-10-07-crosscodeeval-pass16/sources/021-stage-7.json.gz +3 -0
crosscodeeval-csharp-v5/pass_counts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f0c566d17837c7a9628bbe7f9097a32ef46ef24330db4993bd84edaf3823ee7
3
+ size 213144
crosscodeeval-java-v4/pass_counts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee9e0a1a183762facbd2604098c14c606e40afa16b538e6c58588b323e26a0a1
3
+ size 310701
crosscodeeval-python-v3/pass_counts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e6d1a167d1c8e73957f34e2eb1ae22b803c5641fd8c02937721dbd8a914d297
3
+ size 75110
crosscodeeval-typescript-v3/pass_counts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e33626110de802f7ed9a683805eeb0492ed3d6ce480675934ee37622d67a4a28
3
+ size 480717
runs/2026-10-07-crosscodeeval-pass16.json ADDED
@@ -0,0 +1,534 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "2026-10-07-crosscodeeval-pass16",
3
+ "kind": "pass_counts_and_trace_metrics",
4
+ "summary": {
5
+ "qwen3-30b-instruct-2507": {
6
+ "tasks": 6710,
7
+ "attempts": 107360,
8
+ "pass@1": 0.027971311475409835,
9
+ "pass@2": 0.04189269746646796,
10
+ "pass@4": 0.05787564894122272,
11
+ "pass@8": 0.07538018034292251,
12
+ "pass@16": 0.09552906110283159,
13
+ "trace_metrics": {
14
+ "trajectories": 107360,
15
+ "graded": 107360,
16
+ "solved": 3003,
17
+ "turns": {
18
+ "n": 107359,
19
+ "mean": 2.6162874095325033,
20
+ "median": 2,
21
+ "p90": 2,
22
+ "p95": 4,
23
+ "max": 433
24
+ },
25
+ "input_tokens": {
26
+ "n": 107359,
27
+ "mean": 11270.863020333647,
28
+ "median": 3865,
29
+ "p90": 7488,
30
+ "p95": 9877,
31
+ "max": 6431947
32
+ },
33
+ "input_tokens_total": 1210028583,
34
+ "output_tokens": {
35
+ "n": 107359,
36
+ "mean": 786.0006427034529,
37
+ "median": 393,
38
+ "p90": 616,
39
+ "p95": 890,
40
+ "max": 134532
41
+ },
42
+ "output_tokens_total": 84384243,
43
+ "peak_context_tokens": {
44
+ "n": 107338,
45
+ "mean": 2840.7634481730606,
46
+ "median": 2247,
47
+ "p90": 3575,
48
+ "p95": 4483,
49
+ "max": 72569
50
+ },
51
+ "peak_context_fraction": {
52
+ "n": 107338,
53
+ "mean": 0.08669322046426577,
54
+ "median": 0.068572998046875,
55
+ "p90": 0.109100341796875,
56
+ "p95": 0.136810302734375,
57
+ "max": 2.214630126953125
58
+ },
59
+ "trajectories_above_90_percent_context": 713,
60
+ "latency_seconds": {
61
+ "model_call": {
62
+ "n": 284844,
63
+ "mean": 2.6475805339975143,
64
+ "max": 149.47315096855164,
65
+ "median": null,
66
+ "p90": null,
67
+ "p95": null,
68
+ "note": "Per-call samples were not retained; pooled quantiles cannot be reconstructed."
69
+ },
70
+ "tool_call": null,
71
+ "agent": {
72
+ "n": 107360,
73
+ "mean": 11.691557514307005,
74
+ "median": 6.294525,
75
+ "p90": 9.719629,
76
+ "p95": 13.298929,
77
+ "max": 2464.816905
78
+ },
79
+ "verifier": {
80
+ "n": 107360,
81
+ "mean": 1.288768823733234,
82
+ "median": 1.236909,
83
+ "p90": 1.375125,
84
+ "p95": 1.411272,
85
+ "max": 117.897129
86
+ },
87
+ "trial": {
88
+ "n": 107360,
89
+ "mean": 28.064082660068927,
90
+ "median": 13.718699,
91
+ "p90": 34.028572,
92
+ "p95": 89.080016,
93
+ "max": 2501.000071
94
+ }
95
+ },
96
+ "tools": {
97
+ "bash_command": {
98
+ "calls": 167067,
99
+ "calls_per_trajectory": 1.5561382265275707,
100
+ "failed": null,
101
+ "failure_rate": null
102
+ },
103
+ "mark_task_complete": {
104
+ "calls": 215763,
105
+ "calls_per_trajectory": 2.0097149776453054,
106
+ "failed": null,
107
+ "failure_rate": null
108
+ }
109
+ },
110
+ "tool_steps": 252089,
111
+ "tool_steps_without_output": 0,
112
+ "tool_steps_with_error_text": 7146,
113
+ "tool_steps_with_error_text_rate": 0.028347131370270024,
114
+ "terminations": {
115
+ "session_ended": 4,
116
+ "task_complete": 107272,
117
+ "task_timeout": 84
118
+ },
119
+ "command_distribution": {
120
+ " DELETE": 7.291978094897803e-07,
121
+ " matcher.group(\"artifactId\"),\n": 4.3088961469850656e-07,
122
+ " matcher.group(\"classifier\"),\n": 4.3088961469850656e-07,
123
+ " matcher.group(\"groupId\"),\n": 4.3088961469850656e-07,
124
+ " matcher.group(\"type\")),\n": 4.3088961469850656e-07,
125
+ " matcher.group(\"version\"),\n": 4.3088961469850656e-07,
126
+ " .collect(Collectors.joining(\"\\n\"));": 1.5799285872278573e-06,
127
+ " .collect(Collectors.joining(\"\\n\"));\n": 1.5799285872278573e-06,
128
+ " .map(entry -> \"\\u2022 \" + entry.getDisplayValue() + \" (\" + entry.getRank() + \")\")\n": 3.1598571744557146e-06,
129
+ " Collectors.toCollection(LinkedHashSet::new)))));\n": 4.3088961469850656e-07,
130
+ " matcher -> new Dependency(\n": 4.3088961469850656e-07,
131
+ " throw new UnsupportedOperationException(Unsupported": 7.291978094897803e-07,
132
+ " Collectors.mapping(\n": 4.3088961469850656e-07,
133
+ " ex.printStackTrace();\n": 7.291978094897803e-07,
134
+ " matcher -> matcher.group(\"module\"),\n": 4.3088961469850656e-07,
135
+ " preparedStatement.close();\n": 7.291978094897803e-07,
136
+ " preparedStatement.executeUpdate();\n": 7.291978094897803e-07,
137
+ " }\n": 7.291978094897803e-07,
138
+ " } else {\n": 7.291978094897803e-07,
139
+ " .collect(Collectors.groupingBy(\n": 4.3088961469850656e-07,
140
+ " .filter(Matcher::matches)\n": 4.3088961469850656e-07,
141
+ " .map(line -> DEPENDENCY_COPY_ITEM_PATTERN.matcher(line))\n": 4.3088961469850656e-07,
142
+ " }\n": 7.291978094897803e-07,
143
+ " } catch (SQLException ex) {\n": 7.291978094897803e-07,
144
+ " if (newVotes.length === 0) break;\n": 1.0532857248185714e-06,
145
+ " page++;\n": 1.0532857248185714e-06,
146
+ " resultsSize += newVotes.length;\n": 1.0532857248185714e-06,
147
+ " votes = votes.concat(newVotes);\n": 1.0532857248185714e-06,
148
+ " }\n": 7.291978094897803e-07,
149
+ " return votes;\n": 1.0532857248185714e-06,
150
+ " } while (page < maxPage);\n": 1.0532857248185714e-06,
151
+ " && !key) {\n key = true;\n if (currentKey != null && currentValue != null) {\n cookieStore.add(currentKey.toString(), currentValue.toString());\n }\n currentKey = null;\n currentValue = null;\n } else if (key) {\n if (currentKey != null) currentKey.append(character);\n else currentKey = new StringBuilder().append(character);\n } else {\n if (currentValue != null) currentValue.append(character);\n else currentValue = new StringBuilder().append(character);\n }\n }\n if (currentKey != null && currentValue != null) {\n cookieStore.add(currentKey.toString(), currentValue.toString());\n }\n });\n }\n });": 1.5799285872278573e-06,
152
+ " + ag.getEndereco() + n;": 2.369892880841786e-06,
153
+ " + ag.getNome() + ": 2.369892880841786e-06,
154
+ " + conta.getAgencia().getNumAgencia() + ": 1.5799285872278573e-06,
155
+ " + conta.getNumConta() + ": 2.369892880841786e-06,
156
+ " + conta.getSaldo() + ": 1.5799285872278573e-06,
157
+ " + conta.getTipoDeConta() + ": 1.5799285872278573e-06,
158
+ " + e.getStackTrace())": 1.5799285872278573e-06,
159
+ " + response.getBody().length() + rn, StandardCharsets.UTF_8);\nwrite(rn, StandardCharsets.UTF_8);\nwrite(response.getBody(), StandardCharsets.UTF_8);\nflush();\nclose();": 1.3542245033381632e-06,
160
+ " + url.toString();\n }\n}\n": 3.1598571744557146e-06,
161
+ " 4;\n }\n\n public Response respond(String userInput) {\n List<Map<String, String>> fullPrompt = getFullPrompt(userInput);\n return openAIModel.generate(fullPrompt);\n }\n\n public void addGoal(String goal) {\n goals.add(goal);\n }\n\n public String getName() {\n return name;\n }\n\n public String getDescription() {\n return description;\n }\n\n public List<String> getGoals() {\n return goals;\n }\n}\n": 3.1598571744557146e-06,
162
+ ") : item;\n if (seen.has(key)) {\n field.report(messages.array.distinct, \"array.distinct\", field, options);\n return;\n }\n seen.add(key);\n }\n": 3.1598571744557146e-06,
163
+ "))\n })\n }\n": 4.739785761683572e-06,
164
+ ")) }\n : { success: true, value: result }\n }": 4.739785761683572e-06,
165
+ ");": 4.989248170193233e-07,
166
+ ")}\n headers.append(\"Set-Cookie\", cookieHeader)\n })\n }": 2.369892880841786e-06,
167
+ ")}\n headers.set(\"Set-Cookie\", cookieHeader)\n })\n }\n": 2.369892880841786e-06,
168
+ ")}\n headers.set(Set-Cookie, cookieHeader)\n })\n }\n": 2.369892880841786e-06,
169
+ ")}\n }": 4.739785761683572e-06,
170
+ ")} }": 3.1598571744557146e-06,
171
+ ")} };\n": 1.8959143046734288e-06,
172
+ ")} };\n}\n": 3.1598571744557146e-06,
173
+ "7 + event.getMessage()));": 2.7295185694946742e-06,
174
+ "8\u2192": 2.7295185694946742e-06,
175
+ ":wq": 1.3542245033381632e-06,
176
+ "=": 5.266428624092857e-07,
177
+ "C-o": 1.5799285872278573e-06,
178
+ "C-x": 3.4758428919012863e-06,
179
+ "CPF:": 6.504039350754679e-06,
180
+ "Conta:": 3.3441821762989643e-06,
181
+ "Dias": 1.5799285872278573e-06,
182
+ "EOF": 1.6771549618264947e-06,
183
+ "EOL": 2.1544480734925328e-07,
184
+ "ESC": 1.3542245033381632e-06,
185
+ "Exception": 3.1598571744557146e-06,
186
+ "Merge": 3.1598571744557146e-06,
187
+ "Saldo:": 2.369892880841786e-06,
188
+ "Skip": 8.689607229753214e-06,
189
+ "String": 4.533467972257381e-06,
190
+ "Taxa": 1.5799285872278573e-06,
191
+ "Valor": 3.1598571744557146e-06,
192
+ "[assignment]": 1.5143085500586491e-06,
193
+ "[no_commands]": 0.0025974025974025974,
194
+ "[unknown]": 0.004908990875697409,
195
+ "a + player.getName() + ": 2.7295185694946742e-06,
196
+ "adb": 4.739785761683572e-06,
197
+ "awk": 4.607435722962914e-06,
198
+ "base64": 1.692780629172704e-07,
199
+ "bash": 1.7406895149040074e-07,
200
+ "break": 4.560107608626286e-06,
201
+ "cPlayer": 1.1939746037764807e-05,
202
+ "cat": 0.046385863754286834,
203
+ "cd": 0.007175432611753033,
204
+ "chmod": 1.4712562505402267e-06,
205
+ "cp": 2.038648462480105e-05,
206
+ "curl": 5.3656911531333515e-06,
207
+ "currentClass": 3.1598571744557145e-07,
208
+ "dd": 3.0609478551048396e-06,
209
+ "deleted": 2.369892880841786e-06,
210
+ "double": 4.551625368764433e-05,
211
+ "e + distance + m": 1.3647592847473371e-06,
212
+ "echo": 0.21406217099956362,
213
+ "ed": 2.1724018074383036e-06,
214
+ "exit": 1.0608091942815612e-05,
215
+ "fetch": 5.266428624092857e-07,
216
+ "find": 0.0017318503370308245,
217
+ "grep": 0.0004912695394780914,
218
+ "h": 1.0532857248185714e-06,
219
+ "hasDuplicateHue": 1.0532857248185714e-06,
220
+ "head": 0.00014870228432184597,
221
+ "hexdump": 8.942992003176551e-08,
222
+ "i": 1.3542245033381632e-06,
223
+ "int": 5.721004568488241e-06,
224
+ "java": 1.5799285872278573e-06,
225
+ "linha": 2.085149069522744e-05,
226
+ "ls": 0.01619231052112797,
227
+ "mkdir": 0.0002947435179175777,
228
+ "mv": 8.953492679604566e-05,
229
+ "n": 9.479571523367144e-06,
230
+ "nano": 1.468736796498762e-05,
231
+ "newQuery": 4.739785761683572e-06,
232
+ "nodo1": 2.369892880841786e-06,
233
+ "nodo2": 2.369892880841786e-06,
234
+ "nodo3": 2.369892880841786e-06,
235
+ "owner": 7.425664359970929e-06,
236
+ "printf": 0.0012112613252845217,
237
+ "pwd": 2.944343971929525e-05,
238
+ "python": 1.0703502398209337e-05,
239
+ "r)": 3.1598571744557146e-06,
240
+ "rT": 4.739785761683572e-06,
241
+ "readlink": 1.708030905111197e-07,
242
+ "return": 5.622881268677078e-05,
243
+ "rm": 2.0012428771552857e-06,
244
+ "sed": 5.8525138694014606e-05,
245
+ "set": 3.38395376097374e-06,
246
+ "setup": 1.8959143046734288e-06,
247
+ "sleep": 9.479571523367144e-07,
248
+ "sort": 1.3202270713437093e-05,
249
+ "strace": 8.540154525555985e-08,
250
+ "student": 1.610907579134286e-06,
251
+ "tail": 0.00025213846232612487,
252
+ "tee": 0.00014118800176096701,
253
+ "this.leaderboardversion": 1.5799285872278573e-06,
254
+ "throw": 6.723100371182371e-08,
255
+ "touch": 3.22419012831557e-05,
256
+ "tr": 7.48387225528985e-07,
257
+ "updated": 2.369892880841786e-06,
258
+ "var": 5.576218543157143e-07,
259
+ "vim": 3.6422308415492373e-06,
260
+ "wget": 6.259053914497793e-07,
261
+ "which": 3.4004784822806465e-06,
262
+ "write_solution": 0.7033376584757732,
263
+ "write_solution.sh": 1.4712562505402267e-06,
264
+ "xargs": 0.0004095698831842976,
265
+ "xxd": 4.989248170193233e-07,
266
+ "yyyy": 1.5799285872278573e-06,
267
+ "\u00daltimo": 1.5799285872278573e-06
268
+ },
269
+ "output_cap_events": 0,
270
+ "malformed_tool_calls": 25144,
271
+ "trajectories_with_malformed_tool_calls": 1436,
272
+ "errors": {
273
+ "model_server": {
274
+ "trajectories": 0,
275
+ "types": {}
276
+ },
277
+ "environment": {
278
+ "trajectories": 0,
279
+ "types": {}
280
+ },
281
+ "verifier": {
282
+ "trajectories": 0,
283
+ "types": {}
284
+ },
285
+ "other": {
286
+ "trajectories": 0,
287
+ "types": {}
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,
306
+ "attempts": 107360,
307
+ "pass@1": 0.02687220566318927,
308
+ "pass@2": 0.0404284649776453,
309
+ "pass@4": 0.05652691570724358,
310
+ "pass@8": 0.07446319204888505,
311
+ "pass@16": 0.09344262295081968,
312
+ "trace_metrics": {
313
+ "trajectories": 107360,
314
+ "graded": 107360,
315
+ "solved": 2885,
316
+ "turns": {
317
+ "n": 107360,
318
+ "mean": 2.2323491058122205,
319
+ "median": 2,
320
+ "p90": 2,
321
+ "p95": 3,
322
+ "max": 158
323
+ },
324
+ "input_tokens": {
325
+ "n": 107360,
326
+ "mean": 5324.964381520119,
327
+ "median": 3723,
328
+ "p90": 7102,
329
+ "p95": 9203,
330
+ "max": 2091916
331
+ },
332
+ "input_tokens_total": 571688176,
333
+ "output_tokens": {
334
+ "n": 107360,
335
+ "mean": 2052.357004470939,
336
+ "median": 1504,
337
+ "p90": 2906,
338
+ "p95": 3648,
339
+ "max": 171157
340
+ },
341
+ "output_tokens_total": 220341048,
342
+ "peak_context_tokens": {
343
+ "n": 107331,
344
+ "mean": 3477.7956322031846,
345
+ "median": 2917,
346
+ "p90": 4658,
347
+ "p95": 5515,
348
+ "max": 337979
349
+ },
350
+ "peak_context_fraction": {
351
+ "n": 107331,
352
+ "mean": 0.10613389990854445,
353
+ "median": 0.089019775390625,
354
+ "p90": 0.14215087890625,
355
+ "p95": 0.168304443359375,
356
+ "max": 10.314300537109375
357
+ },
358
+ "trajectories_above_90_percent_context": 751,
359
+ "latency_seconds": {
360
+ "model_call": {
361
+ "n": 239646,
362
+ "mean": 10.0809203531748,
363
+ "max": 684.4818048477173,
364
+ "median": null,
365
+ "p90": null,
366
+ "p95": null,
367
+ "note": "Per-call samples were not retained; pooled quantiles cannot be reconstructed."
368
+ },
369
+ "tool_call": null,
370
+ "agent": {
371
+ "n": 107360,
372
+ "mean": 27.920856770892325,
373
+ "median": 19.771693,
374
+ "p90": 38.249375,
375
+ "p95": 48.429497,
376
+ "max": 3310.508183
377
+ },
378
+ "verifier": {
379
+ "n": 107359,
380
+ "mean": 1.29676886014214,
381
+ "median": 1.230452,
382
+ "p90": 1.379742,
383
+ "p95": 1.430097,
384
+ "max": 118.029042
385
+ },
386
+ "trial": {
387
+ "n": 107360,
388
+ "mean": 46.75835246828427,
389
+ "median": 29.411649,
390
+ "p90": 70.003692,
391
+ "p95": 130.925438,
392
+ "max": 3318.148226
393
+ }
394
+ },
395
+ "tools": {
396
+ "bash_command": {
397
+ "calls": 129254,
398
+ "calls_per_trajectory": 1.2039307004470938,
399
+ "failed": null,
400
+ "failure_rate": null
401
+ },
402
+ "mark_task_complete": {
403
+ "calls": 218961,
404
+ "calls_per_trajectory": 2.03950260804769,
405
+ "failed": null,
406
+ "failure_rate": null
407
+ }
408
+ },
409
+ "tool_steps": 220846,
410
+ "tool_steps_without_output": 0,
411
+ "tool_steps_with_error_text": 2681,
412
+ "tool_steps_with_error_text_rate": 0.012139681044709888,
413
+ "terminations": {
414
+ "context_limit": 1,
415
+ "session_ended": 29,
416
+ "task_complete": 107213,
417
+ "task_timeout": 117
418
+ },
419
+ "command_distribution": {
420
+ " | Value Contains Null: ": 2.357045208127092e-06,
421
+ " | Value Type: ": 2.357045208127092e-06,
422
+ ");": 9.428180832508368e-06,
423
+ "9Particle": 4.714090416254184e-06,
424
+ ":wq": 1.990393731307322e-06,
425
+ "C-o": 1.1493401395819723e-05,
426
+ "C-x": 1.1493401395819723e-05,
427
+ "Exception": 3.1427269441694556e-06,
428
+ "String": 5.268689288754676e-06,
429
+ "[no_commands]": 0.0016216471031914393,
430
+ "[unknown]": 0.00398421158584876,
431
+ "^O": 5.668132524305625e-06,
432
+ "^X": 7.553768690807299e-06,
433
+ "apt": 5.499772152296547e-06,
434
+ "break": 3.1427269441694556e-06,
435
+ "cat": 0.0033628010640209837,
436
+ "cd": 0.004080864787670896,
437
+ "double": 4.6669495120916424e-05,
438
+ "echo": 0.28151211856513014,
439
+ "exit": 0.0007355159571960589,
440
+ "find": 1.0390045745723867e-05,
441
+ "grep": 3.1161974310043894e-05,
442
+ "hasDuplicateHue": 1.5713634720847278e-06,
443
+ "huffmanMetaCodes": 9.428180832508368e-07,
444
+ "huffmanXSize": 1.990393731307322e-06,
445
+ "huffmanYSize": 1.990393731307322e-06,
446
+ "i": 9.428180832508368e-07,
447
+ "int": 2.9332118145581587e-06,
448
+ "linha": 1.178522604063546e-06,
449
+ "ls": 0.002538584625983866,
450
+ "mkdir": 9.35675522014088e-05,
451
+ "mv": 4.9340813023460444e-05,
452
+ "n": 3.523023313884079e-05,
453
+ "nano": 0.00018754597173491246,
454
+ "nextPrefix": 2.357045208127092e-06,
455
+ "printf": 9.349612658904132e-05,
456
+ "pwd": 4.173092420865014e-05,
457
+ "return": 2.2149046997849478e-05,
458
+ "sed": 5.3779914832099805e-05,
459
+ "solution.txt": 1.3468829760726238e-06,
460
+ "tail": 8.571073484098516e-07,
461
+ "task_complete": 0.003645563255236569,
462
+ "task_complete:": 0.000479265858985842,
463
+ "task_completen": 1.414227124876255e-05,
464
+ "tee": 6.034035732805355e-05,
465
+ "touch": 1.830638444978708e-05,
466
+ "true": 0.0004572667703766558,
467
+ "vi": 2.8284542497525105e-06,
468
+ "vim": 1.1104301869398743e-05,
469
+ "which": 1.18750182390403e-05,
470
+ "write_solution": 0.6966988534284532,
471
+ "y": 9.428180832508368e-06
472
+ },
473
+ "output_cap_events": 0,
474
+ "malformed_tool_calls": 9456,
475
+ "trajectories_with_malformed_tool_calls": 1630,
476
+ "errors": {
477
+ "model_server": {
478
+ "trajectories": 0,
479
+ "types": {}
480
+ },
481
+ "environment": {
482
+ "trajectories": 0,
483
+ "types": {}
484
+ },
485
+ "verifier": {
486
+ "trajectories": 0,
487
+ "types": {}
488
+ },
489
+ "other": {
490
+ "trajectories": 0,
491
+ "types": {}
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",
510
+ "coverage": "runs/2026-10-07-crosscodeeval-pass16/coverage.json",
511
+ "notes": [
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,new_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/attempts.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dbfe1c672a15f9ad53285e73e5da60fd6bedb52518dd14341617ceccfd231ba
3
+ size 1746949
runs/2026-10-07-crosscodeeval-pass16/check_hf.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import json,hashlib,tarfile,io,sys
3
+ sys.path.insert(0,"/home/hpc/y500bb/y500bb12/OT_next_data")
4
+ from validation.contract import files_digest
5
+ from huggingface_hub import HfApi,hf_hub_download
6
+ import pyarrow.parquet as pq
7
+ root=Path(__file__).resolve().parent;api=HfApi();repo='FWeindel/validated-tasks';head=api.repo_info(repo,repo_type='dataset').sha
8
+ expected={(r['model'],r['task_id']):r for r in json.loads((root.parent/'pass16-retry-20261007/combined-task-results.json').read_text())}
9
+ sources={};mismatch=[];mapping={};normalizations=[]
10
+ def files(row):
11
+ with tarfile.open(fileobj=io.BytesIO(row['task_binary'])) as tar:return {m.name:tar.extractfile(m).read() for m in tar if m.isfile()}
12
+
13
+ for lang,v in [('csharp',5),('java',4),('python',3),('typescript',3)]:
14
+ folder=f'crosscodeeval-{lang}-v{v}';path=hf_hub_download(repo,folder+'/tasks.parquet',repo_type='dataset',revision=head,cache_dir=str(root/'hf-cache'));rows=pq.read_table(path).to_pylist();sources[folder]={'path':path,'tasks':len(rows)}
15
+ original={r['path']:r for r in pq.read_table(root.parent/f'parquets-pinned/laion__exp_rpt_{folder}.parquet').to_pylist()}
16
+ for r in rows:
17
+ a=files(original[r['path']]);b=files(r);sha=files_digest(a.items());assert files_digest(b.items())==r['content_sha256']
18
+ differences=[n for n in a.keys()|b.keys() if a.get(n)!=b.get(n)]
19
+ if differences:
20
+ assert differences==['instruction.md'],(r['path'],differences)
21
+ suffix=b['instruction.md'].decode()[len(a['instruction.md'].decode().rstrip()):].strip()
22
+ assert b['instruction.md'].decode().startswith(a['instruction.md'].decode().rstrip())
23
+ assert suffix=='You have 900 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.',(r['path'],suffix)
24
+ normalizations.append(r['path'])
25
+ for model in ['qwen3-30b-instruct-2507','qwen3-30b-thinking']:assert expected[model,r['path']]['sha256']==sha
26
+ mapping[r['path']]={'evaluated_source_content_sha256':sha,'published_content_sha256':r['content_sha256']}
27
+
28
+ print('Published task hash mismatches',len(mismatch),flush=True)
29
+ assert not mismatch
30
+ state={'repo':repo,'head':head,'sources':sources,'task_hashes':mapping,'instruction_suffix_normalization':normalizations};(root/'target.json').write_text(json.dumps(state,indent=2)+'\n')
runs/2026-10-07-crosscodeeval-pass16/command_metrics.py ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Profile submitted shell commands for diverse, reproducible pilot sampling."""
2
+
3
+ # Adapted from tb-science-discovery/analysis/traces/{shell_commands,trajectory_stats}.py.
4
+ from collections import Counter
5
+ import json
6
+ from pathlib import PurePosixPath
7
+ import re
8
+ import shlex
9
+
10
+ VERSION = 1
11
+
12
+
13
+ def command_name(text):
14
+ try:
15
+ words = shlex.split(text, comments=True)
16
+ except ValueError:
17
+ return '[unknown]'
18
+ while words and re.match(r'^[A-Za-z_][A-Za-z_0-9]*=', words[0]):
19
+ words.pop(0)
20
+ # Simple wrappers only; option-bearing wrappers need a real shell parser.
21
+ while words and words[0] in ('env', 'sudo', 'command', 'exec', 'nohup'):
22
+ words.pop(0)
23
+ while words and re.match(r'^[A-Za-z_][A-Za-z_0-9]*=', words[0]):
24
+ words.pop(0)
25
+ if not words:
26
+ return '[assignment]'
27
+ head = words[0]
28
+ if head.startswith(('-', '<', '>')) or any(c in head for c in '$`*?[]'):
29
+ return '[unknown]'
30
+ name = PurePosixPath(head).name
31
+ # Treat versioned interpreters alike, but preserve python -m pytest, etc.
32
+ if re.fullmatch(r'python(?:\d+(?:\.\d+)*)?', name):
33
+ name = 'python'
34
+ if len(words) > 2 and words[1] == '-m':
35
+ name += '-m:' + words[2]
36
+ return name or '[unknown]'
37
+
38
+
39
+ def profile(steps):
40
+ if steps is None:
41
+ return None
42
+ counts = Counter()
43
+ submissions = polls = controls = fallback = 0
44
+ for step in steps:
45
+ if step.get('source') != 'agent':
46
+ continue
47
+ for call in step.get('tool_calls') or []:
48
+ name = call.get('function_name', 'unknown')
49
+ if name == 'mark_task_complete':
50
+ continue
51
+ arguments = call.get('arguments') or {}
52
+ if isinstance(arguments, str):
53
+ try:
54
+ arguments = json.loads(arguments)
55
+ except ValueError:
56
+ arguments = None
57
+ if not isinstance(arguments, dict):
58
+ counts['[unknown]'] += 1
59
+ continue
60
+ command = next((arguments[k] for k in ('keystrokes', 'command', 'cmd')
61
+ if isinstance(arguments.get(k), str)), None)
62
+ if command is None:
63
+ # Native Read/Edit tools are still meaningful behavioural evidence.
64
+ label = '[unknown]' if name in ('Bash', 'bash_command', 'exec_command', 'shell_command') else 'tool:' + name
65
+ counts[label] += 1
66
+ continue
67
+ if not command.strip():
68
+ polls += 1
69
+ continue
70
+ if command.strip() in ('C-c', 'C-d', 'C-z', '\x03', '\x04', '\x1a'):
71
+ controls += 1
72
+ continue
73
+ submissions += 1
74
+ parts, unsupported = split_commands(command)
75
+ fallback += unsupported
76
+ if unsupported:
77
+ counts['[unknown]'] += 1
78
+ else:
79
+ counts.update(command_name(part) for part in parts)
80
+ return {'version': VERSION, 'counts': dict(sorted(counts.items())),
81
+ 'submissions': submissions, 'polls': polls, 'controls': controls,
82
+ 'unsupported_submissions': fallback}
83
+
84
+
85
+ def normalized(counts):
86
+ total = sum(counts.values())
87
+ return {k: v / total for k, v in sorted(counts.items()) if v > 0} if total else {}
88
+
89
+
90
+ def sampling_distribution(command_profile):
91
+ """Keep missing/entirely unparsed evidence out of distance selection."""
92
+ if command_profile is None:
93
+ return None
94
+ counts = command_profile['counts']
95
+ known = {k: v for k, v in counts.items() if k != '[unknown]'}
96
+ if not known:
97
+ return None if counts else {'[no_commands]': 1.0}
98
+ return normalized(counts)
99
+
100
+
101
+ def mean_distribution(profiles):
102
+ distributions = [d for p in profiles if (d := sampling_distribution(p)) is not None]
103
+ if not distributions:
104
+ return None
105
+ total = Counter()
106
+ for distribution in distributions:
107
+ total.update(distribution)
108
+ return {k: v / len(distributions) for k, v in sorted(total.items())}
109
+
110
+
111
+ def split_commands(text):
112
+ parts, buf, pending = [], [], []
113
+ quote = None
114
+ depth = 0
115
+ complex_syntax = False
116
+ i = 0
117
+
118
+ def flush():
119
+ value = ''.join(buf).strip()
120
+ if value:
121
+ parts.append(value)
122
+ buf.clear()
123
+
124
+ while i < len(text):
125
+ c = text[i]
126
+ if c == '\\' and quote != "'" and i + 1 < len(text):
127
+ buf.append(text[i:i+2])
128
+ i += 2
129
+ continue
130
+ if quote:
131
+ buf.append(c)
132
+ if c == quote:
133
+ quote = None
134
+ i += 1
135
+ continue
136
+ if c in "'\"`":
137
+ quote = c
138
+ buf.append(c)
139
+ i += 1
140
+ continue
141
+ if c == '#' and (i == 0 or text[i-1].isspace()):
142
+ end = text.find('\n', i)
143
+ i = len(text) if end < 0 else end
144
+ continue
145
+ if text.startswith('<<<', i):
146
+ buf.append('<<<')
147
+ i += 3
148
+ continue
149
+ if text.startswith('<<', i):
150
+ m = re.match(r"<<(-?)[ \t]*('([^']*)'|\"([^\"]*)\"|([A-Za-z_][\w]*))", text[i:])
151
+ if not m:
152
+ return [text.strip()], True
153
+ pending.append((m[3] or m[4] or m[5], bool(m[1])))
154
+ buf.append(m[0])
155
+ i += len(m[0])
156
+ continue
157
+ if c in '({':
158
+ depth += 1
159
+ complex_syntax = True
160
+ elif c in ')}':
161
+ depth -= 1
162
+ if c == '\n' and pending and depth == 0:
163
+ flush()
164
+ i += 1
165
+ for delimiter, tabs in pending:
166
+ while True:
167
+ end = text.find('\n', i)
168
+ line = text[i:] if end < 0 else text[i:end]
169
+ i = len(text) if end < 0 else end + 1
170
+ if (line.lstrip('\t') if tabs else line) == delimiter:
171
+ break
172
+ if end < 0:
173
+ return [text.strip()], True
174
+ pending.clear()
175
+ continue
176
+ redirect_amp = c == '&' and ((i > 0 and text[i-1] in '<>') or text[i:i+2] == '&>')
177
+ if depth == 0 and c in ';|&\n' and not redirect_amp:
178
+ flush()
179
+ i += 1
180
+ if c in '|&' and i < len(text) and text[i] == c:
181
+ i += 1
182
+ continue
183
+ buf.append(c)
184
+ i += 1
185
+ flush()
186
+ if quote or depth or pending or complex_syntax:
187
+ return [text.strip()], True
188
+ # These need an AST to distinguish shell syntax from executable commands.
189
+ for part in parts:
190
+ try:
191
+ first = shlex.split(part)[0]
192
+ except (ValueError, IndexError):
193
+ return [text.strip()], True
194
+ if first in ('if', 'then', 'elif', 'else', 'fi', 'for', 'while', 'until', 'do', 'done', 'case', 'esac', 'select', 'function', '!', 'time', '[[', ']]'):
195
+ return [text.strip()], True
196
+ return parts, False
runs/2026-10-07-crosscodeeval-pass16/coverage.json ADDED
@@ -0,0 +1,558 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempts": 214720,
3
+ "sources": [
4
+ {
5
+ "source": "000",
6
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-instruct-2507/part-1/submissions/e9edf9203a68",
7
+ "model": "qwen3-30b-instruct-2507",
8
+ "selected_attempts": 12078,
9
+ "stage7_report": true,
10
+ "reconstructed": false
11
+ },
12
+ {
13
+ "source": "001",
14
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/smoke-instruct/submissions/956b1fb754ea",
15
+ "model": "qwen3-30b-instruct-2507",
16
+ "selected_attempts": 112,
17
+ "stage7_report": true,
18
+ "reconstructed": false
19
+ },
20
+ {
21
+ "source": "002",
22
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-instruct-2507/part-2/submissions/81048c1f948a",
23
+ "model": "qwen3-30b-instruct-2507",
24
+ "selected_attempts": 11661,
25
+ "stage7_report": true,
26
+ "reconstructed": false
27
+ },
28
+ {
29
+ "source": "003",
30
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-instruct-2507/part-3/submissions/19236405bdba",
31
+ "model": "qwen3-30b-instruct-2507",
32
+ "selected_attempts": 3174,
33
+ "stage7_report": false,
34
+ "reconstructed": true
35
+ },
36
+ {
37
+ "source": "004",
38
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-instruct-2507/part-4/submissions/5e5f883d8061",
39
+ "model": "qwen3-30b-instruct-2507",
40
+ "selected_attempts": 3040,
41
+ "stage7_report": false,
42
+ "reconstructed": true
43
+ },
44
+ {
45
+ "source": "005",
46
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-thinking/part-1/submissions/eb52c16f13fa",
47
+ "model": "qwen3-30b-thinking",
48
+ "selected_attempts": 12401,
49
+ "stage7_report": true,
50
+ "reconstructed": false
51
+ },
52
+ {
53
+ "source": "006",
54
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/smoke-thinking/submissions/a91d9cfb4a62",
55
+ "model": "qwen3-30b-thinking",
56
+ "selected_attempts": 112,
57
+ "stage7_report": true,
58
+ "reconstructed": false
59
+ },
60
+ {
61
+ "source": "007",
62
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-thinking/part-2/submissions/14345a679c88",
63
+ "model": "qwen3-30b-thinking",
64
+ "selected_attempts": 12934,
65
+ "stage7_report": true,
66
+ "reconstructed": false
67
+ },
68
+ {
69
+ "source": "008",
70
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/rerun-lost-sessions/run/submissions/89944e4ad6a2",
71
+ "model": "qwen3-30b-thinking",
72
+ "selected_attempts": 2,
73
+ "stage7_report": true,
74
+ "reconstructed": false
75
+ },
76
+ {
77
+ "source": "009",
78
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-thinking/part-3/submissions/adb5bc9bd9a8",
79
+ "model": "qwen3-30b-thinking",
80
+ "selected_attempts": 12487,
81
+ "stage7_report": true,
82
+ "reconstructed": false
83
+ },
84
+ {
85
+ "source": "010",
86
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-20261004/qwen3-30b-thinking/part-4/submissions/82cfb7138e82",
87
+ "model": "qwen3-30b-thinking",
88
+ "selected_attempts": 3325,
89
+ "stage7_report": false,
90
+ "reconstructed": true
91
+ },
92
+ {
93
+ "source": "011",
94
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/000/submission",
95
+ "model": "qwen3-30b-instruct-2507",
96
+ "selected_attempts": 4000,
97
+ "stage7_report": true,
98
+ "reconstructed": false
99
+ },
100
+ {
101
+ "source": "012",
102
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/001/submission",
103
+ "model": "qwen3-30b-instruct-2507",
104
+ "selected_attempts": 3987,
105
+ "stage7_report": true,
106
+ "reconstructed": false
107
+ },
108
+ {
109
+ "source": "013",
110
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/002/submission",
111
+ "model": "qwen3-30b-instruct-2507",
112
+ "selected_attempts": 4000,
113
+ "stage7_report": true,
114
+ "reconstructed": false
115
+ },
116
+ {
117
+ "source": "014",
118
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/003/submission",
119
+ "model": "qwen3-30b-instruct-2507",
120
+ "selected_attempts": 3983,
121
+ "stage7_report": true,
122
+ "reconstructed": false
123
+ },
124
+ {
125
+ "source": "015",
126
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/004/submission",
127
+ "model": "qwen3-30b-instruct-2507",
128
+ "selected_attempts": 4000,
129
+ "stage7_report": true,
130
+ "reconstructed": false
131
+ },
132
+ {
133
+ "source": "016",
134
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/005/submission",
135
+ "model": "qwen3-30b-instruct-2507",
136
+ "selected_attempts": 4000,
137
+ "stage7_report": true,
138
+ "reconstructed": false
139
+ },
140
+ {
141
+ "source": "017",
142
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/006/submission",
143
+ "model": "qwen3-30b-instruct-2507",
144
+ "selected_attempts": 4000,
145
+ "stage7_report": true,
146
+ "reconstructed": false
147
+ },
148
+ {
149
+ "source": "018",
150
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/007/submission",
151
+ "model": "qwen3-30b-instruct-2507",
152
+ "selected_attempts": 4000,
153
+ "stage7_report": true,
154
+ "reconstructed": false
155
+ },
156
+ {
157
+ "source": "019",
158
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/008/submission",
159
+ "model": "qwen3-30b-instruct-2507",
160
+ "selected_attempts": 3998,
161
+ "stage7_report": true,
162
+ "reconstructed": false
163
+ },
164
+ {
165
+ "source": "020",
166
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/009/submission",
167
+ "model": "qwen3-30b-instruct-2507",
168
+ "selected_attempts": 4000,
169
+ "stage7_report": true,
170
+ "reconstructed": false
171
+ },
172
+ {
173
+ "source": "021",
174
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/010/submission",
175
+ "model": "qwen3-30b-instruct-2507",
176
+ "selected_attempts": 4000,
177
+ "stage7_report": true,
178
+ "reconstructed": false
179
+ },
180
+ {
181
+ "source": "022",
182
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/011/submission",
183
+ "model": "qwen3-30b-instruct-2507",
184
+ "selected_attempts": 3996,
185
+ "stage7_report": true,
186
+ "reconstructed": false
187
+ },
188
+ {
189
+ "source": "023",
190
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/012/submission",
191
+ "model": "qwen3-30b-instruct-2507",
192
+ "selected_attempts": 3996,
193
+ "stage7_report": true,
194
+ "reconstructed": false
195
+ },
196
+ {
197
+ "source": "024",
198
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/013/submission",
199
+ "model": "qwen3-30b-instruct-2507",
200
+ "selected_attempts": 3995,
201
+ "stage7_report": true,
202
+ "reconstructed": false
203
+ },
204
+ {
205
+ "source": "025",
206
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/014/submission",
207
+ "model": "qwen3-30b-instruct-2507",
208
+ "selected_attempts": 3996,
209
+ "stage7_report": true,
210
+ "reconstructed": false
211
+ },
212
+ {
213
+ "source": "026",
214
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/015/submission",
215
+ "model": "qwen3-30b-instruct-2507",
216
+ "selected_attempts": 3996,
217
+ "stage7_report": true,
218
+ "reconstructed": false
219
+ },
220
+ {
221
+ "source": "027",
222
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/016/submission",
223
+ "model": "qwen3-30b-instruct-2507",
224
+ "selected_attempts": 3996,
225
+ "stage7_report": true,
226
+ "reconstructed": false
227
+ },
228
+ {
229
+ "source": "028",
230
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/017/submission",
231
+ "model": "qwen3-30b-instruct-2507",
232
+ "selected_attempts": 2808,
233
+ "stage7_report": true,
234
+ "reconstructed": false
235
+ },
236
+ {
237
+ "source": "029",
238
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/018/submission",
239
+ "model": "qwen3-30b-instruct-2507",
240
+ "selected_attempts": 2007,
241
+ "stage7_report": true,
242
+ "reconstructed": false
243
+ },
244
+ {
245
+ "source": "030",
246
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/019/submission",
247
+ "model": "qwen3-30b-instruct-2507",
248
+ "selected_attempts": 1722,
249
+ "stage7_report": true,
250
+ "reconstructed": false
251
+ },
252
+ {
253
+ "source": "031",
254
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/020/submission",
255
+ "model": "qwen3-30b-instruct-2507",
256
+ "selected_attempts": 1440,
257
+ "stage7_report": true,
258
+ "reconstructed": false
259
+ },
260
+ {
261
+ "source": "032",
262
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/021/submission",
263
+ "model": "qwen3-30b-instruct-2507",
264
+ "selected_attempts": 990,
265
+ "stage7_report": true,
266
+ "reconstructed": false
267
+ },
268
+ {
269
+ "source": "033",
270
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/022/submission",
271
+ "model": "qwen3-30b-instruct-2507",
272
+ "selected_attempts": 154,
273
+ "stage7_report": true,
274
+ "reconstructed": false
275
+ },
276
+ {
277
+ "source": "034",
278
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/023/submission",
279
+ "model": "qwen3-30b-instruct-2507",
280
+ "selected_attempts": 88,
281
+ "stage7_report": true,
282
+ "reconstructed": false
283
+ },
284
+ {
285
+ "source": "035",
286
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/024/submission",
287
+ "model": "qwen3-30b-instruct-2507",
288
+ "selected_attempts": 60,
289
+ "stage7_report": true,
290
+ "reconstructed": false
291
+ },
292
+ {
293
+ "source": "036",
294
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/025/submission",
295
+ "model": "qwen3-30b-instruct-2507",
296
+ "selected_attempts": 35,
297
+ "stage7_report": true,
298
+ "reconstructed": false
299
+ },
300
+ {
301
+ "source": "037",
302
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-instruct-2507/026/submission",
303
+ "model": "qwen3-30b-instruct-2507",
304
+ "selected_attempts": 15,
305
+ "stage7_report": true,
306
+ "reconstructed": false
307
+ },
308
+ {
309
+ "source": "038",
310
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/000/submission",
311
+ "model": "qwen3-30b-thinking",
312
+ "selected_attempts": 4000,
313
+ "stage7_report": true,
314
+ "reconstructed": false
315
+ },
316
+ {
317
+ "source": "039",
318
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/001/submission",
319
+ "model": "qwen3-30b-thinking",
320
+ "selected_attempts": 4000,
321
+ "stage7_report": true,
322
+ "reconstructed": false
323
+ },
324
+ {
325
+ "source": "040",
326
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/002/submission",
327
+ "model": "qwen3-30b-thinking",
328
+ "selected_attempts": 3994,
329
+ "stage7_report": true,
330
+ "reconstructed": false
331
+ },
332
+ {
333
+ "source": "041",
334
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/003/submission",
335
+ "model": "qwen3-30b-thinking",
336
+ "selected_attempts": 3996,
337
+ "stage7_report": true,
338
+ "reconstructed": false
339
+ },
340
+ {
341
+ "source": "042",
342
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/004/submission",
343
+ "model": "qwen3-30b-thinking",
344
+ "selected_attempts": 4000,
345
+ "stage7_report": true,
346
+ "reconstructed": false
347
+ },
348
+ {
349
+ "source": "043",
350
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/005/submission",
351
+ "model": "qwen3-30b-thinking",
352
+ "selected_attempts": 4000,
353
+ "stage7_report": true,
354
+ "reconstructed": false
355
+ },
356
+ {
357
+ "source": "044",
358
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/006/submission",
359
+ "model": "qwen3-30b-thinking",
360
+ "selected_attempts": 4000,
361
+ "stage7_report": true,
362
+ "reconstructed": false
363
+ },
364
+ {
365
+ "source": "045",
366
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/007/submission",
367
+ "model": "qwen3-30b-thinking",
368
+ "selected_attempts": 4000,
369
+ "stage7_report": true,
370
+ "reconstructed": false
371
+ },
372
+ {
373
+ "source": "046",
374
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/008/submission",
375
+ "model": "qwen3-30b-thinking",
376
+ "selected_attempts": 3999,
377
+ "stage7_report": true,
378
+ "reconstructed": false
379
+ },
380
+ {
381
+ "source": "047",
382
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/009/submission",
383
+ "model": "qwen3-30b-thinking",
384
+ "selected_attempts": 3991,
385
+ "stage7_report": true,
386
+ "reconstructed": false
387
+ },
388
+ {
389
+ "source": "048",
390
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/010/submission",
391
+ "model": "qwen3-30b-thinking",
392
+ "selected_attempts": 3996,
393
+ "stage7_report": true,
394
+ "reconstructed": false
395
+ },
396
+ {
397
+ "source": "049",
398
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/011/submission",
399
+ "model": "qwen3-30b-thinking",
400
+ "selected_attempts": 3996,
401
+ "stage7_report": true,
402
+ "reconstructed": false
403
+ },
404
+ {
405
+ "source": "050",
406
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/012/submission",
407
+ "model": "qwen3-30b-thinking",
408
+ "selected_attempts": 3996,
409
+ "stage7_report": true,
410
+ "reconstructed": false
411
+ },
412
+ {
413
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/013/submission",
414
+ "selected_attempts": 0,
415
+ "stage7_report": false
416
+ },
417
+ {
418
+ "source": "052",
419
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/014/submission",
420
+ "model": "qwen3-30b-thinking",
421
+ "selected_attempts": 3995,
422
+ "stage7_report": true,
423
+ "reconstructed": false
424
+ },
425
+ {
426
+ "source": "053",
427
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/015/submission",
428
+ "model": "qwen3-30b-thinking",
429
+ "selected_attempts": 3200,
430
+ "stage7_report": true,
431
+ "reconstructed": false
432
+ },
433
+ {
434
+ "source": "054",
435
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/016/submission",
436
+ "model": "qwen3-30b-thinking",
437
+ "selected_attempts": 1480,
438
+ "stage7_report": true,
439
+ "reconstructed": false
440
+ },
441
+ {
442
+ "source": "055",
443
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/017/submission",
444
+ "model": "qwen3-30b-thinking",
445
+ "selected_attempts": 850,
446
+ "stage7_report": true,
447
+ "reconstructed": false
448
+ },
449
+ {
450
+ "source": "056",
451
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/018/submission",
452
+ "model": "qwen3-30b-thinking",
453
+ "selected_attempts": 174,
454
+ "stage7_report": true,
455
+ "reconstructed": false
456
+ },
457
+ {
458
+ "source": "057",
459
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/019/submission",
460
+ "model": "qwen3-30b-thinking",
461
+ "selected_attempts": 147,
462
+ "stage7_report": true,
463
+ "reconstructed": false
464
+ },
465
+ {
466
+ "source": "058",
467
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/020/submission",
468
+ "model": "qwen3-30b-thinking",
469
+ "selected_attempts": 144,
470
+ "stage7_report": true,
471
+ "reconstructed": false
472
+ },
473
+ {
474
+ "source": "059",
475
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/021/submission",
476
+ "model": "qwen3-30b-thinking",
477
+ "selected_attempts": 84,
478
+ "stage7_report": true,
479
+ "reconstructed": false
480
+ },
481
+ {
482
+ "source": "060",
483
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/022/submission",
484
+ "model": "qwen3-30b-thinking",
485
+ "selected_attempts": 44,
486
+ "stage7_report": true,
487
+ "reconstructed": false
488
+ },
489
+ {
490
+ "source": "061",
491
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-retry-20261007/batches/00-00/results/submissions/e8e6e3b86241",
492
+ "model": "qwen3-30b-instruct-2507",
493
+ "selected_attempts": 32,
494
+ "stage7_report": true,
495
+ "reconstructed": false
496
+ },
497
+ {
498
+ "source": "062",
499
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-retry-20261007/batches/01-00/results/submissions/1946bc55c7ae",
500
+ "model": "qwen3-30b-thinking",
501
+ "selected_attempts": 16,
502
+ "stage7_report": true,
503
+ "reconstructed": false
504
+ },
505
+ {
506
+ "source": "063",
507
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-retry-20261007/batches/02-00/results/submissions/83bfb5485d0f",
508
+ "model": "qwen3-30b-thinking",
509
+ "selected_attempts": 1998,
510
+ "stage7_report": true,
511
+ "reconstructed": false
512
+ },
513
+ {
514
+ "source": "064",
515
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-retry-20261007/batches/02-01/results/submissions/4033fdc6d125",
516
+ "model": "qwen3-30b-thinking",
517
+ "selected_attempts": 1998,
518
+ "stage7_report": true,
519
+ "reconstructed": false
520
+ },
521
+ {
522
+ "source": "065",
523
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-retry-20261007/pilot-qwen3-30b-instruct-2507/results/submissions/080c83938a2e",
524
+ "model": "qwen3-30b-instruct-2507",
525
+ "selected_attempts": 1,
526
+ "stage7_report": true,
527
+ "reconstructed": false
528
+ },
529
+ {
530
+ "source": "066",
531
+ "submission": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-retry-20261007/pilot-qwen3-30b-thinking/results/submissions/7aabffc2d79b",
532
+ "model": "qwen3-30b-thinking",
533
+ "selected_attempts": 1,
534
+ "stage7_report": true,
535
+ "reconstructed": false
536
+ }
537
+ ],
538
+ "policy_outcomes": [
539
+ {
540
+ "model": "qwen3-30b-thinking",
541
+ "task_id": "crosscodeeval-csharp-0944",
542
+ "trial": "crosscodeeval-csharp-0944__ary5yNM",
543
+ "archive": "/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/010/submission/evidence.tar.gz",
544
+ "member": "results/stage_6_agent_trials/f58f4ddbdcbb/jobs/job/crosscodeeval-csharp-0944__ary5yNM/result.json",
545
+ "exception": {
546
+ "exception_type": "ContextManagementInfrastructureError",
547
+ "exception_message": "The provider rejected a context-recovery request after all copied conversation turns were removed.",
548
+ "exception_traceback": "Traceback (most recent call last):\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/llms/lite_llm.py\", line 1173, in call\n raise e\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/llms/lite_llm.py\", line 1140, in call\n response = await self._dispatch_chat(completion_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/pass16-recovery-20261006/batches/qwen3-30b-thinking/010/submission/code/harbor_patches/reasoning_field.py\", line 33, in dispatch\n return with_reasoning_content(await original(self, *args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/llms/lite_llm.py\", line 1484, in _dispatch_chat\n return await self._acreate_chat_raw(completion_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/llms/lite_llm.py\", line 1435, in _acreate_chat_raw\n raw_response = await client.chat.completions.with_raw_response.create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/openai/_legacy_response.py\", line 386, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2907, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/openai/_base_client.py\", line 1992, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/openai/_base_client.py\", line 1777, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': \"This model's maximum context length is 32768 tokens. However, you requested 4096 output tokens and your prompt contains at least 28673 input tokens, for a total of at least 32769 tokens. Please reduce the length of the input prompt or the number of requested output tokens. (parameter=input_tokens, value=28673)\", 'type': 'BadRequestError', 'param': 'input_tokens', 'code': 400}}\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/context_management.py\", line 64, in call\n response = await self._llm.call(\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/tenacity/asyncio/__init__.py\", line 193, in async_wrapped\n return await copy(fn, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/tenacity/asyncio/__init__.py\", line 112, in __call__\n do = await self.iter(retry_state=retry_state)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/tenacity/asyncio/__init__.py\", line 157, in iter\n result = await action(retry_state)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/tenacity/_utils.py\", line 111, in inner\n return call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/tenacity/__init__.py\", line 393, in <lambda>\n self._add_action_func(lambda rs: rs.outcome.result())\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/hpc/y500bb/y500bb12/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/hpc/y500bb/y500bb12/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/tenacity/asyncio/__init__.py\", line 116, in __call__\n result = await fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/llms/lite_llm.py\", line 1175, in call\n self._handle_llm_error(\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/llms/lite_llm.py\", line 1682, in _handle_llm_error\n raise ContextLengthExceededError from e\nharbor.llms.base.ContextLengthExceededError\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/trial/trial.py\", line 251, in run\n await self._run()\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/trial/single_step.py\", line 36, in _run\n await self._run_agent()\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/trial/single_step.py\", line 67, in _run_agent\n await self._run_agent_phase(\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/trial/trial.py\", line 473, in _run_agent_phase\n await self._await_phase(\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/trial/trial.py\", line 510, in _await_phase\n return await task\n ^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 2378, in run\n await self._run_agent_loop(\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 1974, in _run_agent_loop\n proactive_summary_result = await self._check_proactive_summarization(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 1634, in _check_proactive_summarization\n return await self._summarize_with_retry(chat, original_instruction, session)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 1229, in _summarize_with_retry\n return await self._summarize(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 1422, in _summarize\n summary_result = await self._run_subagent(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 1149, in _run_subagent\n managed_response = await self._dispatch_subagent_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/agents/terminus_2/terminus_2.py\", line 1105, in _dispatch_subagent_request\n managed_response = await self._context_window_manager.call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/hnvme/workspace/y500bb12-crosscodeeval-pilot/validation-smoke/envs/prep/lib/python3.12/site-packages/harbor/context_management.py\", line 74, in call\n raise ContextManagementInfrastructureError(\nharbor.llms.base.ContextManagementInfrastructureError: The provider rejected a context-recovery request after all copied conversation turns were removed.\n",
549
+ "occurred_at": "2026-10-06T18:21:30.143521"
550
+ },
551
+ "verifier_result": null,
552
+ "reward": 0,
553
+ "reward_source": "evaluation_policy",
554
+ "status": "agent_context_error",
555
+ "retry_policy": "exclude already-submitted retry from pass@16"
556
+ }
557
+ ]
558
+ }
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

  • SHA256: e92e18adc5e45fc2b553324a65ba27a1ddf7af9acbabbaea169b1b97a9dff5a3
  • Pointer size: 131 Bytes
  • Size of remote file: 182 kB
runs/2026-10-07-crosscodeeval-pass16/pass-rates-all-k.svg ADDED
runs/2026-10-07-crosscodeeval-pass16/pass-rates.png ADDED

Git LFS Details

  • SHA256: 665a7b36e6996b0fb432bed11393b80c2d42f4ba857b297e142685a34b05e560
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
runs/2026-10-07-crosscodeeval-pass16/prepare.py ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reconcile accepted pass@16 attempts and aggregate their saved stage-7 measurements."""
2
+ from pathlib import Path
3
+ import sys,json,gzip,collections,tarfile,tempfile,shutil,hashlib,math
4
+ root=Path(__file__).resolve().parent
5
+ repo=Path('/home/hpc/y500bb/y500bb12/OT_next_data');sys.path.insert(0,str(repo))
6
+ from validation.checks.trace_metrics import trial_metrics,aggregate,distribution
7
+ from validation.checks.reward_metrics import pass_at_k,reward_group
8
+ from validation.reporting.plot_results import rates,plot_rates,solved_counts,plot_solved_counts,write_trace_plots
9
+ import pyarrow as pa
10
+ import pyarrow.parquet as pq
11
+ base=root.parent;old=base/'pass16-recovery-20261006';new=base/'pass16-retry-20261007'
12
+ release=root/'release';run='2026-10-07-crosscodeeval-pass16';out=release/'runs'/run;out.mkdir(parents=True,exist_ok=True)
13
+ def read(p):return json.loads(Path(p).read_text())
14
+ def write(p,obj):p.parent.mkdir(parents=True,exist_ok=True);p.write_text(json.dumps(obj,indent=2)+'\n')
15
+ def zipped(p,obj):
16
+ p.parent.mkdir(parents=True,exist_ok=True)
17
+ with gzip.open(p,'wt') as f:json.dump(obj,f)
18
+ final=read(new/'combined-task-results.json');expected={(r['model'],r['task_id']):r for r in final};inv=read(old/'inventory.json')
19
+ sources={};selected=collections.defaultdict(dict)
20
+ for r in inv['records']:
21
+ for t in r['graded_trials']:
22
+ if 'archive' in t:
23
+ sub=str(Path(t['archive']).parent);sources[sub]={'model':r['model'],'archive':t['archive'],'selection':'original'}
24
+ trial=t['member'].split('/jobs/job/')[1].split('/')[0];selected[sub][trial]={'task':r['task_id'],'reward':t['reward'],'member':t['member']}
25
+ else:
26
+ sub=str(Path(t['report']).parent.parent);sources[sub]={'model':r['model'],'selection':'scored'}
27
+ for b in read(old/'batches.json'):
28
+ sub=str(Path(b['request']).parent);sources[sub]={'model':b['model'],'selection':'scored'}
29
+ for j in read(new/'recovery-results.json')['jobs']:
30
+ sub=str(Path(j['submission']).parent);sources[sub]={'model':j['model'],'selection':'scored','exclude':j.get('excluded_diagnostic_tasks',[])}
31
+ policy=read(new/'agent-failure-outcomes.json')[0]
32
+ policy_trial=policy['trial'];allrows=collections.defaultdict(list);ledger=[];coverage=[]
33
+ for si,(sub,info) in enumerate(sources.items()):
34
+ p=Path(sub);reports=list((p/'report').glob('stage-7-*.json'));recovered=False
35
+ if reports:
36
+ d=read(reports[0]);assert d['complete'] and not d.get('contract_findings');rows=d['trace_metrics']['trajectories']
37
+ zipped(out/'sources'/f'{si:03d}-stage-7.json.gz',d)
38
+ else:
39
+ archive=info.get('archive');rows=[]
40
+ if not archive:
41
+ coverage.append({'submission':sub,'selected_attempts':0,'stage7_report':False});continue
42
+ wanted=selected[sub];results={};trajectories={};scan_error=None
43
+ try:
44
+ with tarfile.open(archive,'r|*') as tar:
45
+ for member in tar:
46
+ if not member.isfile() or '/jobs/job/' not in member.name:continue
47
+ suffix=member.name.split('/jobs/job/')[1];name=suffix.split('/')[0]
48
+ if name not in wanted:continue
49
+ if member.name==wanted[name]['member']:results[name]=json.load(tar.extractfile(member))
50
+ if suffix.endswith('/agent/trajectory.json') and (suffix.count('/')==2 or name not in trajectories):trajectories[name]=json.load(tar.extractfile(member))
51
+ except (EOFError,tarfile.ReadError,OSError) as e:scan_error=str(e)
52
+ assert set(results)==set(wanted),(sub,len(results),len(wanted))
53
+ with tempfile.TemporaryDirectory(prefix='cce-metrics-') as tmp:
54
+ for name,result in results.items():
55
+ trial=Path(tmp)/name;(trial/'agent').mkdir(parents=True)
56
+ if name in trajectories:(trial/'agent/trajectory.json').write_text(json.dumps(trajectories[name]))
57
+ row=trial_metrics(trial,result,context_limit=32768);row['task']=wanted[name]['task'];row['model_call_seconds']=distribution(row['model_call_seconds'] or [])
58
+ rows.append(row)
59
+ shutil.rmtree(trial)
60
+ recovered=True
61
+ zipped(out/'sources'/f'{si:03d}-reconstructed-stage-7.json.gz',{'stage':7,'complete':True,'archive_scan_error':scan_error,'trajectories':rows})
62
+ count=0
63
+ for row in rows:
64
+ task=row['task'];trial=row['trial'];key=(info['model'],task)
65
+ if info['selection']=='original':
66
+ if trial not in selected[sub]:continue
67
+ assert row['reward']==selected[sub][trial]['reward']
68
+ else:
69
+ if task in info.get('exclude',[]):continue
70
+ if row['reward'] not in (0,1) and trial!=policy_trial:continue
71
+ if trial==policy_trial:
72
+ row['verifier_reward']=row['reward'];row['reward']=0;row['reward_source']='evaluation_policy';row['termination']='context_limit'
73
+ row['recorded_exception_type']='ContextManagementInfrastructureError'
74
+ for errors in row['errors'].values():
75
+ if 'ContextManagementInfrastructureError' in errors:errors.remove('ContextManagementInfrastructureError')
76
+ row['model']=info['model'];row['source']=f'sources/{si:03d}';row.pop('trial_path',None)
77
+ assert key in expected
78
+ allrows[info['model']].append(row);count+=1
79
+ ledger.append({'model':info['model'],'task':task,'trial':trial,'reward':row['reward'],'source':row['source'],'reward_source':row.get('reward_source','verifier')})
80
+ coverage.append({'source':f'{si:03d}','submission':sub,'model':info['model'],'selected_attempts':count,'stage7_report':bool(reports),'reconstructed':recovered})
81
+ print(si,info['model'],count,'reconstructed' if recovered else 'saved report',flush=True)
82
+ # Every accepted attempt appears once, with exactly the published reward multiset.
83
+ assert len({(r['model'],r['source'],r['trial']) for r in ledger})==len(ledger)
84
+ observed=collections.defaultdict(list)
85
+ for r in ledger:observed[r['model'],r['task']].append(r['reward'])
86
+ assert set(observed)==set(expected)
87
+ for key,rewards in observed.items():assert sorted(rewards)==sorted(expected[key]['rewards']),(key,len(rewards),len(expected[key]['rewards']))
88
+ write(out/'coverage.json',{'attempts':len(ledger),'sources':coverage,'policy_outcomes':read(new/'agent-failure-outcomes.json')})
89
+ zipped(out/'attempts.json.gz',ledger)
90
+ # Saved per-call distributions cannot recover global quantiles; retain weighted means and maxima.
91
+ def summarize(rows):
92
+ calls=[r['model_call_seconds'] for r in rows if r.get('model_call_seconds')]
93
+ clean=[dict(r,model_call_seconds=None) for r in rows];a=aggregate(clean)
94
+ if calls:
95
+ n=sum(c['n'] for c in calls);a['latency_seconds']['model_call']={'n':n,'mean':sum(c['mean']*c['n'] for c in calls)/n,'max':max(c['max'] for c in calls),'median':None,'p90':None,'p95':None,'note':'Per-call samples were not retained; pooled quantiles cannot be reconstructed.'}
96
+ return a
97
+ summary={};panels=[];tables=collections.defaultdict(list);combined={'stage':7,'name':'trace_metrics','complete':True,'scope':'Only attempts counted in the final pass@16 results','models':{},'coverage':'coverage.json'}
98
+ folders={k:f'crosscodeeval-{k}-v{v}' for k,v in [('csharp',5),('java',4),('python',3),('typescript',3)]}
99
+ for model,rows in allrows.items():
100
+ assert len(rows)==107360
101
+ tasks=collections.defaultdict(list)
102
+ for row in rows:tasks[row['task']].append(row)
103
+ a=summarize(rows);a['trajectory_files_found']=sum(r['trajectory_found'] for r in rows)
104
+ combined['models'][model]={'all_tasks':a,'tasks':{t:summarize(rr) for t,rr in tasks.items()}}
105
+ zipped(out/f'{model}-trace-metrics.json.gz',rows)
106
+ stage7={'stage':7,'complete':True,'trace_metrics':{'trajectories':rows,'all_tasks':a}}
107
+ temp=root/f'{model}-stage-7.json';write(temp,stage7)
108
+ for plot in write_trace_plots(temp).values():shutil.move(str(root/plot),out/plot)
109
+ temp.unlink()
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)
122
+ for folder,rows in tables.items():
123
+ p=release/folder/'pass_counts.parquet';p.parent.mkdir(parents=True,exist_ok=True);pq.write_table(pa.Table.from_pylist(rows),p)
124
+ write(release/'runs'/f'{run}.json',{'run':run,'kind':'pass_counts_and_trace_metrics','summary':summary,'stage7':f'runs/{run}/stage-7-combined.json.gz','coverage':f'runs/{run}/coverage.json','notes':['Includes original collection and accepted recovery attempts.','One context-limit failure counts as reward 0 under the agreed evaluation policy; its absent verifier score and original error remain recorded.'],'pass_at_k':'1 - comb(16 - solved, k) / comb(16, k)'})
125
+ print('READY',len(ledger),'attempts',flush=True)
runs/2026-10-07-crosscodeeval-pass16/provenance.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61a880df3adcb9b2f3778fec6634857b28824f7d73ab02f16b738d6210c95a25
3
+ size 8560855
runs/2026-10-07-crosscodeeval-pass16/publish.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Publish reconciled CrossCodeEval counts, combined stage-7 statistics and plots."""
2
+ from pathlib import Path
3
+ import json,gzip,hashlib,shutil,sys
4
+ import pyarrow as pa
5
+ import pyarrow.parquet as pq
6
+ from huggingface_hub import HfApi,CommitOperationAdd,hf_hub_download
7
+ from huggingface_hub.utils import EntryNotFoundError
8
+ root=Path(__file__).resolve().parent;release=root/'release';target=json.loads((root/'target.json').read_text());repo=target['repo'];api=HfApi();run='2026-10-07-crosscodeeval-pass16';out=release/'runs'/run
9
+ summary=json.loads((out/'summary.json').read_text());coverage=json.loads((out/'coverage.json').read_text())
10
+ # Link results to the published payload while retaining the evaluated source hash.
11
+ for folder in target['sources']:
12
+ p=release/folder/'pass_counts.parquet';rows=pq.read_table(p).to_pylist()
13
+ for row in rows:
14
+ hashes=target['task_hashes'][row['path']];row['evaluated_source_content_sha256']=hashes['evaluated_source_content_sha256'];row['content_sha256']=hashes['published_content_sha256']
15
+ keys={(r['path'],r['model']) for r in rows}
16
+ try:
17
+ previous=hf_hub_download(repo,folder+'/pass_counts.parquet',repo_type='dataset',revision=target['head'],cache_dir=str(root/'hf-cache'))
18
+ rows += [r for r in pq.read_table(previous).to_pylist() if (r['path'],r['model']) not in keys]
19
+ except EntryNotFoundError:pass
20
+ pq.write_table(pa.Table.from_pylist(sorted(rows,key=lambda r:(r['path'],r['model']))),p)
21
+ provenance={'published_revision':target['head'],'task_hashes':target['task_hashes'],'normalization':{'tasks':len(target['instruction_suffix_normalization']),'only_difference':'Published instruction appends the deterministic 900-second time-limit and anti-cheating reminder. Executable files, tests, solutions and resources match.','original_collection_fix_instruction_suffix':True},'sources':[]}
22
+ for source in coverage['sources']:
23
+ sub=Path(source['submission']);request=json.loads((sub/'request.json').read_text());contract=Path(request['args']['contract']);d=json.loads(contract.read_text());manifest=contract.with_suffix('.tasks.json')
24
+ entry={'source':source.get('source'),'submission':str(sub),'contract':d,'tasks':json.loads(manifest.read_text())}
25
+ reports=list((sub/'report').glob('stage-6-*.json'))
26
+ if reports:entry['stage6']=json.loads(reports[0].read_text())
27
+ provenance['sources'].append(entry)
28
+ with gzip.open(out/'provenance.json.gz','wt') as f:json.dump(provenance,f)
29
+ for name in ['prepare.py','check_hf.py','publish.py']:shutil.copyfile(root/name,out/name)
30
+ code=Path('/home/hpc/y500bb/y500bb12/OT_next_data')
31
+ for name in ['trace_metrics','command_metrics','reward_metrics']:shutil.copyfile(code/f'validation/checks/{name}.py',out/f'{name}.py')
32
+ missing=sum(v['attempts']-v['trace_metrics']['trajectory_files_found'] for v in summary.values())
33
+ body='''Adds per-task teacher results for all 6,710 CrossCodeEval tasks, with 16 attempts per task for each model (214,720 attempts total).
34
+
35
+ | Model | Scored attempts | Pass@1 | Pass@16 |
36
+ | --- | ---: | ---: | ---: |
37
+ '''
38
+ for m,label in [('qwen3-30b-instruct-2507','Qwen3-30B-A3B-Instruct-2507'),('qwen3-30b-thinking','Qwen3-30B-A3B (Thinking)')]:
39
+ s=summary[m];body+=f"| {label} | {s['attempts']:,} | {100*s['pass@1']:.2f}% | {100*s['pass@16']:.2f}% |\n"
40
+ body+='''
41
+ Includes the original collection and recovery runs, with each counted attempt included once.
42
+
43
+ - Each language folder has `pass_counts.parquet`: one row per task and model, with solved counts and pass@1/2/4/8/16.
44
+ - One combined stage 7 report contains statistics for both models and every task: tokens, turns, runtime, tool use, termination reasons and errors.
45
+ - Plots show pass rates by language, solved-count distributions and trace statistics. Per-attempt metrics and supporting reports are included.
46
+
47
+ One attempt has no saved trajectory, so its trace measurements remain missing. One context-limit failure counts as reward 0, with its original error and absent verifier score preserved. Global model-call latency quantiles are unavailable because only per-attempt summaries were retained.
48
+
49
+ Results and plots: `runs/2026-10-07-crosscodeeval-pass16/`. The combined statistics are in `stage-7-combined.json.gz`; `summary.json` provides a smaller overview.
50
+ '''
51
+ (root/'pull-request.md').write_text(body)
52
+ files=sorted(p for p in release.rglob('*') if p.is_file());assert not any(p.name=='README.md' for p in files)
53
+ statefile=root/'hf-publication.json'
54
+ if statefile.exists():state=json.loads(statefile.read_text())
55
+ else:
56
+ commit=api.create_commit(repo_id=repo,repo_type='dataset',create_pr=True,parent_commit=target['head'],operations=[CommitOperationAdd(path_in_repo=str(p.relative_to(release)),path_or_fileobj=str(p)) for p in files],commit_message='CrossCodeEval: complete pass@16 results and combined trace statistics',commit_description=body)
57
+ state={'repo':repo,'pr_url':commit.pr_url,'revision':commit.pr_revision,'commit':commit.oid,'files':len(files),'status':'uploaded'};statefile.write_text(json.dumps(state,indent=2)+'\n');print(state['pr_url'],flush=True)
58
+ remote=api.get_paths_info(repo,[str(p.relative_to(release)) for p in files],repo_type='dataset',revision=state['commit']);assert len(remote)==len(files)
59
+ for entry in remote:
60
+ p=release/entry.path;assert entry.size==p.stat().st_size,entry.path
61
+ if entry.lfs:
62
+ sha=entry.lfs['sha256'] if isinstance(entry.lfs,dict) else entry.lfs.sha256
63
+ assert sha==hashlib.sha256(p.read_bytes()).hexdigest(),entry.path
64
+ for folder in target['sources']:
65
+ p=hf_hub_download(repo,folder+'/pass_counts.parquet',repo_type='dataset',revision=state['commit'],cache_dir=str(root/'verify-cache'));assert pq.read_table(p).equals(pq.read_table(release/folder/'pass_counts.parquet'))
66
+ state.update(status='verified',tasks=6710,models=2,attempts=214720,merged=False);statefile.write_text(json.dumps(state,indent=2)+'\n');print(json.dumps(state,indent=2),flush=True)
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-solved-counts.png ADDED

Git LFS Details

  • SHA256: 1baf31bf2ed69d5fb59de9b53f6153a2d53aff46e93373ad9c8852c01f7cead4
  • Pointer size: 130 Bytes
  • Size of remote file: 73.9 kB
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-stage-6.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-stage-7-trace-distributions.png ADDED

Git LFS Details

  • SHA256: 1ffd1349732da00abd5c77fc3166cffabb1a68b6ace4a2190cd0e20042747fbd
  • Pointer size: 131 Bytes
  • Size of remote file: 173 kB
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-stage-7-trace-outcomes.png ADDED

Git LFS Details

  • SHA256: 159d93dae9589c7b4b786e38149a683ff29d0647792ee69c3e98d9b77db74c56
  • Pointer size: 130 Bytes
  • Size of remote file: 61.3 kB
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-instruct-2507-trace-metrics.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43acc0f6583b2db23cc16dc1c1a564253cb44052753e955b056bbe01ce2b3793
3
+ size 10239527
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-solved-counts.png ADDED

Git LFS Details

  • SHA256: 44ff64e0505051728528db800313953853163c768bee852c73a8454113c43372
  • Pointer size: 130 Bytes
  • Size of remote file: 75.4 kB
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-stage-6.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-stage-7-trace-distributions.png ADDED

Git LFS Details

  • SHA256: 76727c06bfa0f90e5126562ae5d567c1348b07413a65b410ee74e629d19f7599
  • Pointer size: 131 Bytes
  • Size of remote file: 180 kB
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-stage-7-trace-outcomes.png ADDED

Git LFS Details

  • SHA256: b4d5c3d99b0c61d587df8950462ca73b514ed46c39ee98bc670cab0d20dface8
  • Pointer size: 130 Bytes
  • Size of remote file: 63.4 kB
runs/2026-10-07-crosscodeeval-pass16/qwen3-30b-thinking-trace-metrics.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c7bafa33c9e200ba7bc4e1e3d9ec9da59bd15937be9ab94b884f69a5e1f5eb4
3
+ size 10566312
runs/2026-10-07-crosscodeeval-pass16/reward_metrics.py ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reward statistics over repeated agent trials: measurements, not acceptance gates."""
2
+ from collections import Counter
3
+ import math
4
+ from pathlib import Path
5
+
6
+ from math import comb
7
+
8
+ GROUPS = ('all_solved', 'all_zero', 'constant_partial', 'varying')
9
+
10
+
11
+ def pass_at_k(n, c, k):
12
+ """Unbiased pass@k estimate; unavailable when fewer than k attempts exist."""
13
+ if n < k:
14
+ return None
15
+ return 1.0 if n - c < k else 1.0 - comb(n - c, k) / comb(n, k)
16
+
17
+
18
+ def group_of(task):
19
+ parts = task.split('-')
20
+ return parts[1] if len(parts) >= 3 else 'all'
21
+
22
+
23
+ def trial_reward(result, key='reward'):
24
+ value = ((result.get('verifier_result') or {}).get('rewards') or {}).get(key)
25
+ if isinstance(value, bool) or not isinstance(value, (int, float)) or not math.isfinite(value):
26
+ return None
27
+ return value
28
+
29
+
30
+ def reward_group(rewards):
31
+ """Classify observed rewards, leaving ungraded tasks unclassified."""
32
+ if not rewards:
33
+ return None
34
+ if len(set(rewards)) > 1:
35
+ return 'varying'
36
+ return 'all_solved' if rewards[0] >= 1 else 'all_zero' if rewards[0] == 0 else 'constant_partial'
37
+
38
+
39
+ def task_metrics(results, attempts, key='reward'):
40
+ """One task's attempts. An attempt without a reward counts as unsolved."""
41
+ rewards = [r for r in (trial_reward(data, key) for _, data in results) if r is not None]
42
+ n = max(attempts, len(results))
43
+ solved = sum(r >= 1 for r in rewards)
44
+ return {'attempts': n, 'rewards': rewards,
45
+ 'reward_counts': {str(value): count for value, count in sorted(Counter(rewards).items())},
46
+ 'mean_reward': sum(rewards) / len(rewards) if rewards else None,
47
+ 'solved': solved, 'partial': sum(0 < r < 1 for r in rewards),
48
+ 'zero': sum(r == 0 for r in rewards), 'no_reward': n - len(rewards),
49
+ 'exceptions': sum(bool(data.get('exception_info')) for _, data in results),
50
+ 'pass@1': solved / n, 'pass@k': pass_at_k(n, solved, n), 'k': n, 'variance_group': reward_group(rewards)}
51
+
52
+
53
+ def aggregate(rows):
54
+ attempts = sum(m['attempts'] for m in rows)
55
+ means = [m['mean_reward'] for m in rows if m['mean_reward'] is not None]
56
+ return {'tasks': len(rows), 'attempts': attempts, 'k': sorted({m['k'] for m in rows}),
57
+ 'mean_reward': sum(means) / len(means) if means else None,
58
+ 'pass@1': sum(m['pass@1'] for m in rows) / len(rows),
59
+ 'pass@k': sum(m['pass@k'] for m in rows) / len(rows),
60
+ 'solved_rate': sum(m['solved'] for m in rows) / attempts,
61
+ 'partial_credit_rate': sum(m['partial'] for m in rows) / attempts,
62
+ 'zero_reward_rate': sum(m['zero'] for m in rows) / attempts,
63
+ 'no_reward_rate': sum(m['no_reward'] for m in rows) / attempts}
64
+
65
+
66
+ def summarize(items):
67
+ """All tasks, each family (middle part of the task ID) and variance groups."""
68
+ measured = {Path(i['task']).name: i['metrics'] for i in items if i.get('metrics')}
69
+ if not measured:
70
+ return None
71
+ families, groups = {}, {key: [] for key in GROUPS}
72
+ for task, metrics in sorted(measured.items()):
73
+ families.setdefault(group_of(task), []).append(metrics)
74
+ if metrics['variance_group']:
75
+ groups[metrics['variance_group']].append(task)
76
+ return {'all_tasks': aggregate(list(measured.values())),
77
+ 'families': {name: aggregate(rows) for name, rows in sorted(families.items())},
78
+ 'variance_groups': groups, 'variance_group_counts': {key: len(tasks) for key, tasks in groups.items()},
79
+ 'tasks_without_rewards': sorted(task for task, m in measured.items() if not m['variance_group']),
80
+ 'tasks_without_trials': sorted(Path(i['task']).name for i in items if not i.get('metrics'))}
runs/2026-10-07-crosscodeeval-pass16/sources/000-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83031ff1d603623ee2b5e041a9d2a11eae52a9736116dee883ce98481fe42f14
3
+ size 2119881
runs/2026-10-07-crosscodeeval-pass16/sources/001-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de69f9997543f42afb636395d4bc155c7b123d7fa886a8949e10a7a6dad4c3e
3
+ size 29502
runs/2026-10-07-crosscodeeval-pass16/sources/002-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a82fc19892f52f46fc61fec488a0df8a6ce9bd761565d980ba3361bc097c2ee2
3
+ size 2156511
runs/2026-10-07-crosscodeeval-pass16/sources/003-reconstructed-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7869d36b6ee3939d921e14ed66d85946b8ad52a6edc2c6d2083c5c91ab7a34
3
+ size 313693
runs/2026-10-07-crosscodeeval-pass16/sources/004-reconstructed-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef95d33bb7de14b20ea54096a825aa06047a4adffa26511b4bdb212cf40405d9
3
+ size 303697
runs/2026-10-07-crosscodeeval-pass16/sources/005-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df3209da8ba68ca53101d23f07649ee4fe7d47f7b6c0a36edda8d395440020d3
3
+ size 2179121
runs/2026-10-07-crosscodeeval-pass16/sources/006-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a1a33598636b384cf362c75a4a032dcdba350cb153bced5ea8649a0c91a460b
3
+ size 29693
runs/2026-10-07-crosscodeeval-pass16/sources/007-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec452e140687bdb07185f0666979854f9b4cbff9f97b2dcc5ac76f094d05e4b6
3
+ size 2212549
runs/2026-10-07-crosscodeeval-pass16/sources/008-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c34b7be707e6e284f1357e0dc3cd74a8c9e5dd45c2764d3da3a0f2b9ef3d432c
3
+ size 2240
runs/2026-10-07-crosscodeeval-pass16/sources/009-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed2d2987de6384d336e711052788500b7df8a5b0400f8538d73ea44d569a6138
3
+ size 2180087
runs/2026-10-07-crosscodeeval-pass16/sources/010-reconstructed-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:384aea82d1ec9a79d40d6e94becc3380158427a0ec08025e969ac6b0f7afe650
3
+ size 344288
runs/2026-10-07-crosscodeeval-pass16/sources/011-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de5a0eb3553482c9d95c446b3b1016e470f25139025d28720c965e0a082ef787
3
+ size 537753
runs/2026-10-07-crosscodeeval-pass16/sources/012-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cb94f6a30f5f3f34c25b9a36f8c7724132c057c1fdc40b9f1ffd43b111b34ec
3
+ size 469315
runs/2026-10-07-crosscodeeval-pass16/sources/013-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5490160f9589b511db36675798ce0aac1788c1221a61cf33f40902c6ed27789e
3
+ size 466089
runs/2026-10-07-crosscodeeval-pass16/sources/014-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:652db63927c57c7f87022f2e7b29d8165468ce351e4e1f8d19efcc76a634f603
3
+ size 469089
runs/2026-10-07-crosscodeeval-pass16/sources/015-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f4c9db385c6a22fe89e667cbb433a982338890fec5931089bfd34c6f17fc050
3
+ size 466935
runs/2026-10-07-crosscodeeval-pass16/sources/016-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18eb87f013b32055a6a50485c82c39c6f6209e15a43fc4dc305525b96ee19a16
3
+ size 465974
runs/2026-10-07-crosscodeeval-pass16/sources/017-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6ec89a423a6a07ef2a7a1c860e08903bfb26dad6833e18f26800b8d2144076d
3
+ size 468691
runs/2026-10-07-crosscodeeval-pass16/sources/018-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24537f3db58af4ec523038223a903311d082cdc36175334b8abdcfc9b30440ce
3
+ size 466325
runs/2026-10-07-crosscodeeval-pass16/sources/019-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2926aa9017cc49abec3b05d5858a1b547b95ac71213a8d78c37a14b8bc4cdd
3
+ size 463511
runs/2026-10-07-crosscodeeval-pass16/sources/020-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd568858b38fe870caa92c27bfab3f1de768315a282ad9aedfa81eb4b48f08e7
3
+ size 470632
runs/2026-10-07-crosscodeeval-pass16/sources/021-stage-7.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ecbab32534286a8d56d2ee02f5353c4ed7501f17a529cfa72fbfbe62b91588c
3
+ size 466476