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
false
false
0
0
null
SyntaxError
38
173
907.891
14.87
13,500.682
750.038
3
72.179
54
47
12.96
0.145933
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 26, "def": 1, "\u0120has": 3, "_close": 3, "_elements": 3, "(numbers": 23, ":": 2, "[float": 1, "],": 3, "\u0120threshold": 2, "\u0120float": 1, ")": 23, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 23, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": ...
4.909395
0
-0
1
false
HumanEval/1
separate_paren_groups
false
false
0
0
null
IndentationError
32
196
980
17.5
17,150
952.778
3
74.735
46
39
15.22
0.244499
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 3, "def": 1, "\u0120separate": 4, "_p": 2, "aren": 2, "_groups": 2, "(paren": 19, "_string": 37, ":": 2, "\u0120str": 1, ")": 20, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 26, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to...
5.417157
0.001164
0.3493
1
false
HumanEval/2
truncate_number
true
false
0
1
null
AssertionError
8
10
30
4.5
135
7.5
2
130.396
11
1
81.82
0.670455
{"def": 1, "\u0120truncate": 2, "_number": 2, "(number": 1, ":": 1, "\u0120float": 2, ")": 2, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 1, "\u0120floating": 1, "\u0120point": 1, "\u0120number": 3, ",": 1, "\u0120it": 1, "\u0120can": 1, "\u...
5.618078
0.008509
0.08509
1
false
HumanEval/3
below_zero
false
false
0
0
null
SyntaxError
14
16
60.918
4.667
284.283
15.793
2
120.144
null
null
null
0.579365
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 5, "def": 1, "\u0120below": 4, "_zero": 3, "(": 1, "operations": 1, ":": 1, "[int": 1, "])": 1, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 4, "\u0120You": 1, "'re": 1, "\u0120given": 1, "\u0120a": 2...
5.854757
0.138044
0.91607
1
false
HumanEval/4
mean_absolute_deviation
true
true
1
0
null
null
21
46
202.047
13.333
2,693.955
149.664
2
111.412
14
6
57.14
0.54
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 5, "def": 1, "\u0120mean": 5, "_absolute": 2, "_dev": 2, "iation": 4, "(numbers": 4, ":": 1, "[float": 1, "])": 1, "\u0120->": 1, "\u0120float": 1, ":\u010a": 2, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 2, "\u012...
5.965127
0.018718
0.47177
1
false
HumanEval/5
intersperse
false
false
0
0
null
SyntaxError
24
282
1,292.959
49.077
63,454.47
3,525.248
3
82.979
27
21
22.22
0.168394
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120inters": 3, "perse": 3, "(numbers": 8, ":": 2, "[int": 2, "],": 23, "\u0120del": 23, "imeter": 31, "\u0120int": 1, ")": 8, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"": 1, "\u0120Insert": 1, "\u012...
5.05964
0.003301
0.99016
1
false
HumanEval/6
parse_nested_parens
false
false
0
0
null
SyntaxError
13
180
666.079
42.75
28,474.884
1,581.938
3
67.677
76
69
7.89
0.20197
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 1, "def": 1, "\u0120parse": 2, "_nested": 2, "_p": 2, "are": 2, "ns": 2, "(paren": 1, "_string": 34, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 40, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u012...
4.66624
0.000888
0.26632
1
false
HumanEval/7
filter_by_substring
true
true
1
0
null
null
19
40
169.917
14.571
2,475.935
137.552
3
100.854
19
7
63.16
0.477528
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 8, "def": 1, "\u0120filter": 3, "_by": 3, "_sub": 3, "string": 3, "(strings": 1, ":": 2, "[str": 2, "],": 1, "\u0120substring": 4, "\u0120str": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "\u0120Filter...
5.969267
0.031159
1.0556
1
false
HumanEval/8
sum_product
true
false
0
1
null
AssertionError
16
205
820
64.167
52,616.667
2,923.148
2
72.604
55
48
12.73
0.145679
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 31, "\u0120Tuple": 2, "\u010a": 1, "def": 1, "\u0120sum": 5, "_product": 3, "(numbers": 1, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "\u0120int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 5, "\u0120g...
4.667457
0
-0
1
false
HumanEval/9
rolling_max
false
false
0
0
null
SyntaxError
26
324
1,522.942
46.567
70,918.354
3,939.909
3
80.718
null
null
null
0.164975
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, ",": 14, "\u0120Tuple": 1, "\u010a": 2, "def": 1, "\u0120rolling": 3, "_max": 2, "(numbers": 11, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 2, "\u0120given": 2, "\u0...
5.010658
0
-0
1
false
HumanEval/10
make_palindrome
false
false
0
0
null
SyntaxError
16
279
1,116
116.6
130,125.6
7,229.2
1
71.907
null
null
null
0.162844
{"def": 2, "\u0120is": 23, "_pal": 24, "indrome": 24, "(string": 21, ":": 3, "\u0120str": 3, ")": 2, "\u0120->": 2, "\u0120bool": 1, ":\u010a": 4, "\u0120\u0120\u0120": 34, "\u0120\"\"\"": 2, "\u0120Test": 1, "\u0120if": 22, "\u0120given": 1, "\u0120string": 30, "\u0120a": 4, "\u0120palindrome": 3, "\u0120\"\"\"\u010a"...
4.935498
0.007395
0.973
2
false
HumanEval/11
string_xor
true
false
0
1
null
AssertionError
11
15
51.891
5.25
272.43
15.135
2
123.932
9
2
77.78
0.640449
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 2, "def": 1, "\u0120string": 4, "_xor": 2, "(a": 1, ":": 2, "\u0120str": 3, ",": 1, "\u0120b": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120are": 1, "\u0120two": 1, "\u0120strings...
5.52876
0.066464
0.6904
1
false
HumanEval/12
longest
false
false
0
0
null
SyntaxError
38
241
1,264.751
22
27,824.512
1,545.806
2
71.73
null
null
null
0.184343
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 2, "\u0120Optional": 2, "\u010a": 3, "def": 1, "\u0120longest": 5, "(strings": 40, ":": 1, "[str": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 29, "\u0120\"\"\"": 1, "\u0120Out": 1, "\u0120of": 4, "\u0120list": 2, "\u0120strings...
5.093955
0.003275
0.9826
1
false
HumanEval/13
greatest_common_divisor
true
true
1
0
null
null
15
51
199.251
25
4,981.286
276.738
2
102.753
18
10
38.89
0.345865
{"def": 1, "\u0120greatest": 6, "_common": 5, "_div": 5, "isor": 5, "(a": 2, ":": 2, "\u0120int": 3, ",": 5, "\u0120b": 9, ")": 1, "\u0120->": 1, ":\u010a": 5, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 9, "\u0120common": 1, "\u0120divisor": 1, "\u0120of": 1, "\u0120two": 1, "\u0120integ...
5.084197
0.028368
0.9989
1
false
HumanEval/14
all_prefixes
false
false
0
0
null
SyntaxError
25
318
1,476.746
48.714
71,938.64
3,996.591
3
80.878
27
23
14.81
0.184136
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120all": 3, "_prefix": 2, "es": 2, "(string": 11, ":": 1, "\u0120str": 1, ")": 11, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 2, "\u012...
4.970571
0.000938
0.28152
1
false
HumanEval/15
string_sequence
false
false
0
0
null
SyntaxError
23
63
284.984
6.562
1,870.21
103.901
3
86.367
34
28
17.65
0.127072
{"def": 1, "\u0120string": 4, "_sequence": 3, "(n": 1, ":": 1, "\u0120int": 1, ")": 1, "\u0120->": 1, "\u0120str": 1, ":\u010a": 14, "\u0120\u0120\u0120": 20, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 1, "\u0120containing": 1, "\u0120space": 1, "-del": 1, "imited": 1, "\u0120numbers": 1, "\u0120starting": 1, "\u...
4.409634
0
-0
1
false
HumanEval/16
count_distinct_characters
false
false
0
0
null
SyntaxError
32
169
845
13.833
11,689.167
649.398
3
74.334
null
null
null
0.156593
{"def": 1, "\u0120count": 3, "_dist": 3, "inct": 3, "_characters": 3, "(string": 21, ":": 1, "\u0120str": 1, ")": 21, "\u0120->": 1, "\u0120int": 1, ":\u010a": 21, "\u0120\u0120\u0120": 27, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 1, "\u0120string": 2, ",": 1, "\u0120find": 1, "\u0120out": 1, "\u0120how": 1, "\u...
4.727308
0
-0
1
false
HumanEval/17
parse_music
true
false
0
1
null
AssertionError
12
14
50.189
5
250.947
13.942
2
124.105
16
2
75
0.502857
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 5, "def": 1, "\u0120parse": 3, "_music": 2, "(m": 1, "usic": 1, "_string": 1, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to": 3, "\u0120this": ...
5.890862
0
-0
1
false
HumanEval/18
how_many_times
false
false
0
0
null
IndentationError
33
173
872.68
15.75
13,744.713
763.595
3
74.166
50
42
16
0.167979
{"def": 1, "\u0120how": 5, "_many": 4, "_times": 4, "(string": 19, ":": 3, "\u0120str": 2, ",": 1, "\u0120substring": 3, ")": 20, "\u0120->": 1, "\u0120int": 1, ":\u010a": 21, "\u0120\u0120\u0120": 29, "\u0120\"\"\"": 1, "\u0120Find": 1, "\u0120many": 1, "\u0120times": 1, "\u0120a": 1, "\u0120given": 1, "\u0120can": 1,...
4.902713
0.007426
0.89779
1
false
HumanEval/19
sort_numbers
true
false
0
1
null
AssertionError
9
11
34.869
4
139.477
7.749
2
125.999
10
2
80
0.611111
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 3, "def": 1, "\u0120sort": 2, "_numbers": 2, "(numbers": 1, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120is": 1, "\u0120a": 1, "\u0120space": 1, "-del": 1, "i...
5.561734
0.049443
0.49443
1
false
HumanEval/20
find_closest_elements
true
false
0
1
null
AssertionError
13
21
77.709
9
699.383
38.855
2
121.832
11
2
81.82
0.414201
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 15, "\u0120Tuple": 2, "\u010a": 3, "def": 1, "\u0120find": 3, "_close": 3, "st": 3, "_elements": 3, "(numbers": 1, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "\u0120float": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120From...
5.36272
0.122029
0.99561
1
false
HumanEval/21
rescale_to_unit
false
false
0
0
null
SyntaxError
14
20
76.147
6
456.883
25.382
2
85.986
null
null
null
0.152745
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120res": 2, "cale": 2, "_to": 2, "_unit": 2, "(numbers": 1, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 48, "\u0120\"\"\"": 44, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 1, "\u0120num...
4.295752
0.005468
0.96144
1
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
-0
1
false
HumanEval/23
strlen
true
false
0
1
null
AssertionError
11
130
449.726
55.125
24,791.152
1,377.286
2
71.916
67
61
8.96
0.089286
{"def": 1, "\u0120strlen": 3, "(string": 1, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "\u0120int": 1, ":\u010a": 31, "\u0120\u0120\u0120": 36, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120length": 1, "\u0120of": 1, "\u0120given": 1, "\u0120string": 31, "\u010a": 32, "\u0120>>>": 2, "('')\u010a": 1, "\u0120": 32, "...
3.7422
0
-0
1
false
HumanEval/24
largest_divisor
true
false
0
1
null
AssertionError
20
34
146.946
12
1,763.347
97.964
3
104.106
15
6
60
0.485915
{"def": 1, "\u0120largest": 9, "_div": 5, "isor": 5, "(n": 1, ":": 1, "\u0120int": 2, ")": 1, "\u0120->": 1, ":\u010a": 2, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 2, "\u0120given": 1, "\u0120number": 3, "\u0120n": 6, ",": 4, "\u0120find": 1, "\u0120the": 6, "\u0120that": 1, "\u0120divide...
5.59457
0.002434
0.14861
1
false
HumanEval/25
factorize
false
false
0
0
null
SyntaxError
33
184
928.169
17.391
16,142.061
896.781
2
74.076
null
null
null
0.172986
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120factor": 5, "ize": 4, "(n": 1, ":": 1, "\u0120int": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 5, "\u0120prime": 1, "\u01...
5.061132
0
-0
1
false
HumanEval/26
remove_duplicates
false
false
0
0
null
SyntaxError
25
322
1,495.322
49.5
74,018.424
4,112.135
3
80.813
null
null
null
0.18254
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 1, "def": 1, "\u0120remove": 3, "_duplicates": 2, "(numbers": 11, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 1, "\u0120list": 1, "\u0120of": 2, "\u0120inte...
5.057527
0
-0
1
false
HumanEval/27
flip_case
true
false
0
1
null
AssertionError
15
32
125.02
6.857
857.283
47.627
3
116.175
10
2
70
0.652174
{"def": 1, "\u0120flip": 3, "_case": 4, "(string": 1, ":": 3, "\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...
5.712375
0.043964
0.71553
1
false
HumanEval/28
concatenate
true
true
1
0
null
null
18
41
170.967
12.571
2,149.298
119.405
1
102.482
19
7
57.89
0.504425
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120concatenate": 6, "(strings": 3, ":": 2, "[str": 1, "])": 1, "\u0120->": 1, "\u0120str": 1, ":\u010a": 4, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Concat": 1, "enate": 1, "\u0120list": 1, "\u0120of": 1, "\u0120stri...
5.49117
0.028891
0.9826
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.022429
0.31401
1
false
HumanEval/30
get_positive
false
false
0
0
null
SyntaxError
25
33
153.247
6.923
1,060.943
58.941
2
112.85
null
null
null
0.082524
{"def": 1, "\u0120get": 10, "_positive": 10, "(l": 1, ":": 1, "\u0120list": 7, "):\u010a": 1, "\u0120\u0120\u0120": 25, "\u0120\"\"\"": 7, "Return": 7, "\u0120only": 6, "\u0120positive": 6, "\u0120numbers": 6, "\u0120in": 6, "\u0120the": 6, ".\u010a": 6, "\u0120>>>": 9, "([-": 6, "1": 21, ",": 78, "\u0120": 63, "2": 21...
4.317781
0.00857
0.82191
1
false
HumanEval/31
is_prime
false
false
0
0
null
SyntaxError
32
108
540
4.907
2,650
147.222
3
73.275
68
52
23.53
0.1025
{"def": 1, "\u0120is": 9, "_prime": 8, "(n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 42, "\u0120\"\"\"": 1, "Return": 1, "\u0120true": 1, "\u0120if": 27, "\u0120a": 1, "\u0120given": 1, "\u0120number": 1, "\u0120prime": 1, ",": 1, "\u0120and": 1, "\u0120false": 1, "\u0120otherwise": 1, ".\u010a": 1, "\u0120>>>": 7, "("...
4.469571
0.004157
0.89779
1
false
HumanEval/32
find_zero
true
false
0
1
null
AssertionError
28
72
346.13
15
5,191.943
288.441
2
99.881
27
10
55.56
0.332226
{"import": 1, "\u0120math": 2, "\u010a": 9, "def": 2, "\u0120poly": 2, "(xs": 6, ":": 3, "\u0120list": 3, ",": 9, "\u0120x": 7, "\u0120float": 1, "):\u010a": 2, "\u0120\u0120\u0120": 19, "\u0120\"\"\"\u010a": 3, "\u0120Evalu": 1, "ates": 1, "\u0120polynomial": 2, "\u0120with": 1, "\u0120coefficients": 3, "\u0120xs": 9,...
6.055532
0.003784
0.17787
2
false
HumanEval/33
sort_third
true
false
0
1
null
IndexError
34
186
946.268
10.241
9,690.486
538.36
2
70.285
61
53
13.11
0.149321
{"def": 1, "\u0120sort": 3, "_third": 3, "(l": 1, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 34, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 57, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 3, "\u010a": 27, "\u0120is": 1,...
4.853465
0.002277
0.49443
1
false
HumanEval/34
unique
true
false
0
1
null
AssertionError
15
27
105.486
11
1,160.347
64.464
3
101.169
20
6
65
0.311927
{"def": 1, "\u0120unique": 10, "(l": 1, ":": 1, "\u0120list": 8, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120elements": 3, "\u0120in": 4, "\u0120a": 1, "\u010a": 8, "\u0120>>>": 2, "([": 2, "5": 6, ",": 27, "\u0120": 26, "3": 12, "2": 8, "9": 4, "0": 4, "1": 4, "])...
5.172672
0.027934
0.99561
1
false
HumanEval/35
max_element
false
false
0
0
null
SyntaxError
7
107
300.387
43.75
13,141.93
730.107
3
72.051
74
68
8.11
0.094488
{"def": 1, "\u0120max": 3, "_element": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 40, "\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.066367
0.008458
1.05941
1
false
HumanEval/36
fizz_buzz
true
false
0
1
null
AssertionError
31
126
624.229
7.019
4,381.606
243.423
2
73.695
57
49
14.04
0.129973
{"def": 1, "\u0120fizz": 4, "_b": 4, "uzz": 4, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 2, "\u0120number": 1, "\u0120of": 1, "\u0120times": 1, "\u0120digit": 1, "\u0120": 53, "7": 5, "\u0120appears": 1, "\u0120in": 1, "\u0120integers": 1, "\u...
4.429939
0.004349
0.73921
1
false
HumanEval/37
sort_even
true
false
0
1
null
IndexError
34
186
946.268
10.241
9,690.486
538.36
2
70.285
61
53
13.11
0.154217
{"def": 1, "\u0120sort": 3, "_even": 3, "(l": 1, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 34, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 57, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 1, "\u010a": 27, "\u0120is": 1, ...
4.757881
0.001998
0.38741
1
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.320611
{"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.97542
0.00308
0.36801
4
false
HumanEval/39
prime_fib
false
false
0
0
null
SyntaxError
35
87
446.248
4.167
1,859.365
103.298
3
80.989
47
34
27.66
0.109415
{"def": 1, "\u0120prime": 8, "_f": 7, "ib": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"\u010a": 2, "\u0120returns": 1, "\u0120n": 17, "-th": 1, "\u0120number": 2, "\u0120that": 1, "\u0120is": 1, "\u0120a": 1, "\u0120Fibonacci": 1, "\u0120and": 1, "\u0120it": 1, "'s": 1, "\...
4.733252
0.070795
1.04366
1
false
HumanEval/40
triples_sum_to_zero
true
false
0
1
null
AssertionError
6
7
18.095
2
36.189
2.011
2
133.025
19
1
89.47
0.358025
{"def": 1, "\u0120triples": 7, "_sum": 7, "_to": 7, "_zero": 7, "(l": 1, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 1, "\u0120of": 1, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 1, "\u0120it": 1, "\u0120retu...
5.141884
0.107754
1.07754
1
false
HumanEval/41
car_race_collision
true
false
0
1
null
AssertionError
17
33
134.886
8.438
1,138.103
63.228
4
100.707
25
8
64
0.429119
{"def": 1, "\u0120car": 3, "_race": 1, "_collision": 1, "(n": 2, ":": 1, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 2, "\u0120Imagine": 1, "\u0120a": 7, "\u0120road": 1, "\u0120that": 3, "'s": 3, "\u0120perfectly": 1, "\u0120straight": 1, "\u0120infinitely": 2, "\u0120long": 1, "\u01...
6.187064
0.011612
0.81272
1
false
HumanEval/42
incr_list
true
true
1
0
null
null
12
15
53.774
6
322.647
17.925
2
127.361
10
2
70
0.344262
{"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": 22, "1": 7, ".\u010a": 1, "\u0120>>>": 2, "([": 2, ",": 20, "2": 5, "3": 7, "])\u010a":...
4.496439
0.016924
0.89779
1
false
HumanEval/43
pairs_sum_to_zero
true
false
0
1
null
UnboundLocalError
18
43
179.307
11.25
2,017.201
112.067
2
95.857
33
10
69.7
0.272131
{"def": 1, "\u0120pairs": 7, "_sum": 7, "_to": 7, "_zero": 7, "(l": 3, "):\u010a": 1, "\u0120\u0120\u0120": 24, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 3, "\u0120list": 5, "\u0120of": 8, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 2, "\u0120it": 1, "\u0120returns": 1, "...
5.684668
0.018993
0.96144
1
false
HumanEval/44
change_base
true
false
0
1
null
AssertionError
15
45
175.81
14.25
2,505.294
139.183
3
106.127
20
8
55
0.407143
{"def": 1, "\u0120change": 5, "_base": 5, "(x": 5, ":": 2, "\u0120int": 2, ",": 5, "\u0120base": 9, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "Change": 1, "\u0120numerical": 1, "\u0120of": 1, "\u0120input": 1, "\u0120number": 1, "\u0120x": 2, "\u0120to": 1, ".\u010a": 3, "\u0120return": 4, "\u0120stri...
5.403495
0.060886
0.973
1
false
HumanEval/45
triangle_area
true
true
1
0
null
null
10
12
39.863
5.833
232.535
12.919
1
122.579
10
2
70
0.558824
{"def": 1, "\u0120triangle": 4, "_area": 3, "(a": 1, ",": 3, "\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.995715
0.116814
0.9989
1
false
HumanEval/46
fib4
true
false
0
1
null
AssertionError
31
126
624.229
7.019
4,381.606
243.423
2
73.695
63
49
22.22
0.148387
{"def": 1, "\u0120fib": 14, "4": 20, "(n": 6, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 38, "\u0120\"\"\"": 1, "The": 1, "\u0120Fib": 1, "\u0120number": 2, "\u0120sequence": 3, "\u0120is": 1, "\u0120a": 2, "\u0120similar": 1, "\u0120to": 2, "\u0120the": 3, "\u0120F": 1, "ibbon": 1, "acci": 1, "\u0120...
4.872232
0.000667
0.2001
1
false
HumanEval/47
median
false
false
0
0
null
SyntaxError
10
12
39.863
2.333
93.014
5.167
2
117.689
null
null
null
0.082888
{"def": 1, "\u0120median": 18, "(l": 1, ":": 1, "\u0120list": 7, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"": 6, "Return": 6, "\u0120of": 6, "\u0120elements": 6, "\u0120in": 6, "\u0120the": 6, "\u0120l": 6, ".\u010a": 6, "\u0120>>>": 11, "([": 6, "3": 11, ",": 48, "\u0120": 57, "1": 26, "2": 11, "4": 10, "5...
4.295386
0.000302
0.09063
1
false
HumanEval/48
is_palindrome
true
true
1
0
null
null
12
21
75.284
10
752.842
41.825
2
109.223
21
5
76.19
0.414966
{"def": 1, "\u0120is": 7, "_pal": 5, "indrome": 5, "(text": 1, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 18, "\u0120\"\"\"\u010a": 2, "\u0120Checks": 1, "\u0120if": 1, "\u0120given": 1, "\u0120string": 7, "\u0120a": 1, "\u0120palindrome": 1, "\u010a": 11, "\u0120>>>": 4, "('')\u010a": 1, "\u0120True"...
5.289387
0.013524
0.54135
1
false
HumanEval/49
modp
false
false
0
0
null
SyntaxError
44
111
605.997
5.053
3,061.879
170.104
3
76.063
54
42
22.22
0.104878
{"def": 1, "\u0120mod": 6, "p": 6, "(n": 1, ":": 2, "\u0120int": 2, ",": 6, "\u0120p": 2, "):\u010a": 1, "\u0120\u0120\u0120": 33, "\u0120\"\"\"": 1, "Return": 1, "\u0120": 51, "2": 18, "^n": 1, "\u0120modulo": 1, "\u0120(": 1, "be": 1, "\u0120aware": 1, "\u0120of": 1, "\u0120numer": 1, "ics": 1, ").\u010a": 1, "\u0120...
4.58117
0.000559
0.16759
1
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.009204
0.89779
7
false
HumanEval/51
remove_vowels
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
139.993
17
1
94.12
0.404959
{"def": 1, "\u0120remove": 8, "_v": 8, "ow": 8, "els": 8, "(text": 1, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"\u010a": 2, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120without": 1, "\u0120vowels": 1, ".\u0...
5.005559
0.375655
1.26377
1
false
HumanEval/52
below_threshold
true
true
1
0
null
null
13
20
74.009
5.25
388.546
21.586
2
114.471
14
2
78.57
0.326241
{"def": 1, "\u0120below": 6, "_threshold": 5, "(l": 1, ":": 2, "\u0120list": 2, ",": 13, "\u0120t": 3, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 3, "\u0120if": 1, "\u0120all": 2, "\u0120numbers": 1, "\u0120in": 2, "\u0120the": 1, "\u0120l": 2, "\u0120are": 1, ...
4.918349
0.041986
0.93285
1
false
HumanEval/53
add
true
false
0
1
null
TypeError
18
37
154.287
10
1,542.872
85.715
2
105.492
16
5
68.75
0.504425
{"def": 1, "\u0120add": 3, "(x": 2, ":": 2, "\u0120int": 2, ",": 3, "\u0120y": 3, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Add": 1, "\u0120two": 3, "\u0120numbers": 3, "\u0120x": 2, "\u0120and": 1, "\u010a": 9, "\u0120>>>": 2, "(": 2, "2": 2, "\u0120": 5, "3": 1, ")\u010a": 2, "5": 2, "7": 1, "1": 1...
5.357892
0.054073
0.9989
1
false
HumanEval/54
same_chars
false
false
0
0
null
SyntaxError
21
164
720.34
17.5
12,605.951
700.331
3
74.428
null
null
null
0.129032
{"def": 1, "\u0120same": 8, "_chars": 7, "(s": 24, "0": 15, ":": 2, "\u0120str": 2, ",": 1, "\u0120s": 1, "1": 14, "):\u010a": 2, "\u0120\u0120\u0120": 37, "\u0120\"\"\"\u010a": 2, "\u0120Check": 1, "\u0120if": 23, "\u0120two": 1, "\u0120words": 1, "\u0120have": 1, "\u0120the": 1, "\u0120characters": 1, ".\u010a": 1, "...
4.985865
0.003319
0.99561
1
false
HumanEval/55
fib
false
false
0
0
null
SyntaxError
41
114
610.761
4.583
2,799.321
155.518
3
75.286
52
44
15.38
0.100575
{"def": 1, "\u0120fib": 4, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": 1, "Return": 1, "\u0120n": 23, "-th": 1, "\u0120Fibonacci": 1, "\u0120number": 1, ".\u010a": 1, "\u0120>>>": 3, "(": 3, "1": 27, "0": 5, ")\u010a": 3, "\u0120": 45, "5": 10, "\u010a": 24, "8": 8, "2": 9,...
4.339415
0
-0
1
false
HumanEval/56
correct_bracketing
false
false
0
0
null
SyntaxError
7
107
300.387
43.75
13,141.93
730.107
3
72.051
80
68
13.75
0.121762
{"def": 1, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 1, "ackets": 1, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 45, "\u0120\"\"\"": 1, "\u0120brackets": 34, "\u0120is": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 1, "\u0120\"<": 1, "\"": 1, "\u0120and": 1, "\u0120\">\"": 1, ".\u01...
4.114296
0.001885
0.56551
1
false
HumanEval/57
monotonic
false
false
0
0
null
SyntaxError
9
10
31.699
2
63.399
3.522
2
104.867
null
null
null
0.093506
{"def": 1, "\u0120monot": 4, "onic": 4, "(l": 1, ":": 1, "\u0120list": 19, "):\u010a": 1, "\u0120\u0120\u0120": 41, "\u0120\"\"\"": 18, "Return": 18, "\u0120True": 20, "\u0120is": 1, "\u0120elements": 18, "\u0120are": 18, "\u0120mon": 18, "oton": 18, "ically": 18, "\u0120increasing": 17, "\u0120or": 17, "\u0120decreasi...
4.643506
0.008937
0.99016
1
false
HumanEval/58
common
false
false
0
0
null
SyntaxError
11
177
612.319
49.333
30,207.757
1,678.209
3
68.348
75
68
8
0.100719
{"def": 1, "\u0120common": 4, "(l": 1, "1": 23, ":": 2, "\u0120list": 2, ",": 20, "\u0120l": 34, "2": 22, "):\u010a": 1, "\u0120\u0120\u0120": 40, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120unique": 1, "\u0120elements": 1, "\u0120for": 1, "\u0120two": 1, "\u0120lists": 1, ".\u010a": 1, "\u0120>>>": 2, "(...
4.268144
0.003205
0.96144
1
false
HumanEval/59
largest_prime_factor
true
false
0
1
null
AssertionError
30
121
593.734
7
4,156.136
230.896
2
74.617
53
47
11.32
0.123967
{"def": 1, "\u0120largest": 4, "_prime": 3, "_factor": 3, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 29, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 1, "\u0120prime": 2, "\u0120factor": 1, "\u0120of": 1, "\u0120n": 25, ".": 1, "\u0120Assume": 1, "\u0120>": 1, "\u0120": 48, "1": 29, "\u0120an...
4.429021
0
-0
1
false
HumanEval/60
sum_to_n
true
false
0
1
null
AssertionError
30
121
593.734
7
4,156.136
230.896
2
74.617
59
47
20.34
0.105528
{"def": 1, "\u0120sum": 6, "_to": 7, "_n": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 35, "\u0120\"\"\"": 1, "sum": 1, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120sums": 1, "\u0120numbers": 1, "\u0120from": 1, "\u0120": 51, "1": 32, "\u0120to": 1, "\u0120n": 2...
4.467784
0.001358
0.40751
1
false
HumanEval/61
correct_bracketing
false
false
0
0
null
SyntaxError
30
150
736.034
11.455
8,430.93
468.385
3
75.052
54
42
20.37
0.15445
{"def": 1, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 21, "ackets": 21, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"": 1, "\u0120brackets": 2, "\u0120is": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 1, "\u0120\"(\"": 1, "\u0120and": 1, "\u0120\")\"": 1, ".\u010a": 1...
4.887885
0.002217
0.66517
1
false
HumanEval/62
derivative
false
false
0
0
null
SyntaxError
22
312
1,391.343
42.231
58,757.471
3,264.304
3
81.877
null
null
null
0.148515
{"def": 1, "\u0120derivative": 4, "(xs": 11, ":": 1, "\u0120list": 1, "):\u010a": 1, "\u0120\u0120\u0120": 18, "\u0120\"\"\"": 1, "\u0120xs": 41, "\u0120represent": 1, "\u0120coefficients": 1, "\u0120of": 2, "\u0120a": 1, "\u0120polynomial": 2, ".\u010a": 2, "[": 48, "0": 11, "]": 3, "\u0120+": 3, "1": 14, "\u0120*": 2...
4.955556
0.001725
0.51764
1
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.000302
0.09063
1
false
HumanEval/64
vowels_count
false
false
0
0
null
SyntaxError
8
8
24
2
48
2.667
2
98.915
null
null
null
0.177616
{"def": 1, "\u0120vowels": 32, "_count": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 38, "\u0120\"\"\"": 29, "Write": 2, "\u0120a": 4, "\u0120function": 1, "\u0120which": 1, "\u0120takes": 1, "\u0120string": 28, "\u0120representing": 1, "\u010a": 4, "\u0120word": 2, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1,...
4.552215
0.002132
0.2001
1
false
HumanEval/65
circular_shift
true
false
0
1
null
TypeError
17
52
212.548
17.417
3,701.879
205.66
1
109.215
16
6
56.25
0.467742
{"def": 1, "\u0120circular": 3, "_shift": 3, "(x": 6, ",": 5, "\u0120shift": 7, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Circular": 1, "\u0120the": 4, "\u0120digits": 4, "\u0120of": 2, "\u0120integer": 1, "\u0120x": 1, "\u0120right": 1, "\u0120by": 1, "\u010a": 1, "\u0120and": 1, "\u0120return": 5, ...
5.433444
0.099744
1.70277
1
false
HumanEval/66
digitSum
true
false
0
1
null
AssertionError
7
125
350.919
76.25
26,757.602
1,486.533
2
73.206
73
61
15.07
0.152542
{"def": 1, "\u0120digit": 7, "Sum": 7, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 35, "\u0120\"\"\"": 1, "Task": 1, "\u010a": 36, "\u0120Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 1, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120the"...
4.485978
0
-0
1
false
HumanEval/67
fruit_distribution
true
false
0
1
null
AssertionError
17
42
171.673
11.25
1,931.326
107.296
5
93.772
32
12
62.5
0.239075
{"def": 1, "\u0120fruit": 6, "_distribution": 5, "(s": 1, ",n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 22, "\u0120\"\"\"\u010a": 2, "\u0120In": 1, "\u0120this": 2, "\u0120task": 1, ",": 6, "\u0120you": 1, "\u0120will": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 4, "\u0120string": 3, "\u0120that": 4, "\u0120represe...
5.808846
0.004099
0.38741
1
false
HumanEval/68
pluck
false
false
0
0
null
SyntaxError
8
192
576
136.5
78,624
4,368
3
66.889
109
76
24.77
0.174056
{"def": 1, "\u0120pl": 4, "uck": 2, "(arr": 1, "):\u010a": 1, "\u0120\u0120\u0120": 51, "\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...
5.296991
0.00255
0.76507
1
false
HumanEval/69
search
false
false
0
0
null
SyntaxError
19
249
1,057.734
62.778
66,402.187
3,689.01
29
83.202
25
15
40
0.163399
{"def": 1, "\u0120search": 4, "(lst": 7, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\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.104139
0.002545
0.6149
1
false
HumanEval/70
strange_sort_list
false
false
0
0
null
SyntaxError
21
310
1,361.618
45.375
61,783.435
3,432.413
3
81.99
null
null
null
0.155502
{"def": 1, "\u0120strange": 5, "_sort": 4, "_list": 4, "(lst": 11, "):\u010a": 1, "\u0120\u0120\u0120": 20, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 2, "\u0120integers": 2, ",": 15, "\u0120return": 11, "\u0120in": 1, "\u0120order": 1, ".\u010a": 1, "\u0120Strange": 1, "\u0120sorting": 1, "\u...
5.07557
0.001573
0.47177
1
false
HumanEval/71
triangle_area
true
false
0
1
null
AssertionError
21
76
333.816
20
6,676.322
370.907
4
110.838
15
5
66.67
0.397849
{"def": 1, "\u0120triangle": 7, "_area": 3, "(a": 1, ",": 6, "\u0120b": 7, "\u0120c": 6, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120the": 7, "\u0120lengths": 1, "\u0120of": 4, "\u0120three": 2, "\u0120sides": 4, "\u0120a": 7, ".": 3, "\u0120Return": 1, "\u0120area": 1, "\u01...
5.765274
0.011055
0.51764
1
false
HumanEval/72
will_it_fly
false
false
0
0
null
SyntaxError
8
107
321
52.5
16,852.5
936.25
3
71.706
85
68
15.29
0.14313
{"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": 19, "\u0120if": 36, "\u0120the": 7, "\u0120object": 2, "\u0120q": 19, "\u0120fl...
5.153934
0.003319
0.99561
1
false
HumanEval/73
smallest_change
false
false
0
0
null
SyntaxError
28
165
793.214
11.045
8,761.404
486.745
3
74.663
52
42
17.31
0.155211
{"def": 1, "\u0120smallest": 4, "_change": 4, "(arr": 21, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 2, "\u0120array": 4, "\u0120arr": 2, "\u0120of": 2, "\u0120integers": 1, ",": 19, "\u0120find": 1, "\u0120the": 3, "\u0120minimum": 1, "\u0120number": 1, "\u0120eleme...
5.034391
0
-0
1
false
HumanEval/74
total_match
false
false
0
0
null
SyntaxError
14
212
807.159
170.5
137,620.651
7,645.592
3
75.344
null
null
null
0.143737
{"def": 1, "\u0120total": 7, "_match": 6, "(lst": 37, "1": 33, ",": 2, "\u0120lst": 20, "2": 26, "):\u010a": 18, "\u0120\u0120\u0120": 31, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120accepts": 1, "\u0120two": 2, "\u0120lists": 2, "\u0120of": 4, "\u0120strings": 2, ...
5.186505
0.008234
0.85736
1
false
HumanEval/75
is_multiply_prime
false
false
0
0
null
SyntaxError
31
107
530.099
6.24
3,307.818
183.768
3
73.371
59
52
11.86
0.153846
{"def": 1, "\u0120is": 4, "_multiply": 2, "_prime": 2, "(a": 1, "):\u010a": 1, "\u0120\u0120\u0120": 33, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 27, "\u0120function": 1, "\u0120that": 2, "\u0120returns": 1, "\u0120true": 1, "\u0120if": 27, "\u0120the": 2, "\u0120given": 1, "\u0120number": 1, "\u0120multiplication": 1...
4.620746
0.006636
0.96144
1
false
HumanEval/76
is_simple_power
true
false
0
1
null
AssertionError
7
7
19.651
2.5
49.129
2.729
2
132.596
14
1
92.86
0.372414
{"def": 1, "\u0120is": 10, "_simple": 7, "_power": 7, "(x": 1, ",": 7, "\u0120n": 4, "):\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": 2, "\u0120num...
5.182649
0.096144
0.96144
1
false
HumanEval/77
iscube
false
false
0
0
null
SyntaxError
21
69
303.07
6.6
2,000.261
111.126
3
83.47
51
32
35.29
0.149877
{"def": 1, "\u0120is": 11, "cube": 7, "(a": 1, "):\u010a": 1, "\u0120\u0120\u0120": 34, "\u0120'''\u010a": 4, "\u0120Write": 2, "\u0120a": 23, "\u0120function": 2, "\u0120that": 2, "\u0120takes": 2, "\u0120an": 2, "\u0120integer": 4, "\u0120and": 2, "\u0120returns": 2, "\u0120True": 19, "\u0120\u010a": 1, "\u0120if": 1...
4.797682
0.013937
0.87818
1
false
HumanEval/78
hex_key
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
68
1
98.53
0.183908
{"def": 1, "\u0120hex": 1, "_key": 1, "(num": 1, "):\u010a": 1, "\u0120\u0120\u0120": 67, "\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.194418
0.00573
0.74047
1
false
HumanEval/79
decimal_to_binary
false
false
0
0
null
SyntaxError
41
123
658.979
5.903
3,889.806
216.1
2
78.735
null
null
null
0.185941
{"def": 1, "\u0120decimal": 21, "_to": 3, "_binary": 3, "(decimal": 1, "):\u010a": 1, "\u0120\u0120\u0120": 26, "\u0120\"\"\"": 1, "You": 1, "\u0120will": 3, "\u0120be": 3, "\u0120given": 1, "\u0120a": 3, "\u0120number": 2, "\u0120in": 2, "\u0120form": 1, "\u0120and": 2, "\u0120your": 1, "\u0120task": 1, "\u0120is": 1,...
5.029849
0.009767
0.99016
1
false
HumanEval/80
is_happy
true
false
0
1
null
AssertionError
29
159
772.419
8.739
6,750.27
375.015
2
73.938
56
45
19.64
0.164251
{"def": 1, "\u0120is": 11, "_h": 7, "appy": 7, "(s": 23, "):\u010a": 1, "\u0120\u0120\u0120": 33, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 2, "\u0120given": 1, "\u0120a": 1, "\u0120string": 3, "\u0120s": 1, ".\u010a": 2, "\u0120Your": 1, "\u0120task": 1, "\u0120to": 1, "\u0120check": 1, "\u0120if": 24, "\u0120the": 1,...
4.926066
0
-0
1
false
HumanEval/81
numerical_letter_grade
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
27
1
88.89
0.398551
{"def": 1, "\u0120numerical": 1, "_letter": 1, "_grade": 1, "(": 1, "grades": 1, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\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.126631
0.114128
1.07616
1
false
HumanEval/82
prime_length
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
59
1
98.31
0.114667
{"def": 1, "\u0120prime": 6, "_length": 5, "(string": 1, "):\u010a": 1, "\u0120\u0120\u0120": 58, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 3, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120True": 4, "\u0120if": 1, "\u0120the": 1, "\u010a": 56, "\u0...
3.605285
0.001291
0.38741
1
false
HumanEval/83
starts_one_ends
false
false
0
0
null
SyntaxError
38
118
619.255
5.227
3,237.017
179.834
3
74.509
50
46
8
0.127219
{"def": 1, "\u0120starts": 1, "_one": 1, "_ends": 1, "(n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 27, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 2, "\u0120integer": 1, "\u0120n": 25, ",": 1, "\u0120return": 23, "\u0120the": 2, "\u0120count": 1, "\u0120of": 2, "\u0120numbers": 1, "-digit...
4.344515
0.003823
1.14682
1
false
HumanEval/84
solve
true
false
0
1
null
AssertionError
43
145
786.808
6.645
5,228.135
290.452
2
75.316
54
41
20.37
0.14059
{"def": 1, "\u0120solve": 1, "(N": 1, "):\u010a": 1, "\u0120\u0120\u0120": 25, "\u0120\"\"\"": 1, "Given": 1, "\u0120a": 2, "\u0120positive": 1, "\u0120integer": 2, "\u0120N": 25, ",": 4, "\u0120return": 21, "\u0120the": 7, "\u0120total": 1, "\u0120sum": 4, "\u0120of": 5, "\u0120its": 1, "\u0120digits": 4, "\u0120in": ...
4.731513
0.001104
0.3313
1
false
HumanEval/85
add
true
false
0
1
null
AssertionError
17
25
102.187
10.083
1,030.381
57.243
4
128.223
8
2
50
0.68
{"def": 1, "\u0120add": 3, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 4, "\u0120\"\"\"": 1, "Given": 1, "\u0120a": 1, "\u0120non": 1, "-empty": 1, "\u0120list": 1, "\u0120of": 1, "\u0120integers": 1, "\u0120lst": 2, ".": 2, "\u0120the": 1, "\u0120even": 1, "\u0120elements": 1, "\u0120that": 1, "\u0120are": 1, "\u0...
5.371957
0.128313
0.87818
1
false
HumanEval/86
anti_shuffle
false
false
0
0
null
SyntaxError
19
269
1,142.693
38.909
44,461.126
2,470.063
2
82.442
null
null
null
0.226415
{"def": 1, "\u0120anti": 4, "_shuffle": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 22, "\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.221851
0.003275
0.9826
1
false
HumanEval/87
get_row
false
false
0
0
null
SyntaxError
11
354
1,224.639
145.333
177,980.838
9,887.824
3
77.705
null
null
null
0.189873
{"def": 1, "\u0120get": 4, "_row": 4, "(lst": 1, ",": 34, "\u0120x": 3, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 4, "\u0120": 13, "2": 11, "\u0120dimensional": 1, "\u0120data": 1, "\u0120as": 1, "\u0120nested": 1, "\u0120lists": 1, ",...
5.105609
0
-0
1
false
HumanEval/88
sort_array
false
false
0
0
null
SyntaxError
21
307
1,348.441
45
60,679.865
3,371.104
3
82.04
36
22
33.33
0.155242
{"def": 1, "\u0120sort": 7, "_array": 5, "(array": 11, "):\u010a": 1, "\u0120\u0120\u0120": 23, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 1, "\u0120array": 42, "\u0120of": 2, "\u0120non": 1, "-negative": 1, "\u0120integers": 1, ",": 25, "\u0120return": 11, "\u0120a": 1, "\u0120copy": 1, "\u0120the": 5, "\u...
5.295296
0.002709
0.81272
1
false
HumanEval/89
encrypt
true
false
0
1
null
AssertionError
23
58
262.367
11.458
3,006.284
167.016
5
91.566
30
11
63.33
0.442907
{"def": 1, "\u0120encrypt": 6, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"": 1, "Create": 1, "\u0120a": 6, "\u0120function": 1, "\u0120that": 2, "\u0120takes": 1, "\u0120string": 4, "\u0120as": 1, "\u0120an": 2, "\u0120argument": 1, "\u0120and": 1, "\u010a": 13, "\u0120returns": 5, "\u0120encrypted"...
6.426249
0.025715
0.92646
1
false
HumanEval/90
next_smallest
false
false
0
0
null
SyntaxError
29
209
1,015.318
17.905
18,179.028
1,009.946
3
74.151
null
null
null
0.141148
{"def": 1, "\u0120next": 6, "_sm": 6, "allest": 6, "(lst": 20, "):\u010a": 1, "\u0120\u0120\u0120": 29, "\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.025896
0
-0
1
false
HumanEval/91
is_bored
true
false
0
1
null
KeyError
19
55
233.636
27.083
6,327.642
351.536
6
93.561
29
11
58.62
0.383764
{"def": 1, "\u0120is": 10, "_b": 3, "ored": 3, "(S": 1, "):\u010a": 1, "\u0120\u0120\u0120": 18, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "'ll": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 4, "\u0120string": 2, "\u0120of": 5, "\u0120words": 2, ",": 3, "\u0120and": 1, "\u0120your": 1, "\u0120task": 1, "\u0120to": 4, ...
6.058484
0.033748
1.18185
1
false
HumanEval/92
any_int
true
false
0
1
null
AssertionError
11
30
103.783
17.333
1,798.904
99.939
4
116.914
22
5
45.45
0.43949
{"def": 1, "\u0120any": 6, "_int": 5, "(x": 1, ",": 11, "\u0120y": 1, "\u0120z": 1, "):\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.667011
0.142784
0.85736
1
false
HumanEval/93
encode
false
false
0
0
null
SyntaxError
7
192
539.012
141.25
76,135.465
4,229.748
3
67.234
89
76
13.48
0.171216
{"def": 1, "\u0120encode": 3, "(message": 1, "):\u010a": 1, "\u0120\u0120\u0120": 50, "\u0120\"\"\"\u010a": 2, "\u0120Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 4, "\u0120takes": 1, "\u0120message": 41, ",": 2, "\u0120and": 1, "\u0120enc": 1, "odes": 1, "\u0120in": 3, "\u0120such": 1, "\u0120\u010a": 4...
4.340417
0.003243
0.973
1
false
HumanEval/94
skjkasdkd
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
62
1
96.77
0.099839
{"def": 1, "\u0120sk": 1, "jk": 1, "as": 1, "dk": 1, "d": 1, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 60, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 1, "\u0120list": 1, "\u0120of": 2, "\u0120integers": 1, ".\u010a": 1, "\u0120You": 1, "\u0120need": 1, "\u0120to": 1, "\u0120find": 1...
4.496015
0
-0
1
false
HumanEval/95
check_dict_case
true
false
0
1
null
AssertionError
12
21
75.284
5.6
421.592
23.422
2
116.546
17
6
64.71
0.392857
{"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": 3, "\u0120keys": 2, "\u0120are": 2, "\u0120strings": 2, "\u01...
5.696348
0.056233
0.89779
1
false
HumanEval/96
count_up_to
true
false
0
1
null
AssertionError
26
178
836.678
18
15,060.209
836.678
2
82.766
35
25
28.57
0.131403
{"def": 1, "\u0120count": 7, "_up": 7, "_to": 7, "(n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 22, "\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"...
4.677595
0
-0
1
false
HumanEval/97
multiply
true
false
0
1
null
TypeError
17
47
192.111
15
2,881.661
160.092
3
99.098
23
7
69.57
0.368664
{"def": 1, "\u0120multiply": 5, "(a": 2, ",": 4, "\u0120b": 2, "):\u010a": 1, "\u0120\u0120\u0120": 18, "\u0120\"\"\"": 1, "Complete": 1, "\u0120the": 14, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120two": 1, "\u0120integers": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120\u010a": 1, "\u0120product": ...
5.747267
0.017654
0.85736
1
false
HumanEval/98
count_upper
true
false
0
1
null
IndexError
31
170
842.213
10.5
8,843.24
491.291
2
72.138
57
49
12.28
0.148352
{"def": 1, "\u0120count": 5, "_upper": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 31, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120string": 1, "\u0120s": 25, ",": 1, "\u0120the": 1, "\u0120number": 1, "\u0120of": 1, "\u0120uppercase": 1, "\u0120vowels": 1, "\u0120in": 1, "\u0120even": 1, "\u012...
4.573513
0.003333
1
1
false
HumanEval/99
closest_integer
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
20
1
85
0.443114
{"def": 1, "\u0120closest": 6, "_integer": 5, "(value": 1, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120'''\u010a": 2, "\u0120Create": 1, "\u0120a": 3, "\u0120function": 1, "\u0120that": 3, "\u0120takes": 1, "\u0120value": 1, "\u0120(": 1, "string": 1, ")": 1, "\u0120representing": 1, "\u0120number": 3, "\u010a": 8,...
5.713739
0
-0
1
false
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
-