Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
string
entry_point
string
is_executable
bool
is_correct
bool
tests_passed
int64
tests_failed
int64
test_run_time_ms
null
error_type
string
halstead_vocabulary
int64
halstead_length
int64
halstead_volume
float64
halstead_difficulty
float64
halstead_effort
float64
halstead_time
float64
cyclomatic_complexity
int64
maintainability_index
float64
loc
int64
sloc
int64
comment_percentage
float64
TTR
float64
token_dict
string
shannon_entropy
float64
mean_predictive_entropy
float64
max_predictive_entropy
float64
n_func_defined
int64
entry_point_repeated
bool
HumanEval/0
has_close_elements
false
false
0
0
null
SyntaxError
38
173
907.891
14.87
13,500.682
750.038
3
72.179
54
47
12.96
0.145933
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 26, "def": 1, "\u0120has": 3, "_close": 3, "_elements": 3, "(numbers": 23, ":": 2, "[float": 1, "],": 3, "\u0120threshold": 2, "\u0120float": 1, ")": 23, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 23, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": ...
4.909395
0.003916
0.99704
1
false
HumanEval/1
separate_paren_groups
false
false
0
0
null
IndentationError
32
196
980
17.5
17,150
952.778
3
74.735
46
39
15.22
0.244499
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 3, "def": 1, "\u0120separate": 4, "_p": 2, "aren": 2, "_groups": 2, "(paren": 19, "_string": 37, ":": 2, "\u0120str": 1, ")": 20, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 26, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to...
5.417157
0.009127
0.93285
1
false
HumanEval/2
truncate_number
true
false
0
1
null
AssertionError
8
10
30
4.5
135
7.5
2
126.781
12
1
83.33
0.59596
{"def": 1, "\u0120truncate": 2, "_number": 2, "(number": 1, ":": 1, "\u0120float": 2, ")": 2, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 1, "\u0120floating": 1, "\u0120point": 1, "\u0120number": 3, ",": 1, "\u0120it": 1, "\u0120can": 1, "\...
5.577709
0.194453
1.06389
1
false
HumanEval/3
below_zero
false
false
0
0
null
SyntaxError
37
189
984.587
9
8,861.28
492.293
3
69.552
null
null
null
0.20339
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 31, "def": 1, "\u0120below": 4, "_zero": 3, "(": 1, "operations": 1, ":": 1, "[int": 1, "])": 1, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 2, "\u0120\u0120\u0120": 35, "\u0120\"\"\"": 1, "\u0120You": 1, "'re": 1, "\u0120given": 1, "\u0120a": ...
5.072673
0.017707
1.43638
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.033783
0.51764
1
false
HumanEval/5
intersperse
false
false
0
0
null
SyntaxError
26
303
1,424.233
44.367
63,188.481
3,510.471
2
80.635
null
null
null
0.173575
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120inters": 3, "perse": 3, "(numbers": 10, ":": 2, "[int": 2, "],": 30, "\u0120del": 2, "imeter": 12, "\u0120int": 1, ")": 10, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"": 1, "\u0120Insert": 1, "\u01...
5.119241
0.008321
0.85736
1
false
HumanEval/6
parse_nested_parens
true
false
0
1
null
AssertionError
22
79
352.295
21.667
7,633.06
424.059
9
81.308
40
19
50
0.34127
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 15, "def": 1, "\u0120parse": 2, "_nested": 2, "_p": 2, "are": 2, "ns": 2, "(paren": 1, "_string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 21, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u012...
6.337143
0.069693
1.8364
1
false
HumanEval/7
filter_by_substring
true
true
1
0
null
null
15
30
117.207
13
1,523.687
84.649
3
123.08
9
3
66.67
0.58
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 2, "def": 1, "\u0120filter": 3, "_by": 3, "_sub": 3, "string": 3, "(strings": 1, ":": 2, "[str": 2, "],": 1, "\u0120substring": 3, "\u0120str": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Filter"...
5.569437
0
-0
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.000667
0.2001
1
false
HumanEval/9
rolling_max
false
false
0
0
null
SyntaxError
26
317
1,490.039
45.467
67,747.124
3,763.729
2
81.061
null
null
null
0.177665
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, ",": 14, "\u0120Tuple": 1, "\u010a": 3, "def": 1, "\u0120rolling": 3, "_max": 2, "(numbers": 10, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 2, "\u0120given": 2, "\u0...
5.074241
0.001104
0.3313
1
false
HumanEval/10
make_palindrome
false
false
0
0
null
IndentationError
32
323
1,615
26.714
43,143.571
2,396.865
2
70.823
56
42
19.64
0.183908
{"def": 2, "\u0120is": 23, "_pal": 24, "indrome": 24, "(string": 21, ":": 2, "\u0120str": 3, ")": 2, "\u0120->": 2, "\u0120bool": 1, ":\u010a": 4, "\u0120\u0120\u0120": 33, "\u0120\"\"\"": 2, "\u0120Test": 1, "\u0120if": 21, "\u0120given": 1, "\u0120string": 27, "\u0120a": 4, "\u0120palindrome": 3, "\u0120\"\"\"\u010a"...
5.228887
0.007332
0.92619
2
false
HumanEval/11
string_xor
true
false
0
1
null
AssertionError
11
15
51.891
5.25
272.43
15.135
2
123.932
9
2
77.78
0.625
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 2, "def": 1, "\u0120string": 3, "_xor": 2, "(a": 1, ":": 2, "\u0120str": 3, ",": 1, "\u0120b": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120are": 1, "\u0120two": 1, "\u0120strings...
5.493118
0.11778
1.18873
1
false
HumanEval/12
longest
false
false
0
0
null
SyntaxError
38
241
1,264.751
22
27,824.512
1,545.806
2
71.73
null
null
null
0.184343
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 2, "\u0120Optional": 2, "\u010a": 3, "def": 1, "\u0120longest": 5, "(strings": 40, ":": 1, "[str": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 29, "\u0120\"\"\"": 1, "\u0120Out": 1, "\u0120of": 4, "\u0120list": 2, "\u0120strings...
5.093955
0.004758
0.93285
1
false
HumanEval/13
greatest_common_divisor
true
false
0
1
null
RecursionError
15
189
738.402
72.75
53,718.769
2,984.376
2
74.173
51
45
11.76
0.112022
{"def": 1, "\u0120greatest": 18, "_common": 17, "_div": 16, "isor": 16, "(a": 7, ":": 2, "\u0120int": 3, ",": 16, "\u0120b": 30, ")": 1, "\u0120->": 1, ":\u010a": 23, "\u0120\u0120\u0120": 28, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 37, "\u0120common": 1, "\u0120divisor": 1, "\u0120of": 1, "\u0120two": 1, "\u0...
4.561583
0.004194
0.58528
1
false
HumanEval/14
all_prefixes
true
true
1
0
null
null
18
34
141.777
10.214
1,448.155
80.453
2
122.32
7
3
57.14
0.77027
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120all": 3, "_prefix": 2, "es": 2, "(string": 2, ":": 1, "\u0120str": 1, ")": 2, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 2, "\u0120pr...
5.691014
0.127204
0.99561
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.005519
0.7418
1
false
HumanEval/16
count_distinct_characters
true
false
0
1
null
AssertionError
21
41
180.085
16
2,881.36
160.076
4
99.204
20
8
60
0.469613
{"def": 1, "\u0120count": 4, "_dist": 3, "inct": 4, "_characters": 3, "(string": 1, ":": 1, "\u0120str": 1, ")": 3, "\u0120->": 1, "\u0120int": 1, ":\u010a": 4, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 1, "\u0120string": 3, ",": 3, "\u0120find": 1, "\u0120out": 1, "\u0120how": 1, "\u012...
5.938635
0.033688
0.9989
1
false
HumanEval/17
parse_music
true
false
0
1
null
AssertionError
12
14
50.189
5
250.947
13.942
2
88.154
57
2
92.98
0.189247
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 46, "def": 1, "\u0120parse": 3, "_music": 2, "(m": 1, "usic": 1, "_string": 1, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 53, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to": 3, "\u0120this":...
4.712617
0.010245
0.96144
1
false
HumanEval/18
how_many_times
false
false
0
0
null
SyntaxError
20
206
890.317
61.722
54,952.355
3,052.909
3
70.675
60
52
13.33
0.159686
{"def": 1, "\u0120how": 5, "_many": 4, "_times": 4, "(string": 2, ":": 2, "\u0120str": 2, ",": 1, "\u0120substring": 4, ")": 2, "\u0120->": 1, "\u0120int": 1, ":\u010a": 4, "\u0120\u0120\u0120": 34, "\u0120\"\"\"": 1, "\u0120Find": 1, "\u0120many": 1, "\u0120times": 1, "\u0120a": 1, "\u0120given": 1, "\u0120can": 1, "\...
4.765371
0.020372
1.5873
1
false
HumanEval/19
sort_numbers
true
false
0
1
null
AssertionError
9
11
34.869
4
139.477
7.749
2
125.999
10
2
80
0.603604
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 3, "def": 1, "\u0120sort": 2, "_numbers": 2, "(numbers": 1, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120is": 1, "\u0120a": 1, "\u0120space": 1, "-del": 1, "i...
5.597473
0.140579
1.06246
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.011397
1.05837
1
false
HumanEval/21
rescale_to_unit
true
false
0
1
null
AssertionError
22
49
218.512
12.6
2,753.253
152.959
2
108.841
12
7
41.67
0.490798
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 3, "def": 1, "\u0120res": 2, "cale": 2, "_to": 2, "_unit": 2, "(numbers": 4, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 1, "\u0120numbe...
5.794426
0.126021
1.36362
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.047305
0.70957
1
false
HumanEval/23
strlen
true
true
1
0
null
null
10
14
46.507
3.75
174.401
9.689
1
117.117
14
2
78.57
0.507937
{"def": 1, "\u0120strlen": 5, "(string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "\u0120int": 1, ":\u010a": 2, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120length": 1, "\u0120of": 1, "\u0120given": 1, "\u0120string": 1, "\u010a": 4, "\u0120>>>": 4, "('')\u010a": 2, "\u0120": 4, "0": 2...
4.661871
0.09475
1.41027
1
false
HumanEval/24
largest_divisor
true
false
0
1
null
AssertionError
8
10
30
4.5
135
7.5
2
130.396
7
2
71.43
0.696429
{"def": 1, "\u0120largest": 3, "_div": 2, "isor": 2, "(n": 1, ":": 1, "\u0120int": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 6, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 1, "\u0120given": 1, "\u0120number": 2, "\u0120n": 3, ",": 2, "\u0120find": 1, "\u0120the": 1, "\u0120that": 1, "\u0120divides...
5.061383
0.112055
0.7892
1
false
HumanEval/25
factorize
false
false
0
0
null
SyntaxError
33
183
923.124
17.391
16,054.333
891.907
3
73.502
53
43
18.87
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": 31, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 5, "\u0120prime": 1, "\u01...
5.065234
0.006686
1
1
false
HumanEval/26
remove_duplicates
true
false
0
1
null
AssertionError
18
37
154.287
15
2,314.308
128.573
3
102.556
17
7
58.82
0.51875
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 6, "def": 1, "\u0120remove": 3, "_duplicates": 2, "(numbers": 1, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 1, "\u0120list": 5, "\u0120of": 2, "\u0120integ...
5.894829
0.052386
0.91607
1
false
HumanEval/27
flip_case
true
true
1
0
null
null
10
15
49.829
5.833
290.669
16.148
1
127.987
8
2
62.5
0.764706
{"def": 1, "\u0120flip": 3, "_case": 2, "(string": 1, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 1, "\u0120given": 1, "\u0120string": 2, ",": 1, "\u0120lowercase": 2, "\u0120characters": 1, "\u0120to": 2, "\u0120uppercase": 2, "\u0...
5.116258
0.166597
1.17015
1
false
HumanEval/28
concatenate
true
true
1
0
null
null
13
19
70.308
7.875
553.678
30.76
1
126.197
9
3
66.67
0.736842
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120concatenate": 3, "(strings": 2, ":": 1, "[str": 1, "])": 1, "\u0120->": 1, "\u0120str": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Concat": 1, "enate": 1, "\u0120list": 1, "\u0120of": 1, "\u0120stri...
5.14585
0.122786
0.7892
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
-0
1
false
HumanEval/30
get_positive
true
true
1
0
null
null
12
16
57.359
7
401.516
22.306
3
126.795
10
2
70
0.348837
{"def": 1, "\u0120get": 3, "_positive": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120only": 1, "\u0120positive": 1, "\u0120numbers": 1, "\u0120in": 2, "\u0120the": 1, ".\u010a": 1, "\u0120>>>": 2, "([-": 1, "1": 6, ",": 22, "\u0120": 19, "2": 6, "\u...
4.656422
0.016287
0.94802
1
false
HumanEval/31
is_prime
true
true
1
0
null
null
19
44
186.909
10.556
1,972.926
109.607
2
103.085
27
11
59.26
0.287356
{"def": 1, "\u0120is": 9, "_prime": 8, "(n": 2, "):\u010a": 2, "\u0120\u0120\u0120": 21, "\u0120\"\"\"": 1, "Return": 1, "\u0120true": 1, "\u0120if": 5, "\u0120a": 1, "\u0120given": 1, "\u0120number": 1, "\u0120prime": 1, ",": 3, "\u0120and": 1, "\u0120false": 1, "\u0120otherwise": 1, ".\u010a": 1, "\u0120>>>": 7, "(":...
5.03203
0.011704
0.49443
1
false
HumanEval/32
find_zero
false
false
0
0
null
SyntaxError
40
293
1,559.325
47.455
73,997.056
4,110.948
5
80.135
39
22
38.46
0.205405
{"import": 1, "\u0120math": 2, "\u010a": 9, "def": 2, "\u0120poly": 2, "(xs": 10, ":": 3, "\u0120list": 3, ",": 9, "\u0120x": 7, "\u0120float": 1, "):\u010a": 2, "\u0120\u0120\u0120": 25, "\u0120\"\"\"\u010a": 3, "\u0120Evalu": 1, "ates": 1, "\u0120polynomial": 2, "\u0120with": 1, "\u0120coefficients": 4, "\u0120xs": 2...
5.924591
0.037177
1.56491
2
false
HumanEval/33
sort_third
true
false
0
1
null
TypeError
6
7
18.095
2
36.189
2.011
2
133.025
11
1
90.91
0.410256
{"def": 1, "\u0120sort": 3, "_third": 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": 3, "\u010a": 3, "\u0120is": 1, "...
5.426898
0.227737
1.17628
1
false
HumanEval/34
unique
true
false
0
1
null
AssertionError
6
7
18.095
2
36.189
2.011
2
133.025
7
1
85.71
0.390244
{"def": 1, "\u0120unique": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 6, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120elements": 1, "\u0120in": 1, "\u0120a": 1, "\u010a": 2, "\u0120>>>": 1, "([": 1, "5": 3, ",": 13, "\u0120": 13, "3": 6, "2": 4, "9": 2, "0": 2, "1": 2, "])\u0...
4.372909
0.360215
1.34262
1
false
HumanEval/35
max_element
false
false
0
0
null
IndentationError
24
312
1,430.508
38.4
54,931.519
3,051.751
3
81.733
28
22
21.43
0.12336
{"def": 1, "\u0120max": 11, "_element": 3, "(l": 19, ":": 2, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"": 1, "Return": 1, "\u0120maximum": 1, "\u0120element": 1, "\u0120in": 1, "\u0120the": 1, ".\u010a": 1, "\u0120>>>": 2, "([": 2, "1": 14, ",": 12, "\u0120": 21, "2": 12, "3": 14, "])\u010a...
4.749835
0.009985
0.9989
1
false
HumanEval/36
fizz_buzz
false
false
0
0
null
SyntaxError
24
87
398.892
6.579
2,624.288
145.794
3
81.572
42
34
19.05
0.124339
{"def": 1, "\u0120fizz": 4, "_b": 4, "uzz": 4, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 25, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 2, "\u0120number": 1, "\u0120of": 1, "\u0120times": 1, "\u0120digit": 1, "\u0120": 38, "7": 3, "\u0120appears": 1, "\u0120in": 1, "\u0120integers": 1, "\u...
3.857598
0.009521
0.85736
1
false
HumanEval/37
sort_even
true
false
0
1
null
TypeError
6
7
18.095
2
36.189
2.011
2
121.796
16
1
87.5
0.351955
{"def": 1, "\u0120sort": 5, "_even": 5, "(l": 1, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 5, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 1, "\u010a": 2, "\u0120is": 1, "\u...
5.268545
0.068691
1.2062
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.013
1.58099
4
false
HumanEval/39
prime_fib
true
false
0
1
null
AssertionError
37
92
479.27
4.141
1,984.476
110.249
2
80.391
48
35
27.08
0.109415
{"def": 1, "\u0120prime": 8, "_f": 7, "ib": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"\u010a": 2, "\u0120returns": 1, "\u0120n": 18, "-th": 1, "\u0120number": 2, "\u0120that": 1, "\u0120is": 1, "\u0120a": 1, "\u0120Fibonacci": 1, "\u0120and": 1, "\u0120it": 1, "'s": 1, "\...
4.68295
0.052641
1.24264
1
false
HumanEval/40
triples_sum_to_zero
true
true
1
0
null
null
21
69
303.07
15.4
4,667.276
259.293
4
103.066
25
9
60
0.355856
{"def": 1, "\u0120triples": 7, "_sum": 7, "_to": 7, "_zero": 7, "(l": 5, ":": 1, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 18, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 1, "\u0120of": 1, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 1, "\u0120it": 1, "\u0120retu...
5.653818
0.041581
1.15622
1
false
HumanEval/41
car_race_collision
true
false
0
1
null
AssertionError
6
7
18.095
2
36.189
2.011
2
129.41
15
1
86.67
0.521212
{"def": 1, "\u0120car": 3, "_race": 1, "_collision": 1, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"\u010a": 2, "\u0120Imagine": 1, "\u0120a": 6, "\u0120road": 1, "\u0120that": 3, "'s": 3, "\u0120perfectly": 1, "\u0120straight": 1, "\u0120infinitely": 2, "\u0120long": 1, "\u01...
6.035607
0.052554
0.66517
1
false
HumanEval/42
incr_list
true
true
1
0
null
null
12
15
53.774
6
322.647
17.925
2
127.361
10
2
70
0.344262
{"def": 1, "\u0120incr": 3, "_list": 3, "(l": 1, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120with": 1, "\u0120elements": 1, "\u0120incremented": 1, "\u0120by": 1, "\u0120": 22, "1": 7, ".\u010a": 1, "\u0120>>>": 2, "([": 2, ",": 20, "2": 5, "3": 7, "])\u010a":...
4.496439
0.008061
0.71553
1
false
HumanEval/43
pairs_sum_to_zero
true
false
0
1
null
AssertionError
18
41
170.967
12.571
2,149.298
119.405
3
97.676
31
9
70.97
0.340502
{"def": 1, "\u0120pairs": 8, "_sum": 7, "_to": 7, "_zero": 7, "(l": 3, "):\u010a": 1, "\u0120\u0120\u0120": 22, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 2, "\u0120list": 3, "\u0120of": 1, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 2, "\u0120it": 1, "\u0120returns": 1, "...
5.882492
0.061609
1.01971
1
false
HumanEval/44
change_base
true
false
0
1
null
AssertionError
14
34
129.45
12.6
1,631.071
90.615
2
113.727
17
5
64.71
0.455285
{"def": 1, "\u0120change": 4, "_base": 4, "(x": 4, ":": 2, "\u0120int": 2, ",": 4, "\u0120base": 7, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "Change": 1, "\u0120numerical": 1, "\u0120of": 1, "\u0120input": 1, "\u0120number": 1, "\u0120x": 1, "\u0120to": 1, ".\u010a": 3, "\u0120return": 3, "\u0120stri...
5.375975
0.02322
0.83549
1
false
HumanEval/45
triangle_area
true
true
1
0
null
null
9
12
38.039
5
190.196
10.566
1
122.823
10
2
70
0.528571
{"def": 1, "\u0120triangle": 4, "_area": 3, "(a": 1, ",": 3, "\u0120h": 2, "):\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "Given": 1, "\u0120length": 1, "\u0120of": 1, "\u0120a": 3, "\u0120side": 1, "\u0120and": 1, "\u0120high": 1, "\u0120return": 2, "\u0120area": 1, "\u0120for": 1, ".\u010a": 1, "\u0120>>>...
4.949235
0.137553
1.24223
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.003205
0.96144
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.007633
2.18707
1
false
HumanEval/48
is_palindrome
false
false
0
0
null
SyntaxError
30
160
785.102
6.8
5,338.697
296.594
3
73.624
56
44
21.43
0.136986
{"def": 1, "\u0120is": 6, "_pal": 5, "indrome": 5, "(text": 23, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 34, "\u0120\"\"\"\u010a": 2, "\u0120Checks": 1, "\u0120if": 23, "\u0120given": 1, "\u0120string": 1, "\u0120a": 1, "\u0120palindrome": 1, "\u010a": 27, "\u0120>>>": 4, "('')\u010a": 1, "\u0120Tru...
4.616618
0.012176
1.11417
1
false
HumanEval/49
modp
true
false
0
1
null
AssertionError
44
111
605.997
5.053
3,061.879
170.104
2
76.293
54
41
24.07
0.117073
{"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": 17, "^n": 1, "\u0120modulo": 1, "\u0120(": 1, "be": 1, "\u0120aware": 1, "\u0120of": 1, "\u0120numer": 1, "ics": 1, ").\u010a": 1, "\u0120...
4.643928
0.006933
1.3895
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.002235
0.21209
7
false
HumanEval/51
remove_vowels
true
false
0
1
null
AssertionError
14
21
79.954
10
799.545
44.419
3
125.068
18
3
83.33
0.431655
{"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.299007
0.034812
0.83549
1
false
HumanEval/52
below_threshold
true
true
1
0
null
null
13
20
74.009
5.25
388.546
21.586
2
114.471
14
2
78.57
0.326241
{"def": 1, "\u0120below": 6, "_threshold": 5, "(l": 1, ":": 2, "\u0120list": 2, ",": 13, "\u0120t": 3, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 3, "\u0120if": 1, "\u0120all": 2, "\u0120numbers": 1, "\u0120in": 2, "\u0120the": 1, "\u0120l": 2, "\u0120are": 1, ...
4.918349
0.028638
0.87818
1
false
HumanEval/53
add
true
true
1
0
null
null
9
14
44.379
6
266.274
14.793
1
117.361
14
2
78.57
0.392857
{"def": 1, "\u0120add": 5, "(x": 1, ":": 2, "\u0120int": 2, ",": 5, "\u0120y": 3, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Add": 1, "\u0120two": 1, "\u0120numbers": 1, "\u0120x": 2, "\u0120and": 1, "\u010a": 4, "\u0120>>>": 4, "(": 4, "2": 4, "\u0120": 8, "3": 2, ")\u010a": 4, "5": 4, "7": 2, "1": 2,...
4.687135
0.009023
0.23109
1
false
HumanEval/54
same_chars
false
false
0
0
null
IndentationError
23
168
759.958
18.933
14,388.546
799.364
4
74.656
57
42
26.32
0.131336
{"def": 1, "\u0120same": 8, "_chars": 7, "(s": 24, "0": 16, ":": 3, "\u0120str": 2, ",": 1, "\u0120s": 1, "1": 15, "):\u010a": 2, "\u0120\u0120\u0120": 36, "\u0120\"\"\"\u010a": 2, "\u0120Check": 1, "\u0120if": 22, "\u0120two": 1, "\u0120words": 1, "\u0120have": 1, "\u0120the": 1, "\u0120characters": 1, ".\u010a": 1, "...
5.011392
0.012635
0.99561
1
false
HumanEval/55
fib
true
true
1
0
null
null
14
36
137.065
11.333
1,553.401
86.3
2
106.108
19
9
47.37
0.380952
{"def": 1, "\u0120fib": 6, "(n": 3, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "Return": 1, "\u0120n": 4, "-th": 1, "\u0120Fibonacci": 1, "\u0120number": 1, ".\u010a": 1, "\u0120>>>": 3, "(": 3, "1": 8, "0": 2, ")\u010a": 4, "\u0120": 9, "5": 2, "\u010a": 5, "8": 1, "2": 4, "\u0...
4.831504
0.04487
0.99561
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.005181
0.78923
1
false
HumanEval/57
monotonic
true
false
0
1
null
AssertionError
18
39
162.627
11.786
1,916.676
106.482
2
108.469
17
7
52.94
0.431818
{"def": 1, "\u0120monot": 4, "onic": 4, "(l": 3, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 5, "\u0120is": 1, "\u0120elements": 1, "\u0120are": 1, "\u0120mon": 1, "oton": 1, "ically": 1, "\u0120increasing": 1, "\u0120or": 1, "\u0120decreasing": 1, ".\...
5.320894
0.035281
1.05432
1
false
HumanEval/58
common
false
false
0
0
null
SyntaxError
16
238
952
75.833
72,193.333
4,010.741
10
77.936
null
null
null
0.119904
{"def": 1, "\u0120common": 4, "(l": 21, "1": 40, ":": 2, "\u0120list": 2, ",": 20, "\u0120l": 8, "2": 23, "):\u010a": 1, "\u0120\u0120\u0120": 20, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120unique": 1, "\u0120elements": 1, "\u0120for": 1, "\u0120two": 1, "\u0120lists": 1, ".\u010a": 1, "\u0120>>>": 2, "(...
4.837477
0.025964
0.91607
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.004159
0.49443
1
false
HumanEval/60
sum_to_n
true
false
0
1
null
AssertionError
44
116
633.294
4.295
2,719.917
151.106
2
74.971
57
45
21.05
0.105528
{"def": 1, "\u0120sum": 6, "_to": 7, "_n": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 34, "\u0120\"\"\"": 1, "sum": 1, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120sums": 1, "\u0120numbers": 1, "\u0120from": 1, "\u0120": 49, "1": 33, "\u0120to": 1, "\u0120n": 2...
4.501562
0.007959
1.16165
1
false
HumanEval/61
correct_bracketing
true
false
0
1
null
AssertionError
31
152
753.038
11.13
8,381.639
465.647
2
74.791
55
43
20
0.16188
{"def": 1, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 21, "ackets": 21, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"": 1, "\u0120brackets": 2, "\u0120is": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 1, "\u0120\"(\"": 1, "\u0120and": 1, "\u0120\")\"": 1, ".\u010a": 1...
4.887035
0.011948
0.87818
1
false
HumanEval/62
derivative
true
false
0
1
null
AssertionError
14
34
129.45
10.8
1,398.061
77.67
2
106.405
19
5
68.42
0.305699
{"def": 1, "\u0120derivative": 6, "(xs": 2, ":": 1, "\u0120list": 1, "):\u010a": 1, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120xs": 6, "\u0120represent": 1, "\u0120coefficients": 1, "\u0120of": 2, "\u0120a": 1, "\u0120polynomial": 2, ".\u010a": 2, "[": 6, "0": 5, "]": 5, "\u0120+": 3, "1": 12, "\u0120*": 3, "\u...
5.155264
0.080279
1.09475
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
-0
1
false
HumanEval/64
vowels_count
true
false
0
1
null
AssertionError
13
23
85.11
6.417
546.123
30.34
3
111.606
19
7
57.89
0.578947
{"def": 1, "\u0120vowels": 7, "_count": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120which": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120representing": 1, "\u010a": 7, "\u0120word": 2, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\...
5.964588
0.029264
1.1711
1
false
HumanEval/65
circular_shift
true
false
0
1
null
AssertionError
15
59
230.507
21
4,840.637
268.924
1
116.408
12
4
66.67
0.445378
{"def": 1, "\u0120circular": 3, "_shift": 3, "(x": 7, ",": 5, "\u0120shift": 8, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "Circular": 1, "\u0120the": 4, "\u0120digits": 4, "\u0120of": 2, "\u0120integer": 1, "\u0120x": 1, "\u0120right": 1, "\u0120by": 1, "\u010a": 1, "\u0120and": 1, "\u0120return": 4, ...
5.326588
0.077485
1.41929
1
false
HumanEval/66
digitSum
false
false
0
0
null
SyntaxError
7
122
342.497
73.75
25,259.176
1,403.288
3
73.102
73
60
16.44
0.161836
{"def": 1, "\u0120digit": 7, "Sum": 7, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 36, "\u0120\"\"\"": 1, "Task": 1, "\u010a": 37, "\u0120Write": 2, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 1, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120the"...
4.55604
0
-0
1
false
HumanEval/67
fruit_distribution
true
false
0
1
null
AssertionError
7
7
19.651
2.5
49.129
2.729
2
93.386
56
1
98.21
0.128846
{"def": 1, "\u0120fruit": 6, "_distribution": 5, "(s": 1, ",n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 55, "\u0120\"\"\"\u010a": 2, "\u0120In": 1, "\u0120this": 2, "\u0120task": 1, ",": 3, "\u0120you": 1, "\u0120will": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 3, "\u0120string": 2, "\u0120that": 4, "\u0120represe...
4.764647
0.004432
0.96144
1
false
HumanEval/68
pluck
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
36
1
80.56
0.332298
{"def": 1, "\u0120pl": 4, "uck": 2, "(arr": 1, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"\u010a": 2, "\u0120\"": 1, "Given": 1, "\u0120an": 1, "\u0120array": 2, "\u0120representing": 1, "\u0120a": 3, "\u0120branch": 1, "\u0120of": 2, "\u0120tree": 1, "\u0120that": 2, "\u0120has": 7, "\u0120non": 1, "-negati...
6.05327
0.237841
1.15365
1
false
HumanEval/69
search
false
false
0
0
null
SyntaxError
19
243
1,032.246
61.111
63,081.724
3,504.54
28
82.577
null
null
null
0.174292
{"def": 1, "\u0120search": 4, "(lst": 7, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\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.179596
0.008138
0.94802
1
false
HumanEval/70
strange_sort_list
true
false
0
1
null
AssertionError
21
302
1,326.48
44.25
58,696.734
3,260.93
2
82.356
32
21
31.25
0.172249
{"def": 1, "\u0120strange": 5, "_sort": 4, "_list": 4, "(lst": 10, "):\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.160204
0.011183
0.9989
1
false
HumanEval/71
triangle_area
true
false
0
1
null
AssertionError
21
76
333.816
20
6,676.322
370.907
4
110.838
15
5
66.67
0.397849
{"def": 1, "\u0120triangle": 7, "_area": 3, "(a": 1, ",": 6, "\u0120b": 7, "\u0120c": 6, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120the": 7, "\u0120lengths": 1, "\u0120of": 4, "\u0120three": 2, "\u0120sides": 4, "\u0120a": 7, ".": 3, "\u0120Return": 1, "\u0120area": 1, "\u01...
5.765274
0.0331
0.96144
1
false
HumanEval/72
will_it_fly
false
false
0
0
null
IndentationError
8
106
318
52.5
16,695
927.5
3
71.991
84
66
16.67
0.150763
{"def": 1, "\u0120will": 7, "_it": 5, "_f": 5, "ly": 5, "(q": 1, ",w": 1, "):\u010a": 1, "\u0120\u0120\u0120": 47, "\u0120'''\u010a": 2, "\u0120Write": 2, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120True": 3, "\u0120if": 35, "\u0120the": 7, "\u0120object": 2, "\u0120q": 19, "\u0120fly...
5.172636
0.016805
0.99016
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.005355
0.91607
1
false
HumanEval/74
total_match
true
false
0
1
null
AssertionError
11
40
138.377
22.667
3,136.551
174.253
2
111.217
20
7
55
0.290598
{"def": 1, "\u0120total": 7, "_match": 6, "(lst": 7, "1": 7, ",": 2, "\u0120lst": 4, "2": 6, "):\u010a": 4, "\u0120\u0120\u0120": 14, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120accepts": 1, "\u0120two": 2, "\u0120lists": 2, "\u0120of": 4, "\u0120strings": 2, "\u01...
5.543528
0.054498
0.9826
1
false
HumanEval/75
is_multiply_prime
false
false
0
0
null
SyntaxError
31
105
520.191
4.904
2,550.935
141.719
3
73.469
59
52
11.86
0.153846
{"def": 1, "\u0120is": 4, "_multiply": 2, "_prime": 2, "(a": 1, "):\u010a": 1, "\u0120\u0120\u0120": 33, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 26, "\u0120function": 1, "\u0120that": 2, "\u0120returns": 1, "\u0120true": 1, "\u0120if": 27, "\u0120the": 2, "\u0120given": 1, "\u0120number": 1, "\u0120multiplication": 1...
4.609275
0.009885
1.29139
1
false
HumanEval/76
is_simple_power
false
false
0
0
null
SyntaxError
33
107
539.75
5.778
3,118.557
173.253
3
72.975
64
52
18.75
0.142202
{"def": 1, "\u0120is": 10, "_simple": 7, "_power": 7, "(x": 1, ",": 7, "\u0120n": 4, "):\u010a": 1, "\u0120\u0120\u0120": 38, "\u0120\"\"\"": 1, "Your": 1, "\u0120task": 1, "\u0120to": 1, "\u0120write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120true": 4, "\u0120if": 28, "\u0120nu...
4.861678
0.005238
0.973
1
false
HumanEval/77
iscube
true
false
0
1
null
AssertionError
32
109
545
4.907
2,674.537
148.585
2
73.154
65
53
18.46
0.142506
{"def": 1, "\u0120is": 9, "cube": 7, "(a": 1, "):\u010a": 1, "\u0120\u0120\u0120": 38, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 29, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120an": 1, "\u0120integer": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120True": 7, "\u0120\u010a": 1, "\u0120if": 27,...
4.708446
0.00935
0.9989
1
false
HumanEval/78
hex_key
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
68
1
98.53
0.183908
{"def": 1, "\u0120hex": 1, "_key": 1, "(num": 1, "):\u010a": 1, "\u0120\u0120\u0120": 67, "\u0120\"\"\"": 1, "You": 1, "\u0120have": 2, "\u0120been": 1, "\u0120tasked": 1, "\u0120to": 2, "\u0120write": 1, "\u0120a": 7, "\u0120function": 1, "\u0120that": 3, "\u0120receives": 1, "\u0120\u010a": 5, "\u0120hexadecimal": 2,...
5.194418
0.001573
0.47177
1
false
HumanEval/79
decimal_to_binary
true
false
0
1
null
AssertionError
15
31
121.114
7
847.795
47.1
2
116.571
16
5
56.25
0.468927
{"def": 1, "\u0120decimal": 5, "_to": 4, "_binary": 4, "(decimal": 3, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "You": 1, "\u0120will": 3, "\u0120be": 3, "\u0120given": 1, "\u0120a": 3, "\u0120number": 2, "\u0120in": 2, "\u0120form": 1, "\u0120and": 2, "\u0120your": 1, "\u0120task": 1, "\u0120is": 1, ...
6.006519
0.11743
1.25063
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.004858
0.6149
1
false
HumanEval/82
prime_length
true
false
0
1
null
AssertionError
29
159
772.419
6.979
5,390.841
299.491
2
73.938
53
45
15.09
0.142091
{"def": 1, "\u0120prime": 6, "_length": 5, "(string": 23, "):\u010a": 1, "\u0120\u0120\u0120": 30, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 3, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120and": 1, "\u0120returns": 1, "\u0120True": 26, "\u0120if": 23, "\u0120the": 1, "\u010a": 28, "...
4.643691
0.000707
0.21209
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.002841
0.49443
1
false
HumanEval/84
solve
false
false
0
0
null
SyntaxError
43
144
781.382
6.579
5,140.672
285.593
2
75.352
null
null
null
0.138322
{"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.722917
0.004434
0.9989
1
false
HumanEval/85
add
true
false
0
1
null
AssertionError
16
25
100
12.1
1,210
67.222
4
123.675
9
2
55.56
0.682927
{"def": 1, "\u0120add": 3, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 5, "\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.505426
0.182197
1.66853
1
false
HumanEval/86
anti_shuffle
false
false
0
0
null
SyntaxError
6
138
356.725
167.5
59,751.408
3,319.523
3
71.157
80
68
13.75
0.191038
{"def": 1, "\u0120anti": 4, "_shuffle": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 45, "\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...
4.57657
0.008207
1.34035
1
false
HumanEval/87
get_row
true
false
0
1
null
TypeError
11
348
1,203.882
142.667
171,753.861
9,541.881
2
78.024
49
29
38.78
0.198915
{"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.164434
0.003027
0.74047
1
false
HumanEval/88
sort_array
true
false
0
1
null
AssertionError
17
31
126.711
10.083
1,277.673
70.982
2
109.767
23
7
56.52
0.330508
{"def": 1, "\u0120sort": 7, "_array": 5, "(array": 4, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120an": 1, "\u0120array": 5, "\u0120of": 2, "\u0120non": 1, "-negative": 1, "\u0120integers": 1, ",": 26, "\u0120return": 4, "\u0120a": 1, "\u0120copy": 1, "\u0120the": 5, "\u012...
5.566682
0.020967
0.99561
1
false
HumanEval/89
encrypt
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
61
1
98.36
0.173267
{"def": 1, "\u0120encrypt": 6, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 60, "\u0120\"\"\"": 1, "Create": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 2, "\u0120takes": 1, "\u0120string": 2, "\u0120as": 1, "\u0120an": 1, "\u0120argument": 1, "\u0120and": 1, "\u010a": 50, "\u0120returns": 5, "\u0120encrypted"...
4.10518
0.005619
0.49443
1
false
HumanEval/90
next_smallest
false
false
0
0
null
SyntaxError
29
209
1,015.318
17.905
18,179.028
1,009.946
3
74.151
null
null
null
0.141148
{"def": 1, "\u0120next": 6, "_sm": 6, "allest": 6, "(lst": 20, "):\u010a": 1, "\u0120\u0120\u0120": 29, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 2, "\u0120list": 2, "\u0120of": 2, "\u0120integers": 1, ".\u010a": 3, "\u0120Write": 1, "\u0120function": 1, "()": 1, "\u0120that"...
5.025896
0.00205
0.6149
1
false
HumanEval/91
is_bored
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
139.993
13
1
84.62
0.698113
{"def": 1, "\u0120is": 7, "_b": 3, "ored": 3, "(S": 1, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"\u010a": 2, "\u0120You": 1, "'ll": 1, "\u0120be": 1, "\u0120given": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 2, "\u0120words": 1, ",": 1, "\u0120and": 1, "\u0120your": 1, "\u0120task": 1, "\u0120to": 1, "...
5.853158
0.160712
0.96427
1
false
HumanEval/92
any_int
true
false
0
1
null
AssertionError
11
28
96.864
16
1,549.825
86.101
4
117.272
22
5
45.45
0.408805
{"def": 1, "\u0120any": 6, "_int": 5, "(x": 1, ",": 11, "\u0120y": 4, "\u0120z": 4, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120'''\u010a": 2, "\u0120Create": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120": 7, "3": 4, "\u0120numbers": 3, ".\u010a": 3, "\u0120Returns": 2, "\u0120tr...
5.600369
0.084965
0.7892
1
false
HumanEval/93
encode
true
false
0
1
null
AssertionError
14
35
133.257
9.333
1,243.736
69.096
4
107.338
22
9
54.55
0.555556
{"def": 1, "\u0120encode": 3, "(message": 1, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\u0120\"\"\"\u010a": 2, "\u0120Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 4, "\u0120takes": 1, "\u0120message": 4, ",": 2, "\u0120and": 1, "\u0120enc": 1, "odes": 1, "\u0120in": 5, "\u0120such": 1, "\u0120\u010a": 4,...
5.896424
0.102186
1.82936
1
false
HumanEval/94
skjkasdkd
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
62
1
96.77
0.099839
{"def": 1, "\u0120sk": 1, "jk": 1, "as": 1, "dk": 1, "d": 1, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 60, "\u0120\"\"\"": 1, "You": 1, "\u0120are": 1, "\u0120given": 1, "\u0120a": 1, "\u0120list": 1, "\u0120of": 2, "\u0120integers": 1, ".\u010a": 1, "\u0120You": 1, "\u0120need": 1, "\u0120to": 1, "\u0120find": 1...
4.496015
0.004696
0.81272
1
false
HumanEval/95
check_dict_case
true
false
0
1
null
AssertionError
11
20
69.189
6.125
423.78
23.543
2
114.821
18
7
61.11
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": 2, "\u0120keys": 2, "\u0120are": 2, "\u0120strings": 2, "\u01...
5.703275
0
-0
1
false
HumanEval/96
count_up_to
false
false
0
0
null
SyntaxError
28
178
855.709
22.5
19,253.456
1,069.636
2
82.649
null
null
null
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.670207
0.006205
0.72863
1
false
HumanEval/97
multiply
true
false
0
1
null
AssertionError
7
7
19.651
2.5
49.129
2.729
2
93.386
53
1
98.11
0.130221
{"def": 1, "\u0120multiply": 5, "(a": 1, ",": 4, "\u0120b": 1, "):\u010a": 1, "\u0120\u0120\u0120": 52, "\u0120\"\"\"": 1, "Complete": 1, "\u0120the": 3, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120two": 1, "\u0120integers": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120\u010a": 1, "\u0120product": 1...
4.147773
0.006574
0.89779
1
false
HumanEval/98
count_upper
true
false
0
1
null
AssertionError
29
169
820.999
10.826
8,888.204
493.789
2
74.341
51
43
13.73
0.150273
{"def": 1, "\u0120count": 5, "_upper": 4, "(s": 21, "):\u010a": 1, "\u0120\u0120\u0120": 28, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120string": 1, "\u0120s": 2, ",": 1, "\u0120the": 1, "\u0120number": 1, "\u0120of": 1, "\u0120uppercase": 1, "\u0120vowels": 1, "\u0120in": 1, "\u0120even": 1, "\u012...
4.575961
0.007132
1.03162
1
false
HumanEval/99
closest_integer
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
139.993
19
1
84.21
0.447853
{"def": 1, "\u0120closest": 6, "_integer": 5, "(value": 1, "):\u010a": 1, "\u0120\u0120\u0120": 16, "\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": 7,...
5.710392
0.338533
0.7717
1
false
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
-