path string | task_binary unknown |
|---|---|
code_contests-0000 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
115,
27,
183,
81,
207,
248,
21,
107,
58,
147,
144,
138,
120,
226,
183,
100,
165,
76,
163,
88,
114,
172,
137,
45,
105,
36,
58,
105,
198,
246,
80,
224,
29,
142,
188,
232,
1... |
code_contests-0001 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
115,
219,
198,
81,
207,
248,
21,
107,
58,
147,
136,
12,
1,
129,
95,
162,
163,
148,
105,
20,
75,
142,
53,
177,
37,
141,
68,
55,
201,
216,
26,
234,
8,
28,
72,
68,
32,
14,... |
code_contests-0002 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
107,
115,
219,
198,
81,
95,
125,
191,
98,
77,
167,
9,
169,
138,
16,
72,
240,
97,
203,
101,
26,
217,
146,
98,
77,
108,
73,
35,
201,
77,
51,
182,
74,
29,
129,
3,
137,
8,
4,
... |
code_contests-0003 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
115,
219,
198,
209,
207,
247,
43,
54,
116,
39,
33,
21,
18,
2,
248,
33,
58,
74,
153,
70,
177,
228,
68,
83,
89,
210,
80,
116,
155,
86,
86,
169,
35,
112,
36,
17,
129,
0,
... |
code_contests-0004 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
107,
83,
27,
71,
146,
207,
243,
43,
218,
114,
42,
70,
4,
45,
122,
11,
43,
167,
36,
196,
136,
88,
21,
27,
40,
144,
47,
231,
178,
41,
49,
187,
59,
43,
109,
216,
87,
118,
103,... |
code_contests-0005 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
107,
83,
220,
70,
146,
207,
243,
43,
218,
235,
84,
194,
18,
86,
72,
251,
180,
201,
109,
46,
196,
224,
152,
178,
189,
80,
128,
47,
151,
178,
169,
101,
86,
26,
237,
42,
232,
21... |
code_contests-0006 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
219,
202,
145,
122,
198,
87,
244,
161,
83,
177,
168,
144,
16,
174,
164,
164,
44,
207,
70,
177,
228,
28,
85,
142,
37,
149,
44,
111,
54,
101,
123,
41,
16,
24,
144,
56... |
code_contests-0007 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
115,
227,
182,
209,
207,
252,
21,
27,
93,
167,
103,
57,
18,
205,
15,
81,
114,
220,
42,
173,
123,
246,
53,
158,
230,
108,
143,
207,
215,
180,
115,
190,
202,
16,
9,
73,
172... |
code_contests-0008 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
115,
219,
198,
81,
207,
248,
21,
23,
58,
83,
139,
170,
8,
225,
27,
164,
82,
166,
85,
45,
57,
209,
212,
150,
52,
178,
220,
180,
99,
123,
168,
35,
112,
32,
81,
225,
43,
1... |
code_contests-0009 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
109,
111,
227,
200,
145,
246,
103,
254,
138,
90,
77,
144,
177,
28,
137,
226,
171,
94,
156,
245,
38,
222,
177,
103,
215,
200,
142,
109,
216,
158,
219,
11,
102,
124,
114,
139,
10... |
code_contests-0010 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
217,
82,
28,
71,
146,
231,
250,
138,
212,
104,
195,
98,
48,
211,
116,
207,
9,
227,
29,
219,
88,
32,
139,
176,
4,
4,
160,
245,
58,
128,
29,
106,
186,
171,
103,
218,
244,
165,
... |
code_contests-0014 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
93,
115,
219,
200,
145,
126,
198,
175,
232,
165,
83,
49,
169,
144,
16,
62,
73,
74,
9,
55,
209,
90,
114,
150,
21,
91,
82,
73,
242,
229,
182,
108,
31,
53,
4,
134,
36,
34,
16,... |
code_contests-0016 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
219,
200,
177,
122,
198,
87,
244,
210,
169,
88,
84,
72,
8,
23,
94,
36,
110,
184,
137,
98,
201,
89,
85,
214,
146,
74,
146,
147,
147,
146,
20,
122,
8,
14,
72,
88,
1... |
code_contests-0017 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
219,
202,
145,
126,
198,
87,
180,
233,
84,
44,
42,
36,
68,
240,
42,
43,
203,
147,
200,
150,
28,
43,
57,
150,
84,
146,
188,
217,
148,
237,
165,
134,
192,
128,
156,
3... |
code_contests-0018 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
91,
115,
219,
200,
177,
214,
51,
126,
69,
47,
157,
90,
147,
90,
18,
194,
149,
32,
149,
112,
19,
197,
146,
179,
170,
181,
37,
149,
44,
159,
156,
148,
237,
162,
64,
96,
64,
97,... |
code_contests-0020 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
217,
114,
27,
199,
145,
207,
251,
21,
45,
200,
101,
1,
52,
176,
196,
226,
164,
232,
192,
49,
45,
146,
22,
203,
18,
201,
34,
169,
216,
46,
137,
1,
7,
187,
3,
96,
196,
189,
1... |
code_contests-0022 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
227,
202,
113,
122,
198,
87,
244,
114,
93,
94,
82,
38,
32,
128,
87,
73,
14,
79,
44,
175,
36,
175,
202,
103,
37,
149,
164,
141,
227,
218,
221,
80,
67,
96,
64,
194,
... |
code_contests-0023 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
203,
82,
35,
201,
145,
115,
127,
69,
174,
198,
225,
145,
176,
212,
116,
235,
9,
90,
179,
54,
59,
48,
94,
194,
59,
64,
0,
227,
71,
12,
99,
81,
106,
149,
164,
94,
250,
161,
2... |
code_contests-0024 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
219,
200,
177,
126,
158,
175,
232,
165,
83,
49,
169,
37,
33,
128,
36,
72,
73,
123,
184,
137,
98,
201,
89,
85,
214,
146,
74,
150,
115,
41,
203,
135,
26,
2,
67,
18,
... |
code_contests-0025 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
219,
200,
149,
126,
198,
87,
156,
161,
83,
49,
169,
144,
16,
193,
139,
104,
43,
203,
73,
100,
75,
202,
168,
50,
150,
84,
146,
188,
19,
151,
229,
162,
155,
64,
147,
... |
code_contests-0026 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
91,
115,
219,
200,
149,
246,
51,
126,
69,
15,
157,
138,
69,
133,
132,
8,
94,
37,
37,
156,
141,
98,
201,
25,
213,
216,
146,
74,
146,
51,
155,
178,
92,
84,
19,
108,
146,
136,
... |
code_contests-0027 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
91,
115,
227,
198,
149,
246,
51,
126,
197,
177,
156,
202,
72,
50,
9,
1,
4,
64,
144,
74,
148,
68,
246,
104,
98,
85,
108,
205,
148,
36,
39,
155,
245,
204,
114,
64,
178,
41,
1... |
code_contests-0028 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
93,
115,
219,
200,
145,
122,
198,
175,
232,
165,
83,
177,
40,
19,
16,
248,
37,
202,
218,
227,
94,
20,
75,
222,
85,
101,
45,
169,
36,
249,
114,
41,
91,
71,
15,
129,
33,
137,
... |
code_contests-0029 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
219,
82,
227,
70,
150,
231,
254,
138,
51,
158,
84,
6,
19,
44,
36,
217,
178,
129,
172,
179,
33,
192,
100,
168,
204,
0,
5,
204,
102,
83,
3,
107,
218,
82,
203,
86,
208,
45,
18... |
code_contests-0030 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
91,
119,
219,
72,
114,
246,
51,
126,
69,
13,
189,
103,
77,
202,
36,
132,
59,
72,
77,
52,
89,
173,
45,
239,
232,
236,
140,
236,
35,
201,
59,
217,
99,
105,
105,
144,
108,
74,
... |
code_contests-0031 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
114,
219,
200,
177,
122,
198,
87,
244,
210,
73,
44,
42,
36,
4,
128,
4,
73,
41,
135,
155,
40,
150,
28,
171,
178,
150,
84,
178,
156,
77,
202,
118,
81,
67,
96,
72,
34,
19... |
code_contests-0032 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
107,
83,
227,
70,
114,
63,
235,
87,
244,
122,
175,
178,
152,
32,
33,
249,
9,
228,
156,
132,
44,
236,
46,
149,
93,
160,
192,
123,
185,
212,
66,
153,
177,
52,
178,
21,
100,
73,... |
code_contests-0033 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
83,
220,
70,
146,
103,
253,
138,
246,
58,
21,
179,
4,
9,
73,
187,
218,
133,
205,
109,
46,
216,
224,
152,
138,
13,
20,
224,
203,
165,
12,
181,
204,
74,
163,
69,
65,
95,
... |
code_contests-0035 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
237,
114,
219,
54,
50,
191,
249,
20,
136,
114,
211,
88,
174,
73,
147,
148,
40,
201,
238,
169,
87,
39,
118,
26,
79,
19,
219,
227,
56,
215,
235,
36,
25,
25,
34,
65,
137,
13,
... |
code_contests-0037 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
93,
115,
27,
57,
114,
126,
158,
95,
209,
166,
175,
206,
146,
78,
28,
241,
91,
182,
54,
218,
156,
214,
146,
111,
85,
103,
75,
42,
89,
206,
101,
203,
116,
81,
224,
12,
72,
194,... |
code_contests-0038 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
60,
219,
118,
219,
200,
145,
126,
198,
87,
212,
208,
57,
49,
169,
33,
33,
128,
4,
8,
74,
19,
77,
162,
177,
228,
140,
78,
108,
73,
71,
150,
51,
155,
99,
249,
208,
77,
162,
73,
9... |
code_contests-0039 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
29,
219,
114,
219,
198,
85,
207,
251,
21,
199,
116,
91,
139,
10,
1,
1,
36,
72,
202,
106,
153,
70,
181,
228,
68,
83,
91,
210,
200,
114,
211,
142,
229,
161,
150,
192,
130,
68,
132,... |
code_contests-0041 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
203,
114,
219,
200,
209,
103,
124,
69,
47,
157,
90,
139,
138,
8,
225,
73,
82,
74,
184,
89,
173,
37,
199,
170,
93,
75,
42,
153,
206,
163,
108,
23,
53,
4,
134,
36,
86,
32,
19... |
code_contests-0042 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
91,
115,
219,
200,
149,
246,
51,
126,
197,
25,
58,
21,
139,
138,
8,
225,
78,
82,
89,
78,
162,
88,
114,
172,
202,
88,
82,
73,
242,
102,
83,
182,
139,
106,
130,
77,
18,
99,
1... |
code_contests-0043 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
115,
219,
198,
209,
207,
248,
21,
107,
186,
19,
139,
10,
9,
129,
95,
162,
164,
148,
105,
20,
75,
78,
52,
177,
37,
141,
68,
215,
205,
216,
30,
234,
8,
28,
200,
139,
0,
2... |
code_contests-0044 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
28,
93,
83,
220,
70,
146,
103,
253,
138,
246,
58,
21,
239,
18,
36,
164,
253,
96,
49,
185,
205,
133,
24,
136,
169,
216,
64,
1,
190,
92,
202,
166,
150,
89,
105,
180,
76,
208,
74,
... |
code_contests-0045 | [
31,
139,
8,
0,
0,
0,
0,
0,
2,
255,
237,
92,
91,
115,
219,
200,
149,
246,
51,
126,
69,
15,
157,
138,
37,
141,
8,
161,
113,
135,
18,
77,
162,
88,
114,
70,
149,
25,
217,
37,
203,
153,
77,
217,
46,
25,
36,
154,
18,
34,
1... |
code-contests-noblock
Harbor-format competitive-programming RL tasks (8,728 tasks) derived from CodeContests.
Each task is a Harbor task binary (gzip tar) stored in tasks.parquet with columns
path (str, <task_id>.tar.gz) and task_binary (binary). Each tar contains
instruction.md, task.toml, environment/Dockerfile, and a tests/ verifier
(test.sh, test_state.py, test_data.json).
v2 (current) — verifier reward-recording fix
Resolves a silent reward-distribution bias. All 8,728 task verifiers are updated; task content (instructions, environments, tests, test data) is otherwise byte-identical to v1.
The v1 tests/test.sh ran pytest under set -euo pipefail:
set -euo pipefail
pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA # aborts the script on test failure
if [ $? -eq 0 ]; then echo 1 > /logs/verifier/reward.txt; else echo 0 > /logs/verifier/reward.txt; fi
Under set -e, a failing solution makes pytest exit non-zero and the script dies before
reward.txt is written. Harbor then finds the verifier dir (with ctrf.json) but no reward
file and raises RewardFileNotFoundError. The net effect:
- Failed solutions (legitimate
reward=0) crash instead of recording 0, so they are dropped from generated trace sets rather than counted. - The surviving reward distribution collapses to a single
1.0bucket — useless for any config that needs the success/failure signal — and reported mean reward is inflated.
v2 wraps pytest so the script never dies on a test failure and always records a reward:
set +e
pytest --ctrf /logs/verifier/ctrf.json /tests/test_state.py -rA
PYTEST_EXIT=$?
set -e
if [ $PYTEST_EXIT -eq 0 ]; then echo 1 > /logs/verifier/reward.txt; else echo 0 > /logs/verifier/reward.txt; fi
This matches the correct pattern already used by the Nemotron task verifiers (which had zero
RewardFileNotFoundErrors for exactly this reason).
The buggy original remains resolvable at the v1 tag.
from huggingface_hub import hf_hub_download
hf_hub_download("DCAgent/code-contests-noblock", "tasks.parquet", repo_type="dataset") # v2 (fixed)
hf_hub_download("DCAgent/code-contests-noblock", "tasks.parquet", repo_type="dataset", revision="v1") # original
- Downloads last month
- 35