Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
string
entry_point
string
is_executable
bool
is_correct
bool
tests_passed
int64
tests_failed
int64
test_run_time_ms
null
error_type
string
halstead_vocabulary
int64
halstead_length
int64
halstead_volume
float64
halstead_difficulty
float64
halstead_effort
float64
halstead_time
float64
cyclomatic_complexity
int64
maintainability_index
float64
loc
int64
sloc
int64
comment_percentage
float64
TTR
float64
token_dict
string
shannon_entropy
float64
mean_predictive_entropy
float64
max_predictive_entropy
float64
n_func_defined
int64
entry_point_repeated
bool
HumanEval/0
has_close_elements
true
false
0
1
null
AssertionError
23
50
226.178
13
2,940.315
163.351
2
106.754
16
8
43.75
0.432099
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 5, "def": 1, "\u0120has": 3, "_close": 3, "_elements": 3, "(numbers": 3, ":": 2, "[float": 1, "],": 3, "\u0120threshold": 3, "\u0120float": 1, ")": 2, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 3, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "...
5.62865
0.143157
1.20076
1
false
HumanEval/1
separate_paren_groups
true
false
0
1
null
AssertionError
11
14
48.432
6.667
322.88
17.938
2
124.29
11
3
72.73
0.709402
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 4, "def": 1, "\u0120separate": 4, "_p": 2, "aren": 2, "_groups": 2, "(paren": 1, "_string": 1, ":": 1, "\u0120str": 1, ")": 2, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to": 2...
6.14144
0.356066
1.15758
1
false
HumanEval/2
truncate_number
true
true
1
0
null
null
9
16
50.719
6
304.313
16.906
1
132.556
11
2
63.64
0.674419
{"def": 1, "\u0120truncate": 2, "_number": 2, "(number": 2, ":": 1, "\u0120float": 2, ")": 2, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 1, "\u0120floating": 1, "\u0120point": 1, "\u0120number": 4, ",": 1, "\u0120it": 1, "\u0120can": 1, "\u...
5.618012
0.07536
1.53809
5
false
HumanEval/3
below_zero
true
false
0
1
null
AssertionError
19
29
123.19
11.143
1,372.687
76.26
2
109.914
16
8
50
0.541667
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 8, "def": 1, "\u0120below": 4, "_zero": 3, "(": 1, "operations": 1, ":": 1, "[int": 1, "])": 1, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 3, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120You": 1, "'re": 1, "\u0120given": 1, "\u0120a": 2...
5.914038
0.059446
0.76507
1
false
HumanEval/4
mean_absolute_deviation
true
false
0
1
null
TypeError
11
14
48.432
6.667
322.88
17.938
2
124.29
12
3
75
0.621849
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 5, "def": 1, "\u0120mean": 3, "_absolute": 2, "_dev": 2, "iation": 4, "(numbers": 1, ":": 1, "[float": 1, "])": 1, "\u0120->": 1, "\u0120float": 1, ":\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 2, "\u012...
5.862859
0.476682
1.42075
1
false
HumanEval/5
intersperse
true
false
0
1
null
AssertionError
17
56
228.898
16.5
3,776.816
209.823
1
113.49
11
5
54.55
0.516129
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 1, "def": 1, "\u0120inters": 3, "perse": 3, "(numbers": 1, ":": 2, "[int": 2, "],": 2, "\u0120del": 1, "imeter": 4, "\u0120int": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Insert": 1, "\u0120a":...
5.637596
0.172523
1.84952
1
false
HumanEval/6
parse_nested_parens
true
false
0
1
null
AssertionError
25
92
427.235
16.5
7,049.374
391.632
2
82.398
39
21
43.59
0.259901
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 20, "def": 1, "\u0120parse": 2, "_nested": 2, "_p": 3, "are": 3, "ns": 3, "(paren": 10, "_string": 11, ":": 2, "\u0120str": 2, ")": 10, "\u0120->": 2, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0...
5.818264
0.099261
2.41763
2
false
HumanEval/7
filter_by_substring
true
true
1
0
null
null
15
30
117.207
13
1,523.687
84.649
3
123.08
9
3
66.67
0.58
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120filter": 3, "_by": 3, "_sub": 3, "string": 3, "(strings": 1, ":": 2, "[str": 2, "],": 1, "\u0120substring": 3, "\u0120str": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Filter"...
5.569437
0.032123
0.44972
1
false
HumanEval/8
sum_product
true
true
1
0
null
null
23
52
235.225
17.889
4,207.918
233.773
2
103.299
17
10
41.18
0.428571
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 10, "\u0120Tuple": 2, "\u010a": 5, "def": 1, "\u0120sum": 5, "_product": 3, "(numbers": 1, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "\u0120int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 5, "\u0120g...
5.594414
0.069485
1.15504
1
false
HumanEval/9
rolling_max
true
true
1
0
null
null
25
63
292.563
13
3,803.318
211.295
2
105.416
15
8
33.33
0.522059
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, ",": 15, "\u0120Tuple": 1, "\u010a": 2, "def": 1, "\u0120rolling": 3, "_max": 2, "(numbers": 3, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 2, "\u0120given": 2, "\u012...
5.567011
0.04681
2.17311
3
false
HumanEval/10
make_palindrome
true
false
0
1
null
AssertionError
29
128
621.822
30
18,654.647
1,036.369
6
81.62
41
22
39.02
0.270893
{"def": 2, "\u0120is": 8, "_pal": 7, "indrome": 7, "(string": 6, ":": 6, "\u0120str": 3, ")": 2, "\u0120->": 2, "\u0120bool": 1, ":\u010a": 6, "\u0120\u0120\u0120": 28, "\u0120\"\"\"": 2, "\u0120Test": 1, "\u0120if": 6, "\u0120given": 1, "\u0120string": 14, "\u0120a": 5, "\u0120palindrome": 10, "\u0120\"\"\"\u010a": 2,...
5.992954
0.151016
1.50438
2
false
HumanEval/11
string_xor
false
false
0
0
null
SyntaxError
21
47
206.439
12
2,477.267
137.626
2
120.366
null
null
null
0.676768
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 1, "def": 1, "\u0120string": 3, "_xor": 2, "(a": 3, ":": 2, "\u0120str": 3, ",": 1, "\u0120b": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 6, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120are": 1, "\u0120two": 1, "\u0120strings...
5.804622
0.042857
1.71791
3
false
HumanEval/12
longest
true
true
1
0
null
null
20
51
220.418
16.5
3,636.902
202.05
4
103.177
19
10
42.11
0.503497
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 2, "\u0120Optional": 2, "\u010a": 4, "def": 1, "\u0120longest": 8, "(strings": 2, ":": 1, "[str": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120Out": 1, "\u0120of": 4, "\u0120list": 2, "\u0120strings"...
5.836386
0.090516
1.41339
1
false
HumanEval/13
greatest_common_divisor
true
true
1
0
null
null
14
28
106.606
10.8
1,151.344
63.964
2
117.234
12
5
50
0.456522
{"def": 1, "\u0120greatest": 5, "_common": 4, "_div": 4, "isor": 4, "(a": 1, ":": 2, "\u0120int": 3, ",": 4, "\u0120b": 4, ")": 1, "\u0120->": 1, ":\u010a": 3, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 4, "\u0120common": 1, "\u0120divisor": 1, "\u0120of": 1, "\u0120two": 1, "\u0120intege...
5.059116
0.017005
0.98201
5
false
HumanEval/14
all_prefixes
true
false
0
1
null
AssertionError
15
30
117.207
8.25
966.955
53.72
2
123.31
9
3
44.44
0.779412
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120all": 3, "_prefix": 2, "es": 2, "(string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 2, "\u0120pr...
5.582102
0.035379
1.34227
5
false
HumanEval/15
string_sequence
true
true
1
0
null
null
16
26
104
6.429
668.571
37.143
2
128.592
9
2
66.67
0.620253
{"def": 1, "\u0120string": 4, "_sequence": 3, "(n": 2, ":": 1, "\u0120int": 1, ")": 2, "\u0120->": 1, "\u0120str": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 1, "\u0120containing": 1, "\u0120space": 1, "-del": 1, "imited": 1, "\u0120numbers": 1, "\u0120starting": 1, "\u01...
5.280835
0.016536
1.10247
5
false
HumanEval/16
count_distinct_characters
true
false
0
1
null
AssertionError
13
20
74.009
4.667
345.374
19.187
1
119.362
12
3
66.67
0.584158
{"def": 1, "\u0120count": 3, "_dist": 3, "inct": 3, "_characters": 3, "(string": 2, ":": 1, "\u0120str": 1, ")": 2, "\u0120->": 1, "\u0120int": 1, ":\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 2, "\u0120string": 2, ",": 1, "\u0120find": 1, "\u0120out": 1, "\u0120how": 1, "\u012...
5.555655
0.09921
2.83024
3
false
HumanEval/17
parse_music
true
false
0
1
null
AssertionError
22
51
227.431
12.6
2,865.631
159.202
6
97.53
28
13
39.29
0.446352
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 6, "def": 1, "\u0120parse": 3, "_music": 2, "(m": 1, "usic": 1, "_string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to": 3, "\u0120this": ...
6.147171
0.11441
2.20473
3
false
HumanEval/18
how_many_times
true
true
1
0
null
null
23
46
208.084
13
2,705.09
150.283
3
111.029
15
6
53.33
0.584746
{"def": 1, "\u0120how": 5, "_many": 4, "_times": 4, "(string": 2, ":": 2, "\u0120str": 2, ",": 1, "\u0120substring": 3, ")": 1, "\u0120->": 1, "\u0120int": 1, ":\u010a": 2, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120Find": 1, "\u0120many": 1, "\u0120times": 1, "\u0120a": 1, "\u0120given": 1, "\u0120can": 1, "\...
5.741481
0.030849
2.02992
3
false
HumanEval/19
sort_numbers
true
false
0
1
null
AssertionError
14
28
106.606
7.333
781.777
43.432
1
117.464
13
5
46.15
0.594828
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 2, "def": 1, "\u0120sort": 2, "_numbers": 2, "(numbers": 2, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120is": 1, "\u0120a": 1, "\u0120space": 1, "-del": 1, "i...
5.600806
0.041132
1.09549
2
false
HumanEval/20
find_closest_elements
true
false
0
1
null
AssertionError
31
117
579.641
20.222
11,721.628
651.202
5
89.066
25
17
32
0.349315
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 16, "\u0120Tuple": 2, "\u010a": 9, "def": 1, "\u0120find": 3, "_close": 3, "st": 3, "_elements": 3, "(numbers": 5, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "\u0120float": 2, "]:\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "\u0120Fro...
6.020216
0.107655
1.79796
1
false
HumanEval/21
rescale_to_unit
true
false
0
1
null
AssertionError
18
37
154.287
12.571
1,939.611
107.756
2
115.312
12
5
41.67
0.482993
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120res": 2, "cale": 2, "_to": 2, "_unit": 2, "(numbers": 3, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 1, "\u0120numbe...
5.615712
0.027148
2.04335
3
false
HumanEval/22
filter_integers
true
true
1
0
null
null
16
31
124
10.833
1,343.333
74.63
3
122.787
9
3
66.67
0.59
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, ",": 8, "\u0120Any": 1, "\u010a": 2, "def": 1, "\u0120filter": 3, "_int": 3, "egers": 3, "(values": 1, ":": 1, "[Any": 1, "])": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Filter": 1, "\u0120given": 1, ...
5.539401
0.087498
1.18089
1
false
HumanEval/23
strlen
true
true
1
0
null
null
10
14
46.507
3.75
174.401
9.689
1
133.007
9
2
66.67
0.690476
{"def": 1, "\u0120strlen": 3, "(string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "\u0120int": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120length": 1, "\u0120of": 1, "\u0120given": 1, "\u0120string": 1, "\u010a": 3, "\u0120>>>": 2, "('')\u010a": 1, "\u0120": 2, "0": 1...
4.555145
0.048088
1.01567
7
false
HumanEval/24
largest_divisor
true
false
0
1
null
ZeroDivisionError
14
24
91.377
9
822.389
45.688
3
120.759
9
4
44.44
0.686567
{"def": 1, "\u0120largest": 3, "_div": 2, "isor": 2, "(n": 2, ":": 1, "\u0120int": 2, ")": 1, "\u0120->": 1, ":\u010a": 2, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 1, "\u0120given": 1, "\u0120number": 2, "\u0120n": 4, ",": 2, "\u0120find": 1, "\u0120the": 1, "\u0120that": 1, "\u0120divides...
5.332964
0.013089
1.21034
6
false
HumanEval/25
factorize
true
false
0
1
null
AssertionError
26
48
225.621
16
3,609.938
200.552
3
103.286
22
10
45.45
0.5
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 4, "def": 1, "\u0120factor": 5, "ize": 4, "(n": 1, ":": 1, "\u0120int": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 5, "\u0120prime": 1, "\u01...
5.961962
0.030429
1.53838
3
false
HumanEval/26
remove_duplicates
true
false
0
1
null
IndexError
25
64
297.207
14.083
4,185.662
232.537
3
105.104
13
8
38.46
0.606557
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 1, "def": 1, "\u0120remove": 3, "_duplicates": 2, "(numbers": 4, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 1, "\u0120list": 2, "\u0120of": 2, "\u0120intege...
5.850299
0.06646
1.31721
1
false
HumanEval/27
flip_case
true
true
1
0
null
null
10
15
49.829
5.833
290.669
16.148
1
132.648
6
2
66.67
0.75
{"def": 1, "\u0120flip": 3, "_case": 2, "(string": 1, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 1, "\u0120given": 1, "\u0120string": 2, ",": 1, "\u0120lowercase": 2, "\u0120characters": 1, "\u0120to": 2, "\u0120uppercase": 2, "\u0...
4.994035
0.204677
1.16642
1
false
HumanEval/28
concatenate
true
true
1
0
null
null
13
19
70.308
7.875
553.678
30.76
1
126.197
9
3
66.67
0.736842
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120concatenate": 3, "(strings": 2, ":": 1, "[str": 1, "])": 1, "\u0120->": 1, "\u0120str": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Concat": 1, "enate": 1, "\u0120list": 1, "\u0120of": 1, "\u0120stri...
5.14585
0.153679
0.973
1
false
HumanEval/29
filter_by_prefix
true
true
1
0
null
null
17
33
134.886
12.833
1,731.041
96.169
3
122.349
9
3
66.67
0.648936
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 1, "def": 1, "\u0120filter": 3, "_by": 3, "_prefix": 3, "(strings": 1, ":": 2, "[str": 2, "],": 1, "\u0120prefix": 2, "\u0120str": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Filter": 1, "\u0120a...
5.659048
0.008839
0.12375
1
false
HumanEval/30
get_positive
true
true
1
0
null
null
12
16
57.359
7
401.516
22.306
3
131.456
8
2
75
0.333333
{"def": 1, "\u0120get": 3, "_positive": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120only": 1, "\u0120positive": 1, "\u0120numbers": 1, "\u0120in": 2, "\u0120the": 1, ".\u010a": 1, "\u0120>>>": 2, "([-": 1, "1": 6, ",": 22, "\u0120": 19, "2": 6, "\u...
4.566408
0.181004
1.42911
1
false
HumanEval/31
is_prime
true
true
1
0
null
null
14
24
91.377
6.667
609.177
33.843
2
111.467
25
7
68
0.357576
{"def": 1, "\u0120is": 9, "_prime": 8, "(n": 1, "):\u010a": 2, "\u0120\u0120\u0120": 19, "\u0120\"\"\"": 1, "Return": 1, "\u0120true": 1, "\u0120if": 3, "\u0120a": 3, "\u0120given": 1, "\u0120number": 1, "\u0120prime": 1, ",": 2, "\u0120and": 2, "\u0120false": 1, "\u0120otherwise": 1, ".\u010a": 2, "\u0120>>>": 7, "(":...
5.264534
0.103507
1.95757
3
false
HumanEval/32
find_zero
true
false
0
1
null
TypeError
25
159
738.373
34.615
25,559.07
1,419.948
2
76.037
56
21
58.93
0.176577
{"import": 1, "\u0120math": 2, "\u010a": 25, "def": 2, "\u0120poly": 2, "(xs": 12, ":": 3, "\u0120list": 3, ",": 9, "\u0120x": 7, "\u0120float": 1, "):\u010a": 2, "\u0120\u0120\u0120": 51, "\u0120\"\"\"\u010a": 3, "\u0120Evalu": 1, "ates": 1, "\u0120polynomial": 2, "\u0120with": 1, "\u0120coefficients": 3, "\u0120xs": ...
5.67919
0.037264
2.01007
2
false
HumanEval/33
sort_third
true
false
0
1
null
AssertionError
13
28
103.612
8.8
911.788
50.655
1
117.612
14
5
57.14
0.39759
{"def": 1, "\u0120sort": 3, "_third": 3, "(l": 1, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 11, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 3, "\u010a": 2, "\u0120is": 1, ...
5.400457
0.032751
1.99342
3
true
HumanEval/34
unique
true
true
1
0
null
null
8
14
42
2.5
105
5.833
1
133.537
7
2
57.14
0.402597
{"def": 1, "\u0120unique": 3, "(l": 2, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 2, "\u0120elements": 1, "\u0120in": 1, "\u0120a": 1, "\u010a": 1, "\u0120>>>": 1, "([": 1, "5": 3, ",": 13, "\u0120": 13, "3": 6, "2": 4, "9": 2, "0": 2, "1": 2, "])\u0...
4.281843
0.083043
2.26032
5
false
HumanEval/35
max_element
true
true
1
0
null
null
7
11
30.881
2.667
82.349
4.575
1
135.136
10
2
60
0.360465
{"def": 1, "\u0120max": 4, "_element": 3, "(l": 2, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120maximum": 1, "\u0120element": 1, "\u0120in": 1, "\u0120the": 1, ".\u010a": 1, "\u0120>>>": 2, "([": 2, "1": 5, ",": 12, "\u0120": 11, "2": 4, "3": 7, "])\u010a": 2, ...
4.408873
0.046949
1.85786
5
false
HumanEval/36
fizz_buzz
true
false
0
1
null
AssertionError
20
36
155.589
10.389
1,616.401
89.8
4
112.311
14
6
57.14
0.455285
{"def": 1, "\u0120fizz": 4, "_b": 4, "uzz": 4, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 2, "\u0120number": 1, "\u0120of": 1, "\u0120times": 1, "\u0120digit": 1, "\u0120": 12, "7": 3, "\u0120appears": 1, "\u0120in": 2, "\u0120integers": 1, "\u...
5.293556
0.064395
1.17625
1
false
HumanEval/37
sort_even
true
false
0
1
null
IndexError
18
44
183.477
11.25
2,064.113
114.673
2
114.411
14
5
57.14
0.43871
{"def": 1, "\u0120sort": 3, "_even": 3, "(l": 2, ":": 1, "\u0120list": 3, "):\u010a": 2, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 11, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 1, "\u010a": 2, "\u0120is": 1, "...
5.559823
0.049681
1.03523
3
false
HumanEval/38
decode_cyclic
true
false
0
1
null
AssertionError
29
168
816.141
35.357
28,856.407
1,603.134
8
90.426
23
8
47.83
0.32567
{"def": 2, "\u0120encode": 2, "_c": 3, "yclic": 3, "(s": 6, ":": 2, "\u0120str": 2, "):\u010a": 2, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 4, "\u0120returns": 1, "\u0120encoded": 2, "\u0120string": 6, "\u0120by": 1, "\u0120cycling": 1, "\u0120groups": 10, "\u0120of": 3, "\u0120three": 1, "\u0120characters": 1, ...
5.985549
0.065287
2.05006
5
false
HumanEval/39
prime_fib
true
false
0
1
null
AssertionError
18
43
179.307
11
1,972.375
109.576
2
106.255
22
9
59.09
0.315789
{"def": 1, "\u0120prime": 8, "_f": 7, "ib": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 18, "\u0120\"\"\"\u010a": 2, "\u0120returns": 1, "\u0120n": 4, "-th": 1, "\u0120number": 2, "\u0120that": 1, "\u0120is": 1, "\u0120a": 4, "\u0120Fibonacci": 1, "\u0120and": 1, "\u0120it": 1, "'s": 1, "\u...
5.009262
0.109226
1.86213
1
false
HumanEval/40
triples_sum_to_zero
true
true
1
0
null
null
21
69
303.07
15.4
4,667.276
259.293
4
103.066
27
9
55.56
0.358744
{"def": 1, "\u0120triples": 7, "_sum": 7, "_to": 7, "_zero": 7, "(l": 5, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 18, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 1, "\u0120of": 1, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 1, "\u0120it": 1, "\u0120retu...
5.669901
0.015196
1.16649
2
false
HumanEval/41
car_race_collision
true
false
0
1
null
AssertionError
6
7
18.095
2
36.189
2.011
2
106.162
31
1
93.55
0.2
{"def": 1, "\u0120car": 3, "_race": 1, "_collision": 1, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 29, "\u0120\"\"\"\u010a": 2, "\u0120Imagine": 1, "\u0120a": 6, "\u0120road": 1, "\u0120that": 3, "'s": 3, "\u0120perfectly": 1, "\u0120straight": 1, "\u0120infinitely": 2, "\u0120long": 1, "\u01...
5.06922
0.052857
2.21687
1
false
HumanEval/42
incr_list
true
true
1
0
null
null
12
15
53.774
6
322.647
17.925
2
132.022
9
2
66.67
0.330508
{"def": 1, "\u0120incr": 3, "_list": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120with": 1, "\u0120elements": 1, "\u0120incremented": 1, "\u0120by": 1, "\u0120": 21, "1": 7, ".\u010a": 1, "\u0120>>>": 2, "([": 2, ",": 20, "2": 5, "3": 7, "])\u010a":...
4.415561
0.05077
2.94713
5
false
HumanEval/43
pairs_sum_to_zero
true
true
1
0
null
null
17
40
163.499
13.75
2,248.105
124.895
3
96.107
34
9
70.59
0.334507
{"def": 1, "\u0120pairs": 11, "_sum": 7, "_to": 7, "_zero": 7, "(l": 2, "):\u010a": 1, "\u0120\u0120\u0120": 22, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 2, "\u0120list": 3, "\u0120of": 2, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 2, "\u0120it": 3, "\u0120returns": 1, ...
5.882752
0.047749
1.86197
1
false
HumanEval/44
change_base
true
true
1
0
null
null
16
45
180
16.667
3,000
166.667
1
112.243
16
6
62.5
0.452555
{"def": 1, "\u0120change": 4, "_base": 5, "(x": 4, ":": 2, "\u0120int": 2, ",": 5, "\u0120base": 8, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Change": 1, "\u0120numerical": 1, "\u0120of": 1, "\u0120input": 1, "\u0120number": 1, "\u0120x": 3, "\u0120to": 1, ".\u010a": 3, "\u0120return": 4, "\u0120stri...
5.510892
0.229562
1.41446
1
false
HumanEval/45
triangle_area
true
true
1
0
null
null
10
12
39.863
5.833
232.535
12.919
1
133.808
7
2
57.14
0.693878
{"def": 1, "\u0120triangle": 3, "_area": 2, "(a": 1, ",": 2, "\u0120h": 2, "):\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "Given": 1, "\u0120length": 1, "\u0120of": 1, "\u0120a": 3, "\u0120side": 1, "\u0120and": 1, "\u0120high": 1, "\u0120return": 2, "\u0120area": 1, "\u0120for": 1, ".\u010a": 1, "\u0120>>>...
4.882581
0.065625
1.83257
7
false
HumanEval/46
fib4
true
false
0
1
null
AssertionError
22
73
325.539
13.5
4,394.77
244.154
3
93.401
31
17
45.16
0.290323
{"def": 1, "\u0120fib": 14, "4": 19, "(n": 6, ":": 1, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 19, "\u0120\"\"\"": 1, "The": 1, "\u0120Fib": 1, "\u0120number": 2, "\u0120sequence": 3, "\u0120is": 1, "\u0120a": 6, "\u0120similar": 1, "\u0120to": 2, "\u0120the": 3, "\u0120F": 1, "ibbon": 1, "acci": 1, "\u0120...
5.546417
0.080898
0.99561
1
false
HumanEval/47
median
true
true
1
0
null
null
19
59
250.628
18.857
4,726.123
262.562
2
110.292
14
6
42.86
0.396947
{"def": 1, "\u0120median": 4, "(l": 5, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "Return": 1, "\u0120of": 1, "\u0120elements": 1, "\u0120in": 1, "\u0120the": 1, "\u0120l": 4, ".\u010a": 1, "\u0120>>>": 2, "([": 1, "3": 2, ",": 9, "\u0120": 18, "1": 6, "2": 7, "4": 2, "5": 2, "]...
5.055157
0.040049
2.09022
5
false
HumanEval/48
is_palindrome
true
true
1
0
null
null
11
16
55.351
6.667
369.006
20.5
1
132.101
15
2
73.33
0.465753
{"def": 1, "\u0120is": 6, "_pal": 5, "indrome": 5, "(text": 1, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"\u010a": 2, "\u0120Checks": 1, "\u0120if": 1, "\u0120given": 1, "\u0120string": 1, "\u0120a": 1, "\u0120palindrome": 1, "\u010a": 5, "\u0120>>>": 4, "('')\u010a": 1, "\u0120True":...
4.551155
0.021091
2.11824
5
true
HumanEval/49
modp
true
false
0
1
null
AssertionError
10
19
63.117
8.167
515.453
28.636
1
131.419
15
2
80
0.325
{"def": 1, "\u0120mod": 6, "p": 6, "(n": 1, ":": 2, "\u0120int": 2, ",": 6, "\u0120p": 4, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120": 11, "2": 2, "^n": 1, "\u0120modulo": 1, "\u0120(": 2, "be": 1, "\u0120aware": 1, "\u0120of": 1, "\u0120numer": 1, "ics": 1, ").\u010a": 1, "\u0120>...
4.633251
0.02026
1.36957
4
false
HumanEval/50
decode_shift
true
true
1
0
null
null
22
94
419.187
24
10,060.478
558.915
2
110.114
14
4
42.86
0.449153
{"def": 2, "\u0120encode": 2, "_shift": 3, "(s": 2, ":": 2, "\u0120str": 2, "):\u010a": 2, "\u0120\u0120\u0120": 8, "\u0120\"\"\"\u010a": 4, "\u0120returns": 1, "\u0120encoded": 2, "\u0120string": 3, "\u0120by": 2, "\u0120shifting": 1, "\u0120every": 1, "\u0120character": 1, "\u0120": 5, "5": 3, "\u0120in": 3, "\u0120t...
5.525533
0.005405
0.64494
7
false
HumanEval/51
remove_vowels
true
false
0
1
null
AssertionError
14
21
79.954
10
799.545
44.419
3
111.931
24
3
83.33
0.360976
{"def": 1, "\u0120remove": 8, "_v": 12, "ow": 12, "els": 12, "(text": 1, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 2, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120without": 1, "\u0120vowels": 3, "....
5.624087
0.0727
1.24241
1
false
HumanEval/52
below_threshold
true
true
1
0
null
null
17
29
118.536
6.75
800.121
44.451
2
127.911
8
2
75
0.483871
{"def": 1, "\u0120below": 4, "_threshold": 3, "(l": 3, ":": 2, "\u0120list": 2, ",": 7, "\u0120t": 3, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 2, "\u0120if": 1, "\u0120all": 2, "\u0120numbers": 1, "\u0120in": 2, "\u0120the": 1, "\u0120l": 1, "\u0120are": 1, "...
5.111343
0.240732
1.27698
1
false
HumanEval/53
add
true
true
1
0
null
null
9
14
44.379
6
266.274
14.793
1
133.25
9
2
66.67
0.537037
{"def": 1, "\u0120add": 3, "(x": 1, ":": 2, "\u0120int": 2, ",": 3, "\u0120y": 3, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Add": 1, "\u0120two": 1, "\u0120numbers": 1, "\u0120x": 2, "\u0120and": 1, "\u010a": 3, "\u0120>>>": 2, "(": 2, "2": 2, "\u0120": 4, "3": 1, ")\u010a": 2, "5": 2, "7": 1, "1": 1,...
4.594313
0.044631
0.9989
5
false
HumanEval/54
same_chars
true
false
0
1
null
AssertionError
9
14
44.379
6
266.274
14.793
1
113.746
25
2
88
0.194444
{"def": 1, "\u0120same": 14, "_chars": 13, "(s": 1, "0": 2, ":": 2, "\u0120str": 2, ",": 1, "\u0120s": 3, "1": 2, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"\u010a": 2, "\u0120Check": 1, "\u0120if": 1, "\u0120two": 1, "\u0120words": 1, "\u0120have": 1, "\u0120the": 1, "\u0120characters": 1, ".\u010a": 1, "\u...
5.000837
0.03392
1.38216
1
false
HumanEval/55
fib
true
true
1
0
null
null
18
45
187.647
11.5
2,157.936
119.885
2
106.018
18
9
44.44
0.381818
{"def": 1, "\u0120fib": 4, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120n": 4, "-th": 1, "\u0120Fibonacci": 1, "\u0120number": 1, ".\u010a": 1, "\u0120>>>": 3, "(": 4, "1": 10, "0": 1, ")\u010a": 3, "\u0120": 9, "5": 2, "\u010a": 7, "8": 1, "2": 2, "\u...
4.864179
0.023001
0.96144
4
false
HumanEval/56
correct_bracketing
true
false
0
1
null
AssertionError
12
32
114.719
7.5
860.391
47.8
3
110.054
22
8
50
0.458333
{"def": 1, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 1, "ackets": 1, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "\u0120brackets": 4, "\u0120is": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 1, "\u0120\"<": 1, "\"": 1, "\u0120and": 1, "\u0120\">\"": 1, ".\u010...
5.344906
0.035022
1.61225
4
false
HumanEval/57
monotonic
true
false
0
1
null
AssertionError
17
60
245.248
15.714
3,853.894
214.105
1
103.312
19
10
42.11
0.333333
{"def": 1, "\u0120monot": 6, "onic": 6, "(l": 5, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 5, "\u0120is": 1, "\u0120elements": 1, "\u0120are": 1, "\u0120mon": 1, "oton": 1, "ically": 1, "\u0120increasing": 1, "\u0120or": 1, "\u0120decreasing": 1, ".\...
5.184167
0.056595
1.62972
3
false
HumanEval/58
common
true
false
0
1
null
AssertionError
8
11
33
3.333
110
6.111
2
129.9
10
2
70
0.333333
{"def": 1, "\u0120common": 4, "(l": 1, "1": 6, ":": 3, "\u0120list": 2, ",": 20, "\u0120l": 1, "2": 6, "):\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120unique": 1, "\u0120elements": 1, "\u0120for": 1, "\u0120two": 1, "\u0120lists": 1, ".\u010a": 1, "\u0120>>>": 2, "([": ...
4.535387
0.947066
2.30842
1
false
HumanEval/59
largest_prime_factor
true
true
1
0
null
null
16
32
128
12.5
1,600
88.889
4
106.004
17
8
47.06
0.478632
{"def": 1, "\u0120largest": 10, "_prime": 3, "_factor": 3, "(n": 1, ":": 2, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 2, "\u0120prime": 3, "\u0120factor": 2, "\u0120of": 1, "\u0120n": 6, ".": 1, "\u0120Assume": 1, "\u0120>": 2, "\u0120": 7, "1": 5, "\u0120and"...
5.334136
0.108284
2.08033
1
false
HumanEval/60
sum_to_n
true
true
1
0
null
null
12
21
75.284
6.3
474.291
26.349
2
119.043
17
5
70.59
0.336
{"def": 1, "\u0120sum": 7, "_to": 8, "_n": 8, "(n": 2, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "sum": 1, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120sums": 1, "\u0120numbers": 1, "\u0120from": 1, "\u0120": 9, "1": 8, "\u0120to": 1, "\u0120n": 3, ...
4.758742
0.198727
1.50521
1
false
HumanEval/61
correct_bracketing
true
false
0
1
null
RecursionError
9
54
171.176
18
3,081.167
171.176
2
89.816
52
18
53.85
0.164179
{"def": 2, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 8, "ackets": 8, ":": 2, "\u0120str": 2, "):\u010a": 8, "\u0120\u0120\u0120": 36, "\u0120\"\"\"": 2, "\u0120brackets": 8, "\u0120is": 22, "\u0120a": 4, "\u0120string": 2, "\u0120of": 2, "\u0120\"(\"": 2, "\u0120and": 2, "\u0120\")\"": 2, ".\u010a": 2,...
5.196938
0.067741
1.92688
3
false
HumanEval/62
derivative
true
false
0
1
null
AssertionError
15
28
109.393
7.5
820.447
45.58
2
128.329
11
2
72.73
0.456
{"def": 1, "\u0120derivative": 4, "(xs": 2, ":": 1, "\u0120list": 1, "):\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120xs": 4, "\u0120represent": 1, "\u0120coefficients": 1, "\u0120of": 2, "\u0120a": 1, "\u0120polynomial": 2, ".\u010a": 2, "[": 3, "0": 2, "]": 4, "\u0120+": 4, "1": 6, "\u0120*": 3, "\u0...
5.344193
0.043812
1.29923
4
false
HumanEval/63
fibfib
true
false
0
1
null
AssertionError
41
117
626.834
4.722
2,960.047
164.447
2
75.024
58
45
22.41
0.148649
{"def": 1, "\u0120fib": 12, "fib": 12, "(n": 5, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 35, "\u0120\"\"\"": 1, "The": 1, "\u0120Fib": 1, "F": 1, "ib": 1, "\u0120number": 2, "\u0120sequence": 3, "\u0120is": 1, "\u0120a": 2, "\u0120similar": 1, "\u0120to": 2, "\u0120the": 3, "\u0120F": 1, "ibbon": 1,...
4.936388
0.00541
0.99561
1
false
HumanEval/64
vowels_count
true
false
0
1
null
AssertionError
14
32
121.835
11.7
1,425.474
79.193
7
112.892
18
6
55.56
0.512195
{"def": 1, "\u0120vowels": 5, "_count": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120which": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120representing": 1, "\u010a": 6, "\u0120word": 2, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\...
5.909273
0.044343
1.73853
2
false
HumanEval/65
circular_shift
true
false
0
1
null
TypeError
15
61
238.32
21
5,004.727
278.04
2
113.051
14
5
57.14
0.459016
{"def": 1, "\u0120circular": 3, "_shift": 3, "(x": 7, ",": 5, "\u0120shift": 8, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "Circular": 1, "\u0120the": 4, "\u0120digits": 4, "\u0120of": 2, "\u0120integer": 1, "\u0120x": 1, "\u0120right": 1, "\u0120by": 1, "\u010a": 1, "\u0120and": 1, "\u0120return": 4, ...
5.40107
0.065267
1.10063
5
false
HumanEval/66
digitSum
true
true
1
0
null
null
13
22
81.41
6.4
521.022
28.946
3
129.635
14
2
78.57
0.557252
{"def": 1, "\u0120digit": 7, "Sum": 7, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 6, "\u0120\"\"\"": 1, "Task": 1, "\u010a": 7, "\u0120Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 1, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120the": ...
5.716039
0.120581
0.71553
1
false
HumanEval/67
fruit_distribution
true
false
0
1
null
NameError
11
12
41.513
3
124.54
6.919
1
133.597
14
2
85.71
0.291845
{"def": 1, "\u0120fruit": 6, "_distribution": 5, "(s": 1, ",n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"\u010a": 2, "\u0120In": 1, "\u0120this": 2, "\u0120task": 1, ",": 3, "\u0120you": 1, "\u0120will": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 3, "\u0120string": 2, "\u0120that": 4, "\u0120represe...
5.49404
0.27578
2.177
1
false
HumanEval/68
pluck
true
false
0
1
null
AssertionError
19
37
157.173
10.312
1,620.85
90.047
1
112.948
41
6
65.85
0.343662
{"def": 1, "\u0120pl": 4, "uck": 2, "(arr": 2, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 2, "\u0120\"": 1, "Given": 1, "\u0120an": 1, "\u0120array": 2, "\u0120representing": 1, "\u0120a": 3, "\u0120branch": 1, "\u0120of": 2, "\u0120tree": 1, "\u0120that": 2, "\u0120has": 7, "\u0120non": 1, "-negati...
6.179046
0.093885
1.10731
1
false
HumanEval/69
search
true
false
0
1
null
AssertionError
18
51
212.666
16.5
3,508.992
194.944
3
105.138
19
9
52.63
0.37619
{"def": 1, "\u0120search": 4, "(lst": 2, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120'''\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 3, "\u0120non": 1, "-empty": 1, "\u0120list": 2, "\u0120of": 4, "\u0120positive": 1, "\u0120integers": 1, ".": 2, "\u0120Return": 1, "\u0120the": 5, "\u012...
5.703426
0.213194
1.62496
1
false
HumanEval/70
strange_sort_list
true
false
0
1
null
AssertionError
17
80
326.997
26.583
8,692.671
482.926
3
102.9
19
9
47.37
0.37234
{"def": 1, "\u0120strange": 5, "_sort": 4, "_list": 4, "(lst": 7, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 2, "\u0120integers": 2, ",": 15, "\u0120return": 4, "\u0120in": 1, "\u0120order": 1, ".\u010a": 1, "\u0120Strange": 1, "\u0120sorting": 1, "\u01...
5.59442
0.127064
1.53003
1
false
HumanEval/71
triangle_area
true
false
0
1
null
AssertionError
24
81
371.382
20.091
7,461.401
414.522
4
107.787
18
6
55.56
0.404145
{"def": 1, "\u0120triangle": 7, "_area": 3, "(a": 1, ",": 7, "\u0120b": 8, "\u0120c": 7, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120the": 7, "\u0120lengths": 1, "\u0120of": 4, "\u0120three": 2, "\u0120sides": 4, "\u0120a": 8, ".": 3, "\u0120Return": 1, "\u0120area": 2, "\u01...
5.81564
0.090712
1.51691
2
false
HumanEval/72
will_it_fly
false
false
0
0
null
SyntaxError
10
173
574.694
72
41,377.936
2,298.774
3
68.678
85
68
15.29
0.145038
{"def": 1, "\u0120will": 7, "_it": 5, "_f": 5, "ly": 5, "(q": 1, ",w": 1, "):\u010a": 1, "\u0120\u0120\u0120": 47, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120True": 20, "\u0120if": 36, "\u0120the": 7, "\u0120object": 2, "\u0120q": 36, "\u0120fl...
5.110227
0.02214
1.1096
1
false
HumanEval/73
smallest_change
false
false
0
0
null
SyntaxError
18
42
175.137
18
3,152.463
175.137
3
95.749
28
11
57.14
0.304734
{"def": 1, "\u0120smallest": 4, "_change": 4, "(arr": 3, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 2, "\u0120array": 7, "\u0120arr": 3, "\u0120of": 4, "\u0120integers": 1, ",": 24, "\u0120find": 2, "\u0120the": 19, "\u0120minimum": 1, "\u0120number": 1, "\u0120eleme...
5.944634
0.154167
2.33238
1
false
HumanEval/74
total_match
true
false
0
1
null
AssertionError
11
32
110.702
12.25
1,356.097
75.339
2
112.377
20
7
55
0.314159
{"def": 1, "\u0120total": 7, "_match": 6, "(lst": 5, "1": 6, ",": 2, "\u0120lst": 5, "2": 6, "):\u010a": 2, "\u0120\u0120\u0120": 15, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120accepts": 1, "\u0120two": 2, "\u0120lists": 2, "\u0120of": 4, "\u0120strings": 2, "\u01...
5.571565
0.087755
1.36137
1
false
HumanEval/75
is_multiply_prime
true
false
0
1
null
AssertionError
21
50
219.616
12.1
2,657.352
147.631
2
99.749
22
13
31.82
0.385542
{"def": 1, "\u0120is": 4, "_multiply": 2, "_prime": 2, "(a": 2, "):\u010a": 2, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 6, "\u0120function": 1, "\u0120that": 2, "\u0120returns": 1, "\u0120true": 1, "\u0120if": 6, "\u0120the": 2, "\u0120given": 1, "\u0120number": 1, "\u0120multiplication": 1, ...
5.411902
0.054979
1.88144
3
false
HumanEval/76
is_simple_power
true
false
0
1
null
TypeError
10
15
49.829
5.833
290.669
16.148
2
121.189
16
5
68.75
0.357143
{"def": 1, "\u0120is": 10, "_simple": 7, "_power": 7, "(x": 1, ",": 7, "\u0120n": 5, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Your": 1, "\u0120task": 1, "\u0120to": 1, "\u0120write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120true": 4, "\u0120if": 3, "\u0120num...
5.257195
0.19419
1.05566
1
false
HumanEval/77
iscube
true
false
0
1
null
AssertionError
32
109
545
4.907
2,674.537
148.585
2
73.154
65
53
18.46
0.142506
{"def": 1, "\u0120is": 9, "cube": 7, "(a": 1, "):\u010a": 1, "\u0120\u0120\u0120": 38, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 29, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120an": 1, "\u0120integer": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120True": 7, "\u0120\u010a": 1, "\u0120if": 27,...
4.708446
0.020618
1.36729
1
false
HumanEval/78
hex_key
true
false
0
1
null
ValueError
23
38
171.895
6.538
1,123.931
62.441
3
112.022
23
6
73.91
0.333333
{"def": 1, "\u0120hex": 1, "_key": 1, "(num": 1, "):\u010a": 1, "\u0120\u0120\u0120": 20, "\u0120\"\"\"": 1, "You": 1, "\u0120have": 2, "\u0120been": 1, "\u0120tasked": 1, "\u0120to": 2, "\u0120write": 1, "\u0120a": 7, "\u0120function": 1, "\u0120that": 3, "\u0120receives": 1, "\u0120\u010a": 5, "\u0120hexadecimal": 2,...
5.938792
0.110756
1.68823
1
false
HumanEval/79
decimal_to_binary
true
false
0
1
null
AssertionError
12
22
78.869
5.5
433.78
24.099
1
125.6
16
2
62.5
0.50303
{"def": 1, "\u0120decimal": 4, "_to": 3, "_binary": 3, "(decimal": 2, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "You": 1, "\u0120will": 3, "\u0120be": 3, "\u0120given": 1, "\u0120a": 3, "\u0120number": 2, "\u0120in": 2, "\u0120form": 1, "\u0120and": 2, "\u0120your": 2, "\u0120task": 1, "\u0120is": 1, ...
6.035808
0.035856
1.7407
3
false
HumanEval/80
is_happy
true
true
1
0
null
null
19
48
203.901
16.286
3,320.666
184.481
3
108.971
18
7
61.11
0.431138
{"def": 1, "\u0120is": 11, "_h": 7, "appy": 7, "(s": 3, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 2, "\u0120given": 1, "\u0120a": 1, "\u0120string": 3, "\u0120s": 5, ".\u010a": 2, "\u0120Your": 1, "\u0120task": 1, "\u0120to": 1, "\u0120check": 1, "\u0120if": 4, "\u0120the": 1, "...
5.618711
0.122975
1.26377
1
false
HumanEval/81
numerical_letter_grade
true
false
0
1
null
AssertionError
26
133
625.158
19.433
12,148.913
674.94
14
79.203
53
28
43.4
0.25567
{"def": 1, "\u0120numerical": 1, "_letter": 1, "_grade": 1, "(": 1, "grades": 1, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "It": 1, "\u0120is": 2, "\u0120the": 6, "\u0120last": 1, "\u0120week": 1, "\u0120of": 3, "\u0120semester": 1, "\u0120and": 2, "\u0120teacher": 2, "\u0120has": 4, "\u0120to": 3, "\...
6.041034
0.042292
1.80297
1
false
HumanEval/82
prime_length
true
false
0
1
null
AssertionError
29
159
772.419
6.979
5,390.841
299.491
2
73.938
53
45
15.09
0.142091
{"def": 1, "\u0120prime": 6, "_length": 5, "(string": 23, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 3, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120True": 26, "\u0120if": 23, "\u0120the": 1, "\u010a": 28, "...
4.643691
0.002548
0.53201
1
false
HumanEval/83
starts_one_ends
true
false
0
1
null
AssertionError
19
53
225.14
18.857
4,245.5
235.861
4
99.16
18
8
50
0.391813
{"def": 1, "\u0120starts": 1, "_one": 4, "_ends": 4, "(n": 1, "):\u010a": 3, "\u0120\u0120\u0120": 8, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 2, "\u0120integer": 1, "\u0120n": 3, ",": 1, "\u0120return": 2, "\u0120the": 3, "\u0120count": 5, "\u0120of": 2, "\u0120numbers": 1, "-digit": ...
5.550158
0.136062
1.92983
1
false
HumanEval/84
solve
true
false
0
1
null
AssertionError
14
28
106.606
11.7
1,247.289
69.294
2
112.574
20
6
60
0.370166
{"def": 1, "\u0120solve": 1, "(N": 1, "):\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "Given": 1, "\u0120a": 2, "\u0120positive": 1, "\u0120integer": 2, "\u0120N": 9, ",": 4, "\u0120return": 2, "\u0120the": 7, "\u0120total": 1, "\u0120sum": 6, "\u0120of": 5, "\u0120its": 1, "\u0120digits": 4, "\u0120in": 1, ...
5.463793
0.128009
1.70094
1
false
HumanEval/85
add
true
false
0
1
null
AssertionError
16
25
100
18
1,800
100
4
117.107
12
3
50
0.62
{"def": 1, "\u0120add": 3, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 6, "\u0120\"\"\"": 1, "Given": 1, "\u0120a": 1, "\u0120non": 1, "-empty": 1, "\u0120list": 1, "\u0120of": 1, "\u0120integers": 1, "\u0120lst": 4, ".": 2, "\u0120the": 1, "\u0120even": 1, "\u0120elements": 1, "\u0120that": 1, "\u0120are": 1, "\u0...
5.521929
0.243345
1.78322
1
false
HumanEval/86
anti_shuffle
true
false
0
1
null
AssertionError
10
26
86.37
8.25
712.554
39.586
1
118.559
17
5
64.71
0.571429
{"def": 1, "\u0120anti": 4, "_shuffle": 4, "(s": 3, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"\u010a": 2, "\u0120Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 3, "\u0120and": 2, "\u0120returns": 4, "\u0120an": 1, "\u0120ordered": 1, "\u0120version": 2, "\u0...
5.995543
0.162852
1.2042
1
false
HumanEval/87
get_row
true
false
0
1
null
AssertionError
16
42
168
11.571
1,944
108
1
108.53
28
5
75
0.357143
{"def": 1, "\u0120get": 4, "_row": 6, "(lst": 1, ",": 41, "\u0120x": 7, "):\u010a": 1, "\u0120\u0120\u0120": 20, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 4, "\u0120": 17, "2": 13, "\u0120dimensional": 1, "\u0120data": 1, "\u0120as": 1, "\u0120nested": 1, "\u0120lists": 1, ",...
6.018465
0.202689
1.91023
1
false
HumanEval/88
sort_array
true
false
0
1
null
AssertionError
14
28
106.606
7.333
781.777
43.432
3
114.507
20
6
60
0.328889
{"def": 1, "\u0120sort": 7, "_array": 5, "(array": 2, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 1, "\u0120array": 7, "\u0120of": 2, "\u0120non": 1, "-negative": 1, "\u0120integers": 1, ",": 25, "\u0120return": 2, "\u0120a": 1, "\u0120copy": 1, "\u0120the": 5, "\u012...
5.480963
0.087575
0.85736
1
false
HumanEval/89
encrypt
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
61
1
98.36
0.168734
{"def": 1, "\u0120encrypt": 6, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 60, "\u0120\"\"\"": 1, "Create": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 2, "\u0120takes": 1, "\u0120string": 2, "\u0120as": 1, "\u0120an": 1, "\u0120argument": 1, "\u0120and": 1, "\u010a": 50, "\u0120returns": 5, "\u0120encrypted"...
4.072758
0.019301
1.6115
1
false
HumanEval/90
next_smallest
true
false
0
1
null
TypeError
16
35
140
8
1,120
62.222
4
110.697
17
7
52.94
0.369697
{"def": 1, "\u0120next": 6, "_sm": 8, "allest": 8, "(lst": 4, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 2, "\u0120list": 2, "\u0120of": 2, "\u0120integers": 1, ".\u010a": 3, "\u0120Write": 1, "\u0120function": 1, "()": 1, "\u0120that":...
5.452041
0.160766
1.17675
1
false
HumanEval/91
is_bored
false
false
0
0
null
SyntaxError
14
226
860.462
96.25
82,819.488
4,601.083
36
91.986
19
8
52.63
0.209476
{"def": 1, "\u0120is": 7, "_b": 3, "ored": 3, "(S": 1, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "'ll": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 2, "\u0120words": 1, ",": 1, "\u0120and": 18, "\u0120your": 1, "\u0120task": 1, "\u0120to": 1, ...
5.06387
0.041455
1.52223
1
false
HumanEval/92
any_int
true
false
0
1
null
AssertionError
11
28
96.864
16
1,549.825
86.101
4
117.272
22
5
45.45
0.408805
{"def": 1, "\u0120any": 6, "_int": 5, "(x": 1, ",": 11, "\u0120y": 4, "\u0120z": 4, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120'''\u010a": 2, "\u0120Create": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120": 7, "3": 4, "\u0120numbers": 3, ".\u010a": 3, "\u0120Returns": 2, "\u0120tr...
5.600369
0.083451
0.99561
1
false
HumanEval/93
encode
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
17
2
76.47
0.633929
{"def": 1, "\u0120encode": 3, "(message": 1, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"\u010a": 2, "\u0120Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 4, "\u0120takes": 1, "\u0120message": 3, ",": 2, "\u0120and": 1, "\u0120enc": 1, "odes": 1, "\u0120in": 3, "\u0120such": 1, "\u0120\u010a": 4,...
5.750904
0.073288
1.56608
5
false
HumanEval/94
skjkasdkd
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
109.26
30
1
93.33
0.10467
{"def": 1, "\u0120sk": 1, "jk": 1, "as": 1, "dk": 1, "d": 1, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 28, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 1, "\u0120list": 2, "\u0120of": 5, "\u0120integers": 1, ".\u010a": 1, "\u0120You": 1, "\u0120need": 1, "\u0120to": 1, "\u0120find": 3...
4.915573
0.051902
2.30223
1
false
HumanEval/95
check_dict_case
true
false
0
1
null
AssertionError
11
20
69.189
6.125
423.78
23.543
2
112.913
20
7
60
0.402985
{"def": 1, "\u0120check": 6, "_dict": 6, "_case": 6, "(dict": 1, "):\u010a": 2, "\u0120\u0120\u0120": 14, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120dictionary": 2, ",": 3, "\u0120return": 11, "\u0120True": 4, "\u0120if": 3, "\u0120all": 2, "\u0120keys": 2, "\u0120are": 2, "\u0120strings": 2, "\u01...
5.77046
0.030444
1.53728
1
false
HumanEval/96
count_up_to
true
true
1
0
null
null
23
50
226.178
14.3
3,234.347
179.686
4
99.136
23
13
43.48
0.334842
{"def": 1, "\u0120count": 7, "_up": 7, "_to": 7, "(n": 1, "):\u010a": 2, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "Implement": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120takes": 1, "\u0120an": 2, "\u0120non": 1, "-negative": 1, "\u0120integer": 1, "\u0120and": 2, "\u0120returns": 1, "\u0120array"...
5.616527
0.118433
1.4057
1
false
HumanEval/97
multiply
true
false
0
1
null
AssertionError
10
14
46.507
7
325.549
18.086
1
133.007
11
2
81.82
0.42735
{"def": 1, "\u0120multiply": 5, "(a": 1, ",": 4, "\u0120b": 1, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "Complete": 1, "\u0120the": 3, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120two": 1, "\u0120integers": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120\u010a": 1, "\u0120product": 1...
5.108798
0.357626
1.35501
1
false
HumanEval/98
count_upper
true
false
0
1
null
AssertionError
22
38
169.458
11.556
1,958.186
108.788
4
109.703
16
6
50
0.581818
{"def": 1, "\u0120count": 8, "_upper": 4, "(s": 2, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120string": 1, "\u0120s": 2, ",": 1, "\u0120the": 2, "\u0120number": 1, "\u0120of": 1, "\u0120uppercase": 1, "\u0120vowels": 1, "\u0120in": 2, "\u0120even": 1, "\u0120...
5.556405
0.043399
1.24174
1
false
HumanEval/99
closest_integer
true
false
0
1
null
TypeError
14
60
228.441
18
4,111.943
228.441
5
98.855
30
13
50
0.34188
{"def": 1, "\u0120closest": 14, "_integer": 5, "(value": 4, "):\u010a": 2, "\u0120\u0120\u0120": 22, "\u0120'''\u010a": 2, "\u0120Create": 1, "\u0120a": 3, "\u0120function": 1, "\u0120that": 3, "\u0120takes": 1, "\u0120value": 3, "\u0120(": 1, "string": 1, ")": 4, "\u0120representing": 1, "\u0120number": 3, "\u010a": 1...
5.768807
0.159655
1.64141
1
false
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
-