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.132248
0.82191
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.000526
0.15785
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.020144
0.11635
1
false
HumanEval/3
below_zero
false
false
0
0
null
SyntaxError
22
30
133.783
6
802.698
44.594
2
103.527
null
null
null
0.179177
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 6, "\u010a": 13, "def": 1, "\u0120below": 8, "_zero": 3, "(": 1, "operations": 1, ":": 9, "[int": 5, "])": 1, "\u0120->": 1, "\u0120bool": 5, ":\u010a": 1, "\u0120\u0120\u0120": 35, "\u0120\"\"\"": 1, "\u0120You": 5, "'re": 5, "\u0120given": 5, "\u0120a": ...
5.82277
0.004759
0.81272
1
false
HumanEval/4
mean_absolute_deviation
true
false
0
1
null
AssertionError
19
38
161.421
11
1,775.634
98.646
2
115.077
13
5
61.54
0.578571
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 5, "def": 1, "\u0120mean": 3, "_absolute": 2, "_dev": 2, "iation": 4, "(numbers": 2, ":": 1, "[float": 1, "])": 2, "\u0120->": 1, "\u0120float": 1, ":\u010a": 2, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 2, "\u012...
5.992073
0.107647
1.13394
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.000793
0.23791
1
false
HumanEval/7
filter_by_substring
true
true
1
0
null
null
15
30
117.207
13
1,523.687
84.649
3
111.851
14
3
71.43
0.476821
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120filter": 3, "_by": 4, "_sub": 4, "string": 4, "(strings": 2, ":": 3, "[str": 2, "],": 1, "\u0120substring": 5, "\u0120str": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Filter"...
5.721084
0.019832
0.56551
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
505
2,020
117.7
237,754
13,208.556
1
79.048
null
null
null
0.162844
{"def": 2, "\u0120is": 13, "_pal": 14, "indrome": 14, "(string": 11, ":": 2, "\u0120str": 3, ")": 2, "\u0120->": 2, "\u0120bool": 1, ":\u010a": 4, "\u0120\u0120\u0120": 23, "\u0120\"\"\"": 2, "\u0120Test": 1, "\u0120if": 11, "\u0120given": 1, "\u0120string": 18, "\u0120a": 4, "\u0120palindrome": 3, "\u0120\"\"\"\u010a"...
4.746597
0.003851
1.03162
2
false
HumanEval/11
string_xor
true
false
0
1
null
AssertionError
27
93
442.205
17.643
7,801.751
433.431
6
89.412
24
13
45.83
0.465753
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 7, "def": 1, "\u0120string": 4, "_xor": 2, "(a": 3, ":": 2, "\u0120str": 3, ",": 4, "\u0120b": 3, ")": 2, "\u0120->": 1, ":\u010a": 3, "\u0120\u0120\u0120": 15, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120are": 3, "\u0120two": 1, "\u0120string...
6.212229
0.01174
0.76507
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
13
49
181.322
19.2
3,481.374
193.41
1
104.883
16
10
37.5
0.314961
{"def": 1, "\u0120greatest": 6, "_common": 5, "_div": 5, "isor": 5, "(a": 3, ":": 2, "\u0120int": 3, ",": 5, "\u0120b": 9, ")": 1, "\u0120->": 1, ":\u010a": 5, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 8, "\u0120common": 1, "\u0120divisor": 1, "\u0120of": 1, "\u0120two": 1, "\u0120integ...
4.938449
0.0171
0.83549
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
-0
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
23
81
366.409
18.545
6,795.213
377.512
11
80.643
45
21
48.89
0.270386
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 24, "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.080349
0.012559
0.9826
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.000839
0.25178
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.531915
{"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.066585
0.020071
0.9989
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
-0
1
false
HumanEval/21
rescale_to_unit
true
false
0
1
null
AssertionError
20
59
254.994
18.75
4,781.133
265.618
5
93.336
23
11
52.17
0.372263
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 9, "def": 1, "\u0120res": 2, "cale": 2, "_to": 2, "_unit": 2, "(numbers": 3, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120list": 10, "\u0120of": 1, "\u0120num...
6.001683
0.045851
0.94802
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
102.809
16
6
62.5
0.470588
{"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": 3, "\u0120given": 1, "\u0120number": 3, "\u0120n": 7, ",": 4, "\u0120find": 1, "\u0120the": 6, "\u0120that": 1, "\u0120divide...
5.652375
0.012443
0.74047
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.002385
0.71553
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.003205
0.96144
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.039289
1.35052
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.016077
0.74047
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.019023
0.26632
1
false
HumanEval/30
get_positive
true
true
1
0
null
null
16
26
104
9.167
953.333
52.963
3
105.904
17
6
64.71
0.365079
{"def": 1, "\u0120get": 3, "_positive": 3, "(l": 1, ":": 1, "\u0120list": 6, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120only": 1, "\u0120positive": 7, "\u0120numbers": 3, "\u0120in": 2, "\u0120the": 6, ".\u010a": 1, "\u0120>>>": 2, "([-": 1, "1": 6, ",": 23, "\u0120": 19, "2": 6, "\...
5.325186
0.0266
0.973
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.00535
0.99016
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.002976
0.13986
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.00672
0.83549
1
false
HumanEval/34
unique
true
false
0
1
null
AssertionError
15
27
105.486
11
1,160.347
64.464
3
105.83
15
6
60
0.421769
{"def": 1, "\u0120unique": 9, "(l": 1, ":": 1, "\u0120list": 7, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120elements": 3, "\u0120in": 4, "\u0120a": 1, "\u010a": 6, "\u0120>>>": 1, "([": 1, "5": 3, ",": 14, "\u0120": 13, "3": 6, "2": 4, "9": 2, "0": 2, "1": 2, "])\u...
5.271837
0.031267
0.973
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.002214
0.66424
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.000809
0.13986
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.00333
0.9989
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.003049
0.44972
4
false
HumanEval/39
prime_fib
true
false
0
1
null
AssertionError
29
72
349.775
4.271
1,493.829
82.991
2
86.1
40
27
32.5
0.146758
{"def": 1, "\u0120prime": 8, "_f": 7, "ib": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 26, "\u0120\"\"\"\u010a": 2, "\u0120returns": 1, "\u0120n": 14, "-th": 1, "\u0120number": 2, "\u0120that": 1, "\u0120is": 1, "\u0120a": 1, "\u0120Fibonacci": 1, "\u0120and": 1, "\u0120it": 1, "'s": 1, "\...
4.755312
0.055161
1.10063
1
false
HumanEval/40
triples_sum_to_zero
false
false
0
0
null
SyntaxError
9
11
34.869
2.4
83.686
4.649
2
113.226
null
null
null
0.12362
{"def": 1, "\u0120triples": 7, "_sum": 7, "_to": 7, "_zero": 7, "(l": 1, ":": 1, "\u0120list": 18, "):\u010a": 1, "\u0120\u0120\u0120": 38, "\u0120\"\"\"\u010a": 17, "\u0120takes": 9, "\u0120a": 17, "\u0120of": 9, "\u0120integers": 9, "\u0120as": 9, "\u0120an": 9, "\u0120input": 9, ".\u010a": 8, "\u0120it": 1, "\u0120r...
5.428362
0.010078
0.9826
1
false
HumanEval/41
car_race_collision
true
false
0
1
null
AssertionError
19
36
152.925
9.444
1,444.295
80.239
4
98.026
27
9
62.96
0.427509
{"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.187121
0.02201
0.99561
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.022905
0.99016
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.001725
0.51764
1
false
HumanEval/44
change_base
true
false
0
1
null
AssertionError
34
199
1,012.405
10.5
10,630.254
590.57
2
71.181
59
49
16.95
0.130435
{"def": 1, "\u0120change": 4, "_base": 4, "(x": 24, ":": 2, "\u0120int": 2, ",": 4, "\u0120base": 28, "):\u010a": 1, "\u0120\u0120\u0120": 34, "\u0120\"\"\"": 1, "Change": 1, "\u0120numerical": 1, "\u0120of": 1, "\u0120input": 1, "\u0120number": 1, "\u0120x": 1, "\u0120to": 1, ".\u010a": 3, "\u0120return": 25, "\u0120s...
4.642731
0.005731
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
117.919
12
2
75
0.465116
{"def": 1, "\u0120triangle": 5, "_area": 4, "(a": 1, ",": 4, "\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>>>...
5.010397
0.066529
0.69915
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.000388
0.11635
1
false
HumanEval/48
is_palindrome
true
false
0
1
null
AssertionError
18
41
170.967
10
1,709.669
94.982
3
97.676
27
8
70.37
0.378505
{"def": 1, "\u0120is": 9, "_pal": 5, "indrome": 5, "(text": 1, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 20, "\u0120\"\"\"\u010a": 2, "\u0120Checks": 1, "\u0120if": 3, "\u0120given": 1, "\u0120string": 7, "\u0120a": 4, "\u0120palindrome": 4, "\u010a": 14, "\u0120>>>": 4, "('')\u010a": 1, "\u0120True"...
5.696593
0.036814
0.83549
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
-0
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.004718
0.63997
7
false
HumanEval/51
remove_vowels
true
false
0
1
null
AssertionError
15
27
105.486
11
1,160.347
64.464
3
123.627
18
3
83.33
0.433333
{"def": 1, "\u0120remove": 8, "_v": 8, "ow": 8, "els": 8, "(text": 1, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 2, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120without": 1, "\u0120vowels": 3, ".\u0...
5.417142
0.042675
1.13911
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.019441
0.94802
1
false
HumanEval/53
add
true
false
0
1
null
AssertionError
12
65
233.023
20
4,660.451
258.914
2
82.434
45
19
57.78
0.117816
{"def": 1, "\u0120add": 3, "(x": 1, ":": 2, "\u0120int": 2, ",": 3, "\u0120y": 2, "):\u010a": 1, "\u0120\u0120\u0120": 44, "\u0120\"\"\"": 1, "Add": 1, "\u0120two": 1, "\u0120numbers": 1, "\u0120x": 1, "\u0120and": 1, "\u010a": 40, "\u0120>>>": 2, "(": 2, "2": 2, "\u0120": 22, "3": 1, ")\u010a": 2, "5": 2, "7": 1, "1":...
4.331764
0.003319
0.51764
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
-0
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.001405
0.15785
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.008565
0.92046
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.000839
0.25178
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.000413
0.12375
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
-0
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.000839
0.25178
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.000888
0.26632
1
false
HumanEval/64
vowels_count
false
false
0
0
null
SyntaxError
26
46
216.22
3.818
825.568
45.865
2
103.737
null
null
null
0.167883
{"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.703695
0.004449
0.9989
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.084279
1.75999
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
20
62
267.96
14
3,751.434
208.413
8
86.106
39
17
56.41
0.225263
{"def": 1, "\u0120fruit": 6, "_distribution": 5, "(s": 1, ",n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 27, "\u0120\"\"\"\u010a": 2, "\u0120In": 1, "\u0120this": 2, "\u0120task": 1, ",": 7, "\u0120you": 1, "\u0120will": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 8, "\u0120string": 3, "\u0120that": 4, "\u0120represe...
5.964153
0.008965
0.94802
1
false
HumanEval/68
pluck
false
false
0
0
null
SyntaxError
35
229
1,174.606
7.125
8,369.066
464.948
3
67.497
null
null
null
0.183908
{"def": 1, "\u0120pl": 4, "uck": 2, "(arr": 1, "):\u010a": 1, "\u0120\u0120\u0120": 42, "\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.611461
0.004835
0.93285
1
false
HumanEval/69
search
true
false
0
1
null
AssertionError
18
47
195.986
33.25
6,516.55
362.031
5
93.873
29
11
62.07
0.283077
{"def": 1, "\u0120search": 4, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120'''\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 6, "\u0120non": 1, "-empty": 1, "\u0120list": 3, "\u0120of": 8, "\u0120positive": 1, "\u0120integers": 1, ".": 2, "\u0120Return": 1, "\u0120the": 17, "\u01...
5.816178
0.002092
0.3493
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.001047
0.31401
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.011025
0.59005
1
false
HumanEval/72
will_it_fly
false
false
0
0
null
SyntaxError
34
159
808.907
8.154
6,595.7
366.428
3
70.574
71
54
18.31
0.156489
{"def": 1, "\u0120will": 7, "_it": 5, "_f": 5, "ly": 5, "(q": 1, ",w": 1, "):\u010a": 1, "\u0120\u0120\u0120": 40, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120True": 4, "\u0120if": 29, "\u0120the": 7, "\u0120object": 2, "\u0120q": 28, "\u0120fly...
5.397822
0
-0
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
205
780.508
165
128,783.78
7,154.654
3
75.128
54
40
22.22
0.151951
{"def": 1, "\u0120total": 7, "_match": 6, "(lst": 35, "1": 32, ",": 2, "\u0120lst": 20, "2": 25, "):\u010a": 18, "\u0120\u0120\u0120": 32, "\u0120'''\u010a": 2, "\u0120Write": 2, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120accepts": 1, "\u0120two": 2, "\u0120lists": 2, "\u0120of": 4, "\u0120strings": 2, ...
5.243584
0.005077
0.83549
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.006928
0.91607
1
false
HumanEval/76
is_simple_power
true
false
0
1
null
AssertionError
33
111
559.928
6
3,359.566
186.643
2
73.014
64
53
17.19
0.130734
{"def": 1, "\u0120is": 10, "_simple": 7, "_power": 7, "(x": 1, ",": 7, "\u0120n": 5, "):\u010a": 1, "\u0120\u0120\u0120": 37, "\u0120\"\"\"": 1, "Your": 1, "\u0120task": 1, "\u0120to": 1, "\u0120write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120true": 4, "\u0120if": 28, "\u0120nu...
4.7991
0.002858
0.85736
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.005774
1
1
false
HumanEval/78
hex_key
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
131.718
21
1
95.24
0.345679
{"def": 1, "\u0120hex": 1, "_key": 1, "(num": 1, "):\u010a": 1, "\u0120\u0120\u0120": 20, "\u0120\"\"\"": 1, "You": 1, "\u0120have": 2, "\u0120been": 1, "\u0120tasked": 1, "\u0120to": 2, "\u0120write": 1, "\u0120a": 7, "\u0120function": 1, "\u0120that": 3, "\u0120receives": 1, "\u0120\u010a": 5, "\u0120hexadecimal": 2,...
5.981898
0.081519
0.973
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.00279
0.56551
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.195382
{"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.237207
0.006187
1.50674
1
false
HumanEval/82
prime_length
true
false
0
1
null
ZeroDivisionError
15
33
128.927
8.571
1,105.092
61.394
4
98.914
24
9
62.5
0.346535
{"def": 1, "\u0120prime": 16, "_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": 2, "\u0120the": 11, "\u010a": 17, "\...
5.415369
0.013184
0.66517
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.001885
0.56551
1
false
HumanEval/85
add
true
false
0
1
null
AssertionError
16
25
100
12.1
1,210
67.222
4
128.336
8
2
50
0.666667
{"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.34529
0.137328
1
1
false
HumanEval/86
anti_shuffle
true
false
0
1
null
IndexError
33
184
928.169
10.5
9,745.769
541.432
2
70.386
65
53
16.92
0.220379
{"def": 1, "\u0120anti": 4, "_shuffle": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 37, "\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.119021
0.000322
0.09651
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.000593
0.17787
1
false
HumanEval/88
sort_array
false
false
0
0
null
SyntaxError
17
318
1,299.813
81.429
105,841.931
5,880.107
2
84.725
null
null
null
0.150905
{"def": 1, "\u0120sort": 7, "_array": 5, "(array": 1, "):\u010a": 1, "\u0120\u0120\u0120": 21, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 1, "\u0120array": 53, "\u0120of": 2, "\u0120non": 1, "-negative": 1, "\u0120integers": 1, ",": 25, "\u0120return": 10, "\u0120a": 1, "\u0120copy": 1, "\u0120the": 5, "\u0...
5.240314
0.009489
0.99016
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.016354
0.94802
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.000526
0.15785
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.516854
{"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.013644
0.032882
0.91607
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.412162
{"def": 1, "\u0120any": 6, "_int": 5, "(x": 1, ",": 11, "\u0120y": 4, "\u0120z": 4, "):\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.494493
0.084021
0.72708
1
false
HumanEval/93
encode
false
false
0
0
null
SyntaxError
20
311
1,344.12
49.5
66,533.922
3,696.329
22
77.687
null
null
null
0.205955
{"def": 1, "\u0120encode": 3, "(message": 1, "):\u010a": 1, "\u0120\u0120\u0120": 23, "\u0120\"\"\"\u010a": 2, "\u0120Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 4, "\u0120takes": 1, "\u0120message": 42, ",": 2, "\u0120and": 20, "\u0120enc": 1, "odes": 1, "\u0120in": 3, "\u0120such": 1, "\u0120\u010a": ...
5.256318
0.028051
1.4169
1
false
HumanEval/94
skjkasdkd
false
false
0
0
null
SyntaxError
15
104
406.317
46
18,690.565
1,038.365
16
76.733
49
22
53.06
0.138486
{"def": 1, "\u0120sk": 1, "jk": 1, "as": 1, "dk": 1, "d": 1, "(lst": 1, "):\u010a": 7, "\u0120\u0120\u0120": 27, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 1, "\u0120list": 16, "\u0120of": 2, "\u0120integers": 1, ".\u010a": 1, "\u0120You": 1, "\u0120need": 1, "\u0120to": 9, "\u0120find": ...
5.481101
0.01898
1
1
false
HumanEval/95
check_dict_case
true
false
0
1
null
AssertionError
15
52
203.158
11.429
2,321.809
128.989
4
103.601
21
10
52.38
0.343348
{"def": 1, "\u0120check": 6, "_dict": 6, "_case": 6, "(dict": 1, "):\u010a": 4, "\u0120\u0120\u0120": 16, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120dictionary": 2, ",": 3, "\u0120return": 13, "\u0120True": 4, "\u0120if": 5, "\u0120all": 5, "\u0120keys": 2, "\u0120are": 2, "\u0120strings": 2, "\u01...
5.761154
0.01247
0.83549
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.363636
{"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.758179
0.013743
1.02116
1
false
HumanEval/98
count_upper
true
true
1
0
null
null
20
35
151.267
11.25
1,701.759
94.542
4
105.135
18
6
61.11
0.47205
{"def": 1, "\u0120count": 11, "_upper": 4, "(s": 2, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 3, "\u0120string": 2, "\u0120s": 2, ",": 2, "\u0120the": 7, "\u0120number": 1, "\u0120of": 3, "\u0120uppercase": 3, "\u0120vowels": 3, "\u0120in": 5, "\u0120even": 4, "\u012...
5.730665
0.028758
0.96144
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
-