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
14
18
68.532
6.3
431.754
23.986
2
122.485
11
2
63.64
0.449612
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 4, "def": 1, "\u0120has": 3, "_close": 3, "_elements": 3, "(numbers": 1, ":": 2, "[float": 1, "],": 3, "\u0120threshold": 2, "\u0120float": 1, ")": 1, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 4, "\...
5.31463
0.243501
1.15021
1
false
HumanEval/1
separate_paren_groups
false
false
0
0
null
SyntaxError
25
266
1,235.266
40.857
50,469.429
2,803.857
3
83.216
28
21
25
0.251834
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 3, "def": 1, "\u0120separate": 4, "_p": 2, "aren": 2, "_groups": 2, "(paren": 10, "_string": 47, ":": 1, "\u0120str": 1, ")": 11, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to...
5.521283
0.001648
0.49443
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.010935
0.10935
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.076946
0.63997
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.034824
0.85736
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
-0
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
-0
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.48
{"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.953628
0.018837
0.973
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
262
1,048
117.7
123,349.6
6,852.756
1
72.233
null
null
null
0.162844
{"def": 2, "\u0120is": 23, "_pal": 24, "indrome": 24, "(string": 21, ":": 2, "\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.926515
0.007259
0.99016
2
false
HumanEval/11
string_xor
true
false
0
1
null
TypeError
24
76
348.457
21
7,317.6
406.533
4
92.818
22
9
59.09
0.467593
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 9, "def": 1, "\u0120string": 4, "_xor": 2, "(a": 4, ":": 2, "\u0120str": 3, ",": 3, "\u0120b": 5, ")": 1, "\u0120->": 1, ":\u010a": 2, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120are": 3, "\u0120two": 1, "\u0120string...
6.194702
0.030715
0.87818
1
false
HumanEval/12
longest
false
false
0
0
null
SyntaxError
14
119
453.075
50
22,653.762
1,258.542
3
69.681
78
69
10.26
0.138889
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 2, "\u0120Optional": 2, "\u010a": 35, "def": 1, "\u0120longest": 5, "(strings": 1, ":": 1, "[str": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 42, "\u0120\"\"\"": 1, "\u0120Out": 1, "\u0120of": 4, "\u0120list": 2, "\u0120strings...
4.339
0
-0
1
false
HumanEval/13
greatest_common_divisor
true
true
1
0
null
null
14
48
182.753
20.7
3,782.988
210.166
2
101.906
19
9
47.37
0.301775
{"def": 1, "\u0120greatest": 6, "_common": 7, "_div": 7, "isor": 7, "(a": 2, ":": 4, "\u0120int": 3, ",": 7, "\u0120b": 8, ")": 1, "\u0120->": 1, ":\u010a": 5, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 8, "\u0120common": 1, "\u0120divisor": 1, "\u0120of": 1, "\u0120two": 1, "\u0120integ...
5.247741
0.039648
0.99016
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.001047
0.31401
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.002301
0.6904
1
false
HumanEval/17
parse_music
true
false
0
1
null
AssertionError
21
97
426.055
28
11,929.534
662.752
11
79.39
46
21
50
0.266094
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 17, "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": 17, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to": 13, "\u0120this"...
6.142677
0.02151
1.11044
1
false
HumanEval/18
how_many_times
false
false
0
0
null
IndentationError
17
230
940.116
73.571
69,165.711
3,842.539
3
73.779
50
42
16
0.159686
{"def": 1, "\u0120how": 5, "_many": 4, "_times": 4, "(string": 20, ":": 2, "\u0120str": 2, ",": 1, "\u0120substring": 3, ")": 20, "\u0120->": 1, "\u0120int": 1, ":\u010a": 3, "\u0120\u0120\u0120": 29, "\u0120\"\"\"": 1, "\u0120Find": 1, "\u0120many": 1, "\u0120times": 1, "\u0120a": 1, "\u0120given": 1, "\u0120can": 1, ...
4.873168
0.000667
0.2001
1
false
HumanEval/19
sort_numbers
true
false
0
1
null
AssertionError
20
41
177.199
9.778
1,732.613
96.256
3
99.518
20
8
60
0.534392
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 8, "def": 1, "\u0120sort": 2, "_numbers": 2, "(numbers": 2, ":": 1, "\u0120str": 2, ")": 2, "\u0120->": 1, ":\u010a": 2, "\u0120\u0120\u0120": 15, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120is": 2, "\u0120a": 3, "\u0120space": 1, "-del": 1, "...
6.082112
0.016214
0.83549
1
false
HumanEval/20
find_closest_elements
false
false
0
0
null
SyntaxError
33
262
1,321.631
28.5
37,666.491
2,092.583
2
75.573
null
null
null
0.171739
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 15, "\u0120Tuple": 2, "\u010a": 3, "def": 1, "\u0120find": 3, "_close": 3, "st": 3, "_elements": 3, "(numbers": 17, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "\u0120float": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 23, "\u0120\"\"\"": 1, "\u0120Fr...
5.22004
0.003333
1
1
false
HumanEval/21
rescale_to_unit
false
false
0
0
null
SyntaxError
16
24
96
6.5
624
34.667
2
109.504
null
null
null
0.181384
{"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": 28, "\u0120\"\"\"": 6, "\u0120Given": 1, "\u0120list": 12, "\u0120of": 6, "\u0120num...
5.44049
0.038334
1.71992
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.019828
0.29742
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.01914
0.85736
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
true
false
0
1
null
AssertionError
20
52
224.74
15.75
3,539.659
196.648
3
95.328
22
9
59.09
0.411483
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 9, "def": 1, "\u0120remove": 3, "_duplicates": 2, "(numbers": 2, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 3, "\u0120list": 9, "\u0120of": 5, "\u0120integ...
5.809686
0.022632
0.74047
1
false
HumanEval/27
flip_case
true
false
0
1
null
AssertionError
15
32
125.02
6.857
857.283
47.627
3
113.678
11
2
72.73
0.544
{"def": 1, "\u0120flip": 3, "_case": 5, "(string": 1, ":": 5, "\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.832801
0.051492
1.07622
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.0148
0.66517
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.042146
0.59005
1
false
HumanEval/30
get_positive
true
false
0
1
null
AssertionError
6
7
18.095
2
36.189
2.011
2
129.41
10
1
90
0.322835
{"def": 1, "\u0120get": 3, "_positive": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "Return": 1, "\u0120only": 1, "\u0120positive": 1, "\u0120numbers": 1, "\u0120in": 1, "\u0120the": 1, ".\u010a": 1, "\u0120>>>": 2, "([-": 1, "1": 6, ",": 22, "\u0120": 18, "2": 6, "\u...
4.561592
0.085597
0.89779
1
false
HumanEval/31
is_prime
false
false
0
0
null
SyntaxError
8
8
24
2
48
2.667
2
124.988
null
null
null
0.08
{"def": 1, "\u0120is": 34, "_prime": 29, "(n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 65, "\u0120\"\"\"": 5, "Return": 5, "\u0120true": 5, "\u0120if": 5, "\u0120a": 5, "\u0120given": 5, "\u0120number": 5, "\u0120prime": 5, ",": 5, "\u0120and": 5, "\u0120false": 5, "\u0120otherwise": 5, ".\u010a": 4, "\u0120>>>": 28, "...
4.271137
0.003319
0.99561
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
TypeError
12
59
211.513
10.5
2,220.884
123.382
2
87.598
37
14
62.16
0.166667
{"def": 1, "\u0120sort": 3, "_third": 3, "(l": 1, ":": 1, "\u0120list": 17, "):\u010a": 1, "\u0120\u0120\u0120": 36, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 5, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 3, "\u010a": 16, "\u0120is": 1,...
5.279925
0.00599
0.83549
1
false
HumanEval/34
unique
true
false
0
1
null
AssertionError
16
41
164
14.167
2,323.333
129.074
4
97.663
20
9
55
0.296651
{"def": 1, "\u0120unique": 13, "(l": 1, ":": 1, "\u0120list": 10, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 7, "\u0120elements": 4, "\u0120in": 6, "\u0120a": 1, "\u010a": 8, "\u0120>>>": 1, "([": 1, "5": 3, ",": 15, "\u0120": 13, "3": 6, "2": 4, "9": 2, "0": 2, "1": 2, "])...
5.355036
0.031112
0.9826
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.004213
1.26377
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.000365
0.10935
1
false
HumanEval/37
sort_even
true
false
0
1
null
TypeError
6
7
18.095
2
36.189
2.011
2
133.025
11
1
90.91
0.457364
{"def": 1, "\u0120sort": 3, "_even": 3, "(l": 1, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 5, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 1, "\u010a": 3, "\u0120is": 1, "\...
5.432955
0.252066
0.94321
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.006409
0.66517
4
false
HumanEval/39
prime_fib
true
false
0
1
null
AssertionError
24
57
261.343
4.211
1,100.391
61.133
2
91.523
34
21
38.24
0.17551
{"def": 1, "\u0120prime": 8, "_f": 7, "ib": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 23, "\u0120\"\"\"\u010a": 2, "\u0120returns": 1, "\u0120n": 11, "-th": 1, "\u0120number": 2, "\u0120that": 1, "\u0120is": 1, "\u0120a": 1, "\u0120Fibonacci": 1, "\u0120and": 1, "\u0120it": 1, "'s": 1, "\...
4.824733
0.045336
1.33815
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.114861
1
1
false
HumanEval/41
car_race_collision
true
false
0
1
null
AssertionError
18
36
150.117
8.5
1,275.997
70.889
4
98.123
27
9
62.96
0.408602
{"def": 1, "\u0120car": 3, "_race": 1, "_collision": 1, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 19, "\u0120\"\"\"\u010a": 2, "\u0120Imagine": 1, "\u0120a": 8, "\u0120road": 1, "\u0120that": 3, "'s": 3, "\u0120perfectly": 1, "\u0120straight": 1, "\u0120infinitely": 2, "\u0120long": 1, "\u01...
6.164643
0.011887
0.66517
1
false
HumanEval/42
incr_list
true
true
1
0
null
null
12
15
53.774
6
322.647
17.925
2
116.132
14
2
78.57
0.209524
{"def": 1, "\u0120incr": 5, "_list": 5, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120with": 1, "\u0120elements": 1, "\u0120incremented": 1, "\u0120by": 1, "\u0120": 42, "1": 12, ".\u010a": 1, "\u0120>>>": 4, "([": 4, ",": 40, "2": 10, "3": 14, "])\u010...
4.262053
0.012536
0.9826
1
false
HumanEval/43
pairs_sum_to_zero
true
false
0
1
null
UnboundLocalError
19
112
475.768
31.625
15,046.159
835.898
8
83.121
42
16
61.9
0.182222
{"def": 1, "\u0120pairs": 7, "_sum": 7, "_to": 7, "_zero": 7, "(l": 7, "):\u010a": 1, "\u0120\u0120\u0120": 22, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 3, "\u0120list": 12, "\u0120of": 19, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 2, "\u0120it": 1, "\u0120returns": 1,...
5.615659
0.004063
0.63997
1
false
HumanEval/44
change_base
false
false
0
0
null
SyntaxError
28
87
418.24
5.727
2,395.374
133.076
2
80.224
null
null
null
0.130435
{"def": 1, "\u0120change": 4, "_base": 4, "(x": 2, ":": 2, "\u0120int": 2, ",": 4, "\u0120base": 22, "):\u010a": 1, "\u0120\u0120\u0120": 28, "\u0120\"\"\"": 1, "Change": 1, "\u0120numerical": 1, "\u0120of": 1, "\u0120input": 1, "\u0120number": 1, "\u0120x": 1, "\u0120to": 1, ".\u010a": 3, "\u0120return": 19, "\u0120st...
4.518666
0.009131
0.99016
1
false
HumanEval/45
triangle_area
true
true
1
0
null
null
10
12
39.863
5.833
232.535
12.919
1
114.304
14
2
78.57
0.392157
{"def": 1, "\u0120triangle": 6, "_area": 5, "(a": 1, ",": 5, "\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.92704
0.089627
0.87818
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
-0
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
-0
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": 2, "\u0120string": 7, "\u0120a": 1, "\u0120palindrome": 1, "\u010a": 11, "\u0120>>>": 4, "('')\u010a": 1, "\u0120True"...
5.289387
0.037671
0.93285
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.000839
0.25178
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.00312
0.40751
7
false
HumanEval/51
remove_vowels
false
false
0
0
null
SyntaxError
8
8
24
2
48
2.667
2
92.346
null
null
null
0.127404
{"def": 1, "\u0120remove": 8, "_v": 8, "ow": 8, "els": 8, "(text": 1, "):\u010a": 1, "\u0120\u0120\u0120": 58, "\u0120\"\"\"\u010a": 2, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120without": 1, "\u0120vowels": 1, ".\u0...
4.16512
0.009109
1.10882
1
false
HumanEval/52
below_threshold
true
true
1
0
null
null
13
20
74.009
5.25
388.546
21.586
2
119.132
12
2
75
0.342282
{"def": 1, "\u0120below": 4, "_threshold": 5, "(l": 1, ":": 4, "\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, ...
5.077365
0.032626
0.9826
1
false
HumanEval/53
add
true
true
1
0
null
null
11
17
58.81
7
411.672
22.871
1
118.06
12
3
75
0.505882
{"def": 1, "\u0120add": 3, "(x": 1, ":": 2, "\u0120int": 2, ",": 3, "\u0120y": 4, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Add": 1, "\u0120two": 1, "\u0120numbers": 1, "\u0120x": 3, "\u0120and": 2, "\u010a": 7, "\u0120>>>": 2, "(": 2, "2": 2, "\u0120": 4, "3": 1, ")\u010a": 2, "5": 2, "7": 1, "1": 1...
5.012629
0.017504
0.66517
1
false
HumanEval/54
same_chars
false
false
0
0
null
SyntaxError
26
201
944.788
22.5
21,257.739
1,180.985
16
77.145
43
28
34.88
0.133949
{"def": 1, "\u0120same": 8, "_chars": 7, "(s": 29, "0": 19, ":": 2, "\u0120str": 2, ",": 1, "\u0120s": 1, "1": 24, "):\u010a": 2, "\u0120\u0120\u0120": 29, "\u0120\"\"\"\u010a": 2, "\u0120Check": 1, "\u0120if": 15, "\u0120two": 1, "\u0120words": 1, "\u0120have": 1, "\u0120the": 1, "\u0120characters": 1, ".\u010a": 1, "...
5.053502
0.00316
0.94802
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.003813
0.71553
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
-0
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.005812
0.64474
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.002133
0.63997
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
-0
1
false
HumanEval/61
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.120104
{"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, "\u0120and": 1, "\u0120\")\"": 1, ".\u010a": 1,...
4.078407
0.000559
0.16759
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
-0
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.942352
0.003338
0.7892
1
false
HumanEval/64
vowels_count
false
false
0
0
null
SyntaxError
26
47
220.921
3.909
863.599
47.978
2
105.17
null
null
null
0.168293
{"def": 1, "\u0120vowels": 16, "_count": 12, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 36, "\u0120\"\"\"": 4, "Write": 4, "\u0120a": 16, "\u0120function": 4, "\u0120which": 4, "\u0120takes": 4, "\u0120string": 8, "\u0120representing": 4, "\u010a": 14, "\u0120word": 8, "\u0120as": 4, "\u0120input": 4, "\u0120and": 4...
5.705503
0.001573
0.47177
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.067277
1.62666
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.241558
{"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.825993
0.009665
0.6149
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.001047
0.31401
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.005781
0.99561
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
73
320.639
20
6,412.783
356.266
4
111.048
15
5
66.67
0.398907
{"def": 1, "\u0120triangle": 7, "_area": 3, "(a": 1, ",": 6, "\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": 1, "\u01...
5.730769
0.023785
0.9826
1
false
HumanEval/72
will_it_fly
true
false
0
1
null
IndexError
35
160
820.685
7.852
6,443.899
357.994
2
71.026
70
53
18.57
0.157088
{"def": 1, "\u0120will": 7, "_it": 5, "_f": 5, "ly": 5, "(q": 1, ",w": 1, "):\u010a": 1, "\u0120\u0120\u0120": 39, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120True": 28, "\u0120if": 28, "\u0120the": 7, "\u0120object": 2, "\u0120q": 28, "\u0120fl...
5.397832
0.003243
0.973
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
true
false
0
1
null
AssertionError
14
61
232.249
44
10,218.941
567.719
2
99.459
26
13
42.31
0.261194
{"def": 1, "\u0120total": 7, "_match": 6, "(lst": 9, "1": 10, ",": 2, "\u0120lst": 7, "2": 8, "):\u010a": 5, "\u0120\u0120\u0120": 17, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120accepts": 1, "\u0120two": 2, "\u0120lists": 2, "\u0120of": 4, "\u0120strings": 2, "\u0...
5.578575
0.033305
0.99016
1
false
HumanEval/75
is_multiply_prime
false
false
0
0
null
SyntaxError
31
107
530.099
5
2,650.495
147.25
3
73.371
59
52
11.86
0.154255
{"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.625821
0.011757
0.89779
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.087159
0.51764
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.004819
0.49443
1
false
HumanEval/78
hex_key
false
false
0
0
null
SyntaxError
13
77
284.934
25.6
7,294.307
405.239
2
89.002
41
12
70.73
0.20197
{"def": 1, "\u0120hex": 1, "_key": 1, "(num": 1, "):\u010a": 1, "\u0120\u0120\u0120": 40, "\u0120\"\"\"": 1, "You": 1, "\u0120have": 2, "\u0120been": 1, "\u0120tasked": 1, "\u0120to": 13, "\u0120write": 1, "\u0120a": 18, "\u0120function": 1, "\u0120that": 3, "\u0120receives": 1, "\u0120\u010a": 5, "\u0120hexadecimal": ...
5.979012
0.012011
0.96144
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.028177
0.008963
1
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
96.123
68
1
95.59
0.193262
{"def": 1, "\u0120numerical": 1, "_letter": 1, "_grade": 1, "(": 1, "grades": 1, "):\u010a": 1, "\u0120\u0120\u0120": 52, "\u0120\"\"\"": 1, "It": 1, "\u0120is": 2, "\u0120the": 6, "\u0120last": 1, "\u0120week": 1, "\u0120of": 3, "\u0120semester": 1, "\u0120and": 2, "\u0120teacher": 2, "\u0120has": 4, "\u0120to": 3, "\...
5.222383
0.002076
0.62277
1
false
HumanEval/82
prime_length
true
false
0
1
null
ZeroDivisionError
15
35
136.741
9.143
1,250.205
69.456
4
98.608
24
9
62.5
0.336585
{"def": 1, "\u0120prime": 17, "_length": 5, "(string": 2, "):\u010a": 2, "\u0120\u0120\u0120": 19, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 7, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 4, "\u0120and": 1, "\u0120returns": 1, "\u0120True": 6, "\u0120if": 3, "\u0120the": 11, "\u010a": 17, "\...
5.392623
0.024427
1.14685
1
false
HumanEval/83
starts_one_ends
true
false
0
1
null
AssertionError
29
119
578.1
7.188
4,155.092
230.838
2
74.756
51
47
7.84
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": 24, "\u0120the": 2, "\u0120count": 1, "\u0120of": 2, "\u0120numbers": 1, "-digit...
4.315352
0
-0
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.00333
0.9989
1
false
HumanEval/85
add
true
false
0
1
null
UnboundLocalError
19
37
157.173
11
1,728.906
96.05
5
125.754
8
2
50
0.674699
{"def": 1, "\u0120add": 3, "(lst": 2, "):\u010a": 1, "\u0120\u0120\u0120": 4, "\u0120\"\"\"": 1, "Given": 1, "\u0120a": 1, "\u0120non": 1, "-empty": 1, "\u0120list": 1, "\u0120of": 1, "\u0120integers": 1, "\u0120lst": 3, ".": 2, "\u0120the": 1, "\u0120even": 1, "\u0120elements": 1, "\u0120that": 1, "\u0120are": 1, "\u0...
5.547678
0.102337
1.01417
1
false
HumanEval/86
anti_shuffle
false
false
0
0
null
SyntaxError
32
263
1,315
16
21,040
1,168.889
3
69.27
62
50
17.74
0.224057
{"def": 1, "\u0120anti": 4, "_shuffle": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 36, "\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.185457
0.002485
0.39619
1
false
HumanEval/87
get_row
false
false
0
0
null
SyntaxError
37
231
1,203.384
8
9,627.07
534.837
3
67.371
null
null
null
0.19349
{"def": 1, "\u0120get": 4, "_row": 4, "(lst": 1, ",": 34, "\u0120x": 3, "):\u010a": 1, "\u0120\u0120\u0120": 44, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 4, "\u0120": 13, "2": 21, "\u0120dimensional": 1, "\u0120data": 1, "\u0120as": 1, "\u0120nested": 1, "\u0120lists": 1, ",...
5.430286
0.002385
0.71553
1
false
HumanEval/88
sort_array
false
false
0
0
null
IndentationError
14
244
928.995
170.5
158,393.579
8,799.643
3
74.613
54
40
22.22
0.153226
{"def": 1, "\u0120sort": 7, "_array": 5, "(array": 1, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 1, "\u0120array": 60, "\u0120of": 2, "\u0120non": 1, "-negative": 1, "\u0120integers": 1, ",": 25, "\u0120return": 20, "\u0120a": 1, "\u0120copy": 1, "\u0120the": 5, "\u0...
5.184429
0.006033
0.81272
1
false
HumanEval/89
encrypt
true
false
0
1
null
AssertionError
20
79
341.432
14.5
4,950.769
275.043
5
92.694
27
10
62.96
0.443662
{"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": 2, "\u0120an": 3, "\u0120argument": 1, "\u0120and": 1, "\u010a": 9, "\u0120returns": 5, "\u0120encrypted":...
6.49151
0.039003
1.07537
1
false
HumanEval/90
next_smallest
true
false
0
1
null
AssertionError
30
213
1,045.168
17.273
18,052.897
1,002.939
2
73.84
51
41
17.65
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"...
4.994994
0.00255
0.76507
1
false
HumanEval/91
is_bored
true
false
0
1
null
AssertionError
15
23
89.858
6.857
616.172
34.232
3
108.073
21
6
66.67
0.508287
{"def": 1, "\u0120is": 7, "_b": 3, "ored": 3, "(S": 1, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "'ll": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 3, "\u0120string": 2, "\u0120of": 4, "\u0120words": 1, ",": 1, "\u0120and": 1, "\u0120your": 1, "\u0120task": 1, "\u0120to": 3, "...
6.014403
0.028137
1.14911
1
false
HumanEval/92
any_int
true
false
0
1
null
AssertionError
11
26
89.945
16
1,439.124
79.951
3
129.117
19
2
52.63
0.462069
{"def": 1, "\u0120any": 6, "_int": 5, "(x": 1, ",": 11, "\u0120y": 2, "\u0120z": 2, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\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.59681
0.181781
1.2251
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.00205
0.6149
1
false
HumanEval/94
skjkasdkd
true
false
0
1
null
UnboundLocalError
25
60
278.631
17.818
4,964.704
275.817
4
85.705
40
14
62.5
0.173913
{"def": 1, "\u0120sk": 1, "jk": 1, "as": 1, "dk": 1, "d": 1, "(lst": 1, "):\u010a": 2, "\u0120\u0120\u0120": 15, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 5, "\u0120list": 6, "\u0120of": 9, "\u0120integers": 1, ".\u010a": 1, "\u0120You": 1, "\u0120need": 1, "\u0120to": 10, "\u0120find": ...
5.693791
0.007094
0.91607
1
false
HumanEval/95
check_dict_case
true
false
0
1
null
AssertionError
12
22
78.869
5.6
441.667
24.537
2
116.304
17
6
64.71
0.390863
{"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.703275
0.027966
0.51764
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.027437
0.74047
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.002585
0.6904
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
-